UNPKG

ng-zorro-antd

Version:

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

36 lines (35 loc) 1.3 kB
/** * 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 } from '@angular/core'; import { CandyDate } from 'ng-zorro-antd/core/time'; import { NzCalendarI18nInterface } from 'ng-zorro-antd/i18n'; import { NzDateMode } from '../standard-types'; import { PanelSelector } from './interface'; export declare abstract class AbstractPanelHeader implements OnInit, OnChanges { prefixCls: string; selectors: PanelSelector[]; value: CandyDate; locale: NzCalendarI18nInterface; showSuperPreBtn: boolean; showSuperNextBtn: boolean; showPreBtn: boolean; showNextBtn: boolean; readonly panelModeChange: EventEmitter<NzDateMode>; readonly valueChange: EventEmitter<CandyDate>; abstract getSelectors(): PanelSelector[]; superPreviousTitle(): string; previousTitle(): string; superNextTitle(): string; nextTitle(): string; superPrevious(): void; superNext(): void; previous(): void; next(): void; changeValue(value: CandyDate): void; changeMode(mode: NzDateMode): void; private render; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; }