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