UNPKG

ng-zorro-antd

Version:

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

27 lines (26 loc) 908 B
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { DateHelperService } from 'ng-zorro-antd/i18n'; import { CandyDate } from '../candy-date/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; }