@progress/kendo-angular-gantt 2.1.0 → 11.0.0-develop.79

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 (269) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +119 -79
  3. package/binding-directives/flat-binding.directive.d.ts +1 -1
  4. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  5. package/columns/cell-template.directive.d.ts +1 -1
  6. package/columns/column-base.component.d.ts +1 -1
  7. package/columns/column-group.component.d.ts +1 -1
  8. package/columns/column-menu-template.directive.d.ts +1 -1
  9. package/columns/column.component.d.ts +1 -1
  10. package/columns/columns.d.ts +1 -1
  11. package/columns/edit-template.directive.d.ts +1 -1
  12. package/columns/filter-cell-template.directive.d.ts +1 -1
  13. package/columns/filter-menu-template.directive.d.ts +1 -1
  14. package/columns/footer-template.directive.d.ts +1 -1
  15. package/columns/header-template.directive.d.ts +1 -1
  16. package/columns/span-column.component.d.ts +1 -1
  17. package/common/default-callbacks.d.ts +1 -1
  18. package/common/mapping.service.d.ts +1 -1
  19. package/common/option-changes.service.d.ts +1 -1
  20. package/common/touch-enabled.d.ts +1 -1
  21. package/dependencies/dependency-dom.service.d.ts +1 -1
  22. package/dependencies/dom-dependency-args.d.ts +1 -1
  23. package/dependencies/gantt-dependency.directive.d.ts +1 -1
  24. package/dependencies/utils.d.ts +1 -1
  25. package/dragging/dependency-drag-create.directive.d.ts +1 -1
  26. package/dragging/drag-validation-tooltip.component.d.ts +1 -1
  27. package/editing/add-task.component.d.ts +1 -1
  28. package/editing/dependencies-table.component.d.ts +1 -1
  29. package/editing/edit-dialog.component.d.ts +1 -1
  30. package/editing/edit.service.d.ts +1 -1
  31. package/editing/task-fields.component.d.ts +1 -1
  32. package/editing/utils.d.ts +1 -1
  33. package/{esm2015/binding-directives/flat-binding.directive.js → esm2020/binding-directives/flat-binding.directive.mjs} +4 -4
  34. package/{esm2015/binding-directives/hierarchy-binding.directive.js → esm2020/binding-directives/hierarchy-binding.directive.mjs} +4 -4
  35. package/{esm2015/columns/cell-template.directive.js → esm2020/columns/cell-template.directive.mjs} +5 -5
  36. package/{esm2015/columns/column-base.component.js → esm2020/columns/column-base.component.mjs} +4 -4
  37. package/{esm2015/columns/column-group.component.js → esm2020/columns/column-group.component.mjs} +5 -4
  38. package/{esm2015/columns/column-menu-template.directive.js → esm2020/columns/column-menu-template.directive.mjs} +5 -5
  39. package/{esm2015/columns/column.component.js → esm2020/columns/column.component.mjs} +5 -4
  40. package/{esm2015/columns/columns.js → esm2020/columns/columns.mjs} +1 -1
  41. package/{esm2015/columns/edit-template.directive.js → esm2020/columns/edit-template.directive.mjs} +5 -5
  42. package/{esm2015/columns/filter-cell-template.directive.js → esm2020/columns/filter-cell-template.directive.mjs} +5 -5
  43. package/{esm2015/columns/filter-menu-template.directive.js → esm2020/columns/filter-menu-template.directive.mjs} +5 -5
  44. package/{esm2015/columns/footer-template.directive.js → esm2020/columns/footer-template.directive.mjs} +5 -5
  45. package/{esm2015/columns/header-template.directive.js → esm2020/columns/header-template.directive.mjs} +5 -5
  46. package/{esm2015/columns/span-column.component.js → esm2020/columns/span-column.component.mjs} +5 -4
  47. package/{esm2015/common/default-callbacks.js → esm2020/common/default-callbacks.mjs} +1 -1
  48. package/{esm2015/common/mapping.service.js → esm2020/common/mapping.service.mjs} +8 -8
  49. package/{esm2015/common/option-changes.service.js → esm2020/common/option-changes.service.mjs} +4 -4
  50. package/{esm2015/common/touch-enabled.js → esm2020/common/touch-enabled.mjs} +1 -1
  51. package/{esm2015/dependencies/dependency-dom.service.js → esm2020/dependencies/dependency-dom.service.mjs} +5 -4
  52. package/{esm2015/models/column-menu-settings.interface.js → esm2020/dependencies/dom-dependency-args.mjs} +1 -1
  53. package/{esm2015/dependencies/gantt-dependency.directive.js → esm2020/dependencies/gantt-dependency.directive.mjs} +8 -6
  54. package/{esm2015/dependencies/utils.js → esm2020/dependencies/utils.mjs} +2 -2
  55. package/{esm2015/dragging/dependency-drag-create.directive.js → esm2020/dragging/dependency-drag-create.directive.mjs} +9 -5
  56. package/{esm2015/dragging/drag-validation-tooltip.component.js → esm2020/dragging/drag-validation-tooltip.component.mjs} +4 -4
  57. package/{esm2015/editing/add-task.component.js → esm2020/editing/add-task.component.mjs} +8 -6
  58. package/{esm2015/editing/dependencies-table.component.js → esm2020/editing/dependencies-table.component.mjs} +10 -7
  59. package/{esm2015/editing/edit-dialog.component.js → esm2020/editing/edit-dialog.component.mjs} +13 -10
  60. package/{esm2015/editing/edit.service.js → esm2020/editing/edit.service.mjs} +5 -4
  61. package/{esm2015/editing/task-fields.component.js → esm2020/editing/task-fields.component.mjs} +8 -5
  62. package/{esm2015/editing/utils.js → esm2020/editing/utils.mjs} +1 -1
  63. package/{esm2015/expanded-state/expand-event.js → esm2020/expanded-state/expand-event.mjs} +4 -2
  64. package/{esm2015/expanded-state/expandable.directive.js → esm2020/expanded-state/expandable.directive.mjs} +4 -4
  65. package/{esm2015/gantt.component.js → esm2020/gantt.component.mjs} +30 -20
  66. package/{esm2015/gantt.module.js → esm2020/gantt.module.mjs} +5 -5
  67. package/{esm2015/main.js → esm2020/index.mjs} +1 -1
  68. package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
  69. package/{esm2015/localization/gantt-localization.service.js → esm2020/localization/gantt-localization.service.mjs} +5 -4
  70. package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
  71. package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
  72. package/{esm2015/models/cell-content-type.interface.js → esm2020/models/cell-content-type.interface.mjs} +1 -1
  73. package/{esm2015/dependencies/dom-dependency-args.js → esm2020/models/class-callbacks.mjs} +1 -1
  74. package/{esm2015/models/class-callbacks.js → esm2020/models/column-menu-settings.interface.mjs} +1 -1
  75. package/esm2020/models/column-reorder-config.mjs +5 -0
  76. package/esm2020/models/date-range.interface.mjs +5 -0
  77. package/{esm2015/models/dependency-type.enum.js → esm2020/models/dependency-type.enum.mjs} +1 -1
  78. package/esm2020/models/events/cell-click-event.interface.mjs +5 -0
  79. package/{esm2015/models/events/cell-close-event.interface.js → esm2020/models/events/cell-close-event.interface.mjs} +1 -1
  80. package/esm2020/models/events/click-event.interface.mjs +5 -0
  81. package/esm2020/models/events/column-locked-change-event.interface.mjs +5 -0
  82. package/esm2020/models/events/column-reorder-event.interface.mjs +5 -0
  83. package/esm2020/models/events/column-resize-event.interface.mjs +5 -0
  84. package/esm2020/models/events/column-visibility-change-event.interface.mjs +5 -0
  85. package/esm2020/models/events/data-state-change-event.interface.mjs +5 -0
  86. package/esm2020/models/events/dependency-add-event.interface.mjs +5 -0
  87. package/esm2020/models/events/selected-view-change-event.interface.mjs +5 -0
  88. package/esm2020/models/events/task-add-event.interface.mjs +5 -0
  89. package/esm2020/models/events/task-click-event.interface.mjs +5 -0
  90. package/esm2020/models/events/task-delete-event.interface.mjs +5 -0
  91. package/esm2020/models/events/task-edit-event.interface.mjs +5 -0
  92. package/esm2020/models/events/task-move-end-event.interface.mjs +5 -0
  93. package/esm2020/models/events/task-move-event.interface.mjs +5 -0
  94. package/esm2020/models/events/task-move-start-event.interface.mjs +5 -0
  95. package/esm2020/models/events/task-resize-end-event.interface.mjs +5 -0
  96. package/esm2020/models/events/task-resize-event.interface.mjs +5 -0
  97. package/esm2020/models/events/task-resize-start-event.interface.mjs +5 -0
  98. package/esm2020/models/filterable-settings.mjs +5 -0
  99. package/{esm2015/models/gantt-dependency-model-fields.interface.js → esm2020/models/gantt-dependency-model-fields.interface.mjs} +1 -1
  100. package/esm2020/models/gantt-dependency.interface.mjs +5 -0
  101. package/{esm2015/models/gantt-task-model-fields.interface.js → esm2020/models/gantt-task-model-fields.interface.mjs} +1 -1
  102. package/esm2020/models/gantt-task.interface.mjs +5 -0
  103. package/{esm2015/models/models.js → esm2020/models/models.mjs} +1 -1
  104. package/esm2020/models/slot.interface.mjs +5 -0
  105. package/{esm2015/models/sort-settings.js → esm2020/models/sort-settings.mjs} +1 -1
  106. package/{esm2015/models/splitter-pane-options.interface.js → esm2020/models/splitter-pane-options.interface.mjs} +1 -1
  107. package/esm2020/models/timeline-options.interface.mjs +5 -0
  108. package/esm2020/models/timeline-view.mjs +5 -0
  109. package/esm2020/models/toolbar-settings.mjs +5 -0
  110. package/esm2020/models/view-item.interface.mjs +5 -0
  111. package/esm2020/navigation/navigation-models.mjs +5 -0
  112. package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs} +6 -5
  113. package/{esm2015/navigation/utils.js → esm2020/navigation/utils.mjs} +1 -1
  114. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +2 -2
  115. package/{esm2015/kendo-angular-gantt.js → esm2020/progress-kendo-angular-gantt.mjs} +2 -2
  116. package/{esm2015/rendering/gantt-header-table-body.component.js → esm2020/rendering/gantt-header-table-body.component.mjs} +4 -4
  117. package/{esm2015/rendering/gantt-milestone-task.component.js → esm2020/rendering/gantt-milestone-task.component.mjs} +12 -16
  118. package/{esm2015/rendering/gantt-summary-task.component.js → esm2020/rendering/gantt-summary-task.component.mjs} +12 -16
  119. package/{esm2015/rendering/gantt-task-base.js → esm2020/rendering/gantt-task-base.mjs} +15 -10
  120. package/{esm2015/rendering/gantt-task.component.js → esm2020/rendering/gantt-task.component.mjs} +13 -16
  121. package/{esm2015/rendering/gantt-tasks-table-body.component.js → esm2020/rendering/gantt-tasks-table-body.component.mjs} +7 -5
  122. package/{esm2015/scrolling/drag-scroll-settings.js → esm2020/scrolling/drag-scroll-settings.mjs} +1 -1
  123. package/{esm2015/scrolling/scroll-sync.service.js → esm2020/scrolling/scroll-sync.service.mjs} +5 -5
  124. package/{esm2015/scrolling/timeline-scroll.directive.js → esm2020/scrolling/timeline-scroll.directive.mjs} +6 -5
  125. package/{esm2015/scrolling/timeline-scroll.service.js → esm2020/scrolling/timeline-scroll.service.mjs} +4 -4
  126. package/{esm2015/scrolling/utils.js → esm2020/scrolling/utils.mjs} +1 -1
  127. package/{esm2015/selection/selectable.directive.js → esm2020/selection/selectable.directive.mjs} +5 -4
  128. package/esm2020/selection/selection-change-event.mjs +5 -0
  129. package/{esm2015/template-directives/summary-task-template.directive.js → esm2020/template-directives/summary-task-template.directive.mjs} +6 -6
  130. package/{esm2015/template-directives/task-content-template.directive.js → esm2020/template-directives/task-content-template.directive.mjs} +5 -5
  131. package/{esm2015/template-directives/task-template.directive.js → esm2020/template-directives/task-template.directive.mjs} +5 -5
  132. package/{esm2015/timeline/gantt-timeline.component.js → esm2020/timeline/gantt-timeline.component.mjs} +9 -7
  133. package/{esm2015/timeline/timeline-base-view.service.js → esm2020/timeline/timeline-base-view.service.mjs} +10 -10
  134. package/{esm2015/timeline/timeline-day-view.component.js → esm2020/timeline/timeline-day-view.component.mjs} +6 -4
  135. package/{esm2015/timeline/timeline-day-view.service.js → esm2020/timeline/timeline-day-view.service.mjs} +8 -6
  136. package/{esm2015/timeline/timeline-month-view.component.js → esm2020/timeline/timeline-month-view.component.mjs} +6 -4
  137. package/{esm2015/timeline/timeline-month-view.service.js → esm2020/timeline/timeline-month-view.service.mjs} +8 -6
  138. package/{esm2015/timeline/timeline-view.service.js → esm2020/timeline/timeline-view.service.mjs} +5 -5
  139. package/{esm2015/timeline/timeline-week-view.component.js → esm2020/timeline/timeline-week-view.component.mjs} +6 -4
  140. package/{esm2015/timeline/timeline-week-view.service.js → esm2020/timeline/timeline-week-view.service.mjs} +8 -6
  141. package/{esm2015/timeline/timeline-year-view.component.js → esm2020/timeline/timeline-year-view.component.mjs} +6 -4
  142. package/{esm2015/timeline/timeline-year-view.service.js → esm2020/timeline/timeline-year-view.service.mjs} +8 -6
  143. package/{esm2015/timeline/view-base.js → esm2020/timeline/view-base.mjs} +6 -4
  144. package/{esm2015/toolbar/toolbar-template.directive.js → esm2020/toolbar/toolbar-template.directive.mjs} +6 -6
  145. package/{esm2015/toolbar/toolbar.component.js → esm2020/toolbar/toolbar.component.mjs} +5 -4
  146. package/{esm2015/toolbar/view-selector.component.js → esm2020/toolbar/view-selector.component.mjs} +6 -5
  147. package/{esm2015/utils.js → esm2020/utils.mjs} +2 -2
  148. package/expanded-state/expand-event.d.ts +1 -1
  149. package/expanded-state/expandable.directive.d.ts +1 -1
  150. package/fesm2015/progress-kendo-angular-gantt.mjs +7878 -0
  151. package/{fesm2015/kendo-angular-gantt.js → fesm2020/progress-kendo-angular-gantt.mjs} +813 -831
  152. package/gantt.component.d.ts +1 -1
  153. package/gantt.module.d.ts +1 -1
  154. package/{main.d.ts → index.d.ts} +1 -1
  155. package/localization/custom-messages.component.d.ts +1 -1
  156. package/localization/gantt-localization.service.d.ts +1 -1
  157. package/localization/localized-messages.directive.d.ts +1 -1
  158. package/localization/messages.d.ts +1 -1
  159. package/models/cell-content-type.interface.d.ts +1 -1
  160. package/models/class-callbacks.d.ts +1 -1
  161. package/models/column-menu-settings.interface.d.ts +1 -1
  162. package/models/column-reorder-config.d.ts +1 -1
  163. package/models/date-range.interface.d.ts +1 -1
  164. package/models/dependency-type.enum.d.ts +1 -1
  165. package/models/events/cell-click-event.interface.d.ts +1 -1
  166. package/models/events/cell-close-event.interface.d.ts +1 -1
  167. package/models/events/click-event.interface.d.ts +1 -1
  168. package/models/events/column-locked-change-event.interface.d.ts +1 -1
  169. package/models/events/column-reorder-event.interface.d.ts +1 -1
  170. package/models/events/column-resize-event.interface.d.ts +1 -1
  171. package/models/events/column-visibility-change-event.interface.d.ts +1 -1
  172. package/models/events/data-state-change-event.interface.d.ts +1 -1
  173. package/models/events/dependency-add-event.interface.d.ts +1 -1
  174. package/models/events/selected-view-change-event.interface.d.ts +1 -1
  175. package/models/events/task-add-event.interface.d.ts +1 -1
  176. package/models/events/task-click-event.interface.d.ts +1 -1
  177. package/models/events/task-delete-event.interface.d.ts +1 -1
  178. package/models/events/task-edit-event.interface.d.ts +1 -1
  179. package/models/events/task-move-end-event.interface.d.ts +1 -1
  180. package/models/events/task-move-event.interface.d.ts +1 -1
  181. package/models/events/task-move-start-event.interface.d.ts +1 -1
  182. package/models/events/task-resize-end-event.interface.d.ts +1 -1
  183. package/models/events/task-resize-event.interface.d.ts +1 -1
  184. package/models/events/task-resize-start-event.interface.d.ts +1 -1
  185. package/models/filterable-settings.d.ts +1 -1
  186. package/models/gantt-dependency-model-fields.interface.d.ts +1 -1
  187. package/models/gantt-dependency.interface.d.ts +1 -1
  188. package/models/gantt-task-model-fields.interface.d.ts +1 -1
  189. package/models/gantt-task.interface.d.ts +1 -1
  190. package/models/models.d.ts +1 -1
  191. package/models/slot.interface.d.ts +1 -1
  192. package/models/sort-settings.d.ts +1 -1
  193. package/models/splitter-pane-options.interface.d.ts +1 -1
  194. package/models/timeline-options.interface.d.ts +1 -1
  195. package/models/timeline-view.d.ts +1 -1
  196. package/models/toolbar-settings.d.ts +1 -1
  197. package/models/view-item.interface.d.ts +1 -1
  198. package/navigation/navigation-models.d.ts +1 -1
  199. package/navigation/navigation.service.d.ts +1 -1
  200. package/navigation/utils.d.ts +1 -1
  201. package/package-metadata.d.ts +1 -1
  202. package/package.json +37 -65
  203. package/{kendo-angular-gantt.d.ts → progress-kendo-angular-gantt.d.ts} +2 -2
  204. package/rendering/gantt-header-table-body.component.d.ts +1 -1
  205. package/rendering/gantt-milestone-task.component.d.ts +1 -1
  206. package/rendering/gantt-summary-task.component.d.ts +1 -1
  207. package/rendering/gantt-task-base.d.ts +1 -1
  208. package/rendering/gantt-task.component.d.ts +1 -1
  209. package/rendering/gantt-tasks-table-body.component.d.ts +1 -1
  210. package/schematics/ngAdd/index.js +1 -5
  211. package/scrolling/drag-scroll-settings.d.ts +1 -1
  212. package/scrolling/scroll-sync.service.d.ts +1 -1
  213. package/scrolling/timeline-scroll.directive.d.ts +1 -1
  214. package/scrolling/timeline-scroll.service.d.ts +1 -1
  215. package/scrolling/utils.d.ts +1 -1
  216. package/selection/selectable.directive.d.ts +1 -1
  217. package/selection/selection-change-event.d.ts +1 -1
  218. package/template-directives/summary-task-template.directive.d.ts +2 -2
  219. package/template-directives/task-content-template.directive.d.ts +1 -1
  220. package/template-directives/task-template.directive.d.ts +1 -1
  221. package/timeline/gantt-timeline.component.d.ts +1 -1
  222. package/timeline/timeline-base-view.service.d.ts +1 -1
  223. package/timeline/timeline-day-view.component.d.ts +1 -1
  224. package/timeline/timeline-day-view.service.d.ts +1 -1
  225. package/timeline/timeline-month-view.component.d.ts +1 -1
  226. package/timeline/timeline-month-view.service.d.ts +1 -1
  227. package/timeline/timeline-view.service.d.ts +1 -1
  228. package/timeline/timeline-week-view.component.d.ts +1 -1
  229. package/timeline/timeline-week-view.service.d.ts +1 -1
  230. package/timeline/timeline-year-view.component.d.ts +1 -1
  231. package/timeline/timeline-year-view.service.d.ts +1 -1
  232. package/timeline/view-base.d.ts +1 -1
  233. package/toolbar/toolbar-template.directive.d.ts +2 -2
  234. package/toolbar/toolbar.component.d.ts +1 -1
  235. package/toolbar/view-selector.component.d.ts +1 -1
  236. package/utils.d.ts +1 -1
  237. package/bundles/kendo-angular-gantt.umd.js +0 -5
  238. package/esm2015/models/column-reorder-config.js +0 -5
  239. package/esm2015/models/date-range.interface.js +0 -5
  240. package/esm2015/models/events/cell-click-event.interface.js +0 -5
  241. package/esm2015/models/events/click-event.interface.js +0 -5
  242. package/esm2015/models/events/column-locked-change-event.interface.js +0 -5
  243. package/esm2015/models/events/column-reorder-event.interface.js +0 -5
  244. package/esm2015/models/events/column-resize-event.interface.js +0 -5
  245. package/esm2015/models/events/column-visibility-change-event.interface.js +0 -5
  246. package/esm2015/models/events/data-state-change-event.interface.js +0 -5
  247. package/esm2015/models/events/dependency-add-event.interface.js +0 -5
  248. package/esm2015/models/events/selected-view-change-event.interface.js +0 -5
  249. package/esm2015/models/events/task-add-event.interface.js +0 -5
  250. package/esm2015/models/events/task-click-event.interface.js +0 -5
  251. package/esm2015/models/events/task-delete-event.interface.js +0 -5
  252. package/esm2015/models/events/task-edit-event.interface.js +0 -5
  253. package/esm2015/models/events/task-move-end-event.interface.js +0 -5
  254. package/esm2015/models/events/task-move-event.interface.js +0 -5
  255. package/esm2015/models/events/task-move-start-event.interface.js +0 -5
  256. package/esm2015/models/events/task-resize-end-event.interface.js +0 -5
  257. package/esm2015/models/events/task-resize-event.interface.js +0 -5
  258. package/esm2015/models/events/task-resize-start-event.interface.js +0 -5
  259. package/esm2015/models/filterable-settings.js +0 -5
  260. package/esm2015/models/gantt-dependency.interface.js +0 -5
  261. package/esm2015/models/gantt-task.interface.js +0 -5
  262. package/esm2015/models/slot.interface.js +0 -5
  263. package/esm2015/models/timeline-options.interface.js +0 -5
  264. package/esm2015/models/timeline-view.js +0 -5
  265. package/esm2015/models/toolbar-settings.js +0 -5
  266. package/esm2015/models/view-item.interface.js +0 -5
  267. package/esm2015/navigation/navigation-models.js +0 -5
  268. package/esm2015/selection/selection-change-event.js +0 -5
  269. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,10 +1,15 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, HostBinding, Input, ViewChild } from '@angular/core';
5
+ import { ChangeDetectorRef, Directive, ElementRef, HostBinding, Input, ViewChild } from '@angular/core';
6
6
  import { MS_PER_HOUR, MS_PER_DAY, firstDayOfMonth } from '@progress/kendo-date-math';
7
7
  import { Subscription } from 'rxjs';
8
+ import { NavigationService } from '../navigation/navigation.service';
9
+ import { OptionChangesService } from '../common/option-changes.service';
10
+ import { TimelineViewService } from '../timeline/timeline-view.service';
11
+ import { DependencyDomService } from '../dependencies/dependency-dom.service';
12
+ import { MappingService } from '../common/mapping.service';
8
13
  import { getTotalDaysInMonth, getTotalMonthsInBetween, isNumber, isPresent } from '../utils';
9
14
  import * as i0 from "@angular/core";
10
15
  import * as i1 from "../common/mapping.service";
@@ -100,16 +105,16 @@ export class GanttTaskBase {
100
105
  return isNumber(overlayWidth) ? overlayWidth : 0;
101
106
  }
102
107
  ngOnChanges(changes) {
103
- if (isPresent(changes.dataItem)) {
104
- if (isPresent(changes.dataItem.previousValue)) {
105
- this.dependencyDomService.unregisterTask(changes.dataItem.previousValue);
108
+ if (isPresent(changes['dataItem'])) {
109
+ if (isPresent(changes['dataItem'].previousValue)) {
110
+ this.dependencyDomService.unregisterTask(changes['dataItem'].previousValue);
106
111
  }
107
112
  this.dependencyDomService.registerTask(this.dataItem, this.taskElement.nativeElement);
108
113
  }
109
- else if (isPresent(changes.activeView)) {
114
+ else if (isPresent(changes['activeView'])) {
110
115
  this.dependencyDomService.notifyChanges();
111
116
  }
112
- if (this.navigationService.enabled && isPresent(changes.index)) {
117
+ if (this.navigationService.enabled && isPresent(changes['index'])) {
113
118
  this.updateActiveState(this.navigationService.activeTask);
114
119
  }
115
120
  }
@@ -132,9 +137,9 @@ export class GanttTaskBase {
132
137
  }
133
138
  }
134
139
  }
135
- GanttTaskBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskBase, deps: [{ token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
136
- GanttTaskBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: GanttTaskBase, selector: "kendo-gantt-task-base", inputs: { dataItem: "dataItem", index: "index", level: "level", renderDependencyDragClues: "renderDependencyDragClues", selectable: "selectable", isSelected: "isSelected", activeView: "activeView", taskClass: "taskClass" }, host: { properties: { "class.k-task-wrap": "this.wrapperClass", "attr.data-task-index": "this.taskIndexAttribute", "style.left.px": "this.taskOffset" } }, viewQueries: [{ propertyName: "taskElement", first: true, predicate: ["task"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskBase, decorators: [{
140
+ GanttTaskBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskBase, deps: [{ token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
141
+ GanttTaskBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskBase, selector: "kendo-gantt-task-base", inputs: { dataItem: "dataItem", index: "index", level: "level", renderDependencyDragClues: "renderDependencyDragClues", selectable: "selectable", isSelected: "isSelected", activeView: "activeView", taskClass: "taskClass" }, host: { properties: { "class.k-task-wrap": "this.wrapperClass", "attr.data-task-index": "this.taskIndexAttribute", "style.left.px": "this.taskOffset" } }, viewQueries: [{ propertyName: "taskElement", first: true, predicate: ["task"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0 });
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskBase, decorators: [{
138
143
  type: Directive,
139
144
  args: [{
140
145
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1,9 +1,15 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, forwardRef, Inject, Input } from '@angular/core';
5
+ import { ChangeDetectorRef, Component, forwardRef, Inject, Input, TemplateRef } from '@angular/core';
6
+ import { MappingService } from '../common/mapping.service';
7
+ import { NavigationService } from '../navigation/navigation.service';
8
+ import { EditService } from '../editing/edit.service';
6
9
  import { TOUCH_ENABLED } from '../common/touch-enabled';
10
+ import { DependencyDomService } from '../dependencies/dependency-dom.service';
11
+ import { OptionChangesService } from '../common/option-changes.service';
12
+ import { TimelineViewService } from './../timeline/timeline-view.service';
7
13
  import { GanttTaskBase } from './gantt-task-base';
8
14
  import * as i0 from "@angular/core";
9
15
  import * as i1 from "../editing/edit.service";
@@ -28,8 +34,8 @@ export class GanttTaskComponent extends GanttTaskBase {
28
34
  this.editService.taskDelete.next(this.dataItem);
29
35
  }
30
36
  }
31
- GanttTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskComponent, deps: [{ token: i1.EditService }, { token: TOUCH_ENABLED }, { token: i2.MappingService }, { token: i3.TimelineViewService }, { token: i4.DependencyDomService }, { token: i5.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i6.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
32
- GanttTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: GanttTaskComponent, selector: "kendo-gantt-task", inputs: { taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate" }, providers: [
37
+ GanttTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskComponent, deps: [{ token: i1.EditService }, { token: TOUCH_ENABLED }, { token: i2.MappingService }, { token: i3.TimelineViewService }, { token: i4.DependencyDomService }, { token: i5.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i6.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
38
+ GanttTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskComponent, selector: "kendo-gantt-task", inputs: { taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate" }, providers: [
33
39
  {
34
40
  provide: GanttTaskBase,
35
41
  useExisting: forwardRef(() => GanttTaskComponent)
@@ -103,8 +109,8 @@ GanttTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
103
109
  >
104
110
  </div>
105
111
  </ng-container>
106
- `, isInline: true, styles: ["\n .k-task.k-focus {\n box-shadow: 0 0 4px 3px grey;\n outline: none;\n }\n .k-task.k-focus.k-selected {\n box-shadow: 0 0 4px 3px #ffaea8;\n }\n "], directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskComponent, decorators: [{
112
+ `, isInline: true, directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskComponent, decorators: [{
108
114
  type: Component,
109
115
  args: [{
110
116
  selector: 'kendo-gantt-task',
@@ -183,16 +189,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
183
189
  >
184
190
  </div>
185
191
  </ng-container>
186
- `,
187
- styles: [`
188
- .k-task.k-focus {
189
- box-shadow: 0 0 4px 3px grey;
190
- outline: none;
191
- }
192
- .k-task.k-focus.k-selected {
193
- box-shadow: 0 0 4px 3px #ffaea8;
194
- }
195
- `]
192
+ `
196
193
  }]
197
194
  }], ctorParameters: function () { return [{ type: i1.EditService }, { type: undefined, decorators: [{
198
195
  type: Inject,
@@ -1,9 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, ViewChild } from '@angular/core';
5
+ import { Component, Input, TemplateRef, ViewChild, ElementRef } from '@angular/core';
6
6
  import { isEqual } from '@progress/kendo-date-math';
7
+ import { DependencyDomService } from '../dependencies/dependency-dom.service';
8
+ import { MappingService } from '../common/mapping.service';
7
9
  import { isPresent } from '../utils';
8
10
  import * as i0 from "@angular/core";
9
11
  import * as i1 from "../dependencies/dependency-dom.service";
@@ -31,8 +33,8 @@ export class GanttTasksTableBodyComponent {
31
33
  return !item.hasChildren && isEqual(this.mapper.extractFromTask(item.data, 'start'), this.mapper.extractFromTask(item.data, 'end'));
32
34
  }
33
35
  }
34
- GanttTasksTableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTasksTableBodyComponent, deps: [{ token: i1.DependencyDomService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Component });
35
- GanttTasksTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: GanttTasksTableBodyComponent, selector: "[kendoGanttTasksTableBody]", inputs: { selectable: "selectable", rows: "rows", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", isExpanded: "isExpanded", isTaskSelected: "isTaskSelected", renderDependencyDragClues: "renderDependencyDragClues" }, viewQueries: [{ propertyName: "timelineRow", first: true, predicate: ["timelineRow"], descendants: true }], ngImport: i0, template: `
36
+ GanttTasksTableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTasksTableBodyComponent, deps: [{ token: i1.DependencyDomService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Component });
37
+ GanttTasksTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GanttTasksTableBodyComponent, selector: "[kendoGanttTasksTableBody]", inputs: { selectable: "selectable", rows: "rows", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", isExpanded: "isExpanded", isTaskSelected: "isTaskSelected", renderDependencyDragClues: "renderDependencyDragClues" }, viewQueries: [{ propertyName: "timelineRow", first: true, predicate: ["timelineRow"], descendants: true }], ngImport: i0, template: `
36
38
  <tr #timelineRow *ngFor="let item of rows; let index = index">
37
39
  <td>
38
40
  <kendo-gantt-milestone-task
@@ -80,7 +82,7 @@ GanttTasksTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
80
82
  </td>
81
83
  </tr>
82
84
  `, isInline: true, components: [{ type: i3.GanttMilestoneTaskComponent, selector: "kendo-gantt-milestone-task" }, { type: i4.GanttSummaryTaskComponent, selector: "kendo-gantt-summary-task", inputs: ["template", "isExpanded"] }, { type: i5.GanttTaskComponent, selector: "kendo-gantt-task", inputs: ["taskContentTemplate", "taskTemplate"] }], directives: [{ type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTasksTableBodyComponent, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTasksTableBodyComponent, decorators: [{
84
86
  type: Component,
85
87
  args: [{
86
88
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 { Injectable } from '@angular/core';
5
+ import { Injectable, NgZone } from '@angular/core';
6
6
  import { Subscription, Subject, fromEvent } from 'rxjs';
7
7
  import { distinctUntilChanged, map, take } from 'rxjs/operators';
8
8
  import * as i0 from "@angular/core";
@@ -73,8 +73,8 @@ export class ScrollSyncService {
73
73
  });
74
74
  }
75
75
  }
76
- ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
77
- ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ScrollSyncService });
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ScrollSyncService, decorators: [{
76
+ ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
77
+ ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService });
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScrollSyncService, decorators: [{
79
79
  type: Injectable
80
80
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -1,11 +1,12 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, Input } from '@angular/core';
5
+ import { Directive, ElementRef, Input, NgZone } from '@angular/core';
6
6
  import { Subscription } from 'rxjs';
7
7
  import { isPresent } from '../utils';
8
8
  import { ScrollAxis, ScrollDirection } from './drag-scroll-settings';
9
+ import { TimelineScrollService } from './timeline-scroll.service';
9
10
  import { getViewportBoundaries, scrollElement } from './utils';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "./timeline-scroll.service";
@@ -63,9 +64,9 @@ export class TimelineScrollableDirective {
63
64
  }
64
65
  }
65
66
  }
66
- TimelineScrollableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineScrollableDirective, deps: [{ token: i0.ElementRef }, { token: i1.TimelineScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
67
- TimelineScrollableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TimelineScrollableDirective, selector: "[kendoGanttTimelineScrollable]", inputs: { scrollSettings: "scrollSettings" }, ngImport: i0 });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineScrollableDirective, decorators: [{
67
+ TimelineScrollableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollableDirective, deps: [{ token: i0.ElementRef }, { token: i1.TimelineScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
68
+ TimelineScrollableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TimelineScrollableDirective, selector: "[kendoGanttTimelineScrollable]", inputs: { scrollSettings: "scrollSettings" }, ngImport: i0 });
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollableDirective, decorators: [{
69
70
  type: Directive,
70
71
  args: [{
71
72
  selector: '[kendoGanttTimelineScrollable]'
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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';
@@ -32,8 +32,8 @@ export class TimelineScrollService {
32
32
  this.scrollCancel.next();
33
33
  }
34
34
  }
35
- TimelineScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
36
- TimelineScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineScrollService });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineScrollService, decorators: [{
35
+ TimelineScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
36
+ TimelineScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollService });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineScrollService, decorators: [{
38
38
  type: Injectable
39
39
  }] });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 { isDocumentAvailable } from '@progress/kendo-angular-common';
@@ -1,9 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, Input, Output, EventEmitter } from '@angular/core';
6
6
  import { getter } from '@progress/kendo-common';
7
+ import { GanttComponent } from '../gantt.component';
7
8
  import { isPresent, isString } from '../utils';
8
9
  import * as i0 from "@angular/core";
9
10
  import * as i1 from "../gantt.component";
@@ -93,9 +94,9 @@ export class SelectableDirective {
93
94
  }
94
95
  }
95
96
  }
96
- SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.GanttComponent }], target: i0.ɵɵFactoryTarget.Directive });
97
- SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: SelectableDirective, selector: "[kendoGanttSelectable]", inputs: { selectable: "selectable", selectedKeys: "selectedKeys", itemKey: "itemKey" }, outputs: { selectedKeysChange: "selectedKeysChange" }, exportAs: ["kendoGanttSelectable"], ngImport: i0 });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectableDirective, decorators: [{
97
+ SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.GanttComponent }], target: i0.ɵɵFactoryTarget.Directive });
98
+ SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SelectableDirective, selector: "[kendoGanttSelectable]", inputs: { selectable: "selectable", selectedKeys: "selectedKeys", itemKey: "itemKey" }, outputs: { selectedKeysChange: "selectedKeysChange" }, exportAs: ["kendoGanttSelectable"], ngImport: i0 });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, decorators: [{
99
100
  type: Directive,
100
101
  args: [{
101
102
  exportAs: 'kendoGanttSelectable',
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 a template that defines the whole content of the summary task component.
@@ -21,7 +21,7 @@ import * as i0 from "@angular/core";
21
21
  * template: `
22
22
  * <kendo-gantt [kendoGanttHierarchyBinding]="data">
23
23
  * <ng-template kendoGanttSummaryTaskTemplate let-dataItem let-elementWidth="elementWidth">
24
- * <div style="color: white; font-size: 8px;">
24
+ * <div [style]="'color: white; font-size: 8px;'">
25
25
  * {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete; width: {{ elementWidth }}
26
26
  * </div>
27
27
  * </ng-template>
@@ -38,9 +38,9 @@ export class GanttSummaryTaskTemplateDirective {
38
38
  this.templateRef = templateRef;
39
39
  }
40
40
  }
41
- GanttSummaryTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttSummaryTaskTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
42
- GanttSummaryTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: GanttSummaryTaskTemplateDirective, selector: "[kendoGanttSummaryTaskTemplate]", ngImport: i0 });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttSummaryTaskTemplateDirective, decorators: [{
41
+ GanttSummaryTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttSummaryTaskTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
42
+ GanttSummaryTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttSummaryTaskTemplateDirective, selector: "[kendoGanttSummaryTaskTemplate]", ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttSummaryTaskTemplateDirective, decorators: [{
44
44
  type: Directive,
45
45
  args: [{
46
46
  selector: '[kendoGanttSummaryTaskTemplate]'
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 a template that defines the text content section of the task component.
@@ -33,9 +33,9 @@ export class GanttTaskContentTemplateDirective {
33
33
  this.templateRef = templateRef;
34
34
  }
35
35
  }
36
- GanttTaskContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
37
- GanttTaskContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: GanttTaskContentTemplateDirective, selector: "[kendoGanttTaskContentTemplate]", ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskContentTemplateDirective, decorators: [{
36
+ GanttTaskContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
37
+ GanttTaskContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskContentTemplateDirective, selector: "[kendoGanttTaskContentTemplate]", ngImport: i0 });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskContentTemplateDirective, decorators: [{
39
39
  type: Directive,
40
40
  args: [{
41
41
  selector: '[kendoGanttTaskContentTemplate]'
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 a template that defines the whole content of the task component.
@@ -36,9 +36,9 @@ export class GanttTaskTemplateDirective {
36
36
  this.templateRef = templateRef;
37
37
  }
38
38
  }
39
- GanttTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
40
- GanttTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: GanttTaskTemplateDirective, selector: "[kendoGanttTaskTemplate]", ngImport: i0 });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTaskTemplateDirective, decorators: [{
39
+ GanttTaskTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
40
+ GanttTaskTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GanttTaskTemplateDirective, selector: "[kendoGanttTaskTemplate]", ngImport: i0 });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTaskTemplateDirective, decorators: [{
42
42
  type: Directive,
43
43
  args: [{
44
44
  selector: '[kendoGanttTaskTemplate]'
@@ -1,11 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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, EventEmitter, HostBinding, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';
5
+ import { Component, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output, Renderer2, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';
6
6
  import { Subscription } from 'rxjs';
7
7
  import { filter, map, switchMap, take } from 'rxjs/operators';
8
8
  import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
+ import { ScrollSyncService } from '../scrolling/scroll-sync.service';
10
+ import { DependencyDomService } from '../dependencies/dependency-dom.service';
9
11
  import { isPresent } from '../utils';
10
12
  import * as i0 from "@angular/core";
11
13
  import * as i1 from "../scrolling/scroll-sync.service";
@@ -62,8 +64,8 @@ export class GanttTimelineComponent {
62
64
  return item.hasOwnProperty('isWorking') && !item.isWorking;
63
65
  }
64
66
  }
65
- GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: i1.ScrollSyncService }, { token: i2.DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
66
- GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], ngImport: i0, template: `
67
+ GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: i1.ScrollSyncService }, { token: i2.DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
68
+ GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], ngImport: i0, template: `
67
69
  <div class="k-timeline k-grid k-widget">
68
70
  <div class="k-grid-header">
69
71
  <div #timelineHeaderWrap class="k-grid-header-wrap">
@@ -133,7 +135,7 @@ GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
133
135
  #tasksContainer
134
136
  class="k-gantt-tasks"
135
137
  role="presentation"
136
- style="border-collapse: collapse;"
138
+ [style.border-collapse]="'collapse'"
137
139
  [style.width.px]="tableWidth"
138
140
  >
139
141
  <tbody
@@ -166,7 +168,7 @@ GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
166
168
  </div>
167
169
  </div>
168
170
  `, isInline: true, components: [{ type: i3.GanttHeaderTableBodyComponent, selector: "[kendoGanttHeaderTableBody]", inputs: ["groupSlots", "slots"] }, { type: i4.GanttTasksTableBodyComponent, selector: "[kendoGanttTasksTableBody]", inputs: ["selectable", "rows", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "isExpanded", "isTaskSelected", "renderDependencyDragClues"] }], directives: [{ type: i5.TimelineScrollableDirective, selector: "[kendoGanttTimelineScrollable]", inputs: ["scrollSettings"] }, { type: i6.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.GanttDependencyDirective, selector: "[kendoGanttDependency]", inputs: ["dependency"] }] });
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: GanttTimelineComponent, decorators: [{
171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GanttTimelineComponent, decorators: [{
170
172
  type: Component,
171
173
  args: [{
172
174
  selector: 'kendo-gantt-timeline',
@@ -240,7 +242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
240
242
  #tasksContainer
241
243
  class="k-gantt-tasks"
242
244
  role="presentation"
243
- style="border-collapse: collapse;"
245
+ [style.border-collapse]="'collapse'"
244
246
  [style.width.px]="tableWidth"
245
247
  >
246
248
  <tbody
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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';
@@ -58,10 +58,10 @@ export class TimelineBaseViewService {
58
58
  */
59
59
  getHours(start, end) {
60
60
  const slots = [];
61
- let workDayStart = this.intlService.parseDate(this.options.workDayStart).getHours();
62
- let workDayEnd = this.intlService.parseDate(this.options.workDayEnd).getHours();
61
+ const workDayStart = this.intlService.parseDate(this.options.workDayStart).getHours();
62
+ const workDayEnd = this.intlService.parseDate(this.options.workDayEnd).getHours();
63
63
  // TODO: retrieve from option?
64
- let hourSpan = 1;
64
+ const hourSpan = 1;
65
65
  let startDate = new Date(start);
66
66
  const endDate = new Date(end);
67
67
  while (startDate < endDate) {
@@ -89,13 +89,13 @@ export class TimelineBaseViewService {
89
89
  getDays(start, end) {
90
90
  const slots = [];
91
91
  let startDay = new Date(start);
92
- let endDay = new Date(end);
92
+ const endDay = new Date(end);
93
93
  while (startDay <= endDay) {
94
94
  // Get the days with cleared time values (except for start and end day)
95
95
  const nextDay = getDate(addDays(startDay, 1));
96
96
  const isWorking = isWorkDay(startDay, this.options.workWeekStart, this.options.workWeekEnd);
97
97
  // Need to get the end date with correct hours (important for day view)
98
- let slotEnd = endDay < nextDay ? endDay : nextDay;
98
+ const slotEnd = endDay < nextDay ? endDay : nextDay;
99
99
  slots.push({
100
100
  start: startDay,
101
101
  end: slotEnd,
@@ -112,7 +112,7 @@ export class TimelineBaseViewService {
112
112
  const weekStart = this.intlService.firstDay();
113
113
  const slots = [];
114
114
  let startDay = new Date(start);
115
- let endDay = new Date(end);
115
+ const endDay = new Date(end);
116
116
  while (startDay <= endDay) {
117
117
  const lastWeekDay = lastDayOfWeek(startDay, weekStart);
118
118
  const slotEnd = lastWeekDay > endDay ? endDay : lastWeekDay;
@@ -136,10 +136,10 @@ export class TimelineBaseViewService {
136
136
  getMonths(start, end, isMainViewType) {
137
137
  const slots = [];
138
138
  let startDay = new Date(start);
139
- let endDay = new Date(end);
139
+ const endDay = new Date(end);
140
140
  while (startDay < endDay) {
141
141
  const endMonth = lastDayOfMonth(startDay);
142
- let slotEnd = endDay < endMonth ? endDay : endMonth;
142
+ const slotEnd = endDay < endMonth ? endDay : endMonth;
143
143
  const daySlots = this.getDays(startDay, slotEnd);
144
144
  const weekSlots = this.getWeeks(startDay, slotEnd);
145
145
  const span = isMainViewType ? daySlots.length : weekSlots.length;
@@ -161,7 +161,7 @@ export class TimelineBaseViewService {
161
161
  getYears(start, end) {
162
162
  const slots = [];
163
163
  let startDay = new Date(start);
164
- let endDay = new Date(end);
164
+ const endDay = new Date(end);
165
165
  while (startDay < endDay) {
166
166
  const yearEnd = lastDayOfMonth(lastMonthOfYear(startDay));
167
167
  const slotEnd = endDay < yearEnd ? endDay : yearEnd;
@@ -1,9 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 } from '@angular/core';
6
+ import { DependencyDomService } from '../dependencies/dependency-dom.service';
6
7
  import { ViewBase } from './view-base';
8
+ import { OptionChangesService } from '../common/option-changes.service';
7
9
  import * as i0 from "@angular/core";
8
10
  import * as i1 from "../common/option-changes.service";
9
11
  import * as i2 from "../dependencies/dependency-dom.service";
@@ -16,14 +18,14 @@ export class TimelineDayViewComponent extends ViewBase {
16
18
  this.type = 'day';
17
19
  }
18
20
  }
19
- TimelineDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineDayViewComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.DependencyDomService }], target: i0.ɵɵFactoryTarget.Component });
20
- TimelineDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimelineDayViewComponent, selector: "kendo-gantt-timeline-day-view", providers: [
21
+ TimelineDayViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineDayViewComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.DependencyDomService }], target: i0.ɵɵFactoryTarget.Component });
22
+ TimelineDayViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimelineDayViewComponent, selector: "kendo-gantt-timeline-day-view", providers: [
21
23
  {
22
24
  provide: ViewBase,
23
25
  useExisting: forwardRef(() => TimelineDayViewComponent)
24
26
  }
25
27
  ], usesInheritance: true, ngImport: i0, template: '', isInline: true });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineDayViewComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineDayViewComponent, decorators: [{
27
29
  type: Component,
28
30
  args: [{
29
31
  selector: 'kendo-gantt-timeline-day-view',
@@ -1,9 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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';
6
+ import { IntlService } from '@progress/kendo-angular-intl';
6
7
  import { TimelineBaseViewService } from './timeline-base-view.service';
8
+ import { MappingService } from '../common/mapping.service';
7
9
  import { setTime } from '../utils';
8
10
  import * as i0 from "@angular/core";
9
11
  import * as i1 from "@progress/kendo-angular-intl";
@@ -45,8 +47,8 @@ export class TimelineDayViewService extends TimelineBaseViewService {
45
47
  */
46
48
  getSlots(tasks) {
47
49
  // will return the header rows slots
48
- let slots = [];
49
- let { start, end } = this.getRange(tasks);
50
+ const slots = [];
51
+ const { start, end } = this.getRange(tasks);
50
52
  const daySlots = this.getDays(start, end);
51
53
  const hourSlots = [];
52
54
  for (let i = 0; i < daySlots.length; i++) {
@@ -59,8 +61,8 @@ export class TimelineDayViewService extends TimelineBaseViewService {
59
61
  return slots;
60
62
  }
61
63
  }
62
- TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
63
- TimelineDayViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineDayViewService });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineDayViewService, decorators: [{
64
+ TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
65
+ TimelineDayViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineDayViewService });
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineDayViewService, decorators: [{
65
67
  type: Injectable
66
68
  }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }]; } });
@@ -1,9 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 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 } from '@angular/core';
6
+ import { DependencyDomService } from '../dependencies/dependency-dom.service';
6
7
  import { ViewBase } from './view-base';
8
+ import { OptionChangesService } from '../common/option-changes.service';
7
9
  import * as i0 from "@angular/core";
8
10
  import * as i1 from "../common/option-changes.service";
9
11
  import * as i2 from "../dependencies/dependency-dom.service";
@@ -16,14 +18,14 @@ export class TimelineMonthViewComponent extends ViewBase {
16
18
  this.type = 'month';
17
19
  }
18
20
  }
19
- TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.DependencyDomService }], target: i0.ɵɵFactoryTarget.Component });
20
- TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TimelineMonthViewComponent, selector: "kendo-gantt-timeline-month-view", providers: [
21
+ TimelineMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineMonthViewComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.DependencyDomService }], target: i0.ɵɵFactoryTarget.Component });
22
+ TimelineMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TimelineMonthViewComponent, selector: "kendo-gantt-timeline-month-view", providers: [
21
23
  {
22
24
  provide: ViewBase,
23
25
  useExisting: forwardRef(() => TimelineMonthViewComponent)
24
26
  }
25
27
  ], usesInheritance: true, ngImport: i0, template: '', isInline: true });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TimelineMonthViewComponent, decorators: [{
27
29
  type: Component,
28
30
  args: [{
29
31
  selector: 'kendo-gantt-timeline-month-view',