1 | import { EventEmitter } from '@angular/core';
|
2 | import { ControlValueAccessor } from '@angular/forms';
|
3 | import { DatePickerInnerComponent } from './datepicker-inner.component';
|
4 | import { DatepickerConfig } from './datepicker.config';
|
5 | export declare const DATEPICKER_CONTROL_VALUE_ACCESSOR: any;
|
6 | export declare class DatePickerComponent implements ControlValueAccessor {
|
7 |
|
8 | datepickerMode: string;
|
9 |
|
10 | initDate: Date;
|
11 |
|
12 | minDate: Date;
|
13 |
|
14 | maxDate: Date;
|
15 |
|
16 | minMode: string;
|
17 |
|
18 | maxMode: string;
|
19 |
|
20 | showWeeks: boolean;
|
21 |
|
22 | formatDay: string;
|
23 |
|
24 | formatMonth: string;
|
25 |
|
26 | formatYear: string;
|
27 |
|
28 | formatDayHeader: string;
|
29 |
|
30 | formatDayTitle: string;
|
31 |
|
32 | formatMonthTitle: string;
|
33 |
|
34 | startingDay: number;
|
35 |
|
36 | yearRange: number;
|
37 |
|
38 | onlyCurrentMonth: boolean;
|
39 |
|
40 | shortcutPropagation: boolean;
|
41 |
|
42 | monthColLimit: number;
|
43 |
|
44 | yearColLimit: number;
|
45 |
|
46 | customClass: {
|
47 | date: Date;
|
48 | mode: string;
|
49 | clazz: string;
|
50 | }[];
|
51 |
|
52 | dateDisabled: {
|
53 | date: Date;
|
54 | mode: string;
|
55 | }[];
|
56 |
|
57 | activeDate: Date;
|
58 | selectionDone: EventEmitter<Date>;
|
59 |
|
60 | activeDateChange: EventEmitter<Date>;
|
61 | _datePicker: DatePickerInnerComponent;
|
62 | onChange: any;
|
63 | onTouched: any;
|
64 | protected _now: Date;
|
65 | protected _activeDate: Date;
|
66 | protected config: DatepickerConfig;
|
67 | constructor(config: DatepickerConfig);
|
68 | configureOptions(): void;
|
69 | onUpdate(event: any): void;
|
70 | onSelectionDone(event: Date): void;
|
71 | onActiveDateChange(event: Date): void;
|
72 | writeValue(value: any): void;
|
73 | registerOnChange(fn: (_: any) => {}): void;
|
74 | registerOnTouched(fn: () => {}): void;
|
75 | }
|