@progress/kendo-angular-scheduler 4.3.7 → 11.0.0-develop.100

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 (404) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/common/constants.d.ts +1 -1
  4. package/common/default-model-fields.d.ts +1 -1
  5. package/common/dom-queries.d.ts +1 -1
  6. package/common/getter.d.ts +1 -1
  7. package/common/modifiers.d.ts +1 -1
  8. package/common/setter.d.ts +1 -1
  9. package/common/util.d.ts +1 -1
  10. package/data-binding.directive.d.ts +1 -1
  11. package/editing/date-time-picker.component.d.ts +1 -1
  12. package/editing/dialogs.service.d.ts +1 -1
  13. package/editing/edit-dialog-template.directive.d.ts +1 -1
  14. package/editing/edit-dialog.component.d.ts +1 -1
  15. package/editing/edit.service.d.ts +1 -1
  16. package/editing/local-data-changes.service.d.ts +1 -1
  17. package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
  18. package/editing/recurrence/localization/custom-messages.component.d.ts +1 -1
  19. package/editing/recurrence/localization/localized-messages.directive.d.ts +1 -1
  20. package/editing/recurrence/localization/messages.d.ts +1 -1
  21. package/editing/recurrence/localization/recurrence-localization.service.d.ts +1 -1
  22. package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
  23. package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
  24. package/editing/recurrence/recurrence-frequency-editor.component.d.ts +1 -1
  25. package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
  26. package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
  27. package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +1 -1
  28. package/editing/recurrence/recurrence.service.d.ts +1 -1
  29. package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
  30. package/editing/resource-editor-base.d.ts +1 -1
  31. package/editing/resource-multiple-editor.component.d.ts +1 -1
  32. package/editing/resource-single-editor.component.d.ts +1 -1
  33. package/editing/timezone-editor.component.d.ts +1 -1
  34. package/editing-directives/base-edit.service.d.ts +1 -1
  35. package/editing-directives/edit-service.interface.d.ts +1 -1
  36. package/editing-directives/editing-directive-base.d.ts +1 -1
  37. package/editing-directives/local-edit.service.d.ts +1 -1
  38. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  39. package/editing-directives/utils.d.ts +1 -1
  40. package/{esm2015/common/constants.js → esm2020/common/constants.mjs} +1 -1
  41. package/{esm2015/common/default-model-fields.js → esm2020/common/default-model-fields.mjs} +1 -1
  42. package/{esm2015/common/dom-queries.js → esm2020/common/dom-queries.mjs} +3 -3
  43. package/{esm2015/common/getter.js → esm2020/common/getter.mjs} +1 -1
  44. package/{esm2015/common/modifiers.js → esm2020/common/modifiers.mjs} +1 -1
  45. package/{esm2015/common/setter.js → esm2020/common/setter.mjs} +1 -1
  46. package/{esm2015/common/util.js → esm2020/common/util.mjs} +2 -2
  47. package/{esm2015/data-binding.directive.js → esm2020/data-binding.directive.mjs} +8 -5
  48. package/{esm2015/editing/date-time-picker.component.js → esm2020/editing/date-time-picker.component.mjs} +11 -12
  49. package/{esm2015/editing/dialogs.service.js → esm2020/editing/dialogs.service.mjs} +9 -6
  50. package/{esm2015/editing/edit-dialog-template.directive.js → esm2020/editing/edit-dialog-template.directive.mjs} +5 -5
  51. package/{esm2015/editing/edit-dialog.component.js → esm2020/editing/edit-dialog.component.mjs} +15 -11
  52. package/{esm2015/editing/edit.service.js → esm2020/editing/edit.service.mjs} +5 -5
  53. package/{esm2015/editing/local-data-changes.service.js → esm2020/editing/local-data-changes.service.mjs} +4 -4
  54. package/{esm2015/editing/recurrence/end-rule-radio-button.directive.js → esm2020/editing/recurrence/end-rule-radio-button.directive.mjs} +6 -5
  55. package/{esm2015/editing/recurrence/localization/custom-messages.component.js → esm2020/editing/recurrence/localization/custom-messages.component.mjs} +5 -4
  56. package/{esm2015/editing/recurrence/localization/localized-messages.directive.js → esm2020/editing/recurrence/localization/localized-messages.directive.mjs} +5 -4
  57. package/{esm2015/editing/recurrence/localization/messages.js → esm2020/editing/recurrence/localization/messages.mjs} +4 -4
  58. package/{esm2015/editing/recurrence/localization/recurrence-localization.service.js → esm2020/editing/recurrence/localization/recurrence-localization.service.mjs} +5 -5
  59. package/{esm2015/editing/recurrence/recurrence-editor.component.js → esm2020/editing/recurrence/recurrence-editor.component.mjs} +6 -5
  60. package/{esm2015/editing/recurrence/recurrence-end-rule-editor.component.js → esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs} +10 -8
  61. package/{esm2015/editing/recurrence/recurrence-frequency-editor.component.js → esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs} +8 -6
  62. package/{esm2015/editing/recurrence/recurrence-interval-editor.component.js → esm2020/editing/recurrence/recurrence-interval-editor.component.mjs} +7 -5
  63. package/{esm2015/editing/recurrence/recurrence-monthly-yearly-editor.component.js → esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs} +8 -6
  64. package/{esm2015/editing/recurrence/recurrence-weekday-rule-editor.component.js → esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs} +9 -7
  65. package/{esm2015/editing/recurrence/recurrence.service.js → esm2020/editing/recurrence/recurrence.service.mjs} +7 -5
  66. package/{esm2015/editing/recurrence/repeat-on-radio-button.directive.js → esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs} +6 -5
  67. package/{esm2015/editing/resource-editor-base.js → esm2020/editing/resource-editor-base.mjs} +4 -4
  68. package/{esm2015/editing/resource-multiple-editor.component.js → esm2020/editing/resource-multiple-editor.component.mjs} +5 -4
  69. package/{esm2015/editing/resource-single-editor.component.js → esm2020/editing/resource-single-editor.component.mjs} +5 -4
  70. package/{esm2015/editing/timezone-editor.component.js → esm2020/editing/timezone-editor.component.mjs} +5 -4
  71. package/{esm2015/editing-directives/base-edit.service.js → esm2020/editing-directives/base-edit.service.mjs} +2 -2
  72. package/{esm2015/editing-directives/edit-service.interface.js → esm2020/editing-directives/edit-service.interface.mjs} +1 -1
  73. package/{esm2015/editing-directives/editing-directive-base.js → esm2020/editing-directives/editing-directive-base.mjs} +8 -4
  74. package/{esm2015/editing-directives/local-edit.service.js → esm2020/editing-directives/local-edit.service.mjs} +1 -1
  75. package/{esm2015/editing-directives/reactive-editing.directive.js → esm2020/editing-directives/reactive-editing.directive.mjs} +8 -4
  76. package/{esm2015/editing-directives/utils.js → esm2020/editing-directives/utils.mjs} +3 -3
  77. package/{esm2015/events/add-event.js → esm2020/events/add-event.mjs} +1 -1
  78. package/{esm2015/events/cancel-event.js → esm2020/events/cancel-event.mjs} +1 -1
  79. package/{esm2015/events/create-event.js → esm2020/events/create-event.mjs} +1 -1
  80. package/{esm2015/events/date-change-event.js → esm2020/events/date-change-event.mjs} +1 -1
  81. package/{esm2015/events/drag-end-event.js → esm2020/events/drag-end-event.mjs} +1 -1
  82. package/{esm2015/events/drag-event.js → esm2020/events/drag-event.mjs} +1 -1
  83. package/{esm2015/events/drag-start-event.js → esm2020/events/drag-start-event.mjs} +1 -1
  84. package/{esm2015/events/edit-event-base.js → esm2020/events/edit-event-base.mjs} +1 -1
  85. package/{esm2015/events/edit-event.js → esm2020/events/edit-event.mjs} +1 -1
  86. package/{esm2015/events/event-click-event.js → esm2020/events/event-click-event.mjs} +1 -1
  87. package/{esm2015/events/event-keydown-event.js → esm2020/events/event-keydown-event.mjs} +1 -1
  88. package/{esm2015/events/navigate-event.js → esm2020/events/navigate-event.mjs} +1 -1
  89. package/{esm2015/events/preventable-event.js → esm2020/events/preventable-event.mjs} +1 -1
  90. package/{esm2015/events/remove-event.js → esm2020/events/remove-event.mjs} +1 -1
  91. package/{esm2015/events/resize-end-event.js → esm2020/events/resize-end-event.mjs} +1 -1
  92. package/{esm2015/events/resize-event.js → esm2020/events/resize-event.mjs} +1 -1
  93. package/{esm2015/events/resize-start-event.js → esm2020/events/resize-start-event.mjs} +1 -1
  94. package/{esm2015/events/save-event.js → esm2020/events/save-event.mjs} +1 -1
  95. package/{esm2015/events/slot-click-event.js → esm2020/events/slot-click-event.mjs} +1 -1
  96. package/{esm2015/events/slot-drag-end-event.js → esm2020/events/slot-drag-end-event.mjs} +1 -1
  97. package/{esm2015/events/slot-drag-event.js → esm2020/events/slot-drag-event.mjs} +1 -1
  98. package/{esm2015/events/slot-drag-start-event.js → esm2020/events/slot-drag-start-event.mjs} +1 -1
  99. package/{esm2015/events/view-event-map.js → esm2020/events/view-event-map.mjs} +1 -1
  100. package/{esm2015/events.js → esm2020/events.mjs} +1 -1
  101. package/{esm2015/main.js → esm2020/index.mjs} +3 -1
  102. package/{esm2015/loading.component.js → esm2020/loading.component.mjs} +5 -5
  103. package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
  104. package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
  105. package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +6 -4
  106. package/{esm2015/localization/scheduler-localization.service.js → esm2020/localization/scheduler-localization.service.mjs} +5 -5
  107. package/{esm2015/toolbar/toolbar-context.js → esm2020/navigation/focus-position.interface.mjs} +1 -1
  108. package/{esm2015/navigation/focus.service.js → esm2020/navigation/focus.service.mjs} +9 -10
  109. package/{esm2015/navigation/focusable-element.interface.js → esm2020/navigation/focusable-element.interface.mjs} +1 -1
  110. package/{esm2015/navigation/focusable.directive.js → esm2020/navigation/focusable.directive.mjs} +9 -9
  111. package/{esm2015/navigation/shortcuts.directive.js → esm2020/navigation/shortcuts.directive.mjs} +11 -6
  112. package/{esm2015/navigation.js → esm2020/navigation.mjs} +1 -1
  113. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  114. package/{esm2015/pdf/pdf-command.directive.js → esm2020/pdf/pdf-command.directive.mjs} +34 -7
  115. package/{esm2015/pdf/pdf-export-event.js → esm2020/pdf/pdf-export-event.mjs} +1 -1
  116. package/{esm2015/pdf/pdf.component.js → esm2020/pdf/pdf.component.mjs} +6 -5
  117. package/{esm2015/pdf/pdf.module.js → esm2020/pdf/pdf.module.mjs} +8 -6
  118. package/{esm2015/pdf/pdf.service.js → esm2020/pdf/pdf.service.mjs} +4 -4
  119. package/{esm2015/kendo-angular-scheduler.js → esm2020/progress-kendo-angular-scheduler.mjs} +2 -2
  120. package/{esm2015/scheduler.component.js → esm2020/scheduler.component.mjs} +23 -13
  121. package/{esm2015/scheduler.module.js → esm2020/scheduler.module.mjs} +9 -5
  122. package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
  123. package/{esm2015/toolbar/navigation.component.js → esm2020/toolbar/navigation.component.mjs} +40 -18
  124. package/{esm2015/navigation/focus-position.interface.js → esm2020/toolbar/toolbar-context.mjs} +1 -1
  125. package/{esm2015/toolbar/toolbar-template.directive.js → esm2020/toolbar/toolbar-template.directive.mjs} +5 -5
  126. package/{esm2015/toolbar/toolbar.component.js → esm2020/toolbar/toolbar.component.mjs} +8 -5
  127. package/{esm2015/toolbar/toolbar.module.js → esm2020/toolbar/toolbar.module.mjs} +5 -5
  128. package/{esm2015/toolbar/toolbar.service.js → esm2020/toolbar/toolbar.service.mjs} +4 -4
  129. package/{esm2015/toolbar/view-selector.component.js → esm2020/toolbar/view-selector.component.mjs} +10 -8
  130. package/esm2020/types/actions.mjs +5 -0
  131. package/esm2020/types/create-form-group-args.interface.mjs +5 -0
  132. package/esm2020/types/crud-operation.enum.mjs +5 -0
  133. package/esm2020/types/current-time-settings.interface.mjs +5 -0
  134. package/esm2020/types/date-range.interface.mjs +5 -0
  135. package/esm2020/types/datepicker-options.interface.mjs +5 -0
  136. package/esm2020/types/edit-event-args.interface.mjs +5 -0
  137. package/esm2020/types/edit-mode.enum.mjs +5 -0
  138. package/esm2020/types/editable-settings.interface.mjs +5 -0
  139. package/esm2020/types/event-style-args.interface.mjs +5 -0
  140. package/esm2020/types/focusable-container.mjs +5 -0
  141. package/esm2020/types/group.interface.mjs +5 -0
  142. package/esm2020/types/numeric-options.interface.mjs +5 -0
  143. package/esm2020/types/ongoing-events-settings.interface.mjs +5 -0
  144. package/esm2020/types/resource.interface.mjs +5 -0
  145. package/esm2020/types/scheduler-event.mjs +5 -0
  146. package/esm2020/types/scheduler-model-fields.interface.mjs +5 -0
  147. package/esm2020/types/scheduler-slot.interface.mjs +5 -0
  148. package/{esm2015/types/scheduler-view.js → esm2020/types/scheduler-view.mjs} +1 -1
  149. package/esm2020/types/slot-class-args.interface.mjs +5 -0
  150. package/{esm2015/types/slot-selection.js → esm2020/types/slot-selection.mjs} +1 -1
  151. package/esm2020/types/view-item.interface.mjs +5 -0
  152. package/{esm2015/types.js → esm2020/types.mjs} +1 -3
  153. package/{esm2015/views/agenda/agenda-header-item.component.js → esm2020/views/agenda/agenda-header-item.component.mjs} +5 -5
  154. package/{esm2015/views/agenda/agenda-header.component.js → esm2020/views/agenda/agenda-header.component.mjs} +5 -4
  155. package/{esm2015/views/agenda/agenda-task-item.component.js → esm2020/views/agenda/agenda-task-item.component.mjs} +6 -5
  156. package/{esm2015/views/agenda/agenda-view-internal.component.js → esm2020/views/agenda/agenda-view-internal.component.mjs} +10 -5
  157. package/{esm2015/views/agenda/agenda-view-list.component.js → esm2020/views/agenda/agenda-view-list.component.mjs} +7 -5
  158. package/{esm2015/views/agenda/agenda-view.component.js → esm2020/views/agenda/agenda-view.component.mjs} +8 -5
  159. package/{esm2015/views/agenda/agenda-view.module.js → esm2020/views/agenda/agenda-view.module.mjs} +5 -5
  160. package/{esm2015/views/agenda/tasks.collection.js → esm2020/views/agenda/tasks.collection.mjs} +1 -1
  161. package/{esm2015/views/agenda/utils.js → esm2020/views/agenda/utils.mjs} +10 -5
  162. package/{esm2015/views/common/base-view.js → esm2020/views/common/base-view.mjs} +20 -13
  163. package/{esm2015/views/common/configuration-view-base.js → esm2020/views/common/configuration-view-base.mjs} +8 -5
  164. package/{esm2015/views/common/dom-events.service.js → esm2020/views/common/dom-events.service.mjs} +4 -4
  165. package/{esm2015/views/common/hint-container.component.js → esm2020/views/common/hint-container.component.mjs} +5 -5
  166. package/{esm2015/views/common/repeat.pipe.js → esm2020/views/common/repeat.pipe.mjs} +4 -4
  167. package/{esm2015/views/common/resize-hint.component.js → esm2020/views/common/resize-hint.component.mjs} +4 -4
  168. package/{esm2015/views/common/resource-iterator.pipe.js → esm2020/views/common/resource-iterator.pipe.mjs} +4 -4
  169. package/esm2020/views/common/scheduler-task.mjs +5 -0
  170. package/{esm2015/views/common/slot-selectable.directive.js → esm2020/views/common/slot-selectable.directive.mjs} +7 -6
  171. package/{esm2015/views/common/view-footer.component.js → esm2020/views/common/view-footer.component.mjs} +8 -7
  172. package/{esm2015/views/common/views-shared.module.js → esm2020/views/common/views-shared.module.mjs} +5 -5
  173. package/{esm2015/views/common/work-hours-footer.directive.js → esm2020/views/common/work-hours-footer.directive.mjs} +6 -4
  174. package/{esm2015/views/constants.js → esm2020/views/constants.mjs} +1 -1
  175. package/{esm2015/views/day-time/day-time-slot.service.js → esm2020/views/day-time/day-time-slot.service.mjs} +12 -18
  176. package/{esm2015/views/day-time/day-time-view-base.js → esm2020/views/day-time/day-time-view-base.mjs} +9 -5
  177. package/{esm2015/views/day-time/day-time-view-item.component.js → esm2020/views/day-time/day-time-view-item.component.mjs} +9 -5
  178. package/{esm2015/views/day-time/day-time-view.component.js → esm2020/views/day-time/day-time-view.component.mjs} +12 -6
  179. package/{esm2015/views/day-time/day-time.module.js → esm2020/views/day-time/day-time.module.mjs} +5 -5
  180. package/{esm2015/views/day-time/event-slot.directive.js → esm2020/views/day-time/event-slot.directive.mjs} +10 -8
  181. package/{esm2015/views/day-time/utils.js → esm2020/views/day-time/utils.mjs} +1 -1
  182. package/{esm2015/views/month/month-slot.directive.js → esm2020/views/month/month-slot.directive.mjs} +7 -5
  183. package/{esm2015/views/month/month-slot.service.js → esm2020/views/month/month-slot.service.mjs} +1 -1
  184. package/{esm2015/views/month/month-view-item.component.js → esm2020/views/month/month-view-item.component.mjs} +8 -5
  185. package/{esm2015/views/month/month-view-renderer.component.js → esm2020/views/month/month-view-renderer.component.mjs} +45 -22
  186. package/{esm2015/views/month/month-view.component.js → esm2020/views/month/month-view.component.mjs} +44 -14
  187. package/{esm2015/views/month/month-view.module.js → esm2020/views/month/month-view.module.mjs} +13 -8
  188. package/esm2020/views/month/multi-week-view.component.mjs +147 -0
  189. package/{esm2015/views/month/utils.js → esm2020/views/month/utils.mjs} +2 -2
  190. package/{esm2015/views/multi-day/day-view.component.js → esm2020/views/multi-day/day-view.component.mjs} +10 -7
  191. package/{esm2015/views/multi-day/multi-day-view-base.js → esm2020/views/multi-day/multi-day-view-base.mjs} +8 -5
  192. package/{esm2015/views/multi-day/multi-day-view-renderer.component.js → esm2020/views/multi-day/multi-day-view-renderer.component.mjs} +16 -10
  193. package/{esm2015/views/multi-day/multi-day-view.component.js → esm2020/views/multi-day/multi-day-view.component.mjs} +10 -7
  194. package/{esm2015/views/multi-day/multi-day-view.module.js → esm2020/views/multi-day/multi-day-view.module.mjs} +5 -5
  195. package/{esm2015/views/multi-day/utils.js → esm2020/views/multi-day/utils.mjs} +1 -1
  196. package/{esm2015/views/multi-day/week-view.component.js → esm2020/views/multi-day/week-view.component.mjs} +11 -7
  197. package/{esm2015/views/multi-day/work-week-view.component.js → esm2020/views/multi-day/work-week-view.component.mjs} +11 -7
  198. package/{esm2015/views/scheduler-view.directive.js → esm2020/views/scheduler-view.directive.mjs} +5 -5
  199. package/{esm2015/views/templates/agenda-date-template.directive.js → esm2020/views/templates/agenda-date-template.directive.mjs} +5 -5
  200. package/{esm2015/views/templates/agenda-time-template.directive.js → esm2020/views/templates/agenda-time-template.directive.mjs} +5 -5
  201. package/{esm2015/views/templates/all-day-event-template.directive.js → esm2020/views/templates/all-day-event-template.directive.mjs} +5 -5
  202. package/{esm2015/views/templates/all-day-slot-template.directive.js → esm2020/views/templates/all-day-slot-template.directive.mjs} +5 -5
  203. package/{esm2015/views/templates/date-header-template.directive.js → esm2020/views/templates/date-header-template.directive.mjs} +5 -5
  204. package/{esm2015/views/templates/event-template.directive.js → esm2020/views/templates/event-template.directive.mjs} +5 -5
  205. package/{esm2015/views/templates/group-header-template.directive.js → esm2020/views/templates/group-header-template.directive.mjs} +5 -5
  206. package/{esm2015/views/templates/major-time-header-template.directive.js → esm2020/views/templates/major-time-header-template.directive.mjs} +5 -5
  207. package/{esm2015/views/templates/minor-time-header-template.directive.js → esm2020/views/templates/minor-time-header-template.directive.mjs} +5 -5
  208. package/{esm2015/views/templates/month-day-slot-template.directive.js → esm2020/views/templates/month-day-slot-template.directive.mjs} +5 -5
  209. package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +31 -0
  210. package/{esm2015/views/templates/time-slot-template.directive.js → esm2020/views/templates/time-slot-template.directive.mjs} +5 -5
  211. package/{esm2015/views/templates.js → esm2020/views/templates.mjs} +2 -1
  212. package/{esm2015/views/timeline/timeline-base.js → esm2020/views/timeline/timeline-base.mjs} +8 -5
  213. package/{esm2015/views/timeline/timeline-month-view.component.js → esm2020/views/timeline/timeline-month-view.component.mjs} +10 -7
  214. package/{esm2015/views/timeline/timeline-multi-day-view.component.js → esm2020/views/timeline/timeline-multi-day-view.component.mjs} +11 -5
  215. package/{esm2015/views/timeline/timeline-view.component.js → esm2020/views/timeline/timeline-view.component.mjs} +10 -7
  216. package/{esm2015/views/timeline/timeline-view.module.js → esm2020/views/timeline/timeline-view.module.mjs} +5 -5
  217. package/{esm2015/views/timeline/timeline-week-view.component.js → esm2020/views/timeline/timeline-week-view.component.mjs} +11 -7
  218. package/{esm2015/views/timeline/utils.js → esm2020/views/timeline/utils.mjs} +4 -4
  219. package/{esm2015/views/utils.js → esm2020/views/utils.mjs} +6 -6
  220. package/{esm2015/views/view-context.service.js → esm2020/views/view-context.service.mjs} +4 -4
  221. package/{esm2015/views/view-items/base-slot.directive.js → esm2020/views/view-items/base-slot.directive.mjs} +7 -5
  222. package/{esm2015/views/view-items/base-slot.service.js → esm2020/views/view-items/base-slot.service.mjs} +1 -1
  223. package/{esm2015/views/view-items/base-view-item.js → esm2020/views/view-items/base-view-item.mjs} +9 -6
  224. package/{esm2015/views/view-items/item-map.js → esm2020/views/view-items/item-map.mjs} +1 -1
  225. package/esm2020/views/view-items/types.mjs +5 -0
  226. package/{esm2015/views/view-state.service.js → esm2020/views/view-state.service.mjs} +4 -4
  227. package/events/add-event.d.ts +1 -1
  228. package/events/cancel-event.d.ts +1 -1
  229. package/events/create-event.d.ts +1 -1
  230. package/events/date-change-event.d.ts +1 -1
  231. package/events/drag-end-event.d.ts +1 -1
  232. package/events/drag-event.d.ts +1 -1
  233. package/events/drag-start-event.d.ts +1 -1
  234. package/events/edit-event-base.d.ts +1 -1
  235. package/events/edit-event.d.ts +1 -1
  236. package/events/event-click-event.d.ts +1 -1
  237. package/events/event-keydown-event.d.ts +1 -1
  238. package/events/navigate-event.d.ts +1 -1
  239. package/events/preventable-event.d.ts +1 -1
  240. package/events/remove-event.d.ts +1 -1
  241. package/events/resize-end-event.d.ts +1 -1
  242. package/events/resize-event.d.ts +1 -1
  243. package/events/resize-start-event.d.ts +1 -1
  244. package/events/save-event.d.ts +1 -1
  245. package/events/slot-click-event.d.ts +1 -1
  246. package/events/slot-drag-end-event.d.ts +1 -1
  247. package/events/slot-drag-event.d.ts +1 -1
  248. package/events/slot-drag-start-event.d.ts +1 -1
  249. package/events/view-event-map.d.ts +1 -1
  250. package/events.d.ts +1 -1
  251. package/fesm2015/progress-kendo-angular-scheduler.mjs +17213 -0
  252. package/{fesm2015/kendo-angular-scheduler.js → fesm2020/progress-kendo-angular-scheduler.mjs} +1103 -883
  253. package/{main.d.ts → index.d.ts} +3 -1
  254. package/loading.component.d.ts +1 -1
  255. package/localization/custom-messages.component.d.ts +1 -1
  256. package/localization/localized-messages.directive.d.ts +1 -1
  257. package/localization/messages.d.ts +6 -2
  258. package/localization/scheduler-localization.service.d.ts +1 -1
  259. package/navigation/focus-position.interface.d.ts +1 -1
  260. package/navigation/focus.service.d.ts +1 -1
  261. package/navigation/focusable-element.interface.d.ts +1 -1
  262. package/navigation/focusable.directive.d.ts +1 -1
  263. package/navigation/shortcuts.directive.d.ts +1 -1
  264. package/navigation.d.ts +1 -1
  265. package/package-metadata.d.ts +1 -1
  266. package/package.json +37 -64
  267. package/pdf/pdf-command.directive.d.ts +2 -2
  268. package/pdf/pdf-export-event.d.ts +1 -1
  269. package/pdf/pdf.component.d.ts +1 -1
  270. package/pdf/pdf.module.d.ts +3 -2
  271. package/pdf/pdf.service.d.ts +1 -1
  272. package/{kendo-angular-scheduler.d.ts → progress-kendo-angular-scheduler.d.ts} +2 -2
  273. package/scheduler.component.d.ts +7 -2
  274. package/scheduler.module.d.ts +22 -21
  275. package/schematics/ngAdd/index.js +4 -6
  276. package/shared.module.d.ts +1 -1
  277. package/toolbar/navigation.component.d.ts +6 -1
  278. package/toolbar/toolbar-context.d.ts +1 -1
  279. package/toolbar/toolbar-template.directive.d.ts +1 -1
  280. package/toolbar/toolbar.component.d.ts +1 -1
  281. package/toolbar/toolbar.module.d.ts +1 -1
  282. package/toolbar/toolbar.service.d.ts +1 -1
  283. package/toolbar/view-selector.component.d.ts +1 -1
  284. package/types/actions.d.ts +1 -1
  285. package/types/create-form-group-args.interface.d.ts +1 -1
  286. package/types/crud-operation.enum.d.ts +1 -1
  287. package/types/current-time-settings.interface.d.ts +1 -1
  288. package/types/date-range.interface.d.ts +1 -1
  289. package/types/datepicker-options.interface.d.ts +1 -1
  290. package/types/edit-event-args.interface.d.ts +1 -1
  291. package/types/edit-mode.enum.d.ts +1 -1
  292. package/types/editable-settings.interface.d.ts +1 -1
  293. package/types/event-style-args.interface.d.ts +1 -1
  294. package/types/focusable-container.d.ts +1 -1
  295. package/types/group.interface.d.ts +1 -1
  296. package/types/numeric-options.interface.d.ts +1 -1
  297. package/types/ongoing-events-settings.interface.d.ts +1 -1
  298. package/types/resource.interface.d.ts +1 -1
  299. package/types/scheduler-event.d.ts +1 -1
  300. package/types/scheduler-model-fields.interface.d.ts +1 -1
  301. package/types/scheduler-slot.interface.d.ts +1 -1
  302. package/types/scheduler-view.d.ts +1 -1
  303. package/types/slot-class-args.interface.d.ts +1 -1
  304. package/types/slot-selection.d.ts +1 -1
  305. package/types/view-item.interface.d.ts +1 -1
  306. package/types.d.ts +1 -1
  307. package/views/agenda/agenda-header-item.component.d.ts +1 -1
  308. package/views/agenda/agenda-header.component.d.ts +1 -1
  309. package/views/agenda/agenda-task-item.component.d.ts +1 -1
  310. package/views/agenda/agenda-view-internal.component.d.ts +1 -1
  311. package/views/agenda/agenda-view-list.component.d.ts +1 -1
  312. package/views/agenda/agenda-view.component.d.ts +1 -1
  313. package/views/agenda/agenda-view.module.d.ts +1 -1
  314. package/views/agenda/tasks.collection.d.ts +1 -1
  315. package/views/agenda/utils.d.ts +1 -1
  316. package/views/common/base-view.d.ts +3 -3
  317. package/views/common/configuration-view-base.d.ts +1 -1
  318. package/views/common/dom-events.service.d.ts +1 -1
  319. package/views/common/hint-container.component.d.ts +1 -1
  320. package/views/common/repeat.pipe.d.ts +1 -1
  321. package/views/common/resize-hint.component.d.ts +1 -1
  322. package/views/common/resource-iterator.pipe.d.ts +1 -1
  323. package/views/common/scheduler-task.d.ts +1 -1
  324. package/views/common/slot-selectable.directive.d.ts +1 -1
  325. package/views/common/view-footer.component.d.ts +1 -1
  326. package/views/common/views-shared.module.d.ts +1 -1
  327. package/views/common/work-hours-footer.directive.d.ts +1 -1
  328. package/views/constants.d.ts +1 -1
  329. package/views/day-time/day-time-slot.service.d.ts +1 -1
  330. package/views/day-time/day-time-view-base.d.ts +1 -1
  331. package/views/day-time/day-time-view-item.component.d.ts +1 -1
  332. package/views/day-time/day-time-view.component.d.ts +1 -1
  333. package/views/day-time/day-time.module.d.ts +1 -1
  334. package/views/day-time/event-slot.directive.d.ts +1 -1
  335. package/views/day-time/utils.d.ts +1 -1
  336. package/views/month/month-slot.directive.d.ts +1 -1
  337. package/views/month/month-slot.service.d.ts +1 -1
  338. package/views/month/month-view-item.component.d.ts +1 -1
  339. package/views/month/month-view-renderer.component.d.ts +17 -2
  340. package/views/month/month-view.component.d.ts +14 -2
  341. package/views/month/month-view.module.d.ts +4 -3
  342. package/views/month/multi-week-view.component.d.ts +64 -0
  343. package/views/month/utils.d.ts +1 -1
  344. package/views/multi-day/day-view.component.d.ts +1 -1
  345. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  346. package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
  347. package/views/multi-day/multi-day-view.component.d.ts +1 -1
  348. package/views/multi-day/multi-day-view.module.d.ts +1 -1
  349. package/views/multi-day/utils.d.ts +1 -1
  350. package/views/multi-day/week-view.component.d.ts +1 -1
  351. package/views/multi-day/work-week-view.component.d.ts +1 -1
  352. package/views/scheduler-view.directive.d.ts +1 -1
  353. package/views/templates/agenda-date-template.directive.d.ts +1 -1
  354. package/views/templates/agenda-time-template.directive.d.ts +1 -1
  355. package/views/templates/all-day-event-template.directive.d.ts +1 -1
  356. package/views/templates/all-day-slot-template.directive.d.ts +1 -1
  357. package/views/templates/date-header-template.directive.d.ts +1 -1
  358. package/views/templates/event-template.directive.d.ts +1 -1
  359. package/views/templates/group-header-template.directive.d.ts +1 -1
  360. package/views/templates/major-time-header-template.directive.d.ts +1 -1
  361. package/views/templates/minor-time-header-template.directive.d.ts +1 -1
  362. package/views/templates/month-day-slot-template.directive.d.ts +1 -1
  363. package/views/templates/multi-week-day-slot-template.directive.d.ts +22 -0
  364. package/views/templates/time-slot-template.directive.d.ts +1 -1
  365. package/views/templates.d.ts +2 -1
  366. package/views/timeline/timeline-base.d.ts +1 -1
  367. package/views/timeline/timeline-month-view.component.d.ts +1 -1
  368. package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
  369. package/views/timeline/timeline-view.component.d.ts +1 -1
  370. package/views/timeline/timeline-view.module.d.ts +1 -1
  371. package/views/timeline/timeline-week-view.component.d.ts +1 -1
  372. package/views/timeline/utils.d.ts +1 -1
  373. package/views/utils.d.ts +1 -1
  374. package/views/view-context.service.d.ts +1 -1
  375. package/views/view-items/base-slot.directive.d.ts +1 -1
  376. package/views/view-items/base-slot.service.d.ts +1 -1
  377. package/views/view-items/base-view-item.d.ts +1 -1
  378. package/views/view-items/item-map.d.ts +1 -1
  379. package/views/view-items/types.d.ts +1 -1
  380. package/views/view-state.service.d.ts +1 -1
  381. package/bundles/kendo-angular-scheduler.umd.js +0 -5
  382. package/esm2015/types/actions.js +0 -5
  383. package/esm2015/types/create-form-group-args.interface.js +0 -5
  384. package/esm2015/types/crud-operation.enum.js +0 -16
  385. package/esm2015/types/current-time-settings.interface.js +0 -5
  386. package/esm2015/types/date-range.interface.js +0 -5
  387. package/esm2015/types/datepicker-options.interface.js +0 -5
  388. package/esm2015/types/edit-event-args.interface.js +0 -5
  389. package/esm2015/types/edit-mode.enum.js +0 -19
  390. package/esm2015/types/editable-settings.interface.js +0 -5
  391. package/esm2015/types/event-style-args.interface.js +0 -5
  392. package/esm2015/types/focusable-container.js +0 -5
  393. package/esm2015/types/group.interface.js +0 -5
  394. package/esm2015/types/numeric-options.interface.js +0 -5
  395. package/esm2015/types/ongoing-events-settings.interface.js +0 -5
  396. package/esm2015/types/resource.interface.js +0 -5
  397. package/esm2015/types/scheduler-event.js +0 -5
  398. package/esm2015/types/scheduler-model-fields.interface.js +0 -5
  399. package/esm2015/types/scheduler-slot.interface.js +0 -5
  400. package/esm2015/types/slot-class-args.interface.js +0 -5
  401. package/esm2015/types/view-item.interface.js +0 -5
  402. package/esm2015/views/common/scheduler-task.js +0 -5
  403. package/esm2015/views/view-items/types.js +0 -5
  404. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,12 +1,16 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Directive, HostListener } from '@angular/core';
5
+ import { Component, HostListener, ElementRef, Renderer2, NgZone } from '@angular/core';
6
6
  import { Button } from '@progress/kendo-angular-buttons';
7
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
8
+ import { PDFService } from './pdf.service';
7
9
  import * as i0 from "@angular/core";
8
10
  import * as i1 from "./pdf.service";
9
11
  import * as i2 from "@progress/kendo-angular-l10n";
12
+ import * as i3 from "@progress/kendo-angular-icons";
13
+ import * as i4 from "@angular/common";
10
14
  /**
11
15
  * Represents the `export-to-PDF` command of the Scheduler.
12
16
  * You can apply this directive to any `button` element inside a
@@ -45,12 +49,35 @@ export class PDFCommandDirective extends Button {
45
49
  this.icon = 'pdf';
46
50
  }
47
51
  }
48
- PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFCommandDirective, deps: [{ token: i1.PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
49
- PDFCommandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: PDFCommandDirective, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 });
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFCommandDirective, decorators: [{
51
- type: Directive,
52
+ PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, deps: [{ token: i1.PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
53
+ PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDFCommandDirective, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0, template: `
54
+ <kendo-icon-wrapper
55
+ *ngIf="icon || svgIcon"
56
+ innerCssClass="k-button-icon"
57
+ [name]="icon"
58
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
59
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
60
+ <img [src]="imageUrl" class="k-image" role="presentation" />
61
+ </span>
62
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
63
+ <span class="k-button-text"><ng-content></ng-content></span>
64
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFCommandDirective, decorators: [{
66
+ type: Component,
52
67
  args: [{
53
- selector: '[kendoSchedulerPDFCommand]'
68
+ selector: '[kendoSchedulerPDFCommand]',
69
+ template: `
70
+ <kendo-icon-wrapper
71
+ *ngIf="icon || svgIcon"
72
+ innerCssClass="k-button-icon"
73
+ [name]="icon"
74
+ [svgIcon]="svgIcon"></kendo-icon-wrapper>
75
+ <span *ngIf="imageUrl" class="k-button-icon k-icon">
76
+ <img [src]="imageUrl" class="k-image" role="presentation" />
77
+ </span>
78
+ <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
79
+ <span class="k-button-text"><ng-content></ng-content></span>
80
+ `
54
81
  }]
55
82
  }], ctorParameters: function () { return [{ type: i1.PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
56
83
  type: HostListener,
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from '../events/preventable-event';
@@ -1,8 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input } from '@angular/core';
5
+ import { Component, NgZone, Input } from '@angular/core';
6
+ import { PDFService } from './pdf.service';
6
7
  import { drawDOM, exportPDF } from '@progress/kendo-drawing';
7
8
  import { saveAs } from '@progress/kendo-file-saver';
8
9
  import * as i0 from "@angular/core";
@@ -100,9 +101,9 @@ export class PDFComponent {
100
101
  this.pdfService.done.emit();
101
102
  }
102
103
  }
103
- PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
104
- PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PDFComponent, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFComponent, decorators: [{
104
+ PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
105
+ PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDFComponent, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFComponent, decorators: [{
106
107
  type: Component,
107
108
  args: [{
108
109
  selector: 'kendo-scheduler-pdf',
@@ -1,10 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
6
  import { PDFComponent } from './pdf.component';
7
7
  import { PDFCommandDirective } from './pdf-command.directive';
8
+ import { IconsModule } from '@progress/kendo-angular-icons';
8
9
  import * as i0 from "@angular/core";
9
10
  const declarations = [
10
11
  PDFComponent,
@@ -43,15 +44,16 @@ const declarations = [
43
44
  */
44
45
  export class PDFModule {
45
46
  }
46
- PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
47
- PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule, declarations: [PDFComponent,
48
- PDFCommandDirective], exports: [PDFComponent,
47
+ PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
+ PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, declarations: [PDFComponent,
49
+ PDFCommandDirective], imports: [IconsModule], exports: [PDFComponent,
49
50
  PDFCommandDirective] });
50
- PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFModule, decorators: [{
51
+ PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, imports: [[IconsModule]] });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFModule, decorators: [{
52
53
  type: NgModule,
53
54
  args: [{
54
55
  declarations: [declarations],
56
+ imports: [IconsModule],
55
57
  exports: [declarations]
56
58
  }]
57
59
  }] });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter, Injectable, isDevMode } from '@angular/core';
@@ -31,8 +31,8 @@ export class PDFService {
31
31
  this.createElement.emit();
32
32
  }
33
33
  }
34
- PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
35
- PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFService });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: PDFService, decorators: [{
34
+ PDFService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
35
+ PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDFService, decorators: [{
37
37
  type: Injectable
38
38
  }] });
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
- export * from './main';
8
+ export * from './index';
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, ContentChild, ContentChildren, EventEmitter, HostBinding, Input, isDevMode, NgZone, Output, ViewChild, ViewContainerRef, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';
5
+ import { Component, ContentChild, ContentChildren, EventEmitter, HostBinding, Input, isDevMode, NgZone, Output, QueryList, ViewChild, ViewContainerRef, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, Renderer2 } from '@angular/core';
6
6
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { ResizeSensorComponent, isDocumentAvailable } from '@progress/kendo-angular-common';
8
8
  import { anyChanged, isChanged, hasObservers } from '@progress/kendo-angular-common';
@@ -24,6 +24,7 @@ import { GroupHeaderTemplateDirective } from './views/templates/group-header-tem
24
24
  import { MajorTimeHeaderTemplateDirective } from './views/templates/major-time-header-template.directive';
25
25
  import { MinorTimeHeaderTemplateDirective } from './views/templates/minor-time-header-template.directive';
26
26
  import { MonthDaySlotTemplateDirective } from './views/templates/month-day-slot-template.directive';
27
+ import { MultiWeekDaySlotTemplateDirective } from './views/templates/multi-week-day-slot-template.directive';
27
28
  import { TimeSlotTemplateDirective } from './views/templates/time-slot-template.directive';
28
29
  import { ViewContextService } from './views/view-context.service';
29
30
  import { ViewStateService } from './views/view-state.service';
@@ -35,6 +36,7 @@ import { DialogsService } from './editing/dialogs.service';
35
36
  import { SchedulerLocalizationService } from './localization/scheduler-localization.service';
36
37
  import { defaultModelFields } from './common/default-model-fields';
37
38
  import { readEvent, isRecurrenceMaster, copyResources, isPresent } from './common/util';
39
+ import { IntlService } from '@progress/kendo-angular-intl';
38
40
  import { PDFService } from './pdf/pdf.service';
39
41
  import { PDFExportEvent } from './pdf/pdf-export-event';
40
42
  import { LoadingComponent } from './loading.component';
@@ -348,7 +350,7 @@ export class SchedulerComponent {
348
350
  * ([see example]({% slug databinding_scheduler %}#toc-binding-to-models)).
349
351
  */
350
352
  set modelFields(value) {
351
- this._modelFields = Object.assign(Object.assign({}, defaultModelFields), value);
353
+ this._modelFields = { ...defaultModelFields, ...value };
352
354
  }
353
355
  get modelFields() {
354
356
  return this._modelFields;
@@ -445,6 +447,7 @@ export class SchedulerComponent {
445
447
  this.subs.add(this.minorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
446
448
  this.subs.add(this.majorTimeHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
447
449
  this.subs.add(this.monthDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
450
+ this.subs.add(this.multiWeekDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
448
451
  this.subs.add(this.dateHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
449
452
  this.subs.add(this.allDaySlotTemplate.changes.subscribe(this.notifyOptionsChange));
450
453
  this.subs.add(this.groupHeaderTemplate.changes.subscribe(this.notifyOptionsChange));
@@ -697,7 +700,7 @@ export class SchedulerComponent {
697
700
  * @returns `true` if the focused event changed. Otherwise, returns `false`.
698
701
  */
699
702
  focusPrev(position) {
700
- const prevPosition = Object.assign({ offset: -1 }, position);
703
+ const prevPosition = { offset: -1, ...position };
701
704
  const changed = this.focusService.focusNext(prevPosition);
702
705
  ;
703
706
  this.zone.onStable.pipe(take(1)).subscribe(() => this.focusService.focus());
@@ -723,6 +726,7 @@ export class SchedulerComponent {
723
726
  minorTimeHeaderTemplate: this.minorTimeHeaderTemplate ? this.minorTimeHeaderTemplate.first : null,
724
727
  majorTimeHeaderTemplate: this.majorTimeHeaderTemplate ? this.majorTimeHeaderTemplate.first : null,
725
728
  monthDaySlotTemplate: this.monthDaySlotTemplate ? this.monthDaySlotTemplate.first : null,
729
+ multiWeekDaySlotTemplate: this.multiWeekDaySlotTemplate ? this.multiWeekDaySlotTemplate.first : null,
726
730
  dateHeaderTemplate: this.dateHeaderTemplate ? this.dateHeaderTemplate.first : null,
727
731
  allDaySlotTemplate: this.allDaySlotTemplate ? this.allDaySlotTemplate.first : null,
728
732
  groupHeaderTemplate: this.groupHeaderTemplate ? this.groupHeaderTemplate.first : null,
@@ -757,7 +761,7 @@ export class SchedulerComponent {
757
761
  });
758
762
  }
759
763
  get workWeek() {
760
- let { start, end } = this.intlService.weekendRange();
764
+ const { start, end } = this.intlService.weekendRange();
761
765
  const workWeekStart = isPresent(this.workWeekStart) ? this.workWeekStart : (end + 1) % DAYS_IN_WEEK;
762
766
  const weekEnd = start > 0 ? start - 1 : Day.Saturday;
763
767
  const workWeekEnd = isPresent(this.workWeekEnd) ? this.workWeekEnd : weekEnd;
@@ -877,8 +881,8 @@ export class SchedulerComponent {
877
881
  });
878
882
  }
879
883
  }
880
- SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.EditService }, { token: i4.DialogsService }, { token: i5.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i6.PDFService }, { token: i7.LocalizationService }, { token: i8.DomEventsService }, { token: i0.Renderer2 }, { token: i9.FocusService }], target: i0.ɵɵFactoryTarget.Component });
881
- SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
884
+ SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.EditService }, { token: i4.DialogsService }, { token: i5.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i6.PDFService }, { token: i7.LocalizationService }, { token: i8.DomEventsService }, { token: i0.Renderer2 }, { token: i9.FocusService }], target: i0.ɵɵFactoryTarget.Component });
885
+ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport" }, host: { properties: { "class.k-widget": "this.hostClasses", "class.k-scheduler": "this.hostClasses", "class.k-floatwrap": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
882
886
  EditService,
883
887
  DialogsService,
884
888
  DomEventsService,
@@ -897,7 +901,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
897
901
  ViewContextService,
898
902
  ViewStateService,
899
903
  PDFService
900
- ], queries: [{ propertyName: "editDialogTemplate", first: true, predicate: EditDialogTemplateDirective, descendants: true }, { propertyName: "toolbarTemplate", first: true, predicate: ToolbarTemplateDirective, descendants: true }, { propertyName: "views", predicate: SchedulerView }, { propertyName: "allDayEventTemplate", predicate: AllDayEventTemplateDirective }, { propertyName: "eventTemplate", predicate: EventTemplateDirective }, { propertyName: "timeSlotTemplate", predicate: TimeSlotTemplateDirective }, { propertyName: "minorTimeHeaderTemplate", predicate: MinorTimeHeaderTemplateDirective }, { propertyName: "majorTimeHeaderTemplate", predicate: MajorTimeHeaderTemplateDirective }, { propertyName: "monthDaySlotTemplate", predicate: MonthDaySlotTemplateDirective }, { propertyName: "dateHeaderTemplate", predicate: DateHeaderTemplateDirective }, { propertyName: "allDaySlotTemplate", predicate: AllDaySlotTemplateDirective }, { propertyName: "groupHeaderTemplate", predicate: GroupHeaderTemplateDirective }, { propertyName: "agendaDateTemplate", predicate: AgendaDateTemplateDirective }, { propertyName: "agendaTimeTemplate", predicate: AgendaTimeTemplateDirective }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }, { propertyName: "confirmationDialogContainerRef", first: true, predicate: ["confirmationDialogContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "loadingComponent", first: true, predicate: LoadingComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
904
+ ], queries: [{ propertyName: "editDialogTemplate", first: true, predicate: EditDialogTemplateDirective, descendants: true }, { propertyName: "toolbarTemplate", first: true, predicate: ToolbarTemplateDirective, descendants: true }, { propertyName: "views", predicate: SchedulerView }, { propertyName: "allDayEventTemplate", predicate: AllDayEventTemplateDirective }, { propertyName: "eventTemplate", predicate: EventTemplateDirective }, { propertyName: "timeSlotTemplate", predicate: TimeSlotTemplateDirective }, { propertyName: "minorTimeHeaderTemplate", predicate: MinorTimeHeaderTemplateDirective }, { propertyName: "majorTimeHeaderTemplate", predicate: MajorTimeHeaderTemplateDirective }, { propertyName: "monthDaySlotTemplate", predicate: MonthDaySlotTemplateDirective }, { propertyName: "multiWeekDaySlotTemplate", predicate: MultiWeekDaySlotTemplateDirective }, { propertyName: "dateHeaderTemplate", predicate: DateHeaderTemplateDirective }, { propertyName: "allDaySlotTemplate", predicate: AllDaySlotTemplateDirective }, { propertyName: "groupHeaderTemplate", predicate: GroupHeaderTemplateDirective }, { propertyName: "agendaDateTemplate", predicate: AgendaDateTemplateDirective }, { propertyName: "agendaTimeTemplate", predicate: AgendaTimeTemplateDirective }], viewQueries: [{ propertyName: "resizeSensor", first: true, predicate: ResizeSensorComponent, descendants: true, static: true }, { propertyName: "confirmationDialogContainerRef", first: true, predicate: ["confirmationDialogContainer"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "loadingComponent", first: true, predicate: LoadingComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
901
905
  <ng-container kendoSchedulerLocalizedMessages
902
906
  i18n-allEvents="kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping."
903
907
  allEvents="All events"
@@ -950,6 +954,9 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
950
954
  i18n-monthViewTitle="kendo.scheduler.monthViewTitle|The month view title."
951
955
  monthViewTitle="Month"
952
956
 
957
+ i18n-multiWeekViewTitle="kendo.scheduler.multiWeekViewTitle|The multi week view title."
958
+ multiWeekViewTitle="Multi-Week"
959
+
953
960
  i18n-timelineViewTitle="kendo.scheduler.timelineViewTitle|The timeline view title."
954
961
  timelineViewTitle="Timeline"
955
962
 
@@ -1161,8 +1168,8 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
1161
1168
 
1162
1169
  <div [loading]="loading" kendoSchedulerLoading>
1163
1170
  </div>
1164
- `, isInline: true, styles: [".k-scheduler.k-focus { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }"], components: [{ type: i10.ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: i11.EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i13.LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: i14.LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i15.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerComponent, decorators: [{
1171
+ `, isInline: true, components: [{ type: i10.ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate"] }, { type: i11.EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { type: i12.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: i13.LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }], directives: [{ type: i14.LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { type: i15.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerComponent, decorators: [{
1166
1173
  type: Component,
1167
1174
  args: [{
1168
1175
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1187,9 +1194,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
1187
1194
  ViewStateService,
1188
1195
  PDFService
1189
1196
  ],
1190
- // TODO: Move to themes
1191
- styles: ['.k-scheduler.k-focus { box-shadow: 0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12); }'],
1192
- encapsulation: ViewEncapsulation.None,
1193
1197
  template: `
1194
1198
  <ng-container kendoSchedulerLocalizedMessages
1195
1199
  i18n-allEvents="kendo.scheduler.allEvents|The All events text displayed in the timeline views when there is no vertical grouping."
@@ -1243,6 +1247,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
1243
1247
  i18n-monthViewTitle="kendo.scheduler.monthViewTitle|The month view title."
1244
1248
  monthViewTitle="Month"
1245
1249
 
1250
+ i18n-multiWeekViewTitle="kendo.scheduler.multiWeekViewTitle|The multi week view title."
1251
+ multiWeekViewTitle="Multi-Week"
1252
+
1246
1253
  i18n-timelineViewTitle="kendo.scheduler.timelineViewTitle|The timeline view title."
1247
1254
  timelineViewTitle="Timeline"
1248
1255
 
@@ -1618,6 +1625,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
1618
1625
  }], monthDaySlotTemplate: [{
1619
1626
  type: ContentChildren,
1620
1627
  args: [MonthDaySlotTemplateDirective]
1628
+ }], multiWeekDaySlotTemplate: [{
1629
+ type: ContentChildren,
1630
+ args: [MultiWeekDaySlotTemplateDirective]
1621
1631
  }], dateHeaderTemplate: [{
1622
1632
  type: ContentChildren,
1623
1633
  args: [DateHeaderTemplateDirective]
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { CommonModule } from '@angular/common';
@@ -26,6 +26,7 @@ import { GroupHeaderTemplateDirective } from './views/templates/group-header-tem
26
26
  import { MajorTimeHeaderTemplateDirective } from './views/templates/major-time-header-template.directive';
27
27
  import { MinorTimeHeaderTemplateDirective } from './views/templates/minor-time-header-template.directive';
28
28
  import { MonthDaySlotTemplateDirective } from './views/templates/month-day-slot-template.directive';
29
+ import { MultiWeekDaySlotTemplateDirective } from './views/templates/multi-week-day-slot-template.directive';
29
30
  import { TimeSlotTemplateDirective } from './views/templates/time-slot-template.directive';
30
31
  import { TimelineViewModule } from './views/timeline/timeline-view.module';
31
32
  import { ReactiveEditingDirective } from './editing-directives/reactive-editing.directive';
@@ -71,6 +72,7 @@ const TEMPLATES = [
71
72
  MajorTimeHeaderTemplateDirective,
72
73
  MinorTimeHeaderTemplateDirective,
73
74
  MonthDaySlotTemplateDirective,
75
+ MultiWeekDaySlotTemplateDirective,
74
76
  TimeSlotTemplateDirective
75
77
  ];
76
78
  const declarations = [
@@ -154,8 +156,8 @@ const importedKendoModules = [
154
156
  */
155
157
  export class SchedulerModule {
156
158
  }
157
- SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
158
- SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, declarations: [SchedulerComponent,
159
+ SchedulerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
160
+ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, declarations: [SchedulerComponent,
159
161
  SchedulerViewDirective,
160
162
  DataBindingDirective,
161
163
  ShortcutsDirective,
@@ -189,6 +191,7 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
189
191
  MajorTimeHeaderTemplateDirective,
190
192
  MinorTimeHeaderTemplateDirective,
191
193
  MonthDaySlotTemplateDirective,
194
+ MultiWeekDaySlotTemplateDirective,
192
195
  TimeSlotTemplateDirective], imports: [CommonModule,
193
196
  ToolbarModule,
194
197
  AgendaViewModule,
@@ -242,8 +245,9 @@ SchedulerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
242
245
  MajorTimeHeaderTemplateDirective,
243
246
  MinorTimeHeaderTemplateDirective,
244
247
  MonthDaySlotTemplateDirective,
248
+ MultiWeekDaySlotTemplateDirective,
245
249
  TimeSlotTemplateDirective] });
246
- SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, providers: [{
250
+ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, providers: [{
247
251
  provide: IntlService,
248
252
  useClass: CldrIntlService
249
253
  }], imports: [[
@@ -258,7 +262,7 @@ SchedulerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
258
262
  ], MonthViewModule,
259
263
  MultiDayViewModule,
260
264
  TimelineViewModule] });
261
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SchedulerModule, decorators: [{
265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SchedulerModule, decorators: [{
262
266
  type: NgModule,
263
267
  args: [{
264
268
  imports: [
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
@@ -17,12 +17,12 @@ export class SharedModule {
17
17
  ];
18
18
  }
19
19
  }
20
- SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule, declarations: [FocusableDirective,
20
+ SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
+ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [FocusableDirective,
22
22
  SortPipe], exports: [FocusableDirective,
23
23
  SortPipe] });
24
- SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SharedModule, decorators: [{
24
+ SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
26
26
  type: NgModule,
27
27
  args: [{
28
28
  declarations: [
@@ -1,18 +1,25 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewChild } from '@angular/core';
5
+ import { ChangeDetectionStrategy, Component, HostBinding, Input, ChangeDetectorRef, ViewChild } from '@angular/core';
6
6
  import { PopupService } from '@progress/kendo-angular-popup';
7
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
8
+ import { ToolbarService } from './toolbar.service';
9
+ import { CalendarComponent } from '@progress/kendo-angular-dateinputs';
10
+ import { ViewContextService } from '../views/view-context.service';
11
+ import { isDocumentAvailable } from '@progress/kendo-angular-common';
12
+ import { caretAltRightIcon, caretAltLeftIcon, calendarIcon } from '@progress/kendo-svg-icons';
7
13
  import * as i0 from "@angular/core";
8
14
  import * as i1 from "@progress/kendo-angular-popup";
9
15
  import * as i2 from "./toolbar.service";
10
16
  import * as i3 from "@progress/kendo-angular-l10n";
11
17
  import * as i4 from "../views/view-context.service";
12
- import * as i5 from "@progress/kendo-angular-dateinputs";
13
- import * as i6 from "@progress/kendo-angular-buttons";
18
+ import * as i5 from "@progress/kendo-angular-buttons";
19
+ import * as i6 from "@progress/kendo-angular-dateinputs";
14
20
  import * as i7 from "../navigation/focusable.directive";
15
21
  import * as i8 from "@angular/common";
22
+ const iconsMap = { caretAltLeftIcon, caretAltRightIcon, calendarIcon };
16
23
  /**
17
24
  * A toolbar component which contains the controls for date navigation
18
25
  * ([see example]({% slug toolbar_scheduler %}#toc-including-the-built-in-components)).
@@ -94,6 +101,12 @@ export class ToolbarNavigationComponent {
94
101
  get ctx() {
95
102
  return this.toolbarService.context;
96
103
  }
104
+ /**
105
+ * @hidden
106
+ */
107
+ svgIcon(name) {
108
+ return iconsMap[name];
109
+ }
97
110
  /**
98
111
  * @hidden
99
112
  */
@@ -101,9 +114,12 @@ export class ToolbarNavigationComponent {
101
114
  this.closePopup();
102
115
  }
103
116
  ngOnInit() {
117
+ if (!isDocumentAvailable()) {
118
+ return;
119
+ }
104
120
  this.subs.add(this.ctx.dateRange.subscribe(res => {
105
- this.dateRangeText.short = res === null || res === void 0 ? void 0 : res.shortText;
106
- this.dateRangeText.long = res === null || res === void 0 ? void 0 : res.text;
121
+ this.dateRangeText.short = res?.shortText;
122
+ this.dateRangeText.long = res?.text;
107
123
  this.setDateRangeText();
108
124
  }));
109
125
  this.subs.add(this.viewContext.resize.subscribe(() => {
@@ -182,8 +198,8 @@ export class ToolbarNavigationComponent {
182
198
  this.cd.detectChanges();
183
199
  }
184
200
  }
185
- ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1.PopupService }, { token: i2.ToolbarService }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
186
- ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max" }, host: { properties: { "style.display": "this.inlineDisplayStyle", "style.flex-flow": "this.inlineFlexFlowStyle", "style.gap": "this.inlineGapStyle" } }, providers: [
201
+ ToolbarNavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1.PopupService }, { token: i2.ToolbarService }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
202
+ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarNavigationComponent, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max" }, host: { properties: { "style.display": "this.inlineDisplayStyle", "style.flex-flow": "this.inlineFlexFlowStyle", "style.gap": "this.inlineGapStyle" } }, providers: [
187
203
  PopupService
188
204
  ], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
189
205
  <span class="k-scheduler-navigation k-button-group" role="group">
@@ -193,12 +209,13 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
193
209
  [attr.title]="todayText"
194
210
  [kendoSchedulerFocusIndex]="0"
195
211
  containerType="toolbar">
196
- <span class="k-button-text">{{todayText}}</span>
212
+ {{todayText}}
197
213
  </button>
198
214
  <button kendoButton
199
215
  (click)="prevClick()"
200
216
  class="k-nav-prev"
201
217
  icon="arrow-60-left"
218
+ [svgIcon]="svgIcon('caretAltLeftIcon')"
202
219
  [attr.title]="previousText"
203
220
  [attr.aria-label]="previousText"
204
221
  [kendoSchedulerFocusIndex]="0"
@@ -209,6 +226,7 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
209
226
  type="button"
210
227
  class="k-nav-next"
211
228
  icon="arrow-60-right"
229
+ [svgIcon]="svgIcon('caretAltRightIcon')"
212
230
  [attr.title]="nextText"
213
231
  [attr.aria-label]="nextText"
214
232
  [kendoSchedulerFocusIndex]="0"
@@ -220,10 +238,11 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
220
238
  #anchor
221
239
  kendoButton
222
240
  icon="calendar"
241
+ [svgIcon]="svgIcon('calendarIcon')"
223
242
  fillMode="flat"
224
- (mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
225
- (keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
226
- (keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
243
+ (mousedown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
244
+ (keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
245
+ (keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
227
246
  role="button"
228
247
  class="k-nav-current"
229
248
  [attr.aria-live]="'polite'"
@@ -243,8 +262,8 @@ ToolbarNavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
243
262
  </kendo-calendar-messages>
244
263
  </kendo-calendar>
245
264
  </ng-template>
246
- `, isInline: true, components: [{ type: i5.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i5.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i6.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i7.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
247
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
265
+ `, isInline: true, components: [{ type: i5.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i6.CalendarComponent, selector: "kendo-calendar", inputs: ["id", "focusedDate", "min", "max", "rangeValidation", "selection", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { type: i6.CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], directives: [{ type: i7.FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
248
267
  type: Component,
249
268
  args: [{
250
269
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -261,12 +280,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
261
280
  [attr.title]="todayText"
262
281
  [kendoSchedulerFocusIndex]="0"
263
282
  containerType="toolbar">
264
- <span class="k-button-text">{{todayText}}</span>
283
+ {{todayText}}
265
284
  </button>
266
285
  <button kendoButton
267
286
  (click)="prevClick()"
268
287
  class="k-nav-prev"
269
288
  icon="arrow-60-left"
289
+ [svgIcon]="svgIcon('caretAltLeftIcon')"
270
290
  [attr.title]="previousText"
271
291
  [attr.aria-label]="previousText"
272
292
  [kendoSchedulerFocusIndex]="0"
@@ -277,6 +297,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
277
297
  type="button"
278
298
  class="k-nav-next"
279
299
  icon="arrow-60-right"
300
+ [svgIcon]="svgIcon('caretAltRightIcon')"
280
301
  [attr.title]="nextText"
281
302
  [attr.aria-label]="nextText"
282
303
  [kendoSchedulerFocusIndex]="0"
@@ -288,10 +309,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
288
309
  #anchor
289
310
  kendoButton
290
311
  icon="calendar"
312
+ [svgIcon]="svgIcon('calendarIcon')"
291
313
  fillMode="flat"
292
- (mousedown)="toggleSelectedDate({ nativeElement: anchor }, template)"
293
- (keydown.enter)="toggleSelectedDate({ nativeElement: anchor }, template)"
294
- (keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor }, template)"
314
+ (mousedown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
315
+ (keydown.enter)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
316
+ (keydown.alt.arrowdown)="toggleSelectedDate({ nativeElement: anchor.element }, template)"
295
317
  role="button"
296
318
  class="k-nav-current"
297
319
  [attr.aria-live]="'polite'"
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export {};
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Optional } from '@angular/core';
5
+ import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Represents the toolbar template of the Scheduler. To define a toolbar
@@ -36,9 +36,9 @@ export class ToolbarTemplateDirective {
36
36
  this.templateRef = templateRef;
37
37
  }
38
38
  }
39
- ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
40
- ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: ToolbarTemplateDirective, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
39
+ ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
40
+ ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ToolbarTemplateDirective, selector: "[kendoSchedulerToolbarTemplate]", ngImport: i0 });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
42
42
  type: Directive,
43
43
  args: [{
44
44
  selector: '[kendoSchedulerToolbarTemplate]'