UNPKG

1.21 kBTypeScriptView Raw
1import { EventEmitter } from '@angular/core';
2import { NbCalendarViewMode, NbCalendarViewModeValues } from '../../model';
3import { NbCalendarYearModelService } from '../../services/calendar-year-model.service';
4import { NbDateService } from '../../services/date.service';
5import * as i0 from "@angular/core";
6export declare class NbCalendarViewModeComponent<D> {
7 protected dateService: NbDateService<D>;
8 protected yearModelService: NbCalendarYearModelService<D>;
9 date: D;
10 viewMode: NbCalendarViewMode;
11 static ngAcceptInputType_viewMode: NbCalendarViewModeValues;
12 changeMode: EventEmitter<void>;
13 constructor(dateService: NbDateService<D>, yearModelService: NbCalendarYearModelService<D>);
14 getText(): string;
15 getIcon(): string;
16 protected getFirstYear(): string;
17 protected getLastYear(): string;
18 static ɵfac: i0.ɵɵFactoryDeclaration<NbCalendarViewModeComponent<any>, never>;
19 static ɵcmp: i0.ɵɵComponentDeclaration<NbCalendarViewModeComponent<any>, "nb-calendar-view-mode", never, { "date": { "alias": "date"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; }, { "changeMode": "changeMode"; }, never, never, false, never>;
20}