ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
25 lines (24 loc) • 877 B
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* 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 { OnChanges, SimpleChanges } from '@angular/core';
import { DateHelperService } from 'ng-zorro-antd/i18n';
import { AbstractTable } from './abstract-table';
import { DateBodyRow, DateCell, YearCell } from './interface';
export declare class YearTableComponent extends AbstractTable implements OnChanges {
private dateHelper;
MAX_ROW: number;
MAX_COL: number;
constructor(dateHelper: DateHelperService);
ngOnChanges(changes: SimpleChanges): void;
makeHeadRow(): DateCell[];
makeBodyRows(): DateBodyRow[];
getClassMap(cell: YearCell): {
[key: string]: boolean;
};
private chooseYear;
}