date-config.d.ts 605 B

12345678910111213
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { InjectionToken } from '@angular/core';
  6. import { WeekDayIndex } from 'ng-zorro-antd/core/time';
  7. export interface NzDateConfig {
  8. /** Customize the first day of a week */
  9. firstDayOfWeek?: WeekDayIndex;
  10. }
  11. export declare const NZ_DATE_CONFIG: InjectionToken<NzDateConfig>;
  12. export declare const NZ_DATE_CONFIG_DEFAULT: NzDateConfig;
  13. export declare function mergeDateConfig(config: NzDateConfig | null): NzDateConfig;