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 | import * as i0 from "@angular/core";
|
10 | export declare const MONTHS_IN_VIEW = 12;
|
11 | export declare const MONTHS_IN_COLUMN = 4;
|
12 | export declare class NbCalendarMonthPickerComponent<D, T> implements OnChanges {
|
13 | protected dateService: NbDateService<D>;
|
14 | min: D;
|
15 | max: D;
|
16 | filter: (D: any) => boolean;
|
17 | size: NbCalendarSize;
|
18 | static ngAcceptInputType_size: NbCalendarSizeValues;
|
19 | |
20 |
|
21 |
|
22 | month: D;
|
23 | |
24 |
|
25 |
|
26 | date: D;
|
27 | monthChange: EventEmitter<D>;
|
28 | months: D[][];
|
29 | constructor(dateService: NbDateService<D>);
|
30 | set _cellComponent(cellComponent: Type<NbCalendarCell<D, T>>);
|
31 | cellComponent: Type<NbCalendarCell<any, any>>;
|
32 | get large(): boolean;
|
33 | ngOnChanges(changes: SimpleChanges): void;
|
34 | initMonths(): void;
|
35 | onSelect(month: D): void;
|
36 | static ɵfac: i0.ɵɵFactoryDeclaration<NbCalendarMonthPickerComponent<any, any>, never>;
|
37 | static ɵcmp: i0.ɵɵComponentDeclaration<NbCalendarMonthPickerComponent<any, any>, "nb-calendar-month-picker", never, { "min": "min"; "max": "max"; "filter": "filter"; "size": "size"; "month": "month"; "date": "date"; "_cellComponent": "cellComponent"; }, { "monthChange": "monthChange"; }, never, never>;
|
38 | }
|