1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { EventEmitter } from '@angular/core';
|
7 | import { NbCalendarCell, NbCalendarSize, NbCalendarSizeValues } from '../calendar-kit/model';
|
8 | import { NbCalendarRange } from './calendar-range.component';
|
9 | import { NbDateService } from '../calendar-kit/services/date.service';
|
10 | import { NbBaseCalendarRangeCell } from './base-calendar-range-cell';
|
11 | import * as i0 from "@angular/core";
|
12 | export declare class NbCalendarRangeYearCellComponent<D> extends NbBaseCalendarRangeCell<D> implements NbCalendarCell<D, NbCalendarRange<D>> {
|
13 | protected dateService: NbDateService<D>;
|
14 | date: D;
|
15 | min: D;
|
16 | max: D;
|
17 | selectedValue: NbCalendarRange<D>;
|
18 | size: NbCalendarSize;
|
19 | static ngAcceptInputType_size: NbCalendarSizeValues;
|
20 | select: EventEmitter<D>;
|
21 | constructor(dateService: NbDateService<D>);
|
22 | get inRange(): boolean;
|
23 | get rangeStart(): boolean;
|
24 | get rangeEnd(): boolean;
|
25 | get selected(): boolean;
|
26 | get today(): boolean;
|
27 | get disabled(): boolean;
|
28 | get isLarge(): boolean;
|
29 | yearCellClass: boolean;
|
30 | rangeCellClass: boolean;
|
31 | get year(): number;
|
32 | onClick(): void;
|
33 | protected smallerThanMin(): boolean;
|
34 | protected greaterThanMax(): boolean;
|
35 | protected yearStart(): D;
|
36 | protected yearEnd(): D;
|
37 | protected isInRange(date: D, { start, end }: NbCalendarRange<D>): boolean;
|
38 | static ɵfac: i0.ɵɵFactoryDeclaration<NbCalendarRangeYearCellComponent<any>, never>;
|
39 | static ɵcmp: i0.ɵɵComponentDeclaration<NbCalendarRangeYearCellComponent<any>, "nb-calendar-range-year-cell", never, { "date": { "alias": "date"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
40 | }
|