@progress/kendo-angular-dateinputs 6.0.3 → 7.0.0-dev.202204191043

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 +42 -115
  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
@@ -1,97 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- import { NgModule } from '@angular/core';
7
- import { CommonModule } from '@angular/common';
8
- import { IntlModule } from '@progress/kendo-angular-intl';
9
- import { PopupModule } from '@progress/kendo-angular-popup';
10
- import { EventsModule } from '@progress/kendo-angular-common';
11
- import { CalendarCommonModule } from './calendar-common.module';
12
- import { TemplatesModule } from './templates.module';
13
- import { HorizontalViewListComponent } from './horizontal-view-list.component';
14
- import { MultiViewCalendarComponent } from './multiview-calendar.component';
15
- import { MultiViewCalendarLocalizedMessagesDirective } from './localization/multiview-calendar-localized-messages.directive';
16
- import { MultiViewCalendarCustomMessagesComponent } from './localization/multiview-calendar-custom-messages.component';
17
- import { NavigationService } from './services/navigation.service';
18
- import { CenturyViewService } from './services/century-view.service';
19
- import { DecadeViewService } from './services/decade-view.service';
20
- import { MonthViewService } from './services/month-view.service';
21
- import { YearViewService } from './services/year-view.service';
22
- import { WeekNamesService } from './services/weeknames.service';
23
- /**
24
- * The package exports:
25
- * - `CellTemplateDirective`—The month cell template directive.
26
- * - `MonthCellTemplateDirective`—The month cell template directive.
27
- * - `YearCellTemplateDirective`—The year cell template directive.
28
- * - `DecadeCellTemplateDirective`—The decade cell template directive.
29
- * - `CenturyCellTemplateDirective`—The century cell template directive.
30
- * - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
31
- * - `HeaderTitleTemplateDirective`—The header title template directive.
32
- *
33
- * @example
34
- *
35
- * ```ts-no-run
36
- * // Import the MultiViewCalendar module
37
- * import { MultiViewCalendarModule } from '@progress/kendo-angular-dateinputs';
38
- *
39
- * // The browser platform with a compiler
40
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
41
- *
42
- * import { NgModule } from '@angular/core';
43
- *
44
- * // Import the app component
45
- * import { AppComponent } from './app.component';
46
- *
47
- * // Define the app module
48
- * _@NgModule({
49
- * declarations: [AppComponent], // declare app component
50
- * imports: [BrowserModule, MultiViewCalendarModule], // import MultiViewCalendar module
51
- * bootstrap: [AppComponent]
52
- * })
53
- * export class AppModule {}
54
- *
55
- * // Compile and launch the module
56
- * platformBrowserDynamic().bootstrapModule(AppModule);
57
- */
58
- var MultiViewCalendarModule = /** @class */ (function () {
59
- function MultiViewCalendarModule() {
60
- }
61
- MultiViewCalendarModule = tslib_1.__decorate([
62
- NgModule({
63
- declarations: [
64
- HorizontalViewListComponent,
65
- MultiViewCalendarLocalizedMessagesDirective,
66
- MultiViewCalendarCustomMessagesComponent,
67
- MultiViewCalendarComponent
68
- ],
69
- exports: [
70
- HorizontalViewListComponent,
71
- MultiViewCalendarLocalizedMessagesDirective,
72
- MultiViewCalendarCustomMessagesComponent,
73
- MultiViewCalendarComponent,
74
- CalendarCommonModule,
75
- TemplatesModule
76
- ],
77
- imports: [
78
- CommonModule,
79
- CalendarCommonModule,
80
- IntlModule,
81
- TemplatesModule,
82
- PopupModule,
83
- EventsModule
84
- ],
85
- providers: [
86
- NavigationService,
87
- CenturyViewService,
88
- DecadeViewService,
89
- MonthViewService,
90
- YearViewService,
91
- WeekNamesService
92
- ]
93
- })
94
- ], MultiViewCalendarModule);
95
- return MultiViewCalendarModule;
96
- }());
97
- export { MultiViewCalendarModule };
@@ -1,173 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- /* tslint:disable:component-selector-name component-selector-type */
7
- import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, EventEmitter, HostBinding, Input, Output, Renderer2, TemplateRef, ViewChild } from '@angular/core';
8
- import { IntlService } from '@progress/kendo-angular-intl';
9
- import { BusViewService } from './services/bus-view.service';
10
- import { CalendarDOMService } from './services/dom.service';
11
- import { CalendarViewEnum } from './models/view.enum';
12
- import { VirtualizationComponent } from '../virtualization/virtualization.component';
13
- import { MIN_DATE, MAX_DATE } from '../defaults';
14
- import { cloneDate } from '@progress/kendo-date-math';
15
- import { dateInRange } from '../util';
16
- import { closestInScope } from '../common/dom-queries';
17
- var ITEMS_COUNT = 30;
18
- /**
19
- * @hidden
20
- */
21
- var NavigationComponent = /** @class */ (function () {
22
- function NavigationComponent(bus, dom, intl, cdr, renderer) {
23
- this.bus = bus;
24
- this.dom = dom;
25
- this.intl = intl;
26
- this.cdr = cdr;
27
- this.renderer = renderer;
28
- this.min = new Date(MIN_DATE);
29
- this.max = new Date(MAX_DATE);
30
- this.focusedDate = new Date();
31
- this.valueChange = new EventEmitter();
32
- this.pageChange = new EventEmitter();
33
- this.dates = [];
34
- this.take = ITEMS_COUNT;
35
- this.indexToScroll = -1;
36
- }
37
- Object.defineProperty(NavigationComponent.prototype, "getComponentClass", {
38
- get: function () {
39
- return true;
40
- },
41
- enumerable: true,
42
- configurable: true
43
- });
44
- NavigationComponent.prototype.ngOnInit = function () {
45
- this.dom.ensureHeights();
46
- var calendarHeight = this.dom.calendarHeight;
47
- this.itemHeight = this.dom.navigationItemHeight;
48
- this.maxViewHeight = this.dom.monthViewHeight;
49
- this.topOffset = (calendarHeight - this.itemHeight) / 2;
50
- this.bottomOffset = calendarHeight - this.itemHeight;
51
- this.intlSubscription = this.intl.changes.subscribe(this.intlChange.bind(this));
52
- };
53
- NavigationComponent.prototype.ngOnChanges = function (changes) {
54
- this.service = this.bus.service(this.activeView);
55
- if (!this.service) {
56
- return;
57
- }
58
- this.activeViewValue = CalendarViewEnum[this.activeView];
59
- var viewDate = dateInRange(this.focusedDate, this.min, this.max);
60
- var total = this.service.total(this.min, this.max);
61
- var totalChanged = this.total && this.total !== total;
62
- this.skip = this.service.skip(viewDate, this.min);
63
- this.total = total;
64
- if (totalChanged || !this.service.isInArray(viewDate, this.dates)) {
65
- this.dates = this.service.datesList(viewDate, this.getTake(this.skip));
66
- }
67
- if (!!changes.focusedDate || totalChanged) {
68
- this.indexToScroll = this.service.skip(this.focusedDate, this.min);
69
- }
70
- };
71
- NavigationComponent.prototype.ngOnDestroy = function () {
72
- if (this.intlSubscription) {
73
- this.intlSubscription.unsubscribe();
74
- }
75
- };
76
- NavigationComponent.prototype.ngAfterViewInit = function () {
77
- if (this.indexToScroll === -1) {
78
- return;
79
- }
80
- this.virtualization.scrollToIndex(this.indexToScroll);
81
- this.indexToScroll = -1;
82
- };
83
- NavigationComponent.prototype.ngAfterViewChecked = function () {
84
- if (this.indexToScroll === -1) {
85
- return;
86
- }
87
- this.virtualization.scrollToIndex(this.indexToScroll);
88
- this.indexToScroll = -1;
89
- };
90
- NavigationComponent.prototype.onPageChange = function (_a) {
91
- var skip = _a.skip;
92
- this.dates = this.service.datesList(this.service.addToDate(this.min, skip), this.getTake(skip));
93
- this.pageChange.emit();
94
- };
95
- NavigationComponent.prototype.scrollChange = function (_a) {
96
- var offset = _a.offset;
97
- var el = this.list.nativeElement;
98
- var translate = "translateY(" + offset + "px)";
99
- this.renderer.setStyle(el, 'transform', translate);
100
- this.renderer.setStyle(el, '-ms-transform', translate);
101
- };
102
- NavigationComponent.prototype.handleDateChange = function (args) {
103
- var item = closestInScope(args.target, function (node) { return node.hasAttribute('data-date-index'); }, this.list.nativeElement);
104
- if (item) {
105
- var index = parseInt(item.getAttribute('data-date-index'), 10);
106
- var candidate = this.dates[index];
107
- this.valueChange.emit(cloneDate(candidate));
108
- }
109
- };
110
- NavigationComponent.prototype.getTake = function (skip) {
111
- return Math.min(this.total - skip, this.take);
112
- };
113
- NavigationComponent.prototype.intlChange = function () {
114
- if (this.activeView === CalendarViewEnum.month) {
115
- this.cdr.markForCheck();
116
- }
117
- };
118
- tslib_1.__decorate([
119
- Input(),
120
- tslib_1.__metadata("design:type", Number)
121
- ], NavigationComponent.prototype, "activeView", void 0);
122
- tslib_1.__decorate([
123
- Input(),
124
- tslib_1.__metadata("design:type", Date)
125
- ], NavigationComponent.prototype, "min", void 0);
126
- tslib_1.__decorate([
127
- Input(),
128
- tslib_1.__metadata("design:type", Date)
129
- ], NavigationComponent.prototype, "max", void 0);
130
- tslib_1.__decorate([
131
- Input(),
132
- tslib_1.__metadata("design:type", Date)
133
- ], NavigationComponent.prototype, "focusedDate", void 0);
134
- tslib_1.__decorate([
135
- Input(),
136
- tslib_1.__metadata("design:type", TemplateRef)
137
- ], NavigationComponent.prototype, "templateRef", void 0);
138
- tslib_1.__decorate([
139
- Output(),
140
- tslib_1.__metadata("design:type", EventEmitter)
141
- ], NavigationComponent.prototype, "valueChange", void 0);
142
- tslib_1.__decorate([
143
- Output(),
144
- tslib_1.__metadata("design:type", EventEmitter)
145
- ], NavigationComponent.prototype, "pageChange", void 0);
146
- tslib_1.__decorate([
147
- ViewChild(VirtualizationComponent, { static: false }),
148
- tslib_1.__metadata("design:type", VirtualizationComponent)
149
- ], NavigationComponent.prototype, "virtualization", void 0);
150
- tslib_1.__decorate([
151
- ViewChild('list', { static: true }),
152
- tslib_1.__metadata("design:type", ElementRef)
153
- ], NavigationComponent.prototype, "list", void 0);
154
- tslib_1.__decorate([
155
- HostBinding("class.k-calendar-navigation"),
156
- tslib_1.__metadata("design:type", Boolean),
157
- tslib_1.__metadata("design:paramtypes", [])
158
- ], NavigationComponent.prototype, "getComponentClass", null);
159
- NavigationComponent = tslib_1.__decorate([
160
- Component({
161
- changeDetection: ChangeDetectionStrategy.OnPush,
162
- selector: 'kendo-calendar-navigation',
163
- template: "\n <span class=\"k-calendar-navigation-highlight\"></span>\n <kendo-virtualization\n [skip]=\"skip\"\n [take]=\"take\"\n [total]=\"total\"\n [itemHeight]=\"itemHeight\"\n [topOffset]=\"topOffset\"\n [bottomOffset]=\"bottomOffset\"\n [maxScrollDifference]=\"maxViewHeight\"\n (pageChange)=\"onPageChange($event)\"\n (scrollChange)=\"scrollChange($event)\"\n >\n <ul #list class=\"k-reset\" [kendoEventsOutsideAngular]=\"{ click: handleDateChange }\" [scope]=\"this\">\n <li *kFor=\"let date of dates; let index=index\" [attr.data-date-index]=\"index\">\n <span [class.k-calendar-navigation-marker]=\"service.isRangeStart(date)\">\n <ng-template [ngIf]=\"!templateRef\">{{service.navigationTitle(date)}}</ng-template>\n <ng-template\n [ngIf]=\"templateRef\"\n [ngTemplateOutlet]=\"templateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: service.navigationTitle(date), activeView: activeViewValue, date: date }\"\n ></ng-template>\n </span>\n </li>\n </ul>\n </kendo-virtualization>\n "
164
- }),
165
- tslib_1.__metadata("design:paramtypes", [BusViewService,
166
- CalendarDOMService,
167
- IntlService,
168
- ChangeDetectorRef,
169
- Renderer2])
170
- ], NavigationComponent);
171
- return NavigationComponent;
172
- }());
173
- export { NavigationComponent };
@@ -1,83 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- var _a;
7
- import { EventEmitter, Injectable, Injector } from '@angular/core';
8
- import { CenturyViewService } from '../services/century-view.service';
9
- import { DecadeViewService } from '../services/decade-view.service';
10
- import { MonthViewService } from '../services/month-view.service';
11
- import { YearViewService } from '../services/year-view.service';
12
- import { CalendarViewEnum } from '../models/view.enum';
13
- var services = (_a = {},
14
- _a[CalendarViewEnum.month] = MonthViewService,
15
- _a[CalendarViewEnum.year] = YearViewService,
16
- _a[CalendarViewEnum.decade] = DecadeViewService,
17
- _a[CalendarViewEnum.century] = CenturyViewService,
18
- _a);
19
- var viewOffset = function (view, offset) {
20
- var candidate = CalendarViewEnum[CalendarViewEnum[view + offset]];
21
- return candidate !== undefined ? candidate : view;
22
- };
23
- var ɵ0 = viewOffset;
24
- /**
25
- * @hidden
26
- */
27
- var BusViewService = /** @class */ (function () {
28
- function BusViewService(injector) {
29
- this.injector = injector;
30
- this.viewChanged = new EventEmitter();
31
- this.bottom = CalendarViewEnum.month;
32
- this.top = CalendarViewEnum.century;
33
- }
34
- BusViewService.prototype.configure = function (bottom, top) {
35
- this.bottom = bottom;
36
- this.top = top;
37
- };
38
- BusViewService.prototype.service = function (view) {
39
- var serviceType = services[view];
40
- return serviceType ? this.injector.get(serviceType) : null;
41
- };
42
- BusViewService.prototype.moveDown = function (view) {
43
- this.move(view, -1);
44
- };
45
- BusViewService.prototype.moveUp = function (view) {
46
- this.move(view, 1);
47
- };
48
- BusViewService.prototype.moveToBottom = function (activeView) {
49
- if (activeView === this.bottom) {
50
- return;
51
- }
52
- this.viewChanged.emit({ view: this.bottom });
53
- };
54
- BusViewService.prototype.canMoveDown = function (view) {
55
- return this.bottom < view;
56
- };
57
- BusViewService.prototype.canMoveUp = function (view) {
58
- return view < this.top;
59
- };
60
- BusViewService.prototype.clamp = function (view) {
61
- if (view < this.bottom) {
62
- return this.bottom;
63
- }
64
- if (view > this.top) {
65
- return this.top;
66
- }
67
- return view;
68
- };
69
- BusViewService.prototype.move = function (view, offset) {
70
- var candidate = this.clamp(viewOffset(view, offset));
71
- if (candidate === view) {
72
- return;
73
- }
74
- this.viewChanged.emit({ view: candidate });
75
- };
76
- BusViewService = tslib_1.__decorate([
77
- Injectable(),
78
- tslib_1.__metadata("design:paramtypes", [Injector])
79
- ], BusViewService);
80
- return BusViewService;
81
- }());
82
- export { BusViewService };
83
- export { ɵ0 };
@@ -1,180 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as tslib_1 from "tslib";
6
- var _a;
7
- /* tslint:disable:object-literal-sort-keys */
8
- import { Injectable } from '@angular/core';
9
- import { addDecades, addCenturies, cloneDate, durationInCenturies, firstYearOfDecade, firstDecadeOfCentury, lastDecadeOfCentury, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth } from '@progress/kendo-date-math';
10
- import { Action } from '../models/navigation-action.enum';
11
- import { EMPTY_SELECTIONRANGE } from '../models/selection-range.interface';
12
- import { getToday, isInSelectionRange, range } from '../../util';
13
- import { isPresent } from '../../common/utils';
14
- var EMPTY_DATA = [[]];
15
- var CELLS_LENGTH = 4;
16
- var ROWS_LENGTH = 3;
17
- var ACTIONS = (_a = {},
18
- _a[Action.Left] = function (date) { return addDecades(date, -1); },
19
- _a[Action.Up] = function (date) { return addDecades(date, -5); },
20
- _a[Action.Right] = function (date) { return addDecades(date, 1); },
21
- _a[Action.Down] = function (date) { return addDecades(date, 5); },
22
- _a[Action.PrevView] = function (date) { return addCenturies(date, -1); },
23
- _a[Action.NextView] = function (date) { return addCenturies(date, 1); },
24
- _a[Action.FirstInView] = function (date) { return firstDecadeOfCentury(date); },
25
- _a[Action.LastInView] = function (date) { return lastDecadeOfCentury(date); },
26
- _a);
27
- /**
28
- * @hidden
29
- */
30
- var CenturyViewService = /** @class */ (function () {
31
- function CenturyViewService() {
32
- this.dateRange = function (start, end) {
33
- if (!isPresent(start) || !isPresent(end)) {
34
- return [];
35
- }
36
- var result = [];
37
- var current = start;
38
- while (current <= end) {
39
- result.push(current);
40
- current = addDecades(current, 1);
41
- }
42
- return result;
43
- };
44
- }
45
- CenturyViewService.prototype.addToDate = function (min, skip) {
46
- return addCenturies(min, skip);
47
- };
48
- CenturyViewService.prototype.datesList = function (start, count) {
49
- return range(0, count).map(function (i) { return addCenturies(start, i); });
50
- };
51
- CenturyViewService.prototype.data = function (options) {
52
- var _this = this;
53
- var cellUID = options.cellUID, focusedDate = options.focusedDate, isActiveView = options.isActiveView, max = options.max, min = options.min, selectedDates = options.selectedDates, _a = options.selectionRange, selectionRange = _a === void 0 ? EMPTY_SELECTIONRANGE : _a, viewDate = options.viewDate;
54
- if (!viewDate) {
55
- return EMPTY_DATA;
56
- }
57
- var cells = range(0, CELLS_LENGTH);
58
- var firstDate = firstDecadeOfCentury(viewDate);
59
- var lastDate = lastDecadeOfCentury(viewDate);
60
- var today = getToday();
61
- return range(0, ROWS_LENGTH).map(function (rowOffset) {
62
- var baseDate = addDecades(firstDate, rowOffset * CELLS_LENGTH);
63
- return cells.map(function (cellOffset) {
64
- var cellDate = _this.normalize(addDecades(baseDate, cellOffset), min, max);
65
- var nextCentury = cellDate.getFullYear() > lastDate.getFullYear();
66
- if (!_this.isInRange(cellDate, min, max) || nextCentury) {
67
- return null;
68
- }
69
- var isRangeStart = _this.isEqual(cellDate, selectionRange.start);
70
- var isRangeEnd = _this.isEqual(cellDate, selectionRange.end);
71
- var isInMiddle = !isRangeStart && !isRangeEnd;
72
- var isRangeMid = isInMiddle && isInSelectionRange(cellDate, selectionRange);
73
- return {
74
- formattedValue: _this.value(cellDate),
75
- id: "" + cellUID + cellDate.getTime(),
76
- isFocused: _this.isEqual(cellDate, focusedDate),
77
- isSelected: isActiveView && selectedDates.some(function (date) { return _this.isEqual(cellDate, date); }),
78
- isWeekend: false,
79
- isRangeStart: isRangeStart,
80
- isRangeMid: isRangeMid,
81
- isRangeEnd: isRangeEnd,
82
- isRangeSplitEnd: isRangeMid && _this.isEqual(cellDate, lastDate),
83
- isRangeSplitStart: isRangeMid && _this.isEqual(cellDate, firstDate),
84
- isToday: _this.isEqual(cellDate, today),
85
- title: _this.cellTitle(cellDate),
86
- value: cellDate
87
- };
88
- });
89
- });
90
- };
91
- CenturyViewService.prototype.isEqual = function (candidate, expected) {
92
- if (!candidate || !expected) {
93
- return false;
94
- }
95
- return firstYearOfDecade(candidate).getFullYear() === firstYearOfDecade(expected).getFullYear();
96
- };
97
- CenturyViewService.prototype.isInArray = function (date, dates) {
98
- if (!dates.length) {
99
- return false;
100
- }
101
- var year = date.getFullYear();
102
- return dates[0].getFullYear() <= year && year <= (dates[dates.length - 1].getFullYear() + 99);
103
- };
104
- CenturyViewService.prototype.isInRange = function (candidate, min, max) {
105
- var year = firstYearOfDecade(candidate).getFullYear();
106
- var aboveMin = !min || firstYearOfDecade(min).getFullYear() <= year;
107
- var belowMax = !max || year <= firstYearOfDecade(max).getFullYear();
108
- return aboveMin && belowMax;
109
- };
110
- CenturyViewService.prototype.beginningOfPeriod = function (date) {
111
- if (!date) {
112
- return date;
113
- }
114
- var firstYear = firstYearOfDecade(firstDecadeOfCentury(date));
115
- return createDate(firstYear.getFullYear(), 0, 1);
116
- };
117
- CenturyViewService.prototype.lastDayOfPeriod = function (date) {
118
- var decade = lastDecadeOfCentury(date);
119
- var year = lastYearOfDecade(decade);
120
- var month = lastMonthOfYear(year);
121
- return lastDayOfMonth(month);
122
- };
123
- CenturyViewService.prototype.isRangeStart = function (value) {
124
- return value.getFullYear() % 1000 === 0;
125
- };
126
- CenturyViewService.prototype.move = function (value, action) {
127
- var modifier = ACTIONS[action];
128
- if (!modifier) {
129
- return value;
130
- }
131
- return modifier(value);
132
- };
133
- CenturyViewService.prototype.cellTitle = function (value) {
134
- return firstYearOfDecade(value).getFullYear().toString();
135
- };
136
- CenturyViewService.prototype.navigationTitle = function (value) {
137
- return value ? firstDecadeOfCentury(value).getFullYear().toString() : '';
138
- };
139
- CenturyViewService.prototype.title = function (value) {
140
- if (!value) {
141
- return '';
142
- }
143
- return firstDecadeOfCentury(value).getFullYear() + " - " + lastDecadeOfCentury(value).getFullYear();
144
- };
145
- CenturyViewService.prototype.rowLength = function () {
146
- return CELLS_LENGTH;
147
- };
148
- CenturyViewService.prototype.skip = function (value, min) {
149
- return durationInCenturies(min, value);
150
- };
151
- CenturyViewService.prototype.total = function (min, max) {
152
- return durationInCenturies(min, max) + 1;
153
- };
154
- CenturyViewService.prototype.value = function (current) {
155
- return current ? firstYearOfDecade(current).getFullYear().toString() : '';
156
- };
157
- CenturyViewService.prototype.viewDate = function (date, max, viewsCount) {
158
- if (viewsCount === void 0) { viewsCount = 1; }
159
- var viewsInRange = this.total(date, max);
160
- if (viewsInRange < viewsCount) {
161
- var centuriesToSubtract = viewsCount - viewsInRange;
162
- return addCenturies(date, -1 * centuriesToSubtract);
163
- }
164
- return date;
165
- };
166
- CenturyViewService.prototype.normalize = function (cellDate, min, max) {
167
- if (cellDate < min && this.isEqual(cellDate, min)) {
168
- return cloneDate(min);
169
- }
170
- if (cellDate > max && this.isEqual(cellDate, max)) {
171
- return cloneDate(max);
172
- }
173
- return cellDate;
174
- };
175
- CenturyViewService = tslib_1.__decorate([
176
- Injectable()
177
- ], CenturyViewService);
178
- return CenturyViewService;
179
- }());
180
- export { CenturyViewService };