ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
27 lines (26 loc) • 912 B
TypeScript
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { DateHelperService } from '../../../i18n/date-helper.service';
import { CandyDate } from '../candy-date';
export declare class MonthTableComponent implements OnInit, OnChanges {
private dateHelper;
value: CandyDate;
readonly valueChange: EventEmitter<CandyDate>;
disabledDate: (date: Date) => boolean;
prefixCls: string;
panelMonths: PanelMonthData[][];
constructor(dateHelper: DateHelperService);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
trackPanelMonth(_index: number, monthData: PanelMonthData): number;
private render;
private makePanelMonths;
private chooseMonth;
}
export interface PanelMonthData {
disabled: boolean;
content: string;
month: number;
title: string;
classMap: object | null;
onClick: VoidFunction | null;
}