ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
39 lines (38 loc) • 1.76 kB
TypeScript
/**
* 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';
import * as i0 from "@angular/core";
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;
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPanelHeader, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPanelHeader, never, never, { "value": "value"; "locale": "locale"; "showSuperPreBtn": "showSuperPreBtn"; "showSuperNextBtn": "showSuperNextBtn"; "showPreBtn": "showPreBtn"; "showNextBtn": "showNextBtn"; }, { "panelModeChange": "panelModeChange"; "valueChange": "valueChange"; }, never>;
}