1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | import { EventEmitter } from '@angular/core';
|
7 | export interface NbCalendarDay {
|
8 | name: string;
|
9 | isHoliday: boolean;
|
10 | }
|
11 | export type NbCalendarViewModeValues = 'year' | 'month' | 'date';
|
12 | export declare enum NbCalendarViewMode {
|
13 | YEAR = "year",
|
14 | MONTH = "month",
|
15 | DATE = "date"
|
16 | }
|
17 | export type NbCalendarSizeValues = 'medium' | 'large';
|
18 | export declare enum NbCalendarSize {
|
19 | MEDIUM = "medium",
|
20 | LARGE = "large"
|
21 | }
|
22 | export interface NbCalendarCell<D, T> {
|
23 | date: D;
|
24 | select: EventEmitter<D>;
|
25 | selectedValue?: T;
|
26 | visibleDate?: D;
|
27 | min?: D;
|
28 | max?: D;
|
29 | filter?: (D: any) => boolean;
|
30 | size?: NbCalendarSize;
|
31 | }
|