@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
@@ -1,403 +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 { Component, ContentChild, ContentChildren, ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef, NgZone, Input, Output, ViewChild, ViewChildren, ViewContainerRef, Inject, QueryList, Optional } from '@angular/core';
7
- import { RTL } from '@progress/kendo-angular-l10n';
8
- import { PopupService } from '@progress/kendo-angular-popup';
9
- import { DateRangePopupTemplateDirective } from './date-range-popup-template.directive';
10
- import { DateRangeService } from './date-range.service';
11
- import { MultiViewCalendarComponent } from '../calendar/multiview-calendar.component';
12
- import { PreventableEvent } from '../preventable-event';
13
- import { isDocumentAvailable, guid, Keys, hasObservers } from '@progress/kendo-angular-common';
14
- import { Subscription, fromEvent, merge } from 'rxjs';
15
- import { filter, map } from 'rxjs/operators';
16
- import { isWindowAvailable } from '../util';
17
- import { isPresent } from '../common/utils';
18
- /**
19
- * Represents the Kendo UI DateRangePopup component for Angular.
20
- *
21
- * @example
22
- * ```ts
23
- * import { DateInputsModule, DateRangeService } from '@progress/kendo-angular-dateinputs';
24
- *
25
- * _@Component({
26
- * providers: [DateRangeService],
27
- * selector: 'my-app',
28
- * template: `
29
- * <button #anchor (click)="popup.toggle()">Toggle</button>
30
- * <kendo-daterange-popup [anchor]="anchor" #popup></kendo-daterange-popup>
31
- * `
32
- * })
33
- * export class AppComponent {
34
- * }
35
- * ```
36
- */
37
- var DateRangePopupComponent = /** @class */ (function () {
38
- function DateRangePopupComponent(popupService, dateRangeService, ref, zone, rtl) {
39
- this.popupService = popupService;
40
- this.dateRangeService = dateRangeService;
41
- this.ref = ref;
42
- this.zone = zone;
43
- this.rtl = rtl;
44
- /**
45
- * Controls the popup animation.
46
- * By default, the opening and closing animations are enabled.
47
- * For more information about controlling the popup animations,
48
- * refer to the article on [animations]({% slug animations_popup %}).
49
- */
50
- this.animate = true;
51
- /**
52
- * Configures the collision behavior of the popup.
53
- * For more information, refer to the article on
54
- * [viewport boundary detection]({% slug viewportboundarydetection_popup %}).
55
- */
56
- this.collision = { horizontal: 'fit', vertical: 'flip' };
57
- /**
58
- * Fires each time the popup is about to open.
59
- * This event is preventable. If you cancel the event, the popup will remain closed.
60
- * For more information, refer to the section on
61
- * [events]({% slug overview_datepicker %}#toc-events).
62
- */
63
- this.open = new EventEmitter();
64
- /**
65
- * Fires each time the popup is about to close.
66
- * This event is preventable. If you cancel the event, the popup will remain open.
67
- * For more information, refer to the section on
68
- * [events]({% slug overview_datepicker %}#toc-events).
69
- */
70
- this.close = new EventEmitter();
71
- /**
72
- * Fires each time the calendar element is blurred.
73
- */
74
- this.onBlur = new EventEmitter(); //tslint:disable-line:no-output-rename
75
- /**
76
- * Fires each time the calendar element is focused.
77
- */
78
- this.onFocus = new EventEmitter(); //tslint:disable-line:no-output-rename
79
- /**
80
- * Fires each time the popup is closed either on `ESC` keypress or on leaving the viewport.
81
- */
82
- this.cancel = new EventEmitter();
83
- /**
84
- * @hidden
85
- */
86
- this.popupUID = guid();
87
- this.calendarSubscriptions = new Subscription();
88
- this.popupSubscriptions = new Subscription();
89
- this.resolvedPromise = Promise.resolve();
90
- }
91
- Object.defineProperty(DateRangePopupComponent.prototype, "calendar", {
92
- /**
93
- * The active calendar that is visible in the popup.
94
- *
95
- * > When the popup is closed, the property returns `null`.
96
- */
97
- get: function () {
98
- return this._calendar;
99
- },
100
- set: function (calendar) {
101
- this._calendar = calendar;
102
- this.subscribeFocusBlur(calendar);
103
- },
104
- enumerable: true,
105
- configurable: true
106
- });
107
- Object.defineProperty(DateRangePopupComponent.prototype, "isActive", {
108
- /**
109
- * Gets the active state of the component.
110
- * When the opened calendar is active, returns `true`.
111
- */
112
- get: function () {
113
- return this.calendar && this.calendar.isActive;
114
- },
115
- enumerable: true,
116
- configurable: true
117
- });
118
- Object.defineProperty(DateRangePopupComponent.prototype, "show", {
119
- get: function () {
120
- return this._show;
121
- },
122
- /**
123
- * Gets or sets the visibility state of the component.
124
- */
125
- set: function (show) {
126
- if (this._show === show) {
127
- return;
128
- }
129
- var event = new PreventableEvent();
130
- if (show) {
131
- this.open.emit(event);
132
- }
133
- else {
134
- this.close.emit(event);
135
- }
136
- if (event.isDefaultPrevented()) {
137
- return;
138
- }
139
- this._toggle(show);
140
- },
141
- enumerable: true,
142
- configurable: true
143
- });
144
- DateRangePopupComponent.prototype.ngOnInit = function () {
145
- this.dateRangeService.registerPopup(this);
146
- };
147
- DateRangePopupComponent.prototype.ngAfterViewInit = function () {
148
- var _this = this;
149
- this.calendarSubscriptions.add(this.contentCalendar.changes.subscribe(function (changes) { return _this.calendar = changes.first; }));
150
- this.calendarSubscriptions.add(this.viewCalendar.changes.subscribe(function (changes) { return _this.calendar = changes.first; }));
151
- if (isWindowAvailable()) {
152
- this.zone.runOutsideAngular(function () {
153
- return _this.windowBlurSubscription = fromEvent(window, 'blur').subscribe(_this.handleWindowBlur.bind(_this));
154
- });
155
- }
156
- };
157
- DateRangePopupComponent.prototype.ngOnDestroy = function () {
158
- this.destroyPopup();
159
- this.calendarSubscriptions.unsubscribe();
160
- if (this.activateSubscription) {
161
- this.activateSubscription.unsubscribe();
162
- }
163
- if (this.blurSubscription) {
164
- this.blurSubscription.unsubscribe();
165
- this.focusSubscription.unsubscribe();
166
- }
167
- if (this.windowBlurSubscription) {
168
- this.windowBlurSubscription.unsubscribe();
169
- }
170
- };
171
- /**
172
- * Opens the popup component and focuses the calendar.
173
- */
174
- DateRangePopupComponent.prototype.activate = function () {
175
- var _this = this;
176
- if (this.show === true) {
177
- return;
178
- }
179
- if (this.activateSubscription) {
180
- this.activateSubscription.unsubscribe();
181
- }
182
- this.show = true;
183
- this.ref.markForCheck();
184
- this.zone.runOutsideAngular(function () {
185
- _this.activateSubscription = merge(_this.contentCalendar.changes, _this.viewCalendar.changes)
186
- .pipe(filter(function (changes) { return changes && changes.first; }), map(function (changes) { return changes.first; }))
187
- .subscribe(function (calendar) { return setTimeout(function () { return calendar.focus(); }); });
188
- });
189
- };
190
- /**
191
- * Focuses the calendar (if available).
192
- */
193
- DateRangePopupComponent.prototype.focus = function () {
194
- if (this.calendar) {
195
- this.calendar.focus();
196
- }
197
- };
198
- /**
199
- * Checks if a focused element ids placed inside the popup.
200
- *
201
- * @return boolean;
202
- */
203
- DateRangePopupComponent.prototype.hasActiveContent = function () {
204
- if (!isDocumentAvailable() || !this.popupRef) {
205
- return false;
206
- }
207
- return this.popupRef.popupElement.contains(document.activeElement);
208
- };
209
- /**
210
- * Toggles the visibility of the popup.
211
- * If you use the `toggle` method to show or hide the popup,
212
- * the `open` and `close` events do not fire.
213
- *
214
- * @param show The state of the popup.
215
- */
216
- DateRangePopupComponent.prototype.toggle = function (show) {
217
- var _this = this;
218
- this.resolvedPromise.then(function () {
219
- _this._toggle((show === undefined) ? !_this.show : show);
220
- });
221
- };
222
- /**
223
- * @hidden
224
- *
225
- * Closes the popup and triggers the `cancel` event.
226
- */
227
- DateRangePopupComponent.prototype.cancelPopup = function () {
228
- this.show = false;
229
- this.cancel.emit();
230
- };
231
- DateRangePopupComponent.prototype.handleWindowBlur = function () {
232
- var _this = this;
233
- if (!this.show) {
234
- return;
235
- }
236
- if (hasObservers(this.close)) {
237
- this.zone.run(function () { return _this.show = false; });
238
- }
239
- else {
240
- this.show = false;
241
- }
242
- };
243
- DateRangePopupComponent.prototype.handleMouseLeave = function () {
244
- this.dateRangeService.setRange(this.dateRangeService.selectionRange);
245
- };
246
- DateRangePopupComponent.prototype.handleKeydown = function (event) {
247
- var _this = this;
248
- var altKey = event.altKey, keyCode = event.keyCode;
249
- if (keyCode === Keys.Escape || (altKey && keyCode === Keys.ArrowUp)) {
250
- this.zone.run(function () { return _this.cancelPopup(); });
251
- }
252
- };
253
- DateRangePopupComponent.prototype.subscribeFocusBlur = function (calendar) {
254
- var _this = this;
255
- if (this.blurSubscription) {
256
- this.blurSubscription.unsubscribe();
257
- this.focusSubscription.unsubscribe();
258
- }
259
- if (!calendar) {
260
- return;
261
- }
262
- var nativeElement = calendar.element.nativeElement;
263
- this.blurSubscription = fromEvent(nativeElement, 'blur').subscribe(function () { return _this.onBlur.emit(); });
264
- this.focusSubscription = fromEvent(nativeElement, 'focus').subscribe(function () { return _this.onFocus.emit(); });
265
- };
266
- DateRangePopupComponent.prototype.addPopupSubscriptions = function () {
267
- var _this = this;
268
- var subscriptions = [];
269
- for (var _i = 0; _i < arguments.length; _i++) {
270
- subscriptions[_i] = arguments[_i];
271
- }
272
- if (!isPresent(this.popupSubscriptions)) {
273
- this.popupSubscriptions = new Subscription();
274
- }
275
- subscriptions.map(function (s) { return _this.popupSubscriptions.add(s); });
276
- };
277
- Object.defineProperty(DateRangePopupComponent.prototype, "_appendTo", {
278
- get: function () {
279
- var appendTo = this.appendTo;
280
- if (!appendTo || appendTo === 'root') {
281
- return undefined;
282
- }
283
- return appendTo === 'component' ? this.container : appendTo;
284
- },
285
- enumerable: true,
286
- configurable: true
287
- });
288
- DateRangePopupComponent.prototype._toggle = function (show) {
289
- var _this = this;
290
- this._show = show;
291
- if (this.popupRef) {
292
- this.destroyPopup();
293
- }
294
- if (this._show) {
295
- var direction = this.rtl ? 'right' : 'left';
296
- this.popupRef = this.popupService.open({
297
- anchor: this.anchor,
298
- anchorAlign: this.anchorAlign || { vertical: 'bottom', horizontal: direction },
299
- animate: this.animate,
300
- appendTo: this._appendTo,
301
- collision: this.collision,
302
- content: (this.contentTemplate || {}).templateRef || this.defaultTemplate,
303
- margin: this.margin,
304
- popupAlign: this.popupAlign || { vertical: 'top', horizontal: direction },
305
- positionMode: 'absolute'
306
- });
307
- var _a = this.popupRef, popupElement_1 = _a.popupElement, popupAnchorViewportLeave = _a.popupAnchorViewportLeave;
308
- popupElement_1.setAttribute('id', this.popupUID);
309
- this.addPopupSubscriptions(this.zone.runOutsideAngular(function () { return fromEvent(popupElement_1, 'keydown').subscribe(_this.handleKeydown.bind(_this)); }), fromEvent(popupElement_1, 'mouseleave').subscribe(this.handleMouseLeave.bind(this)), popupAnchorViewportLeave.subscribe(function () { return _this.cancelPopup(); }));
310
- }
311
- };
312
- DateRangePopupComponent.prototype.destroyPopup = function () {
313
- if (isPresent(this.popupRef)) {
314
- this.popupRef.close();
315
- this.popupRef = null;
316
- }
317
- if (isPresent(this.popupSubscriptions)) {
318
- this.popupSubscriptions.unsubscribe();
319
- }
320
- };
321
- tslib_1.__decorate([
322
- ViewChild('container', { read: ViewContainerRef, static: false }),
323
- tslib_1.__metadata("design:type", ViewContainerRef)
324
- ], DateRangePopupComponent.prototype, "container", void 0);
325
- tslib_1.__decorate([
326
- ViewChild('defaultTemplate', { static: false }),
327
- tslib_1.__metadata("design:type", TemplateRef)
328
- ], DateRangePopupComponent.prototype, "defaultTemplate", void 0);
329
- tslib_1.__decorate([
330
- ContentChild(DateRangePopupTemplateDirective, { static: false }),
331
- tslib_1.__metadata("design:type", DateRangePopupTemplateDirective)
332
- ], DateRangePopupComponent.prototype, "contentTemplate", void 0);
333
- tslib_1.__decorate([
334
- ViewChildren(MultiViewCalendarComponent),
335
- tslib_1.__metadata("design:type", QueryList)
336
- ], DateRangePopupComponent.prototype, "viewCalendar", void 0);
337
- tslib_1.__decorate([
338
- ContentChildren(MultiViewCalendarComponent),
339
- tslib_1.__metadata("design:type", QueryList)
340
- ], DateRangePopupComponent.prototype, "contentCalendar", void 0);
341
- tslib_1.__decorate([
342
- Input(),
343
- tslib_1.__metadata("design:type", Object)
344
- ], DateRangePopupComponent.prototype, "animate", void 0);
345
- tslib_1.__decorate([
346
- Input(),
347
- tslib_1.__metadata("design:type", ElementRef)
348
- ], DateRangePopupComponent.prototype, "anchor", void 0);
349
- tslib_1.__decorate([
350
- Input(),
351
- tslib_1.__metadata("design:type", Object)
352
- ], DateRangePopupComponent.prototype, "anchorAlign", void 0);
353
- tslib_1.__decorate([
354
- Input(),
355
- tslib_1.__metadata("design:type", Object)
356
- ], DateRangePopupComponent.prototype, "appendTo", void 0);
357
- tslib_1.__decorate([
358
- Input(),
359
- tslib_1.__metadata("design:type", Object)
360
- ], DateRangePopupComponent.prototype, "collision", void 0);
361
- tslib_1.__decorate([
362
- Input(),
363
- tslib_1.__metadata("design:type", Object)
364
- ], DateRangePopupComponent.prototype, "popupAlign", void 0);
365
- tslib_1.__decorate([
366
- Input(),
367
- tslib_1.__metadata("design:type", Object)
368
- ], DateRangePopupComponent.prototype, "margin", void 0);
369
- tslib_1.__decorate([
370
- Output(),
371
- tslib_1.__metadata("design:type", EventEmitter)
372
- ], DateRangePopupComponent.prototype, "open", void 0);
373
- tslib_1.__decorate([
374
- Output(),
375
- tslib_1.__metadata("design:type", EventEmitter)
376
- ], DateRangePopupComponent.prototype, "close", void 0);
377
- tslib_1.__decorate([
378
- Output('blur'),
379
- tslib_1.__metadata("design:type", EventEmitter)
380
- ], DateRangePopupComponent.prototype, "onBlur", void 0);
381
- tslib_1.__decorate([
382
- Output('focus'),
383
- tslib_1.__metadata("design:type", EventEmitter)
384
- ], DateRangePopupComponent.prototype, "onFocus", void 0);
385
- tslib_1.__decorate([
386
- Output(),
387
- tslib_1.__metadata("design:type", EventEmitter)
388
- ], DateRangePopupComponent.prototype, "cancel", void 0);
389
- DateRangePopupComponent = tslib_1.__decorate([
390
- Component({
391
- exportAs: 'kendo-daterange-popup',
392
- selector: 'kendo-daterange-popup',
393
- template: "\n <ng-container #container></ng-container>\n <ng-template #defaultTemplate>\n <kendo-multiviewcalendar kendoDateRangeSelection></kendo-multiviewcalendar>\n </ng-template>\n "
394
- }),
395
- tslib_1.__param(4, Optional()), tslib_1.__param(4, Inject(RTL)),
396
- tslib_1.__metadata("design:paramtypes", [PopupService,
397
- DateRangeService,
398
- ChangeDetectorRef,
399
- NgZone, Boolean])
400
- ], DateRangePopupComponent);
401
- return DateRangePopupComponent;
402
- }());
403
- export { DateRangePopupComponent };
@@ -1,230 +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 { ChangeDetectorRef, Directive, ElementRef, EventEmitter, Optional, Input, Output, Renderer2 } from '@angular/core';
7
- import { Subscription, fromEvent } from 'rxjs';
8
- import { DateRangeService } from './date-range.service';
9
- import { MultiViewCalendarComponent } from '../calendar/multiview-calendar.component';
10
- import { EMPTY_SELECTIONRANGE } from '../calendar/models/selection-range.interface';
11
- import { isEqual } from '@progress/kendo-date-math';
12
- import { clampRange, either, isEqualRange } from '../util';
13
- /**
14
- * A directive which manages the MultiViewCalendar range selection.
15
- */
16
- var DateRangeSelectionDirective = /** @class */ (function () {
17
- function DateRangeSelectionDirective(calendar, cdr, element, renderer, dateRangeService) {
18
- this.calendar = calendar;
19
- this.cdr = cdr;
20
- this.element = element;
21
- this.dateRangeService = dateRangeService;
22
- /**
23
- * Specifies the auto-correction behavior. If the start date is greater than the end date,
24
- * the directive fixes the date range to a single date either on input change or on blur
25
- * ([see example]({% slug autocorrect_daterange %}#toc-configuring-the-calendar-selection-directive)).
26
- *
27
- * By default, the auto-correction is triggered on change.
28
- * To disable this behavior, set the `autoCorrectOn` property to `none`.
29
- */
30
- this.autoCorrectOn = 'change';
31
- /**
32
- * Fires when the active range end is changed. For more information, refer to
33
- * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
34
- */
35
- this.activeRangeEndChange = new EventEmitter();
36
- /**
37
- * Fires when the selection range is changed. For more information, refer to
38
- * the section on [events]({% slug overview_multiviewcalendar %}#toc-events).
39
- */
40
- this.selectionRangeChange = new EventEmitter();
41
- this.calendarSubscriptions = new Subscription();
42
- this.dateRangeService = this.dateRangeService || new DateRangeService();
43
- renderer.setAttribute(element.nativeElement, 'aria-multiselectable', 'true');
44
- }
45
- Object.defineProperty(DateRangeSelectionDirective.prototype, "selectionRange", {
46
- /**
47
- * Gets or sets the selection range of the calendar. When a new range is set,
48
- * the connected DateRangeService notifies all related parties.
49
- */
50
- get: function () {
51
- return this.calendar ? this.calendar.selectionRange : null;
52
- },
53
- set: function (range) {
54
- if (!this.isEqualCalendarRange(range)) {
55
- this.setSelectionRange(range);
56
- }
57
- if (!isEqualRange(this.dateRangeService.selectionRange, range)) {
58
- this.dateRangeService.setRange(range);
59
- }
60
- this.updateFocusedDate(range);
61
- },
62
- enumerable: true,
63
- configurable: true
64
- });
65
- Object.defineProperty(DateRangeSelectionDirective.prototype, "activeRangeEnd", {
66
- /**
67
- * Gets or sets the active end of the selection range. This option determines which range end will be updated on
68
- * user interaction. When a new active end is set, the connected DateRangeService notifies all related parties.
69
- */
70
- /**
71
- * Specifies which end of the selection range will be marked as active. The active end gets modified upon user
72
- * interaction. When a new active end is set, the wired DateRangeService notifies all related components. For
73
- * example, the start and end DateInput components.
74
- *
75
- * > If the selection range is undefined, the value is ignored.
76
- */
77
- get: function () {
78
- return this.calendar.activeRangeEnd;
79
- },
80
- set: function (activeRange) {
81
- if (this.dateRangeService.activeRangeEnd === activeRange) {
82
- return;
83
- }
84
- this.calendar.activeRangeEnd = activeRange;
85
- this.dateRangeService.setActiveRangeEnd(activeRange);
86
- },
87
- enumerable: true,
88
- configurable: true
89
- });
90
- Object.defineProperty(DateRangeSelectionDirective.prototype, "calendarRange", {
91
- get: function () {
92
- return this.selectionRange || EMPTY_SELECTIONRANGE;
93
- },
94
- enumerable: true,
95
- configurable: true
96
- });
97
- DateRangeSelectionDirective.prototype.ngOnInit = function () {
98
- var _this = this;
99
- var calendar = this.calendar;
100
- var dateRangeService = this.dateRangeService;
101
- calendar.min = either(dateRangeService.min, calendar.min);
102
- calendar.max = either(dateRangeService.max, calendar.max);
103
- this.addSubscriptions(calendar.cellEnter.subscribe(function (value) { return _this.handleHover(value); }), calendar.valueChange.subscribe(function (value) { return _this.handleChange(value); }), dateRangeService.focusedDate$.subscribe(function (focusedDate) {
104
- if (!isEqual(calendar.focusedDate, focusedDate)) {
105
- calendar.focusedDate = focusedDate;
106
- }
107
- }), dateRangeService.activeRangeEnd$.subscribe(function (rangeEnd) {
108
- if (calendar.activeRangeEnd === rangeEnd) {
109
- return;
110
- }
111
- calendar.activeRangeEnd = rangeEnd;
112
- _this.activeRangeEndChange.emit(rangeEnd);
113
- _this.cdr.markForCheck();
114
- }), dateRangeService.range$.subscribe(function (range) {
115
- if (!_this.isEqualCalendarRange(range)) {
116
- _this.acceptAndEmit(range);
117
- }
118
- _this.updateFocusedDate(range);
119
- }), fromEvent(this.element.nativeElement, 'blur').subscribe(function () { return _this.handleBlur(); }));
120
- };
121
- DateRangeSelectionDirective.prototype.ngOnDestroy = function () {
122
- this.calendarSubscriptions.unsubscribe();
123
- };
124
- DateRangeSelectionDirective.prototype.addSubscriptions = function () {
125
- var _this = this;
126
- var subscriptions = [];
127
- for (var _i = 0; _i < arguments.length; _i++) {
128
- subscriptions[_i] = arguments[_i];
129
- }
130
- subscriptions.map(function (s) { return _this.calendarSubscriptions.add(s); });
131
- };
132
- DateRangeSelectionDirective.prototype.isEqualCalendarRange = function (range) {
133
- return isEqualRange(this.calendar.selectionRange, range);
134
- };
135
- DateRangeSelectionDirective.prototype.handleBlur = function () {
136
- var _a = this.calendarRange, start = _a.start, end = _a.end;
137
- var autoCorrect = this.autoCorrectOn === 'blur' && start !== null && end !== null && end < start;
138
- if (autoCorrect) {
139
- this.dateRangeService.setRange(clampRange(start));
140
- }
141
- };
142
- DateRangeSelectionDirective.prototype.handleChange = function (value) {
143
- var service = this.dateRangeService;
144
- var autoCorrect = this.autoCorrectOn === 'change' && this.shouldAutoCorrect(value);
145
- var activeEnd = this.calendar.activeRangeEnd !== 'end' ? 'end' : (autoCorrect ? 'end' : 'start');
146
- var range = autoCorrect ? clampRange(value) : this.updateRange(value);
147
- if (!isEqualRange(service.selectionRange, range)) {
148
- this.acceptAndEmit(range);
149
- service.setActiveRangeEnd(activeEnd);
150
- service.setRange(range);
151
- }
152
- };
153
- DateRangeSelectionDirective.prototype.handleHover = function (value) {
154
- if (this.hasCompleteRange()) {
155
- return;
156
- }
157
- var _a = this.calendarRange, start = _a.start, end = _a.end;
158
- var activeRangeEnd = this.calendar.activeRangeEnd;
159
- var updateRange = (start && activeRangeEnd === 'end') || (end && activeRangeEnd === 'start');
160
- if (updateRange) {
161
- this.setSelectionRange(this.updateRange(value));
162
- }
163
- };
164
- DateRangeSelectionDirective.prototype.hasCompleteRange = function () {
165
- var _a = this.dateRangeService.selectionRange || EMPTY_SELECTIONRANGE, start = _a.start, end = _a.end;
166
- return Boolean(start) && Boolean(end);
167
- };
168
- DateRangeSelectionDirective.prototype.shouldAutoCorrect = function (value) {
169
- var _a = this.calendarRange, end = _a.end, start = _a.start;
170
- if (this.calendar.activeRangeEnd !== 'end') {
171
- return end !== null && value > end;
172
- }
173
- else {
174
- return start !== null && value < start;
175
- }
176
- };
177
- DateRangeSelectionDirective.prototype.updateFocusedDate = function (range) {
178
- if (!range || this.dateRangeService.focusedDate) {
179
- return;
180
- }
181
- this.dateRangeService.setFocusedDate(range.start || range.end);
182
- };
183
- DateRangeSelectionDirective.prototype.updateRange = function (value) {
184
- var _a = this.calendarRange, end = _a.end, start = _a.start;
185
- return this.calendar.activeRangeEnd !== 'end' ? ({ start: value, end: end }) : ({ start: start, end: value });
186
- };
187
- DateRangeSelectionDirective.prototype.setSelectionRange = function (range) {
188
- this.calendar.selectionRange = range;
189
- this.calendar.writeValue(null);
190
- };
191
- DateRangeSelectionDirective.prototype.acceptAndEmit = function (range) {
192
- this.setSelectionRange(range);
193
- this.selectionRangeChange.emit(range);
194
- };
195
- tslib_1.__decorate([
196
- Input(),
197
- tslib_1.__metadata("design:type", String)
198
- ], DateRangeSelectionDirective.prototype, "autoCorrectOn", void 0);
199
- tslib_1.__decorate([
200
- Input(),
201
- tslib_1.__metadata("design:type", Object),
202
- tslib_1.__metadata("design:paramtypes", [Object])
203
- ], DateRangeSelectionDirective.prototype, "selectionRange", null);
204
- tslib_1.__decorate([
205
- Input(),
206
- tslib_1.__metadata("design:type", String),
207
- tslib_1.__metadata("design:paramtypes", [String])
208
- ], DateRangeSelectionDirective.prototype, "activeRangeEnd", null);
209
- tslib_1.__decorate([
210
- Output(),
211
- tslib_1.__metadata("design:type", EventEmitter)
212
- ], DateRangeSelectionDirective.prototype, "activeRangeEndChange", void 0);
213
- tslib_1.__decorate([
214
- Output(),
215
- tslib_1.__metadata("design:type", EventEmitter)
216
- ], DateRangeSelectionDirective.prototype, "selectionRangeChange", void 0);
217
- DateRangeSelectionDirective = tslib_1.__decorate([
218
- Directive({
219
- selector: '[kendoDateRangeSelection]'
220
- }),
221
- tslib_1.__param(4, Optional()),
222
- tslib_1.__metadata("design:paramtypes", [MultiViewCalendarComponent,
223
- ChangeDetectorRef,
224
- ElementRef,
225
- Renderer2,
226
- DateRangeService])
227
- ], DateRangeSelectionDirective);
228
- return DateRangeSelectionDirective;
229
- }());
230
- export { DateRangeSelectionDirective };