@progress/kendo-angular-dateinputs 6.0.4-dev.202203211102 → 7.0.0-dev.202204150726

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 (553) 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 +46 -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 +5 -5
  54. package/{dist/es2015/common → common}/models/rounded.d.ts +6 -6
  55. package/{dist/es2015/common → common}/models/size.d.ts +5 -5
  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 +34 -25
  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 +49 -37
  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 +3 -0
  75. package/{dist/es2015/daterange → daterange}/date-range-input.d.ts +2 -2
  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 +9 -4
  78. package/{dist/es2015/daterange → daterange}/date-range-selection.directive.d.ts +8 -3
  79. package/{dist/es2015/daterange → daterange}/date-range-start-input.directive.d.ts +3 -0
  80. package/{dist/es2015/daterange → daterange}/date-range.component.d.ts +5 -1
  81. package/{dist/es2015/daterange → daterange}/date-range.module.d.ts +15 -1
  82. package/{dist/es2015/daterange → daterange}/date-range.service.d.ts +11 -6
  83. package/{dist/es2015/datetimepicker → datetimepicker}/datetimepicker.component.d.ts +51 -36
  84. package/datetimepicker/datetimepicker.module.d.ts +25 -0
  85. package/{dist/es2015/datetimepicker → datetimepicker}/localization/datetimepicker-custom-messages.component.d.ts +4 -1
  86. package/{dist/es2015/datetimepicker → datetimepicker}/localization/localized-messages.directive.d.ts +3 -0
  87. package/{dist/es2015/datetimepicker → datetimepicker}/localization/messages.d.ts +3 -0
  88. package/{dist/es2015/datetimepicker → datetimepicker}/models/active-tab.type.d.ts +0 -0
  89. package/{dist/es2015/defaults.d.ts → defaults.d.ts} +0 -0
  90. package/esm2015/calendar/calendar-common.module.js +45 -0
  91. package/{dist/es2015 → esm2015}/calendar/calendar.component.js +283 -246
  92. package/{dist/es2015 → esm2015}/calendar/calendar.module.js +71 -34
  93. package/{dist/es2015 → esm2015}/calendar/calendars.module.js +23 -14
  94. package/{dist/es2015 → esm2015}/calendar/for.directive.js +17 -25
  95. package/{dist/es2015 → esm2015}/calendar/header.component.js +97 -73
  96. package/{dist/es2015 → esm2015}/calendar/horizontal-view-list.component.js +155 -130
  97. package/esm2015/calendar/localization/calendar-custom-messages.component.js +40 -0
  98. package/esm2015/calendar/localization/calendar-localized-messages.directive.js +36 -0
  99. package/esm2015/calendar/localization/calendar-messages.js +27 -0
  100. package/esm2015/calendar/localization/multiview-calendar-custom-messages.component.js +40 -0
  101. package/esm2015/calendar/localization/multiview-calendar-localized-messages.directive.js +36 -0
  102. package/esm2015/calendar/localization/multiview-calendar-messages.js +27 -0
  103. package/{dist/es → esm2015}/calendar/models/cell-context.interface.js +1 -0
  104. package/{dist/es2015 → esm2015}/calendar/models/keydown.interface.js +1 -0
  105. package/{dist/es → esm2015}/calendar/models/navigation-action.enum.js +0 -0
  106. package/{dist/es2015 → esm2015}/calendar/models/row-length-options.interface.js +1 -0
  107. package/{dist/es/virtualization → esm2015/calendar}/models/scrollable.interface.js +1 -0
  108. package/{dist/es → esm2015}/calendar/models/selection-range-end.type.js +1 -0
  109. package/{dist/es2015 → esm2015}/calendar/models/selection-range.interface.js +0 -0
  110. package/{dist/es → esm2015}/calendar/models/selection.js +1 -0
  111. package/{dist/es → esm2015}/calendar/models/type.js +1 -0
  112. package/{dist/es → esm2015}/calendar/models/view-service.interface.js +1 -0
  113. package/{dist/es → esm2015}/calendar/models/view.enum.js +0 -0
  114. package/{dist/es → esm2015}/calendar/models/view.type.js +1 -0
  115. package/{dist/es2015 → esm2015}/calendar/multiview-calendar.component.js +246 -298
  116. package/{dist/es2015 → esm2015}/calendar/multiview-calendar.module.js +63 -32
  117. package/{dist/es2015 → esm2015}/calendar/navigation.component.js +71 -62
  118. package/{dist/es2015 → esm2015}/calendar/services/bus-view.service.js +9 -11
  119. package/{dist/es2015 → esm2015}/calendar/services/century-view.service.js +8 -11
  120. package/{dist/es2015 → esm2015}/calendar/services/decade-view.service.js +8 -11
  121. package/{dist/es2015 → esm2015}/calendar/services/disabled-dates.service.js +8 -12
  122. package/{dist/es2015 → esm2015}/calendar/services/dom.service.js +10 -26
  123. package/{dist/es2015 → esm2015}/calendar/services/month-view.service.js +9 -10
  124. package/{dist/es2015 → esm2015}/calendar/services/navigation.service.js +9 -9
  125. package/{dist/es2015 → esm2015}/calendar/services/scroll-sync.service.js +10 -13
  126. package/{dist/es2015 → esm2015}/calendar/services/selection.service.js +9 -9
  127. package/{dist/es2015 → esm2015}/calendar/services/weeknames.service.js +9 -9
  128. package/{dist/es2015 → esm2015}/calendar/services/year-view.service.js +9 -13
  129. package/{dist/es2015 → esm2015}/calendar/templates/cell-template.directive.js +12 -11
  130. package/{dist/es2015 → esm2015}/calendar/templates/century-cell-template.directive.js +12 -11
  131. package/{dist/es2015 → esm2015}/calendar/templates/decade-cell-template.directive.js +12 -11
  132. package/{dist/es2015 → esm2015}/calendar/templates/header-title-template.directive.js +12 -11
  133. package/{dist/es2015 → esm2015}/calendar/templates/month-cell-template.directive.js +12 -11
  134. package/{dist/es2015 → esm2015}/calendar/templates/navigation-item-template.directive.js +12 -11
  135. package/{dist/es2015 → esm2015}/calendar/templates/weeknumber-cell-template.directive.js +12 -11
  136. package/{dist/es2015 → esm2015}/calendar/templates/year-cell-template.directive.js +12 -11
  137. package/esm2015/calendar/templates.module.js +73 -0
  138. package/{dist/es2015 → esm2015}/calendar/view-list.component.js +135 -120
  139. package/{dist/es2015 → esm2015}/calendar/view.component.js +105 -98
  140. package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -0
  141. package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
  142. package/{dist/es → esm2015}/common/models/rounded.js +1 -0
  143. package/{dist/es → esm2015}/common/models/size.js +1 -0
  144. package/{dist/es2015 → esm2015}/common/picker.service.js +0 -0
  145. package/{dist/es2015 → esm2015}/common/utils.js +0 -0
  146. package/{dist/es → esm2015}/dateinput/arrow.enum.js +0 -0
  147. package/{dist/es2015 → esm2015}/dateinput/dateinput.component.js +215 -216
  148. package/esm2015/dateinput/dateinput.module.js +41 -0
  149. package/esm2015/dateinput/localization/dateinput-custom-messages.component.js +40 -0
  150. package/esm2015/dateinput/localization/dateinput-localized-messages.directive.js +36 -0
  151. package/esm2015/dateinput/localization/messages.js +25 -0
  152. package/{dist/es → esm2015}/dateinput/models/format-placeholder.model.js +1 -0
  153. package/{dist/es → esm2015}/dateinput/models/format-settings.model.js +1 -0
  154. package/{dist/es → esm2015}/dateinput/models/incremental-steps.model.js +1 -0
  155. package/{dist/es2015 → esm2015}/dateinputs.module.js +28 -10
  156. package/{dist/es2015 → esm2015}/datepicker/datepicker.component.js +320 -317
  157. package/esm2015/datepicker/datepicker.module.js +72 -0
  158. package/esm2015/datepicker/localization/datepicker-custom-messages.component.js +40 -0
  159. package/esm2015/datepicker/localization/datepicker-localized-messages.directive.js +36 -0
  160. package/esm2015/datepicker/localization/messages.js +29 -0
  161. package/{dist/es → esm2015}/daterange/auto-correct-on.type.js +1 -0
  162. package/{dist/es2015 → esm2015}/daterange/date-range-end-input.directive.js +18 -25
  163. package/{dist/es2015 → esm2015}/daterange/date-range-input.js +0 -0
  164. package/esm2015/daterange/date-range-popup-template.directive.js +23 -0
  165. package/{dist/es2015 → esm2015}/daterange/date-range-popup.component.js +71 -89
  166. package/{dist/es2015 → esm2015}/daterange/date-range-selection.directive.js +26 -39
  167. package/{dist/es2015 → esm2015}/daterange/date-range-start-input.directive.js +18 -25
  168. package/esm2015/daterange/date-range.component.js +77 -0
  169. package/{dist/es2015 → esm2015}/daterange/date-range.module.js +27 -12
  170. package/{dist/es2015 → esm2015}/daterange/date-range.service.js +9 -14
  171. package/{dist/es2015 → esm2015}/datetimepicker/datetimepicker.component.js +436 -257
  172. package/esm2015/datetimepicker/datetimepicker.module.js +80 -0
  173. package/esm2015/datetimepicker/localization/datetimepicker-custom-messages.component.js +40 -0
  174. package/esm2015/datetimepicker/localization/localized-messages.directive.js +36 -0
  175. package/esm2015/datetimepicker/localization/messages.js +49 -0
  176. package/{dist/es → esm2015}/datetimepicker/models/active-tab.type.js +1 -0
  177. package/{dist/es2015 → esm2015}/defaults.js +0 -0
  178. package/esm2015/kendo-angular-dateinputs.js +8 -0
  179. package/{dist/es → esm2015}/main.js +24 -0
  180. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  181. package/{dist/es → esm2015}/popup-settings.model.js +1 -0
  182. package/{dist/es2015 → esm2015}/preventable-event.js +1 -0
  183. package/esm2015/timepicker/localization/messages.js +35 -0
  184. package/esm2015/timepicker/localization/timepicker-custom-messages.component.js +40 -0
  185. package/esm2015/timepicker/localization/timepicker-localized-messages.directive.js +36 -0
  186. package/esm2015/timepicker/localization/timeselector-custom-messages.component.js +42 -0
  187. package/esm2015/timepicker/localization/timeselector-localized-messages.directive.js +36 -0
  188. package/{dist/es → esm2015}/timepicker/models/incremental-steps.model.js +1 -0
  189. package/{dist/es → esm2015}/timepicker/models/list-item.interface.js +1 -0
  190. package/{dist/es → esm2015}/timepicker/models/list-service-settings.js +1 -0
  191. package/{dist/es → esm2015}/timepicker/models/list-service.interface.js +1 -0
  192. package/{dist/es2015 → esm2015}/timepicker/models/time-part.default.js +0 -0
  193. package/{dist/es2015 → esm2015}/timepicker/services/dayperiod.service.js +9 -15
  194. package/{dist/es2015 → esm2015}/timepicker/services/dom.service.js +8 -13
  195. package/{dist/es2015 → esm2015}/timepicker/services/hours.service.js +9 -14
  196. package/{dist/es2015 → esm2015}/timepicker/services/milliseconds.service.js +9 -14
  197. package/{dist/es2015 → esm2015}/timepicker/services/minutes.service.js +9 -14
  198. package/{dist/es2015 → esm2015}/timepicker/services/seconds.service.js +9 -14
  199. package/{dist/es2015 → esm2015}/timepicker/timelist.component.js +66 -61
  200. package/{dist/es2015 → esm2015}/timepicker/timepicker.component.js +251 -208
  201. package/{dist/es2015 → esm2015}/timepicker/timepicker.module.js +32 -15
  202. package/{dist/es2015 → esm2015}/timepicker/timeselector.component.js +181 -104
  203. package/{dist/es2015 → esm2015}/timepicker/util.js +8 -20
  204. package/{dist/es2015 → esm2015}/touch-enabled.js +0 -0
  205. package/{dist/es2015 → esm2015}/util.js +13 -6
  206. package/{dist/es2015 → esm2015}/validators/disabled-date.validator.js +0 -0
  207. package/{dist/es2015 → esm2015}/validators/disabled-dates-range.validator.js +0 -2
  208. package/{dist/es2015 → esm2015}/validators/incomplete-date.validator.js +0 -0
  209. package/{dist/es2015 → esm2015}/validators/max.validator.js +0 -0
  210. package/{dist/es2015 → esm2015}/validators/min.validator.js +0 -0
  211. package/{dist/es2015 → esm2015}/validators/time-range.validator.js +0 -0
  212. package/{dist/es2015/calendar → esm2015/virtualization}/models/scrollable.interface.js +1 -0
  213. package/{dist/es2015 → esm2015}/virtualization/services/row-height.service.js +1 -3
  214. package/{dist/es2015 → esm2015}/virtualization/services/scroller.service.js +0 -2
  215. package/{dist/es2015 → esm2015}/virtualization/virtualization.component.js +75 -90
  216. package/esm2015/virtualization/virtualization.module.js +30 -0
  217. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-dateinputs.js} +9763 -9156
  218. package/{dist/es/calendar/models/selection-range.interface.js → kendo-angular-dateinputs.d.ts} +3 -2
  219. package/{dist/es2015/main.d.ts → main.d.ts} +24 -0
  220. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  221. package/package.json +46 -119
  222. package/{dist/es2015/popup-settings.model.d.ts → popup-settings.model.d.ts} +0 -0
  223. package/{dist/es2015/preventable-event.d.ts → preventable-event.d.ts} +2 -0
  224. package/schematics/ngAdd/index.js +5 -2
  225. package/schematics/ngAdd/index.js.map +1 -1
  226. package/{dist/es2015/timepicker → timepicker}/localization/messages.d.ts +3 -0
  227. package/{dist/es2015/timepicker → timepicker}/localization/timepicker-custom-messages.component.d.ts +4 -1
  228. package/{dist/es2015/timepicker → timepicker}/localization/timepicker-localized-messages.directive.d.ts +3 -0
  229. package/{dist/es2015/timepicker → timepicker}/localization/timeselector-custom-messages.component.d.ts +4 -1
  230. package/{dist/es2015/timepicker → timepicker}/localization/timeselector-localized-messages.directive.d.ts +3 -0
  231. package/{dist/es2015/timepicker → timepicker}/models/incremental-steps.model.d.ts +0 -0
  232. package/{dist/es2015/timepicker → timepicker}/models/list-item.interface.d.ts +0 -0
  233. package/{dist/es2015/timepicker → timepicker}/models/list-service-settings.d.ts +0 -0
  234. package/{dist/es2015/timepicker → timepicker}/models/list-service.interface.d.ts +0 -0
  235. package/{dist/es2015/timepicker → timepicker}/models/time-part.default.d.ts +0 -0
  236. package/{dist/es2015/timepicker → timepicker}/services/dayperiod.service.d.ts +3 -0
  237. package/{dist/es2015/timepicker → timepicker}/services/dom.service.d.ts +3 -0
  238. package/{dist/es2015/timepicker → timepicker}/services/hours.service.d.ts +3 -0
  239. package/{dist/es2015/timepicker → timepicker}/services/milliseconds.service.d.ts +3 -0
  240. package/{dist/es2015/timepicker → timepicker}/services/minutes.service.d.ts +3 -0
  241. package/{dist/es2015/timepicker → timepicker}/services/seconds.service.d.ts +3 -0
  242. package/{dist/es2015/timepicker → timepicker}/timelist.component.d.ts +4 -1
  243. package/{dist/es2015/timepicker → timepicker}/timepicker.component.d.ts +45 -31
  244. package/timepicker/timepicker.module.d.ts +27 -0
  245. package/{dist/es2015/timepicker → timepicker}/timeselector.component.d.ts +10 -4
  246. package/{dist/es2015/timepicker → timepicker}/util.d.ts +0 -0
  247. package/{dist/es2015/touch-enabled.d.ts → touch-enabled.d.ts} +0 -0
  248. package/{dist/es2015/util.d.ts → util.d.ts} +12 -0
  249. package/{dist/es2015/validators → validators}/disabled-date.validator.d.ts +0 -0
  250. package/{dist/es2015/validators → validators}/disabled-dates-range.validator.d.ts +0 -0
  251. package/{dist/es2015/validators → validators}/incomplete-date.validator.d.ts +0 -0
  252. package/{dist/es2015/validators → validators}/max.validator.d.ts +0 -0
  253. package/{dist/es2015/validators → validators}/min.validator.d.ts +0 -0
  254. package/{dist/es2015/validators → validators}/time-range.validator.d.ts +0 -0
  255. package/{dist/es2015/virtualization → virtualization}/models/scrollable.interface.d.ts +0 -0
  256. package/{dist/es2015/virtualization → virtualization}/services/row-height.service.d.ts +0 -0
  257. package/{dist/es2015/virtualization → virtualization}/services/scroller.service.d.ts +0 -0
  258. package/{dist/es2015/virtualization → virtualization}/virtualization.component.d.ts +8 -5
  259. package/{dist/es2015/virtualization → virtualization}/virtualization.module.d.ts +6 -0
  260. package/dist/cdn/js/kendo-angular-dateinputs.js +0 -20
  261. package/dist/cdn/main.js +0 -5
  262. package/dist/es/calendar/calendar-common.module.js +0 -41
  263. package/dist/es/calendar/calendar.component.js +0 -1189
  264. package/dist/es/calendar/calendar.module.js +0 -108
  265. package/dist/es/calendar/calendars.module.js +0 -60
  266. package/dist/es/calendar/for.directive.js +0 -135
  267. package/dist/es/calendar/header.component.js +0 -170
  268. package/dist/es/calendar/horizontal-view-list.component.js +0 -363
  269. package/dist/es/calendar/localization/calendar-custom-messages.component.js +0 -43
  270. package/dist/es/calendar/localization/calendar-localized-messages.directive.js +0 -35
  271. package/dist/es/calendar/localization/calendar-messages.js +0 -30
  272. package/dist/es/calendar/localization/multiview-calendar-custom-messages.component.js +0 -43
  273. package/dist/es/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -35
  274. package/dist/es/calendar/localization/multiview-calendar-messages.js +0 -30
  275. package/dist/es/calendar/models/keydown.interface.js +0 -4
  276. package/dist/es/calendar/models/row-length-options.interface.js +0 -4
  277. package/dist/es/calendar/models/scrollable.interface.js +0 -4
  278. package/dist/es/calendar/multiview-calendar.component.js +0 -1122
  279. package/dist/es/calendar/multiview-calendar.module.js +0 -97
  280. package/dist/es/calendar/navigation.component.js +0 -173
  281. package/dist/es/calendar/services/bus-view.service.js +0 -83
  282. package/dist/es/calendar/services/century-view.service.js +0 -180
  283. package/dist/es/calendar/services/decade-view.service.js +0 -179
  284. package/dist/es/calendar/services/disabled-dates.service.js +0 -70
  285. package/dist/es/calendar/services/dom.service.js +0 -195
  286. package/dist/es/calendar/services/month-view.service.js +0 -203
  287. package/dist/es/calendar/services/navigation.service.js +0 -53
  288. package/dist/es/calendar/services/scroll-sync.service.js +0 -85
  289. package/dist/es/calendar/services/selection.service.js +0 -55
  290. package/dist/es/calendar/services/weeknames.service.js +0 -27
  291. package/dist/es/calendar/services/year-view.service.js +0 -204
  292. package/dist/es/calendar/templates/cell-template.directive.js +0 -46
  293. package/dist/es/calendar/templates/century-cell-template.directive.js +0 -45
  294. package/dist/es/calendar/templates/decade-cell-template.directive.js +0 -45
  295. package/dist/es/calendar/templates/header-title-template.directive.js +0 -44
  296. package/dist/es/calendar/templates/month-cell-template.directive.js +0 -43
  297. package/dist/es/calendar/templates/navigation-item-template.directive.js +0 -44
  298. package/dist/es/calendar/templates/weeknumber-cell-template.directive.js +0 -43
  299. package/dist/es/calendar/templates/year-cell-template.directive.js +0 -46
  300. package/dist/es/calendar/templates.module.js +0 -59
  301. package/dist/es/calendar/view-list.component.js +0 -301
  302. package/dist/es/calendar/view.component.js +0 -318
  303. package/dist/es/common/dom-queries.js +0 -24
  304. package/dist/es/common/picker.service.js +0 -18
  305. package/dist/es/common/utils.js +0 -35
  306. package/dist/es/dateinput/dateinput.component.js +0 -1617
  307. package/dist/es/dateinput/dateinput.module.js +0 -37
  308. package/dist/es/dateinput/localization/dateinput-custom-messages.component.js +0 -43
  309. package/dist/es/dateinput/localization/dateinput-localized-messages.directive.js +0 -35
  310. package/dist/es/dateinput/localization/messages.js +0 -26
  311. package/dist/es/dateinputs.module.js +0 -63
  312. package/dist/es/datepicker/datepicker.component.js +0 -1256
  313. package/dist/es/datepicker/datepicker.module.js +0 -55
  314. package/dist/es/datepicker/localization/datepicker-custom-messages.component.js +0 -43
  315. package/dist/es/datepicker/localization/datepicker-localized-messages.directive.js +0 -35
  316. package/dist/es/datepicker/localization/messages.js +0 -34
  317. package/dist/es/daterange/date-range-end-input.directive.js +0 -97
  318. package/dist/es/daterange/date-range-input.js +0 -131
  319. package/dist/es/daterange/date-range-popup-template.directive.js +0 -23
  320. package/dist/es/daterange/date-range-popup.component.js +0 -403
  321. package/dist/es/daterange/date-range-selection.directive.js +0 -230
  322. package/dist/es/daterange/date-range-start-input.directive.js +0 -97
  323. package/dist/es/daterange/date-range.component.js +0 -71
  324. package/dist/es/daterange/date-range.module.js +0 -83
  325. package/dist/es/daterange/date-range.service.js +0 -208
  326. package/dist/es/datetimepicker/datetimepicker.component.js +0 -1309
  327. package/dist/es/datetimepicker/datetimepicker.module.js +0 -57
  328. package/dist/es/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -43
  329. package/dist/es/datetimepicker/localization/localized-messages.directive.js +0 -35
  330. package/dist/es/datetimepicker/localization/messages.js +0 -74
  331. package/dist/es/defaults.js +0 -24
  332. package/dist/es/index.js +0 -63
  333. package/dist/es/package-metadata.js +0 -15
  334. package/dist/es/preventable-event.js +0 -29
  335. package/dist/es/timepicker/localization/messages.js +0 -46
  336. package/dist/es/timepicker/localization/timepicker-custom-messages.component.js +0 -43
  337. package/dist/es/timepicker/localization/timepicker-localized-messages.directive.js +0 -35
  338. package/dist/es/timepicker/localization/timeselector-custom-messages.component.js +0 -45
  339. package/dist/es/timepicker/localization/timeselector-localized-messages.directive.js +0 -35
  340. package/dist/es/timepicker/models/time-part.default.js +0 -14
  341. package/dist/es/timepicker/services/dayperiod.service.js +0 -130
  342. package/dist/es/timepicker/services/dom.service.js +0 -64
  343. package/dist/es/timepicker/services/hours.service.js +0 -129
  344. package/dist/es/timepicker/services/milliseconds.service.js +0 -130
  345. package/dist/es/timepicker/services/minutes.service.js +0 -127
  346. package/dist/es/timepicker/services/seconds.service.js +0 -127
  347. package/dist/es/timepicker/timelist.component.js +0 -297
  348. package/dist/es/timepicker/timepicker.component.js +0 -1044
  349. package/dist/es/timepicker/timepicker.module.js +0 -75
  350. package/dist/es/timepicker/timeselector.component.js +0 -486
  351. package/dist/es/timepicker/util.js +0 -82
  352. package/dist/es/touch-enabled.js +0 -9
  353. package/dist/es/util.js +0 -395
  354. package/dist/es/validators/disabled-date.validator.js +0 -18
  355. package/dist/es/validators/disabled-dates-range.validator.js +0 -28
  356. package/dist/es/validators/incomplete-date.validator.js +0 -18
  357. package/dist/es/validators/max.validator.js +0 -21
  358. package/dist/es/validators/min.validator.js +0 -21
  359. package/dist/es/validators/time-range.validator.js +0 -23
  360. package/dist/es/virtualization/services/row-height.service.js +0 -72
  361. package/dist/es/virtualization/services/scroller.service.js +0 -111
  362. package/dist/es/virtualization/virtualization.component.js +0 -343
  363. package/dist/es/virtualization/virtualization.module.js +0 -30
  364. package/dist/es2015/calendar/calendar-common.module.d.ts +0 -15
  365. package/dist/es2015/calendar/calendar-common.module.js +0 -38
  366. package/dist/es2015/calendar/localization/calendar-custom-messages.component.js +0 -35
  367. package/dist/es2015/calendar/localization/calendar-localized-messages.directive.js +0 -31
  368. package/dist/es2015/calendar/localization/calendar-messages.js +0 -24
  369. package/dist/es2015/calendar/localization/multiview-calendar-custom-messages.component.js +0 -35
  370. package/dist/es2015/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -31
  371. package/dist/es2015/calendar/localization/multiview-calendar-messages.js +0 -24
  372. package/dist/es2015/calendar/models/cell-context.interface.js +0 -4
  373. package/dist/es2015/calendar/models/navigation-action.enum.js +0 -20
  374. package/dist/es2015/calendar/models/selection-range-end.type.js +0 -4
  375. package/dist/es2015/calendar/models/selection.js +0 -4
  376. package/dist/es2015/calendar/models/type.js +0 -4
  377. package/dist/es2015/calendar/models/view-service.interface.js +0 -4
  378. package/dist/es2015/calendar/models/view.enum.js +0 -16
  379. package/dist/es2015/calendar/models/view.type.js +0 -4
  380. package/dist/es2015/calendar/templates.module.d.ts +0 -21
  381. package/dist/es2015/calendar/templates.module.js +0 -56
  382. package/dist/es2015/common/models/fillmode.js +0 -4
  383. package/dist/es2015/common/models/rounded.js +0 -4
  384. package/dist/es2015/common/models/size.js +0 -4
  385. package/dist/es2015/dateinput/arrow.enum.js +0 -13
  386. package/dist/es2015/dateinput/dateinput.module.d.ts +0 -10
  387. package/dist/es2015/dateinput/dateinput.module.js +0 -34
  388. package/dist/es2015/dateinput/localization/dateinput-custom-messages.component.js +0 -35
  389. package/dist/es2015/dateinput/localization/dateinput-localized-messages.directive.js +0 -31
  390. package/dist/es2015/dateinput/localization/messages.js +0 -20
  391. package/dist/es2015/dateinput/models/format-placeholder.model.js +0 -4
  392. package/dist/es2015/dateinput/models/format-settings.model.js +0 -4
  393. package/dist/es2015/dateinput/models/incremental-steps.model.js +0 -4
  394. package/dist/es2015/datepicker/datepicker.module.d.ts +0 -10
  395. package/dist/es2015/datepicker/datepicker.module.js +0 -52
  396. package/dist/es2015/datepicker/localization/datepicker-custom-messages.component.js +0 -35
  397. package/dist/es2015/datepicker/localization/datepicker-localized-messages.directive.js +0 -31
  398. package/dist/es2015/datepicker/localization/messages.js +0 -28
  399. package/dist/es2015/daterange/auto-correct-on.type.js +0 -4
  400. package/dist/es2015/daterange/date-range-popup-template.directive.js +0 -22
  401. package/dist/es2015/daterange/date-range.component.js +0 -68
  402. package/dist/es2015/datetimepicker/datetimepicker.module.d.ts +0 -10
  403. package/dist/es2015/datetimepicker/datetimepicker.module.js +0 -57
  404. package/dist/es2015/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -35
  405. package/dist/es2015/datetimepicker/localization/localized-messages.directive.js +0 -31
  406. package/dist/es2015/datetimepicker/localization/messages.js +0 -68
  407. package/dist/es2015/datetimepicker/models/active-tab.type.js +0 -4
  408. package/dist/es2015/index.d.ts +0 -63
  409. package/dist/es2015/index.js +0 -63
  410. package/dist/es2015/index.metadata.json +0 -1
  411. package/dist/es2015/main.js +0 -35
  412. package/dist/es2015/popup-settings.model.js +0 -4
  413. package/dist/es2015/timepicker/localization/messages.js +0 -40
  414. package/dist/es2015/timepicker/localization/timepicker-custom-messages.component.js +0 -35
  415. package/dist/es2015/timepicker/localization/timepicker-localized-messages.directive.js +0 -31
  416. package/dist/es2015/timepicker/localization/timeselector-custom-messages.component.js +0 -37
  417. package/dist/es2015/timepicker/localization/timeselector-localized-messages.directive.js +0 -31
  418. package/dist/es2015/timepicker/models/incremental-steps.model.js +0 -4
  419. package/dist/es2015/timepicker/models/list-item.interface.js +0 -4
  420. package/dist/es2015/timepicker/models/list-service-settings.js +0 -4
  421. package/dist/es2015/timepicker/models/list-service.interface.js +0 -4
  422. package/dist/es2015/timepicker/timepicker.module.d.ts +0 -10
  423. package/dist/es2015/virtualization/models/scrollable.interface.js +0 -4
  424. package/dist/es2015/virtualization/virtualization.module.js +0 -27
  425. package/dist/fesm5/index.js +0 -15216
  426. package/dist/npm/calendar/calendar-common.module.js +0 -43
  427. package/dist/npm/calendar/calendar.component.js +0 -1191
  428. package/dist/npm/calendar/calendar.module.js +0 -110
  429. package/dist/npm/calendar/calendars.module.js +0 -62
  430. package/dist/npm/calendar/for.directive.js +0 -138
  431. package/dist/npm/calendar/header.component.js +0 -172
  432. package/dist/npm/calendar/horizontal-view-list.component.js +0 -365
  433. package/dist/npm/calendar/localization/calendar-custom-messages.component.js +0 -45
  434. package/dist/npm/calendar/localization/calendar-localized-messages.directive.js +0 -37
  435. package/dist/npm/calendar/localization/calendar-messages.js +0 -32
  436. package/dist/npm/calendar/localization/multiview-calendar-custom-messages.component.js +0 -45
  437. package/dist/npm/calendar/localization/multiview-calendar-localized-messages.directive.js +0 -37
  438. package/dist/npm/calendar/localization/multiview-calendar-messages.js +0 -32
  439. package/dist/npm/calendar/models/cell-context.interface.js +0 -6
  440. package/dist/npm/calendar/models/keydown.interface.js +0 -6
  441. package/dist/npm/calendar/models/navigation-action.enum.js +0 -22
  442. package/dist/npm/calendar/models/row-length-options.interface.js +0 -6
  443. package/dist/npm/calendar/models/scrollable.interface.js +0 -6
  444. package/dist/npm/calendar/models/selection-range-end.type.js +0 -6
  445. package/dist/npm/calendar/models/selection-range.interface.js +0 -10
  446. package/dist/npm/calendar/models/selection.js +0 -6
  447. package/dist/npm/calendar/models/type.js +0 -6
  448. package/dist/npm/calendar/models/view-service.interface.js +0 -6
  449. package/dist/npm/calendar/models/view.enum.js +0 -18
  450. package/dist/npm/calendar/models/view.type.js +0 -6
  451. package/dist/npm/calendar/multiview-calendar.component.js +0 -1124
  452. package/dist/npm/calendar/multiview-calendar.module.js +0 -99
  453. package/dist/npm/calendar/navigation.component.js +0 -175
  454. package/dist/npm/calendar/services/bus-view.service.js +0 -85
  455. package/dist/npm/calendar/services/century-view.service.js +0 -182
  456. package/dist/npm/calendar/services/decade-view.service.js +0 -181
  457. package/dist/npm/calendar/services/disabled-dates.service.js +0 -72
  458. package/dist/npm/calendar/services/dom.service.js +0 -212
  459. package/dist/npm/calendar/services/month-view.service.js +0 -205
  460. package/dist/npm/calendar/services/navigation.service.js +0 -55
  461. package/dist/npm/calendar/services/scroll-sync.service.js +0 -88
  462. package/dist/npm/calendar/services/selection.service.js +0 -57
  463. package/dist/npm/calendar/services/weeknames.service.js +0 -29
  464. package/dist/npm/calendar/services/year-view.service.js +0 -207
  465. package/dist/npm/calendar/templates/cell-template.directive.js +0 -48
  466. package/dist/npm/calendar/templates/century-cell-template.directive.js +0 -47
  467. package/dist/npm/calendar/templates/decade-cell-template.directive.js +0 -47
  468. package/dist/npm/calendar/templates/header-title-template.directive.js +0 -46
  469. package/dist/npm/calendar/templates/month-cell-template.directive.js +0 -45
  470. package/dist/npm/calendar/templates/navigation-item-template.directive.js +0 -46
  471. package/dist/npm/calendar/templates/weeknumber-cell-template.directive.js +0 -45
  472. package/dist/npm/calendar/templates/year-cell-template.directive.js +0 -48
  473. package/dist/npm/calendar/templates.module.js +0 -61
  474. package/dist/npm/calendar/view-list.component.js +0 -303
  475. package/dist/npm/calendar/view.component.js +0 -320
  476. package/dist/npm/common/dom-queries.js +0 -26
  477. package/dist/npm/common/models/fillmode.js +0 -6
  478. package/dist/npm/common/models/rounded.js +0 -6
  479. package/dist/npm/common/models/size.js +0 -6
  480. package/dist/npm/common/picker.service.js +0 -20
  481. package/dist/npm/common/utils.js +0 -37
  482. package/dist/npm/dateinput/arrow.enum.js +0 -15
  483. package/dist/npm/dateinput/dateinput.component.js +0 -1620
  484. package/dist/npm/dateinput/dateinput.module.js +0 -39
  485. package/dist/npm/dateinput/localization/dateinput-custom-messages.component.js +0 -45
  486. package/dist/npm/dateinput/localization/dateinput-localized-messages.directive.js +0 -37
  487. package/dist/npm/dateinput/localization/messages.js +0 -28
  488. package/dist/npm/dateinput/models/format-placeholder.model.js +0 -6
  489. package/dist/npm/dateinput/models/format-settings.model.js +0 -6
  490. package/dist/npm/dateinput/models/incremental-steps.model.js +0 -6
  491. package/dist/npm/dateinputs.module.js +0 -65
  492. package/dist/npm/datepicker/datepicker.component.js +0 -1258
  493. package/dist/npm/datepicker/datepicker.module.js +0 -57
  494. package/dist/npm/datepicker/localization/datepicker-custom-messages.component.js +0 -45
  495. package/dist/npm/datepicker/localization/datepicker-localized-messages.directive.js +0 -37
  496. package/dist/npm/datepicker/localization/messages.js +0 -36
  497. package/dist/npm/daterange/auto-correct-on.type.js +0 -6
  498. package/dist/npm/daterange/date-range-end-input.directive.js +0 -99
  499. package/dist/npm/daterange/date-range-input.js +0 -133
  500. package/dist/npm/daterange/date-range-popup-template.directive.js +0 -25
  501. package/dist/npm/daterange/date-range-popup.component.js +0 -405
  502. package/dist/npm/daterange/date-range-selection.directive.js +0 -232
  503. package/dist/npm/daterange/date-range-start-input.directive.js +0 -99
  504. package/dist/npm/daterange/date-range.component.js +0 -73
  505. package/dist/npm/daterange/date-range.module.js +0 -85
  506. package/dist/npm/daterange/date-range.service.js +0 -211
  507. package/dist/npm/datetimepicker/datetimepicker.component.js +0 -1311
  508. package/dist/npm/datetimepicker/datetimepicker.module.js +0 -59
  509. package/dist/npm/datetimepicker/localization/datetimepicker-custom-messages.component.js +0 -45
  510. package/dist/npm/datetimepicker/localization/localized-messages.directive.js +0 -37
  511. package/dist/npm/datetimepicker/localization/messages.js +0 -76
  512. package/dist/npm/datetimepicker/models/active-tab.type.js +0 -6
  513. package/dist/npm/defaults.js +0 -26
  514. package/dist/npm/index.js +0 -127
  515. package/dist/npm/main.js +0 -68
  516. package/dist/npm/package-metadata.js +0 -17
  517. package/dist/npm/popup-settings.model.js +0 -6
  518. package/dist/npm/preventable-event.js +0 -31
  519. package/dist/npm/timepicker/localization/messages.js +0 -48
  520. package/dist/npm/timepicker/localization/timepicker-custom-messages.component.js +0 -45
  521. package/dist/npm/timepicker/localization/timepicker-localized-messages.directive.js +0 -37
  522. package/dist/npm/timepicker/localization/timeselector-custom-messages.component.js +0 -47
  523. package/dist/npm/timepicker/localization/timeselector-localized-messages.directive.js +0 -37
  524. package/dist/npm/timepicker/models/incremental-steps.model.js +0 -6
  525. package/dist/npm/timepicker/models/list-item.interface.js +0 -6
  526. package/dist/npm/timepicker/models/list-service-settings.js +0 -6
  527. package/dist/npm/timepicker/models/list-service.interface.js +0 -6
  528. package/dist/npm/timepicker/models/time-part.default.js +0 -16
  529. package/dist/npm/timepicker/services/dayperiod.service.js +0 -136
  530. package/dist/npm/timepicker/services/dom.service.js +0 -70
  531. package/dist/npm/timepicker/services/hours.service.js +0 -134
  532. package/dist/npm/timepicker/services/milliseconds.service.js +0 -135
  533. package/dist/npm/timepicker/services/minutes.service.js +0 -132
  534. package/dist/npm/timepicker/services/seconds.service.js +0 -132
  535. package/dist/npm/timepicker/timelist.component.js +0 -299
  536. package/dist/npm/timepicker/timepicker.component.js +0 -1046
  537. package/dist/npm/timepicker/timepicker.module.js +0 -77
  538. package/dist/npm/timepicker/timeselector.component.js +0 -488
  539. package/dist/npm/timepicker/util.js +0 -101
  540. package/dist/npm/touch-enabled.js +0 -11
  541. package/dist/npm/util.js +0 -399
  542. package/dist/npm/validators/disabled-date.validator.js +0 -20
  543. package/dist/npm/validators/disabled-dates-range.validator.js +0 -30
  544. package/dist/npm/validators/incomplete-date.validator.js +0 -20
  545. package/dist/npm/validators/max.validator.js +0 -23
  546. package/dist/npm/validators/min.validator.js +0 -23
  547. package/dist/npm/validators/time-range.validator.js +0 -25
  548. package/dist/npm/virtualization/models/scrollable.interface.js +0 -6
  549. package/dist/npm/virtualization/services/row-height.service.js +0 -74
  550. package/dist/npm/virtualization/services/scroller.service.js +0 -113
  551. package/dist/npm/virtualization/virtualization.component.js +0 -346
  552. package/dist/npm/virtualization/virtualization.module.js +0 -32
  553. package/dist/systemjs/kendo-angular-dateinputs.js +0 -5
@@ -2,13 +2,9 @@
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
- /* tslint:disable:max-line-length */
6
- import * as tslib_1 from "tslib";
7
- var DatePickerComponent_1;
8
- import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, TemplateRef, EventEmitter, HostBinding, Renderer2, Input, Output, ContentChild, ViewChild, ViewContainerRef, NgZone, Inject, Optional, forwardRef, isDevMode, Injector } from '@angular/core';
5
+ import { Component, ChangeDetectionStrategy, EventEmitter, HostBinding, Input, Output, ContentChild, ViewChild, ViewContainerRef, Inject, Optional, forwardRef, isDevMode } from '@angular/core';
9
6
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
10
7
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
11
- import { PopupService } from '@progress/kendo-angular-popup';
12
8
  import { cloneDate } from '@progress/kendo-date-math';
13
9
  import { hasObservers, KendoInput, guid, Keys } from '@progress/kendo-angular-common';
14
10
  import { validatePackage } from '@progress/kendo-licensing';
@@ -28,12 +24,22 @@ import { HeaderTitleTemplateDirective } from '../calendar/templates/header-title
28
24
  import { NavigationItemTemplateDirective } from '../calendar/templates/navigation-item-template.directive';
29
25
  import { PickerService } from '../common/picker.service';
30
26
  import { DisabledDatesService } from '../calendar/services/disabled-dates.service';
31
- import { noop, isValidRange, setTime, isWindowAvailable, isTabExitingCalendar, getSizeClass, getRoundedClass, getFillModeClass } from '../util';
27
+ import { noop, isValidRange, setTime, isWindowAvailable, isTabExitingCalendar, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE } from '../util';
32
28
  import { TOUCH_ENABLED } from '../touch-enabled';
33
29
  import { requiresZoneOnBlur, currentFocusTarget } from '../common/utils';
34
30
  import { fromEvent } from 'rxjs';
35
31
  import { incompleteDateValidator } from '../validators/incomplete-date.validator';
36
32
  import { disabledDatesValidator } from '../validators/disabled-date.validator';
33
+ import * as i0 from "@angular/core";
34
+ import * as i1 from "@progress/kendo-angular-l10n";
35
+ import * as i2 from "@progress/kendo-angular-popup";
36
+ import * as i3 from "../common/picker.service";
37
+ import * as i4 from "../calendar/services/disabled-dates.service";
38
+ import * as i5 from "../dateinput/dateinput.component";
39
+ import * as i6 from "../calendar/calendar.component";
40
+ import * as i7 from "../calendar/localization/calendar-custom-messages.component";
41
+ import * as i8 from "./localization/datepicker-localized-messages.directive";
42
+ import * as i9 from "@progress/kendo-angular-common";
37
43
  const MIN_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DatePickerComponent/#toc-min';
38
44
  const MAX_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/DatePickerComponent/#toc-max';
39
45
  const VALUE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/#toc-using-with-json';
@@ -42,7 +48,7 @@ const TWO_DIGIT_YEAR_MAX = 68;
42
48
  /**
43
49
  * Represents the [Kendo UI DatePicker component for Angular]({% slug overview_datepicker %}#toc-basic-usage).
44
50
  */
45
- let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
51
+ export class DatePickerComponent {
46
52
  constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService, touchEnabled) {
47
53
  this.zone = zone;
48
54
  this.localization = localization;
@@ -221,7 +227,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
221
227
  * }
222
228
  * ```
223
229
  */
224
- this.onFocus = new EventEmitter(); //tslint:disable-line:no-output-rename
230
+ this.onFocus = new EventEmitter();
225
231
  /**
226
232
  * Fires each time the input element gets blurred
227
233
  * ([more information and example]({% slug overview_datepicker %}#toc-events)).
@@ -243,7 +249,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
243
249
  * }
244
250
  * ```
245
251
  */
246
- this.onBlur = new EventEmitter(); //tslint:disable-line:no-output-rename
252
+ this.onBlur = new EventEmitter();
247
253
  /**
248
254
  * Fires each time the popup is about to open.
249
255
  * This event is preventable. If you cancel the event, the popup will remain closed
@@ -274,9 +280,9 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
274
280
  this.incompleteValidator = noop;
275
281
  this.resolvedPromise = Promise.resolve(null);
276
282
  this.domEvents = [];
277
- this._size = 'medium';
278
- this._rounded = 'medium';
279
- this._fillMode = 'solid';
283
+ this._size = DEFAULT_SIZE;
284
+ this._rounded = DEFAULT_ROUNDED;
285
+ this._fillMode = DEFAULT_FILL_MODE;
280
286
  validatePackage(packageMetadata);
281
287
  this.pickerSubscriptions = this.pickerService.onFocus.subscribe(this.handleFocus.bind(this));
282
288
  this.pickerSubscriptions.add(this.pickerService.onBlur.subscribe(this.handleBlur.bind(this)));
@@ -382,20 +388,21 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
382
388
  * Sets the size of the component.
383
389
  *
384
390
  * The possible values are:
385
- * * `'small'`
386
- * * `'medium'` (Default)
387
- * * `'large'`
388
- * * `null`
391
+ * * `small`
392
+ * * `medium` (Default)
393
+ * * `large`
394
+ * * `none`
389
395
  *
390
396
  */
391
397
  set size(size) {
392
398
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
393
399
  this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('input', this.size));
394
- if (size) {
395
- this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', size));
396
- this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('input', size));
400
+ const newSize = size ? size : DEFAULT_SIZE;
401
+ if (newSize !== 'none') {
402
+ this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
403
+ this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('input', newSize));
397
404
  }
398
- this._size = size;
405
+ this._size = newSize;
399
406
  }
400
407
  get size() {
401
408
  return this._size;
@@ -404,19 +411,20 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
404
411
  * Sets the border radius of the component.
405
412
  *
406
413
  * The possible values are:
407
- * * `'small'`
408
- * * `'medium'` (Default)
409
- * * `'large'`
410
- * * `'full'`
411
- * * `null`
414
+ * * `small`
415
+ * * `medium` (Default)
416
+ * * `large`
417
+ * * `full`
418
+ * * `none`
412
419
  *
413
420
  */
414
421
  set rounded(rounded) {
415
422
  this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
416
- if (rounded) {
417
- this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(rounded));
423
+ const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
424
+ if (newRounded !== 'none') {
425
+ this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
418
426
  }
419
- this._rounded = rounded;
427
+ this._rounded = newRounded;
420
428
  }
421
429
  get rounded() {
422
430
  return this._rounded;
@@ -425,22 +433,23 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
425
433
  * Sets the fillMode of the component.
426
434
  *
427
435
  * The possible values are:
428
- * * `'solid'` (Default)
429
- * * `'flat'`
430
- * * `'outline'`
431
- * * `null`
436
+ * * `solid` (Default)
437
+ * * `flat`
438
+ * * `outline`
439
+ * * `none`
432
440
  *
433
441
  */
434
442
  set fillMode(fillMode) {
435
443
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
436
444
  this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
437
445
  this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
438
- if (fillMode) {
439
- this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
440
- this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${fillMode}-base`);
441
- this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
446
+ const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
447
+ if (newFillMode !== 'none') {
448
+ this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', newFillMode));
449
+ this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${newFillMode}-base`);
450
+ this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
442
451
  }
443
- this._fillMode = fillMode;
452
+ this._fillMode = newFillMode;
444
453
  }
445
454
  get fillMode() {
446
455
  return this._fillMode;
@@ -614,7 +623,7 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
614
623
  * Blurs the DatePicker component.
615
624
  */
616
625
  blur() {
617
- (this.calendar || this.input)['blur'](); //tslint:disable-line:no-string-literal
626
+ (this.calendar || this.input)['blur']();
618
627
  }
619
628
  /**
620
629
  * Toggles the visibility of the popup. If you use the `toggle` method to show or hide the popup,
@@ -716,9 +725,6 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
716
725
  this.show = false;
717
726
  }
718
727
  }
719
- if (keyCode === Keys.Enter && target.classList.contains('k-calendar')) {
720
- e.preventDefault(); // Don't submit form on date selection in popup
721
- }
722
728
  if (keyCode === Keys.Tab && this.show && this.calendar.isActive && isTabExitingCalendar(this.calendarType, target, shiftKey)) {
723
729
  this.input.focus();
724
730
  this.show = false;
@@ -876,266 +882,20 @@ let DatePickerComponent = DatePickerComponent_1 = class DatePickerComponent {
876
882
  this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
877
883
  }
878
884
  }
879
- };
880
- tslib_1.__decorate([
881
- ViewChild('container', { read: ViewContainerRef, static: true }),
882
- tslib_1.__metadata("design:type", ViewContainerRef)
883
- ], DatePickerComponent.prototype, "container", void 0);
884
- tslib_1.__decorate([
885
- ViewChild('popupTemplate', { static: true }),
886
- tslib_1.__metadata("design:type", TemplateRef)
887
- ], DatePickerComponent.prototype, "popupTemplate", void 0);
888
- tslib_1.__decorate([
889
- ViewChild('toggleButton', { static: true }),
890
- tslib_1.__metadata("design:type", ElementRef)
891
- ], DatePickerComponent.prototype, "toggleButton", void 0);
892
- tslib_1.__decorate([
893
- ContentChild(CellTemplateDirective, { static: false }),
894
- tslib_1.__metadata("design:type", CellTemplateDirective)
895
- ], DatePickerComponent.prototype, "cellTemplate", void 0);
896
- tslib_1.__decorate([
897
- Input('cellTemplate'),
898
- tslib_1.__metadata("design:type", CellTemplateDirective),
899
- tslib_1.__metadata("design:paramtypes", [CellTemplateDirective])
900
- ], DatePickerComponent.prototype, "cellTemplateRef", null);
901
- tslib_1.__decorate([
902
- ContentChild(MonthCellTemplateDirective, { static: false }),
903
- tslib_1.__metadata("design:type", MonthCellTemplateDirective)
904
- ], DatePickerComponent.prototype, "monthCellTemplate", void 0);
905
- tslib_1.__decorate([
906
- Input('monthCellTemplate'),
907
- tslib_1.__metadata("design:type", MonthCellTemplateDirective),
908
- tslib_1.__metadata("design:paramtypes", [MonthCellTemplateDirective])
909
- ], DatePickerComponent.prototype, "monthCellTemplateRef", null);
910
- tslib_1.__decorate([
911
- ContentChild(YearCellTemplateDirective, { static: false }),
912
- tslib_1.__metadata("design:type", YearCellTemplateDirective)
913
- ], DatePickerComponent.prototype, "yearCellTemplate", void 0);
914
- tslib_1.__decorate([
915
- Input('yearCellTemplate'),
916
- tslib_1.__metadata("design:type", YearCellTemplateDirective),
917
- tslib_1.__metadata("design:paramtypes", [YearCellTemplateDirective])
918
- ], DatePickerComponent.prototype, "yearCellTemplateRef", null);
919
- tslib_1.__decorate([
920
- ContentChild(DecadeCellTemplateDirective, { static: false }),
921
- tslib_1.__metadata("design:type", DecadeCellTemplateDirective)
922
- ], DatePickerComponent.prototype, "decadeCellTemplate", void 0);
923
- tslib_1.__decorate([
924
- Input('decadeCellTemplate'),
925
- tslib_1.__metadata("design:type", DecadeCellTemplateDirective),
926
- tslib_1.__metadata("design:paramtypes", [DecadeCellTemplateDirective])
927
- ], DatePickerComponent.prototype, "decadeCellTemplateRef", null);
928
- tslib_1.__decorate([
929
- ContentChild(CenturyCellTemplateDirective, { static: false }),
930
- tslib_1.__metadata("design:type", CenturyCellTemplateDirective)
931
- ], DatePickerComponent.prototype, "centuryCellTemplate", void 0);
932
- tslib_1.__decorate([
933
- Input('centuryCellTemplate'),
934
- tslib_1.__metadata("design:type", CenturyCellTemplateDirective),
935
- tslib_1.__metadata("design:paramtypes", [CenturyCellTemplateDirective])
936
- ], DatePickerComponent.prototype, "centuryCellTemplateRef", null);
937
- tslib_1.__decorate([
938
- ContentChild(WeekNumberCellTemplateDirective, { static: false }),
939
- tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective)
940
- ], DatePickerComponent.prototype, "weekNumberTemplate", void 0);
941
- tslib_1.__decorate([
942
- Input('weekNumberTemplate'),
943
- tslib_1.__metadata("design:type", WeekNumberCellTemplateDirective),
944
- tslib_1.__metadata("design:paramtypes", [WeekNumberCellTemplateDirective])
945
- ], DatePickerComponent.prototype, "weekNumberTemplateRef", null);
946
- tslib_1.__decorate([
947
- ContentChild(HeaderTitleTemplateDirective, { static: false }),
948
- tslib_1.__metadata("design:type", HeaderTitleTemplateDirective)
949
- ], DatePickerComponent.prototype, "headerTitleTemplate", void 0);
950
- tslib_1.__decorate([
951
- Input('headerTitleTemplate'),
952
- tslib_1.__metadata("design:type", HeaderTitleTemplateDirective),
953
- tslib_1.__metadata("design:paramtypes", [HeaderTitleTemplateDirective])
954
- ], DatePickerComponent.prototype, "headerTitleTemplateRef", null);
955
- tslib_1.__decorate([
956
- ContentChild(NavigationItemTemplateDirective, { static: false }),
957
- tslib_1.__metadata("design:type", NavigationItemTemplateDirective)
958
- ], DatePickerComponent.prototype, "navigationItemTemplate", void 0);
959
- tslib_1.__decorate([
960
- Input('navigationItemTemplate'),
961
- tslib_1.__metadata("design:type", NavigationItemTemplateDirective),
962
- tslib_1.__metadata("design:paramtypes", [NavigationItemTemplateDirective])
963
- ], DatePickerComponent.prototype, "navigationItemTemplateRef", null);
964
- tslib_1.__decorate([
965
- Input(),
966
- tslib_1.__metadata("design:type", String)
967
- ], DatePickerComponent.prototype, "focusableId", void 0);
968
- tslib_1.__decorate([
969
- Input(),
970
- tslib_1.__metadata("design:type", String)
971
- ], DatePickerComponent.prototype, "activeView", void 0);
972
- tslib_1.__decorate([
973
- Input(),
974
- tslib_1.__metadata("design:type", String)
975
- ], DatePickerComponent.prototype, "bottomView", void 0);
976
- tslib_1.__decorate([
977
- Input(),
978
- tslib_1.__metadata("design:type", String)
979
- ], DatePickerComponent.prototype, "topView", void 0);
980
- tslib_1.__decorate([
981
- Input(),
982
- tslib_1.__metadata("design:type", String)
983
- ], DatePickerComponent.prototype, "calendarType", void 0);
984
- tslib_1.__decorate([
985
- Input(),
986
- tslib_1.__metadata("design:type", Boolean)
987
- ], DatePickerComponent.prototype, "animateCalendarNavigation", void 0);
988
- tslib_1.__decorate([
989
- Input(),
990
- tslib_1.__metadata("design:type", Boolean)
991
- ], DatePickerComponent.prototype, "disabled", void 0);
992
- tslib_1.__decorate([
993
- Input(),
994
- tslib_1.__metadata("design:type", Boolean)
995
- ], DatePickerComponent.prototype, "readonly", void 0);
996
- tslib_1.__decorate([
997
- Input(),
998
- tslib_1.__metadata("design:type", Boolean)
999
- ], DatePickerComponent.prototype, "readOnlyInput", void 0);
1000
- tslib_1.__decorate([
1001
- Input(),
1002
- tslib_1.__metadata("design:type", Object),
1003
- tslib_1.__metadata("design:paramtypes", [Object])
1004
- ], DatePickerComponent.prototype, "popupSettings", null);
1005
- tslib_1.__decorate([
1006
- Input(),
1007
- tslib_1.__metadata("design:type", Boolean)
1008
- ], DatePickerComponent.prototype, "navigation", void 0);
1009
- tslib_1.__decorate([
1010
- Input(),
1011
- tslib_1.__metadata("design:type", Date)
1012
- ], DatePickerComponent.prototype, "min", void 0);
1013
- tslib_1.__decorate([
1014
- Input(),
1015
- tslib_1.__metadata("design:type", Date)
1016
- ], DatePickerComponent.prototype, "max", void 0);
1017
- tslib_1.__decorate([
1018
- Input(),
1019
- tslib_1.__metadata("design:type", Boolean)
1020
- ], DatePickerComponent.prototype, "incompleteDateValidation", void 0);
1021
- tslib_1.__decorate([
1022
- Input(),
1023
- tslib_1.__metadata("design:type", Date)
1024
- ], DatePickerComponent.prototype, "focusedDate", void 0);
1025
- tslib_1.__decorate([
1026
- Input(),
1027
- tslib_1.__metadata("design:type", Date),
1028
- tslib_1.__metadata("design:paramtypes", [Date])
1029
- ], DatePickerComponent.prototype, "value", null);
1030
- tslib_1.__decorate([
1031
- Input(),
1032
- tslib_1.__metadata("design:type", Object)
1033
- ], DatePickerComponent.prototype, "format", void 0);
1034
- tslib_1.__decorate([
1035
- Input(),
1036
- tslib_1.__metadata("design:type", Number)
1037
- ], DatePickerComponent.prototype, "twoDigitYearMax", void 0);
1038
- tslib_1.__decorate([
1039
- Input(),
1040
- tslib_1.__metadata("design:type", Object)
1041
- ], DatePickerComponent.prototype, "formatPlaceholder", void 0);
1042
- tslib_1.__decorate([
1043
- Input(),
1044
- tslib_1.__metadata("design:type", String)
1045
- ], DatePickerComponent.prototype, "placeholder", void 0);
1046
- tslib_1.__decorate([
1047
- Input(),
1048
- tslib_1.__metadata("design:type", Number)
1049
- ], DatePickerComponent.prototype, "tabindex", void 0);
1050
- tslib_1.__decorate([
1051
- Input(),
1052
- tslib_1.__metadata("design:type", Number),
1053
- tslib_1.__metadata("design:paramtypes", [Number])
1054
- ], DatePickerComponent.prototype, "tabIndex", null);
1055
- tslib_1.__decorate([
1056
- Input(),
1057
- tslib_1.__metadata("design:type", Object),
1058
- tslib_1.__metadata("design:paramtypes", [Object])
1059
- ], DatePickerComponent.prototype, "disabledDates", null);
1060
- tslib_1.__decorate([
1061
- Input(),
1062
- tslib_1.__metadata("design:type", String)
1063
- ], DatePickerComponent.prototype, "title", void 0);
1064
- tslib_1.__decorate([
1065
- Input(),
1066
- tslib_1.__metadata("design:type", Boolean)
1067
- ], DatePickerComponent.prototype, "rangeValidation", void 0);
1068
- tslib_1.__decorate([
1069
- Input(),
1070
- tslib_1.__metadata("design:type", Boolean)
1071
- ], DatePickerComponent.prototype, "disabledDatesValidation", void 0);
1072
- tslib_1.__decorate([
1073
- Input(),
1074
- tslib_1.__metadata("design:type", Boolean)
1075
- ], DatePickerComponent.prototype, "weekNumber", void 0);
1076
- tslib_1.__decorate([
1077
- Input(),
1078
- tslib_1.__metadata("design:type", String),
1079
- tslib_1.__metadata("design:paramtypes", [String])
1080
- ], DatePickerComponent.prototype, "size", null);
1081
- tslib_1.__decorate([
1082
- Input(),
1083
- tslib_1.__metadata("design:type", String),
1084
- tslib_1.__metadata("design:paramtypes", [String])
1085
- ], DatePickerComponent.prototype, "rounded", null);
1086
- tslib_1.__decorate([
1087
- Input(),
1088
- tslib_1.__metadata("design:type", String),
1089
- tslib_1.__metadata("design:paramtypes", [String])
1090
- ], DatePickerComponent.prototype, "fillMode", null);
1091
- tslib_1.__decorate([
1092
- Output(),
1093
- tslib_1.__metadata("design:type", EventEmitter)
1094
- ], DatePickerComponent.prototype, "valueChange", void 0);
1095
- tslib_1.__decorate([
1096
- Output('focus'),
1097
- tslib_1.__metadata("design:type", EventEmitter)
1098
- ], DatePickerComponent.prototype, "onFocus", void 0);
1099
- tslib_1.__decorate([
1100
- Output('blur'),
1101
- tslib_1.__metadata("design:type", EventEmitter)
1102
- ], DatePickerComponent.prototype, "onBlur", void 0);
1103
- tslib_1.__decorate([
1104
- Output(),
1105
- tslib_1.__metadata("design:type", EventEmitter)
1106
- ], DatePickerComponent.prototype, "open", void 0);
1107
- tslib_1.__decorate([
1108
- Output(),
1109
- tslib_1.__metadata("design:type", EventEmitter)
1110
- ], DatePickerComponent.prototype, "close", void 0);
1111
- tslib_1.__decorate([
1112
- HostBinding('class.k-datepicker'),
1113
- HostBinding('class.k-input'),
1114
- tslib_1.__metadata("design:type", Boolean)
1115
- ], DatePickerComponent.prototype, "wrapperClasses", void 0);
1116
- tslib_1.__decorate([
1117
- HostBinding('class.k-disabled'),
1118
- tslib_1.__metadata("design:type", Boolean),
1119
- tslib_1.__metadata("design:paramtypes", [])
1120
- ], DatePickerComponent.prototype, "disabledClass", null);
1121
- DatePickerComponent = DatePickerComponent_1 = tslib_1.__decorate([
1122
- Component({
1123
- changeDetection: ChangeDetectionStrategy.OnPush,
1124
- exportAs: 'kendo-datepicker',
1125
- providers: [
1126
- { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent_1), multi: true },
1127
- { provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent_1), multi: true },
1128
- { provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent_1) },
1129
- LocalizationService,
1130
- PickerService,
1131
- DisabledDatesService,
1132
- {
1133
- provide: L10N_PREFIX,
1134
- useValue: 'kendo.datepicker'
1135
- }
1136
- ],
1137
- selector: 'kendo-datepicker',
1138
- template: `
885
+ }
886
+ DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i3.PickerService }, { token: i4.DisabledDatesService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
887
+ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], focusableId: "focusableId", activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { properties: { "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
888
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
889
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
890
+ { provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
891
+ LocalizationService,
892
+ PickerService,
893
+ DisabledDatesService,
894
+ {
895
+ provide: L10N_PREFIX,
896
+ useValue: 'kendo.datepicker'
897
+ }
898
+ ], queries: [{ propertyName: "cellTemplate", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "monthCellTemplate", first: true, predicate: MonthCellTemplateDirective, descendants: true }, { propertyName: "yearCellTemplate", first: true, predicate: YearCellTemplateDirective, descendants: true }, { propertyName: "decadeCellTemplate", first: true, predicate: DecadeCellTemplateDirective, descendants: true }, { propertyName: "centuryCellTemplate", first: true, predicate: CenturyCellTemplateDirective, descendants: true }, { propertyName: "weekNumberTemplate", first: true, predicate: WeekNumberCellTemplateDirective, descendants: true }, { propertyName: "headerTitleTemplate", first: true, predicate: HeaderTitleTemplateDirective, descendants: true }, { propertyName: "navigationItemTemplate", first: true, predicate: NavigationItemTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }], exportAs: ["kendo-datepicker"], usesOnChanges: true, ngImport: i0, template: `
1139
899
  <ng-container kendoDatePickerLocalizedMessages
1140
900
  i18n-today="kendo.datepicker.today|The label for the today button in the calendar header"
1141
901
  today="Today"
@@ -1168,9 +928,120 @@ DatePickerComponent = DatePickerComponent_1 = tslib_1.__decorate([
1168
928
  [min]="min"
1169
929
  [max]="max"
1170
930
  [incompleteDateValidation]="incompleteDateValidation"
1171
- [fillMode]="null"
1172
- [rounded]="null"
1173
- [size]="null"
931
+ fillMode="none"
932
+ rounded="none"
933
+ size="none"
934
+ [value]="value"
935
+ (valueChange)="handleInputChange($event)"
936
+ ></kendo-dateinput>
937
+ <button
938
+ #toggleButton
939
+ type="button"
940
+ class="k-input-button k-button k-icon-button"
941
+ [tabindex]="-1"
942
+ [attr.title]="localization.get('toggle')"
943
+ [attr.aria-label]="localization.get('toggle')"
944
+ [kendoEventsOutsideAngular]="{
945
+ click: handleIconClick,
946
+ mousedown: handleMousedown
947
+ }"
948
+ [scope]="this"
949
+ >
950
+ <span class="k-button-icon k-icon k-i-calendar"></span>
951
+ </button>
952
+ <ng-container #container></ng-container>
953
+ <ng-template #popupTemplate>
954
+ <kendo-calendar
955
+ #calendar
956
+ [type]="calendarType"
957
+ [min]="min"
958
+ [max]="max"
959
+ [navigation]="navigation"
960
+ [animateNavigation]="animateCalendarNavigation"
961
+ [activeView]="activeView"
962
+ [bottomView]="bottomView"
963
+ [topView]="topView"
964
+ [weekNumber]="weekNumber"
965
+ [cellTemplate]="cellTemplate"
966
+ [monthCellTemplate]="monthCellTemplate"
967
+ [yearCellTemplate]="yearCellTemplate"
968
+ [decadeCellTemplate]="decadeCellTemplate"
969
+ [centuryCellTemplate]="centuryCellTemplate"
970
+ [weekNumberTemplate]="weekNumberTemplate"
971
+ [headerTitleTemplate]="headerTitleTemplate"
972
+ [navigationItemTemplate]="navigationItemTemplate"
973
+ [focusedDate]="focusedDate"
974
+ [value]="value"
975
+ (valueChange)="handleChange(mergeTime($event))"
976
+ [kendoEventsOutsideAngular]="{
977
+ keydown: handleKeydown
978
+ }"
979
+ [scope]="this"
980
+ [disabledDates]="disabledDates"
981
+ >
982
+ <kendo-calendar-messages
983
+ [today]="localization.get('today')"
984
+ [prevButtonTitle]="localization.get('prevButtonTitle')"
985
+ [nextButtonTitle]="localization.get('nextButtonTitle')"
986
+ >
987
+ </kendo-calendar-messages>
988
+ </kendo-calendar>
989
+ <ng-template>
990
+ `, isInline: true, components: [{ type: i5.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: i6.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: i7.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i8.DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DatePickerComponent, decorators: [{
992
+ type: Component,
993
+ args: [{
994
+ changeDetection: ChangeDetectionStrategy.OnPush,
995
+ exportAs: 'kendo-datepicker',
996
+ providers: [
997
+ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
998
+ { provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
999
+ { provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
1000
+ LocalizationService,
1001
+ PickerService,
1002
+ DisabledDatesService,
1003
+ {
1004
+ provide: L10N_PREFIX,
1005
+ useValue: 'kendo.datepicker'
1006
+ }
1007
+ ],
1008
+ selector: 'kendo-datepicker',
1009
+ template: `
1010
+ <ng-container kendoDatePickerLocalizedMessages
1011
+ i18n-today="kendo.datepicker.today|The label for the today button in the calendar header"
1012
+ today="Today"
1013
+
1014
+ i18n-toggle="kendo.datepicker.toggle|The title of the toggle button in the datepicker component"
1015
+ toggle="Toggle calendar"
1016
+
1017
+ i18n-prevButtonTitle="kendo.datepicker.prevButtonTitle|The title of the previous button in the Classic calendar"
1018
+ prevButtonTitle="Navigate to previous view"
1019
+
1020
+ i18n-nextButtonTitle="kendo.datepicker.nextButtonTitle|The title of the next button in the Classic calendar"
1021
+ nextButtonTitle="Navigate to next view"
1022
+ >
1023
+ </ng-container>
1024
+ <kendo-dateinput
1025
+ #input
1026
+ [role]="inputRole"
1027
+ [focusableId]="focusableId"
1028
+ [hasPopup]="true"
1029
+ [isPopupOpen]="show"
1030
+ [disabled]="disabled"
1031
+ [readonly]="readonly || readOnlyInput"
1032
+ [ariaReadOnly]="readonly"
1033
+ [tabindex]="tabindex"
1034
+ [title]="title"
1035
+ [format]="format"
1036
+ [twoDigitYearMax]="twoDigitYearMax"
1037
+ [formatPlaceholder]="formatPlaceholder"
1038
+ [placeholder]="placeholder"
1039
+ [min]="min"
1040
+ [max]="max"
1041
+ [incompleteDateValidation]="incompleteDateValidation"
1042
+ fillMode="none"
1043
+ rounded="none"
1044
+ size="none"
1174
1045
  [value]="value"
1175
1046
  (valueChange)="handleInputChange($event)"
1176
1047
  ></kendo-dateinput>
@@ -1228,16 +1099,148 @@ DatePickerComponent = DatePickerComponent_1 = tslib_1.__decorate([
1228
1099
  </kendo-calendar>
1229
1100
  <ng-template>
1230
1101
  `
1231
- }),
1232
- tslib_1.__param(9, Optional()), tslib_1.__param(9, Inject(TOUCH_ENABLED)),
1233
- tslib_1.__metadata("design:paramtypes", [NgZone,
1234
- LocalizationService,
1235
- ChangeDetectorRef,
1236
- PopupService,
1237
- ElementRef,
1238
- Renderer2,
1239
- Injector,
1240
- PickerService,
1241
- DisabledDatesService, Boolean])
1242
- ], DatePickerComponent);
1243
- export { DatePickerComponent };
1102
+ }]
1103
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i2.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i3.PickerService }, { type: i4.DisabledDatesService }, { type: undefined, decorators: [{
1104
+ type: Optional
1105
+ }, {
1106
+ type: Inject,
1107
+ args: [TOUCH_ENABLED]
1108
+ }] }]; }, propDecorators: { container: [{
1109
+ type: ViewChild,
1110
+ args: ['container', { read: ViewContainerRef, static: true }]
1111
+ }], popupTemplate: [{
1112
+ type: ViewChild,
1113
+ args: ['popupTemplate', { static: true }]
1114
+ }], toggleButton: [{
1115
+ type: ViewChild,
1116
+ args: ['toggleButton', { static: true }]
1117
+ }], cellTemplate: [{
1118
+ type: ContentChild,
1119
+ args: [CellTemplateDirective, { static: false }]
1120
+ }], cellTemplateRef: [{
1121
+ type: Input,
1122
+ args: ['cellTemplate']
1123
+ }], monthCellTemplate: [{
1124
+ type: ContentChild,
1125
+ args: [MonthCellTemplateDirective, { static: false }]
1126
+ }], monthCellTemplateRef: [{
1127
+ type: Input,
1128
+ args: ['monthCellTemplate']
1129
+ }], yearCellTemplate: [{
1130
+ type: ContentChild,
1131
+ args: [YearCellTemplateDirective, { static: false }]
1132
+ }], yearCellTemplateRef: [{
1133
+ type: Input,
1134
+ args: ['yearCellTemplate']
1135
+ }], decadeCellTemplate: [{
1136
+ type: ContentChild,
1137
+ args: [DecadeCellTemplateDirective, { static: false }]
1138
+ }], decadeCellTemplateRef: [{
1139
+ type: Input,
1140
+ args: ['decadeCellTemplate']
1141
+ }], centuryCellTemplate: [{
1142
+ type: ContentChild,
1143
+ args: [CenturyCellTemplateDirective, { static: false }]
1144
+ }], centuryCellTemplateRef: [{
1145
+ type: Input,
1146
+ args: ['centuryCellTemplate']
1147
+ }], weekNumberTemplate: [{
1148
+ type: ContentChild,
1149
+ args: [WeekNumberCellTemplateDirective, { static: false }]
1150
+ }], weekNumberTemplateRef: [{
1151
+ type: Input,
1152
+ args: ['weekNumberTemplate']
1153
+ }], headerTitleTemplate: [{
1154
+ type: ContentChild,
1155
+ args: [HeaderTitleTemplateDirective, { static: false }]
1156
+ }], headerTitleTemplateRef: [{
1157
+ type: Input,
1158
+ args: ['headerTitleTemplate']
1159
+ }], navigationItemTemplate: [{
1160
+ type: ContentChild,
1161
+ args: [NavigationItemTemplateDirective, { static: false }]
1162
+ }], navigationItemTemplateRef: [{
1163
+ type: Input,
1164
+ args: ['navigationItemTemplate']
1165
+ }], focusableId: [{
1166
+ type: Input
1167
+ }], activeView: [{
1168
+ type: Input
1169
+ }], bottomView: [{
1170
+ type: Input
1171
+ }], topView: [{
1172
+ type: Input
1173
+ }], calendarType: [{
1174
+ type: Input
1175
+ }], animateCalendarNavigation: [{
1176
+ type: Input
1177
+ }], disabled: [{
1178
+ type: Input
1179
+ }], readonly: [{
1180
+ type: Input
1181
+ }], readOnlyInput: [{
1182
+ type: Input
1183
+ }], popupSettings: [{
1184
+ type: Input
1185
+ }], navigation: [{
1186
+ type: Input
1187
+ }], min: [{
1188
+ type: Input
1189
+ }], max: [{
1190
+ type: Input
1191
+ }], incompleteDateValidation: [{
1192
+ type: Input
1193
+ }], focusedDate: [{
1194
+ type: Input
1195
+ }], value: [{
1196
+ type: Input
1197
+ }], format: [{
1198
+ type: Input
1199
+ }], twoDigitYearMax: [{
1200
+ type: Input
1201
+ }], formatPlaceholder: [{
1202
+ type: Input
1203
+ }], placeholder: [{
1204
+ type: Input
1205
+ }], tabindex: [{
1206
+ type: Input
1207
+ }], tabIndex: [{
1208
+ type: Input
1209
+ }], disabledDates: [{
1210
+ type: Input
1211
+ }], title: [{
1212
+ type: Input
1213
+ }], rangeValidation: [{
1214
+ type: Input
1215
+ }], disabledDatesValidation: [{
1216
+ type: Input
1217
+ }], weekNumber: [{
1218
+ type: Input
1219
+ }], size: [{
1220
+ type: Input
1221
+ }], rounded: [{
1222
+ type: Input
1223
+ }], fillMode: [{
1224
+ type: Input
1225
+ }], valueChange: [{
1226
+ type: Output
1227
+ }], onFocus: [{
1228
+ type: Output,
1229
+ args: ['focus']
1230
+ }], onBlur: [{
1231
+ type: Output,
1232
+ args: ['blur']
1233
+ }], open: [{
1234
+ type: Output
1235
+ }], close: [{
1236
+ type: Output
1237
+ }], wrapperClasses: [{
1238
+ type: HostBinding,
1239
+ args: ['class.k-datepicker']
1240
+ }, {
1241
+ type: HostBinding,
1242
+ args: ['class.k-input']
1243
+ }], disabledClass: [{
1244
+ type: HostBinding,
1245
+ args: ['class.k-disabled']
1246
+ }] } });