@progress/kendo-angular-dateinputs 6.0.3 → 7.0.0-next.202203231050

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 (555) hide show
  1. package/bundles/kendo-angular-dateinputs.umd.js +5 -0
  2. package/calendar/calendar-common.module.d.ts +24 -0
  3. package/{dist/es2015/calendar → calendar}/calendar.component.d.ts +40 -21
  4. package/{dist/es2015/calendar → calendar}/calendar.module.d.ts +16 -0
  5. package/{dist/es2015/calendar → calendar}/calendars.module.d.ts +6 -0
  6. package/{dist/es2015/calendar → calendar}/for.directive.d.ts +8 -5
  7. package/{dist/es2015/calendar → calendar}/header.component.d.ts +3 -0
  8. package/{dist/es2015/calendar → calendar}/horizontal-view-list.component.d.ts +9 -5
  9. package/{dist/es2015/calendar → calendar}/localization/calendar-custom-messages.component.d.ts +4 -1
  10. package/{dist/es2015/calendar → calendar}/localization/calendar-localized-messages.directive.d.ts +3 -0
  11. package/{dist/es2015/calendar → calendar}/localization/calendar-messages.d.ts +3 -0
  12. package/{dist/es2015/calendar → calendar}/localization/multiview-calendar-custom-messages.component.d.ts +4 -1
  13. package/{dist/es2015/calendar → calendar}/localization/multiview-calendar-localized-messages.directive.d.ts +3 -0
  14. package/{dist/es2015/calendar → calendar}/localization/multiview-calendar-messages.d.ts +3 -0
  15. package/{dist/es2015/calendar → calendar}/models/cell-context.interface.d.ts +0 -0
  16. package/{dist/es2015/calendar → calendar}/models/keydown.interface.d.ts +0 -0
  17. package/{dist/es2015/calendar → calendar}/models/navigation-action.enum.d.ts +0 -0
  18. package/{dist/es2015/calendar → calendar}/models/row-length-options.interface.d.ts +0 -0
  19. package/{dist/es2015/calendar → calendar}/models/scrollable.interface.d.ts +0 -0
  20. package/{dist/es2015/calendar → calendar}/models/selection-range-end.type.d.ts +0 -0
  21. package/{dist/es2015/calendar → calendar}/models/selection-range.interface.d.ts +0 -0
  22. package/{dist/es2015/calendar → calendar}/models/selection.d.ts +0 -0
  23. package/{dist/es2015/calendar → calendar}/models/type.d.ts +0 -0
  24. package/{dist/es2015/calendar → calendar}/models/view-service.interface.d.ts +0 -0
  25. package/{dist/es2015/calendar → calendar}/models/view.enum.d.ts +0 -0
  26. package/{dist/es2015/calendar → calendar}/models/view.type.d.ts +0 -0
  27. package/{dist/es2015/calendar → calendar}/multiview-calendar.component.d.ts +38 -24
  28. package/{dist/es2015/calendar → calendar}/multiview-calendar.module.d.ts +14 -0
  29. package/{dist/es2015/calendar → calendar}/navigation.component.d.ts +4 -1
  30. package/{dist/es2015/calendar → calendar}/services/bus-view.service.d.ts +3 -0
  31. package/{dist/es2015/calendar → calendar}/services/century-view.service.d.ts +3 -0
  32. package/{dist/es2015/calendar → calendar}/services/decade-view.service.d.ts +3 -0
  33. package/{dist/es2015/calendar → calendar}/services/disabled-dates.service.d.ts +3 -0
  34. package/{dist/es2015/calendar → calendar}/services/dom.service.d.ts +3 -0
  35. package/{dist/es2015/calendar → calendar}/services/month-view.service.d.ts +3 -0
  36. package/{dist/es2015/calendar → calendar}/services/navigation.service.d.ts +3 -0
  37. package/{dist/es2015/calendar → calendar}/services/scroll-sync.service.d.ts +3 -0
  38. package/{dist/es2015/calendar → calendar}/services/selection.service.d.ts +3 -0
  39. package/{dist/es2015/calendar → calendar}/services/weeknames.service.d.ts +3 -0
  40. package/{dist/es2015/calendar → calendar}/services/year-view.service.d.ts +3 -0
  41. package/{dist/es2015/calendar → calendar}/templates/cell-template.directive.d.ts +3 -0
  42. package/{dist/es2015/calendar → calendar}/templates/century-cell-template.directive.d.ts +3 -0
  43. package/{dist/es2015/calendar → calendar}/templates/decade-cell-template.directive.d.ts +3 -0
  44. package/{dist/es2015/calendar → calendar}/templates/header-title-template.directive.d.ts +3 -0
  45. package/{dist/es2015/calendar → calendar}/templates/month-cell-template.directive.d.ts +3 -0
  46. package/{dist/es2015/calendar → calendar}/templates/navigation-item-template.directive.d.ts +3 -0
  47. package/{dist/es2015/calendar → calendar}/templates/weeknumber-cell-template.directive.d.ts +3 -0
  48. package/{dist/es2015/calendar → calendar}/templates/year-cell-template.directive.d.ts +3 -0
  49. package/calendar/templates.module.d.ts +33 -0
  50. package/{dist/es2015/calendar → calendar}/view-list.component.d.ts +9 -5
  51. package/{dist/es2015/calendar → calendar}/view.component.d.ts +5 -1
  52. package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
  53. package/{dist/es2015/common → common}/models/fillmode.d.ts +0 -0
  54. package/{dist/es2015/common → common}/models/rounded.d.ts +0 -0
  55. package/{dist/es2015/common → common}/models/size.d.ts +0 -0
  56. package/{dist/es2015/common → common}/picker.service.d.ts +0 -0
  57. package/{dist/es2015/common → common}/utils.d.ts +0 -0
  58. package/{dist/es2015/dateinput → dateinput}/arrow.enum.d.ts +0 -0
  59. package/{dist/es2015/dateinput → dateinput}/dateinput.component.d.ts +21 -12
  60. package/dateinput/dateinput.module.d.ts +20 -0
  61. package/{dist/es2015/dateinput → dateinput}/localization/dateinput-custom-messages.component.d.ts +4 -1
  62. package/{dist/es2015/dateinput → dateinput}/localization/dateinput-localized-messages.directive.d.ts +3 -0
  63. package/{dist/es2015/dateinput → dateinput}/localization/messages.d.ts +3 -0
  64. package/{dist/es2015/dateinput → dateinput}/models/format-placeholder.model.d.ts +0 -0
  65. package/{dist/es2015/dateinput → dateinput}/models/format-settings.model.d.ts +0 -0
  66. package/{dist/es2015/dateinput → dateinput}/models/incremental-steps.model.d.ts +0 -0
  67. package/{dist/es2015/dateinputs.module.d.ts → dateinputs.module.d.ts} +10 -0
  68. package/{dist/es2015/datepicker → datepicker}/datepicker.component.d.ts +36 -24
  69. package/datepicker/datepicker.module.d.ts +24 -0
  70. package/{dist/es2015/datepicker → datepicker}/localization/datepicker-custom-messages.component.d.ts +4 -1
  71. package/{dist/es2015/datepicker → datepicker}/localization/datepicker-localized-messages.directive.d.ts +3 -0
  72. package/{dist/es2015/datepicker → datepicker}/localization/messages.d.ts +3 -0
  73. package/{dist/es2015/daterange → daterange}/auto-correct-on.type.d.ts +0 -0
  74. package/{dist/es2015/daterange → daterange}/date-range-end-input.directive.d.ts +5 -1
  75. package/{dist/es2015/daterange → daterange}/date-range-input.d.ts +5 -3
  76. package/{dist/es2015/daterange → daterange}/date-range-popup-template.directive.d.ts +3 -0
  77. package/{dist/es2015/daterange → daterange}/date-range-popup.component.d.ts +12 -5
  78. package/daterange/date-range-popup.service.d.ts +52 -0
  79. package/{dist/es2015/daterange → daterange}/date-range-selection.directive.d.ts +8 -3
  80. package/{dist/es2015/daterange → daterange}/date-range-start-input.directive.d.ts +5 -1
  81. package/{dist/es2015/daterange → daterange}/date-range.component.d.ts +4 -1
  82. package/{dist/es2015/daterange → daterange}/date-range.module.d.ts +15 -1
  83. package/{dist/es2015/daterange → daterange}/date-range.service.d.ts +8 -38
  84. package/{dist/es2015/datetimepicker → datetimepicker}/datetimepicker.component.d.ts +38 -23
  85. package/datetimepicker/datetimepicker.module.d.ts +25 -0
  86. package/{dist/es2015/datetimepicker → datetimepicker}/localization/datetimepicker-custom-messages.component.d.ts +4 -1
  87. package/{dist/es2015/datetimepicker → datetimepicker}/localization/localized-messages.directive.d.ts +3 -0
  88. package/{dist/es2015/datetimepicker → datetimepicker}/localization/messages.d.ts +3 -0
  89. package/{dist/es2015/datetimepicker → datetimepicker}/models/active-tab.type.d.ts +0 -0
  90. package/{dist/es2015/defaults.d.ts → defaults.d.ts} +0 -0
  91. package/esm2015/calendar/calendar-common.module.js +45 -0
  92. package/{dist/es2015 → esm2015}/calendar/calendar.component.js +277 -246
  93. package/{dist/es2015 → esm2015}/calendar/calendar.module.js +71 -34
  94. package/{dist/es2015 → esm2015}/calendar/calendars.module.js +23 -14
  95. package/{dist/es2015 → esm2015}/calendar/for.directive.js +16 -25
  96. package/{dist/es2015 → esm2015}/calendar/header.component.js +97 -73
  97. package/{dist/es2015 → esm2015}/calendar/horizontal-view-list.component.js +155 -130
  98. package/esm2015/calendar/localization/calendar-custom-messages.component.js +40 -0
  99. package/esm2015/calendar/localization/calendar-localized-messages.directive.js +36 -0
  100. package/esm2015/calendar/localization/calendar-messages.js +26 -0
  101. package/esm2015/calendar/localization/multiview-calendar-custom-messages.component.js +40 -0
  102. package/esm2015/calendar/localization/multiview-calendar-localized-messages.directive.js +36 -0
  103. package/esm2015/calendar/localization/multiview-calendar-messages.js +26 -0
  104. package/{dist/es → esm2015}/calendar/models/cell-context.interface.js +1 -0
  105. package/{dist/es2015 → esm2015}/calendar/models/keydown.interface.js +1 -0
  106. package/{dist/es → esm2015}/calendar/models/navigation-action.enum.js +0 -0
  107. package/{dist/es2015 → esm2015}/calendar/models/row-length-options.interface.js +1 -0
  108. package/{dist/es/virtualization → esm2015/calendar}/models/scrollable.interface.js +1 -0
  109. package/{dist/es → esm2015}/calendar/models/selection-range-end.type.js +1 -0
  110. package/{dist/es2015 → esm2015}/calendar/models/selection-range.interface.js +0 -0
  111. package/{dist/es → esm2015}/calendar/models/selection.js +1 -0
  112. package/{dist/es → esm2015}/calendar/models/type.js +1 -0
  113. package/{dist/es → esm2015}/calendar/models/view-service.interface.js +1 -0
  114. package/{dist/es → esm2015}/calendar/models/view.enum.js +0 -0
  115. package/{dist/es → esm2015}/calendar/models/view.type.js +1 -0
  116. package/{dist/es2015 → esm2015}/calendar/multiview-calendar.component.js +246 -298
  117. package/{dist/es2015 → esm2015}/calendar/multiview-calendar.module.js +63 -32
  118. package/{dist/es2015 → esm2015}/calendar/navigation.component.js +71 -62
  119. package/{dist/es2015 → esm2015}/calendar/services/bus-view.service.js +9 -11
  120. package/{dist/es2015 → esm2015}/calendar/services/century-view.service.js +8 -11
  121. package/{dist/es2015 → esm2015}/calendar/services/decade-view.service.js +8 -11
  122. package/{dist/es2015 → esm2015}/calendar/services/disabled-dates.service.js +8 -12
  123. package/{dist/es2015 → esm2015}/calendar/services/dom.service.js +10 -26
  124. package/{dist/es2015 → esm2015}/calendar/services/month-view.service.js +9 -10
  125. package/{dist/es2015 → esm2015}/calendar/services/navigation.service.js +9 -9
  126. package/{dist/es2015 → esm2015}/calendar/services/scroll-sync.service.js +10 -13
  127. package/{dist/es2015 → esm2015}/calendar/services/selection.service.js +9 -9
  128. package/{dist/es2015 → esm2015}/calendar/services/weeknames.service.js +9 -9
  129. package/{dist/es2015 → esm2015}/calendar/services/year-view.service.js +9 -13
  130. package/{dist/es2015 → esm2015}/calendar/templates/cell-template.directive.js +12 -11
  131. package/{dist/es2015 → esm2015}/calendar/templates/century-cell-template.directive.js +12 -11
  132. package/{dist/es2015 → esm2015}/calendar/templates/decade-cell-template.directive.js +12 -11
  133. package/{dist/es2015 → esm2015}/calendar/templates/header-title-template.directive.js +12 -11
  134. package/{dist/es2015 → esm2015}/calendar/templates/month-cell-template.directive.js +12 -11
  135. package/{dist/es2015 → esm2015}/calendar/templates/navigation-item-template.directive.js +12 -11
  136. package/{dist/es2015 → esm2015}/calendar/templates/weeknumber-cell-template.directive.js +12 -11
  137. package/{dist/es2015 → esm2015}/calendar/templates/year-cell-template.directive.js +12 -11
  138. package/esm2015/calendar/templates.module.js +73 -0
  139. package/{dist/es2015 → esm2015}/calendar/view-list.component.js +135 -120
  140. package/{dist/es2015 → esm2015}/calendar/view.component.js +104 -98
  141. package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -0
  142. package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
  143. package/{dist/es → esm2015}/common/models/rounded.js +1 -0
  144. package/{dist/es → esm2015}/common/models/size.js +1 -0
  145. package/{dist/es2015 → esm2015}/common/picker.service.js +0 -0
  146. package/{dist/es2015 → esm2015}/common/utils.js +0 -0
  147. package/{dist/es → esm2015}/dateinput/arrow.enum.js +0 -0
  148. package/{dist/es2015 → esm2015}/dateinput/dateinput.component.js +179 -183
  149. package/esm2015/dateinput/dateinput.module.js +41 -0
  150. package/esm2015/dateinput/localization/dateinput-custom-messages.component.js +40 -0
  151. package/esm2015/dateinput/localization/dateinput-localized-messages.directive.js +36 -0
  152. package/esm2015/dateinput/localization/messages.js +24 -0
  153. package/{dist/es → esm2015}/dateinput/models/format-placeholder.model.js +1 -0
  154. package/{dist/es → esm2015}/dateinput/models/format-settings.model.js +1 -0
  155. package/{dist/es → esm2015}/dateinput/models/incremental-steps.model.js +1 -0
  156. package/{dist/es2015 → esm2015}/dateinputs.module.js +28 -10
  157. package/{dist/es2015 → esm2015}/datepicker/datepicker.component.js +285 -285
  158. package/esm2015/datepicker/datepicker.module.js +72 -0
  159. package/esm2015/datepicker/localization/datepicker-custom-messages.component.js +40 -0
  160. package/esm2015/datepicker/localization/datepicker-localized-messages.directive.js +36 -0
  161. package/esm2015/datepicker/localization/messages.js +28 -0
  162. package/{dist/es → esm2015}/daterange/auto-correct-on.type.js +1 -0
  163. package/{dist/es2015 → esm2015}/daterange/date-range-end-input.directive.js +21 -27
  164. package/{dist/es2015 → esm2015}/daterange/date-range-input.js +11 -8
  165. package/esm2015/daterange/date-range-popup-template.directive.js +23 -0
  166. package/{dist/es2015 → esm2015}/daterange/date-range-popup.component.js +75 -91
  167. package/esm2015/daterange/date-range-popup.service.js +87 -0
  168. package/{dist/es2015 → esm2015}/daterange/date-range-selection.directive.js +26 -39
  169. package/{dist/es2015 → esm2015}/daterange/date-range-start-input.directive.js +21 -27
  170. package/esm2015/daterange/date-range.component.js +74 -0
  171. package/{dist/es2015 → esm2015}/daterange/date-range.module.js +27 -12
  172. package/{dist/es2015 → esm2015}/daterange/date-range.service.js +8 -75
  173. package/{dist/es2015 → esm2015}/datetimepicker/datetimepicker.component.js +398 -227
  174. package/esm2015/datetimepicker/datetimepicker.module.js +80 -0
  175. package/esm2015/datetimepicker/localization/datetimepicker-custom-messages.component.js +40 -0
  176. package/esm2015/datetimepicker/localization/localized-messages.directive.js +36 -0
  177. package/esm2015/datetimepicker/localization/messages.js +48 -0
  178. package/{dist/es → esm2015}/datetimepicker/models/active-tab.type.js +1 -0
  179. package/{dist/es2015 → esm2015}/defaults.js +0 -0
  180. package/esm2015/kendo-angular-dateinputs.js +8 -0
  181. package/{dist/es → esm2015}/main.js +25 -0
  182. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  183. package/{dist/es → esm2015}/popup-settings.model.js +1 -0
  184. package/{dist/es2015 → esm2015}/preventable-event.js +0 -0
  185. package/esm2015/timepicker/localization/messages.js +34 -0
  186. package/esm2015/timepicker/localization/timepicker-custom-messages.component.js +40 -0
  187. package/esm2015/timepicker/localization/timepicker-localized-messages.directive.js +36 -0
  188. package/esm2015/timepicker/localization/timeselector-custom-messages.component.js +42 -0
  189. package/esm2015/timepicker/localization/timeselector-localized-messages.directive.js +36 -0
  190. package/{dist/es → esm2015}/timepicker/models/incremental-steps.model.js +1 -0
  191. package/{dist/es → esm2015}/timepicker/models/list-item.interface.js +1 -0
  192. package/{dist/es → esm2015}/timepicker/models/list-service-settings.js +1 -0
  193. package/{dist/es → esm2015}/timepicker/models/list-service.interface.js +1 -0
  194. package/{dist/es2015 → esm2015}/timepicker/models/time-part.default.js +0 -0
  195. package/{dist/es2015 → esm2015}/timepicker/services/dayperiod.service.js +9 -15
  196. package/{dist/es2015 → esm2015}/timepicker/services/dom.service.js +8 -13
  197. package/{dist/es2015 → esm2015}/timepicker/services/hours.service.js +9 -14
  198. package/{dist/es2015 → esm2015}/timepicker/services/milliseconds.service.js +9 -14
  199. package/{dist/es2015 → esm2015}/timepicker/services/minutes.service.js +9 -14
  200. package/{dist/es2015 → esm2015}/timepicker/services/seconds.service.js +9 -14
  201. package/{dist/es2015 → esm2015}/timepicker/timelist.component.js +66 -61
  202. package/{dist/es2015 → esm2015}/timepicker/timepicker.component.js +219 -179
  203. package/{dist/es2015 → esm2015}/timepicker/timepicker.module.js +32 -15
  204. package/{dist/es2015 → esm2015}/timepicker/timeselector.component.js +181 -104
  205. package/{dist/es2015 → esm2015}/timepicker/util.js +8 -20
  206. package/{dist/es2015 → esm2015}/touch-enabled.js +0 -0
  207. package/{dist/es2015 → esm2015}/util.js +1 -6
  208. package/{dist/es2015 → esm2015}/validators/disabled-date.validator.js +0 -0
  209. package/{dist/es2015 → esm2015}/validators/disabled-dates-range.validator.js +0 -2
  210. package/{dist/es2015 → esm2015}/validators/incomplete-date.validator.js +0 -0
  211. package/{dist/es2015 → esm2015}/validators/max.validator.js +0 -0
  212. package/{dist/es2015 → esm2015}/validators/min.validator.js +0 -0
  213. package/{dist/es2015 → esm2015}/validators/time-range.validator.js +0 -0
  214. package/{dist/es2015/calendar → esm2015/virtualization}/models/scrollable.interface.js +1 -0
  215. package/{dist/es2015 → esm2015}/virtualization/services/row-height.service.js +1 -3
  216. package/{dist/es2015 → esm2015}/virtualization/services/scroller.service.js +0 -2
  217. package/{dist/es2015 → esm2015}/virtualization/virtualization.component.js +75 -90
  218. package/esm2015/virtualization/virtualization.module.js +30 -0
  219. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dateinputs.js} +9630 -9048
  220. package/{dist/es/calendar/models/selection-range.interface.js → kendo-angular-dateinputs.d.ts} +3 -2
  221. package/{dist/es2015/main.d.ts → main.d.ts} +25 -0
  222. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  223. package/package.json +44 -115
  224. package/{dist/es2015/popup-settings.model.d.ts → popup-settings.model.d.ts} +0 -0
  225. package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +0 -0
  226. package/schematics/ngAdd/index.js +5 -2
  227. package/schematics/ngAdd/index.js.map +1 -1
  228. package/{dist/es2015/timepicker → timepicker}/localization/messages.d.ts +3 -0
  229. package/{dist/es2015/timepicker → timepicker}/localization/timepicker-custom-messages.component.d.ts +4 -1
  230. package/{dist/es2015/timepicker → timepicker}/localization/timepicker-localized-messages.directive.d.ts +3 -0
  231. package/{dist/es2015/timepicker → timepicker}/localization/timeselector-custom-messages.component.d.ts +4 -1
  232. package/{dist/es2015/timepicker → timepicker}/localization/timeselector-localized-messages.directive.d.ts +3 -0
  233. package/{dist/es2015/timepicker → timepicker}/models/incremental-steps.model.d.ts +0 -0
  234. package/{dist/es2015/timepicker → timepicker}/models/list-item.interface.d.ts +0 -0
  235. package/{dist/es2015/timepicker → timepicker}/models/list-service-settings.d.ts +0 -0
  236. package/{dist/es2015/timepicker → timepicker}/models/list-service.interface.d.ts +0 -0
  237. package/{dist/es2015/timepicker → timepicker}/models/time-part.default.d.ts +0 -0
  238. package/{dist/es2015/timepicker → timepicker}/services/dayperiod.service.d.ts +3 -0
  239. package/{dist/es2015/timepicker → timepicker}/services/dom.service.d.ts +3 -0
  240. package/{dist/es2015/timepicker → timepicker}/services/hours.service.d.ts +3 -0
  241. package/{dist/es2015/timepicker → timepicker}/services/milliseconds.service.d.ts +3 -0
  242. package/{dist/es2015/timepicker → timepicker}/services/minutes.service.d.ts +3 -0
  243. package/{dist/es2015/timepicker → timepicker}/services/seconds.service.d.ts +3 -0
  244. package/{dist/es2015/timepicker → timepicker}/timelist.component.d.ts +4 -1
  245. package/{dist/es2015/timepicker → timepicker}/timepicker.component.d.ts +32 -18
  246. package/timepicker/timepicker.module.d.ts +27 -0
  247. package/{dist/es2015/timepicker → timepicker}/timeselector.component.d.ts +10 -4
  248. package/{dist/es2015/timepicker → timepicker}/util.d.ts +0 -0
  249. package/{dist/es2015/touch-enabled.d.ts → touch-enabled.d.ts} +0 -0
  250. package/{dist/es2015/util.d.ts → util.d.ts} +0 -0
  251. package/{dist/es2015/validators → validators}/disabled-date.validator.d.ts +0 -0
  252. package/{dist/es2015/validators → validators}/disabled-dates-range.validator.d.ts +0 -0
  253. package/{dist/es2015/validators → validators}/incomplete-date.validator.d.ts +0 -0
  254. package/{dist/es2015/validators → validators}/max.validator.d.ts +0 -0
  255. package/{dist/es2015/validators → validators}/min.validator.d.ts +0 -0
  256. package/{dist/es2015/validators → validators}/time-range.validator.d.ts +0 -0
  257. package/{dist/es2015/virtualization → virtualization}/models/scrollable.interface.d.ts +0 -0
  258. package/{dist/es2015/virtualization → virtualization}/services/row-height.service.d.ts +0 -0
  259. package/{dist/es2015/virtualization → virtualization}/services/scroller.service.d.ts +0 -0
  260. package/{dist/es2015/virtualization → virtualization}/virtualization.component.d.ts +8 -5
  261. package/{dist/es2015/virtualization → virtualization}/virtualization.module.d.ts +6 -0
  262. package/dist/cdn/js/kendo-angular-dateinputs.js +0 -20
  263. package/dist/cdn/main.js +0 -5
  264. package/dist/es/calendar/calendar-common.module.js +0 -41
  265. package/dist/es/calendar/calendar.component.js +0 -1189
  266. package/dist/es/calendar/calendar.module.js +0 -108
  267. package/dist/es/calendar/calendars.module.js +0 -60
  268. package/dist/es/calendar/for.directive.js +0 -135
  269. package/dist/es/calendar/header.component.js +0 -170
  270. package/dist/es/calendar/horizontal-view-list.component.js +0 -363
  271. package/dist/es/calendar/localization/calendar-custom-messages.component.js +0 -43
  272. package/dist/es/calendar/localization/calendar-localized-messages.directive.js +0 -35
  273. package/dist/es/calendar/localization/calendar-messages.js +0 -30
  274. package/dist/es/calendar/localization/multiview-calendar-custom-messages.component.js +0 -43
  275. package/dist/es/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -35
  276. package/dist/es/calendar/localization/multiview-calendar-messages.js +0 -30
  277. package/dist/es/calendar/models/keydown.interface.js +0 -4
  278. package/dist/es/calendar/models/row-length-options.interface.js +0 -4
  279. package/dist/es/calendar/models/scrollable.interface.js +0 -4
  280. package/dist/es/calendar/multiview-calendar.component.js +0 -1122
  281. package/dist/es/calendar/multiview-calendar.module.js +0 -97
  282. package/dist/es/calendar/navigation.component.js +0 -173
  283. package/dist/es/calendar/services/bus-view.service.js +0 -83
  284. package/dist/es/calendar/services/century-view.service.js +0 -180
  285. package/dist/es/calendar/services/decade-view.service.js +0 -179
  286. package/dist/es/calendar/services/disabled-dates.service.js +0 -70
  287. package/dist/es/calendar/services/dom.service.js +0 -195
  288. package/dist/es/calendar/services/month-view.service.js +0 -203
  289. package/dist/es/calendar/services/navigation.service.js +0 -53
  290. package/dist/es/calendar/services/scroll-sync.service.js +0 -85
  291. package/dist/es/calendar/services/selection.service.js +0 -55
  292. package/dist/es/calendar/services/weeknames.service.js +0 -27
  293. package/dist/es/calendar/services/year-view.service.js +0 -204
  294. package/dist/es/calendar/templates/cell-template.directive.js +0 -46
  295. package/dist/es/calendar/templates/century-cell-template.directive.js +0 -45
  296. package/dist/es/calendar/templates/decade-cell-template.directive.js +0 -45
  297. package/dist/es/calendar/templates/header-title-template.directive.js +0 -44
  298. package/dist/es/calendar/templates/month-cell-template.directive.js +0 -43
  299. package/dist/es/calendar/templates/navigation-item-template.directive.js +0 -44
  300. package/dist/es/calendar/templates/weeknumber-cell-template.directive.js +0 -43
  301. package/dist/es/calendar/templates/year-cell-template.directive.js +0 -46
  302. package/dist/es/calendar/templates.module.js +0 -59
  303. package/dist/es/calendar/view-list.component.js +0 -301
  304. package/dist/es/calendar/view.component.js +0 -318
  305. package/dist/es/common/dom-queries.js +0 -24
  306. package/dist/es/common/picker.service.js +0 -18
  307. package/dist/es/common/utils.js +0 -35
  308. package/dist/es/dateinput/dateinput.component.js +0 -1617
  309. package/dist/es/dateinput/dateinput.module.js +0 -37
  310. package/dist/es/dateinput/localization/dateinput-custom-messages.component.js +0 -43
  311. package/dist/es/dateinput/localization/dateinput-localized-messages.directive.js +0 -35
  312. package/dist/es/dateinput/localization/messages.js +0 -26
  313. package/dist/es/dateinputs.module.js +0 -63
  314. package/dist/es/datepicker/datepicker.component.js +0 -1256
  315. package/dist/es/datepicker/datepicker.module.js +0 -55
  316. package/dist/es/datepicker/localization/datepicker-custom-messages.component.js +0 -43
  317. package/dist/es/datepicker/localization/datepicker-localized-messages.directive.js +0 -35
  318. package/dist/es/datepicker/localization/messages.js +0 -34
  319. package/dist/es/daterange/date-range-end-input.directive.js +0 -97
  320. package/dist/es/daterange/date-range-input.js +0 -131
  321. package/dist/es/daterange/date-range-popup-template.directive.js +0 -23
  322. package/dist/es/daterange/date-range-popup.component.js +0 -403
  323. package/dist/es/daterange/date-range-selection.directive.js +0 -230
  324. package/dist/es/daterange/date-range-start-input.directive.js +0 -97
  325. package/dist/es/daterange/date-range.component.js +0 -71
  326. package/dist/es/daterange/date-range.module.js +0 -83
  327. package/dist/es/daterange/date-range.service.js +0 -208
  328. package/dist/es/datetimepicker/datetimepicker.component.js +0 -1309
  329. package/dist/es/datetimepicker/datetimepicker.module.js +0 -57
  330. package/dist/es/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -43
  331. package/dist/es/datetimepicker/localization/localized-messages.directive.js +0 -35
  332. package/dist/es/datetimepicker/localization/messages.js +0 -74
  333. package/dist/es/defaults.js +0 -24
  334. package/dist/es/index.js +0 -63
  335. package/dist/es/package-metadata.js +0 -15
  336. package/dist/es/preventable-event.js +0 -29
  337. package/dist/es/timepicker/localization/messages.js +0 -46
  338. package/dist/es/timepicker/localization/timepicker-custom-messages.component.js +0 -43
  339. package/dist/es/timepicker/localization/timepicker-localized-messages.directive.js +0 -35
  340. package/dist/es/timepicker/localization/timeselector-custom-messages.component.js +0 -45
  341. package/dist/es/timepicker/localization/timeselector-localized-messages.directive.js +0 -35
  342. package/dist/es/timepicker/models/time-part.default.js +0 -14
  343. package/dist/es/timepicker/services/dayperiod.service.js +0 -130
  344. package/dist/es/timepicker/services/dom.service.js +0 -64
  345. package/dist/es/timepicker/services/hours.service.js +0 -129
  346. package/dist/es/timepicker/services/milliseconds.service.js +0 -130
  347. package/dist/es/timepicker/services/minutes.service.js +0 -127
  348. package/dist/es/timepicker/services/seconds.service.js +0 -127
  349. package/dist/es/timepicker/timelist.component.js +0 -297
  350. package/dist/es/timepicker/timepicker.component.js +0 -1044
  351. package/dist/es/timepicker/timepicker.module.js +0 -75
  352. package/dist/es/timepicker/timeselector.component.js +0 -486
  353. package/dist/es/timepicker/util.js +0 -82
  354. package/dist/es/touch-enabled.js +0 -9
  355. package/dist/es/util.js +0 -395
  356. package/dist/es/validators/disabled-date.validator.js +0 -18
  357. package/dist/es/validators/disabled-dates-range.validator.js +0 -28
  358. package/dist/es/validators/incomplete-date.validator.js +0 -18
  359. package/dist/es/validators/max.validator.js +0 -21
  360. package/dist/es/validators/min.validator.js +0 -21
  361. package/dist/es/validators/time-range.validator.js +0 -23
  362. package/dist/es/virtualization/services/row-height.service.js +0 -72
  363. package/dist/es/virtualization/services/scroller.service.js +0 -111
  364. package/dist/es/virtualization/virtualization.component.js +0 -343
  365. package/dist/es/virtualization/virtualization.module.js +0 -30
  366. package/dist/es2015/calendar/calendar-common.module.d.ts +0 -15
  367. package/dist/es2015/calendar/calendar-common.module.js +0 -38
  368. package/dist/es2015/calendar/localization/calendar-custom-messages.component.js +0 -35
  369. package/dist/es2015/calendar/localization/calendar-localized-messages.directive.js +0 -31
  370. package/dist/es2015/calendar/localization/calendar-messages.js +0 -24
  371. package/dist/es2015/calendar/localization/multiview-calendar-custom-messages.component.js +0 -35
  372. package/dist/es2015/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -31
  373. package/dist/es2015/calendar/localization/multiview-calendar-messages.js +0 -24
  374. package/dist/es2015/calendar/models/cell-context.interface.js +0 -4
  375. package/dist/es2015/calendar/models/navigation-action.enum.js +0 -20
  376. package/dist/es2015/calendar/models/selection-range-end.type.js +0 -4
  377. package/dist/es2015/calendar/models/selection.js +0 -4
  378. package/dist/es2015/calendar/models/type.js +0 -4
  379. package/dist/es2015/calendar/models/view-service.interface.js +0 -4
  380. package/dist/es2015/calendar/models/view.enum.js +0 -16
  381. package/dist/es2015/calendar/models/view.type.js +0 -4
  382. package/dist/es2015/calendar/templates.module.d.ts +0 -21
  383. package/dist/es2015/calendar/templates.module.js +0 -56
  384. package/dist/es2015/common/models/fillmode.js +0 -4
  385. package/dist/es2015/common/models/rounded.js +0 -4
  386. package/dist/es2015/common/models/size.js +0 -4
  387. package/dist/es2015/dateinput/arrow.enum.js +0 -13
  388. package/dist/es2015/dateinput/dateinput.module.d.ts +0 -10
  389. package/dist/es2015/dateinput/dateinput.module.js +0 -34
  390. package/dist/es2015/dateinput/localization/dateinput-custom-messages.component.js +0 -35
  391. package/dist/es2015/dateinput/localization/dateinput-localized-messages.directive.js +0 -31
  392. package/dist/es2015/dateinput/localization/messages.js +0 -20
  393. package/dist/es2015/dateinput/models/format-placeholder.model.js +0 -4
  394. package/dist/es2015/dateinput/models/format-settings.model.js +0 -4
  395. package/dist/es2015/dateinput/models/incremental-steps.model.js +0 -4
  396. package/dist/es2015/datepicker/datepicker.module.d.ts +0 -10
  397. package/dist/es2015/datepicker/datepicker.module.js +0 -52
  398. package/dist/es2015/datepicker/localization/datepicker-custom-messages.component.js +0 -35
  399. package/dist/es2015/datepicker/localization/datepicker-localized-messages.directive.js +0 -31
  400. package/dist/es2015/datepicker/localization/messages.js +0 -28
  401. package/dist/es2015/daterange/auto-correct-on.type.js +0 -4
  402. package/dist/es2015/daterange/date-range-popup-template.directive.js +0 -22
  403. package/dist/es2015/daterange/date-range.component.js +0 -68
  404. package/dist/es2015/datetimepicker/datetimepicker.module.d.ts +0 -10
  405. package/dist/es2015/datetimepicker/datetimepicker.module.js +0 -57
  406. package/dist/es2015/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -35
  407. package/dist/es2015/datetimepicker/localization/localized-messages.directive.js +0 -31
  408. package/dist/es2015/datetimepicker/localization/messages.js +0 -68
  409. package/dist/es2015/datetimepicker/models/active-tab.type.js +0 -4
  410. package/dist/es2015/index.d.ts +0 -63
  411. package/dist/es2015/index.js +0 -63
  412. package/dist/es2015/index.metadata.json +0 -1
  413. package/dist/es2015/main.js +0 -35
  414. package/dist/es2015/popup-settings.model.js +0 -4
  415. package/dist/es2015/timepicker/localization/messages.js +0 -40
  416. package/dist/es2015/timepicker/localization/timepicker-custom-messages.component.js +0 -35
  417. package/dist/es2015/timepicker/localization/timepicker-localized-messages.directive.js +0 -31
  418. package/dist/es2015/timepicker/localization/timeselector-custom-messages.component.js +0 -37
  419. package/dist/es2015/timepicker/localization/timeselector-localized-messages.directive.js +0 -31
  420. package/dist/es2015/timepicker/models/incremental-steps.model.js +0 -4
  421. package/dist/es2015/timepicker/models/list-item.interface.js +0 -4
  422. package/dist/es2015/timepicker/models/list-service-settings.js +0 -4
  423. package/dist/es2015/timepicker/models/list-service.interface.js +0 -4
  424. package/dist/es2015/timepicker/timepicker.module.d.ts +0 -10
  425. package/dist/es2015/virtualization/models/scrollable.interface.js +0 -4
  426. package/dist/es2015/virtualization/virtualization.module.js +0 -27
  427. package/dist/fesm5/index.js +0 -15216
  428. package/dist/npm/calendar/calendar-common.module.js +0 -43
  429. package/dist/npm/calendar/calendar.component.js +0 -1191
  430. package/dist/npm/calendar/calendar.module.js +0 -110
  431. package/dist/npm/calendar/calendars.module.js +0 -62
  432. package/dist/npm/calendar/for.directive.js +0 -138
  433. package/dist/npm/calendar/header.component.js +0 -172
  434. package/dist/npm/calendar/horizontal-view-list.component.js +0 -365
  435. package/dist/npm/calendar/localization/calendar-custom-messages.component.js +0 -45
  436. package/dist/npm/calendar/localization/calendar-localized-messages.directive.js +0 -37
  437. package/dist/npm/calendar/localization/calendar-messages.js +0 -32
  438. package/dist/npm/calendar/localization/multiview-calendar-custom-messages.component.js +0 -45
  439. package/dist/npm/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -37
  440. package/dist/npm/calendar/localization/multiview-calendar-messages.js +0 -32
  441. package/dist/npm/calendar/models/cell-context.interface.js +0 -6
  442. package/dist/npm/calendar/models/keydown.interface.js +0 -6
  443. package/dist/npm/calendar/models/navigation-action.enum.js +0 -22
  444. package/dist/npm/calendar/models/row-length-options.interface.js +0 -6
  445. package/dist/npm/calendar/models/scrollable.interface.js +0 -6
  446. package/dist/npm/calendar/models/selection-range-end.type.js +0 -6
  447. package/dist/npm/calendar/models/selection-range.interface.js +0 -10
  448. package/dist/npm/calendar/models/selection.js +0 -6
  449. package/dist/npm/calendar/models/type.js +0 -6
  450. package/dist/npm/calendar/models/view-service.interface.js +0 -6
  451. package/dist/npm/calendar/models/view.enum.js +0 -18
  452. package/dist/npm/calendar/models/view.type.js +0 -6
  453. package/dist/npm/calendar/multiview-calendar.component.js +0 -1124
  454. package/dist/npm/calendar/multiview-calendar.module.js +0 -99
  455. package/dist/npm/calendar/navigation.component.js +0 -175
  456. package/dist/npm/calendar/services/bus-view.service.js +0 -85
  457. package/dist/npm/calendar/services/century-view.service.js +0 -182
  458. package/dist/npm/calendar/services/decade-view.service.js +0 -181
  459. package/dist/npm/calendar/services/disabled-dates.service.js +0 -72
  460. package/dist/npm/calendar/services/dom.service.js +0 -212
  461. package/dist/npm/calendar/services/month-view.service.js +0 -205
  462. package/dist/npm/calendar/services/navigation.service.js +0 -55
  463. package/dist/npm/calendar/services/scroll-sync.service.js +0 -88
  464. package/dist/npm/calendar/services/selection.service.js +0 -57
  465. package/dist/npm/calendar/services/weeknames.service.js +0 -29
  466. package/dist/npm/calendar/services/year-view.service.js +0 -207
  467. package/dist/npm/calendar/templates/cell-template.directive.js +0 -48
  468. package/dist/npm/calendar/templates/century-cell-template.directive.js +0 -47
  469. package/dist/npm/calendar/templates/decade-cell-template.directive.js +0 -47
  470. package/dist/npm/calendar/templates/header-title-template.directive.js +0 -46
  471. package/dist/npm/calendar/templates/month-cell-template.directive.js +0 -45
  472. package/dist/npm/calendar/templates/navigation-item-template.directive.js +0 -46
  473. package/dist/npm/calendar/templates/weeknumber-cell-template.directive.js +0 -45
  474. package/dist/npm/calendar/templates/year-cell-template.directive.js +0 -48
  475. package/dist/npm/calendar/templates.module.js +0 -61
  476. package/dist/npm/calendar/view-list.component.js +0 -303
  477. package/dist/npm/calendar/view.component.js +0 -320
  478. package/dist/npm/common/dom-queries.js +0 -26
  479. package/dist/npm/common/models/fillmode.js +0 -6
  480. package/dist/npm/common/models/rounded.js +0 -6
  481. package/dist/npm/common/models/size.js +0 -6
  482. package/dist/npm/common/picker.service.js +0 -20
  483. package/dist/npm/common/utils.js +0 -37
  484. package/dist/npm/dateinput/arrow.enum.js +0 -15
  485. package/dist/npm/dateinput/dateinput.component.js +0 -1620
  486. package/dist/npm/dateinput/dateinput.module.js +0 -39
  487. package/dist/npm/dateinput/localization/dateinput-custom-messages.component.js +0 -45
  488. package/dist/npm/dateinput/localization/dateinput-localized-messages.directive.js +0 -37
  489. package/dist/npm/dateinput/localization/messages.js +0 -28
  490. package/dist/npm/dateinput/models/format-placeholder.model.js +0 -6
  491. package/dist/npm/dateinput/models/format-settings.model.js +0 -6
  492. package/dist/npm/dateinput/models/incremental-steps.model.js +0 -6
  493. package/dist/npm/dateinputs.module.js +0 -65
  494. package/dist/npm/datepicker/datepicker.component.js +0 -1258
  495. package/dist/npm/datepicker/datepicker.module.js +0 -57
  496. package/dist/npm/datepicker/localization/datepicker-custom-messages.component.js +0 -45
  497. package/dist/npm/datepicker/localization/datepicker-localized-messages.directive.js +0 -37
  498. package/dist/npm/datepicker/localization/messages.js +0 -36
  499. package/dist/npm/daterange/auto-correct-on.type.js +0 -6
  500. package/dist/npm/daterange/date-range-end-input.directive.js +0 -99
  501. package/dist/npm/daterange/date-range-input.js +0 -133
  502. package/dist/npm/daterange/date-range-popup-template.directive.js +0 -25
  503. package/dist/npm/daterange/date-range-popup.component.js +0 -405
  504. package/dist/npm/daterange/date-range-selection.directive.js +0 -232
  505. package/dist/npm/daterange/date-range-start-input.directive.js +0 -99
  506. package/dist/npm/daterange/date-range.component.js +0 -73
  507. package/dist/npm/daterange/date-range.module.js +0 -85
  508. package/dist/npm/daterange/date-range.service.js +0 -211
  509. package/dist/npm/datetimepicker/datetimepicker.component.js +0 -1311
  510. package/dist/npm/datetimepicker/datetimepicker.module.js +0 -59
  511. package/dist/npm/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -45
  512. package/dist/npm/datetimepicker/localization/localized-messages.directive.js +0 -37
  513. package/dist/npm/datetimepicker/localization/messages.js +0 -76
  514. package/dist/npm/datetimepicker/models/active-tab.type.js +0 -6
  515. package/dist/npm/defaults.js +0 -26
  516. package/dist/npm/index.js +0 -127
  517. package/dist/npm/main.js +0 -68
  518. package/dist/npm/package-metadata.js +0 -17
  519. package/dist/npm/popup-settings.model.js +0 -6
  520. package/dist/npm/preventable-event.js +0 -31
  521. package/dist/npm/timepicker/localization/messages.js +0 -48
  522. package/dist/npm/timepicker/localization/timepicker-custom-messages.component.js +0 -45
  523. package/dist/npm/timepicker/localization/timepicker-localized-messages.directive.js +0 -37
  524. package/dist/npm/timepicker/localization/timeselector-custom-messages.component.js +0 -47
  525. package/dist/npm/timepicker/localization/timeselector-localized-messages.directive.js +0 -37
  526. package/dist/npm/timepicker/models/incremental-steps.model.js +0 -6
  527. package/dist/npm/timepicker/models/list-item.interface.js +0 -6
  528. package/dist/npm/timepicker/models/list-service-settings.js +0 -6
  529. package/dist/npm/timepicker/models/list-service.interface.js +0 -6
  530. package/dist/npm/timepicker/models/time-part.default.js +0 -16
  531. package/dist/npm/timepicker/services/dayperiod.service.js +0 -136
  532. package/dist/npm/timepicker/services/dom.service.js +0 -70
  533. package/dist/npm/timepicker/services/hours.service.js +0 -134
  534. package/dist/npm/timepicker/services/milliseconds.service.js +0 -135
  535. package/dist/npm/timepicker/services/minutes.service.js +0 -132
  536. package/dist/npm/timepicker/services/seconds.service.js +0 -132
  537. package/dist/npm/timepicker/timelist.component.js +0 -299
  538. package/dist/npm/timepicker/timepicker.component.js +0 -1046
  539. package/dist/npm/timepicker/timepicker.module.js +0 -77
  540. package/dist/npm/timepicker/timeselector.component.js +0 -488
  541. package/dist/npm/timepicker/util.js +0 -101
  542. package/dist/npm/touch-enabled.js +0 -11
  543. package/dist/npm/util.js +0 -399
  544. package/dist/npm/validators/disabled-date.validator.js +0 -20
  545. package/dist/npm/validators/disabled-dates-range.validator.js +0 -30
  546. package/dist/npm/validators/incomplete-date.validator.js +0 -20
  547. package/dist/npm/validators/max.validator.js +0 -23
  548. package/dist/npm/validators/min.validator.js +0 -23
  549. package/dist/npm/validators/time-range.validator.js +0 -25
  550. package/dist/npm/virtualization/models/scrollable.interface.js +0 -6
  551. package/dist/npm/virtualization/services/row-height.service.js +0 -74
  552. package/dist/npm/virtualization/services/scroller.service.js +0 -113
  553. package/dist/npm/virtualization/virtualization.component.js +0 -346
  554. package/dist/npm/virtualization/virtualization.module.js +0 -32
  555. package/dist/systemjs/kendo-angular-dateinputs.js +0 -5
@@ -2,15 +2,11 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- var DateTimePickerComponent_1;
7
- import { Component, HostBinding, ViewChild, ElementRef, Input, isDevMode, TemplateRef, ChangeDetectorRef, Output, EventEmitter, NgZone, ViewContainerRef, forwardRef, ContentChild, Inject, ChangeDetectionStrategy, Renderer2 } from '@angular/core';
5
+ import { Component, HostBinding, ViewChild, Input, isDevMode, TemplateRef, Output, EventEmitter, ViewContainerRef, forwardRef, ContentChild, Inject, ChangeDetectionStrategy } from '@angular/core';
8
6
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
9
7
  import { Subscription, fromEvent } from 'rxjs';
10
8
  import { tap } from 'rxjs/operators';
11
9
  import { cloneDate, isEqual, getDate } from '@progress/kendo-date-math';
12
- import { PopupService } from '@progress/kendo-angular-popup';
13
- import { IntlService } from '@progress/kendo-angular-intl';
14
10
  import { hasObservers, KendoInput, Keys, guid } from '@progress/kendo-angular-common';
15
11
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
16
12
  import { validatePackage } from '@progress/kendo-licensing';
@@ -34,6 +30,20 @@ import { CenturyCellTemplateDirective } from '../calendar/templates/century-cell
34
30
  import { WeekNumberCellTemplateDirective } from '../calendar/templates/weeknumber-cell-template.directive';
35
31
  import { HeaderTitleTemplateDirective } from '../calendar/templates/header-title-template.directive';
36
32
  import { incompleteDateValidator } from '../validators/incomplete-date.validator';
33
+ import * as i0 from "@angular/core";
34
+ import * as i1 from "@progress/kendo-angular-popup";
35
+ import * as i2 from "@progress/kendo-angular-intl";
36
+ import * as i3 from "../common/picker.service";
37
+ import * as i4 from "@progress/kendo-angular-l10n";
38
+ import * as i5 from "../calendar/services/disabled-dates.service";
39
+ import * as i6 from "../dateinput/dateinput.component";
40
+ import * as i7 from "../calendar/calendar.component";
41
+ import * as i8 from "../calendar/localization/calendar-custom-messages.component";
42
+ import * as i9 from "../timepicker/timeselector.component";
43
+ import * as i10 from "../timepicker/localization/timeselector-custom-messages.component";
44
+ import * as i11 from "./localization/localized-messages.directive";
45
+ import * as i12 from "@progress/kendo-angular-common";
46
+ import * as i13 from "@angular/common";
37
47
  const timeFormatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.dayperiod}|literal`);
38
48
  const VALUE_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/integration-with-json/';
39
49
  const MIN_MAX_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits/';
@@ -44,7 +54,7 @@ const TWO_DIGIT_YEAR_MAX = 68;
44
54
  /**
45
55
  * Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
46
56
  */
47
- let DateTimePickerComponent = DateTimePickerComponent_1 = class DateTimePickerComponent {
57
+ export class DateTimePickerComponent {
48
58
  constructor(popupService, intl, cdr, pickerService, ngZone, wrapper, touchEnabled, localization, disabledDatesService, renderer) {
49
59
  this.popupService = popupService;
50
60
  this.intl = intl;
@@ -983,215 +993,276 @@ let DateTimePickerComponent = DateTimePickerComponent_1 = class DateTimePickerCo
983
993
  this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
984
994
  }
985
995
  }
986
- };
987
- tslib_1.__decorate([
988
- HostBinding('class.k-datetimepicker'),
989
- HostBinding('class.k-input'),
990
- tslib_1.__metadata("design:type", Boolean)
991
- ], DateTimePickerComponent.prototype, "hostClasses", void 0);
992
- tslib_1.__decorate([
993
- HostBinding('class.k-disabled'),
994
- tslib_1.__metadata("design:type", Boolean),
995
- tslib_1.__metadata("design:paramtypes", [])
996
- ], DateTimePickerComponent.prototype, "disabledClass", null);
997
- tslib_1.__decorate([
998
- ViewChild('toggleButton', { static: true }),
999
- tslib_1.__metadata("design:type", ElementRef)
1000
- ], DateTimePickerComponent.prototype, "toggleButton", void 0);
1001
- tslib_1.__decorate([
1002
- Input(),
1003
- tslib_1.__metadata("design:type", Date),
1004
- tslib_1.__metadata("design:paramtypes", [Date])
1005
- ], DateTimePickerComponent.prototype, "value", null);
1006
- tslib_1.__decorate([
1007
- Input(),
1008
- tslib_1.__metadata("design:type", Object),
1009
- tslib_1.__metadata("design:paramtypes", [Object])
1010
- ], DateTimePickerComponent.prototype, "format", null);
1011
- tslib_1.__decorate([
1012
- Input(),
1013
- tslib_1.__metadata("design:type", Number)
1014
- ], DateTimePickerComponent.prototype, "twoDigitYearMax", void 0);
1015
- tslib_1.__decorate([
1016
- Input(),
1017
- tslib_1.__metadata("design:type", Number),
1018
- tslib_1.__metadata("design:paramtypes", [Number])
1019
- ], DateTimePickerComponent.prototype, "tabindex", null);
1020
- tslib_1.__decorate([
1021
- Input(),
1022
- tslib_1.__metadata("design:type", Object),
1023
- tslib_1.__metadata("design:paramtypes", [Object])
1024
- ], DateTimePickerComponent.prototype, "disabledDates", null);
1025
- tslib_1.__decorate([
1026
- Input(),
1027
- tslib_1.__metadata("design:type", Object),
1028
- tslib_1.__metadata("design:paramtypes", [Object])
1029
- ], DateTimePickerComponent.prototype, "popupSettings", null);
1030
- tslib_1.__decorate([
1031
- Input(),
1032
- tslib_1.__metadata("design:type", String)
1033
- ], DateTimePickerComponent.prototype, "focusableId", void 0);
1034
- tslib_1.__decorate([
1035
- Input(),
1036
- tslib_1.__metadata("design:type", String)
1037
- ], DateTimePickerComponent.prototype, "title", void 0);
1038
- tslib_1.__decorate([
1039
- Input(),
1040
- tslib_1.__metadata("design:type", Boolean)
1041
- ], DateTimePickerComponent.prototype, "disabled", void 0);
1042
- tslib_1.__decorate([
1043
- Input(),
1044
- tslib_1.__metadata("design:type", Boolean)
1045
- ], DateTimePickerComponent.prototype, "readonly", void 0);
1046
- tslib_1.__decorate([
1047
- Input(),
1048
- tslib_1.__metadata("design:type", Boolean)
1049
- ], DateTimePickerComponent.prototype, "readOnlyInput", void 0);
1050
- tslib_1.__decorate([
1051
- Input(),
1052
- tslib_1.__metadata("design:type", Boolean)
1053
- ], DateTimePickerComponent.prototype, "cancelButton", void 0);
1054
- tslib_1.__decorate([
1055
- Input(),
1056
- tslib_1.__metadata("design:type", Object)
1057
- ], DateTimePickerComponent.prototype, "formatPlaceholder", void 0);
1058
- tslib_1.__decorate([
1059
- Input(),
1060
- tslib_1.__metadata("design:type", String)
1061
- ], DateTimePickerComponent.prototype, "placeholder", void 0);
1062
- tslib_1.__decorate([
1063
- Input(),
1064
- tslib_1.__metadata("design:type", Object)
1065
- ], DateTimePickerComponent.prototype, "steps", void 0);
1066
- tslib_1.__decorate([
1067
- Input(),
1068
- tslib_1.__metadata("design:type", Date)
1069
- ], DateTimePickerComponent.prototype, "focusedDate", void 0);
1070
- tslib_1.__decorate([
1071
- Input(),
1072
- tslib_1.__metadata("design:type", String)
1073
- ], DateTimePickerComponent.prototype, "calendarType", void 0);
1074
- tslib_1.__decorate([
1075
- Input(),
1076
- tslib_1.__metadata("design:type", Boolean)
1077
- ], DateTimePickerComponent.prototype, "animateCalendarNavigation", void 0);
1078
- tslib_1.__decorate([
1079
- Input(),
1080
- tslib_1.__metadata("design:type", Boolean)
1081
- ], DateTimePickerComponent.prototype, "weekNumber", void 0);
1082
- tslib_1.__decorate([
1083
- Input(),
1084
- tslib_1.__metadata("design:type", Date),
1085
- tslib_1.__metadata("design:paramtypes", [Date])
1086
- ], DateTimePickerComponent.prototype, "min", null);
1087
- tslib_1.__decorate([
1088
- Input(),
1089
- tslib_1.__metadata("design:type", Date),
1090
- tslib_1.__metadata("design:paramtypes", [Date])
1091
- ], DateTimePickerComponent.prototype, "max", null);
1092
- tslib_1.__decorate([
1093
- Input(),
1094
- tslib_1.__metadata("design:type", Boolean)
1095
- ], DateTimePickerComponent.prototype, "rangeValidation", void 0);
1096
- tslib_1.__decorate([
1097
- Input(),
1098
- tslib_1.__metadata("design:type", Boolean)
1099
- ], DateTimePickerComponent.prototype, "disabledDatesValidation", void 0);
1100
- tslib_1.__decorate([
1101
- Input(),
1102
- tslib_1.__metadata("design:type", Boolean)
1103
- ], DateTimePickerComponent.prototype, "incompleteDateValidation", void 0);
1104
- tslib_1.__decorate([
1105
- Output(),
1106
- tslib_1.__metadata("design:type", EventEmitter)
1107
- ], DateTimePickerComponent.prototype, "valueChange", void 0);
1108
- tslib_1.__decorate([
1109
- Output(),
1110
- tslib_1.__metadata("design:type", EventEmitter)
1111
- ], DateTimePickerComponent.prototype, "open", void 0);
1112
- tslib_1.__decorate([
1113
- Output(),
1114
- tslib_1.__metadata("design:type", EventEmitter)
1115
- ], DateTimePickerComponent.prototype, "close", void 0);
1116
- tslib_1.__decorate([
1117
- Output('focus'),
1118
- tslib_1.__metadata("design:type", EventEmitter)
1119
- ], DateTimePickerComponent.prototype, "onFocus", void 0);
1120
- tslib_1.__decorate([
1121
- Output('blur'),
1122
- tslib_1.__metadata("design:type", EventEmitter)
1123
- ], DateTimePickerComponent.prototype, "onBlur", void 0);
1124
- tslib_1.__decorate([
1125
- Input(),
1126
- tslib_1.__metadata("design:type", String),
1127
- tslib_1.__metadata("design:paramtypes", [String])
1128
- ], DateTimePickerComponent.prototype, "defaultTab", null);
1129
- tslib_1.__decorate([
1130
- Input(),
1131
- tslib_1.__metadata("design:type", String),
1132
- tslib_1.__metadata("design:paramtypes", [String])
1133
- ], DateTimePickerComponent.prototype, "size", null);
1134
- tslib_1.__decorate([
1135
- Input(),
1136
- tslib_1.__metadata("design:type", String),
1137
- tslib_1.__metadata("design:paramtypes", [String])
1138
- ], DateTimePickerComponent.prototype, "rounded", null);
1139
- tslib_1.__decorate([
1140
- Input(),
1141
- tslib_1.__metadata("design:type", String),
1142
- tslib_1.__metadata("design:paramtypes", [String])
1143
- ], DateTimePickerComponent.prototype, "fillMode", null);
1144
- tslib_1.__decorate([
1145
- ContentChild(CellTemplateDirective, { static: false }),
1146
- tslib_1.__metadata("design:type", CellTemplateDirective)
1147
- ], DateTimePickerComponent.prototype, "cellTemplate", void 0);
1148
- tslib_1.__decorate([
1149
- ContentChild(MonthCellTemplateDirective, { static: false }),
1150
- tslib_1.__metadata("design:type", MonthCellTemplateDirective)
1151
- ], DateTimePickerComponent.prototype, "monthCellTemplate", void 0);
1152
- tslib_1.__decorate([
1153
- ContentChild(YearCellTemplateDirective, { static: false }),
1154
- tslib_1.__metadata("design:type", YearCellTemplateDirective)
1155
- ], DateTimePickerComponent.prototype, "yearCellTemplate", void 0);
1156
- tslib_1.__decorate([
1157
- ContentChild(DecadeCellTemplateDirective, { static: false }),
1158
- tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
1159
- ], DateTimePickerComponent.prototype, "decadeCellTemplate", void 0);
1160
- tslib_1.__decorate([
1161
- ContentChild(CenturyCellTemplateDirective, { static: false }),
1162
- tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
1163
- ], DateTimePickerComponent.prototype, "centuryCellTemplate", void 0);
1164
- tslib_1.__decorate([
1165
- ContentChild(WeekNumberCellTemplateDirective, { static: false }),
1166
- tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
1167
- ], DateTimePickerComponent.prototype, "weekNumberTemplate", void 0);
1168
- tslib_1.__decorate([
1169
- ContentChild(HeaderTitleTemplateDirective, { static: false }),
1170
- tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
1171
- ], DateTimePickerComponent.prototype, "headerTitleTemplate", void 0);
1172
- tslib_1.__decorate([
1173
- ViewChild('container', { read: ViewContainerRef, static: true }),
1174
- tslib_1.__metadata("design:type", ViewContainerRef)
1175
- ], DateTimePickerComponent.prototype, "container", void 0);
1176
- tslib_1.__decorate([
1177
- ViewChild('popupTemplate', { read: TemplateRef, static: true }),
1178
- tslib_1.__metadata("design:type", TemplateRef)
1179
- ], DateTimePickerComponent.prototype, "popupTemplate", void 0);
1180
- DateTimePickerComponent = DateTimePickerComponent_1 = tslib_1.__decorate([
1181
- Component({
1182
- selector: 'kendo-datetimepicker',
1183
- exportAs: 'kendo-datetimepicker',
1184
- changeDetection: ChangeDetectionStrategy.OnPush,
1185
- providers: [
1186
- PickerService,
1187
- LocalizationService,
1188
- DisabledDatesService,
1189
- { provide: L10N_PREFIX, useValue: 'kendo.datetimepicker' },
1190
- { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateTimePickerComponent_1), multi: true },
1191
- { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent_1), multi: true },
1192
- { provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent_1) }
1193
- ],
1194
- template: `
996
+ }
997
+ DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1.PopupService }, { token: i2.IntlService }, { token: i0.ChangeDetectorRef }, { token: i3.PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i4.LocalizationService }, { token: i5.DisabledDatesService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
998
+ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings", focusableId: "focusableId", title: "title", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", cancelButton: "cancelButton", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", focusedDate: "focusedDate", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", weekNumber: "weekNumber", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", incompleteDateValidation: "incompleteDateValidation", defaultTab: "defaultTab", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
999
+ PickerService,
1000
+ LocalizationService,
1001
+ DisabledDatesService,
1002
+ { provide: L10N_PREFIX, useValue: 'kendo.datetimepicker' },
1003
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
1004
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
1005
+ { provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) }
1006
+ ], 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 }], viewQueries: [{ propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, read: TemplateRef, static: true }], exportAs: ["kendo-datetimepicker"], usesOnChanges: true, ngImport: i0, template: `
1007
+ <ng-container
1008
+ kendoDateTimePickerLocalizedMessages
1009
+
1010
+ i18n-dateTab="kendo.datetimepicker.dateTab|The Date tab text in the datetimepicker popup header"
1011
+ dateTab="Date"
1012
+
1013
+ i18n-dateTabLabel="kendo.datetimepicker.dateTabLabel|The label for the Date tab in the datetimepicker popup header"
1014
+ dateTabLabel="Date tab"
1015
+
1016
+ i18n-timeTab="kendo.datetimepicker.timeTab|The Time tab text in the datetimepicker popup header"
1017
+ timeTab="Time"
1018
+
1019
+ i18n-timeTabLabel="kendo.datetimepicker.timeTabLabel|The label for the Time tab in the datetimepicker popup header"
1020
+ timeTabLabel="Time tab"
1021
+
1022
+ i18n-toggle="kendo.datetimepicker.toggle|The title of the toggle button in the datetimepicker component"
1023
+ toggle="Toggle popup"
1024
+
1025
+ i18n-accept="kendo.datetimepicker.accept|The Accept button text in the datetimepicker component"
1026
+ accept="Set"
1027
+
1028
+ i18n-acceptLabel="kendo.datetimepicker.acceptLabel|The label for the Accept button in the datetimepicker component"
1029
+ acceptLabel="Set"
1030
+
1031
+ i18n-cancel="kendo.datetimepicker.cancel|The Cancel button text in the datetimepicker component"
1032
+ cancel="Cancel"
1033
+
1034
+ i18n-cancelLabel="kendo.datetimepicker.cancelLabel|The label for the Cancel button in the datetimepicker component"
1035
+ cancelLabel="Cancel"
1036
+
1037
+ i18n-now="kendo.datetimepicker.now|The Now button text in the timepicker component"
1038
+ now="NOW"
1039
+
1040
+ i18n-nowLabel="kendo.datetimepicker.nowLabel|The label for the Now button in the timepicker component"
1041
+ nowLabel="Select now"
1042
+
1043
+ i18n-today="kendo.datetimepicker.today|The label for the today button in the calendar header"
1044
+ today="Today"
1045
+
1046
+ i18n-prevButtonTitle="kendo.datetimepicker.prevButtonTitle|The title of the previous button in the Classic calendar"
1047
+ prevButtonTitle="Navigate to previous view"
1048
+
1049
+ i18n-nextButtonTitle="kendo.datetimepicker.nextButtonTitle|The title of the next button in the Classic calendar"
1050
+ nextButtonTitle="Navigate to next view"
1051
+ >
1052
+ </ng-container>
1053
+
1054
+ <kendo-dateinput
1055
+ [value]="value"
1056
+ [format]="format"
1057
+ [twoDigitYearMax]="twoDigitYearMax"
1058
+ [min]="min"
1059
+ [max]="max"
1060
+ [incompleteDateValidation]="incompleteDateValidation"
1061
+ [formatPlaceholder]="formatPlaceholder"
1062
+ [placeholder]="placeholder"
1063
+ [disabled]="disabled"
1064
+ [readonly]="readonly || readOnlyInput"
1065
+ [role]="inputRole"
1066
+ [ariaReadOnly]="readonly"
1067
+ [steps]="steps"
1068
+ [tabindex]="tabindex"
1069
+ [title]="title"
1070
+ [focusableId]="focusableId"
1071
+ [hasPopup]="true"
1072
+ [isPopupOpen]="isOpen"
1073
+ (valueChange)="handleInputValueChange($event)"
1074
+ [kendoEventsOutsideAngular]="{
1075
+ keydown: handleKeyDown
1076
+ }"
1077
+ [scope]="this"
1078
+ [fillMode]="fillMode"
1079
+ [rounded]="rounded"
1080
+ [size]="size"
1081
+ >
1082
+ </kendo-dateinput>
1083
+ <button
1084
+ #toggleButton
1085
+ type="button"
1086
+ class="k-input-button k-button k-icon-button"
1087
+ [tabindex]="-1"
1088
+ [attr.title]="localization.get('toggle')"
1089
+ [attr.aria-label]="localization.get('toggle')"
1090
+ [kendoEventsOutsideAngular]="{
1091
+ mousedown: preventMouseDown,
1092
+ click: handleIconClick
1093
+ }"
1094
+ [scope]="this"
1095
+ >
1096
+ <span class="k-button-icon k-icon"
1097
+ [ngClass]="{
1098
+ 'k-i-calendar': activeTab === 'date',
1099
+ 'k-i-clock': activeTab === 'time'
1100
+ }"
1101
+ ></span>
1102
+ </button>
1103
+
1104
+ <ng-container #container></ng-container>
1105
+
1106
+ <ng-template #popupTemplate>
1107
+ <div
1108
+ class="k-datetime-wrap k-{{activeTab}}-tab"
1109
+ [kendoEventsOutsideAngular]="{
1110
+ mousedown: preventMouseDown,
1111
+ keydown: handleKeyDown
1112
+ }"
1113
+ [scope]="this"
1114
+ >
1115
+ <div class="k-datetime-buttongroup"
1116
+ [kendoEventsOutsideAngular]="{
1117
+ focusin: handleFocus,
1118
+ focusout: handleBlur
1119
+ }"
1120
+ [scope]="this"
1121
+ >
1122
+ <div class="k-button-group k-button-group-stretched">
1123
+ <button
1124
+ type="button"
1125
+ class="k-button k-group-start k-date-tab"
1126
+ [ngClass]="popupButtonsClasses()"
1127
+ [class.k-active]="activeTab === 'date'"
1128
+ [attr.title]="localization.get('dateTabLabel')"
1129
+ [attr.aria-label]="localization.get('dateTabLabel')"
1130
+ [kendoEventsOutsideAngular]="{
1131
+ click: changeActiveTab.bind(this, 'date'),
1132
+ keydown: handleBackTabOut
1133
+ }"
1134
+ [scope]="this"
1135
+ >
1136
+ {{localization.get('dateTab')}}
1137
+ </button>
1138
+ <button
1139
+ type="button"
1140
+ class="k-button k-group-end k-time-tab"
1141
+ [ngClass]="popupButtonsClasses()"
1142
+ [class.k-active]="activeTab === 'time'"
1143
+ [attr.title]="localization.get('timeTabLabel')"
1144
+ [attr.aria-label]="localization.get('timeTabLabel')"
1145
+ [kendoEventsOutsideAngular]="{
1146
+ click: changeActiveTab.bind(this, 'time')
1147
+ }"
1148
+ >
1149
+ {{localization.get('timeTab')}}
1150
+ </button>
1151
+ </div>
1152
+ </div>
1153
+ <div
1154
+ #dateTimeSelector
1155
+ class="k-datetime-selector"
1156
+ [style.transition]="tabSwitchTransition"
1157
+ [kendoEventsOutsideAngular]="{
1158
+ transitionend: handleTabChangeTransitionEnd.bind(this, dateTimeSelector)
1159
+ }"
1160
+ >
1161
+ <div class="k-datetime-calendar-wrap">
1162
+ <kendo-calendar
1163
+ [(value)]="calendarValue"
1164
+ [type]="calendarType"
1165
+ [min]="calendarMin"
1166
+ [max]="calendarMax"
1167
+ [focusedDate]="focusedDate"
1168
+ [weekNumber]="weekNumber"
1169
+ [navigation]="false"
1170
+ [animateNavigation]="animateCalendarNavigation"
1171
+ [cellTemplate]="cellTemplate"
1172
+ [monthCellTemplate]="monthCellTemplate"
1173
+ [yearCellTemplate]="yearCellTemplate"
1174
+ [decadeCellTemplate]="decadeCellTemplate"
1175
+ [centuryCellTemplate]="centuryCellTemplate"
1176
+ [weekNumberTemplate]="weekNumberTemplate"
1177
+ [headerTitleTemplate]="headerTitleTemplate"
1178
+ [disabled]="disableCalendar"
1179
+ [disabledDates]="disabledDates"
1180
+ (valueChange)="handleCalendarValueChange()"
1181
+ >
1182
+ <kendo-calendar-messages
1183
+ [today]="localization.get('today')"
1184
+ [prevButtonTitle]="localization.get('prevButtonTitle')"
1185
+ [nextButtonTitle]="localization.get('nextButtonTitle')"
1186
+ >
1187
+ </kendo-calendar-messages>
1188
+ </kendo-calendar>
1189
+ </div>
1190
+ <div class="k-datetime-time-wrap">
1191
+ <kendo-timeselector
1192
+ [value]="value"
1193
+ [format]="timeSelectorFormat"
1194
+ [min]="timeSelectorMin"
1195
+ [max]="timeSelectorMax"
1196
+ [setButton]="false"
1197
+ [cancelButton]="false"
1198
+ [steps]="steps"
1199
+ [disabled]="disableTimeSelector"
1200
+ >
1201
+ <kendo-timeselector-messages
1202
+ [now]="localization.get('now')"
1203
+ [nowLabel]="localization.get('nowLabel')"
1204
+ >
1205
+ </kendo-timeselector-messages>
1206
+ </kendo-timeselector>
1207
+ </div>
1208
+ </div>
1209
+ <div
1210
+ class="k-datetime-footer k-action-buttons k-actions k-hstack k-justify-content-stretch"
1211
+ [kendoEventsOutsideAngular]="{
1212
+ keydown: handleTabOut,
1213
+ focusin: handleFocus,
1214
+ focusout: handleBlur
1215
+ }"
1216
+ [scope]="this"
1217
+ >
1218
+ <button
1219
+ *ngIf="cancelButton"
1220
+ type="button"
1221
+ class="k-button k-time-cancel"
1222
+ [ngClass]="popupButtonsClasses()"
1223
+ [attr.title]="localization.get('cancelLabel')"
1224
+ [attr.aria-label]="localization.get('cancelLabel')"
1225
+ [kendoEventsOutsideAngular]="{
1226
+ click: handleCancel
1227
+ }"
1228
+ [scope]="this"
1229
+ >
1230
+ {{localization.get('cancel')}}
1231
+ </button>
1232
+ <button
1233
+ type="button"
1234
+ class="k-button k-time-accept"
1235
+ [ngClass]="popupButtonsClasses('primary')"
1236
+ [attr.title]="localization.get('acceptLabel')"
1237
+ [attr.aria-label]="localization.get('acceptLabel')"
1238
+ [disabled]="!calendarValue"
1239
+ [kendoEventsOutsideAngular]="{
1240
+ click: handleAccept
1241
+ }"
1242
+ [scope]="this"
1243
+ >
1244
+ {{localization.get('accept')}}
1245
+ </button>
1246
+ </div>
1247
+ </div>
1248
+ </ng-template>
1249
+ `, isInline: true, components: [{ type: i6.DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrect", "incompleteDateValidation", "twoDigitYearMax", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { type: i7.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i8.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { type: i9.TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "steps", "value"], outputs: ["valueChange", "valueReject"], exportAs: ["kendo-timeselector"] }, { type: i10.TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i13.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateTimePickerComponent, decorators: [{
1251
+ type: Component,
1252
+ args: [{
1253
+ selector: 'kendo-datetimepicker',
1254
+ exportAs: 'kendo-datetimepicker',
1255
+ changeDetection: ChangeDetectionStrategy.OnPush,
1256
+ providers: [
1257
+ PickerService,
1258
+ LocalizationService,
1259
+ DisabledDatesService,
1260
+ { provide: L10N_PREFIX, useValue: 'kendo.datetimepicker' },
1261
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
1262
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => DateTimePickerComponent), multi: true },
1263
+ { provide: KendoInput, useExisting: forwardRef(() => DateTimePickerComponent) }
1264
+ ],
1265
+ template: `
1195
1266
  <ng-container
1196
1267
  kendoDateTimePickerLocalizedMessages
1197
1268
 
@@ -1435,15 +1506,115 @@ DateTimePickerComponent = DateTimePickerComponent_1 = tslib_1.__decorate([
1435
1506
  </div>
1436
1507
  </ng-template>
1437
1508
  `
1438
- }),
1439
- tslib_1.__param(6, Inject(TOUCH_ENABLED)),
1440
- tslib_1.__metadata("design:paramtypes", [PopupService,
1441
- IntlService,
1442
- ChangeDetectorRef,
1443
- PickerService,
1444
- NgZone,
1445
- ElementRef, Boolean, LocalizationService,
1446
- DisabledDatesService,
1447
- Renderer2])
1448
- ], DateTimePickerComponent);
1449
- export { DateTimePickerComponent };
1509
+ }]
1510
+ }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i2.IntlService }, { type: i0.ChangeDetectorRef }, { type: i3.PickerService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: undefined, decorators: [{
1511
+ type: Inject,
1512
+ args: [TOUCH_ENABLED]
1513
+ }] }, { type: i4.LocalizationService }, { type: i5.DisabledDatesService }, { type: i0.Renderer2 }]; }, propDecorators: { hostClasses: [{
1514
+ type: HostBinding,
1515
+ args: ['class.k-datetimepicker']
1516
+ }, {
1517
+ type: HostBinding,
1518
+ args: ['class.k-input']
1519
+ }], disabledClass: [{
1520
+ type: HostBinding,
1521
+ args: ['class.k-disabled']
1522
+ }], toggleButton: [{
1523
+ type: ViewChild,
1524
+ args: ['toggleButton', { static: true }]
1525
+ }], value: [{
1526
+ type: Input
1527
+ }], format: [{
1528
+ type: Input
1529
+ }], twoDigitYearMax: [{
1530
+ type: Input
1531
+ }], tabindex: [{
1532
+ type: Input
1533
+ }], disabledDates: [{
1534
+ type: Input
1535
+ }], popupSettings: [{
1536
+ type: Input
1537
+ }], focusableId: [{
1538
+ type: Input
1539
+ }], title: [{
1540
+ type: Input
1541
+ }], disabled: [{
1542
+ type: Input
1543
+ }], readonly: [{
1544
+ type: Input
1545
+ }], readOnlyInput: [{
1546
+ type: Input
1547
+ }], cancelButton: [{
1548
+ type: Input
1549
+ }], formatPlaceholder: [{
1550
+ type: Input
1551
+ }], placeholder: [{
1552
+ type: Input
1553
+ }], steps: [{
1554
+ type: Input
1555
+ }], focusedDate: [{
1556
+ type: Input
1557
+ }], calendarType: [{
1558
+ type: Input
1559
+ }], animateCalendarNavigation: [{
1560
+ type: Input
1561
+ }], weekNumber: [{
1562
+ type: Input
1563
+ }], min: [{
1564
+ type: Input
1565
+ }], max: [{
1566
+ type: Input
1567
+ }], rangeValidation: [{
1568
+ type: Input
1569
+ }], disabledDatesValidation: [{
1570
+ type: Input
1571
+ }], incompleteDateValidation: [{
1572
+ type: Input
1573
+ }], valueChange: [{
1574
+ type: Output
1575
+ }], open: [{
1576
+ type: Output
1577
+ }], close: [{
1578
+ type: Output
1579
+ }], onFocus: [{
1580
+ type: Output,
1581
+ args: ['focus']
1582
+ }], onBlur: [{
1583
+ type: Output,
1584
+ args: ['blur']
1585
+ }], defaultTab: [{
1586
+ type: Input
1587
+ }], size: [{
1588
+ type: Input
1589
+ }], rounded: [{
1590
+ type: Input
1591
+ }], fillMode: [{
1592
+ type: Input
1593
+ }], cellTemplate: [{
1594
+ type: ContentChild,
1595
+ args: [CellTemplateDirective, { static: false }]
1596
+ }], monthCellTemplate: [{
1597
+ type: ContentChild,
1598
+ args: [MonthCellTemplateDirective, { static: false }]
1599
+ }], yearCellTemplate: [{
1600
+ type: ContentChild,
1601
+ args: [YearCellTemplateDirective, { static: false }]
1602
+ }], decadeCellTemplate: [{
1603
+ type: ContentChild,
1604
+ args: [DecadeCellTemplateDirective, { static: false }]
1605
+ }], centuryCellTemplate: [{
1606
+ type: ContentChild,
1607
+ args: [CenturyCellTemplateDirective, { static: false }]
1608
+ }], weekNumberTemplate: [{
1609
+ type: ContentChild,
1610
+ args: [WeekNumberCellTemplateDirective, { static: false }]
1611
+ }], headerTitleTemplate: [{
1612
+ type: ContentChild,
1613
+ args: [HeaderTitleTemplateDirective, { static: false }]
1614
+ }], container: [{
1615
+ type: ViewChild,
1616
+ args: ['container', { read: ViewContainerRef, static: true }]
1617
+ }], popupTemplate: [{
1618
+ type: ViewChild,
1619
+ args: ['popupTemplate', { read: TemplateRef, static: true }]
1620
+ }] } });