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

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 +622 -377
  2. package/index.d.ts +7264 -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,633 +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, EventEmitter, ElementRef, Renderer2, AfterViewChecked, OnChanges, OnDestroy, NgZone, Injector, AfterViewInit, DoCheck } from '@angular/core';
6
- import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { Day } from '@progress/kendo-date-math';
9
- import { MultiViewCalendarComponent } from './multiview-calendar.component';
10
- import { NavigationComponent } from './navigation.component';
11
- import { ViewListComponent } from './view-list.component';
12
- import { CalendarDOMService } from './services/dom.service';
13
- import { BusViewService } from './services/bus-view.service';
14
- import { NavigationService } from './services/navigation.service';
15
- import { DisabledDatesService } from './services/disabled-dates.service';
16
- import { SelectionService } from './services/selection.service';
17
- import { ScrollSyncService } from './services/scroll-sync.service';
18
- import { CellTemplateDirective } from './templates/cell-template.directive';
19
- import { MonthCellTemplateDirective } from './templates/month-cell-template.directive';
20
- import { YearCellTemplateDirective } from './templates/year-cell-template.directive';
21
- import { DecadeCellTemplateDirective } from './templates/decade-cell-template.directive';
22
- import { CenturyCellTemplateDirective } from './templates/century-cell-template.directive';
23
- import { WeekNumberCellTemplateDirective } from './templates/weeknumber-cell-template.directive';
24
- import { HeaderTitleTemplateDirective } from './templates/header-title-template.directive';
25
- import { NavigationItemTemplateDirective } from './templates/navigation-item-template.directive';
26
- import { PickerService } from '../common/picker.service';
27
- import { CalendarView } from './models/view.type';
28
- import { CalendarViewEnum } from './models/view.enum';
29
- import { CalendarType } from './models/type';
30
- import { CalendarSelection } from './models/selection';
31
- import { DateInputSize } from '../common/models/size';
32
- import { HeaderTemplateDirective } from './templates/header-template.directive';
33
- import { FooterTemplateDirective } from './templates/footer-template.directive';
34
- import { WeekDaysFormat } from '../common/models/week-days-format';
35
- import { SelectionRangeEnd } from './models/selection-range-end.type';
36
- import { SelectionRange } from './models/selection-range.interface';
37
- import * as i0 from "@angular/core";
38
- /**
39
- * @hidden
40
- */
41
- export declare const CALENDAR_VALUE_ACCESSOR: any;
42
- /**
43
- * @hidden
44
- */
45
- export declare const CALENDAR_RANGE_VALIDATORS: any;
46
- /**
47
- * @hidden
48
- */
49
- export declare const KENDO_INPUT_PROVIDER: any;
50
- /**
51
- * Represents the [Kendo UI Calendar component for Angular](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar).
52
- * @example
53
- * ```html
54
- * <kendo-calendar></kendo-calendar>
55
- * ```
56
- *
57
- * @remarks
58
- * Supported children components are: {@link CalendarCustomMessagesComponent}.
59
- */
60
- export declare class CalendarComponent implements ControlValueAccessor, OnChanges, DoCheck, OnDestroy, AfterViewChecked, AfterViewInit, Validator {
61
- private bus;
62
- dom: CalendarDOMService;
63
- private element;
64
- private navigator;
65
- private renderer;
66
- private cdr;
67
- private ngZone;
68
- private injector;
69
- scrollSyncService: ScrollSyncService;
70
- private disabledDatesService;
71
- localization: LocalizationService;
72
- private selectionService;
73
- private pickerService?;
74
- /**
75
- * Shows days that fall outside the current month and the default values per Calendar type are false for infinite and true for classic ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-options#displaying-other-month-days)).
76
- */
77
- set showOtherMonthDays(_showOtherMonthDays: boolean);
78
- get showOtherMonthDays(): boolean;
79
- private _showOtherMonthDays;
80
- /**
81
- * @hidden
82
- */
83
- id: string;
84
- /**
85
- * @hidden
86
- */
87
- get popupId(): string;
88
- /**
89
- * Specifies the focused date of the Calendar
90
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/dates#focused-dates)).
91
- *
92
- * If the Calendar is outside the `min` or `max` range, the component normalizes the defined `focusedDate`.
93
- */
94
- set focusedDate(focusedDate: Date);
95
- get focusedDate(): Date;
96
- /**
97
- * @hidden
98
- */
99
- get headerId(): string;
100
- /**
101
- * Specifies the minimum allowed date value
102
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/date-ranges)).
103
- *
104
- * @default 1900-1-1
105
- */
106
- set min(min: Date);
107
- get min(): Date;
108
- /**
109
- * Specifies the maximum allowed date value
110
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/date-ranges)).
111
- *
112
- * @default 2099-12-31
113
- */
114
- set max(max: Date);
115
- get max(): Date;
116
- /**
117
- * Determines whether the built-in `min` or `max` validators are enforced when validating a form.
118
- *
119
- * @default false
120
- */
121
- rangeValidation: boolean;
122
- /**
123
- * Specifies the format of the displayed week day names.
124
- *
125
- * @default 'short'
126
- */
127
- weekDaysFormat?: WeekDaysFormat;
128
- /**
129
- * Toggles the visibility of the footer.
130
- *
131
- * @default false
132
- */
133
- footer: boolean;
134
- /**
135
- * Sets the Calendar selection mode
136
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/selection-modes)).
137
- * @default 'single'
138
- */
139
- set selection(_selection: CalendarSelection);
140
- get selection(): CalendarSelection;
141
- private _selection;
142
- /**
143
- * Allows reverse selection when using `range` selection.
144
- * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
145
- *
146
- * @default false
147
- */
148
- allowReverse: boolean;
149
- /**
150
- * Sets or gets the `value` property of the Calendar and defines the selected value of the component.
151
- *
152
- * The `value` has to be a valid [JavaScript `Date`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) instance when in `single` selection mode, an array of valid JavaScript Date instances when in `multiple` selection mode, or an object of type `SelectionRange` when in `range` selection mode.
153
- */
154
- set value(candidate: Date | Date[] | SelectionRange | null);
155
- get value(): Date | Date[] | SelectionRange | null;
156
- /**
157
- * Sets or gets the `disabled` property of the Calendar and
158
- * determines whether the component is active
159
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/disabled-state)).
160
- * 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/calendar/forms#managing-the-calendar-disabled-state-in-reactive-forms).
161
- */
162
- disabled: boolean;
163
- /**
164
- * Specifies the `tabindex` property of the Calendar. Based on the
165
- * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
166
- * it determines whether the component is focusable.
167
- *
168
- * @default 0
169
- */
170
- tabindex: number;
171
- /**
172
- * @hidden
173
- */
174
- set tabIndex(tabIndex: number);
175
- get tabIndex(): number;
176
- /**
177
- * Specifies the dates of the Calendar that will be disabled
178
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/disabled-dates)).
179
- */
180
- set disabledDates(value: ((date: Date) => boolean) | Date[] | Day[]);
181
- get disabledDates(): ((date: Date) => boolean) | Date[] | Day[];
182
- /**
183
- * Determines whether the navigation side-bar will be displayed
184
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/sidebar)).
185
- * Applies to the [`infinite`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#type) Calendar only.
186
- *
187
- * @default true
188
- */
189
- navigation: boolean;
190
- /**
191
- * Defines the active view that the Calendar initially renders
192
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-options)).
193
- * You have to set `activeView` within the `topView`-`bottomView` range.
194
- *
195
- * @default 'month'
196
- */
197
- activeView: CalendarView;
198
- /**
199
- * Defines the bottommost view to which the user can navigate
200
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-depth)).
201
- *
202
- * @default 'month'
203
- */
204
- bottomView: CalendarView;
205
- /**
206
- * Defines the topmost view to which the user can navigate
207
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-depth)).
208
- *
209
- * @default 'century'
210
- */
211
- topView: CalendarView;
212
- /**
213
- * Specifies the Calendar type.
214
- *
215
- * @default 'infinite'
216
- */
217
- set type(type: CalendarType);
218
- get type(): CalendarType;
219
- /**
220
- * Determines whether to enable animation when navigating to previous/next view.
221
- * Applies to the [`classic`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#type) Calendar only.
222
- *
223
- * 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.
224
- *
225
- * @default false
226
- */
227
- animateNavigation: boolean;
228
- /**
229
- * Determines whether to display a week number column in the `month` view
230
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/week-num-column)).
231
- *
232
- * @default false
233
- */
234
- weekNumber: boolean;
235
- /**
236
- * @hidden
237
- */
238
- closePopup: EventEmitter<any>;
239
- /**
240
- * Fires when the active view is changed
241
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/events)).
242
- */
243
- activeViewChange: EventEmitter<CalendarView>;
244
- /**
245
- * Fires when navigating in the currently active view
246
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/events)).
247
- */
248
- navigate: EventEmitter<{
249
- activeView: CalendarView;
250
- focusedDate: Date;
251
- }>;
252
- /**
253
- * Fires when the active view date is changed
254
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/events)).
255
- * Applies to the [`infinite`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#type) Calendar only.
256
- */
257
- activeViewDateChange: EventEmitter<Date>;
258
- /**
259
- * Fires each time the Calendar gets blurred
260
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/events)).
261
- */
262
- onBlur: EventEmitter<any>;
263
- /**
264
- * Fires each time the Calendar gets focused
265
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/events)).
266
- */
267
- onFocus: EventEmitter<any>;
268
- /**
269
- * Fires when the value is changed
270
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/events)).
271
- */
272
- valueChange: EventEmitter<any>;
273
- /**
274
- * @hidden
275
- *
276
- * Queries the template for a cell template declaration.
277
- * Ignored if a `[cellTemplate]` value is explicitly provided.
278
- */
279
- cellTemplate: CellTemplateDirective;
280
- /**
281
- * @hidden
282
- *
283
- * Defines the template for each cell.
284
- * Takes precedence over nested templates in the KendoCalendar tag.
285
- */
286
- set cellTemplateRef(template: CellTemplateDirective);
287
- get cellTemplateRef(): CellTemplateDirective;
288
- /**
289
- * @hidden
290
- *
291
- * Queries the template for a month cell template declaration.
292
- * Ignored if a `[monthCellTemplate]` value is explicitly provided.
293
- */
294
- monthCellTemplate: MonthCellTemplateDirective;
295
- /**
296
- * @hidden
297
- *
298
- * Defines the template for each month cell.
299
- * Takes precedence over nested templates in the KendoCalendar tag.
300
- */
301
- set monthCellTemplateRef(template: MonthCellTemplateDirective);
302
- get monthCellTemplateRef(): MonthCellTemplateDirective;
303
- /**
304
- * @hidden
305
- *
306
- * Queries the template for a year cell template declaration.
307
- * Ignored if a `[yearCellTemplate]` value is explicitly provided.
308
- */
309
- yearCellTemplate: YearCellTemplateDirective;
310
- /**
311
- * @hidden
312
- *
313
- * Defines the template for each year cell.
314
- * Takes precedence over nested templates in the KendoCalendar tag.
315
- */
316
- set yearCellTemplateRef(template: YearCellTemplateDirective);
317
- get yearCellTemplateRef(): YearCellTemplateDirective;
318
- /**
319
- * @hidden
320
- *
321
- * Queries the template for a decade cell template declaration.
322
- * Ignored if a `[decadeCellTemplate]` value is explicitly provided.
323
- */
324
- decadeCellTemplate: DecadeCellTemplateDirective;
325
- /**
326
- * @hidden
327
- *
328
- * Defines the template for each decade cell.
329
- * Takes precedence over nested templates in the KendoCalendar tag.
330
- */
331
- set decadeCellTemplateRef(template: DecadeCellTemplateDirective);
332
- get decadeCellTemplateRef(): DecadeCellTemplateDirective;
333
- /**
334
- * @hidden
335
- *
336
- * Queries the template for a century cell template declaration.
337
- * Ignored if a `[centuryCellTemplate]` value is explicitly provided.
338
- */
339
- centuryCellTemplate: CenturyCellTemplateDirective;
340
- /**
341
- * @hidden
342
- *
343
- * Defines the template for each century cell.
344
- * Takes precedence over nested templates in the KendoCalendar tag.
345
- */
346
- set centuryCellTemplateRef(template: CenturyCellTemplateDirective);
347
- get centuryCellTemplateRef(): CenturyCellTemplateDirective;
348
- /**
349
- * @hidden
350
- *
351
- * Queries the template for a week number cell template declaration.
352
- * Ignored if a `[weekNumberTemplate]` value is explicitly provided.
353
- */
354
- weekNumberTemplate: WeekNumberCellTemplateDirective;
355
- /**
356
- * @hidden
357
- *
358
- * Defines the template for the week cell.
359
- * Takes precedence over nested templates in the KendoCalendar tag.
360
- */
361
- set weekNumberTemplateRef(template: WeekNumberCellTemplateDirective);
362
- get weekNumberTemplateRef(): WeekNumberCellTemplateDirective;
363
- /**
364
- * @hidden
365
- *
366
- * Queries the template for a header title template declaration.
367
- * Ignored if a `[headerTitleTemplate]` value is explicitly provided.
368
- */
369
- headerTitleTemplate: HeaderTitleTemplateDirective;
370
- /**
371
- * @hidden
372
- *
373
- * Queries the template for a header template declaration.
374
- * Ignored if a `[headerTemplate]` value is explicitly provided.
375
- */
376
- headerTemplate: HeaderTemplateDirective;
377
- /**
378
- * @hidden
379
- *
380
- * Queries the template for a footer template declaration.
381
- * Ignored if a `[footerTemplate]` value is explicitly provided.
382
- */
383
- footerTemplate: FooterTemplateDirective;
384
- /**
385
- * @hidden
386
- *
387
- * Defines the template for the header title.
388
- * Takes precedence over nested templates in the KendoCalendar tag.
389
- */
390
- set headerTitleTemplateRef(template: HeaderTitleTemplateDirective);
391
- get headerTitleTemplateRef(): HeaderTitleTemplateDirective;
392
- /**
393
- * @hidden
394
- *
395
- * Defines the template for the header.
396
- * Takes precedence over nested templates in the KendoCalendar tag.
397
- */
398
- set headerTemplateRef(template: HeaderTemplateDirective);
399
- get headerTemplateRef(): HeaderTemplateDirective;
400
- /**
401
- * @hidden
402
- *
403
- * Defines the template for the footer.
404
- */
405
- set footerTemplateRef(template: FooterTemplateDirective);
406
- get footerTemplateRef(): FooterTemplateDirective;
407
- /**
408
- * @hidden
409
- *
410
- * Queries the template for a navigation item template declaration.
411
- * Ignored if a `[navigationItemTemplate]` value is explicitly provided.
412
- */
413
- navigationItemTemplate: NavigationItemTemplateDirective;
414
- /**
415
- * @hidden
416
- *
417
- * Defines the template for the navigation item.
418
- * Takes precedence over nested templates in the KendoCalendar tag.
419
- */
420
- set navigationItemTemplateRef(template: NavigationItemTemplateDirective);
421
- get navigationItemTemplateRef(): NavigationItemTemplateDirective;
422
- /**
423
- * @hidden
424
- *
425
- * TODO: Make visible when true sizing of all calendar elements is implemented
426
- * Sets the size of the component.
427
- *
428
- * The possible values are:
429
- * * `small`
430
- * * `medium`
431
- * * `large`
432
- *
433
- * @default undefined
434
- */
435
- set size(size: DateInputSize);
436
- get size(): DateInputSize;
437
- private _size;
438
- /**
439
- * Specifies which end of the defined selection range should be marked as active.
440
- * Value will be ignored if the selection range is undefined. If range selection is used then the default value is 'start'.
441
- *
442
- * @default 'start'
443
- */
444
- set activeRangeEnd(_activeRangeEnd: SelectionRangeEnd);
445
- get activeRangeEnd(): SelectionRangeEnd;
446
- private _activeRangeEnd;
447
- navigationView: NavigationComponent;
448
- monthView: ViewListComponent;
449
- multiViewCalendar: MultiViewCalendarComponent;
450
- isActive: boolean;
451
- cellUID: string;
452
- selectionRange: SelectionRange;
453
- selectedDates: Date[];
454
- rangePivot: Date;
455
- private _disabledDates;
456
- private _min;
457
- private _max;
458
- private _focusedDate;
459
- private _value;
460
- private onControlChange;
461
- private onControlTouched;
462
- private onValidatorChange;
463
- private minValidateFn;
464
- private maxValidateFn;
465
- private changes;
466
- private valueSetter;
467
- private selectionSetter;
468
- private syncNavigation;
469
- private viewChangeSubscription;
470
- private _type;
471
- private _cellTemplateRef;
472
- private _monthCellTemplateRef;
473
- private _yearCellTemplateRef;
474
- private _decadeCellTemplateRef;
475
- private _centuryCellTemplateRef;
476
- private _weekNumberTemplateRef;
477
- private _headerTitleTemplateRef;
478
- private _headerTemplateRef;
479
- private _footerTemplateRef;
480
- private _navigationItemTemplateRef;
481
- get activeViewEnum(): CalendarViewEnum;
482
- get bottomViewEnum(): CalendarViewEnum;
483
- get topViewEnum(): CalendarViewEnum;
484
- get widgetId(): string;
485
- get ariaDisabled(): boolean;
486
- private domEvents;
487
- private control;
488
- private pageChangeSubscription;
489
- private resolvedPromise;
490
- private destroyed;
491
- private localizationChangeSubscription;
492
- private activeViewDate;
493
- private currentlyFocusedElement;
494
- private canHover;
495
- constructor(bus: BusViewService, dom: CalendarDOMService, element: ElementRef, navigator: NavigationService, renderer: Renderer2, cdr: ChangeDetectorRef, ngZone: NgZone, injector: Injector, scrollSyncService: ScrollSyncService, disabledDatesService: DisabledDatesService, localization: LocalizationService, selectionService: SelectionService, pickerService?: PickerService);
496
- ngOnInit(): void;
497
- ngOnChanges(changes: any): void;
498
- ngDoCheck(): void;
499
- ngAfterViewInit(): void;
500
- ngAfterViewChecked(): void;
501
- ngOnDestroy(): void;
502
- /**
503
- * @hidden
504
- */
505
- onCellEnter(date: Date): void;
506
- /**
507
- * @hidden
508
- */
509
- onResize(): void;
510
- /**
511
- * Focuses the Calendar by making the table.k-calendar-table element active.
512
- */
513
- focus(): void;
514
- /**
515
- * Blurs the Calendar component.
516
- */
517
- blur(): void;
518
- /**
519
- * @hidden
520
- */
521
- containsElement(element: any): boolean;
522
- /**
523
- * @hidden
524
- */
525
- handleNavigation(candidate: Date): void;
526
- /**
527
- * @hidden
528
- */
529
- onPageChange(): void;
530
- /**
531
- * @hidden
532
- */
533
- handleMultiViewCalendarValueChange(value: Date | Date[] | SelectionRange, focusedDate: Date): void;
534
- /**
535
- * @hidden
536
- */
537
- handleDateChange(args: {
538
- selectedDates: Date[];
539
- focusedDate: Date;
540
- }): void;
541
- /**
542
- * @hidden
543
- */
544
- writeValue(candidate: Date | Date[]): void;
545
- /**
546
- * @hidden
547
- */
548
- registerOnChange(fn: any): void;
549
- /**
550
- * @hidden
551
- */
552
- registerOnTouched(fn: any): void;
553
- /**
554
- * @hidden
555
- */
556
- setDisabledState(isDisabled: boolean): void;
557
- /**
558
- * @hidden
559
- */
560
- validate(control: AbstractControl): {
561
- [key: string]: any;
562
- };
563
- /**
564
- * @hidden
565
- */
566
- registerOnValidatorChange(fn: Function): void;
567
- /**
568
- * @hidden
569
- */
570
- activeCellTemplate(): any;
571
- /**
572
- * @hidden
573
- */
574
- handleNavigate(event: {
575
- focusedDate: Date;
576
- activeView: CalendarView;
577
- }): void;
578
- /**
579
- * @hidden
580
- */
581
- emitNavigate(focusedDate: Date): void;
582
- /**
583
- * @hidden
584
- */
585
- emitEvent(emitter: any, args: any): void;
586
- /**
587
- * @hidden
588
- */
589
- handleActiveDateChange(date: Date): void;
590
- /**
591
- * @hidden
592
- */
593
- handleActiveViewChange(view: CalendarView): void;
594
- /**
595
- * @hidden
596
- */
597
- handleCellClick({ date, modifiers }: any): void;
598
- /**
599
- * @hidden
600
- */
601
- handleWeekNumberClick(dates: Date[]): void;
602
- /**
603
- * @hidden
604
- */
605
- handleBlur(args: any): void;
606
- /**
607
- * @hidden
608
- */
609
- handleFocus(): void;
610
- /**
611
- * @hidden
612
- */
613
- handleMultiViewCalendarKeydown(args: any): void;
614
- private setClasses;
615
- private verifyChanges;
616
- private verifyValue;
617
- private bindEvents;
618
- private setRangeSelectionToValue;
619
- private emitBlur;
620
- private emitFocus;
621
- private handleComponentClick;
622
- private handleKeydown;
623
- private focusToday;
624
- private detectChanges;
625
- private emitSameDate;
626
- private setAriaActivedescendant;
627
- private parseSelectionToValue;
628
- private setValue;
629
- private performRangeSelection;
630
- private performSelection;
631
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
632
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "kendo-calendar", ["kendo-calendar"], { "showOtherMonthDays": { "alias": "showOtherMonthDays"; "required": false; }; "id": { "alias": "id"; "required": false; }; "focusedDate": { "alias": "focusedDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "rangeValidation": { "alias": "rangeValidation"; "required": false; }; "weekDaysFormat": { "alias": "weekDaysFormat"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "allowReverse": { "alias": "allowReverse"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "bottomView": { "alias": "bottomView"; "required": false; }; "topView": { "alias": "topView"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animateNavigation": { "alias": "animateNavigation"; "required": false; }; "weekNumber": { "alias": "weekNumber"; "required": false; }; "cellTemplateRef": { "alias": "cellTemplate"; "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; }; "navigationItemTemplateRef": { "alias": "navigationItemTemplate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "activeRangeEnd": { "alias": "activeRangeEnd"; "required": false; }; }, { "closePopup": "closePopup"; "activeViewChange": "activeViewChange"; "navigate": "navigate"; "activeViewDateChange": "activeViewDateChange"; "onBlur": "blur"; "onFocus": "focus"; "valueChange": "valueChange"; }, ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate"], never, true, never>;
633
- }
@@ -1,51 +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/calendar-custom-messages.component";
7
- import * as i2 from "./calendar.component";
8
- import * as i3 from "./templates/cell-template.directive";
9
- import * as i4 from "./templates/century-cell-template.directive";
10
- import * as i5 from "./templates/decade-cell-template.directive";
11
- import * as i6 from "./templates/footer-template.directive";
12
- import * as i7 from "./templates/header-template.directive";
13
- import * as i8 from "./templates/header-title-template.directive";
14
- import * as i9 from "./templates/month-cell-template.directive";
15
- import * as i10 from "./templates/navigation-item-template.directive";
16
- import * as i11 from "./templates/weeknumber-cell-template.directive";
17
- import * as i12 from "./templates/year-cell-template.directive";
18
- /**
19
- * Required for adding all Calendar features in NgModule-based Angular applications.
20
- *
21
- * The package exports:
22
- * - `CellTemplateDirective`&mdash;The month cell template directive.
23
- * - `MonthCellTemplateDirective`&mdash;The month cell template directive.
24
- * - `YearCellTemplateDirective`&mdash;The year cell template directive.
25
- * - `DecadeCellTemplateDirective`&mdash;The decade cell template directive.
26
- * - `CenturyCellTemplateDirective`&mdash;The century cell template directive.
27
- * - `WeekNumberCellTemplateDirective`&mdash;The month week number cell template directive.
28
- * - `HeaderTitleTemplateDirective`&mdash;The header title template directive.
29
- * - `NavigationItemTemplateDirective`&mdash;The navigation item template directive.
30
- *
31
- * @example
32
- *
33
- * ```typescript
34
- * import { NgModule } from '@angular/core';
35
- * import { BrowserModule } from '@angular/platform-browser';
36
- * import { CalendarModule } from '@progress/kendo-angular-dateinputs';
37
- *
38
- * @NgModule({
39
- * imports: [
40
- * BrowserModule,
41
- * CalendarModule
42
- * ]
43
- * })
44
- * export class AppModule { }
45
- * ```
46
- */
47
- export declare class CalendarModule {
48
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarModule, never>;
49
- static ɵmod: i0.ɵɵNgModuleDeclaration<CalendarModule, never, [typeof i1.CalendarCustomMessagesComponent, typeof i2.CalendarComponent, 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 i1.CalendarCustomMessagesComponent, typeof i2.CalendarComponent, 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]>;
50
- static ɵinj: i0.ɵɵInjectorDeclaration<CalendarModule>;
51
- }