1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { EventEmitter, OnChanges, Type, SimpleChanges } from '@angular/core';
|
7 | import { NbCalendarCell, NbCalendarSize, NbCalendarSizeValues } from '../../model';
|
8 | import { NbDateService } from '../../services/date.service';
|
9 | export declare const MONTHS_IN_VIEW = 12;
|
10 | export declare const MONTHS_IN_COLUMN = 4;
|
11 | export declare class NbCalendarMonthPickerComponent<D, T> implements OnChanges {
|
12 | protected dateService: NbDateService<D>;
|
13 | min: D;
|
14 | max: D;
|
15 | filter: (D: any) => boolean;
|
16 | size: NbCalendarSize;
|
17 | static ngAcceptInputType_size: NbCalendarSizeValues;
|
18 | |
19 |
|
20 |
|
21 | month: D;
|
22 | |
23 |
|
24 |
|
25 | date: D;
|
26 | monthChange: EventEmitter<D>;
|
27 | months: D[][];
|
28 | constructor(dateService: NbDateService<D>);
|
29 | set _cellComponent(cellComponent: Type<NbCalendarCell<D, T>>);
|
30 | cellComponent: Type<NbCalendarCell<any, any>>;
|
31 | get large(): boolean;
|
32 | ngOnChanges(changes: SimpleChanges): void;
|
33 | initMonths(): void;
|
34 | onSelect(month: D): void;
|
35 | }
|