abstract-panel-header.d.ts 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
  6. import { CandyDate } from 'ng-zorro-antd/core/time';
  7. import { NzCalendarI18nInterface } from 'ng-zorro-antd/i18n';
  8. import { NzDateMode, NzPanelChangeType } from '../standard-types';
  9. import { PanelSelector } from './interface';
  10. import * as i0 from "@angular/core";
  11. export declare abstract class AbstractPanelHeader implements OnInit, OnChanges {
  12. prefixCls: string;
  13. selectors: PanelSelector[];
  14. mode: NzDateMode;
  15. value: CandyDate;
  16. locale: NzCalendarI18nInterface;
  17. showSuperPreBtn: boolean;
  18. showSuperNextBtn: boolean;
  19. showPreBtn: boolean;
  20. showNextBtn: boolean;
  21. readonly panelChange: EventEmitter<NzPanelChangeType>;
  22. readonly valueChange: EventEmitter<CandyDate>;
  23. abstract getSelectors(): PanelSelector[];
  24. superPreviousTitle(): string;
  25. previousTitle(): string;
  26. superNextTitle(): string;
  27. nextTitle(): string;
  28. superPrevious(): void;
  29. superNext(): void;
  30. previous(): void;
  31. next(): void;
  32. changeValue(value: CandyDate): void;
  33. changeMode(mode: NzDateMode): void;
  34. private render;
  35. ngOnInit(): void;
  36. ngOnChanges(changes: SimpleChanges): void;
  37. trackBySelector(selector: PanelSelector): string;
  38. static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPanelHeader, never>;
  39. static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPanelHeader, never, never, { "value": { "alias": "value"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "showSuperPreBtn": { "alias": "showSuperPreBtn"; "required": false; }; "showSuperNextBtn": { "alias": "showSuperNextBtn"; "required": false; }; "showPreBtn": { "alias": "showPreBtn"; "required": false; }; "showNextBtn": { "alias": "showNextBtn"; "required": false; }; }, { "panelChange": "panelChange"; "valueChange": "valueChange"; }, never, never, true, never>;
  40. static ngAcceptInputType_showSuperPreBtn: unknown;
  41. static ngAcceptInputType_showSuperNextBtn: unknown;
  42. static ngAcceptInputType_showPreBtn: unknown;
  43. static ngAcceptInputType_showNextBtn: unknown;
  44. }