@progress/kendo-angular-dateinputs 24.2.2 → 25.0.0-develop.2

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 (133) hide show
  1. package/fesm2022/progress-kendo-angular-dateinputs.mjs +260 -260
  2. package/index.d.ts +7208 -91
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +16 -16
  5. package/calendar/calendar.component.d.ts +0 -633
  6. package/calendar/calendar.module.d.ts +0 -51
  7. package/calendar/calendars.module.d.ts +0 -47
  8. package/calendar/footer.component.d.ts +0 -22
  9. package/calendar/for.directive.d.ts +0 -42
  10. package/calendar/header.component.d.ts +0 -73
  11. package/calendar/horizontal-view-list.component.d.ts +0 -106
  12. package/calendar/localization/calendar-custom-messages.component.d.ts +0 -25
  13. package/calendar/localization/calendar-localized-messages.directive.d.ts +0 -16
  14. package/calendar/localization/calendar-messages.d.ts +0 -29
  15. package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +0 -25
  16. package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +0 -16
  17. package/calendar/localization/multiview-calendar-messages.d.ts +0 -29
  18. package/calendar/models/cell-context.interface.d.ts +0 -77
  19. package/calendar/models/navigation-action.enum.d.ts +0 -19
  20. package/calendar/models/orientation.d.ts +0 -17
  21. package/calendar/models/row-length-options.interface.d.ts +0 -10
  22. package/calendar/models/scrollable.interface.d.ts +0 -41
  23. package/calendar/models/selection-range-end.type.d.ts +0 -18
  24. package/calendar/models/selection-range.interface.d.ts +0 -36
  25. package/calendar/models/selection.d.ts +0 -38
  26. package/calendar/models/type.d.ts +0 -17
  27. package/calendar/models/view-service.interface.d.ts +0 -31
  28. package/calendar/models/view.enum.d.ts +0 -15
  29. package/calendar/models/view.type.d.ts +0 -19
  30. package/calendar/multiview-calendar.component.d.ts +0 -655
  31. package/calendar/multiview-calendar.module.d.ts +0 -58
  32. package/calendar/navigation.component.d.ts +0 -60
  33. package/calendar/services/bus-view.service.d.ts +0 -30
  34. package/calendar/services/century-view.service.d.ts +0 -35
  35. package/calendar/services/decade-view.service.d.ts +0 -35
  36. package/calendar/services/disabled-dates.service.d.ts +0 -36
  37. package/calendar/services/dom.service.d.ts +0 -35
  38. package/calendar/services/month-view.service.d.ts +0 -42
  39. package/calendar/services/navigation.service.d.ts +0 -19
  40. package/calendar/services/scroll-sync.service.d.ts +0 -32
  41. package/calendar/services/selection.service.d.ts +0 -39
  42. package/calendar/services/weeknames.service.d.ts +0 -20
  43. package/calendar/services/year-view.service.d.ts +0 -39
  44. package/calendar/templates/cell-template.directive.d.ts +0 -36
  45. package/calendar/templates/century-cell-template.directive.d.ts +0 -34
  46. package/calendar/templates/decade-cell-template.directive.d.ts +0 -34
  47. package/calendar/templates/footer-template.directive.d.ts +0 -35
  48. package/calendar/templates/header-template.directive.d.ts +0 -38
  49. package/calendar/templates/header-title-template.directive.d.ts +0 -34
  50. package/calendar/templates/month-cell-template.directive.d.ts +0 -34
  51. package/calendar/templates/navigation-item-template.directive.d.ts +0 -34
  52. package/calendar/templates/weeknumber-cell-template.directive.d.ts +0 -34
  53. package/calendar/templates/year-cell-template.directive.d.ts +0 -34
  54. package/calendar/view-list.component.d.ts +0 -108
  55. package/calendar/view.component.d.ts +0 -86
  56. package/common/dom-queries.d.ts +0 -12
  57. package/common/models/fillmode.d.ts +0 -13
  58. package/common/models/rounded.d.ts +0 -15
  59. package/common/models/size.d.ts +0 -13
  60. package/common/models/week-days-format.d.ts +0 -10
  61. package/common/picker.service.d.ts +0 -20
  62. package/common/utils.d.ts +0 -65
  63. package/dateinput/arrow.enum.d.ts +0 -12
  64. package/dateinput/dateinput.component.d.ts +0 -479
  65. package/dateinput/dateinput.module.d.ts +0 -29
  66. package/dateinput/localization/dateinput-custom-messages.component.d.ts +0 -34
  67. package/dateinput/localization/dateinput-localized-messages.directive.d.ts +0 -16
  68. package/dateinput/localization/messages.d.ts +0 -25
  69. package/dateinput/models/format-placeholder.model.d.ts +0 -61
  70. package/dateinput/models/format-settings.model.d.ts +0 -29
  71. package/dateinput/models/incremental-steps.model.d.ts +0 -31
  72. package/dateinputs.module.d.ts +0 -71
  73. package/datepicker/datepicker.component.d.ts +0 -640
  74. package/datepicker/datepicker.module.d.ts +0 -36
  75. package/datepicker/localization/datepicker-custom-messages.component.d.ts +0 -27
  76. package/datepicker/localization/datepicker-localized-messages.directive.d.ts +0 -16
  77. package/datepicker/localization/messages.d.ts +0 -41
  78. package/daterange/auto-correct-on.type.d.ts +0 -9
  79. package/daterange/date-range-end-input.directive.d.ts +0 -62
  80. package/daterange/date-range-input.d.ts +0 -42
  81. package/daterange/date-range-popup-template.directive.d.ts +0 -27
  82. package/daterange/date-range-popup.component.d.ts +0 -376
  83. package/daterange/date-range-selection.directive.d.ts +0 -89
  84. package/daterange/date-range-start-input.directive.d.ts +0 -65
  85. package/daterange/date-range.component.d.ts +0 -59
  86. package/daterange/date-range.module.d.ts +0 -57
  87. package/daterange/date-range.service.d.ts +0 -137
  88. package/daterange/localization/daterange-popup-custom-messages.component.d.ts +0 -17
  89. package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +0 -16
  90. package/daterange/localization/messages.d.ts +0 -33
  91. package/datetimepicker/datetimepicker.component.d.ts +0 -772
  92. package/datetimepicker/datetimepicker.module.d.ts +0 -41
  93. package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +0 -26
  94. package/datetimepicker/localization/localized-messages.directive.d.ts +0 -16
  95. package/datetimepicker/localization/messages.d.ts +0 -101
  96. package/datetimepicker/models/active-tab.type.d.ts +0 -9
  97. package/defaults.d.ts +0 -24
  98. package/directives.d.ts +0 -66
  99. package/package-metadata.d.ts +0 -9
  100. package/popup-settings.model.d.ts +0 -28
  101. package/preventable-event.d.ts +0 -23
  102. package/timepicker/localization/messages.d.ts +0 -69
  103. package/timepicker/localization/timepicker-custom-messages.component.d.ts +0 -28
  104. package/timepicker/localization/timepicker-localized-messages.directive.d.ts +0 -16
  105. package/timepicker/localization/timeselector-custom-messages.component.d.ts +0 -19
  106. package/timepicker/localization/timeselector-localized-messages.directive.d.ts +0 -16
  107. package/timepicker/models/incremental-steps.model.d.ts +0 -13
  108. package/timepicker/models/list-item.interface.d.ts +0 -11
  109. package/timepicker/models/list-service-settings.d.ts +0 -16
  110. package/timepicker/models/list-service.interface.d.ts +0 -19
  111. package/timepicker/models/time-part.default.d.ts +0 -14
  112. package/timepicker/services/dayperiod.service.d.ts +0 -54
  113. package/timepicker/services/dom.service.d.ts +0 -25
  114. package/timepicker/services/hours.service.d.ts +0 -40
  115. package/timepicker/services/milliseconds.service.d.ts +0 -39
  116. package/timepicker/services/minutes.service.d.ts +0 -39
  117. package/timepicker/services/seconds.service.d.ts +0 -39
  118. package/timepicker/timelist.component.d.ts +0 -96
  119. package/timepicker/timepicker.component.d.ts +0 -498
  120. package/timepicker/timepicker.module.d.ts +0 -28
  121. package/timepicker/timeselector.component.d.ts +0 -185
  122. package/timepicker/util.d.ts +0 -20
  123. package/util.d.ts +0 -195
  124. package/validators/disabled-date.validator.d.ts +0 -8
  125. package/validators/disabled-dates-range.validator.d.ts +0 -8
  126. package/validators/incomplete-date.validator.d.ts +0 -8
  127. package/validators/max.validator.d.ts +0 -8
  128. package/validators/min.validator.d.ts +0 -8
  129. package/validators/time-range.validator.d.ts +0 -8
  130. package/virtualization/models/scrollable.interface.d.ts +0 -41
  131. package/virtualization/services/row-height.service.d.ts +0 -22
  132. package/virtualization/services/scroller.service.d.ts +0 -57
  133. package/virtualization/virtualization.component.d.ts +0 -88
@@ -1,640 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ChangeDetectorRef, ElementRef, TemplateRef, EventEmitter, Renderer2, ViewContainerRef, NgZone, OnInit, OnChanges, OnDestroy, Injector, AfterViewInit } from '@angular/core';
6
- import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { PopupService, PopupRef } from '@progress/kendo-angular-popup';
9
- import { Day } from '@progress/kendo-date-math';
10
- import { MultiTabStop } from '@progress/kendo-angular-common';
11
- import { FormatSettings } from '../dateinput/models/format-settings.model';
12
- import { PopupSettings } from '../popup-settings.model';
13
- import { PreventableEvent } from '../preventable-event';
14
- import { CalendarView } from '../calendar/models/view.type';
15
- import { CalendarType } from '../calendar/models/type';
16
- import { CellTemplateDirective } from '../calendar/templates/cell-template.directive';
17
- import { MonthCellTemplateDirective } from '../calendar/templates/month-cell-template.directive';
18
- import { YearCellTemplateDirective } from '../calendar/templates/year-cell-template.directive';
19
- import { DecadeCellTemplateDirective } from '../calendar/templates/decade-cell-template.directive';
20
- import { CenturyCellTemplateDirective } from '../calendar/templates/century-cell-template.directive';
21
- import { WeekNumberCellTemplateDirective } from '../calendar/templates/weeknumber-cell-template.directive';
22
- import { HeaderTitleTemplateDirective } from '../calendar/templates/header-title-template.directive';
23
- import { NavigationItemTemplateDirective } from '../calendar/templates/navigation-item-template.directive';
24
- import { PickerService } from '../common/picker.service';
25
- import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
26
- import { DateInputFormatPlaceholder } from '../dateinput/models/format-placeholder.model';
27
- import { AdaptiveMode } from '../util';
28
- import { DateInputComponent } from '../dateinput/dateinput.component';
29
- import { DateInputSize } from '../common/models/size';
30
- import { DateInputRounded } from '../common/models/rounded';
31
- import { DateInputFillMode } from '../common/models/fillmode';
32
- import { SVGIcon } from '@progress/kendo-svg-icons';
33
- import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
34
- import { HeaderTemplateDirective } from '../calendar/templates/header-template.directive';
35
- import { FooterTemplateDirective } from '../calendar/templates/footer-template.directive';
36
- import { WeekDaysFormat } from '../common/models/week-days-format';
37
- import { AdaptiveSize, AdaptiveService } from '@progress/kendo-angular-utils';
38
- import * as i0 from "@angular/core";
39
- /**
40
- * Represents the Kendo UI DatePicker component for Angular.
41
- * Provides a user-friendly way to select dates with a calendar popup ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker)).
42
- *
43
- * @example
44
- * ```ts
45
- * @Component({
46
- * selector: 'my-app',
47
- * template: `
48
- * <kendo-datepicker
49
- * [value]="selectedDate"
50
- * </kendo-datepicker>
51
- * `
52
- * })
53
- * export class AppComponent {
54
- * selectedDate = new Date();
55
- * }
56
- * ```
57
- *
58
- * @remarks
59
- * Supported children components are: {@link DatePickerCustomMessagesComponent}.
60
- */
61
- export declare class DatePickerComponent extends MultiTabStop implements ControlValueAccessor, OnInit, AfterViewInit, OnChanges, OnDestroy, Validator {
62
- zone: NgZone;
63
- localization: LocalizationService;
64
- private cdr;
65
- private popupService;
66
- wrapper: ElementRef;
67
- private renderer;
68
- private injector;
69
- private pickerService;
70
- private disabledDatesService;
71
- private adaptiveService;
72
- /**
73
- * @hidden
74
- */
75
- calendarIcon: SVGIcon;
76
- container: ViewContainerRef;
77
- popupTemplate: TemplateRef<any>;
78
- toggleButton: ElementRef;
79
- actionSheet: ActionSheetComponent;
80
- /**
81
- * @hidden
82
- */
83
- focusableId: string;
84
- /**
85
- * @hidden
86
- */
87
- cellTemplate: CellTemplateDirective;
88
- /**
89
- * @hidden
90
- */
91
- set cellTemplateRef(template: CellTemplateDirective);
92
- /**
93
- * Renders a clear button when set to `true` after the input text or DatePicker value changes.
94
- * Click this button to reset the component value to `null` and trigger the `valueChange` event.
95
- * @default false
96
- */
97
- clearButton: boolean;
98
- /**
99
- * Specifies the HTML attributes of the inner focusable input element.
100
- * You cannot change attributes that are essential for certain component functionalities.
101
- *
102
- * @remarks
103
- * This property is related to accessibility.
104
- */
105
- inputAttributes: {
106
- [key: string]: string;
107
- };
108
- /**
109
- * @hidden
110
- */
111
- monthCellTemplate: MonthCellTemplateDirective;
112
- /**
113
- * @hidden
114
- */
115
- set monthCellTemplateRef(template: MonthCellTemplateDirective);
116
- /**
117
- * @hidden
118
- */
119
- yearCellTemplate: YearCellTemplateDirective;
120
- /**
121
- * @hidden
122
- */
123
- set yearCellTemplateRef(template: YearCellTemplateDirective);
124
- /**
125
- * @hidden
126
- */
127
- decadeCellTemplate: DecadeCellTemplateDirective;
128
- /**
129
- * @hidden
130
- */
131
- set decadeCellTemplateRef(template: DecadeCellTemplateDirective);
132
- /**
133
- * @hidden
134
- */
135
- centuryCellTemplate: CenturyCellTemplateDirective;
136
- /**
137
- * @hidden
138
- */
139
- set centuryCellTemplateRef(template: CenturyCellTemplateDirective);
140
- /**
141
- * @hidden
142
- */
143
- weekNumberTemplate: WeekNumberCellTemplateDirective;
144
- /**
145
- * @hidden
146
- */
147
- set weekNumberTemplateRef(template: WeekNumberCellTemplateDirective);
148
- /**
149
- * @hidden
150
- */
151
- headerTitleTemplate: HeaderTitleTemplateDirective;
152
- /**
153
- * @hidden
154
- */
155
- set headerTitleTemplateRef(template: HeaderTitleTemplateDirective);
156
- /**
157
- * @hidden
158
- */
159
- headerTemplate: HeaderTemplateDirective;
160
- /**
161
- * @hidden
162
- */
163
- set headerTemplateRef(template: HeaderTemplateDirective);
164
- /**
165
- * @hidden
166
- */
167
- footerTemplate: FooterTemplateDirective;
168
- /**
169
- * @hidden
170
- */
171
- set footerTemplateRef(template: FooterTemplateDirective);
172
- /**
173
- * Controls the visibility of the Calendar footer.
174
- * @default false
175
- */
176
- footer: boolean;
177
- /**
178
- * @hidden
179
- */
180
- navigationItemTemplate: NavigationItemTemplateDirective;
181
- /**
182
- * @hidden
183
- */
184
- set navigationItemTemplateRef(template: NavigationItemTemplateDirective);
185
- /**
186
- * Specifies the format of the displayed Calendar week days' names.
187
- * @default 'short'
188
- */
189
- weekDaysFormat?: WeekDaysFormat;
190
- /**
191
- * Shows the days that fall outside the current month in the Calendar ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-options#displaying-other-month-days)).
192
- * The default value is `false` for infinite Calendar type and `true` for classic Calendar type.
193
- */
194
- showOtherMonthDays: boolean;
195
- /**
196
- * Specifies the active view that the Calendar initially renders ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-options#active-view)).
197
- *
198
- * You have to set `activeView` within the `topView`-`bottomView` range.
199
- * @default 'month'
200
- */
201
- activeView: CalendarView;
202
- /**
203
- * Specifies the bottommost Calendar view to which you can navigate ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#view-selection-depth)).
204
- * @default 'month'
205
- */
206
- bottomView: CalendarView;
207
- /**
208
- * Specifies the topmost Calendar view to which you can navigate ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#view-selection-depth)).
209
- * @default 'century'
210
- */
211
- topView: CalendarView;
212
- /**
213
- * Specifies the Calendar type.
214
- * @default 'infinite'
215
- */
216
- calendarType: CalendarType;
217
- /**
218
- * Determines whether to enable animation when navigating to previous/next Calendar view.
219
- * Applies to the [`classic`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datepickercomponent#calendartype) Calendar only.
220
- *
221
- * This feature uses the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API). In order to run the animation in browsers that do not support it, you need the `web-animations-js` polyfill.
222
- *
223
- * @default false
224
- */
225
- animateCalendarNavigation: boolean;
226
- /**
227
- * Specifies or gets the `disabled` property of the DatePicker and determines whether the component is active ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/disabled-state)).
228
- * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/forms#managing-the-datepicker-disabled-state-in-reactive-forms).
229
- */
230
- disabled: boolean;
231
- /**
232
- * Specifies the read-only state of the DatePicker ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/readonly-state#read-only-datepicker)).
233
- *
234
- * @default false
235
- */
236
- readonly: boolean;
237
- /**
238
- * Sets the read-only state of the DatePicker input field
239
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/readonly-state#read-only-input)).
240
- *
241
- * If you set the [`readonly`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datepickercomponent#readonly) property value to `true`,
242
- * the input will be rendered in a read-only state regardless of the `readOnlyInput` value.
243
- */
244
- readOnlyInput: boolean;
245
- /**
246
- * Configures the popup options of the DatePicker.
247
- *
248
- * The available options are animate which controls the popup animation and by default, the open and close animations are enabled.
249
- * The appendTo option controls the popup container and by default, the popup will be appended to the root component.
250
- * The popupClass option specifies a list of CSS classes that are used to style the popup.
251
- */
252
- set popupSettings(settings: PopupSettings);
253
- get popupSettings(): PopupSettings;
254
- /**
255
- * Sets or gets the `navigation` property of the Calendar
256
- * and determines whether the navigation side-bar is displayed.
257
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/sidebar)).
258
- */
259
- set navigation(state: boolean);
260
- get navigation(): boolean;
261
- private _navigation;
262
- /**
263
- * Specifies the smallest valid date
264
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/date-ranges)).
265
- * @default 1900-1-1
266
- */
267
- min: Date;
268
- /**
269
- * Specifies the biggest valid date
270
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/date-ranges)).
271
- * @default 2099-12-31
272
- */
273
- max: Date;
274
- /**
275
- * Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
276
- * @default false
277
- */
278
- incompleteDateValidation: boolean;
279
- /**
280
- * Determines whether to autocorrect invalid segments automatically.
281
- *
282
- * @default true
283
- */
284
- autoCorrectParts: boolean;
285
- /**
286
- * Determines whether to automatically move to the next segment after the user completes the current one.
287
- *
288
- * @default true
289
- */
290
- autoSwitchParts: boolean;
291
- /**
292
- * A string array representing custom keys, which will move the focus to the next date format segment.
293
- */
294
- autoSwitchKeys: string[];
295
- /**
296
- * Indicates whether the mouse scroll can be used to increase/decrease the time segments values.
297
- *
298
- * @default true
299
- */
300
- enableMouseWheel: boolean;
301
- /**
302
- * Determines if the users should see a blinking caret inside the Date Input when possible.
303
- *
304
- * @default false
305
- */
306
- allowCaretMode: boolean;
307
- /**
308
- * When enabled, the DatePicker will autofill the rest of the date to the current date when the component loses focus.
309
- *
310
- * @default false
311
- */
312
- autoFill: boolean;
313
- /**
314
- * Specifies the focused date of the Calendar component
315
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#focused-dates)).
316
- * @default null
317
- */
318
- focusedDate: Date;
319
- /**
320
- * Specifies the value of the DatePicker component.
321
- *
322
- * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance or `null`.
323
- */
324
- set value(value: Date | null);
325
- get value(): Date | null;
326
- /**
327
- * Specifies the date format that is used to display the input value
328
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/formats)).
329
- *
330
- * Format value options include string to provide a single format that is used regardless whether the input is focused or blurred.
331
- * FormatSettings can be used to display different formats when the component is focused or blurred by providing a settings object with specified inputFormat and displayFormat values.
332
- */
333
- format: string | FormatSettings;
334
- /**
335
- * The maximum year to assume to be from the current century when typing two-digit year value
336
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/formats#two-digit-year-format)).
337
- *
338
- * The default value is 68, indicating that typing any value less than 69
339
- * will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
340
- * @default 68
341
- */
342
- twoDigitYearMax: number;
343
- /**
344
- * Defines the descriptions of the format sections in the input field.
345
- * ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/placeholders)).
346
- *
347
- */
348
- formatPlaceholder: DateInputFormatPlaceholder;
349
- /**
350
- * Specifies the hint the DatePicker displays when its value is `null`.
351
- * ([more information and exaples](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/placeholders)).
352
- */
353
- placeholder: string;
354
- /**
355
- * Sets the `tabindex` of the DatePicker.
356
- * This property is used to set the order in which the DatePicker will receive focus when navigating through the page using the Tab key.
357
- * @default 0
358
- */
359
- tabindex: number;
360
- /**
361
- * @hidden
362
- */
363
- set tabIndex(tabIndex: number);
364
- get tabIndex(): number;
365
- /**
366
- * Sets the dates of the DatePicker that will be disabled
367
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/disabled-dates)).
368
- */
369
- set disabledDates(value: ((date: Date) => boolean) | Date[] | Day[]);
370
- get disabledDates(): ((date: Date) => boolean) | Date[] | Day[];
371
- /**
372
- * Sets the title of the input element of the DatePicker and the title text rendered
373
- * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/adaptivemode).
374
- * @default ""
375
- */
376
- adaptiveTitle: string;
377
- /**
378
- * Sets the subtitle text rendered in the header of the popup(action sheet).
379
- * Applicable only when [`AdaptiveMode` is set to `auto`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/adaptivemode).
380
- * @default ""
381
- */
382
- adaptiveSubtitle: string;
383
- /**
384
- * Determines whether the built-in min or max validators are enforced when validating a form.
385
- *
386
- * @default true
387
- */
388
- rangeValidation: boolean;
389
- /**
390
- * Determines whether the built-in validator for disabled
391
- * date ranges is enforced when validating a form
392
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/disabled-dates#using-a-function)).
393
- * @default true
394
- */
395
- disabledDatesValidation: boolean;
396
- /**
397
- * Determines whether to display a week number column in the `month` view of the Calendar
398
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#week-number-column)).
399
- * @default false
400
- */
401
- weekNumber: boolean;
402
- /**
403
- * Sets the size of the component. The default value is set by the Kendo theme.
404
- */
405
- set size(size: DateInputSize);
406
- get size(): DateInputSize;
407
- /**
408
- * Specifies the border radius of the component. The default value is set by the Kendo theme.
409
- */
410
- set rounded(rounded: DateInputRounded);
411
- get rounded(): DateInputRounded;
412
- /**
413
- * Specifies the fillMode of the component. The default value is set by the Kendo theme.
414
- */
415
- set fillMode(fillMode: DateInputFillMode);
416
- get fillMode(): DateInputFillMode;
417
- /**
418
- * Specifies whether to enable adaptive rendering. When enabled, the DatePicker automatically switches between a calendar popup on larger screens and an ActionSheet on mobile devices.
419
- *
420
- * @default 'none'
421
- */
422
- adaptiveMode: AdaptiveMode;
423
- /**
424
- * Fires each time the user selects a new value
425
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/events)).
426
- */
427
- valueChange: EventEmitter<Date>;
428
- /**
429
- * Fires each time the user focuses the input element
430
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/events)).
431
- */
432
- onFocus: EventEmitter<any>;
433
- /**
434
- * Fires each time the input element gets blurred
435
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/events)).
436
- */
437
- onBlur: EventEmitter<any>;
438
- /**
439
- * Fires each time the popup is about to open
440
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/events)).
441
- * This event is preventable. If you cancel the event, the popup will remain closed.
442
- */
443
- open: EventEmitter<PreventableEvent>;
444
- /**
445
- * Fires each time the popup is about to close
446
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/events)).
447
- * This event is preventable. If you cancel the event, the popup will remain open.
448
- */
449
- close: EventEmitter<PreventableEvent>;
450
- /**
451
- * @hidden
452
- */
453
- escape: EventEmitter<any>;
454
- /**
455
- * @hidden
456
- */
457
- get disabledClass(): boolean;
458
- get popupUID(): string;
459
- popupRef: PopupRef;
460
- get isActive(): boolean;
461
- set isActive(value: boolean);
462
- get show(): boolean;
463
- set show(show: boolean);
464
- /**
465
- * @hidden
466
- */
467
- checkIcon: SVGIcon;
468
- /**
469
- * @hidden
470
- */
471
- windowSize: AdaptiveSize;
472
- /**
473
- * @hidden
474
- */
475
- get isControlRequired(): boolean;
476
- private _popupSettings;
477
- private _show;
478
- private _value;
479
- private _active;
480
- private _disabledDates;
481
- private onControlChange;
482
- private onControlTouched;
483
- private onValidatorChange;
484
- private minValidateFn;
485
- private maxValidateFn;
486
- private disabledDatesValidateFn;
487
- private incompleteValidator;
488
- private resolvedPromise;
489
- private subscription;
490
- private pickerSubscriptions;
491
- private localizationChangeSubscription;
492
- private windowBlurSubscription;
493
- private ariaActiveDescendantSubscription;
494
- private control;
495
- private domEvents;
496
- private _size;
497
- private _rounded;
498
- private _fillMode;
499
- constructor(zone: NgZone, localization: LocalizationService, cdr: ChangeDetectorRef, popupService: PopupService, wrapper: ElementRef, renderer: Renderer2, injector: Injector, pickerService: PickerService, disabledDatesService: DisabledDatesService, adaptiveService: AdaptiveService);
500
- /**
501
- * @hidden
502
- * Used by the TextBoxContainer to determine if the component is empty.
503
- */
504
- isEmpty(): boolean;
505
- /**
506
- * @hidden
507
- */
508
- ngOnInit(): void;
509
- ngAfterViewInit(): void;
510
- /**
511
- * @hidden
512
- */
513
- ngOnChanges(changes: any): void;
514
- /**
515
- * @hidden
516
- */
517
- ngOnDestroy(): void;
518
- /**
519
- * Indicates whether the component is currently open. That is when the popup or actionSheet is open.
520
- */
521
- get isOpen(): boolean;
522
- /**
523
- * @hidden
524
- */
525
- writeValue(value: Date): void;
526
- /**
527
- * @hidden
528
- */
529
- registerOnChange(fn: any): void;
530
- /**
531
- * @hidden
532
- */
533
- registerOnTouched(fn: any): void;
534
- /**
535
- * @hidden
536
- */
537
- setDisabledState(isDisabled: boolean): void;
538
- /**
539
- * @hidden
540
- */
541
- validate(control: AbstractControl): {
542
- [key: string]: any;
543
- };
544
- /**
545
- * @hidden
546
- */
547
- registerOnValidatorChange(fn: Function): void;
548
- /**
549
- * @hidden
550
- */
551
- handleActionSheetCollapse(): void;
552
- /**
553
- * @hidden
554
- */
555
- handleActionSheetClick(e: PointerEvent): void;
556
- /**
557
- * Focuses the DatePicker component.
558
- */
559
- focus(): void;
560
- /**
561
- * Blurs the DatePicker component.
562
- */
563
- blur(): void;
564
- /**
565
- * Toggles the visibility of the popup or actionSheet.
566
- * If you use the `toggle` method to show or hide the popup or actionSheet,
567
- * the `open` and `close` events do not fire.
568
- *
569
- * @param show The state of the popup.
570
- */
571
- toggle(show?: boolean): void;
572
- /**
573
- * @hidden
574
- */
575
- handleIconClick(event: MouseEvent): void;
576
- /**
577
- * @hidden
578
- */
579
- handleDateInputClick(): void;
580
- /**
581
- * @hidden
582
- */
583
- handleMousedown(args: any): void;
584
- /**
585
- * @hidden
586
- */
587
- handleChange(value: Date, isInputValueChange?: boolean): void;
588
- /**
589
- * @hidden
590
- */
591
- handleInputChange(value: Date): void;
592
- /**
593
- * @hidden
594
- */
595
- get popupClasses(): string[];
596
- /**
597
- * @hidden
598
- */
599
- get appendTo(): ViewContainerRef;
600
- get dateInput(): DateInputComponent;
601
- get calendar(): any;
602
- /**
603
- * @hidden
604
- */
605
- get isAdaptiveModeEnabled(): boolean;
606
- /**
607
- * @hidden
608
- */
609
- get isAdaptive(): boolean;
610
- /**
611
- * @hidden
612
- */
613
- onResize(): void;
614
- /**
615
- * @hidden
616
- */
617
- mergeTime(value: Date): Date;
618
- /**
619
- * @hidden
620
- */
621
- handleKeydown(e: any): void;
622
- private toggleCalendar;
623
- private togglePopup;
624
- private toggleActionSheet;
625
- private setAriaActiveDescendant;
626
- private focusInput;
627
- private toggleFocus;
628
- private verifySettings;
629
- private verifyValue;
630
- private bindEvents;
631
- private handleFocus;
632
- private handleWindowBlur;
633
- private handleBlur;
634
- private blurComponent;
635
- private handleSameSelection;
636
- private handleDateCompletenessChange;
637
- private setComponentClasses;
638
- static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
639
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "kendo-datepicker", ["kendo-datepicker"], { "focusableId": { "alias": "focusableId"; "required": false; }; "cellTemplateRef": { "alias": "cellTemplate"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "monthCellTemplateRef": { "alias": "monthCellTemplate"; "required": false; }; "yearCellTemplateRef": { "alias": "yearCellTemplate"; "required": false; }; "decadeCellTemplateRef": { "alias": "decadeCellTemplate"; "required": false; }; "centuryCellTemplateRef": { "alias": "centuryCellTemplate"; "required": false; }; "weekNumberTemplateRef": { "alias": "weekNumberTemplate"; "required": false; }; "headerTitleTemplateRef": { "alias": "headerTitleTemplate"; "required": false; }; "headerTemplateRef": { "alias": "headerTemplate"; "required": false; }; "footerTemplateRef": { "alias": "footerTemplate"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "navigationItemTemplateRef": { "alias": "navigationItemTemplate"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "calendarType": { "alias": "calendarType"; "required": false; }; "animateCalendarNavigation": { "alias": "animateCalendarNavigation"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyInput": { "alias": "readOnlyInput"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "incompleteDateValidation": { "alias": "incompleteDateValidation"; "required": false; }; "autoCorrectParts": { "alias": "autoCorrectParts"; "required": false; }; "autoSwitchParts": { "alias": "autoSwitchParts"; "required": false; }; "autoSwitchKeys": { "alias": "autoSwitchKeys"; "required": false; }; "enableMouseWheel": { "alias": "enableMouseWheel"; "required": false; }; "allowCaretMode": { "alias": "allowCaretMode"; "required": false; }; "autoFill": { "alias": "autoFill"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; "twoDigitYearMax": { "alias": "twoDigitYearMax"; "required": false; }; "formatPlaceholder": { "alias": "formatPlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "disabledDatesValidation": { "alias": "disabledDatesValidation"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; "escape": "escape"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate"], never, true, never>;
640
- }
@@ -1,36 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./localization/datepicker-custom-messages.component";
7
- import * as i2 from "./datepicker.component";
8
- import * as i3 from "../calendar/templates/cell-template.directive";
9
- import * as i4 from "../calendar/templates/century-cell-template.directive";
10
- import * as i5 from "../calendar/templates/decade-cell-template.directive";
11
- import * as i6 from "../calendar/templates/footer-template.directive";
12
- import * as i7 from "../calendar/templates/header-template.directive";
13
- import * as i8 from "../calendar/templates/header-title-template.directive";
14
- import * as i9 from "../calendar/templates/month-cell-template.directive";
15
- import * as i10 from "../calendar/templates/navigation-item-template.directive";
16
- import * as i11 from "../calendar/templates/weeknumber-cell-template.directive";
17
- import * as i12 from "../calendar/templates/year-cell-template.directive";
18
- import * as i13 from "@progress/kendo-angular-common";
19
- /**
20
- * Required for adding all DatePicker features in [NgModule-based](link:site.data.urls.angular['ngmoduleapi']) Angular applications.
21
- *
22
- * @example
23
- * ```typescript
24
- * import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
25
- *
26
- * @NgModule({
27
- * imports: [DatePickerModule]
28
- * })
29
- * export class AppModule { }
30
- * ```
31
- */
32
- export declare class DatePickerModule {
33
- static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
34
- static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.DatePickerCustomMessagesComponent, typeof i2.DatePickerComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i13.ToggleButtonTabStopDirective, typeof i13.ToggleButtonTabStopDirective], [typeof i1.DatePickerCustomMessagesComponent, typeof i2.DatePickerComponent, typeof i3.CellTemplateDirective, typeof i4.CenturyCellTemplateDirective, typeof i5.DecadeCellTemplateDirective, typeof i6.FooterTemplateDirective, typeof i7.HeaderTemplateDirective, typeof i8.HeaderTitleTemplateDirective, typeof i9.MonthCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i11.WeekNumberCellTemplateDirective, typeof i12.YearCellTemplateDirective, typeof i10.NavigationItemTemplateDirective, typeof i13.ToggleButtonTabStopDirective, typeof i13.ToggleButtonTabStopDirective]>;
35
- static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
36
- }