@syncfusion/ej2-calendars 30.1.37 → 31.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/.eslintrc.json +263 -0
  2. package/dist/ej2-calendars.min.js +1 -1
  3. package/dist/ej2-calendars.umd.min.js +1 -1
  4. package/dist/global/ej2-calendars.min.js +1 -1
  5. package/dist/global/index.d.ts +1 -1
  6. package/dist/ts/calendar/calendar-model.d.ts +340 -0
  7. package/dist/ts/calendar/calendar.d.ts +733 -0
  8. package/dist/ts/calendar/calendar.ts +3009 -0
  9. package/dist/ts/calendar/index.d.ts +6 -0
  10. package/dist/ts/calendar/index.ts +6 -0
  11. package/dist/ts/calendar/islamic.d.ts +28 -0
  12. package/dist/ts/calendar/islamic.ts +597 -0
  13. package/dist/ts/common/index.d.ts +5 -0
  14. package/dist/ts/common/index.ts +5 -0
  15. package/dist/ts/common/maskplaceholder-model.d.ts +57 -0
  16. package/dist/ts/common/maskplaceholder.d.ts +45 -0
  17. package/dist/ts/common/maskplaceholder.ts +54 -0
  18. package/dist/ts/datepicker/datepicker-model.d.ts +364 -0
  19. package/dist/ts/datepicker/datepicker.d.ts +583 -0
  20. package/dist/ts/datepicker/datepicker.ts +2528 -0
  21. package/dist/ts/datepicker/index.d.ts +5 -0
  22. package/dist/ts/datepicker/index.ts +5 -0
  23. package/dist/ts/daterangepicker/daterangepicker-model.d.ts +496 -0
  24. package/dist/ts/daterangepicker/daterangepicker.d.ts +857 -0
  25. package/dist/ts/daterangepicker/daterangepicker.ts +5096 -0
  26. package/dist/ts/daterangepicker/index.d.ts +5 -0
  27. package/dist/ts/daterangepicker/index.ts +5 -0
  28. package/dist/ts/datetimepicker/datetimepicker-model.d.ts +479 -0
  29. package/dist/ts/datetimepicker/datetimepicker.d.ts +626 -0
  30. package/dist/ts/datetimepicker/datetimepicker.ts +2212 -0
  31. package/dist/ts/datetimepicker/index.d.ts +5 -0
  32. package/dist/ts/datetimepicker/index.ts +5 -0
  33. package/dist/ts/index.d.ts +9 -0
  34. package/dist/ts/index.ts +9 -0
  35. package/dist/ts/maskbase/index.d.ts +5 -0
  36. package/dist/ts/maskbase/index.ts +5 -0
  37. package/dist/ts/maskbase/interface.d.ts +28 -0
  38. package/dist/ts/maskbase/interface.ts +29 -0
  39. package/dist/ts/maskbase/masked-date-time.d.ts +77 -0
  40. package/dist/ts/maskbase/masked-date-time.ts +1013 -0
  41. package/dist/ts/timepicker/index.d.ts +5 -0
  42. package/dist/ts/timepicker/index.ts +5 -0
  43. package/dist/ts/timepicker/timepicker-model.d.ts +393 -0
  44. package/dist/ts/timepicker/timepicker.d.ts +681 -0
  45. package/dist/ts/timepicker/timepicker.ts +2944 -0
  46. package/package.json +59 -16
  47. package/styles/daterangepicker/_fluent2-definition.scss +2 -1
  48. package/styles/daterangepicker/fluent2.css +2 -1
  49. package/styles/datetimepicker/_fluent2-definition.scss +1 -1
  50. package/styles/datetimepicker/fluent2.css +1 -1
  51. package/styles/fluent2-lite.css +3 -2
  52. package/styles/fluent2.css +3 -2
  53. package/tslint.json +111 -0
@@ -0,0 +1,626 @@
1
+ /// <reference path="../datepicker/datepicker-model.d.ts" />
2
+ import { EmitType } from '@syncfusion/ej2-base';
3
+ import { L10n } from '@syncfusion/ej2-base';
4
+ import { KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';
5
+ import { ModuleDeclaration, Touch } from '@syncfusion/ej2-base';
6
+ import { ClearedEventArgs, CalendarType, CalendarView, DayHeaderFormats } from '../calendar/calendar';
7
+ import { DatePicker, PopupObjectArgs } from '../datepicker/datepicker';
8
+ import { DateTimePickerModel } from './datetimepicker-model';
9
+ import { MaskPlaceholderModel } from '../common/maskplaceholder-model';
10
+ /**
11
+ * Represents the DateTimePicker component that allows user to select
12
+ * or enter a date time value.
13
+ * ```html
14
+ * <input id="dateTimePicker"/>
15
+ * ```
16
+ * ```typescript
17
+ * <script>
18
+ * let dateTimePickerObject:DateTimePicker = new DateTimePicker({ value: new Date() });
19
+ * dateTimePickerObject.appendTo("#dateTimePicker");
20
+ * </script>
21
+ * ```
22
+ */
23
+ export declare class DateTimePicker extends DatePicker {
24
+ private timeIcon;
25
+ private cloneElement;
26
+ private dateTimeWrapper;
27
+ private rippleFn;
28
+ private listWrapper;
29
+ private liCollections;
30
+ private timeCollections;
31
+ private listTag;
32
+ private selectedElement;
33
+ private containerStyle;
34
+ private popupObject;
35
+ protected timeModal: HTMLElement;
36
+ protected modelWrapper: HTMLElement;
37
+ private isNavigate;
38
+ protected isPreventBlur: boolean;
39
+ private timeValue;
40
+ protected l10n: L10n;
41
+ private keyboardHandler;
42
+ protected inputEvent: KeyboardEvents;
43
+ private activeIndex;
44
+ private valueWithMinutes;
45
+ private initValue;
46
+ protected tabIndex: string;
47
+ private isValidState;
48
+ protected timekeyConfigure: {
49
+ [key: string]: string;
50
+ };
51
+ protected preventArgs: PopupObjectArgs;
52
+ private dateTimeOptions;
53
+ protected scrollInvoked: boolean;
54
+ protected maskedDateValue: string;
55
+ protected moduleName: string;
56
+ protected touchDTModule: Touch;
57
+ protected touchDTStart: boolean;
58
+ private formatRegex;
59
+ private dateFormatString;
60
+ /**
61
+ * Specifies the format of the time value that to be displayed in time popup list.
62
+ *
63
+ * @default null
64
+ */
65
+ timeFormat: string;
66
+ /**
67
+ * Specifies the time interval between the two adjacent time values in the time popup list .
68
+ *
69
+ * @default 30
70
+ */
71
+ step: number;
72
+ /**
73
+ * Specifies the scroll bar position if there is no value is selected in the timepicker popup list or
74
+ * the given value is not present in the timepicker popup list.
75
+ * {% codeBlock src='datetimepicker/scrollTo/index.md' %}{% endcodeBlock %}
76
+ *
77
+ * @default null
78
+ */
79
+ scrollTo: Date;
80
+ /**
81
+ * specifies the z-index value of the popup element.
82
+ *
83
+ * @default 1000
84
+ * @aspType int
85
+ */
86
+ zIndex: number;
87
+ /**
88
+ * Gets or sets the selected date of the Calendar.
89
+ *
90
+ * @default null
91
+ * @isGenericType true
92
+ */
93
+ value: Date;
94
+ /**
95
+ * Customizes the key actions in DateTimePicker.
96
+ * For example, when using German keyboard, the key actions can be customized using these shortcuts.
97
+ *
98
+ *
99
+ * Input Navigation
100
+ * <table>
101
+ * <tr>
102
+ * <td colSpan=1 rowSpan=1>
103
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
104
+ * Key<br/></td></tr>
105
+ * <tr>
106
+ * <td colSpan=1 rowSpan=1>
107
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
108
+ * alt+uparrow<br/></td></tr>
109
+ * <tr>
110
+ * <td colSpan=1 rowSpan=1>
111
+ * altDownArrow<br/></td><td colSpan=1 rowSpan=1>
112
+ * alt+downarrow<br/></td></tr>
113
+ * <tr>
114
+ * <td colSpan=1 rowSpan=1>
115
+ * escape<br/></td><td colSpan=1 rowSpan=1>
116
+ * escape<br/></td></tr>
117
+ * </table>
118
+ *
119
+ * Calendar Navigation (Use the following list of keys to navigate the currently focused Calendar after the popup has opened).
120
+ * <table>
121
+ * <tr>
122
+ * <td colSpan=1 rowSpan=1>
123
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
124
+ * Key<br/></td></tr>
125
+ * <tr>
126
+ * <td colSpan=1 rowSpan=1>
127
+ * controlUp<br/></td><td colSpan=1 rowSpan=1>
128
+ * ctrl+38<br/></td></tr>
129
+ * <tr>
130
+ * <td colSpan=1 rowSpan=1>
131
+ * controlDown<br/></td><td colSpan=1 rowSpan=1>
132
+ * ctrl+40<br/></td></tr>
133
+ * <tr>
134
+ * <td colSpan=1 rowSpan=1>
135
+ * moveDown<br/></td><td colSpan=1 rowSpan=1>
136
+ * downarrow<br/></td></tr>
137
+ * <tr>
138
+ * <td colSpan=1 rowSpan=1>
139
+ * moveUp<br/></td><td colSpan=1 rowSpan=1>
140
+ * uparrow<br/></td></tr>
141
+ * <tr>
142
+ * <td colSpan=1 rowSpan=1>
143
+ * moveLeft<br/></td><td colSpan=1 rowSpan=1>
144
+ * leftarrow<br/></td></tr>
145
+ * <tr>
146
+ * <td colSpan=1 rowSpan=1>
147
+ * moveRight<br/></td><td colSpan=1 rowSpan=1>
148
+ * rightarrow<br/></td></tr>
149
+ * <tr>
150
+ * <td colSpan=1 rowSpan=1>
151
+ * select<br/></td><td colSpan=1 rowSpan=1>
152
+ * enter<br/></td></tr>
153
+ * <tr>
154
+ * <td colSpan=1 rowSpan=1>
155
+ * home<br/></td><td colSpan=1 rowSpan=1>
156
+ * home<br/></td></tr>
157
+ * <tr>
158
+ * <td colSpan=1 rowSpan=1>
159
+ * end<br/></td><td colSpan=1 rowSpan=1>
160
+ * end<br/></td></tr>
161
+ * <tr>
162
+ * <td colSpan=1 rowSpan=1>
163
+ * pageUp<br/></td><td colSpan=1 rowSpan=1>
164
+ * pageup<br/></td></tr>
165
+ * <tr>
166
+ * <td colSpan=1 rowSpan=1>
167
+ * pageDown<br/></td><td colSpan=1 rowSpan=1>
168
+ * pagedown<br/></td></tr>
169
+ * <tr>
170
+ * <td colSpan=1 rowSpan=1>
171
+ * shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
172
+ * shift+pageup<br/></td></tr>
173
+ * <tr>
174
+ * <td colSpan=1 rowSpan=1>
175
+ * shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
176
+ * shift+pagedown<br/></td></tr>
177
+ * <tr>
178
+ * <td colSpan=1 rowSpan=1>
179
+ * controlHome<br/></td><td colSpan=1 rowSpan=1>
180
+ * ctrl+home<br/></td></tr>
181
+ * <tr>
182
+ * <td colSpan=1 rowSpan=1>
183
+ * controlEnd<br/></td><td colSpan=1 rowSpan=1>
184
+ * ctrl+end<br/></td></tr>
185
+ * <tr>
186
+ * <td colSpan=1 rowSpan=1>
187
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
188
+ * alt+uparrow<br/></td></tr>
189
+ * <tr>
190
+ * <td colSpan=1 rowSpan=1>
191
+ * spacebar<br/></td><td colSpan=1 rowSpan=1>
192
+ * space<br/></td></tr>
193
+ * <tr>
194
+ * <td colSpan=1 rowSpan=1>
195
+ * altRightArrow<br/></td><td colSpan=1 rowSpan=1>
196
+ * alt+rightarrow<br/></td></tr>
197
+ * <tr>
198
+ * <td colSpan=1 rowSpan=1>
199
+ * altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
200
+ * alt+leftarrow<br/></td></tr>
201
+ * </table>
202
+ *
203
+ * TimePicker Navigation (Use the below list of shortcut keys to interact with the TimePicker after the TimePicker Popup has opened).
204
+ * <table>
205
+ * <tr>
206
+ * <td colSpan=1 rowSpan=1>
207
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
208
+ * Key<br/></td></tr>
209
+ * <tr>
210
+ * <td colSpan=1 rowSpan=1>
211
+ * down<br/></td><td colSpan=1 rowSpan=1>
212
+ * downarrow<br/></td></tr>
213
+ * <tr>
214
+ * <td colSpan=1 rowSpan=1>
215
+ * up<br/></td><td colSpan=1 rowSpan=1>
216
+ * uparrow<br/></td></tr>
217
+ * <tr>
218
+ * <td colSpan=1 rowSpan=1>
219
+ * left<br/></td><td colSpan=1 rowSpan=1>
220
+ * leftarrow<br/></td></tr>
221
+ * <tr>
222
+ * <td colSpan=1 rowSpan=1>
223
+ * right<br/></td><td colSpan=1 rowSpan=1>
224
+ * rightarrow<br/></td></tr>
225
+ * </table>
226
+ *
227
+ * {% codeBlock src='datetimepicker/keyConfigs/index.md' %}{% endcodeBlock %}
228
+ *
229
+ * @default null
230
+ */
231
+ keyConfigs: {
232
+ [key: string]: string;
233
+ };
234
+ /**
235
+ * You can add the additional html attributes such as disabled, value etc., to the element.
236
+ * If you configured both property and equivalent html attribute then the component considers the property value.
237
+ * {% codeBlock src='datetimepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
238
+ *
239
+ * @default {}
240
+ */
241
+ htmlAttributes: {
242
+ [key: string]: string;
243
+ };
244
+ /**
245
+ * Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
246
+ * 1. value
247
+ *
248
+ * @default false
249
+ */
250
+ enablePersistence: boolean;
251
+ /**
252
+ * > Support for `allowEdit` has been provided from
253
+ * [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#datetimepicker).
254
+ *
255
+ * Specifies whether the input textbox is editable or not. Here the user can select the value from the
256
+ * popup and cannot edit in the input textbox.
257
+ *
258
+ * @default true
259
+ */
260
+ allowEdit: boolean;
261
+ /**
262
+ * Specifies the option to enable the multiple dates selection of the calendar.
263
+ *
264
+ * @default false
265
+ * @private
266
+ */
267
+ isMultiSelection: boolean;
268
+ /**
269
+ * Gets or sets multiple selected dates of the calendar.
270
+ *
271
+ * @default null
272
+ * @private
273
+ */
274
+ values: Date[];
275
+ /**
276
+ * Specifies whether to show or hide the clear icon in textbox.
277
+ *
278
+ * @default true
279
+ */
280
+ showClearButton: boolean;
281
+ /**
282
+ * Specifies the placeholder text that to be is displayed in textbox.
283
+ *
284
+ * @default null
285
+ */
286
+ placeholder: string;
287
+ /**
288
+ * Specifies the component to act as strict. So that, it allows to enter only a valid
289
+ * date and time value within a specified range or else it
290
+ * will resets to previous value. By default, strictMode is in false.
291
+ * it allows invalid or out-of-range value with highlighted error class.
292
+ *
293
+ * @default false
294
+ * > For more details refer to
295
+ * [`Strict Mode`](../../datetimepicker/strict-mode/) documentation.
296
+ */
297
+ strictMode: boolean;
298
+ /**
299
+ * Specifies the component popup display full screen in mobile devices.
300
+ *
301
+ * @default false
302
+ */
303
+ fullScreenMode: boolean;
304
+ /**
305
+ * By default, the date value will be processed based on system time zone.
306
+ * If you want to process the initial date value using server time zone
307
+ * then specify the time zone value to `serverTimezoneOffset` property.
308
+ *
309
+ * @default null
310
+ */
311
+ serverTimezoneOffset: number;
312
+ /**
313
+ * Gets or sets the minimum date that can be selected in the DateTimePicker.
314
+ *
315
+ * @default new Date(1900, 00, 01)
316
+ */
317
+ min: Date;
318
+ /**
319
+ * Gets or sets the maximum date that can be selected in the DateTimePicker.
320
+ *
321
+ * @default new Date(2099, 11, 31)
322
+ */
323
+ max: Date;
324
+ /**
325
+ * Gets or sets the minimum time that can be selected in the time popup of the DateTimePicker.
326
+ *
327
+ * @default null
328
+ */
329
+ minTime: Date;
330
+ /**
331
+ * Gets or sets the maximum time that can be selected in the time popup of the DateTimePicker.
332
+ *
333
+ * @default null
334
+ */
335
+ maxTime: Date;
336
+ /**
337
+ * Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture.
338
+ *
339
+ * @default 0
340
+ * @aspType int
341
+ * > For more details about firstDayOfWeek refer to
342
+ * [`First day of week`](../../calendar/how-to/first-day-of-week#change-the-first-day-of-the-week) documentation.
343
+ */
344
+ firstDayOfWeek: number;
345
+ /**
346
+ * Gets or sets the Calendar's Type like gregorian or islamic.
347
+ *
348
+ * @default Gregorian
349
+ */
350
+ calendarMode: CalendarType;
351
+ /**
352
+ * Specifies the initial view of the Calendar when it is opened.
353
+ * With the help of this property, initial view can be changed to year or decade view.
354
+ *
355
+ * @default Month
356
+ *
357
+ * <table>
358
+ * <tr>
359
+ * <td colSpan=1 rowSpan=1>
360
+ * View<br/></td><td colSpan=1 rowSpan=1>
361
+ * Description<br/></td></tr>
362
+ * <tr>
363
+ * <td colSpan=1 rowSpan=1>
364
+ * Month<br/></td><td colSpan=1 rowSpan=1>
365
+ * Calendar view shows the days of the month.<br/></td></tr>
366
+ * <tr>
367
+ * <td colSpan=1 rowSpan=1>
368
+ * Year<br/></td><td colSpan=1 rowSpan=1>
369
+ * Calendar view shows the months of the year.<br/></td></tr>
370
+ * <tr>
371
+ * <td colSpan=1 rowSpan=1>
372
+ * Decade<br/></td><td colSpan=1 rowSpan=1>
373
+ * Calendar view shows the years of the decade.<br/></td></tr>
374
+ * </table>
375
+ *
376
+ * > For more details about start refer to
377
+ * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
378
+ */
379
+ start: CalendarView;
380
+ /**
381
+ * Sets the maximum level of view such as month, year, and decade in the Calendar.
382
+ * Depth view should be smaller than the start view to restrict its view navigation.
383
+ *
384
+ * @default Month
385
+ *
386
+ * <table>
387
+ * <tr>
388
+ * <td colSpan=1 rowSpan=1>
389
+ * view<br/></td><td colSpan=1 rowSpan=1>
390
+ * Description<br/></td></tr>
391
+ * <tr>
392
+ * <td colSpan=1 rowSpan=1>
393
+ * Month<br/></td><td colSpan=1 rowSpan=1>
394
+ * Calendar view shows up to the days of the month.<br/></td></tr>
395
+ * <tr>
396
+ * <td colSpan=1 rowSpan=1>
397
+ * Year<br/></td><td colSpan=1 rowSpan=1>
398
+ * Calendar view shows up to the months of the year.<br/></td></tr>
399
+ * <tr>
400
+ * <td colSpan=1 rowSpan=1>
401
+ * Decade<br/></td><td colSpan=1 rowSpan=1>
402
+ * Calendar view shows up to the years of the decade.<br/></td></tr>
403
+ * </table>
404
+ *
405
+ * > For more details about depth refer to
406
+ * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
407
+ */
408
+ depth: CalendarView;
409
+ /**
410
+ * Determines whether the week number of the year is to be displayed in the calendar or not.
411
+ *
412
+ * @default false
413
+ * > For more details about weekNumber refer to
414
+ * [`Calendar with week number`](../../calendar/how-to/render-the-calendar-with-week-numbers)documentation.
415
+ */
416
+ weekNumber: boolean;
417
+ /**
418
+ * Specifies whether the today button is to be displayed or not.
419
+ *
420
+ * @default true
421
+ */
422
+ showTodayButton: boolean;
423
+ /**
424
+ * Specifies the format of the day that to be displayed in header. By default, the format is ‘short’.
425
+ * Possible formats are:
426
+ * * `Short` - Sets the short format of day name (like Su ) in day header.
427
+ * * `Narrow` - Sets the single character of day name (like S ) in day header.
428
+ * * `Abbreviated` - Sets the min format of day name (like Sun ) in day header.
429
+ * * `Wide` - Sets the long format of day name (like Sunday ) in day header.
430
+ *
431
+ * @default Short
432
+ */
433
+ dayHeaderFormat: DayHeaderFormats;
434
+ /**
435
+ * By default, the popup opens while clicking on the datetimepicker icon.
436
+ * If you want to open the popup while focusing the datetime input then specify its value as true.
437
+ *
438
+ * @default false
439
+ */
440
+ openOnFocus: boolean;
441
+ /**
442
+ * Specifies whether it is a masked datetimepicker or not.
443
+ * By default the datetimepicker component render without masked input.
444
+ * If you need masked datetimepicker input then specify it as true.
445
+ *
446
+ * @default false
447
+ */
448
+ enableMask: boolean;
449
+ /**
450
+ * Specifies the mask placeholder to be displayed on masked datetimepicker.
451
+ *
452
+ * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
453
+ */
454
+ maskPlaceholder: MaskPlaceholderModel;
455
+ /**
456
+ * Triggers when popup is opened.
457
+ *
458
+ * @event open
459
+ */
460
+ open: EmitType<Object>;
461
+ /**
462
+ * Triggers when popup is closed.
463
+ *
464
+ * @event close
465
+ */
466
+ close: EmitType<Object>;
467
+ /**
468
+ * Triggers when datetimepicker value is cleared using clear button.
469
+ *
470
+ * @event cleared
471
+ */
472
+ cleared: EmitType<ClearedEventArgs>;
473
+ /**
474
+ * Triggers when input loses the focus.
475
+ *
476
+ * @event blur
477
+ */
478
+ blur: EmitType<Object>;
479
+ /**
480
+ * Triggers when input gets focus.
481
+ *
482
+ * @event focus
483
+ */
484
+ focus: EmitType<Object>;
485
+ /**
486
+ * Triggers when DateTimePicker is created.
487
+ *
488
+ * @event created
489
+ */
490
+ created: EmitType<Object>;
491
+ /**
492
+ * Triggers when DateTimePicker is destroyed.
493
+ *
494
+ * @event destroyed
495
+ */
496
+ destroyed: EmitType<Object>;
497
+ /**
498
+ * Constructor for creating the widget
499
+ *
500
+ * @param {DateTimePickerModel} options - Specifies the DateTimePicker model.
501
+ * @param {string | HTMLInputElement} element - Specifies the element to render as component.
502
+ * @private
503
+ */
504
+ constructor(options?: DateTimePickerModel, element?: string | HTMLInputElement);
505
+ private focusHandler;
506
+ /**
507
+ * Sets the focus to widget for interaction.
508
+ *
509
+ * @returns {void}
510
+ */
511
+ focusIn(): void;
512
+ /**
513
+ * Remove the focus from widget, if the widget is in focus state.
514
+ *
515
+ * @returns {void}
516
+ */
517
+ focusOut(): void;
518
+ protected blurHandler(e: MouseEvent): void;
519
+ /**
520
+ * To destroy the widget.
521
+ *
522
+ * @returns {void}
523
+ */
524
+ destroy(): void;
525
+ /**
526
+ * To Initialize the control rendering.
527
+ *
528
+ * @returns {void}
529
+ * @private
530
+ */
531
+ render(): void;
532
+ private setValue;
533
+ private validateMinMaxRange;
534
+ private checkValidState;
535
+ private checkErrorState;
536
+ protected isValidTime(value: Date): boolean;
537
+ private validateValue;
538
+ private disablePopupButton;
539
+ private getFormattedValue;
540
+ private isDateObject;
541
+ private createInputElement;
542
+ private renderTimeIcon;
543
+ private bindInputEvents;
544
+ private unBindInputEvents;
545
+ private cldrTimeFormat;
546
+ private cldrDateTimeFormat;
547
+ private getCldrFormat;
548
+ private isNullOrEmpty;
549
+ protected getCultureTimeObject(ld: Object, c: string): Object;
550
+ private timeHandler;
551
+ private dateHandler;
552
+ show(type?: string, e?: MouseEvent | KeyboardEvent | KeyboardEventArgs): void;
553
+ toggle(e?: KeyboardEventArgs): void;
554
+ private listCreation;
555
+ private popupCreation;
556
+ private openPopup;
557
+ private documentClickHandler;
558
+ private isTimePopupOpen;
559
+ private isDatePopupOpen;
560
+ private renderPopup;
561
+ private dateTimeCloseHandler;
562
+ private setDimension;
563
+ private setPopupWidth;
564
+ protected wireTimeListEvents(): void;
565
+ protected unWireTimeListEvents(): void;
566
+ private onMouseOver;
567
+ private onMouseLeave;
568
+ private setTimeHover;
569
+ protected getPopupHeight(): number;
570
+ protected changeEvent(e: Event): void;
571
+ private updateValue;
572
+ private setTimeScrollPosition;
573
+ private findScrollTop;
574
+ private setScrollTo;
575
+ private setInputValue;
576
+ private getFullDateTime;
577
+ private createMask;
578
+ private combineDateTime;
579
+ private onMouseClick;
580
+ private setSelection;
581
+ private setTimeActiveClass;
582
+ private setTimeActiveDescendant;
583
+ protected addTimeSelection(): void;
584
+ protected removeTimeSelection(): void;
585
+ protected removeTimeHover(className: string): void;
586
+ protected getTimeHoverItem(className: string): Element[];
587
+ protected isValidLI(li: Element | HTMLElement): boolean;
588
+ private calculateStartEnd;
589
+ private startTime;
590
+ private TimePopupFormat;
591
+ private endTime;
592
+ hide(e?: KeyboardEvent | MouseEvent | Event): void;
593
+ private dateTimeCloseEventCallback;
594
+ private closePopup;
595
+ protected preRender(): void;
596
+ protected getProperty(date: DateTimePickerModel, val: string): void;
597
+ protected checkAttributes(isDynamic: boolean): void;
598
+ requiredModules(): ModuleDeclaration[];
599
+ private maskedDateModule;
600
+ private getTimeActiveElement;
601
+ protected createDateObj(val: Date | string): Date;
602
+ private getDateObject;
603
+ protected findNextTimeElement(event: KeyboardEventArgs): void;
604
+ protected setTimeValue(date: Date, value: Date): Date;
605
+ protected timeElementValue(value: Date): Date;
606
+ protected timeKeyHandler(event: KeyboardEventArgs): void;
607
+ protected timeKeyActionHandle(event: KeyboardEventArgs): void;
608
+ protected inputKeyAction(event: KeyboardEventArgs): void;
609
+ /**
610
+ * Called internally if any of the property value changed.
611
+ *
612
+ * @param {DateTimePickerModel} newProp - Returns the dynamic property value of the component.
613
+ * @param {DateTimePickerModel} oldProp - Returns the previous property value of the component.
614
+ * @returns {void}
615
+ * @deprecated
616
+ */
617
+ onPropertyChanged(newProp: DateTimePickerModel, oldProp: DateTimePickerModel): void;
618
+ /**
619
+ * To get component name.
620
+ *
621
+ * @returns {string} Returns the component name.
622
+ * @private
623
+ */
624
+ protected getModuleName(): string;
625
+ protected restoreValue(): void;
626
+ }