1 | import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
2 | import { DateFormatter } from './date-formatter';
|
3 | export declare class DatePickerInnerComponent implements OnInit, OnChanges {
|
4 | datepickerMode: string;
|
5 | startingDay: number;
|
6 | yearRange: number;
|
7 | minDate: Date;
|
8 | maxDate: Date;
|
9 | minMode: string;
|
10 | maxMode: string;
|
11 | showWeeks: boolean;
|
12 | formatDay: string;
|
13 | formatMonth: string;
|
14 | formatYear: string;
|
15 | formatDayHeader: string;
|
16 | formatDayTitle: string;
|
17 | formatMonthTitle: string;
|
18 | onlyCurrentMonth: boolean;
|
19 | shortcutPropagation: boolean;
|
20 | customClass: {
|
21 | date: Date;
|
22 | mode: string;
|
23 | clazz: string;
|
24 | }[];
|
25 | monthColLimit: number;
|
26 | yearColLimit: number;
|
27 | dateDisabled: {
|
28 | date: Date;
|
29 | mode: string;
|
30 | }[];
|
31 | initDate: Date;
|
32 | selectionDone: EventEmitter<Date>;
|
33 | update: EventEmitter<Date>;
|
34 | activeDateChange: EventEmitter<Date>;
|
35 | stepDay: any;
|
36 | stepMonth: any;
|
37 | stepYear: any;
|
38 | protected modes: string[];
|
39 | protected dateFormatter: DateFormatter;
|
40 | protected uniqueId: string;
|
41 | protected _activeDate: Date;
|
42 | protected selectedDate: Date;
|
43 | protected activeDateId: string;
|
44 | protected refreshViewHandlerDay: Function;
|
45 | protected compareHandlerDay: Function;
|
46 | protected refreshViewHandlerMonth: Function;
|
47 | protected compareHandlerMonth: Function;
|
48 | protected refreshViewHandlerYear: Function;
|
49 | protected compareHandlerYear: Function;
|
50 | activeDate: Date;
|
51 | ngOnInit(): void;
|
52 | ngOnChanges(changes: SimpleChanges): void;
|
53 | setCompareHandler(handler: Function, type: string): void;
|
54 | compare(date1: Date, date2: Date): number | undefined;
|
55 | setRefreshViewHandler(handler: Function, type: string): void;
|
56 | refreshView(): void;
|
57 | dateFilter(date: Date, format: string): string;
|
58 | isActive(dateObject: any): boolean;
|
59 | createDateObject(date: Date, format: string): any;
|
60 | split(arr: any[], size: number): any[];
|
61 | fixTimeZone(date: Date): Date;
|
62 | select(date: Date, isManual?: boolean): void;
|
63 | move(direction: number): void;
|
64 | toggleMode(direction: number): void;
|
65 | protected getCustomClassForDate(date: Date): string;
|
66 | protected compareDateDisabled(date1Disabled: {
|
67 | date: Date;
|
68 | mode: string;
|
69 | }, date2: Date): number;
|
70 | protected isDisabled(date: Date): boolean;
|
71 | }
|