UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

35 lines (34 loc) 1.85 kB
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; import { CandyDate } from 'ng-zorro-antd/core/time'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { isNonEmptyString, isTemplateRef } from 'ng-zorro-antd/core/util'; import { DateHelperService, NzCalendarI18nInterface } from 'ng-zorro-antd/i18n'; import * as i0 from "@angular/core"; export declare class CalendarFooterComponent implements OnChanges { private dateHelper; locale: NzCalendarI18nInterface; showToday: boolean; showNow: boolean; hasTimePicker: boolean; isRange: boolean; okDisabled: boolean; disabledDate?: (d: Date) => boolean; extraFooter?: TemplateRef<void> | string; rangeQuickSelector: TemplateRef<NzSafeAny> | null; readonly clickOk: EventEmitter<void>; readonly clickToday: EventEmitter<CandyDate>; prefixCls: string; isTemplateRef: typeof isTemplateRef; isNonEmptyString: typeof isNonEmptyString; isTodayDisabled: boolean; todayTitle: string; constructor(dateHelper: DateHelperService); ngOnChanges(changes: SimpleChanges): void; onClickToday(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CalendarFooterComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFooterComponent, "calendar-footer", ["calendarFooter"], { "locale": "locale"; "showToday": "showToday"; "showNow": "showNow"; "hasTimePicker": "hasTimePicker"; "isRange": "isRange"; "okDisabled": "okDisabled"; "disabledDate": "disabledDate"; "extraFooter": "extraFooter"; "rangeQuickSelector": "rangeQuickSelector"; }, { "clickOk": "clickOk"; "clickToday": "clickToday"; }, never, never>; }