/** * 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, OnInit, SimpleChanges, TemplateRef } from '@angular/core'; import { CandyDate } from '@ui-vts-kit/ng-vts/core/time'; import { FunctionProp, VtsSafeAny } from '@ui-vts-kit/ng-vts/core/types'; import { isNonEmptyString, isTemplateRef } from '@ui-vts-kit/ng-vts/core/util'; import { VtsCalendarI18nInterface } from '@ui-vts-kit/ng-vts/i18n'; import { DateBodyRow, DateCell } from './interface'; import * as i0 from "@angular/core"; export declare abstract class AbstractTable implements OnInit, OnChanges { isTemplateRef: typeof isTemplateRef; isNonEmptyString: typeof isNonEmptyString; headRow: DateCell[]; bodyRows: DateBodyRow[]; MAX_ROW: number; MAX_COL: number; /** * to detect date-table.comp to show lunar date when being enabled */ isDateTable: boolean; prefixCls: string; value: CandyDate; locale: VtsCalendarI18nInterface; activeDate: CandyDate; showWeek: boolean; selectedValue: CandyDate[]; hoverValue: CandyDate[]; disabledDate?: (d: Date) => boolean; cellRender?: string | TemplateRef | FunctionProp | string>; fullCellRender?: string | TemplateRef | FunctionProp | string>; showLunarDate: boolean; readonly valueChange: EventEmitter; readonly cellHover: EventEmitter; protected render(): void; trackByBodyRow(_index: number, item: DateBodyRow): VtsSafeAny; trackByBodyColumn(_index: number, item: DateCell): VtsSafeAny; hasRangeValue(): boolean; getClassMap(cell: DateCell): { [key: string]: boolean; }; abstract makeHeadRow(): DateCell[]; abstract makeBodyRows(): DateBodyRow[]; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private isDateRealChange; private isSameDate; /** * click week num has the same event to click cell in that week */ onClickWeekNum(row: DateBodyRow): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }