@progress/kendo-angular-dateinputs 17.0.0-develop.8 → 17.0.0

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 (185) hide show
  1. package/calendar/calendar.component.d.ts +1 -1
  2. package/calendar/footer.component.d.ts +1 -1
  3. package/calendar/for.directive.d.ts +1 -1
  4. package/calendar/header.component.d.ts +1 -1
  5. package/calendar/horizontal-view-list.component.d.ts +1 -1
  6. package/calendar/localization/calendar-messages.d.ts +1 -1
  7. package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
  8. package/calendar/models/orientation.d.ts +1 -1
  9. package/calendar/models/selection-range-end.type.d.ts +1 -1
  10. package/calendar/models/selection.d.ts +1 -1
  11. package/calendar/models/type.d.ts +1 -1
  12. package/calendar/models/view.type.d.ts +1 -1
  13. package/calendar/multiview-calendar.component.d.ts +1 -1
  14. package/calendar/navigation.component.d.ts +1 -1
  15. package/calendar/view-list.component.d.ts +1 -1
  16. package/calendar/view.component.d.ts +1 -1
  17. package/common/models/fillmode.d.ts +1 -1
  18. package/common/models/rounded.d.ts +1 -1
  19. package/common/models/size.d.ts +1 -1
  20. package/common/models/week-days-format.d.ts +1 -1
  21. package/dateinput/dateinput.component.d.ts +2 -2
  22. package/dateinput/localization/messages.d.ts +1 -1
  23. package/dateinput/models/format-placeholder.model.d.ts +1 -1
  24. package/datepicker/datepicker.component.d.ts +1 -1
  25. package/datepicker/localization/messages.d.ts +1 -1
  26. package/daterange/auto-correct-on.type.d.ts +1 -1
  27. package/daterange/date-range-end-input.directive.d.ts +1 -1
  28. package/daterange/date-range-popup.component.d.ts +86 -2
  29. package/daterange/date-range-selection.directive.d.ts +1 -1
  30. package/daterange/date-range-start-input.directive.d.ts +1 -1
  31. package/daterange/date-range.component.d.ts +1 -1
  32. package/daterange/localization/messages.d.ts +1 -1
  33. package/datetimepicker/datetimepicker.component.d.ts +1 -1
  34. package/datetimepicker/localization/messages.d.ts +1 -1
  35. package/datetimepicker/models/active-tab.type.d.ts +1 -1
  36. package/{esm2020 → esm2022}/calendar/calendar.component.mjs +277 -167
  37. package/{esm2020 → esm2022}/calendar/calendar.module.mjs +14 -14
  38. package/{esm2020 → esm2022}/calendar/calendars.module.mjs +14 -14
  39. package/{esm2020 → esm2022}/calendar/footer.component.mjs +10 -6
  40. package/{esm2020 → esm2022}/calendar/for.directive.mjs +13 -4
  41. package/{esm2020 → esm2022}/calendar/header.component.mjs +46 -29
  42. package/{esm2020 → esm2022}/calendar/horizontal-view-list.component.mjs +63 -40
  43. package/{esm2020 → esm2022}/calendar/localization/calendar-custom-messages.component.mjs +9 -8
  44. package/{esm2020 → esm2022}/calendar/localization/calendar-localized-messages.directive.mjs +9 -8
  45. package/{esm2020/calendar/localization/multiview-calendar-messages.mjs → esm2022/calendar/localization/calendar-messages.mjs} +21 -5
  46. package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-custom-messages.component.mjs +9 -8
  47. package/{esm2020 → esm2022}/calendar/localization/multiview-calendar-localized-messages.directive.mjs +9 -8
  48. package/esm2022/calendar/localization/multiview-calendar-messages.mjs +45 -0
  49. package/{esm2020 → esm2022}/calendar/multiview-calendar.component.mjs +300 -212
  50. package/{esm2020 → esm2022}/calendar/multiview-calendar.module.mjs +11 -11
  51. package/{esm2020 → esm2022}/calendar/navigation.component.mjs +34 -15
  52. package/{esm2020 → esm2022}/calendar/services/bus-view.service.mjs +8 -6
  53. package/{esm2020 → esm2022}/calendar/services/century-view.service.mjs +15 -17
  54. package/{esm2020 → esm2022}/calendar/services/decade-view.service.mjs +15 -17
  55. package/{esm2020 → esm2022}/calendar/services/disabled-dates.service.mjs +12 -14
  56. package/{esm2020 → esm2022}/calendar/services/dom.service.mjs +21 -3
  57. package/{esm2020 → esm2022}/calendar/services/month-view.service.mjs +16 -15
  58. package/{esm2020 → esm2022}/calendar/services/navigation.service.mjs +4 -3
  59. package/{esm2020 → esm2022}/calendar/services/scroll-sync.service.mjs +11 -3
  60. package/{esm2020 → esm2022}/calendar/services/selection.service.mjs +5 -3
  61. package/{esm2020 → esm2022}/calendar/services/weeknames.service.mjs +4 -3
  62. package/{esm2020 → esm2022}/calendar/services/year-view.service.mjs +16 -15
  63. package/{esm2020 → esm2022}/calendar/templates/cell-template.directive.mjs +4 -3
  64. package/{esm2020 → esm2022}/calendar/templates/century-cell-template.directive.mjs +4 -3
  65. package/{esm2020 → esm2022}/calendar/templates/decade-cell-template.directive.mjs +4 -3
  66. package/{esm2020 → esm2022}/calendar/templates/footer-template.directive.mjs +4 -3
  67. package/{esm2020 → esm2022}/calendar/templates/header-template.directive.mjs +4 -3
  68. package/{esm2020 → esm2022}/calendar/templates/header-title-template.directive.mjs +4 -3
  69. package/{esm2020 → esm2022}/calendar/templates/month-cell-template.directive.mjs +4 -3
  70. package/{esm2020 → esm2022}/calendar/templates/navigation-item-template.directive.mjs +4 -3
  71. package/{esm2020 → esm2022}/calendar/templates/weeknumber-cell-template.directive.mjs +4 -3
  72. package/{esm2020 → esm2022}/calendar/templates/year-cell-template.directive.mjs +4 -3
  73. package/{esm2020 → esm2022}/calendar/view-list.component.mjs +68 -37
  74. package/{esm2020 → esm2022}/calendar/view.component.mjs +50 -24
  75. package/{esm2020 → esm2022}/common/picker.service.mjs +7 -6
  76. package/{esm2020 → esm2022}/dateinput/dateinput.component.mjs +282 -231
  77. package/{esm2020 → esm2022}/dateinput/dateinput.module.mjs +6 -6
  78. package/{esm2020 → esm2022}/dateinput/localization/dateinput-custom-messages.component.mjs +9 -8
  79. package/{esm2020 → esm2022}/dateinput/localization/dateinput-localized-messages.directive.mjs +9 -8
  80. package/{esm2020 → esm2022}/dateinput/localization/messages.mjs +15 -3
  81. package/{esm2020 → esm2022}/dateinputs.module.mjs +22 -22
  82. package/{esm2020 → esm2022}/datepicker/datepicker.component.mjs +403 -282
  83. package/{esm2020 → esm2022}/datepicker/datepicker.module.mjs +16 -16
  84. package/{esm2020 → esm2022}/datepicker/localization/datepicker-custom-messages.component.mjs +9 -8
  85. package/{esm2020 → esm2022}/datepicker/localization/datepicker-localized-messages.directive.mjs +9 -8
  86. package/esm2022/datepicker/localization/messages.mjs +57 -0
  87. package/{esm2020 → esm2022}/daterange/date-range-end-input.directive.mjs +38 -28
  88. package/{esm2020 → esm2022}/daterange/date-range-input.mjs +19 -13
  89. package/{esm2020 → esm2022}/daterange/date-range-popup-template.directive.mjs +4 -3
  90. package/{esm2020 → esm2022}/daterange/date-range-popup.component.mjs +324 -87
  91. package/{esm2020 → esm2022}/daterange/date-range-selection.directive.mjs +41 -36
  92. package/{esm2020 → esm2022}/daterange/date-range-start-input.directive.mjs +40 -29
  93. package/{esm2020 → esm2022}/daterange/date-range.component.mjs +31 -14
  94. package/{esm2020 → esm2022}/daterange/date-range.module.mjs +16 -16
  95. package/{esm2020 → esm2022}/daterange/date-range.service.mjs +34 -33
  96. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-custom-messages.component.mjs +9 -8
  97. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-localized-messages.directive.mjs +9 -8
  98. package/{esm2020 → esm2022}/daterange/localization/messages.mjs +19 -3
  99. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.component.mjs +390 -292
  100. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.module.mjs +22 -22
  101. package/{esm2020 → esm2022}/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +9 -8
  102. package/{esm2020 → esm2022}/datetimepicker/localization/localized-messages.directive.mjs +9 -8
  103. package/esm2022/datetimepicker/localization/messages.mjs +147 -0
  104. package/{esm2020 → esm2022}/index.mjs +0 -1
  105. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  106. package/{esm2020 → esm2022}/preventable-event.mjs +2 -3
  107. package/esm2022/timepicker/localization/messages.mjs +99 -0
  108. package/{esm2020 → esm2022}/timepicker/localization/timepicker-custom-messages.component.mjs +9 -8
  109. package/{esm2020 → esm2022}/timepicker/localization/timepicker-localized-messages.directive.mjs +9 -8
  110. package/{esm2020 → esm2022}/timepicker/localization/timeselector-custom-messages.component.mjs +9 -8
  111. package/{esm2020 → esm2022}/timepicker/localization/timeselector-localized-messages.directive.mjs +9 -8
  112. package/{esm2020 → esm2022}/timepicker/services/dayperiod.service.mjs +7 -3
  113. package/{esm2020 → esm2022}/timepicker/services/dom.service.mjs +7 -3
  114. package/{esm2020 → esm2022}/timepicker/services/hours.service.mjs +10 -5
  115. package/{esm2020 → esm2022}/timepicker/services/milliseconds.service.mjs +9 -4
  116. package/{esm2020 → esm2022}/timepicker/services/minutes.service.mjs +9 -4
  117. package/{esm2020 → esm2022}/timepicker/services/seconds.service.mjs +9 -4
  118. package/{esm2020 → esm2022}/timepicker/timelist.component.mjs +45 -27
  119. package/{esm2020 → esm2022}/timepicker/timepicker.component.mjs +301 -219
  120. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +14 -14
  121. package/{esm2020 → esm2022}/timepicker/timeselector.component.mjs +96 -73
  122. package/{esm2020 → esm2022}/virtualization/services/row-height.service.mjs +5 -2
  123. package/{esm2020 → esm2022}/virtualization/services/scroller.service.mjs +14 -3
  124. package/{esm2020 → esm2022}/virtualization/virtualization.component.mjs +42 -28
  125. package/{fesm2020 → fesm2022}/progress-kendo-angular-dateinputs.mjs +3758 -2455
  126. package/index.d.ts +0 -1
  127. package/package.json +20 -26
  128. package/schematics/ngAdd/index.js +1 -1
  129. package/timepicker/localization/messages.d.ts +1 -1
  130. package/timepicker/timelist.component.d.ts +1 -1
  131. package/timepicker/timepicker.component.d.ts +2 -1
  132. package/timepicker/timeselector.component.d.ts +1 -1
  133. package/util.d.ts +1 -1
  134. package/virtualization/services/scroller.service.d.ts +2 -2
  135. package/virtualization/virtualization.component.d.ts +1 -1
  136. package/common/adaptive.module.d.ts +0 -18
  137. package/esm2020/calendar/localization/calendar-messages.mjs +0 -29
  138. package/esm2020/common/adaptive.module.mjs +0 -44
  139. package/esm2020/datepicker/localization/messages.mjs +0 -33
  140. package/esm2020/datetimepicker/localization/messages.mjs +0 -63
  141. package/esm2020/timepicker/localization/messages.mjs +0 -47
  142. package/fesm2015/progress-kendo-angular-dateinputs.mjs +0 -19188
  143. /package/{esm2020 → esm2022}/calendar/models/cell-context.interface.mjs +0 -0
  144. /package/{esm2020 → esm2022}/calendar/models/keydown.interface.mjs +0 -0
  145. /package/{esm2020 → esm2022}/calendar/models/navigation-action.enum.mjs +0 -0
  146. /package/{esm2020 → esm2022}/calendar/models/orientation.mjs +0 -0
  147. /package/{esm2020 → esm2022}/calendar/models/row-length-options.interface.mjs +0 -0
  148. /package/{esm2020 → esm2022}/calendar/models/scrollable.interface.mjs +0 -0
  149. /package/{esm2020 → esm2022}/calendar/models/selection-range-end.type.mjs +0 -0
  150. /package/{esm2020 → esm2022}/calendar/models/selection-range.interface.mjs +0 -0
  151. /package/{esm2020 → esm2022}/calendar/models/selection.mjs +0 -0
  152. /package/{esm2020 → esm2022}/calendar/models/type.mjs +0 -0
  153. /package/{esm2020 → esm2022}/calendar/models/view-service.interface.mjs +0 -0
  154. /package/{esm2020 → esm2022}/calendar/models/view.enum.mjs +0 -0
  155. /package/{esm2020 → esm2022}/calendar/models/view.type.mjs +0 -0
  156. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  157. /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
  158. /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
  159. /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
  160. /package/{esm2020 → esm2022}/common/models/week-days-format.mjs +0 -0
  161. /package/{esm2020 → esm2022}/common/utils.mjs +0 -0
  162. /package/{esm2020 → esm2022}/dateinput/arrow.enum.mjs +0 -0
  163. /package/{esm2020 → esm2022}/dateinput/models/format-placeholder.model.mjs +0 -0
  164. /package/{esm2020 → esm2022}/dateinput/models/format-settings.model.mjs +0 -0
  165. /package/{esm2020 → esm2022}/dateinput/models/incremental-steps.model.mjs +0 -0
  166. /package/{esm2020 → esm2022}/daterange/auto-correct-on.type.mjs +0 -0
  167. /package/{esm2020 → esm2022}/datetimepicker/models/active-tab.type.mjs +0 -0
  168. /package/{esm2020 → esm2022}/defaults.mjs +0 -0
  169. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  170. /package/{esm2020 → esm2022}/popup-settings.model.mjs +0 -0
  171. /package/{esm2020 → esm2022}/progress-kendo-angular-dateinputs.mjs +0 -0
  172. /package/{esm2020 → esm2022}/timepicker/models/incremental-steps.model.mjs +0 -0
  173. /package/{esm2020 → esm2022}/timepicker/models/list-item.interface.mjs +0 -0
  174. /package/{esm2020 → esm2022}/timepicker/models/list-service-settings.mjs +0 -0
  175. /package/{esm2020 → esm2022}/timepicker/models/list-service.interface.mjs +0 -0
  176. /package/{esm2020 → esm2022}/timepicker/models/time-part.default.mjs +0 -0
  177. /package/{esm2020 → esm2022}/timepicker/util.mjs +0 -0
  178. /package/{esm2020 → esm2022}/util.mjs +0 -0
  179. /package/{esm2020 → esm2022}/validators/disabled-date.validator.mjs +0 -0
  180. /package/{esm2020 → esm2022}/validators/disabled-dates-range.validator.mjs +0 -0
  181. /package/{esm2020 → esm2022}/validators/incomplete-date.validator.mjs +0 -0
  182. /package/{esm2020 → esm2022}/validators/max.validator.mjs +0 -0
  183. /package/{esm2020 → esm2022}/validators/min.validator.mjs +0 -0
  184. /package/{esm2020 → esm2022}/validators/time-range.validator.mjs +0 -0
  185. /package/{esm2020 → esm2022}/virtualization/models/scrollable.interface.mjs +0 -0
@@ -94,154 +94,19 @@ export const KENDO_INPUT_PROVIDER = {
94
94
  * ```
95
95
  */
96
96
  export class CalendarComponent {
97
- constructor(bus, dom, element, navigator, renderer, cdr, ngZone, injector, scrollSyncService, disabledDatesService, localization, selectionService, pickerService) {
98
- this.bus = bus;
99
- this.dom = dom;
100
- this.element = element;
101
- this.navigator = navigator;
102
- this.renderer = renderer;
103
- this.cdr = cdr;
104
- this.ngZone = ngZone;
105
- this.injector = injector;
106
- this.scrollSyncService = scrollSyncService;
107
- this.disabledDatesService = disabledDatesService;
108
- this.localization = localization;
109
- this.selectionService = selectionService;
110
- this.pickerService = pickerService;
111
- /**
112
- * Determines whether the built-in min or max validators are enforced when validating a form.
113
- */
114
- this.rangeValidation = false;
115
- /**
116
- * Sets the format of the displayed Calendar week days' names.
117
- * @default 'short'
118
- */
119
- this.weekDaysFormat = "short";
120
- /**
121
- * Toggles the visibility of the footer.
122
- * @default false
123
- */
124
- this.footer = false;
125
- this._selection = 'single';
126
- /**
127
- * Allows reverse selection when using `range` selection.
128
- * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
129
- *
130
- * @default false
131
- */
132
- this.allowReverse = false;
133
- /**
134
- * Sets or gets the `disabled` property of the Calendar and
135
- * determines whether the component is active
136
- * ([see example]({% slug disabled_calendar %})).
137
- * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_calendar#toc-managing-the-calendar-disabled-state-in-reactive-forms).
138
- */
139
- this.disabled = false;
140
- /**
141
- * Sets or gets the `tabindex` property of the Calendar. Based on the
142
- * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
143
- * it determines whether the component is focusable.
144
- */
145
- this.tabindex = 0;
146
- /**
147
- * Sets or gets the `navigation` property of the Calendar
148
- * and determines whether the navigation side-bar will be displayed
149
- * ([see example]({% slug sidebar_calendar %})).
150
- * Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
151
- */
152
- this.navigation = true;
153
- /**
154
- * Defines the active view that the Calendar initially renders
155
- * ([see example]({% slug viewoptions_calendar %})).
156
- * By default, the active view is `month`.
157
- *
158
- * > You have to set `activeView` within the `topView`-`bottomView` range.
159
- */
160
- this.activeView = CalendarViewEnum[CalendarViewEnum.month];
161
- /**
162
- * Defines the bottommost view to which the user can navigate
163
- * ([see example](slug:viewdepth_calendar)).
164
- */
165
- this.bottomView = CalendarViewEnum[CalendarViewEnum.month];
166
- /**
167
- * Defines the topmost view to which the user can navigate
168
- * ([see example](slug:viewdepth_calendar)).
169
- */
170
- this.topView = CalendarViewEnum[CalendarViewEnum.century];
171
- /**
172
- * Determines whether to enable animation when navigating to previous/next view.
173
- * Applies to the [`classic`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
174
- *
175
- * > 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.
176
- *
177
- * @default false
178
- */
179
- this.animateNavigation = false;
180
- /**
181
- * Determines whether to display a week number column in the `month` view
182
- * ([see example]({% slug weeknumcolumn_calendar %})).
183
- */
184
- this.weekNumber = false;
185
- /**
186
- * Fires when the active view is changed
187
- * ([see example](slug:events_calendar)).
188
- */
189
- this.activeViewChange = new EventEmitter();
190
- /**
191
- * Fires when navigating in the currently active view
192
- * ([see example](slug:events_calendar)).
193
- */
194
- this.navigate = new EventEmitter();
195
- /**
196
- * Fires when the active view date is changed
197
- * ([see example](slug:events_calendar)).
198
- * Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
199
- */
200
- this.activeViewDateChange = new EventEmitter();
201
- /**
202
- * Fires each time the Calendar gets blurred
203
- * ([see example](slug:events_calendar)).
204
- */
205
- this.onBlur = new EventEmitter();
206
- /**
207
- * Fires each time the Calendar gets focused
208
- * ([see example](slug:events_calendar)).
209
- */
210
- this.onFocus = new EventEmitter();
211
- /**
212
- * Fires when the value is changed
213
- * ([see example](slug:events_calendar)).
214
- */
215
- this.valueChange = new EventEmitter();
216
- this._size = DEFAULT_SIZE;
217
- this._activeRangeEnd = 'start';
218
- this.isActive = false;
219
- this.cellUID = guid();
220
- this.selectionRange = { start: null, end: null };
221
- this.selectedDates = [];
222
- this._min = new Date(MIN_DATE);
223
- this._max = new Date(MAX_DATE);
224
- this._focusedDate = getToday();
225
- this.onControlChange = noop;
226
- this.onControlTouched = noop;
227
- this.onValidatorChange = noop;
228
- this.minValidateFn = noop;
229
- this.maxValidateFn = noop;
230
- this.changes = {};
231
- this.valueSetter = false;
232
- this.selectionSetter = false;
233
- this.syncNavigation = true;
234
- this._type = 'infinite';
235
- this.domEvents = [];
236
- this.resolvedPromise = Promise.resolve(null);
237
- this.destroyed = false;
238
- this.canHover = false;
239
- validatePackage(packageMetadata);
240
- this.id = `kendo-calendarid-${this.bus.calendarId}`;
241
- if (this.pickerService) {
242
- this.pickerService.calendar = this;
243
- }
244
- }
97
+ bus;
98
+ dom;
99
+ element;
100
+ navigator;
101
+ renderer;
102
+ cdr;
103
+ ngZone;
104
+ injector;
105
+ scrollSyncService;
106
+ disabledDatesService;
107
+ localization;
108
+ selectionService;
109
+ pickerService;
245
110
  /**
246
111
  * Displays the days that fall out of the current month ([see example]({% slug viewoptions_calendar %}#toc-displaying-other-month-days)).
247
112
  * The default values per Calendar type are:
@@ -257,6 +122,11 @@ export class CalendarComponent {
257
122
  }
258
123
  return this._showOtherMonthDays;
259
124
  }
125
+ _showOtherMonthDays;
126
+ /**
127
+ * @hidden
128
+ */
129
+ id;
260
130
  /**
261
131
  * @hidden
262
132
  */
@@ -321,6 +191,20 @@ export class CalendarComponent {
321
191
  get max() {
322
192
  return this._max;
323
193
  }
194
+ /**
195
+ * Determines whether the built-in min or max validators are enforced when validating a form.
196
+ */
197
+ rangeValidation = false;
198
+ /**
199
+ * Sets the format of the displayed Calendar week days' names.
200
+ * @default 'short'
201
+ */
202
+ weekDaysFormat = "short";
203
+ /**
204
+ * Toggles the visibility of the footer.
205
+ * @default false
206
+ */
207
+ footer = false;
324
208
  /**
325
209
  * Sets the Calendar selection mode
326
210
  * ([see example]({% slug selection_calendar %})).
@@ -337,6 +221,14 @@ export class CalendarComponent {
337
221
  get selection() {
338
222
  return this._selection;
339
223
  }
224
+ _selection = 'single';
225
+ /**
226
+ * Allows reverse selection when using `range` selection.
227
+ * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
228
+ *
229
+ * @default false
230
+ */
231
+ allowReverse = false;
340
232
  /**
341
233
  * Sets or gets the `value` property of the Calendar and defines the selected value of the component.
342
234
  *
@@ -349,6 +241,19 @@ export class CalendarComponent {
349
241
  get value() {
350
242
  return this._value;
351
243
  }
244
+ /**
245
+ * Sets or gets the `disabled` property of the Calendar and
246
+ * determines whether the component is active
247
+ * ([see example]({% slug disabled_calendar %})).
248
+ * To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_calendar#toc-managing-the-calendar-disabled-state-in-reactive-forms).
249
+ */
250
+ disabled = false;
251
+ /**
252
+ * Sets or gets the `tabindex` property of the Calendar. Based on the
253
+ * [HTML `tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) behavior,
254
+ * it determines whether the component is focusable.
255
+ */
256
+ tabindex = 0;
352
257
  /**
353
258
  * @hidden
354
259
  */
@@ -369,6 +274,31 @@ export class CalendarComponent {
369
274
  get disabledDates() {
370
275
  return this._disabledDates;
371
276
  }
277
+ /**
278
+ * Sets or gets the `navigation` property of the Calendar
279
+ * and determines whether the navigation side-bar will be displayed
280
+ * ([see example]({% slug sidebar_calendar %})).
281
+ * Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
282
+ */
283
+ navigation = true;
284
+ /**
285
+ * Defines the active view that the Calendar initially renders
286
+ * ([see example]({% slug viewoptions_calendar %})).
287
+ * By default, the active view is `month`.
288
+ *
289
+ * > You have to set `activeView` within the `topView`-`bottomView` range.
290
+ */
291
+ activeView = CalendarViewEnum[CalendarViewEnum.month];
292
+ /**
293
+ * Defines the bottommost view to which the user can navigate
294
+ * ([see example](slug:viewdepth_calendar)).
295
+ */
296
+ bottomView = CalendarViewEnum[CalendarViewEnum.month];
297
+ /**
298
+ * Defines the topmost view to which the user can navigate
299
+ * ([see example](slug:viewdepth_calendar)).
300
+ */
301
+ topView = CalendarViewEnum[CalendarViewEnum.century];
372
302
  /**
373
303
  * Specifies the Calendar type.
374
304
  *
@@ -387,6 +317,58 @@ export class CalendarComponent {
387
317
  get type() {
388
318
  return this._type;
389
319
  }
320
+ /**
321
+ * Determines whether to enable animation when navigating to previous/next view.
322
+ * Applies to the [`classic`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
323
+ *
324
+ * > 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.
325
+ *
326
+ * @default false
327
+ */
328
+ animateNavigation = false;
329
+ /**
330
+ * Determines whether to display a week number column in the `month` view
331
+ * ([see example]({% slug weeknumcolumn_calendar %})).
332
+ */
333
+ weekNumber = false;
334
+ /**
335
+ * Fires when the active view is changed
336
+ * ([see example](slug:events_calendar)).
337
+ */
338
+ activeViewChange = new EventEmitter();
339
+ /**
340
+ * Fires when navigating in the currently active view
341
+ * ([see example](slug:events_calendar)).
342
+ */
343
+ navigate = new EventEmitter();
344
+ /**
345
+ * Fires when the active view date is changed
346
+ * ([see example](slug:events_calendar)).
347
+ * Applies to the [`infinite`]({% slug api_dateinputs_calendarcomponent %}#toc-type) Calendar only.
348
+ */
349
+ activeViewDateChange = new EventEmitter();
350
+ /**
351
+ * Fires each time the Calendar gets blurred
352
+ * ([see example](slug:events_calendar)).
353
+ */
354
+ onBlur = new EventEmitter();
355
+ /**
356
+ * Fires each time the Calendar gets focused
357
+ * ([see example](slug:events_calendar)).
358
+ */
359
+ onFocus = new EventEmitter();
360
+ /**
361
+ * Fires when the value is changed
362
+ * ([see example](slug:events_calendar)).
363
+ */
364
+ valueChange = new EventEmitter();
365
+ /**
366
+ * @hidden
367
+ *
368
+ * Queries the template for a cell template declaration.
369
+ * Ignored if a `[cellTemplate]` value is explicitly provided.
370
+ */
371
+ cellTemplate;
390
372
  /**
391
373
  * @hidden
392
374
  *
@@ -399,6 +381,13 @@ export class CalendarComponent {
399
381
  get cellTemplateRef() {
400
382
  return this._cellTemplateRef || this.cellTemplate;
401
383
  }
384
+ /**
385
+ * @hidden
386
+ *
387
+ * Queries the template for a month cell template declaration.
388
+ * Ignored if a `[monthCellTemplate]` value is explicitly provided.
389
+ */
390
+ monthCellTemplate;
402
391
  /**
403
392
  * @hidden
404
393
  *
@@ -411,6 +400,13 @@ export class CalendarComponent {
411
400
  get monthCellTemplateRef() {
412
401
  return this._monthCellTemplateRef || this.monthCellTemplate;
413
402
  }
403
+ /**
404
+ * @hidden
405
+ *
406
+ * Queries the template for a year cell template declaration.
407
+ * Ignored if a `[yearCellTemplate]` value is explicitly provided.
408
+ */
409
+ yearCellTemplate;
414
410
  /**
415
411
  * @hidden
416
412
  *
@@ -423,6 +419,13 @@ export class CalendarComponent {
423
419
  get yearCellTemplateRef() {
424
420
  return this._yearCellTemplateRef || this.yearCellTemplate;
425
421
  }
422
+ /**
423
+ * @hidden
424
+ *
425
+ * Queries the template for a decade cell template declaration.
426
+ * Ignored if a `[decadeCellTemplate]` value is explicitly provided.
427
+ */
428
+ decadeCellTemplate;
426
429
  /**
427
430
  * @hidden
428
431
  *
@@ -435,6 +438,13 @@ export class CalendarComponent {
435
438
  get decadeCellTemplateRef() {
436
439
  return this._decadeCellTemplateRef || this.decadeCellTemplate;
437
440
  }
441
+ /**
442
+ * @hidden
443
+ *
444
+ * Queries the template for a century cell template declaration.
445
+ * Ignored if a `[centuryCellTemplate]` value is explicitly provided.
446
+ */
447
+ centuryCellTemplate;
438
448
  /**
439
449
  * @hidden
440
450
  *
@@ -447,6 +457,13 @@ export class CalendarComponent {
447
457
  get centuryCellTemplateRef() {
448
458
  return this._centuryCellTemplateRef || this.centuryCellTemplate;
449
459
  }
460
+ /**
461
+ * @hidden
462
+ *
463
+ * Queries the template for a week number cell template declaration.
464
+ * Ignored if a `[weekNumberTemplate]` value is explicitly provided.
465
+ */
466
+ weekNumberTemplate;
450
467
  /**
451
468
  * @hidden
452
469
  *
@@ -459,6 +476,27 @@ export class CalendarComponent {
459
476
  get weekNumberTemplateRef() {
460
477
  return this._weekNumberTemplateRef || this.weekNumberTemplate;
461
478
  }
479
+ /**
480
+ * @hidden
481
+ *
482
+ * Queries the template for a header title template declaration.
483
+ * Ignored if a `[headerTitleTemplate]` value is explicitly provided.
484
+ */
485
+ headerTitleTemplate;
486
+ /**
487
+ * @hidden
488
+ *
489
+ * Queries the template for a header template declaration.
490
+ * Ignored if a `[headerTemplate]` value is explicitly provided.
491
+ */
492
+ headerTemplate;
493
+ /**
494
+ * @hidden
495
+ *
496
+ * Queries the template for a footer template declaration.
497
+ * Ignored if a `[footerTemplate]` value is explicitly provided.
498
+ */
499
+ footerTemplate;
462
500
  /**
463
501
  * @hidden
464
502
  *
@@ -494,6 +532,13 @@ export class CalendarComponent {
494
532
  get footerTemplateRef() {
495
533
  return this._footerTemplateRef || this.footerTemplate;
496
534
  }
535
+ /**
536
+ * @hidden
537
+ *
538
+ * Queries the template for a navigation item template declaration.
539
+ * Ignored if a `[navigationItemTemplate]` value is explicitly provided.
540
+ */
541
+ navigationItemTemplate;
497
542
  /**
498
543
  * @hidden
499
544
  *
@@ -525,6 +570,7 @@ export class CalendarComponent {
525
570
  get size() {
526
571
  return this._size;
527
572
  }
573
+ _size = DEFAULT_SIZE;
528
574
  /**
529
575
  * Specify, which end of the defined selection range should be marked as active.
530
576
  *
@@ -537,6 +583,41 @@ export class CalendarComponent {
537
583
  get activeRangeEnd() {
538
584
  return this._activeRangeEnd;
539
585
  }
586
+ _activeRangeEnd = 'start';
587
+ navigationView;
588
+ monthView;
589
+ multiViewCalendar;
590
+ isActive = false;
591
+ cellUID = guid();
592
+ selectionRange = { start: null, end: null };
593
+ selectedDates = [];
594
+ rangePivot;
595
+ _disabledDates;
596
+ _min = new Date(MIN_DATE);
597
+ _max = new Date(MAX_DATE);
598
+ _focusedDate = getToday();
599
+ _value;
600
+ onControlChange = noop;
601
+ onControlTouched = noop;
602
+ onValidatorChange = noop;
603
+ minValidateFn = noop;
604
+ maxValidateFn = noop;
605
+ changes = {};
606
+ valueSetter = false;
607
+ selectionSetter = false;
608
+ syncNavigation = true;
609
+ viewChangeSubscription;
610
+ _type = 'infinite';
611
+ _cellTemplateRef;
612
+ _monthCellTemplateRef;
613
+ _yearCellTemplateRef;
614
+ _decadeCellTemplateRef;
615
+ _centuryCellTemplateRef;
616
+ _weekNumberTemplateRef;
617
+ _headerTitleTemplateRef;
618
+ _headerTemplateRef;
619
+ _footerTemplateRef;
620
+ _navigationItemTemplateRef;
540
621
  get activeViewEnum() {
541
622
  const activeView = CalendarViewEnum[this.activeView];
542
623
  return activeView < this.bottomViewEnum ? this.bottomViewEnum : activeView;
@@ -554,6 +635,35 @@ export class CalendarComponent {
554
635
  // in Classic mode, the inner MultiViewCalendar should handle the disabled class and aria attr
555
636
  return this.type === 'classic' ? undefined : this.disabled;
556
637
  }
638
+ domEvents = [];
639
+ control;
640
+ pageChangeSubscription;
641
+ resolvedPromise = Promise.resolve(null);
642
+ destroyed = false;
643
+ localizationChangeSubscription;
644
+ activeViewDate;
645
+ currentlyFocusedElement;
646
+ canHover = false;
647
+ constructor(bus, dom, element, navigator, renderer, cdr, ngZone, injector, scrollSyncService, disabledDatesService, localization, selectionService, pickerService) {
648
+ this.bus = bus;
649
+ this.dom = dom;
650
+ this.element = element;
651
+ this.navigator = navigator;
652
+ this.renderer = renderer;
653
+ this.cdr = cdr;
654
+ this.ngZone = ngZone;
655
+ this.injector = injector;
656
+ this.scrollSyncService = scrollSyncService;
657
+ this.disabledDatesService = disabledDatesService;
658
+ this.localization = localization;
659
+ this.selectionService = selectionService;
660
+ this.pickerService = pickerService;
661
+ validatePackage(packageMetadata);
662
+ this.id = `kendo-calendarid-${this.bus.calendarId}`;
663
+ if (this.pickerService) {
664
+ this.pickerService.calendar = this;
665
+ }
666
+ }
557
667
  ngOnInit() {
558
668
  this.setClasses(this.element.nativeElement);
559
669
  if (this.type === 'infinite') {
@@ -877,7 +987,7 @@ export class CalendarComponent {
877
987
  */
878
988
  handleCellClick({ date, modifiers }) {
879
989
  this.focus();
880
- if (this.selection === 'range' && this.activeViewEnum === 0) {
990
+ if (this.selection === 'range' && this.activeViewEnum === CalendarViewEnum[this.bottomView]) {
881
991
  this.performRangeSelection(date);
882
992
  }
883
993
  else {
@@ -1179,23 +1289,22 @@ export class CalendarComponent {
1179
1289
  focusedDate: date
1180
1290
  });
1181
1291
  }
1182
- }
1183
- CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1184
- CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, isStandalone: true, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
1185
- BusViewService,
1186
- CALENDAR_VALUE_ACCESSOR,
1187
- CALENDAR_RANGE_VALIDATORS,
1188
- KENDO_INPUT_PROVIDER,
1189
- LocalizationService,
1190
- DisabledDatesService,
1191
- {
1192
- provide: L10N_PREFIX,
1193
- useValue: 'kendo.calendar'
1194
- },
1195
- NavigationService,
1196
- ScrollSyncService,
1197
- SelectionService
1198
- ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
1292
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarComponent, deps: [{ token: i1.BusViewService }, { token: i2.CalendarDOMService }, { token: i0.ElementRef }, { token: i3.NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i4.ScrollSyncService }, { token: i5.DisabledDatesService }, { token: i6.LocalizationService }, { token: i7.SelectionService }, { token: i8.PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1293
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CalendarComponent, isStandalone: true, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
1294
+ BusViewService,
1295
+ CALENDAR_VALUE_ACCESSOR,
1296
+ CALENDAR_RANGE_VALIDATORS,
1297
+ KENDO_INPUT_PROVIDER,
1298
+ LocalizationService,
1299
+ DisabledDatesService,
1300
+ {
1301
+ provide: L10N_PREFIX,
1302
+ useValue: 'kendo.calendar'
1303
+ },
1304
+ NavigationService,
1305
+ ScrollSyncService,
1306
+ SelectionService
1307
+ ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "navigationView", first: true, predicate: NavigationComponent, descendants: true }, { propertyName: "monthView", first: true, predicate: ViewListComponent, descendants: true }, { propertyName: "multiViewCalendar", first: true, predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-calendar"], usesOnChanges: true, ngImport: i0, template: `
1199
1308
  <ng-container kendoCalendarLocalizedMessages
1200
1309
  i18n-today="kendo.calendar.today|The label for the today button in the calendar header"
1201
1310
  today="Today"
@@ -1314,7 +1423,8 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1314
1423
  </kendo-multiviewcalendar>
1315
1424
  </ng-container>
1316
1425
  `, isInline: true, dependencies: [{ kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "component", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "size", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1317
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, decorators: [{
1426
+ }
1427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarComponent, decorators: [{
1318
1428
  type: Component,
1319
1429
  args: [{
1320
1430
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -68,21 +68,21 @@ import * as i12 from "./templates/year-cell-template.directive";
68
68
  * ```
69
69
  */
70
70
  export class CalendarModule {
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CalendarModule, imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective], exports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective] });
73
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarModule, providers: [
74
+ IconsService,
75
+ ResizeBatchService,
76
+ CalendarDOMService,
77
+ CenturyViewService,
78
+ DecadeViewService,
79
+ MonthViewService,
80
+ YearViewService,
81
+ PopupService,
82
+ NavigationService
83
+ ], imports: [i2.CalendarComponent] });
71
84
  }
72
- CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
- CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective], exports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective] });
74
- CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, providers: [
75
- IconsService,
76
- ResizeBatchService,
77
- CalendarDOMService,
78
- CenturyViewService,
79
- DecadeViewService,
80
- MonthViewService,
81
- YearViewService,
82
- PopupService,
83
- NavigationService
84
- ], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent] });
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarModule, decorators: [{
86
86
  type: NgModule,
87
87
  args: [{
88
88
  exports: [...KENDO_CALENDAR],
@@ -64,21 +64,21 @@ import * as i14 from "./multiview-calendar.component";
64
64
  * ```
65
65
  */
66
66
  export class CalendarsModule {
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
68
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CalendarsModule, imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective], exports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective] });
69
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarsModule, providers: [
70
+ IconsService,
71
+ ResizeBatchService,
72
+ CalendarDOMService,
73
+ CenturyViewService,
74
+ DecadeViewService,
75
+ MonthViewService,
76
+ YearViewService,
77
+ PopupService,
78
+ NavigationService
79
+ ], imports: [i2.CalendarComponent, i14.MultiViewCalendarComponent] });
67
80
  }
68
- CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
69
- CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective], exports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective, i10.NavigationItemTemplateDirective, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent, i3.CellTemplateDirective, i4.CenturyCellTemplateDirective, i5.DecadeCellTemplateDirective, i6.FooterTemplateDirective, i7.HeaderTemplateDirective, i8.HeaderTitleTemplateDirective, i9.MonthCellTemplateDirective, i10.NavigationItemTemplateDirective, i11.WeekNumberCellTemplateDirective, i12.YearCellTemplateDirective] });
70
- CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, providers: [
71
- IconsService,
72
- ResizeBatchService,
73
- CalendarDOMService,
74
- CenturyViewService,
75
- DecadeViewService,
76
- MonthViewService,
77
- YearViewService,
78
- PopupService,
79
- NavigationService
80
- ], imports: [i1.CalendarCustomMessagesComponent, i2.CalendarComponent, i13.MultiViewCalendarCustomMessagesComponent, i14.MultiViewCalendarComponent] });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CalendarsModule, decorators: [{
82
82
  type: NgModule,
83
83
  args: [{
84
84
  exports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],