/** * 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 { Direction, Directionality } from '@angular/cdk/bidi'; import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { CandyDate } from '@ui-vts-kit/ng-vts/core/time'; import { BooleanInput } from '@ui-vts-kit/ng-vts/core/types'; import * as i0 from "@angular/core"; export type VtsCalendarMode = 'month' | 'year'; type VtsCalendarDateTemplate = TemplateRef<{ $implicit: Date; }>; export declare class VtsCalendarComponent implements ControlValueAccessor, OnChanges, OnInit, OnDestroy { private cdr; private elementRef; private directionality; static ngAcceptInputType_vtsFullscreen: BooleanInput; activeDate: CandyDate; prefixCls: string; private destroy$; dir: Direction; private onChangeFn; private onTouchFn; vtsMode: VtsCalendarMode; vtsValue?: Date; vtsDisabledDate?: (date: Date) => boolean; readonly vtsModeChange: EventEmitter; readonly vtsPanelChange: EventEmitter<{ date: Date; mode: VtsCalendarMode; }>; readonly vtsSelectChange: EventEmitter; readonly vtsValueChange: EventEmitter; /** * Cannot use @Input and @ContentChild on one variable * because { static: false } will make @Input property get delayed **/ vtsDateCell?: VtsCalendarDateTemplate; vtsDateCellChild?: VtsCalendarDateTemplate; get dateCell(): VtsCalendarDateTemplate; vtsDateFullCell?: VtsCalendarDateTemplate; vtsDateFullCellChild?: VtsCalendarDateTemplate; get dateFullCell(): VtsCalendarDateTemplate; vtsMonthCell?: VtsCalendarDateTemplate; vtsMonthCellChild?: VtsCalendarDateTemplate; get monthCell(): VtsCalendarDateTemplate; vtsMonthFullCell?: VtsCalendarDateTemplate; vtsMonthFullCellChild?: VtsCalendarDateTemplate; get monthFullCell(): VtsCalendarDateTemplate; vtsFullscreen: boolean; constructor(cdr: ChangeDetectorRef, elementRef: ElementRef, directionality: Directionality); ngOnInit(): void; onModeChange(mode: VtsCalendarMode): void; onYearSelect(year: number): void; onMonthSelect(month: number): void; onDateSelect(date: CandyDate): void; writeValue(value: Date | null): void; registerOnChange(fn: (date: Date) => void): void; registerOnTouched(fn: () => void): void; private updateDate; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};