@progress/kendo-angular-scheduler 17.0.0-develop.8 → 17.0.0

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 (268) hide show
  1. package/data-binding.directive.d.ts +1 -1
  2. package/editing/date-time-picker.component.d.ts +1 -1
  3. package/editing/edit-dialog-template.directive.d.ts +1 -1
  4. package/editing/edit-dialog.component.d.ts +1 -1
  5. package/editing/edit.service.d.ts +3 -3
  6. package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
  7. package/editing/recurrence/localization/messages.d.ts +1 -1
  8. package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
  9. package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
  10. package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
  11. package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
  12. package/editing/recurrence/recurrence.service.d.ts +4 -4
  13. package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
  14. package/editing/resource-editor-base.d.ts +1 -1
  15. package/editing/timezone-editor.component.d.ts +1 -1
  16. package/editing-directives/editing-directive-base.d.ts +1 -1
  17. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  18. package/{esm2020 → esm2022}/data-binding.directive.mjs +20 -13
  19. package/{esm2020 → esm2022}/editing/date-time-picker.component.mjs +15 -9
  20. package/{esm2020 → esm2022}/editing/dialogs.service.mjs +10 -4
  21. package/{esm2020 → esm2022}/editing/edit-dialog-template.directive.mjs +8 -3
  22. package/{esm2020 → esm2022}/editing/edit-dialog.component.mjs +44 -25
  23. package/{esm2020 → esm2022}/editing/edit.service.mjs +9 -5
  24. package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
  25. package/{esm2020 → esm2022}/editing/recurrence/end-rule-radio-button.directive.mjs +13 -6
  26. package/{esm2020 → esm2022}/editing/recurrence/localization/custom-messages.component.mjs +9 -8
  27. package/{esm2020 → esm2022}/editing/recurrence/localization/localized-messages.directive.mjs +9 -8
  28. package/esm2022/editing/recurrence/localization/messages.mjs +239 -0
  29. package/{esm2020 → esm2022}/editing/recurrence/localization/recurrence-localization.service.mjs +4 -3
  30. package/{esm2020 → esm2022}/editing/recurrence/recurrence-editor.component.mjs +61 -36
  31. package/{esm2020 → esm2022}/editing/recurrence/recurrence-end-rule-editor.component.mjs +33 -26
  32. package/{esm2020 → esm2022}/editing/recurrence/recurrence-frequency-editor.component.mjs +8 -4
  33. package/{esm2020 → esm2022}/editing/recurrence/recurrence-interval-editor.component.mjs +18 -15
  34. package/{esm2020 → esm2022}/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +28 -15
  35. package/{esm2020 → esm2022}/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +9 -5
  36. package/{esm2020 → esm2022}/editing/recurrence/recurrence.service.mjs +13 -7
  37. package/{esm2020 → esm2022}/editing/recurrence/repeat-on-radio-button.directive.mjs +18 -11
  38. package/{esm2020 → esm2022}/editing/resource-editor-base.mjs +9 -9
  39. package/{esm2020 → esm2022}/editing/resource-multiple-editor.component.mjs +7 -6
  40. package/{esm2020 → esm2022}/editing/resource-single-editor.component.mjs +7 -6
  41. package/{esm2020 → esm2022}/editing/timezone-editor.component.mjs +28 -22
  42. package/{esm2020 → esm2022}/editing-directives/base-edit.service.mjs +28 -11
  43. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +27 -20
  44. package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +6 -4
  45. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +10 -3
  46. package/{esm2020 → esm2022}/events/add-event.mjs +8 -0
  47. package/{esm2020 → esm2022}/events/cancel-event.mjs +4 -0
  48. package/{esm2020 → esm2022}/events/create-event.mjs +24 -0
  49. package/{esm2020 → esm2022}/events/date-change-event.mjs +12 -0
  50. package/{esm2020 → esm2022}/events/drag-end-event.mjs +28 -0
  51. package/esm2022/events/drag-event.mjs +54 -0
  52. package/{esm2020 → esm2022}/events/drag-start-event.mjs +12 -0
  53. package/{esm2020 → esm2022}/events/edit-event-base.mjs +16 -0
  54. package/{esm2020 → esm2022}/events/edit-event.mjs +12 -0
  55. package/{esm2020 → esm2022}/events/event-click-event.mjs +16 -0
  56. package/{esm2020 → esm2022}/events/event-keydown-event.mjs +12 -0
  57. package/{esm2020 → esm2022}/events/navigate-event.mjs +8 -0
  58. package/{esm2020 → esm2022}/events/preventable-event.mjs +1 -3
  59. package/{esm2020 → esm2022}/events/remove-event.mjs +12 -0
  60. package/{esm2020 → esm2022}/events/resize-end-event.mjs +20 -0
  61. package/{esm2020 → esm2022}/events/resize-event.mjs +28 -0
  62. package/{esm2020 → esm2022}/events/resize-start-event.mjs +12 -0
  63. package/{esm2020 → esm2022}/events/save-event.mjs +8 -0
  64. package/{esm2020 → esm2022}/events/slot-click-event.mjs +28 -0
  65. package/{esm2020 → esm2022}/events/slot-drag-event.mjs +24 -0
  66. package/{esm2020 → esm2022}/events/slot-drag-start-event.mjs +24 -0
  67. package/{esm2020 → esm2022}/index.mjs +0 -6
  68. package/{esm2020 → esm2022}/loading.component.mjs +12 -8
  69. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  70. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  71. package/esm2022/localization/messages.mjs +614 -0
  72. package/{esm2020 → esm2022}/localization/scheduler-localization.service.mjs +3 -3
  73. package/{esm2020 → esm2022}/navigation/focus.service.mjs +21 -15
  74. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +19 -15
  75. package/esm2022/navigation/shortcuts.directive.mjs +220 -0
  76. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  77. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +9 -8
  78. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +93 -8
  79. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +4 -4
  80. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +7 -9
  81. package/{esm2020 → esm2022}/scheduler.component.mjs +412 -256
  82. package/{esm2020 → esm2022}/scheduler.module.mjs +30 -30
  83. package/{esm2020 → esm2022}/toolbar/navigation.component.mjs +49 -34
  84. package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +4 -3
  85. package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +29 -18
  86. package/{esm2020 → esm2022}/toolbar/toolbar.service.mjs +16 -4
  87. package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +23 -15
  88. package/{esm2020 → esm2022}/types/slot-selection.mjs +16 -0
  89. package/{esm2020 → esm2022}/views/agenda/agenda-header-item.component.mjs +9 -9
  90. package/{esm2020 → esm2022}/views/agenda/agenda-header.component.mjs +10 -8
  91. package/{esm2020 → esm2022}/views/agenda/agenda-task-item.component.mjs +18 -12
  92. package/{esm2020 → esm2022}/views/agenda/agenda-view-internal.component.mjs +48 -17
  93. package/{esm2020 → esm2022}/views/agenda/agenda-view-list.component.mjs +17 -7
  94. package/{esm2020 → esm2022}/views/agenda/agenda-view.component.mjs +46 -41
  95. package/{esm2020 → esm2022}/views/agenda/tasks.collection.mjs +8 -4
  96. package/{esm2020 → esm2022}/views/common/base-view.mjs +93 -36
  97. package/{esm2020 → esm2022}/views/common/configuration-view-base.mjs +52 -15
  98. package/esm2022/views/common/dom-events.service.mjs +22 -0
  99. package/{esm2020 → esm2022}/views/common/hint-container.component.mjs +6 -4
  100. package/{esm2020 → esm2022}/views/common/repeat.pipe.mjs +7 -6
  101. package/{esm2020 → esm2022}/views/common/resize-hint.component.mjs +7 -7
  102. package/{esm2020 → esm2022}/views/common/resource-iterator.pipe.mjs +9 -7
  103. package/{esm2020 → esm2022}/views/common/slot-selectable.directive.mjs +22 -10
  104. package/{esm2020 → esm2022}/views/common/view-footer.component.mjs +14 -12
  105. package/{esm2020 → esm2022}/views/common/work-hours-footer.directive.mjs +7 -5
  106. package/{esm2020 → esm2022}/views/day-time/day-time-slot.service.mjs +11 -7
  107. package/{esm2020 → esm2022}/views/day-time/day-time-view-base.mjs +81 -8
  108. package/{esm2020 → esm2022}/views/day-time/day-time-view-item.component.mjs +18 -14
  109. package/{esm2020 → esm2022}/views/day-time/day-time-view.component.mjs +50 -29
  110. package/{esm2020 → esm2022}/views/day-time/event-slot.directive.mjs +23 -14
  111. package/{esm2020 → esm2022}/views/month/month-slot.component.mjs +21 -11
  112. package/{esm2020 → esm2022}/views/month/month-slot.service.mjs +8 -6
  113. package/{esm2020 → esm2022}/views/month/month-view-item.component.mjs +10 -9
  114. package/{esm2020 → esm2022}/views/month/month-view-renderer.component.mjs +31 -15
  115. package/{esm2020 → esm2022}/views/month/month-view.component.mjs +49 -31
  116. package/{esm2020 → esm2022}/views/month/multi-week-view.component.mjs +53 -35
  117. package/{esm2020 → esm2022}/views/multi-day/day-view.component.mjs +25 -17
  118. package/{esm2020 → esm2022}/views/multi-day/multi-day-view-base.mjs +17 -6
  119. package/{esm2020 → esm2022}/views/multi-day/multi-day-view-renderer.component.mjs +22 -13
  120. package/{esm2020 → esm2022}/views/multi-day/multi-day-view.component.mjs +22 -20
  121. package/{esm2020 → esm2022}/views/multi-day/week-view.component.mjs +44 -35
  122. package/{esm2020 → esm2022}/views/multi-day/work-week-view.component.mjs +16 -16
  123. package/{esm2020 → esm2022}/views/scheduler-view.directive.mjs +16 -10
  124. package/{esm2020 → esm2022}/views/templates/agenda-date-template.directive.mjs +4 -3
  125. package/{esm2020 → esm2022}/views/templates/agenda-time-template.directive.mjs +4 -3
  126. package/{esm2020 → esm2022}/views/templates/all-day-event-template.directive.mjs +4 -3
  127. package/{esm2020 → esm2022}/views/templates/all-day-slot-template.directive.mjs +4 -3
  128. package/{esm2020 → esm2022}/views/templates/date-header-template.directive.mjs +4 -3
  129. package/{esm2020 → esm2022}/views/templates/event-template.directive.mjs +4 -3
  130. package/{esm2020 → esm2022}/views/templates/group-header-template.directive.mjs +4 -3
  131. package/{esm2020 → esm2022}/views/templates/major-time-header-template.directive.mjs +4 -3
  132. package/{esm2020 → esm2022}/views/templates/minor-time-header-template.directive.mjs +4 -3
  133. package/{esm2020 → esm2022}/views/templates/month-day-slot-template.directive.mjs +4 -3
  134. package/{esm2020 → esm2022}/views/templates/multi-week-day-slot-template.directive.mjs +4 -3
  135. package/{esm2020 → esm2022}/views/templates/time-slot-template.directive.mjs +4 -3
  136. package/{esm2020 → esm2022}/views/timeline/timeline-base.mjs +10 -6
  137. package/{esm2020 → esm2022}/views/timeline/timeline-month-view.component.mjs +36 -34
  138. package/{esm2020 → esm2022}/views/timeline/timeline-multi-day-view.component.mjs +16 -13
  139. package/{esm2020 → esm2022}/views/timeline/timeline-view.component.mjs +18 -16
  140. package/{esm2020 → esm2022}/views/timeline/timeline-week-view.component.mjs +40 -40
  141. package/{esm2020 → esm2022}/views/timeline/utils.mjs +3 -3
  142. package/{esm2020 → esm2022}/views/view-context.service.mjs +33 -9
  143. package/{esm2020 → esm2022}/views/view-items/base-slot.directive.mjs +15 -9
  144. package/{esm2020 → esm2022}/views/view-items/base-slot.service.mjs +3 -5
  145. package/{esm2020 → esm2022}/views/view-items/base-view-item.mjs +30 -15
  146. package/{esm2020 → esm2022}/views/view-items/item-map.mjs +2 -4
  147. package/{esm2020 → esm2022}/views/view-state.service.mjs +56 -20
  148. package/{esm2020 → esm2022}/views/year/year-view-internal.component.mjs +45 -27
  149. package/{esm2020 → esm2022}/views/year/year-view.component.mjs +38 -31
  150. package/{fesm2020 → fesm2022}/progress-kendo-angular-scheduler.mjs +3642 -1967
  151. package/index.d.ts +0 -6
  152. package/loading.component.d.ts +1 -1
  153. package/localization/messages.d.ts +1 -1
  154. package/navigation/focusable.directive.d.ts +1 -1
  155. package/package.json +24 -30
  156. package/pdf/pdf.component.d.ts +1 -1
  157. package/scheduler.component.d.ts +1 -1
  158. package/schematics/ngAdd/index.js +4 -4
  159. package/toolbar/navigation.component.d.ts +1 -1
  160. package/toolbar/toolbar.component.d.ts +1 -1
  161. package/toolbar/view-selector.component.d.ts +1 -1
  162. package/types/actions.d.ts +1 -1
  163. package/types/focusable-container.d.ts +1 -1
  164. package/types/slot-selection.d.ts +1 -1
  165. package/views/agenda/agenda-header-item.component.d.ts +1 -1
  166. package/views/agenda/agenda-header.component.d.ts +1 -1
  167. package/views/agenda/agenda-task-item.component.d.ts +1 -1
  168. package/views/agenda/agenda-view-internal.component.d.ts +1 -1
  169. package/views/agenda/agenda-view-list.component.d.ts +1 -1
  170. package/views/agenda/agenda-view.component.d.ts +2 -6
  171. package/views/common/base-view.d.ts +1 -1
  172. package/views/common/configuration-view-base.d.ts +1 -1
  173. package/views/common/resize-hint.component.d.ts +1 -1
  174. package/views/common/slot-selectable.directive.d.ts +1 -1
  175. package/views/common/view-footer.component.d.ts +1 -1
  176. package/views/common/work-hours-footer.directive.d.ts +1 -1
  177. package/views/day-time/day-time-view-base.d.ts +2 -6
  178. package/views/day-time/day-time-view-item.component.d.ts +1 -1
  179. package/views/day-time/day-time-view.component.d.ts +1 -1
  180. package/views/day-time/event-slot.directive.d.ts +2 -2
  181. package/views/month/month-slot.component.d.ts +1 -1
  182. package/views/month/month-view-renderer.component.d.ts +1 -1
  183. package/views/month/month-view.component.d.ts +7 -4
  184. package/views/month/multi-week-view.component.d.ts +7 -4
  185. package/views/multi-day/day-view.component.d.ts +1 -1
  186. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  187. package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
  188. package/views/multi-day/multi-day-view.component.d.ts +1 -1
  189. package/views/multi-day/week-view.component.d.ts +1 -1
  190. package/views/scheduler-view.directive.d.ts +1 -1
  191. package/views/timeline/timeline-base.d.ts +1 -1
  192. package/views/timeline/timeline-month-view.component.d.ts +1 -1
  193. package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
  194. package/views/timeline/timeline-view.component.d.ts +1 -1
  195. package/views/timeline/timeline-week-view.component.d.ts +1 -1
  196. package/views/view-items/base-slot.directive.d.ts +1 -1
  197. package/views/view-items/base-view-item.d.ts +1 -1
  198. package/views/year/year-view-internal.component.d.ts +1 -4
  199. package/views/year/year-view.component.d.ts +6 -6
  200. package/esm2020/editing/recurrence/localization/messages.mjs +0 -91
  201. package/esm2020/events/drag-event.mjs +0 -18
  202. package/esm2020/localization/messages.mjs +0 -213
  203. package/esm2020/navigation/shortcuts.directive.mjs +0 -213
  204. package/esm2020/shared.module.mjs +0 -40
  205. package/esm2020/views/common/dom-events.service.mjs +0 -24
  206. package/esm2020/views/common/views-shared.module.mjs +0 -62
  207. package/esm2020/views/day-time/day-time.module.mjs +0 -39
  208. package/esm2020/views/month/month-view.module.mjs +0 -47
  209. package/esm2020/views/multi-day/multi-day-view.module.mjs +0 -52
  210. package/esm2020/views/timeline/timeline-view.module.mjs +0 -48
  211. package/fesm2015/progress-kendo-angular-scheduler.mjs +0 -19229
  212. package/shared.module.d.ts +0 -19
  213. package/views/common/views-shared.module.d.ts +0 -22
  214. package/views/day-time/day-time.module.d.ts +0 -18
  215. package/views/month/month-view.module.d.ts +0 -18
  216. package/views/multi-day/multi-day-view.module.d.ts +0 -20
  217. package/views/timeline/timeline-view.module.d.ts +0 -19
  218. /package/{esm2020 → esm2022}/common/constants.mjs +0 -0
  219. /package/{esm2020 → esm2022}/common/default-model-fields.mjs +0 -0
  220. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  221. /package/{esm2020 → esm2022}/common/getter.mjs +0 -0
  222. /package/{esm2020 → esm2022}/common/modifiers.mjs +0 -0
  223. /package/{esm2020 → esm2022}/common/setter.mjs +0 -0
  224. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  225. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  226. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  227. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  228. /package/{esm2020 → esm2022}/events/slot-drag-end-event.mjs +0 -0
  229. /package/{esm2020 → esm2022}/events/view-event-map.mjs +0 -0
  230. /package/{esm2020 → esm2022}/events.mjs +0 -0
  231. /package/{esm2020 → esm2022}/navigation/focus-position.interface.mjs +0 -0
  232. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  233. /package/{esm2020 → esm2022}/navigation.mjs +0 -0
  234. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  235. /package/{esm2020 → esm2022}/progress-kendo-angular-scheduler.mjs +0 -0
  236. /package/{esm2020 → esm2022}/toolbar/toolbar-context.mjs +0 -0
  237. /package/{esm2020 → esm2022}/types/actions.mjs +0 -0
  238. /package/{esm2020 → esm2022}/types/create-form-group-args.interface.mjs +0 -0
  239. /package/{esm2020 → esm2022}/types/crud-operation.enum.mjs +0 -0
  240. /package/{esm2020 → esm2022}/types/current-time-settings.interface.mjs +0 -0
  241. /package/{esm2020 → esm2022}/types/date-range.interface.mjs +0 -0
  242. /package/{esm2020 → esm2022}/types/datepicker-options.interface.mjs +0 -0
  243. /package/{esm2020 → esm2022}/types/edit-event-args.interface.mjs +0 -0
  244. /package/{esm2020 → esm2022}/types/edit-mode.enum.mjs +0 -0
  245. /package/{esm2020 → esm2022}/types/editable-settings.interface.mjs +0 -0
  246. /package/{esm2020 → esm2022}/types/event-style-args.interface.mjs +0 -0
  247. /package/{esm2020 → esm2022}/types/focusable-container.mjs +0 -0
  248. /package/{esm2020 → esm2022}/types/group.interface.mjs +0 -0
  249. /package/{esm2020 → esm2022}/types/numeric-options.interface.mjs +0 -0
  250. /package/{esm2020 → esm2022}/types/ongoing-events-settings.interface.mjs +0 -0
  251. /package/{esm2020 → esm2022}/types/resource.interface.mjs +0 -0
  252. /package/{esm2020 → esm2022}/types/scheduler-event.mjs +0 -0
  253. /package/{esm2020 → esm2022}/types/scheduler-model-fields.interface.mjs +0 -0
  254. /package/{esm2020 → esm2022}/types/scheduler-slot.interface.mjs +0 -0
  255. /package/{esm2020 → esm2022}/types/scheduler-view.mjs +0 -0
  256. /package/{esm2020 → esm2022}/types/slot-class-args.interface.mjs +0 -0
  257. /package/{esm2020 → esm2022}/types/view-item.interface.mjs +0 -0
  258. /package/{esm2020 → esm2022}/types.mjs +0 -0
  259. /package/{esm2020 → esm2022}/views/agenda/utils.mjs +0 -0
  260. /package/{esm2020 → esm2022}/views/common/scheduler-task.mjs +0 -0
  261. /package/{esm2020 → esm2022}/views/constants.mjs +0 -0
  262. /package/{esm2020 → esm2022}/views/day-time/utils.mjs +0 -0
  263. /package/{esm2020 → esm2022}/views/month/utils.mjs +0 -0
  264. /package/{esm2020 → esm2022}/views/multi-day/utils.mjs +0 -0
  265. /package/{esm2020 → esm2022}/views/templates.mjs +0 -0
  266. /package/{esm2020 → esm2022}/views/utils.mjs +0 -0
  267. /package/{esm2020 → esm2022}/views/view-items/types.mjs +0 -0
  268. /package/{esm2020 → esm2022}/views/year/utils.mjs +0 -0
@@ -73,37 +73,37 @@ import * as i38 from "./views/templates/time-slot-template.directive";
73
73
  * ```
74
74
  */
75
75
  export class SchedulerModule {
76
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
77
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SchedulerModule, imports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i3.SchedulerViewDirective, i4.DataBindingDirective, i5.SlotSelectableDirective, i6.PDFComponent, i7.PDFCommandDirective, i8.ShortcutsDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i20.ReactiveEditingDirective, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i24.ToolbarTemplateDirective, i25.ToolbarViewSelectorComponent, i26.AgendaDateTemplateDirective, i27.AgendaTimeTemplateDirective, i28.AllDayEventTemplateDirective, i29.AllDaySlotTemplateDirective, i30.DateHeaderTemplateDirective, i31.EventTemplateDirective, i32.EditDialogTemplateDirective, i33.GroupHeaderTemplateDirective, i34.MajorTimeHeaderTemplateDirective, i35.MinorTimeHeaderTemplateDirective, i36.MonthDaySlotTemplateDirective, i37.MultiWeekDaySlotTemplateDirective, i38.TimeSlotTemplateDirective], exports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i3.SchedulerViewDirective, i4.DataBindingDirective, i5.SlotSelectableDirective, i6.PDFComponent, i7.PDFCommandDirective, i8.ShortcutsDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i20.ReactiveEditingDirective, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i24.ToolbarTemplateDirective, i25.ToolbarViewSelectorComponent, i26.AgendaDateTemplateDirective, i27.AgendaTimeTemplateDirective, i28.AllDayEventTemplateDirective, i29.AllDaySlotTemplateDirective, i30.DateHeaderTemplateDirective, i31.EventTemplateDirective, i32.EditDialogTemplateDirective, i33.GroupHeaderTemplateDirective, i34.MajorTimeHeaderTemplateDirective, i35.MinorTimeHeaderTemplateDirective, i36.MonthDaySlotTemplateDirective, i37.MultiWeekDaySlotTemplateDirective, i38.TimeSlotTemplateDirective] });
78
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerModule, providers: [
79
+ ToolbarService,
80
+ ViewContextService,
81
+ ViewStateService,
82
+ EditService,
83
+ IconsService,
84
+ PopupService,
85
+ ResizeBatchService,
86
+ // DateInputsModule providers
87
+ CalendarDOMService,
88
+ CenturyViewService,
89
+ DecadeViewService,
90
+ MonthViewService,
91
+ YearViewService,
92
+ NavigationService,
93
+ TimePickerDOMService,
94
+ HoursService,
95
+ MinutesService,
96
+ SecondsService,
97
+ MillisecondsService,
98
+ DayPeriodService,
99
+ // DropDownsModule providers
100
+ DialogContainerService,
101
+ DialogService,
102
+ WindowService,
103
+ WindowContainerService,
104
+ ], imports: [i1.SchedulerComponent, i7.PDFCommandDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i25.ToolbarViewSelectorComponent] });
76
105
  }
77
- SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, imports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i3.SchedulerViewDirective, i4.DataBindingDirective, i5.SlotSelectableDirective, i6.PDFComponent, i7.PDFCommandDirective, i8.ShortcutsDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i20.ReactiveEditingDirective, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i24.ToolbarTemplateDirective, i25.ToolbarViewSelectorComponent, i26.AgendaDateTemplateDirective, i27.AgendaTimeTemplateDirective, i28.AllDayEventTemplateDirective, i29.AllDaySlotTemplateDirective, i30.DateHeaderTemplateDirective, i31.EventTemplateDirective, i32.EditDialogTemplateDirective, i33.GroupHeaderTemplateDirective, i34.MajorTimeHeaderTemplateDirective, i35.MinorTimeHeaderTemplateDirective, i36.MonthDaySlotTemplateDirective, i37.MultiWeekDaySlotTemplateDirective, i38.TimeSlotTemplateDirective], exports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i3.SchedulerViewDirective, i4.DataBindingDirective, i5.SlotSelectableDirective, i6.PDFComponent, i7.PDFCommandDirective, i8.ShortcutsDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i20.ReactiveEditingDirective, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i24.ToolbarTemplateDirective, i25.ToolbarViewSelectorComponent, i26.AgendaDateTemplateDirective, i27.AgendaTimeTemplateDirective, i28.AllDayEventTemplateDirective, i29.AllDaySlotTemplateDirective, i30.DateHeaderTemplateDirective, i31.EventTemplateDirective, i32.EditDialogTemplateDirective, i33.GroupHeaderTemplateDirective, i34.MajorTimeHeaderTemplateDirective, i35.MinorTimeHeaderTemplateDirective, i36.MonthDaySlotTemplateDirective, i37.MultiWeekDaySlotTemplateDirective, i38.TimeSlotTemplateDirective] });
79
- SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, providers: [
80
- ToolbarService,
81
- ViewContextService,
82
- ViewStateService,
83
- EditService,
84
- IconsService,
85
- PopupService,
86
- ResizeBatchService,
87
- // DateInputsModule providers
88
- CalendarDOMService,
89
- CenturyViewService,
90
- DecadeViewService,
91
- MonthViewService,
92
- YearViewService,
93
- NavigationService,
94
- TimePickerDOMService,
95
- HoursService,
96
- MinutesService,
97
- SecondsService,
98
- MillisecondsService,
99
- DayPeriodService,
100
- // DropDownsModule providers
101
- DialogContainerService,
102
- DialogService,
103
- WindowService,
104
- WindowContainerService,
105
- ], imports: [i1.SchedulerComponent, i2.SchedulerCustomMessagesComponent, i6.PDFComponent, i7.PDFCommandDirective, i9.AgendaViewComponent, i10.DayViewComponent, i11.MonthViewComponent, i12.MultiDayViewComponent, i13.MultiWeekViewComponent, i14.TimelineMonthViewComponent, i15.TimelineViewComponent, i16.TimelineWeekViewComponent, i17.WeekViewComponent, i18.WorkWeekViewComponent, i19.YearViewComponent, i21.RecurrenceEditorComponent, i22.TimeZoneEditorComponent, i23.ToolbarNavigationComponent, i25.ToolbarViewSelectorComponent] });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerModule, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SchedulerModule, decorators: [{
107
107
  type: NgModule,
108
108
  args: [{
109
109
  imports: [...KENDO_SCHEDULER],
@@ -28,45 +28,43 @@ const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
28
28
  * [toolbar template]({% slug api_scheduler_toolbartemplatedirective %}).
29
29
  */
30
30
  export class ToolbarNavigationComponent {
31
- constructor(popupService, toolbarService, localization, cd, viewContext) {
32
- this.popupService = popupService;
33
- this.toolbarService = toolbarService;
34
- this.localization = localization;
35
- this.cd = cd;
36
- this.viewContext = viewContext;
37
- this.hostClass = true;
38
- /**
39
- * Sets the [`activeView`]({% slug api_dateinputs_calendarcomponent %}#toc-activeview) of the Calendar in the navigation component.
40
- *
41
- * @default month
42
- */
43
- this.activeView = 'month';
44
- /**
45
- * Sets the [`bottomView`]({% slug api_dateinputs_calendarcomponent %}#toc-bottomview) of the Calendar in the navigation component.
46
- *
47
- * @default month
48
- */
49
- this.bottomView = 'month';
50
- /**
51
- * @hidden
52
- */
53
- this.dateRangeText = { short: '', long: '', current: '' };
54
- this.isMouseDown = false;
55
- this.subs = this.localization.changes.subscribe(() => {
56
- cd.markForCheck();
57
- });
58
- }
31
+ popupService;
32
+ toolbarService;
33
+ localization;
34
+ cd;
35
+ viewContext;
59
36
  set calendar(calendar) {
60
37
  if (calendar) {
61
38
  calendar.focus();
62
39
  }
63
40
  }
41
+ hostClass = true;
42
+ /**
43
+ * @hidden
44
+ */
45
+ min;
46
+ /**
47
+ * @hidden
48
+ */
49
+ max;
64
50
  /**
65
51
  * @hidden
66
52
  */
67
53
  get todayText() {
68
54
  return this.localization.get('today');
69
55
  }
56
+ /**
57
+ * Sets the [`activeView`]({% slug api_dateinputs_calendarcomponent %}#toc-activeview) of the Calendar in the navigation component.
58
+ *
59
+ * @default month
60
+ */
61
+ activeView = 'month';
62
+ /**
63
+ * Sets the [`bottomView`]({% slug api_dateinputs_calendarcomponent %}#toc-bottomview) of the Calendar in the navigation component.
64
+ *
65
+ * @default month
66
+ */
67
+ bottomView = 'month';
70
68
  /**
71
69
  * @hidden
72
70
  */
@@ -91,12 +89,29 @@ export class ToolbarNavigationComponent {
91
89
  get ctx() {
92
90
  return this.toolbarService.context;
93
91
  }
92
+ /**
93
+ * @hidden
94
+ */
95
+ dateRangeText = { short: '', long: '', current: '' };
94
96
  /**
95
97
  * @hidden
96
98
  */
97
99
  svgIcon(name) {
98
100
  return iconsMap[name];
99
101
  }
102
+ popupRef;
103
+ subs;
104
+ isMouseDown = false;
105
+ constructor(popupService, toolbarService, localization, cd, viewContext) {
106
+ this.popupService = popupService;
107
+ this.toolbarService = toolbarService;
108
+ this.localization = localization;
109
+ this.cd = cd;
110
+ this.viewContext = viewContext;
111
+ this.subs = this.localization.changes.subscribe(() => {
112
+ cd.markForCheck();
113
+ });
114
+ }
100
115
  /**
101
116
  * @hidden
102
117
  */
@@ -200,11 +215,10 @@ export class ToolbarNavigationComponent {
200
215
  get arrowSVGIcons() {
201
216
  return !this.localization.rtl ? ['caretAltLeftIcon', 'caretAltRightIcon'] : ['caretAltRightIcon', 'caretAltLeftIcon'];
202
217
  }
203
- }
204
- ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1.PopupService }, { token: i2.ToolbarService }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
205
- ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
206
- PopupService
207
- ], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
218
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1.PopupService }, { token: i2.ToolbarService }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
219
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
220
+ PopupService
221
+ ], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
208
222
  <span class="k-scheduler-navigation k-button-group k-button-group-solid" role="group">
209
223
  <button kendoButton
210
224
  (click)="todayClick()"
@@ -270,7 +284,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
270
284
  </kendo-calendar>
271
285
  </ng-template>
272
286
  `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
287
+ }
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
274
289
  type: Component,
275
290
  args: [{
276
291
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -24,13 +24,14 @@ import * as i0 from "@angular/core";
24
24
  * the [`ToolbarService`]({% slug api_scheduler_toolbarservice %}).
25
25
  */
26
26
  export class ToolbarTemplateDirective {
27
+ templateRef;
27
28
  constructor(templateRef) {
28
29
  this.templateRef = templateRef;
29
30
  }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
30
33
  }
31
- ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
32
- ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
34
35
  type: Directive,
35
36
  args: [{
36
37
  selector: '[kendoSchedulerToolbarTemplate]',
@@ -17,20 +17,24 @@ import * as i1 from "./toolbar.service";
17
17
  * @hidden
18
18
  */
19
19
  export class ToolbarComponent {
20
- constructor(service, element, zone) {
21
- this.service = service;
22
- this.element = element;
23
- this.zone = zone;
24
- this.hostClasses = true;
25
- this.toolbarRole = 'toolbar';
26
- this.navigate = new EventEmitter();
27
- this.toolbarWidthChange = new EventEmitter();
28
- // The template context is the same as the service context,
29
- // but with resolved values instead of observables.
30
- this.templateContext = {};
31
- this.subs = new Subscription();
32
- this.subs.add(service.action.subscribe(action => this.navigate.next(action)));
33
- }
20
+ service;
21
+ element;
22
+ zone;
23
+ hostClasses = true;
24
+ toolbarRole = 'toolbar';
25
+ selectedView;
26
+ views;
27
+ dateRange;
28
+ selectedDate;
29
+ template;
30
+ min;
31
+ max;
32
+ navigate = new EventEmitter();
33
+ toolbarWidthChange = new EventEmitter();
34
+ // The template context is the same as the service context,
35
+ // but with resolved values instead of observables.
36
+ templateContext = {};
37
+ toolbarWidth;
34
38
  /**
35
39
  * @hidden
36
40
  */
@@ -43,6 +47,13 @@ export class ToolbarComponent {
43
47
  get bottomView() {
44
48
  return this.service.context.selectedView?.name === 'year' ? 'decade' : 'month';
45
49
  }
50
+ subs = new Subscription();
51
+ constructor(service, element, zone) {
52
+ this.service = service;
53
+ this.element = element;
54
+ this.zone = zone;
55
+ this.subs.add(service.action.subscribe(action => this.navigate.next(action)));
56
+ }
46
57
  ngOnInit() {
47
58
  this.subs.add(this.selectedDate.subscribe(date => this.templateContext.selectedDate = date));
48
59
  this.subs.add(this.dateRange.subscribe(dateRange => this.templateContext.dateRange = dateRange));
@@ -70,9 +81,8 @@ export class ToolbarComponent {
70
81
  this.zone.run(() => this.toolbarWidth = element.offsetWidth);
71
82
  this.toolbarWidthChange.emit(this.toolbarWidth);
72
83
  }
73
- }
74
- ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
75
- ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-solid": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
85
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "class.k-toolbar-solid": "this.hostClasses", "class.k-toolbar-md": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
76
86
  <ng-template
77
87
  *ngIf="template; else defaultTemplate"
78
88
  [ngTemplateOutlet]="template.templateRef"
@@ -93,7 +103,8 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
93
103
 
94
104
  <kendo-resize-sensor (resize)="resizeHandler()" [style]="'display: contents;'"></kendo-resize-sensor>
95
105
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: ["min", "max", "activeView", "bottomView"] }, { kind: "component", type: ToolbarViewSelectorComponent, selector: "[kendoSchedulerToolbarViewSelector]", inputs: ["toolbarWidth", "responsiveBreakpoint"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, decorators: [{
106
+ }
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
97
108
  type: Component,
98
109
  args: [{
99
110
  selector: 'kendo-scheduler-toolbar',
@@ -11,9 +11,21 @@ import * as i0 from "@angular/core";
11
11
  * ([see example]({% slug toolbar_scheduler %}#toc-using-the-toolbar-service)).
12
12
  */
13
13
  export class ToolbarService {
14
+ /**
15
+ * A stream of navigation actions that is intended for consumption by the toolbar.
16
+ *
17
+ * @hidden
18
+ */
19
+ action;
20
+ /**
21
+ * The context for the built-in navigation components.
22
+ *
23
+ * @hidden
24
+ */
25
+ context;
26
+ actionSource = new Subject();
14
27
  /** @hidden */
15
28
  constructor() {
16
- this.actionSource = new Subject();
17
29
  this.action = this.actionSource.asObservable();
18
30
  }
19
31
  /**
@@ -24,10 +36,10 @@ export class ToolbarService {
24
36
  navigate(action) {
25
37
  this.actionSource.next(action);
26
38
  }
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
40
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarService, providedIn: 'root' });
27
41
  }
28
- ToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
29
- ToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService, providedIn: 'root' });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarService, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarService, decorators: [{
31
43
  type: Injectable,
32
44
  args: [{
33
45
  providedIn: 'root'
@@ -19,17 +19,20 @@ import * as i2 from "@progress/kendo-angular-l10n";
19
19
  * [toolbar template]({% slug api_scheduler_toolbartemplatedirective %}).
20
20
  */
21
21
  export class ToolbarViewSelectorComponent {
22
- constructor(service, localization) {
23
- this.service = service;
24
- this.localization = localization;
25
- /**
26
- * Specifies the Toolbar width (in pixels) at which the responsive behavior should be enabled.
27
- * The responsive behavior means that the ButtonGroup with the views will be replaced by a `select` element.
28
- *
29
- * @default 1024
30
- */
31
- this.responsiveBreakpoint = 1024;
32
- }
22
+ service;
23
+ localization;
24
+ /**
25
+ * Specifies the current width of the Toolbar (in pixels) so the responsive calculations can be made.
26
+ * The ([schedulerResize]({% slug api_scheduler_schedulercomponent %}#toc-schedulerresize)) event can be used in order to obtain the Toolbar width.
27
+ */
28
+ toolbarWidth;
29
+ /**
30
+ * Specifies the Toolbar width (in pixels) at which the responsive behavior should be enabled.
31
+ * The responsive behavior means that the ButtonGroup with the views will be replaced by a `select` element.
32
+ *
33
+ * @default 1024
34
+ */
35
+ responsiveBreakpoint = 1024;
33
36
  /**
34
37
  * @hidden
35
38
  */
@@ -42,6 +45,11 @@ export class ToolbarViewSelectorComponent {
42
45
  get selectView() {
43
46
  return this.localization.get('selectView');
44
47
  }
48
+ detachDomEvents;
49
+ constructor(service, localization) {
50
+ this.service = service;
51
+ this.localization = localization;
52
+ }
45
53
  ngOnDestroy() {
46
54
  if (this.detachDomEvents) {
47
55
  this.detachDomEvents();
@@ -73,9 +81,8 @@ export class ToolbarViewSelectorComponent {
73
81
  isSelected(view) {
74
82
  return this.ctx.selectedView === view;
75
83
  }
76
- }
77
- ToolbarViewSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: i1.ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
78
- ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarViewSelectorComponent, isStandalone: true, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: i1.ToolbarService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
85
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarViewSelectorComponent, isStandalone: true, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
79
86
  <select
80
87
  *ngIf="ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint"
81
88
  (change)="onChange($event)"
@@ -109,7 +116,8 @@ ToolbarViewSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
109
116
  </button>
110
117
  </span>
111
118
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
119
+ }
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
113
121
  type: Component,
114
122
  args: [{
115
123
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -6,6 +6,22 @@
6
6
  * The arguments for the [`isSlotSelected`]({% slug api_scheduler_schedulercomponent %}#toc-isslotselected) callback.
7
7
  */
8
8
  export class IsSlotSelectedArgs {
9
+ /**
10
+ * The start date of the slot.
11
+ */
12
+ start;
13
+ /**
14
+ * The end date of the slot.
15
+ */
16
+ end;
17
+ /**
18
+ * Indicates if the slot is an all-day slot, or a time slot.
19
+ */
20
+ isAllDay;
21
+ /**
22
+ * The resources for the slot, if grouping by resource; otherwise all Scheduler resources.
23
+ */
24
+ resources;
9
25
  }
10
26
  /**
11
27
  * @hidden
@@ -11,23 +11,22 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export class AgendaHeaderItemComponent {
14
- constructor() {
15
- this.classes = true;
16
- this.roleAttribute = "rowheader";
17
- this.hasFirstClass = true;
18
- }
14
+ classes = true;
19
15
  get firstClass() {
20
16
  return this.hasFirstClass;
21
17
  }
18
+ roleAttribute = "rowheader";
22
19
  get rowSpan() {
23
20
  return this.item.rowSpan;
24
21
  }
22
+ item;
23
+ agendaDateTemplate;
24
+ hasFirstClass = true;
25
25
  get itemDate() {
26
26
  return toLocalDate(this.item.dataItem.value);
27
27
  }
28
- }
29
- AgendaHeaderItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
- AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AgendaHeaderItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate", hasFirstClass: "hasFirstClass" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "class.k-scheduler-cell": "this.classes", "class.k-first": "this.firstClass", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
28
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaHeaderItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaHeaderItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeaderItem]", inputs: { item: ["kendoSchedulerAgendaHeaderItem", "item"], agendaDateTemplate: "agendaDateTemplate", hasFirstClass: "hasFirstClass" }, host: { properties: { "class.k-scheduler-datecolumn": "this.classes", "class.k-scheduler-cell": "this.classes", "class.k-first": "this.firstClass", "attr.role": "this.roleAttribute", "attr.rowspan": "this.rowSpan" } }, ngImport: i0, template: `
31
30
  <ng-container *ngIf="!agendaDateTemplate">
32
31
  <strong class="k-scheduler-agendaday">{{itemDate | kendoDate: 'dd'}}</strong>
33
32
  <em class="k-scheduler-agendaweek">{{itemDate | kendoDate: 'EEEE'}}</em>
@@ -37,7 +36,8 @@ AgendaHeaderItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
37
36
  [ngTemplateOutletContext]="{ date: itemDate }">
38
37
  </ng-container>
39
38
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: DatePipe, name: "kendoDate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AgendaHeaderItemComponent, decorators: [{
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaHeaderItemComponent, decorators: [{
41
41
  type: Component,
42
42
  args: [{
43
43
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -11,10 +11,9 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class AgendaHeaderComponent {
14
- constructor(localization) {
15
- this.localization = localization;
16
- this.classes = true;
17
- }
14
+ localization;
15
+ classes = true;
16
+ resources;
18
17
  get dateMessage() {
19
18
  return this.localization.get('dateHeader');
20
19
  }
@@ -24,9 +23,11 @@ export class AgendaHeaderComponent {
24
23
  get eventMessage() {
25
24
  return this.localization.get('eventHeader');
26
25
  }
27
- }
28
- AgendaHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
29
- AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AgendaHeaderComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes" } }, ngImport: i0, template: `
26
+ constructor(localization) {
27
+ this.localization = localization;
28
+ }
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaHeaderComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
30
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaHeaderComponent, isStandalone: true, selector: "[kendoSchedulerAgendaHeader]", inputs: { resources: "resources" }, host: { properties: { "class.k-scheduler-header": "this.classes" } }, ngImport: i0, template: `
30
31
  <div class="k-scheduler-header-wrap">
31
32
  <table class="k-scheduler-table" role="none">
32
33
  <tbody role="rowgroup">
@@ -40,7 +41,8 @@ AgendaHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
40
41
  </table>
41
42
  </div>
42
43
  `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AgendaHeaderComponent, decorators: [{
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaHeaderComponent, decorators: [{
44
46
  type: Component,
45
47
  args: [{
46
48
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -15,14 +15,16 @@ import * as i1 from "@progress/kendo-angular-l10n";
15
15
  * @hidden
16
16
  */
17
17
  export class AgendaTaskItemComponent {
18
- constructor(localization, localeId) {
19
- this.localization = localization;
20
- this.localeId = localeId;
21
- this.arrowRotateCWIcon = arrowRotateCwIcon;
22
- this.arrowsNoRepeatIcon = arrowsNoRepeatIcon;
23
- this.xIcon = xIcon;
24
- this.cellClass = true;
25
- }
18
+ localization;
19
+ localeId;
20
+ arrowRotateCWIcon = arrowRotateCwIcon;
21
+ arrowsNoRepeatIcon = arrowsNoRepeatIcon;
22
+ xIcon = xIcon;
23
+ item;
24
+ color;
25
+ eventTemplate;
26
+ editable;
27
+ cellClass = true;
26
28
  get eventTitle() {
27
29
  const start = toLocalDate(this.item.start);
28
30
  const end = toLocalDate(this.item.end);
@@ -44,9 +46,12 @@ export class AgendaTaskItemComponent {
44
46
  get removable() {
45
47
  return this.editable && this.editable.remove !== false;
46
48
  }
47
- }
48
- AgendaTaskItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1.LocalizationService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
49
- AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
49
+ constructor(localization, localeId) {
50
+ this.localization = localization;
51
+ this.localeId = localeId;
52
+ }
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, deps: [{ token: i1.LocalizationService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
54
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AgendaTaskItemComponent, isStandalone: true, selector: "[kendoSchedulerAgendaTaskItem]", inputs: { item: ["kendoSchedulerAgendaTaskItem", "item"], color: "color", eventTemplate: "eventTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-cell": "this.cellClass", "attr.aria-label": "this.eventTitle" } }, ngImport: i0, template: `
50
55
  <div class="k-task" [title]="item.title">
51
56
  <span class="k-scheduler-mark" *ngIf="eventColor" [style.background-color]="eventColor"></span>
52
57
  <kendo-icon-wrapper *ngIf="isRecurrence" name="arrow-rotate-cw" [svgIcon]="arrowRotateCWIcon"></kendo-icon-wrapper>
@@ -64,7 +69,8 @@ AgendaTaskItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
64
69
  </span>
65
70
  </div>
66
71
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AgendaTaskItemComponent, decorators: [{
68
74
  type: Component,
69
75
  args: [{
70
76
  changeDetection: ChangeDetectionStrategy.OnPush,