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