@progress/kendo-angular-dateinputs 17.0.0-develop.21 → 17.0.0-develop.22

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 (182) 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 +1 -1
  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 +276 -166
  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 +299 -211
  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/adaptive.module.mjs +7 -7
  76. package/{esm2020 → esm2022}/common/picker.service.mjs +7 -6
  77. package/{esm2020 → esm2022}/dateinput/dateinput.component.mjs +282 -231
  78. package/{esm2020 → esm2022}/dateinput/dateinput.module.mjs +6 -6
  79. package/{esm2020 → esm2022}/dateinput/localization/dateinput-custom-messages.component.mjs +9 -8
  80. package/{esm2020 → esm2022}/dateinput/localization/dateinput-localized-messages.directive.mjs +9 -8
  81. package/{esm2020 → esm2022}/dateinput/localization/messages.mjs +15 -3
  82. package/{esm2020 → esm2022}/dateinputs.module.mjs +22 -22
  83. package/{esm2020 → esm2022}/datepicker/datepicker.component.mjs +403 -282
  84. package/{esm2020 → esm2022}/datepicker/datepicker.module.mjs +16 -16
  85. package/{esm2020 → esm2022}/datepicker/localization/datepicker-custom-messages.component.mjs +9 -8
  86. package/{esm2020 → esm2022}/datepicker/localization/datepicker-localized-messages.directive.mjs +9 -8
  87. package/esm2022/datepicker/localization/messages.mjs +57 -0
  88. package/{esm2020 → esm2022}/daterange/date-range-end-input.directive.mjs +38 -28
  89. package/{esm2020 → esm2022}/daterange/date-range-input.mjs +19 -13
  90. package/{esm2020 → esm2022}/daterange/date-range-popup-template.directive.mjs +4 -3
  91. package/{esm2020 → esm2022}/daterange/date-range-popup.component.mjs +237 -144
  92. package/{esm2020 → esm2022}/daterange/date-range-selection.directive.mjs +41 -36
  93. package/{esm2020 → esm2022}/daterange/date-range-start-input.directive.mjs +40 -29
  94. package/{esm2020 → esm2022}/daterange/date-range.component.mjs +30 -13
  95. package/{esm2020 → esm2022}/daterange/date-range.module.mjs +16 -16
  96. package/{esm2020 → esm2022}/daterange/date-range.service.mjs +34 -33
  97. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-custom-messages.component.mjs +9 -8
  98. package/{esm2020 → esm2022}/daterange/localization/daterange-popup-localized-messages.directive.mjs +9 -8
  99. package/{esm2020 → esm2022}/daterange/localization/messages.mjs +19 -3
  100. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.component.mjs +350 -262
  101. package/{esm2020 → esm2022}/datetimepicker/datetimepicker.module.mjs +22 -22
  102. package/{esm2020 → esm2022}/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +9 -8
  103. package/{esm2020 → esm2022}/datetimepicker/localization/localized-messages.directive.mjs +9 -8
  104. package/esm2022/datetimepicker/localization/messages.mjs +147 -0
  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 +269 -196
  120. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +14 -14
  121. package/{esm2020 → esm2022}/timepicker/timeselector.component.mjs +95 -72
  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 +3571 -2396
  126. package/package.json +18 -24
  127. package/timepicker/localization/messages.d.ts +1 -1
  128. package/timepicker/timelist.component.d.ts +1 -1
  129. package/timepicker/timepicker.component.d.ts +1 -1
  130. package/timepicker/timeselector.component.d.ts +1 -1
  131. package/util.d.ts +1 -1
  132. package/virtualization/services/scroller.service.d.ts +2 -2
  133. package/virtualization/virtualization.component.d.ts +1 -1
  134. package/esm2020/calendar/localization/calendar-messages.mjs +0 -29
  135. package/esm2020/datepicker/localization/messages.mjs +0 -33
  136. package/esm2020/datetimepicker/localization/messages.mjs +0 -63
  137. package/esm2020/timepicker/localization/messages.mjs +0 -47
  138. package/fesm2015/progress-kendo-angular-dateinputs.mjs +0 -19350
  139. /package/{esm2020 → esm2022}/calendar/models/cell-context.interface.mjs +0 -0
  140. /package/{esm2020 → esm2022}/calendar/models/keydown.interface.mjs +0 -0
  141. /package/{esm2020 → esm2022}/calendar/models/navigation-action.enum.mjs +0 -0
  142. /package/{esm2020 → esm2022}/calendar/models/orientation.mjs +0 -0
  143. /package/{esm2020 → esm2022}/calendar/models/row-length-options.interface.mjs +0 -0
  144. /package/{esm2020 → esm2022}/calendar/models/scrollable.interface.mjs +0 -0
  145. /package/{esm2020 → esm2022}/calendar/models/selection-range-end.type.mjs +0 -0
  146. /package/{esm2020 → esm2022}/calendar/models/selection-range.interface.mjs +0 -0
  147. /package/{esm2020 → esm2022}/calendar/models/selection.mjs +0 -0
  148. /package/{esm2020 → esm2022}/calendar/models/type.mjs +0 -0
  149. /package/{esm2020 → esm2022}/calendar/models/view-service.interface.mjs +0 -0
  150. /package/{esm2020 → esm2022}/calendar/models/view.enum.mjs +0 -0
  151. /package/{esm2020 → esm2022}/calendar/models/view.type.mjs +0 -0
  152. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  153. /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
  154. /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
  155. /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
  156. /package/{esm2020 → esm2022}/common/models/week-days-format.mjs +0 -0
  157. /package/{esm2020 → esm2022}/common/utils.mjs +0 -0
  158. /package/{esm2020 → esm2022}/dateinput/arrow.enum.mjs +0 -0
  159. /package/{esm2020 → esm2022}/dateinput/models/format-placeholder.model.mjs +0 -0
  160. /package/{esm2020 → esm2022}/dateinput/models/format-settings.model.mjs +0 -0
  161. /package/{esm2020 → esm2022}/dateinput/models/incremental-steps.model.mjs +0 -0
  162. /package/{esm2020 → esm2022}/daterange/auto-correct-on.type.mjs +0 -0
  163. /package/{esm2020 → esm2022}/datetimepicker/models/active-tab.type.mjs +0 -0
  164. /package/{esm2020 → esm2022}/defaults.mjs +0 -0
  165. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  166. /package/{esm2020 → esm2022}/index.mjs +0 -0
  167. /package/{esm2020 → esm2022}/popup-settings.model.mjs +0 -0
  168. /package/{esm2020 → esm2022}/progress-kendo-angular-dateinputs.mjs +0 -0
  169. /package/{esm2020 → esm2022}/timepicker/models/incremental-steps.model.mjs +0 -0
  170. /package/{esm2020 → esm2022}/timepicker/models/list-item.interface.mjs +0 -0
  171. /package/{esm2020 → esm2022}/timepicker/models/list-service-settings.mjs +0 -0
  172. /package/{esm2020 → esm2022}/timepicker/models/list-service.interface.mjs +0 -0
  173. /package/{esm2020 → esm2022}/timepicker/models/time-part.default.mjs +0 -0
  174. /package/{esm2020 → esm2022}/timepicker/util.mjs +0 -0
  175. /package/{esm2020 → esm2022}/util.mjs +0 -0
  176. /package/{esm2020 → esm2022}/validators/disabled-date.validator.mjs +0 -0
  177. /package/{esm2020 → esm2022}/validators/disabled-dates-range.validator.mjs +0 -0
  178. /package/{esm2020 → esm2022}/validators/incomplete-date.validator.mjs +0 -0
  179. /package/{esm2020 → esm2022}/validators/max.validator.mjs +0 -0
  180. /package/{esm2020 → esm2022}/validators/min.validator.mjs +0 -0
  181. /package/{esm2020 → esm2022}/validators/time-range.validator.mjs +0 -0
  182. /package/{esm2020 → esm2022}/virtualization/models/scrollable.interface.mjs +0 -0
@@ -45,140 +45,158 @@ import * as i3 from "@progress/kendo-angular-l10n";
45
45
  * ```
46
46
  */
47
47
  export class DateRangePopupComponent {
48
- constructor(popupService, dateRangeService, zone, renderer, localization, cdr, rtl) {
49
- this.popupService = popupService;
50
- this.dateRangeService = dateRangeService;
51
- this.zone = zone;
52
- this.renderer = renderer;
53
- this.localization = localization;
54
- this.cdr = cdr;
55
- this.rtl = rtl;
56
- /**
57
- * @hidden
58
- *
59
- * Determines whether to display the MultiViewCalendar header.
60
- */
61
- this.showCalendarHeader = true;
62
- /**
63
- * Defines the active view that the MultiViewCalendar initially renders
64
- * ([see example]({% slug viewoptions_multiviewcalendar %})).
65
- * By default, the active view is `month`.
66
- *
67
- * > You have to set `activeView` within the `topView`-`bottomView` range.
68
- */
69
- this.activeView = CalendarViewEnum[CalendarViewEnum.month];
70
- /**
71
- * Defines the bottommost view, to which the user can navigate
72
- * ([see example](slug:viewdepth_multiviewcalendar)).
73
- */
74
- this.bottomView = CalendarViewEnum[CalendarViewEnum.month];
75
- /**
76
- * Defines the topmost view, to which the user can navigate.
77
- */
78
- this.topView = CalendarViewEnum[CalendarViewEnum.century];
79
- /**
80
- * Allows reverse selection.
81
- * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
82
- *
83
- * @default false
84
- */
85
- this.allowReverse = false;
86
- /**
87
- * Determines whether to enable animation when navigating to previous/next view.
88
- * @default false
89
- */
90
- this.animateNavigation = false;
91
- /**
92
- * Sets or gets the `disabled` property of the MultiViewCalendar and
93
- * determines whether the component is active
94
- * ([see example]({% slug disabled_multiviewcalendar %})).
95
- */
96
- this.disabled = false;
97
- /**
98
- * Sets or gets the `views` property of the MultiViewCalendar and
99
- * defines the number of rendered months.
100
- *
101
- * @default 2
102
- */
103
- this.views = 2;
104
- /**
105
- * Determines whether to display a week number column in the `month` view
106
- * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
107
- */
108
- this.weekNumber = false;
109
- /**
110
- * Controls the popup animation.
111
- * By default, the opening and closing animations are enabled.
112
- * For more information about controlling the popup animations,
113
- * refer to the article on [animations]({% slug animations_popup %}).
114
- */
115
- this.animate = true;
116
- /**
117
- * Determines whether to display a header for every view (for example the month name).
118
- *
119
- * @default false
120
- */
121
- this.showViewHeader = false;
122
- /**
123
- * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
124
- * @default false
125
- */
126
- this.showOtherMonthDays = false;
127
- /**
128
- * Configures the collision behavior of the popup.
129
- * For more information, refer to the article on
130
- * [viewport boundary detection]({% slug viewportboundarydetection_popup %}).
131
- */
132
- this.collision = { horizontal: 'fit', vertical: 'flip' };
133
- /**
134
- * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
135
- */
136
- this.adaptiveMode = 'none';
137
- /**
138
- * Sets the title of the input element of the DateRangePopup and the title text rendered
139
- * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
140
- */
141
- this.title = "";
142
- /**
143
- * Fires each time the popup is about to open
144
- * ([see example](slug:popup_daterange#toc-events)).
145
- * This event is preventable. If you cancel the event, the popup will remain closed.
146
- */
147
- this.open = new EventEmitter();
148
- /**
149
- * Fires each time the popup is about to close
150
- * ([see example](slug:popup_daterange#toc-events)).
151
- * This event is preventable. If you cancel the event, the popup will remain open.
152
- */
153
- this.close = new EventEmitter();
154
- /**
155
- * Fires each time the calendar element is blurred
156
- * ([see example](slug:popup_daterange#toc-events)).
157
- */
158
- this.onBlur = new EventEmitter();
159
- /**
160
- * Fires each time the calendar element is focused
161
- * ([see example](slug:popup_daterange#toc-events)).
162
- */
163
- this.onFocus = new EventEmitter();
164
- /**
165
- * Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
166
- * ([see example](slug:popup_daterange#toc-events)).
167
- */
168
- this.cancel = new EventEmitter();
169
- /**
170
- * @hidden
171
- */
172
- this.popupUID = guid();
173
- /**
174
- * @hidden
175
- */
176
- this.xIcon = xIcon;
177
- this.calendarSubscriptions = new Subscription();
178
- this.popupSubscriptions = new Subscription();
179
- this.localizationSubscriptions = new Subscription();
180
- this.resolvedPromise = Promise.resolve();
181
- }
48
+ popupService;
49
+ dateRangeService;
50
+ zone;
51
+ renderer;
52
+ localization;
53
+ cdr;
54
+ rtl;
55
+ container;
56
+ actionSheet;
57
+ defaultTemplate;
58
+ contentTemplate;
59
+ dateRangeSelectionDirective;
60
+ viewCalendar;
61
+ contentCalendar;
62
+ /**
63
+ * @hidden
64
+ *
65
+ * Determines whether to display the MultiViewCalendar header.
66
+ */
67
+ showCalendarHeader = true;
68
+ /**
69
+ * Sets or gets the `focusedDate` property of the MultiViewCalendar and
70
+ * defines the focused date of the component
71
+ * ([see example]({% slug dates_multiviewcalendar %}#toc-focused-dates)).
72
+ *
73
+ * > If the MultiViewCalendar is out of the min or max range, it normalizes the defined `focusedDate`.
74
+ */
75
+ focusedDate;
76
+ /**
77
+ * Sets the dates of the MultiViewCalendar that will be disabled
78
+ * ([see example]({% slug disabled_dates_multiviewcalendar %})).
79
+ */
80
+ disabledDates;
81
+ /**
82
+ * Defines the active view that the MultiViewCalendar initially renders
83
+ * ([see example]({% slug viewoptions_multiviewcalendar %})).
84
+ * By default, the active view is `month`.
85
+ *
86
+ * > You have to set `activeView` within the `topView`-`bottomView` range.
87
+ */
88
+ activeView = CalendarViewEnum[CalendarViewEnum.month];
89
+ /**
90
+ * Defines the bottommost view, to which the user can navigate
91
+ * ([see example](slug:viewdepth_multiviewcalendar)).
92
+ */
93
+ bottomView = CalendarViewEnum[CalendarViewEnum.month];
94
+ /**
95
+ * Defines the topmost view, to which the user can navigate.
96
+ */
97
+ topView = CalendarViewEnum[CalendarViewEnum.century];
98
+ /**
99
+ * Sets or gets the `min` property of the MultiViewCalendar and
100
+ * defines the minimum allowed date value.
101
+ * By default, the `min` value is `1900-1-1`.
102
+ */
103
+ min;
104
+ /**
105
+ * Sets or gets the `max` property of the MultiViewCalendar and
106
+ * defines the maximum allowed date value.
107
+ * By default, the `max` value is `2099-12-31`.
108
+ */
109
+ max;
110
+ /**
111
+ * Allows reverse selection.
112
+ * If `allowReverse` is set to `true`, the component skips the validation of whether the start date is after the end date.
113
+ *
114
+ * @default false
115
+ */
116
+ allowReverse = false;
117
+ /**
118
+ * Determines whether to enable animation when navigating to previous/next view.
119
+ * @default false
120
+ */
121
+ animateNavigation = false;
122
+ /**
123
+ * Sets or gets the `disabled` property of the MultiViewCalendar and
124
+ * determines whether the component is active
125
+ * ([see example]({% slug disabled_multiviewcalendar %})).
126
+ */
127
+ disabled = false;
128
+ /**
129
+ * Sets or gets the `views` property of the MultiViewCalendar and
130
+ * defines the number of rendered months.
131
+ *
132
+ * @default 2
133
+ */
134
+ views = 2;
135
+ /**
136
+ * Determines whether to display a week number column in the `month` view
137
+ * ([see example]({% slug weeknumcolumn_multiviewcalendar %})).
138
+ */
139
+ weekNumber = false;
140
+ /**
141
+ * Controls the popup animation.
142
+ * By default, the opening and closing animations are enabled.
143
+ * For more information about controlling the popup animations,
144
+ * refer to the article on [animations]({% slug animations_popup %}).
145
+ */
146
+ animate = true;
147
+ /**
148
+ * Specifies the element that will be used as an anchor. The popup opens next to that element.
149
+ * For more information, refer to the section on
150
+ * [aligning to specific components]({% slug alignmentpositioning_popup %}#toc-aligning-to-components).
151
+ */
152
+ anchor;
153
+ /**
154
+ * Specifies the anchor pivot point.
155
+ * For more information, refer to the section on
156
+ * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
157
+ */
158
+ anchorAlign;
159
+ /**
160
+ * Determines whether to display a header for every view (for example the month name).
161
+ *
162
+ * @default false
163
+ */
164
+ showViewHeader = false;
165
+ /**
166
+ * Displays the days that fall out of the current month ([see example]({% slug viewoptions_multiviewcalendar %}#toc-displaying-other-month-days)).
167
+ * @default false
168
+ */
169
+ showOtherMonthDays = false;
170
+ /**
171
+ * Controls the popup container. By default, the popup is appended to the root component.
172
+ */
173
+ appendTo;
174
+ /**
175
+ * Configures the collision behavior of the popup.
176
+ * For more information, refer to the article on
177
+ * [viewport boundary detection]({% slug viewportboundarydetection_popup %}).
178
+ */
179
+ collision = { horizontal: 'fit', vertical: 'flip' };
180
+ /**
181
+ * Specifies the pivot point of the popup.
182
+ * For more information, refer to the section on
183
+ * [positioning]({% slug alignmentpositioning_popup %}#toc-positioning).
184
+ */
185
+ popupAlign;
186
+ /**
187
+ * Specifies the margin value that will be added to the popup dimensions in pixels
188
+ * and leaves a blank space between the popup and the anchor.
189
+ */
190
+ margin;
191
+ /**
192
+ * Enables or disables the adaptive mode. By default the adaptive rendering is disabled.
193
+ */
194
+ adaptiveMode = 'none';
195
+ /**
196
+ * Sets the title of the input element of the DateRangePopup and the title text rendered
197
+ * in the header of the popup(action sheet). Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
198
+ */
199
+ title = "";
182
200
  /**
183
201
  * Sets the subtitle text rendered in the header of the popup(action sheet).
184
202
  * Applicable only when [`AdaptiveMode` is set to `auto`](slug:api_dateinputs_adaptivemode).
@@ -189,6 +207,48 @@ export class DateRangePopupComponent {
189
207
  get subtitle() {
190
208
  return this._subtitle;
191
209
  }
210
+ _subtitle;
211
+ /**
212
+ * @hidden
213
+ *
214
+ * TODO: Make visible when the Infinite Calendar is fixed to set properly the size option.
215
+ * Sets the size of the component.
216
+ *
217
+ * The possible values are:
218
+ * * `small`
219
+ * * `medium` (Default)
220
+ * * `large`
221
+ * * `none`
222
+ *
223
+ */
224
+ size;
225
+ /**
226
+ * Fires each time the popup is about to open
227
+ * ([see example](slug:popup_daterange#toc-events)).
228
+ * This event is preventable. If you cancel the event, the popup will remain closed.
229
+ */
230
+ open = new EventEmitter();
231
+ /**
232
+ * Fires each time the popup is about to close
233
+ * ([see example](slug:popup_daterange#toc-events)).
234
+ * This event is preventable. If you cancel the event, the popup will remain open.
235
+ */
236
+ close = new EventEmitter();
237
+ /**
238
+ * Fires each time the calendar element is blurred
239
+ * ([see example](slug:popup_daterange#toc-events)).
240
+ */
241
+ onBlur = new EventEmitter();
242
+ /**
243
+ * Fires each time the calendar element is focused
244
+ * ([see example](slug:popup_daterange#toc-events)).
245
+ */
246
+ onFocus = new EventEmitter();
247
+ /**
248
+ * Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport
249
+ * ([see example](slug:popup_daterange#toc-events)).
250
+ */
251
+ cancel = new EventEmitter();
192
252
  /**
193
253
  * The active calendar that is visible in the popup
194
254
  *
@@ -224,6 +284,18 @@ export class DateRangePopupComponent {
224
284
  get isAdaptive() {
225
285
  return this.isAdaptiveModeEnabled && this.windowSize !== 'large';
226
286
  }
287
+ /**
288
+ * @hidden
289
+ */
290
+ popupRef;
291
+ /**
292
+ * @hidden
293
+ */
294
+ popupUID = guid();
295
+ /**
296
+ * @hidden
297
+ */
298
+ xIcon = xIcon;
227
299
  /**
228
300
  * Gets or sets the visibility state of the component.
229
301
  */
@@ -246,6 +318,27 @@ export class DateRangePopupComponent {
246
318
  get show() {
247
319
  return this._show;
248
320
  }
321
+ activateSubscription;
322
+ blurSubscription;
323
+ focusSubscription;
324
+ calendarSubscriptions = new Subscription();
325
+ popupSubscriptions = new Subscription();
326
+ windowBlurSubscription;
327
+ localizationSubscriptions = new Subscription();
328
+ resolvedPromise = Promise.resolve();
329
+ _calendar;
330
+ _show;
331
+ _rangeSelection;
332
+ windowSize;
333
+ constructor(popupService, dateRangeService, zone, renderer, localization, cdr, rtl) {
334
+ this.popupService = popupService;
335
+ this.dateRangeService = dateRangeService;
336
+ this.zone = zone;
337
+ this.renderer = renderer;
338
+ this.localization = localization;
339
+ this.cdr = cdr;
340
+ this.rtl = rtl;
341
+ }
249
342
  ngOnInit() {
250
343
  this.dateRangeService.registerPopup(this);
251
344
  if (this.localization) {
@@ -556,15 +649,14 @@ export class DateRangePopupComponent {
556
649
  this.renderer.setStyle(animationContainer, 'bottom', '0px');
557
650
  }
558
651
  }
559
- }
560
- DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1.PopupService }, { token: i2.DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
561
- DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { showCalendarHeader: "showCalendarHeader", focusedDate: "focusedDate", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", min: "min", max: "max", allowReverse: "allowReverse", animateNavigation: "animateNavigation", disabled: "disabled", views: "views", weekNumber: "weekNumber", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", showViewHeader: "showViewHeader", showOtherMonthDays: "showOtherMonthDays", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
562
- LocalizationService,
563
- {
564
- provide: L10N_PREFIX,
565
- useValue: 'kendo.daterangepopup'
566
- }
567
- ], queries: [{ propertyName: "contentTemplate", first: true, predicate: DateRangePopupTemplateDirective, descendants: true }, { propertyName: "contentCalendar", predicate: MultiViewCalendarComponent }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "dateRangeSelectionDirective", first: true, predicate: DateRangeSelectionDirective, descendants: true }, { propertyName: "viewCalendar", predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-daterange-popup"], ngImport: i0, template: `
652
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1.PopupService }, { token: i2.DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
653
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { showCalendarHeader: "showCalendarHeader", focusedDate: "focusedDate", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", min: "min", max: "max", allowReverse: "allowReverse", animateNavigation: "animateNavigation", disabled: "disabled", views: "views", weekNumber: "weekNumber", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", showViewHeader: "showViewHeader", showOtherMonthDays: "showOtherMonthDays", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
654
+ LocalizationService,
655
+ {
656
+ provide: L10N_PREFIX,
657
+ useValue: 'kendo.daterangepopup'
658
+ }
659
+ ], queries: [{ propertyName: "contentTemplate", first: true, predicate: DateRangePopupTemplateDirective, descendants: true }, { propertyName: "contentCalendar", predicate: MultiViewCalendarComponent }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "actionSheet", first: true, predicate: ["actionSheet"], descendants: true }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "dateRangeSelectionDirective", first: true, predicate: DateRangeSelectionDirective, descendants: true }, { propertyName: "viewCalendar", predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-daterange-popup"], ngImport: i0, template: `
568
660
  <ng-container kendoDateRangePopupLocalizedMessages
569
661
  i18n-accept="kendo.daterangepopup.accept|The Accept button text in the timepicker component"
570
662
  accept="Set"
@@ -694,7 +786,8 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
694
786
  </ng-template>
695
787
  </kendo-actionsheet>
696
788
  `, isInline: true, dependencies: [{ kind: "directive", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { 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: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
697
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, decorators: [{
789
+ }
790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangePopupComponent, decorators: [{
698
791
  type: Component,
699
792
  args: [{
700
793
  exportAs: 'kendo-daterange-popup',
@@ -18,39 +18,19 @@ import * as i2 from "./date-range.service";
18
18
  * We recommend using the MultiViewCalendar [range selection]({% slug selection_multiviewcalendar %}#toc-range-selection).
19
19
  */
20
20
  export class DateRangeSelectionDirective {
21
- constructor(calendar, cdr, element, renderer, dateRangeService) {
22
- this.calendar = calendar;
23
- this.cdr = cdr;
24
- this.element = element;
25
- this.dateRangeService = dateRangeService;
26
- /**
27
- * Specifies the auto-correction behavior. If the start date is greater than the end date,
28
- * the directive fixes the date range to a single date either on input change or on blur
29
- * ([see example](slug:autocorrect_daterange#toc-calendar-selection-directive)).
30
- *
31
- * By default, the auto-correction is triggered on change.
32
- * To disable this behavior, set the `autoCorrectOn` property to `none`.
33
- */
34
- this.autoCorrectOn = 'change';
35
- /**
36
- * @hidden
37
- * When in adaptive mode range should not be set automatically on calendar value change but only on accept
38
- */
39
- this.shouldSetRange = true;
40
- /**
41
- * Fires when the active range end is changed. For more information, refer to
42
- * the section on [events](slug:events_multiviewcalendar).
43
- */
44
- this.activeRangeEndChange = new EventEmitter();
45
- /**
46
- * Fires when the selection range is changed. For more information, refer to
47
- * the section on [events](slug:events_multiviewcalendar).
48
- */
49
- this.selectionRangeChange = new EventEmitter();
50
- this.calendarSubscriptions = new Subscription();
51
- this.dateRangeService = this.dateRangeService || new DateRangeService(renderer);
52
- renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
53
- }
21
+ calendar;
22
+ cdr;
23
+ element;
24
+ dateRangeService;
25
+ /**
26
+ * Specifies the auto-correction behavior. If the start date is greater than the end date,
27
+ * the directive fixes the date range to a single date either on input change or on blur
28
+ * ([see example](slug:autocorrect_daterange#toc-calendar-selection-directive)).
29
+ *
30
+ * By default, the auto-correction is triggered on change.
31
+ * To disable this behavior, set the `autoCorrectOn` property to `none`.
32
+ */
33
+ autoCorrectOn = 'change';
54
34
  /**
55
35
  * Gets or sets the selection range of the calendar. When a new range is set,
56
36
  * the connected DateRangeService notifies all related parties.
@@ -88,9 +68,34 @@ export class DateRangeSelectionDirective {
88
68
  this.calendar.activeRangeEnd = activeRange;
89
69
  this.dateRangeService.setActiveRangeEnd(activeRange);
90
70
  }
71
+ /**
72
+ * @hidden
73
+ * When in adaptive mode range should not be set automatically on calendar value change but only on accept
74
+ */
75
+ shouldSetRange = true;
76
+ /**
77
+ * Fires when the active range end is changed. For more information, refer to
78
+ * the section on [events](slug:events_multiviewcalendar).
79
+ */
80
+ activeRangeEndChange = new EventEmitter();
81
+ /**
82
+ * Fires when the selection range is changed. For more information, refer to
83
+ * the section on [events](slug:events_multiviewcalendar).
84
+ */
85
+ selectionRangeChange = new EventEmitter();
91
86
  get calendarRange() {
92
87
  return this.selectionRange || EMPTY_SELECTIONRANGE;
93
88
  }
89
+ calendarSubscriptions = new Subscription();
90
+ range;
91
+ constructor(calendar, cdr, element, renderer, dateRangeService) {
92
+ this.calendar = calendar;
93
+ this.cdr = cdr;
94
+ this.element = element;
95
+ this.dateRangeService = dateRangeService;
96
+ this.dateRangeService = this.dateRangeService || new DateRangeService(renderer);
97
+ renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
98
+ }
94
99
  ngOnInit() {
95
100
  const calendar = this.calendar;
96
101
  const dateRangeService = this.dateRangeService;
@@ -191,10 +196,10 @@ export class DateRangeSelectionDirective {
191
196
  this.setSelectionRange(range);
192
197
  this.selectionRangeChange.emit(range);
193
198
  }
199
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeSelectionDirective, deps: [{ token: i1.MultiViewCalendarComponent }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.DateRangeService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
200
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeSelectionDirective, isStandalone: true, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
194
201
  }
195
- DateRangeSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, deps: [{ token: i1.MultiViewCalendarComponent }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.DateRangeService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
196
- DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeSelectionDirective, isStandalone: true, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
198
203
  type: Directive,
199
204
  args: [{
200
205
  selector: '[kendoDateRangeSelection]',
@@ -19,37 +19,48 @@ import * as i2 from "../dateinput/dateinput.component";
19
19
  * > You can use the DateRangeStartInputDirective only with a DateInput component.
20
20
  */
21
21
  export class DateRangeStartInputDirective extends DateRangeInput {
22
+ rangeService;
23
+ dateInput;
24
+ renderer;
25
+ /**
26
+ * Specifies the auto-correction behavior. If the start date is greater than the end date,
27
+ * the directive fixes the date range to a single date either on input change or on blur
28
+ * ([see example](slug:autocorrect_daterange#toc-input-directives)).
29
+ *
30
+ * By default, the component does not perform any auto-correction.
31
+ */
32
+ autoCorrectOn;
33
+ /**
34
+ * Specifies the navigation behavior of the calendar when the active end is changed on input focus.
35
+ * When enabled, the calendar navigates to the value of the focused input. Otherwise, the calendar
36
+ * displays the last picked date.
37
+ *
38
+ * By default, the automatic navigation behavior on input focus is disabled.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * _@Component({
43
+ * selector: 'my-app',
44
+ * template: `
45
+ * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
46
+ * <kendo-daterange>
47
+ * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
48
+ * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
49
+ * </kendo-daterange>
50
+ * `
51
+ * })
52
+ * export class AppComponent {
53
+ * public start: Date = new Date(2018, 3, 10);
54
+ * public end: Date = new Date(2018, 10, 20);
55
+ * }
56
+ * ```
57
+ */
58
+ navigateCalendarOnFocus = false;
22
59
  constructor(rangeService, dateInput, element, renderer, zone) {
23
60
  super('start', rangeService, dateInput, element, renderer, zone);
24
61
  this.rangeService = rangeService;
25
62
  this.dateInput = dateInput;
26
63
  this.renderer = renderer;
27
- /**
28
- * Specifies the navigation behavior of the calendar when the active end is changed on input focus.
29
- * When enabled, the calendar navigates to the value of the focused input. Otherwise, the calendar
30
- * displays the last picked date.
31
- *
32
- * By default, the automatic navigation behavior on input focus is disabled.
33
- *
34
- * @example
35
- * ```ts
36
- * _@Component({
37
- * selector: 'my-app',
38
- * template: `
39
- * <h5>Toggle input focus to see the calendar navigating between range ends.</h5>
40
- * <kendo-daterange>
41
- * <kendo-dateinput kendoDateRangeStartInput [navigateCalendarOnFocus]="true" [(value)]="start"></kendo-dateinput>
42
- * <kendo-dateinput kendoDateRangeEndInput [navigateCalendarOnFocus]="true" [(value)]="end"></kendo-dateinput>
43
- * </kendo-daterange>
44
- * `
45
- * })
46
- * export class AppComponent {
47
- * public start: Date = new Date(2018, 3, 10);
48
- * public end: Date = new Date(2018, 10, 20);
49
- * }
50
- * ```
51
- */
52
- this.navigateCalendarOnFocus = false;
53
64
  }
54
65
  ngOnInit() {
55
66
  this.rangeService.registerStartInput(this.dateInput);
@@ -80,10 +91,10 @@ export class DateRangeStartInputDirective extends DateRangeInput {
80
91
  this.dateInput.writeValue(cloneDate(start));
81
92
  this.dateInput.notify();
82
93
  }
94
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
95
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DateRangeStartInputDirective, isStandalone: true, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
83
96
  }
84
- DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: i1.DateRangeService }, { token: i2.DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
85
- DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeStartInputDirective, isStandalone: true, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
87
98
  type: Directive,
88
99
  args: [{
89
100
  selector: '[kendoDateRangeStartInput]',