UNPKG

2.21 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Akveo. All Rights Reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 */
6import { EventEmitter } from '@angular/core';
7import { NbCalendarCell, NbCalendarSize, NbCalendarSizeValues } from '../calendar-kit/model';
8import { NbCalendarRange } from './calendar-range.component';
9import { NbDateService } from '../calendar-kit/services/date.service';
10import { NbBaseCalendarRangeCell } from './base-calendar-range-cell';
11import * as i0 from "@angular/core";
12export declare class NbCalendarRangeDayCellComponent<D> extends NbBaseCalendarRangeCell<D> implements NbCalendarCell<D, NbCalendarRange<D>> {
13 protected dateService: NbDateService<D>;
14 date: D;
15 selectedValue: NbCalendarRange<D>;
16 visibleDate: D;
17 min: D;
18 max: D;
19 filter: (D: any) => boolean;
20 size: NbCalendarSize;
21 static ngAcceptInputType_size: NbCalendarSizeValues;
22 select: EventEmitter<D>;
23 constructor(dateService: NbDateService<D>);
24 get inRange(): boolean;
25 get start(): boolean;
26 get end(): boolean;
27 rangeCellClass: boolean;
28 dayCellClass: boolean;
29 get today(): boolean;
30 get boundingMonth(): boolean;
31 get selected(): boolean;
32 get empty(): boolean;
33 get disabled(): boolean;
34 get isLarge(): boolean;
35 get day(): number;
36 onClick(): void;
37 protected smallerThanMin(): boolean;
38 protected greaterThanMax(): boolean;
39 protected dontFitFilter(): boolean;
40 protected isInRange(date: D, { start, end }: NbCalendarRange<D>): boolean;
41 static ɵfac: i0.ɵɵFactoryDeclaration<NbCalendarRangeDayCellComponent<any>, never>;
42 static ɵcmp: i0.ɵɵComponentDeclaration<NbCalendarRangeDayCellComponent<any>, "nb-calendar-range-day-cell", never, { "date": { "alias": "date"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "visibleDate": { "alias": "visibleDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
43}