@progress/kendo-angular-scheduler 14.4.0-develop.2 → 14.4.0-develop.20

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 (388) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +147 -594
  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 +5 -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 +4 -4
  24. package/editing/recurrence/recurrence-frequency-editor.component.d.ts +1 -1
  25. package/editing/recurrence/recurrence-interval-editor.component.d.ts +4 -4
  26. package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +4 -4
  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/esm2020/common/constants.mjs +1 -1
  41. package/esm2020/common/default-model-fields.mjs +1 -1
  42. package/esm2020/common/dom-queries.mjs +1 -1
  43. package/esm2020/common/getter.mjs +1 -1
  44. package/esm2020/common/modifiers.mjs +1 -1
  45. package/esm2020/common/setter.mjs +1 -1
  46. package/esm2020/common/util.mjs +1 -1
  47. package/esm2020/data-binding.directive.mjs +1 -1
  48. package/esm2020/editing/date-time-picker.component.mjs +63 -9
  49. package/esm2020/editing/dialogs.service.mjs +1 -1
  50. package/esm2020/editing/edit-dialog-template.directive.mjs +1 -1
  51. package/esm2020/editing/edit-dialog.component.mjs +1 -1
  52. package/esm2020/editing/edit.service.mjs +1 -1
  53. package/esm2020/editing/local-data-changes.service.mjs +1 -1
  54. package/esm2020/editing/recurrence/end-rule-radio-button.directive.mjs +1 -1
  55. package/esm2020/editing/recurrence/localization/custom-messages.component.mjs +1 -1
  56. package/esm2020/editing/recurrence/localization/localized-messages.directive.mjs +1 -1
  57. package/esm2020/editing/recurrence/localization/messages.mjs +1 -1
  58. package/esm2020/editing/recurrence/localization/recurrence-localization.service.mjs +1 -1
  59. package/esm2020/editing/recurrence/recurrence-editor.component.mjs +1 -1
  60. package/esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs +36 -10
  61. package/esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs +1 -1
  62. package/esm2020/editing/recurrence/recurrence-interval-editor.component.mjs +20 -8
  63. package/esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +20 -8
  64. package/esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +1 -1
  65. package/esm2020/editing/recurrence/recurrence.service.mjs +1 -1
  66. package/esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs +1 -1
  67. package/esm2020/editing/resource-editor-base.mjs +1 -1
  68. package/esm2020/editing/resource-multiple-editor.component.mjs +2 -2
  69. package/esm2020/editing/resource-single-editor.component.mjs +1 -1
  70. package/esm2020/editing/timezone-editor.component.mjs +2 -2
  71. package/esm2020/editing-directives/base-edit.service.mjs +1 -1
  72. package/esm2020/editing-directives/edit-service.interface.mjs +1 -1
  73. package/esm2020/editing-directives/editing-directive-base.mjs +1 -1
  74. package/esm2020/editing-directives/local-edit.service.mjs +1 -1
  75. package/esm2020/editing-directives/reactive-editing.directive.mjs +1 -1
  76. package/esm2020/editing-directives/utils.mjs +1 -1
  77. package/esm2020/events/add-event.mjs +1 -1
  78. package/esm2020/events/cancel-event.mjs +1 -1
  79. package/esm2020/events/create-event.mjs +1 -1
  80. package/esm2020/events/date-change-event.mjs +1 -1
  81. package/esm2020/events/drag-end-event.mjs +1 -1
  82. package/esm2020/events/drag-event.mjs +1 -1
  83. package/esm2020/events/drag-start-event.mjs +1 -1
  84. package/esm2020/events/edit-event-base.mjs +1 -1
  85. package/esm2020/events/edit-event.mjs +1 -1
  86. package/esm2020/events/event-click-event.mjs +1 -1
  87. package/esm2020/events/event-keydown-event.mjs +1 -1
  88. package/esm2020/events/navigate-event.mjs +1 -1
  89. package/esm2020/events/preventable-event.mjs +1 -1
  90. package/esm2020/events/remove-event.mjs +1 -1
  91. package/esm2020/events/resize-end-event.mjs +1 -1
  92. package/esm2020/events/resize-event.mjs +1 -1
  93. package/esm2020/events/resize-start-event.mjs +1 -1
  94. package/esm2020/events/save-event.mjs +1 -1
  95. package/esm2020/events/slot-click-event.mjs +1 -1
  96. package/esm2020/events/slot-drag-end-event.mjs +1 -1
  97. package/esm2020/events/slot-drag-event.mjs +1 -1
  98. package/esm2020/events/slot-drag-start-event.mjs +1 -1
  99. package/esm2020/events/view-event-map.mjs +1 -1
  100. package/esm2020/events.mjs +1 -1
  101. package/esm2020/index.mjs +2 -1
  102. package/esm2020/loading.component.mjs +1 -1
  103. package/esm2020/localization/custom-messages.component.mjs +1 -1
  104. package/esm2020/localization/localized-messages.directive.mjs +1 -1
  105. package/esm2020/localization/messages.mjs +36 -2
  106. package/esm2020/localization/scheduler-localization.service.mjs +1 -1
  107. package/esm2020/navigation/focus-position.interface.mjs +1 -1
  108. package/esm2020/navigation/focus.service.mjs +10 -2
  109. package/esm2020/navigation/focusable-element.interface.mjs +1 -1
  110. package/esm2020/navigation/focusable.directive.mjs +4 -2
  111. package/esm2020/navigation/shortcuts.directive.mjs +10 -1
  112. package/esm2020/navigation.mjs +1 -1
  113. package/esm2020/package-metadata.mjs +3 -3
  114. package/esm2020/pdf/pdf-command.directive.mjs +1 -1
  115. package/esm2020/pdf/pdf-export-event.mjs +1 -1
  116. package/esm2020/pdf/pdf.component.mjs +1 -1
  117. package/esm2020/pdf/pdf.module.mjs +1 -1
  118. package/esm2020/pdf/pdf.service.mjs +1 -1
  119. package/esm2020/progress-kendo-angular-scheduler.mjs +1 -1
  120. package/esm2020/scheduler.component.mjs +201 -99
  121. package/esm2020/scheduler.module.mjs +9 -2
  122. package/esm2020/shared.module.mjs +1 -1
  123. package/esm2020/toolbar/navigation.component.mjs +10 -2
  124. package/esm2020/toolbar/toolbar-context.mjs +1 -1
  125. package/esm2020/toolbar/toolbar-template.directive.mjs +1 -1
  126. package/esm2020/toolbar/toolbar.component.mjs +26 -4
  127. package/esm2020/toolbar/toolbar.module.mjs +1 -1
  128. package/esm2020/toolbar/toolbar.service.mjs +1 -1
  129. package/esm2020/toolbar/view-selector.component.mjs +1 -1
  130. package/esm2020/types/actions.mjs +1 -1
  131. package/esm2020/types/create-form-group-args.interface.mjs +1 -1
  132. package/esm2020/types/crud-operation.enum.mjs +1 -1
  133. package/esm2020/types/current-time-settings.interface.mjs +1 -1
  134. package/esm2020/types/date-range.interface.mjs +1 -1
  135. package/esm2020/types/datepicker-options.interface.mjs +1 -1
  136. package/esm2020/types/edit-event-args.interface.mjs +1 -1
  137. package/esm2020/types/edit-mode.enum.mjs +1 -1
  138. package/esm2020/types/editable-settings.interface.mjs +1 -1
  139. package/esm2020/types/event-style-args.interface.mjs +1 -1
  140. package/esm2020/types/focusable-container.mjs +1 -1
  141. package/esm2020/types/group.interface.mjs +1 -1
  142. package/esm2020/types/numeric-options.interface.mjs +1 -1
  143. package/esm2020/types/ongoing-events-settings.interface.mjs +1 -1
  144. package/esm2020/types/resource.interface.mjs +1 -1
  145. package/esm2020/types/scheduler-event.mjs +1 -1
  146. package/esm2020/types/scheduler-model-fields.interface.mjs +1 -1
  147. package/esm2020/types/scheduler-slot.interface.mjs +1 -1
  148. package/esm2020/types/scheduler-view.mjs +1 -1
  149. package/esm2020/types/slot-class-args.interface.mjs +1 -1
  150. package/esm2020/types/slot-selection.mjs +1 -1
  151. package/esm2020/types/view-item.interface.mjs +1 -1
  152. package/esm2020/types.mjs +1 -1
  153. package/esm2020/views/agenda/agenda-header-item.component.mjs +1 -1
  154. package/esm2020/views/agenda/agenda-header.component.mjs +1 -1
  155. package/esm2020/views/agenda/agenda-task-item.component.mjs +1 -1
  156. package/esm2020/views/agenda/agenda-view-internal.component.mjs +1 -1
  157. package/esm2020/views/agenda/agenda-view-list.component.mjs +1 -1
  158. package/esm2020/views/agenda/agenda-view.component.mjs +1 -1
  159. package/esm2020/views/agenda/agenda-view.module.mjs +1 -1
  160. package/esm2020/views/agenda/tasks.collection.mjs +1 -1
  161. package/esm2020/views/agenda/utils.mjs +1 -1
  162. package/esm2020/views/common/base-view.mjs +1 -1
  163. package/esm2020/views/common/configuration-view-base.mjs +1 -1
  164. package/esm2020/views/common/dom-events.service.mjs +1 -1
  165. package/esm2020/views/common/hint-container.component.mjs +1 -1
  166. package/esm2020/views/common/repeat.pipe.mjs +1 -1
  167. package/esm2020/views/common/resize-hint.component.mjs +1 -1
  168. package/esm2020/views/common/resource-iterator.pipe.mjs +1 -1
  169. package/esm2020/views/common/scheduler-task.mjs +1 -1
  170. package/esm2020/views/common/slot-selectable.directive.mjs +1 -1
  171. package/esm2020/views/common/view-footer.component.mjs +1 -1
  172. package/esm2020/views/common/views-shared.module.mjs +1 -1
  173. package/esm2020/views/common/work-hours-footer.directive.mjs +1 -1
  174. package/esm2020/views/constants.mjs +1 -1
  175. package/esm2020/views/day-time/day-time-slot.service.mjs +1 -1
  176. package/esm2020/views/day-time/day-time-view-base.mjs +1 -1
  177. package/esm2020/views/day-time/day-time-view-item.component.mjs +1 -1
  178. package/esm2020/views/day-time/day-time-view.component.mjs +1 -1
  179. package/esm2020/views/day-time/day-time.module.mjs +1 -1
  180. package/esm2020/views/day-time/event-slot.directive.mjs +1 -1
  181. package/esm2020/views/day-time/utils.mjs +1 -1
  182. package/esm2020/views/month/month-slot.component.mjs +1 -1
  183. package/esm2020/views/month/month-slot.service.mjs +1 -1
  184. package/esm2020/views/month/month-view-item.component.mjs +1 -1
  185. package/esm2020/views/month/month-view-renderer.component.mjs +1 -1
  186. package/esm2020/views/month/month-view.component.mjs +1 -1
  187. package/esm2020/views/month/month-view.module.mjs +1 -1
  188. package/esm2020/views/month/multi-week-view.component.mjs +1 -1
  189. package/esm2020/views/month/utils.mjs +1 -1
  190. package/esm2020/views/multi-day/day-view.component.mjs +1 -1
  191. package/esm2020/views/multi-day/multi-day-view-base.mjs +1 -1
  192. package/esm2020/views/multi-day/multi-day-view-renderer.component.mjs +1 -1
  193. package/esm2020/views/multi-day/multi-day-view.component.mjs +1 -1
  194. package/esm2020/views/multi-day/multi-day-view.module.mjs +1 -1
  195. package/esm2020/views/multi-day/utils.mjs +1 -1
  196. package/esm2020/views/multi-day/week-view.component.mjs +1 -1
  197. package/esm2020/views/multi-day/work-week-view.component.mjs +1 -1
  198. package/esm2020/views/scheduler-view.directive.mjs +1 -1
  199. package/esm2020/views/templates/agenda-date-template.directive.mjs +1 -1
  200. package/esm2020/views/templates/agenda-time-template.directive.mjs +1 -1
  201. package/esm2020/views/templates/all-day-event-template.directive.mjs +1 -1
  202. package/esm2020/views/templates/all-day-slot-template.directive.mjs +1 -1
  203. package/esm2020/views/templates/date-header-template.directive.mjs +1 -1
  204. package/esm2020/views/templates/event-template.directive.mjs +1 -1
  205. package/esm2020/views/templates/group-header-template.directive.mjs +1 -1
  206. package/esm2020/views/templates/major-time-header-template.directive.mjs +1 -1
  207. package/esm2020/views/templates/minor-time-header-template.directive.mjs +1 -1
  208. package/esm2020/views/templates/month-day-slot-template.directive.mjs +1 -1
  209. package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +1 -1
  210. package/esm2020/views/templates/time-slot-template.directive.mjs +1 -1
  211. package/esm2020/views/templates.mjs +1 -1
  212. package/esm2020/views/timeline/timeline-base.mjs +1 -1
  213. package/esm2020/views/timeline/timeline-month-view.component.mjs +14 -6
  214. package/esm2020/views/timeline/timeline-multi-day-view.component.mjs +1 -1
  215. package/esm2020/views/timeline/timeline-view.component.mjs +14 -6
  216. package/esm2020/views/timeline/timeline-view.module.mjs +1 -1
  217. package/esm2020/views/timeline/timeline-week-view.component.mjs +13 -6
  218. package/esm2020/views/timeline/utils.mjs +1 -1
  219. package/esm2020/views/utils.mjs +1 -1
  220. package/esm2020/views/view-context.service.mjs +1 -1
  221. package/esm2020/views/view-items/base-slot.directive.mjs +1 -1
  222. package/esm2020/views/view-items/base-slot.service.mjs +1 -1
  223. package/esm2020/views/view-items/base-view-item.mjs +1 -1
  224. package/esm2020/views/view-items/item-map.mjs +1 -1
  225. package/esm2020/views/view-items/types.mjs +1 -1
  226. package/esm2020/views/view-state.service.mjs +1 -1
  227. package/esm2020/views/year/utils.mjs +60 -0
  228. package/esm2020/views/year/year-view-internal.component.mjs +418 -0
  229. package/esm2020/views/year/year-view.component.mjs +115 -0
  230. package/esm2020/views/year/year-view.module.mjs +47 -0
  231. package/events/add-event.d.ts +1 -1
  232. package/events/cancel-event.d.ts +1 -1
  233. package/events/create-event.d.ts +1 -1
  234. package/events/date-change-event.d.ts +1 -1
  235. package/events/drag-end-event.d.ts +1 -1
  236. package/events/drag-event.d.ts +1 -1
  237. package/events/drag-start-event.d.ts +1 -1
  238. package/events/edit-event-base.d.ts +1 -1
  239. package/events/edit-event.d.ts +1 -1
  240. package/events/event-click-event.d.ts +1 -1
  241. package/events/event-keydown-event.d.ts +1 -1
  242. package/events/navigate-event.d.ts +1 -1
  243. package/events/preventable-event.d.ts +1 -1
  244. package/events/remove-event.d.ts +1 -1
  245. package/events/resize-end-event.d.ts +1 -1
  246. package/events/resize-event.d.ts +1 -1
  247. package/events/resize-start-event.d.ts +1 -1
  248. package/events/save-event.d.ts +1 -1
  249. package/events/slot-click-event.d.ts +1 -1
  250. package/events/slot-drag-end-event.d.ts +1 -1
  251. package/events/slot-drag-event.d.ts +1 -1
  252. package/events/slot-drag-start-event.d.ts +1 -1
  253. package/events/view-event-map.d.ts +1 -1
  254. package/events.d.ts +1 -1
  255. package/fesm2015/progress-kendo-angular-scheduler.mjs +1056 -160
  256. package/fesm2020/progress-kendo-angular-scheduler.mjs +1050 -160
  257. package/index.d.ts +2 -1
  258. package/loading.component.d.ts +1 -1
  259. package/localization/custom-messages.component.d.ts +1 -1
  260. package/localization/localized-messages.directive.d.ts +1 -1
  261. package/localization/messages.d.ts +119 -51
  262. package/localization/scheduler-localization.service.d.ts +1 -1
  263. package/navigation/focus-position.interface.d.ts +1 -1
  264. package/navigation/focus.service.d.ts +1 -1
  265. package/navigation/focusable-element.interface.d.ts +1 -1
  266. package/navigation/focusable.directive.d.ts +4 -3
  267. package/navigation/shortcuts.directive.d.ts +1 -1
  268. package/navigation.d.ts +1 -1
  269. package/package-metadata.d.ts +1 -1
  270. package/package.json +14 -13
  271. package/pdf/pdf-command.directive.d.ts +1 -1
  272. package/pdf/pdf-export-event.d.ts +1 -1
  273. package/pdf/pdf.component.d.ts +1 -1
  274. package/pdf/pdf.module.d.ts +1 -1
  275. package/pdf/pdf.service.d.ts +1 -1
  276. package/progress-kendo-angular-scheduler.d.ts +1 -1
  277. package/scheduler.component.d.ts +1 -1
  278. package/scheduler.module.d.ts +16 -14
  279. package/schematics/ngAdd/index.js +2 -2
  280. package/shared.module.d.ts +1 -1
  281. package/toolbar/navigation.component.d.ts +11 -3
  282. package/toolbar/toolbar-context.d.ts +1 -1
  283. package/toolbar/toolbar-template.directive.d.ts +1 -1
  284. package/toolbar/toolbar.component.d.ts +10 -1
  285. package/toolbar/toolbar.module.d.ts +1 -1
  286. package/toolbar/toolbar.service.d.ts +1 -1
  287. package/toolbar/view-selector.component.d.ts +1 -1
  288. package/types/actions.d.ts +1 -1
  289. package/types/create-form-group-args.interface.d.ts +1 -1
  290. package/types/crud-operation.enum.d.ts +1 -1
  291. package/types/current-time-settings.interface.d.ts +1 -1
  292. package/types/date-range.interface.d.ts +1 -1
  293. package/types/datepicker-options.interface.d.ts +1 -1
  294. package/types/edit-event-args.interface.d.ts +1 -1
  295. package/types/edit-mode.enum.d.ts +1 -1
  296. package/types/editable-settings.interface.d.ts +1 -1
  297. package/types/event-style-args.interface.d.ts +1 -1
  298. package/types/focusable-container.d.ts +1 -1
  299. package/types/group.interface.d.ts +1 -1
  300. package/types/numeric-options.interface.d.ts +1 -1
  301. package/types/ongoing-events-settings.interface.d.ts +1 -1
  302. package/types/resource.interface.d.ts +1 -1
  303. package/types/scheduler-event.d.ts +1 -1
  304. package/types/scheduler-model-fields.interface.d.ts +1 -1
  305. package/types/scheduler-slot.interface.d.ts +5 -1
  306. package/types/scheduler-view.d.ts +1 -1
  307. package/types/slot-class-args.interface.d.ts +5 -1
  308. package/types/slot-selection.d.ts +1 -1
  309. package/types/view-item.interface.d.ts +1 -1
  310. package/types.d.ts +1 -1
  311. package/views/agenda/agenda-header-item.component.d.ts +1 -1
  312. package/views/agenda/agenda-header.component.d.ts +1 -1
  313. package/views/agenda/agenda-task-item.component.d.ts +1 -1
  314. package/views/agenda/agenda-view-internal.component.d.ts +1 -1
  315. package/views/agenda/agenda-view-list.component.d.ts +1 -1
  316. package/views/agenda/agenda-view.component.d.ts +1 -1
  317. package/views/agenda/agenda-view.module.d.ts +1 -1
  318. package/views/agenda/tasks.collection.d.ts +1 -1
  319. package/views/agenda/utils.d.ts +1 -1
  320. package/views/common/base-view.d.ts +1 -1
  321. package/views/common/configuration-view-base.d.ts +1 -1
  322. package/views/common/dom-events.service.d.ts +1 -1
  323. package/views/common/hint-container.component.d.ts +1 -1
  324. package/views/common/repeat.pipe.d.ts +1 -1
  325. package/views/common/resize-hint.component.d.ts +1 -1
  326. package/views/common/resource-iterator.pipe.d.ts +1 -1
  327. package/views/common/scheduler-task.d.ts +1 -1
  328. package/views/common/slot-selectable.directive.d.ts +1 -1
  329. package/views/common/view-footer.component.d.ts +1 -1
  330. package/views/common/views-shared.module.d.ts +1 -1
  331. package/views/common/work-hours-footer.directive.d.ts +1 -1
  332. package/views/constants.d.ts +1 -1
  333. package/views/day-time/day-time-slot.service.d.ts +1 -1
  334. package/views/day-time/day-time-view-base.d.ts +1 -1
  335. package/views/day-time/day-time-view-item.component.d.ts +1 -1
  336. package/views/day-time/day-time-view.component.d.ts +1 -1
  337. package/views/day-time/day-time.module.d.ts +1 -1
  338. package/views/day-time/event-slot.directive.d.ts +1 -1
  339. package/views/day-time/utils.d.ts +1 -1
  340. package/views/month/month-slot.component.d.ts +1 -1
  341. package/views/month/month-slot.service.d.ts +1 -1
  342. package/views/month/month-view-item.component.d.ts +1 -1
  343. package/views/month/month-view-renderer.component.d.ts +1 -1
  344. package/views/month/month-view.component.d.ts +1 -1
  345. package/views/month/month-view.module.d.ts +1 -1
  346. package/views/month/multi-week-view.component.d.ts +1 -1
  347. package/views/month/utils.d.ts +1 -1
  348. package/views/multi-day/day-view.component.d.ts +1 -1
  349. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  350. package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
  351. package/views/multi-day/multi-day-view.component.d.ts +1 -1
  352. package/views/multi-day/multi-day-view.module.d.ts +1 -1
  353. package/views/multi-day/utils.d.ts +1 -1
  354. package/views/multi-day/week-view.component.d.ts +1 -1
  355. package/views/multi-day/work-week-view.component.d.ts +1 -1
  356. package/views/scheduler-view.directive.d.ts +1 -1
  357. package/views/templates/agenda-date-template.directive.d.ts +1 -1
  358. package/views/templates/agenda-time-template.directive.d.ts +1 -1
  359. package/views/templates/all-day-event-template.directive.d.ts +1 -1
  360. package/views/templates/all-day-slot-template.directive.d.ts +1 -1
  361. package/views/templates/date-header-template.directive.d.ts +1 -1
  362. package/views/templates/event-template.directive.d.ts +1 -1
  363. package/views/templates/group-header-template.directive.d.ts +1 -1
  364. package/views/templates/major-time-header-template.directive.d.ts +1 -1
  365. package/views/templates/minor-time-header-template.directive.d.ts +1 -1
  366. package/views/templates/month-day-slot-template.directive.d.ts +1 -1
  367. package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
  368. package/views/templates/time-slot-template.directive.d.ts +1 -1
  369. package/views/templates.d.ts +1 -1
  370. package/views/timeline/timeline-base.d.ts +1 -1
  371. package/views/timeline/timeline-month-view.component.d.ts +5 -2
  372. package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
  373. package/views/timeline/timeline-view.component.d.ts +5 -2
  374. package/views/timeline/timeline-view.module.d.ts +1 -1
  375. package/views/timeline/timeline-week-view.component.d.ts +4 -2
  376. package/views/timeline/utils.d.ts +1 -1
  377. package/views/utils.d.ts +1 -1
  378. package/views/view-context.service.d.ts +1 -1
  379. package/views/view-items/base-slot.directive.d.ts +1 -1
  380. package/views/view-items/base-slot.service.d.ts +1 -1
  381. package/views/view-items/base-view-item.d.ts +1 -1
  382. package/views/view-items/item-map.d.ts +1 -1
  383. package/views/view-items/types.d.ts +1 -1
  384. package/views/view-state.service.d.ts +1 -1
  385. package/views/year/utils.d.ts +21 -0
  386. package/views/year/year-view-internal.component.d.ts +82 -0
  387. package/views/year/year-view.component.d.ts +56 -0
  388. package/views/year/year-view.module.d.ts +19 -0
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { orderBy } from '@progress/kendo-data-query';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, ElementRef, Renderer2, Inject, LOCALE_ID } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, Input, NgZone, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef, QueryList, ViewChildren } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, ContentChild, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, ContentChild, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { intersects, toUTCDate, addUTCDays } from '../utils';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, Input, ContentChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Input, ChangeDetectorRef, Directive } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, Input, NgZone, ViewChild, ViewChildren, QueryList, ElementRef, Renderer2, TemplateRef, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { intersects, toUTCDate, roundAllDayEnd } from '../utils';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, Input, ContentChild, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, forwardRef, Input, TemplateRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { AgendaDateTemplateDirective } from './templates/agenda-date-template.directive';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Input, ChangeDetectorRef, Directive } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -22,11 +22,7 @@ import * as i6 from "../common/work-hours-footer.directive";
22
22
  export class TimelineMonthViewComponent extends TimelineBase {
23
23
  constructor(localization, changeDetector, viewContext, viewState) {
24
24
  super(localization, changeDetector, viewContext, viewState);
25
- /**
26
- * Specifies the number of months that the view will render.
27
- * @default 1
28
- */
29
- this.numberOfMonths = 1;
25
+ this._numberOfMonths = 1;
30
26
  /**
31
27
  * The invariant name for this view.
32
28
  * @default 'timelineMonth'
@@ -89,6 +85,18 @@ export class TimelineMonthViewComponent extends TimelineBase {
89
85
  }
90
86
  return this.numberOfMonths && this.numberOfMonths > 1 ? '{0:y} - {1:y}' : '{0:y}';
91
87
  }
88
+ /**
89
+ * Specifies the number of months that the view will render.
90
+ * > Normalized to `1` if the provided value is <= 0.
91
+ * @default 1
92
+ */
93
+ set numberOfMonths(months) {
94
+ this._numberOfMonths = months > 0 ? months : 1;
95
+ }
96
+ ;
97
+ get numberOfMonths() {
98
+ return this._numberOfMonths;
99
+ }
92
100
  }
93
101
  TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
94
102
  TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TimelineMonthViewComponent, selector: "kendo-scheduler-timeline-month-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfMonths: "numberOfMonths" }, providers: [{
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, Input, NgZone, ViewChildren, QueryList, ElementRef, Renderer2, ChangeDetectorRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -21,11 +21,7 @@ import * as i6 from "../common/work-hours-footer.directive";
21
21
  export class TimelineViewComponent extends TimelineBase {
22
22
  constructor(localization, changeDetector, viewContext, viewState) {
23
23
  super(localization, changeDetector, viewContext, viewState);
24
- /**
25
- * Specifies the number of days that the view will render.
26
- * @default 1
27
- */
28
- this.numberOfDays = 1;
24
+ this._numberOfDays = 1;
29
25
  /**
30
26
  * The invariant name for this view.
31
27
  * @default 'timeline'
@@ -70,6 +66,18 @@ export class TimelineViewComponent extends TimelineBase {
70
66
  }
71
67
  return this.numberOfDays && this.numberOfDays > 1 ? '{0:d} - {1:d}' : '{0:d}';
72
68
  }
69
+ /**
70
+ * Specifies the number of days that the view will render.
71
+ * > Normalized to `1` if the provided value is <= 0.
72
+ * @default 1
73
+ */
74
+ set numberOfDays(days) {
75
+ this._numberOfDays = days > 0 ? days : 1;
76
+ }
77
+ ;
78
+ get numberOfDays() {
79
+ return this._numberOfDays;
80
+ }
73
81
  }
74
82
  TimelineViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineViewComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i2.ViewContextService }, { token: i3.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
75
83
  TimelineViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TimelineViewComponent, selector: "kendo-scheduler-timeline-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfDays: "numberOfDays" }, providers: [{
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Component, forwardRef, Input, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
@@ -42,11 +42,7 @@ export class TimelineWeekViewComponent extends TimelineBase {
42
42
  * @default '{0:d} - {1:d}'
43
43
  */
44
44
  this.selectedShortDateFormat = '{0:d} - {1:d}';
45
- /**
46
- * Specifies the number of weeks that the view will render.
47
- * @default 1
48
- */
49
- this.numberOfWeeks = 1;
45
+ this._numberOfWeeks = 1;
50
46
  /**
51
47
  * The invariant name for this view.
52
48
  * @default 'timelineWeek'
@@ -65,6 +61,17 @@ export class TimelineWeekViewComponent extends TimelineBase {
65
61
  get title() {
66
62
  return this.localization.get('timelineWeekViewTitle');
67
63
  }
64
+ /**
65
+ * Specifies the number of weeks that the view will render.
66
+ * @default 1
67
+ */
68
+ set numberOfWeeks(weeks) {
69
+ this._numberOfWeeks = weeks > 0 ? weeks : 1;
70
+ }
71
+ ;
72
+ get numberOfWeeks() {
73
+ return this._numberOfWeeks;
74
+ }
68
75
  }
69
76
  TimelineWeekViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewComponent, deps: [{ token: i1.IntlService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i3.ViewContextService }, { token: i4.ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
70
77
  TimelineWeekViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TimelineWeekViewComponent, selector: "kendo-scheduler-timeline-week-view", inputs: { selectedDateFormat: "selectedDateFormat", selectedShortDateFormat: "selectedShortDateFormat", numberOfWeeks: "numberOfWeeks" }, providers: [{
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { intersects, toUTCDate, roundAllDayEnd } from '../utils';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { isEqualDate } from '@progress/kendo-date-math';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Injectable } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Input, HostBinding, ElementRef, Directive } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { ElementRef, Input, HostBinding, Renderer2, TemplateRef, Directive } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 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 { Injectable } from '@angular/core';
@@ -0,0 +1,60 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { intersects, toUTCDate, toUTCDateTime } from '../utils';
6
+ import { sortTasksByTime } from '../../common/util';
7
+ import { addDays } from '@progress/kendo-date-math';
8
+ /**
9
+ * @hidden
10
+ */
11
+ export const createTasks = (periodStart, periodEnd, items, ranges) => {
12
+ const tasks = [];
13
+ const utcStart = toUTCDateTime(periodStart);
14
+ const utcEnd = toUTCDateTime(periodEnd);
15
+ for (let index = 0; index < items.length; index++) {
16
+ const item = items[index];
17
+ const data = {};
18
+ const startTime = item.start.toUTCDate();
19
+ const end = item.end;
20
+ const endTime = (item.end.getTime() !== end.getTime() ? end.addDays(1) : end).toUTCDate();
21
+ if (intersects(startTime, endTime, utcStart, utcEnd)) {
22
+ for (let rangeIdx = 0; rangeIdx < ranges.length; rangeIdx++) {
23
+ const range = ranges[rangeIdx];
24
+ const rangeStart = toUTCDate(range);
25
+ const rangeEnd = toUTCDate(addDays(range, 1));
26
+ if (intersects(startTime, endTime, rangeStart, rangeEnd)) {
27
+ const task = {
28
+ index,
29
+ startTime: startTime > rangeStart ? startTime : rangeStart,
30
+ endTime: endTime < rangeEnd ? endTime : rangeEnd,
31
+ start: item.start,
32
+ end: item.end,
33
+ event: item.event,
34
+ isAllDay: item.event.isAllDay,
35
+ rangeIndex: rangeIdx,
36
+ data: data
37
+ };
38
+ task.head = endTime > rangeEnd && startTime > rangeStart;
39
+ task.tail = startTime < rangeStart && endTime < rangeEnd;
40
+ task.mid = endTime > rangeEnd && startTime < rangeStart;
41
+ task.isMultiDay = task.head || task.mid || task.tail;
42
+ tasks.push(task);
43
+ }
44
+ }
45
+ }
46
+ }
47
+ return sortTasksByTime(tasks);
48
+ };
49
+ /**
50
+ * @hidden
51
+ */
52
+ export const noop = (_) => { };
53
+ /**
54
+ * @hidden
55
+ */
56
+ export const yearEnd = (year) => new Date(year, 11, 31, 23, 59, 59, 999);
57
+ /**
58
+ * @hidden
59
+ */
60
+ export const yearStart = (year) => new Date(year, 0, 1, 0, 0, 0, 0);