@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,583 @@
1
+ /// <reference path="../calendar/calendar-model.d.ts" />
2
+ import { KeyboardEventArgs, EmitType, L10n } from '@syncfusion/ej2-base';
3
+ import { Touch, SwipeEventArgs } from '@syncfusion/ej2-base';
4
+ import { ModuleDeclaration } from '@syncfusion/ej2-base';
5
+ import { Popup } from '@syncfusion/ej2-popups';
6
+ import { InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';
7
+ import { ChangedEventArgs, CalendarView, Calendar, BlurEventArgs, FocusEventArgs, ClearedEventArgs } from '../calendar/calendar';
8
+ import { MaskPlaceholderModel } from '../common/maskplaceholder-model';
9
+ import { DatePickerModel } from './datepicker-model';
10
+ export interface FormatObject {
11
+ /**
12
+ * Specifies the format in which the date format will process
13
+ */
14
+ skeleton?: string;
15
+ }
16
+ /**
17
+ * Represents the DatePicker component that allows user to select
18
+ * or enter a date value.
19
+ * ```html
20
+ * <input id='datepicker'/>
21
+ * ```
22
+ * ```typescript
23
+ * <script>
24
+ * let datePickerObject:DatePicker = new DatePicker({ value: new Date() });
25
+ * datePickerObject.appendTo('#datepicker');
26
+ * </script>
27
+ * ```
28
+ */
29
+ export declare class DatePicker extends Calendar implements IInput {
30
+ protected popupObj: Popup;
31
+ protected inputWrapper: InputObject;
32
+ private modal;
33
+ protected inputElement: HTMLInputElement;
34
+ protected popupWrapper: HTMLElement;
35
+ protected changedArgs: ChangedEventArgs;
36
+ protected previousDate: Date;
37
+ private keyboardModules;
38
+ private calendarKeyboardModules;
39
+ protected previousElementValue: string;
40
+ protected ngTag: string;
41
+ protected dateTimeFormat: string;
42
+ protected inputElementCopy: HTMLElement;
43
+ protected inputValueCopy: Date;
44
+ protected l10n: L10n;
45
+ protected preventArgs: PopupObjectArgs;
46
+ private isDateIconClicked;
47
+ protected isAltKeyPressed: boolean;
48
+ private isInteracted;
49
+ private index;
50
+ private formElement;
51
+ protected invalidValueString: string;
52
+ private checkPreviousValue;
53
+ protected formatString: string;
54
+ protected inputFormatsString: string[];
55
+ protected tabIndex: string;
56
+ protected maskedDateValue: string;
57
+ private datepickerOptions;
58
+ protected defaultKeyConfigs: {
59
+ [key: string]: string;
60
+ };
61
+ protected mobilePopupWrapper: HTMLElement;
62
+ protected preventChange: boolean;
63
+ protected isIconClicked: boolean;
64
+ protected isDynamicValueChanged: boolean;
65
+ protected moduleName: string;
66
+ protected isFocused: boolean;
67
+ protected touchModule: Touch;
68
+ protected touchStart: boolean;
69
+ protected iconRight: boolean;
70
+ protected isBlur: boolean;
71
+ private isKeyAction;
72
+ protected clearButton: HTMLElement;
73
+ /**
74
+ * Specifies the width of the DatePicker component.
75
+ *
76
+ * @default null
77
+ */
78
+ width: number | string;
79
+ /**
80
+ * Gets or sets the selected date of the Calendar.
81
+ *
82
+ * @default null
83
+ * @isGenericType true
84
+ * @deprecated
85
+ */
86
+ value: Date;
87
+ /**
88
+ * Specifies the root CSS class of the DatePicker that allows to
89
+ * customize the appearance by overriding the styles.
90
+ *
91
+ * @default null
92
+ */
93
+ cssClass: string;
94
+ /**
95
+ * Specifies the component to act as strict. So that, it allows to enter only a valid date value within a specified range or else it
96
+ * will resets to previous value. By default, strictMode is in false.
97
+ * it allows invalid or out-of-range date value with highlighted error class.
98
+ *
99
+ * @default false
100
+ * > For more details refer to
101
+ * [`Strict Mode`](../../datepicker/strict-mode/) documentation.
102
+ */
103
+ strictMode: boolean;
104
+ /**
105
+ * Specifies the format of the value that to be displayed in component. By default, the format is based on the culture. You can set
106
+ * the format to "format:'dd/MM/yyyy hh:mm'" or "format:{skeleton:'medium'}" either in string or object.
107
+ * > To know more about the date format standards, refer to the Internationalization Date Format
108
+ * [`Internationalization`](../../common/internationalization/#custom-formats) section.
109
+ *
110
+ * @default null
111
+ * @aspType string
112
+ */
113
+ format: string | FormatObject;
114
+ /**
115
+ * Specifies an array of acceptable date input formats for parsing user input.
116
+ *
117
+ * @default null
118
+ * @aspType string[]
119
+ */
120
+ inputFormats: string[] | FormatObject[];
121
+ /**
122
+ * Specifies the component to be disabled or not.
123
+ *
124
+ * @default true
125
+ */
126
+ enabled: boolean;
127
+ /**
128
+ * Specifies the component popup display full screen in mobile devices.
129
+ *
130
+ * @default false
131
+ */
132
+ fullScreenMode: boolean;
133
+ /**
134
+ * You can add the additional html attributes such as disabled, value etc., to the element.
135
+ * If you configured both property and equivalent html attribute then the component considers the property value.
136
+ * {% codeBlock src='datepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
137
+ *
138
+ * @default {}
139
+ */
140
+ htmlAttributes: {
141
+ [key: string]: string;
142
+ };
143
+ /**
144
+ * Gets or sets multiple selected dates of the calendar.
145
+ *
146
+ * @default null
147
+ * @private
148
+ */
149
+ values: Date[];
150
+ /**
151
+ * Specifies the option to enable the multiple dates selection of the calendar.
152
+ *
153
+ * @default false
154
+ * @private
155
+ */
156
+ isMultiSelection: boolean;
157
+ /**
158
+ * Specifies whether to show or hide the clear icon in textbox.
159
+ *
160
+ * @default true
161
+ */
162
+ showClearButton: boolean;
163
+ /**
164
+ * > Support for `allowEdit` has been provided from
165
+ * [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#datepicker).
166
+ *
167
+ * Specifies whether the input textbox is editable or not. Here the user can select the value from the
168
+ * popup and cannot edit in the input textbox.
169
+ *
170
+ * @default true
171
+ */
172
+ allowEdit: boolean;
173
+ /**
174
+ * Customizes the key actions in DatePicker.
175
+ * For example, when using German keyboard, the key actions can be customized using these shortcuts.
176
+ *
177
+ *
178
+ * Input Navigation
179
+ * <table>
180
+ * <tr>
181
+ * <td colSpan=1 rowSpan=1>
182
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
183
+ * Key<br/></td></tr>
184
+ * <tr>
185
+ * <td colSpan=1 rowSpan=1>
186
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
187
+ * alt+uparrow<br/></td></tr>
188
+ * <tr>
189
+ * <td colSpan=1 rowSpan=1>
190
+ * altDownArrow<br/></td><td colSpan=1 rowSpan=1>
191
+ * alt+downarrow<br/></td></tr>
192
+ * <tr>
193
+ * <td colSpan=1 rowSpan=1>
194
+ * escape<br/></td><td colSpan=1 rowSpan=1>
195
+ * escape<br/></td></tr>
196
+ * </table>
197
+ *
198
+ * Calendar Navigation
199
+ * <table>
200
+ * <tr>
201
+ * <td colSpan=1 rowSpan=1>
202
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
203
+ * Key<br/></td></tr>
204
+ * <tr>
205
+ * <td colSpan=1 rowSpan=1>
206
+ * controlUp<br/></td><td colSpan=1 rowSpan=1>
207
+ * ctrl+38<br/></td></tr>
208
+ * <tr>
209
+ * <td colSpan=1 rowSpan=1>
210
+ * controlDown<br/></td><td colSpan=1 rowSpan=1>
211
+ * ctrl+40<br/></td></tr>
212
+ * <tr>
213
+ * <td colSpan=1 rowSpan=1>
214
+ * moveDown<br/></td><td colSpan=1 rowSpan=1>
215
+ * downarrow<br/></td></tr>
216
+ * <tr>
217
+ * <td colSpan=1 rowSpan=1>
218
+ * moveUp<br/></td><td colSpan=1 rowSpan=1>
219
+ * uparrow<br/></td></tr>
220
+ * <tr>
221
+ * <td colSpan=1 rowSpan=1>
222
+ * moveLeft<br/></td><td colSpan=1 rowSpan=1>
223
+ * leftarrow<br/></td></tr>
224
+ * <tr>
225
+ * <td colSpan=1 rowSpan=1>
226
+ * moveRight<br/></td><td colSpan=1 rowSpan=1>
227
+ * rightarrow<br/></td></tr>
228
+ * <tr>
229
+ * <td colSpan=1 rowSpan=1>
230
+ * shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
231
+ * shift+pageup<br/></td></tr>
232
+ * <tr>
233
+ * <td colSpan=1 rowSpan=1>
234
+ * shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
235
+ * shift+pagedown<br/></td></tr>
236
+ * <tr>
237
+ * <tr>
238
+ * <td colSpan=1 rowSpan=1>
239
+ * select<br/></td><td colSpan=1 rowSpan=1>
240
+ * enter<br/></td></tr>
241
+ * <tr>
242
+ * <td colSpan=1 rowSpan=1>
243
+ * home<br/></td><td colSpan=1 rowSpan=1>
244
+ * home<br/></td></tr>
245
+ * <tr>
246
+ * <td colSpan=1 rowSpan=1>
247
+ * end<br/></td><td colSpan=1 rowSpan=1>
248
+ * end<br/></td></tr>
249
+ * <tr>
250
+ * <td colSpan=1 rowSpan=1>
251
+ * pageUp<br/></td><td colSpan=1 rowSpan=1>
252
+ * pageup<br/></td></tr>
253
+ * <tr>
254
+ * <td colSpan=1 rowSpan=1>
255
+ * pageDown<br/></td><td colSpan=1 rowSpan=1>
256
+ * pagedown<br/></td></tr>
257
+ * <td colSpan=1 rowSpan=1>
258
+ * controlHome<br/></td><td colSpan=1 rowSpan=1>
259
+ * ctrl+home<br/></td></tr>
260
+ * <tr>
261
+ * <td colSpan=1 rowSpan=1>
262
+ * controlEnd<br/></td><td colSpan=1 rowSpan=1>
263
+ * ctrl+end<br/></td></tr>
264
+ * <tr>
265
+ * <td colSpan=1 rowSpan=1>
266
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
267
+ * alt+uparrow<br/></td></tr>
268
+ * <tr>
269
+ * <td colSpan=1 rowSpan=1>
270
+ * spacebar<br/></td><td colSpan=1 rowSpan=1>
271
+ * space<br/></td></tr>
272
+ * <tr>
273
+ * <td colSpan=1 rowSpan=1>
274
+ * altRightArrow<br/></td><td colSpan=1 rowSpan=1>
275
+ * alt+rightarrow<br/></td></tr>
276
+ * <tr>
277
+ * <td colSpan=1 rowSpan=1>
278
+ * altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
279
+ * alt+leftarrow<br/></td></tr>
280
+ * </table>
281
+ *
282
+ * {% codeBlock src='datepicker/keyConfigs/index.md' %}{% endcodeBlock %}
283
+ *
284
+ * @default null
285
+ * @deprecated
286
+ */
287
+ keyConfigs: {
288
+ [key: string]: string;
289
+ };
290
+ /**
291
+ * Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
292
+ * 1. value
293
+ *
294
+ * @default false
295
+ * @deprecated
296
+ */
297
+ enablePersistence: boolean;
298
+ /**
299
+ * specifies the z-index value of the datePicker popup element.
300
+ *
301
+ * @default 1000
302
+ * @aspType int
303
+ */
304
+ zIndex: number;
305
+ /**
306
+ * Specifies the component in readonly state. When the Component is readonly it does not allow user input.
307
+ *
308
+ * @default false
309
+ */
310
+ readonly: boolean;
311
+ /**
312
+ * Specifies the placeholder text that displayed in textbox.
313
+ *
314
+ * @default null
315
+ */
316
+ placeholder: string;
317
+ /**
318
+ * Specifies the placeholder text to be floated.
319
+ * Possible values are:
320
+ * Never: The label will never float in the input when the placeholder is available.
321
+ * Always: The floating label will always float above the input.
322
+ * Auto: The floating label will float above the input after focusing or entering a value in the input.
323
+ *
324
+ * @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
325
+ * @aspType Syncfusion.EJ2.Inputs.FloatLabelType
326
+ * @isEnumeration true
327
+ */
328
+ floatLabelType: FloatLabelType | string;
329
+ /**
330
+ * By default, the date value will be processed based on system time zone.
331
+ * If you want to process the initial date value using server time zone
332
+ * then specify the time zone value to `serverTimezoneOffset` property.
333
+ *
334
+ * @default null
335
+ * @deprecated
336
+ */
337
+ serverTimezoneOffset: number;
338
+ /**
339
+ * By default, the popup opens while clicking on the datepicker icon.
340
+ * If you want to open the popup while focusing the date input then specify its value as true.
341
+ *
342
+ * @default false
343
+ */
344
+ openOnFocus: boolean;
345
+ /**
346
+ * Specifies whether it is a masked datepicker or not.
347
+ * By default the datepicker component render without masked input.
348
+ * If you need masked datepicker input then specify it as true.
349
+ *
350
+ * @default false
351
+ */
352
+ enableMask: boolean;
353
+ /**
354
+ * Specifies the mask placeholder to be displayed on masked datepicker.
355
+ *
356
+ * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
357
+ */
358
+ maskPlaceholder: MaskPlaceholderModel;
359
+ /**
360
+ * Triggers when the popup is opened.
361
+ *
362
+ * @event open
363
+ */
364
+ open: EmitType<PreventableEventArgs | PopupObjectArgs>;
365
+ /**
366
+ * Triggers when datepicker value is cleared using clear button.
367
+ *
368
+ * @event cleared
369
+ */
370
+ cleared: EmitType<ClearedEventArgs>;
371
+ /**
372
+ * Triggers when the popup is closed.
373
+ *
374
+ * @event close
375
+ */
376
+ close: EmitType<PreventableEventArgs | PopupObjectArgs>;
377
+ /**
378
+ * Triggers when the input loses the focus.
379
+ *
380
+ * @event blur
381
+ */
382
+ blur: EmitType<BlurEventArgs>;
383
+ /**
384
+ * Triggers when the input gets focus.
385
+ *
386
+ * @event focus
387
+ */
388
+ focus: EmitType<FocusEventArgs>;
389
+ /**
390
+ * Triggers when the component is created.
391
+ *
392
+ * @event created
393
+ */
394
+ created: EmitType<Object>;
395
+ /**
396
+ * Triggers when the component is destroyed.
397
+ *
398
+ * @event destroyed
399
+ */
400
+ destroyed: EmitType<Object>;
401
+ /**
402
+ * Constructor for creating the widget.
403
+ *
404
+ * @param {DatePickerModel} options - Specifies the DatePicker model.
405
+ * @param {string | HTMLInputElement} element - Specifies the element to render as component.
406
+ * @private
407
+ */
408
+ constructor(options?: DatePickerModel, element?: string | HTMLInputElement);
409
+ /**
410
+ * To Initialize the control rendering.
411
+ *
412
+ * @returns {void}
413
+ * @private
414
+ */
415
+ render(): void;
416
+ protected setTimeZone(offsetValue: number): void;
417
+ protected isDayLightSaving(): boolean;
418
+ protected setAllowEdit(): void;
419
+ protected updateIconState(): void;
420
+ private initialize;
421
+ private createInput;
422
+ protected updateInput(isDynamic?: boolean, isBlur?: boolean): void;
423
+ protected minMaxUpdates(): void;
424
+ private checkStringValue;
425
+ protected checkInvalidValue(value: Date): void;
426
+ private bindInputEvent;
427
+ protected bindEvents(): void;
428
+ private keydownHandler;
429
+ protected unBindEvents(): void;
430
+ protected resetFormHandler(): void;
431
+ protected restoreValue(): void;
432
+ private inputChangeHandler;
433
+ private bindClearEvent;
434
+ protected resetHandler(e?: MouseEvent): void;
435
+ private mouseUpHandler;
436
+ private clear;
437
+ private preventEventBubbling;
438
+ private updateInputValue;
439
+ private dateIconHandler;
440
+ protected updateHtmlAttributeToWrapper(): void;
441
+ protected updateHtmlAttributeToElement(): void;
442
+ private updateCssClass;
443
+ private calendarKeyActionHandle;
444
+ private inputFocusHandler;
445
+ private inputHandler;
446
+ private inputBlurHandler;
447
+ private documentHandler;
448
+ protected inputKeyActionHandle(e: KeyboardEventArgs): void;
449
+ protected defaultAction(e: KeyboardEventArgs): void;
450
+ protected popupUpdate(): void;
451
+ protected strictModeUpdate(): void;
452
+ private createCalendar;
453
+ protected getAmPmValue(date: string | null | undefined): string;
454
+ private CalendarSwipeHandler;
455
+ private TouchStartHandler;
456
+ private setAriaDisabled;
457
+ private modelHeader;
458
+ private modelCloseHandler;
459
+ protected changeTrigger(event?: MouseEvent | KeyboardEvent): void;
460
+ protected navigatedEvent(eve: MouseEvent | KeyboardEvent | SwipeEventArgs): void;
461
+ protected keyupHandler(e: KeyboardEventArgs): void;
462
+ protected changeEvent(event?: MouseEvent | KeyboardEvent | Event): void;
463
+ requiredModules(): ModuleDeclaration[];
464
+ protected selectCalendar(e?: MouseEvent | KeyboardEvent | Event): void;
465
+ protected isCalendar(): boolean;
466
+ protected setWidth(width: number | string): void;
467
+ /**
468
+ * Shows the Calendar.
469
+ *
470
+ * @returns {void}
471
+ * @deprecated
472
+ */
473
+ show(type?: null | string, e?: MouseEvent | KeyboardEvent | KeyboardEventArgs): void;
474
+ /**
475
+ * Hide the Calendar.
476
+ *
477
+ * @returns {void}
478
+ * @deprecated
479
+ */
480
+ hide(event?: MouseEvent | KeyboardEvent | Event): void;
481
+ private closeEventCallback;
482
+ /**
483
+ * Sets the focus to widget for interaction.
484
+ *
485
+ * @returns {void}
486
+ */
487
+ focusIn(triggerEvent?: boolean): void;
488
+ /**
489
+ * Remove the focus from widget, if the widget is in focus state.
490
+ *
491
+ * @returns {void}
492
+ */
493
+ focusOut(): void;
494
+ /**
495
+ * Gets the current view of the DatePicker.
496
+ *
497
+ * @returns {string}
498
+ * @deprecated
499
+ */
500
+ currentView(): string;
501
+ /**
502
+ * Navigates to specified month or year or decade view of the DatePicker.
503
+ *
504
+ * @param {string} view - Specifies the view of the calendar.
505
+ * @param {Date} date - Specifies the focused date in a view.
506
+ * @returns {void}
507
+ * @deprecated
508
+ */
509
+ navigateTo(view: CalendarView, date: Date): void;
510
+ /**
511
+ * To destroy the widget.
512
+ *
513
+ * @returns {void}
514
+ */
515
+ destroy(): void;
516
+ protected ensureInputAttribute(): void;
517
+ /**
518
+ * Initialize the event handler
519
+ *
520
+ * @returns {void}
521
+ * @private
522
+ */
523
+ protected preRender(): void;
524
+ protected getDefaultKeyConfig(): {
525
+ [key: string]: string;
526
+ };
527
+ protected validationAttribute(target: HTMLElement, inputElement: Element): void;
528
+ protected checkFormat(): void;
529
+ protected checkInputFormats(): void;
530
+ private checkHtmlAttributes;
531
+ /**
532
+ * To get component name.
533
+ *
534
+ * @returns {string} Returns the component name.
535
+ * @private
536
+ */
537
+ protected getModuleName(): string;
538
+ private disabledDates;
539
+ private setAriaAttributes;
540
+ protected errorClass(): void;
541
+ protected isValidTime(value: Date): boolean;
542
+ /**
543
+ * Called internally if any of the property value changed.
544
+ *
545
+ * @param {DatePickerModel} newProp - Returns the dynamic property value of the component.
546
+ * @param {DatePickerModel} oldProp - Returns the previous property value of the component.
547
+ * @returns {void}
548
+ * @private
549
+ */
550
+ onPropertyChanged(newProp: DatePickerModel, oldProp: DatePickerModel): void;
551
+ /**
552
+ * @private
553
+ * @param {Date | Date[]} dates - Specifies the date or dates to be added to the values property of the Calendar.
554
+ * @returns {void}
555
+ */
556
+ addDate(dates: Date | Date[]): void;
557
+ }
558
+ export interface PopupObjectArgs {
559
+ /** Prevents the default action */
560
+ preventDefault?: Function;
561
+ /**
562
+ * Defines the DatePicker popup element.
563
+ *
564
+ * @deprecated
565
+ */
566
+ popup?: Popup;
567
+ /**
568
+ * Illustrates whether the current action needs to be prevented or not.
569
+ */
570
+ cancel?: boolean;
571
+ /**
572
+ * Specifies the original event arguments.
573
+ */
574
+ event?: MouseEvent | KeyboardEvent | Event;
575
+ /**
576
+ * Specifies the node to which the popup element to be appended.
577
+ */
578
+ appendTo?: HTMLElement;
579
+ }
580
+ export interface PreventableEventArgs {
581
+ /** Prevents the default action */
582
+ preventDefault?: Function;
583
+ }