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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/binding-directives/flat-binding.directive.d.ts +1 -1
  2. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  3. package/columns/column-base.component.d.ts +1 -74
  4. package/columns/column-group.component.d.ts +1 -80
  5. package/columns/column.component.d.ts +1 -80
  6. package/columns/span-column.component.d.ts +1 -90
  7. package/dependencies/gantt-dependency.directive.d.ts +1 -1
  8. package/dragging/dependency-drag-create.directive.d.ts +1 -1
  9. package/editing/add-task.component.d.ts +1 -1
  10. package/editing/dependencies-table.component.d.ts +1 -1
  11. package/editing/edit-dialog.component.d.ts +1 -1
  12. package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +7 -3
  13. package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +7 -3
  14. package/{esm2020 → esm2022}/columns/cell-template.directive.mjs +4 -3
  15. package/esm2022/columns/column-base.component.mjs +22 -0
  16. package/esm2022/columns/column-group.component.mjs +66 -0
  17. package/{esm2020 → esm2022}/columns/column-menu-template.directive.mjs +4 -3
  18. package/{esm2020 → esm2022}/columns/column.component.mjs +37 -65
  19. package/{esm2020 → esm2022}/columns/edit-template.directive.mjs +4 -3
  20. package/{esm2020 → esm2022}/columns/filter-cell-template.directive.mjs +4 -3
  21. package/{esm2020 → esm2022}/columns/filter-menu-template.directive.mjs +4 -3
  22. package/{esm2020 → esm2022}/columns/footer-template.directive.mjs +4 -3
  23. package/{esm2020 → esm2022}/columns/header-template.directive.mjs +4 -3
  24. package/esm2022/columns/span-column.component.mjs +66 -0
  25. package/{esm2020 → esm2022}/common/mapping.service.mjs +5 -7
  26. package/{esm2020 → esm2022}/common/option-changes.service.mjs +6 -8
  27. package/{esm2020 → esm2022}/dependencies/dependency-dom.service.mjs +21 -12
  28. package/{esm2020 → esm2022}/dependencies/gantt-dependency.directive.mjs +10 -4
  29. package/{esm2020 → esm2022}/dragging/dependency-drag-create.directive.mjs +41 -18
  30. package/{esm2020 → esm2022}/dragging/drag-validation-tooltip.component.mjs +24 -12
  31. package/{esm2020 → esm2022}/editing/add-task.component.mjs +31 -28
  32. package/{esm2020 → esm2022}/editing/dependencies-table.component.mjs +22 -15
  33. package/{esm2020 → esm2022}/editing/edit-dialog.component.mjs +14 -8
  34. package/{esm2020 → esm2022}/editing/edit.service.mjs +23 -17
  35. package/{esm2020 → esm2022}/editing/task-fields.component.mjs +8 -5
  36. package/{esm2020 → esm2022}/expanded-state/expand-event.mjs +4 -0
  37. package/{esm2020 → esm2022}/expanded-state/expandable.directive.mjs +3 -3
  38. package/{esm2020 → esm2022}/gantt.component.mjs +434 -364
  39. package/{esm2020 → esm2022}/gantt.module.mjs +31 -31
  40. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  41. package/{esm2020 → esm2022}/localization/gantt-localization.service.mjs +4 -3
  42. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  43. package/esm2022/localization/messages.mjs +441 -0
  44. package/esm2022/models/events/cell-close-event.interface.mjs +45 -0
  45. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +40 -35
  46. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  47. package/{esm2020 → esm2022}/rendering/gantt-header-table-body.component.mjs +7 -7
  48. package/{esm2020 → esm2022}/rendering/gantt-milestone-task.component.mjs +11 -11
  49. package/{esm2020 → esm2022}/rendering/gantt-summary-task.component.mjs +16 -14
  50. package/{esm2020 → esm2022}/rendering/gantt-task-base.mjs +37 -18
  51. package/{esm2020 → esm2022}/rendering/gantt-task.component.mjs +14 -11
  52. package/{esm2020 → esm2022}/rendering/gantt-tasks-table-body.component.mjs +20 -8
  53. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +9 -6
  54. package/{esm2020 → esm2022}/scrolling/timeline-scroll.directive.mjs +10 -4
  55. package/{esm2020 → esm2022}/scrolling/timeline-scroll.service.mjs +6 -8
  56. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +18 -14
  57. package/{esm2020 → esm2022}/template-directives/summary-task-template.directive.mjs +4 -3
  58. package/{esm2020 → esm2022}/template-directives/task-content-template.directive.mjs +4 -3
  59. package/{esm2020 → esm2022}/template-directives/task-template.directive.mjs +4 -3
  60. package/{esm2020 → esm2022}/timeline/current-time-marker.service.mjs +36 -27
  61. package/{esm2020 → esm2022}/timeline/gantt-timeline.component.mjs +54 -16
  62. package/{esm2020 → esm2022}/timeline/timeline-base-view.service.mjs +6 -3
  63. package/{esm2020 → esm2022}/timeline/timeline-day-view.component.mjs +12 -12
  64. package/{esm2020 → esm2022}/timeline/timeline-day-view.service.mjs +4 -3
  65. package/{esm2020 → esm2022}/timeline/timeline-month-view.component.mjs +12 -12
  66. package/{esm2020 → esm2022}/timeline/timeline-month-view.service.mjs +4 -3
  67. package/{esm2020 → esm2022}/timeline/timeline-view.service.mjs +5 -4
  68. package/{esm2020 → esm2022}/timeline/timeline-week-view.component.mjs +12 -12
  69. package/{esm2020 → esm2022}/timeline/timeline-week-view.service.mjs +4 -3
  70. package/{esm2020 → esm2022}/timeline/timeline-year-view.component.mjs +12 -12
  71. package/{esm2020 → esm2022}/timeline/timeline-year-view.service.mjs +4 -3
  72. package/{esm2020 → esm2022}/timeline/view-base.mjs +22 -9
  73. package/{esm2020 → esm2022}/toolbar/toolbar-navigation.service.mjs +6 -4
  74. package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +8 -7
  75. package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +21 -12
  76. package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +19 -14
  77. package/expanded-state/expandable.directive.d.ts +1 -1
  78. package/{fesm2020 → fesm2022}/progress-kendo-angular-gantt.mjs +1579 -1114
  79. package/gantt.component.d.ts +1 -1
  80. package/localization/messages.d.ts +1 -1
  81. package/models/cell-content-type.interface.d.ts +1 -1
  82. package/models/class-callbacks.d.ts +2 -2
  83. package/models/events/task-edit-event.interface.d.ts +1 -1
  84. package/models/filterable-settings.d.ts +1 -1
  85. package/models/sort-settings.d.ts +2 -2
  86. package/models/timeline-view.d.ts +1 -1
  87. package/models/toolbar-settings.d.ts +1 -1
  88. package/package.json +25 -31
  89. package/rendering/gantt-header-table-body.component.d.ts +1 -1
  90. package/rendering/gantt-summary-task.component.d.ts +1 -1
  91. package/rendering/gantt-task-base.d.ts +1 -1
  92. package/rendering/gantt-task.component.d.ts +1 -1
  93. package/rendering/gantt-tasks-table-body.component.d.ts +1 -1
  94. package/schematics/ngAdd/index.js +8 -8
  95. package/scrolling/scroll-sync.service.d.ts +2 -2
  96. package/scrolling/timeline-scroll.directive.d.ts +1 -1
  97. package/selection/selectable.directive.d.ts +1 -1
  98. package/timeline/gantt-timeline.component.d.ts +1 -1
  99. package/timeline/view-base.d.ts +1 -1
  100. package/toolbar/toolbar-template.directive.d.ts +1 -1
  101. package/toolbar/toolbar.component.d.ts +1 -1
  102. package/toolbar/view-selector.component.d.ts +1 -1
  103. package/utils.d.ts +1 -1
  104. package/esm2020/columns/column-base.component.mjs +0 -55
  105. package/esm2020/columns/column-group.component.mjs +0 -101
  106. package/esm2020/columns/span-column.component.mjs +0 -120
  107. package/esm2020/localization/messages.mjs +0 -157
  108. package/esm2020/models/events/cell-close-event.interface.mjs +0 -14
  109. package/fesm2015/progress-kendo-angular-gantt.mjs +0 -8219
  110. /package/{esm2020 → esm2022}/columns/columns.mjs +0 -0
  111. /package/{esm2020 → esm2022}/common/default-callbacks.mjs +0 -0
  112. /package/{esm2020 → esm2022}/dependencies/dom-dependency-args.mjs +0 -0
  113. /package/{esm2020 → esm2022}/dependencies/utils.mjs +0 -0
  114. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  115. /package/{esm2020 → esm2022}/editing/utils.mjs +0 -0
  116. /package/{esm2020 → esm2022}/index.mjs +0 -0
  117. /package/{esm2020 → esm2022}/models/cell-content-type.interface.mjs +0 -0
  118. /package/{esm2020 → esm2022}/models/class-callbacks.mjs +0 -0
  119. /package/{esm2020 → esm2022}/models/column-menu-settings.interface.mjs +0 -0
  120. /package/{esm2020 → esm2022}/models/column-reorder-config.mjs +0 -0
  121. /package/{esm2020 → esm2022}/models/current-time-settings.interface.mjs +0 -0
  122. /package/{esm2020 → esm2022}/models/date-range.interface.mjs +0 -0
  123. /package/{esm2020 → esm2022}/models/dependency-type.enum.mjs +0 -0
  124. /package/{esm2020 → esm2022}/models/events/cell-click-event.interface.mjs +0 -0
  125. /package/{esm2020 → esm2022}/models/events/click-event.interface.mjs +0 -0
  126. /package/{esm2020 → esm2022}/models/events/column-locked-change-event.interface.mjs +0 -0
  127. /package/{esm2020 → esm2022}/models/events/column-reorder-event.interface.mjs +0 -0
  128. /package/{esm2020 → esm2022}/models/events/column-resize-event.interface.mjs +0 -0
  129. /package/{esm2020 → esm2022}/models/events/column-visibility-change-event.interface.mjs +0 -0
  130. /package/{esm2020 → esm2022}/models/events/data-state-change-event.interface.mjs +0 -0
  131. /package/{esm2020 → esm2022}/models/events/dependency-add-event.interface.mjs +0 -0
  132. /package/{esm2020 → esm2022}/models/events/selected-view-change-event.interface.mjs +0 -0
  133. /package/{esm2020 → esm2022}/models/events/task-add-event.interface.mjs +0 -0
  134. /package/{esm2020 → esm2022}/models/events/task-click-event.interface.mjs +0 -0
  135. /package/{esm2020 → esm2022}/models/events/task-delete-event.interface.mjs +0 -0
  136. /package/{esm2020 → esm2022}/models/events/task-edit-event.interface.mjs +0 -0
  137. /package/{esm2020 → esm2022}/models/events/task-move-end-event.interface.mjs +0 -0
  138. /package/{esm2020 → esm2022}/models/events/task-move-event.interface.mjs +0 -0
  139. /package/{esm2020 → esm2022}/models/events/task-move-start-event.interface.mjs +0 -0
  140. /package/{esm2020 → esm2022}/models/events/task-resize-end-event.interface.mjs +0 -0
  141. /package/{esm2020 → esm2022}/models/events/task-resize-event.interface.mjs +0 -0
  142. /package/{esm2020 → esm2022}/models/events/task-resize-start-event.interface.mjs +0 -0
  143. /package/{esm2020 → esm2022}/models/filterable-settings.mjs +0 -0
  144. /package/{esm2020 → esm2022}/models/gantt-dependency-model-fields.interface.mjs +0 -0
  145. /package/{esm2020 → esm2022}/models/gantt-dependency.interface.mjs +0 -0
  146. /package/{esm2020 → esm2022}/models/gantt-task-model-fields.interface.mjs +0 -0
  147. /package/{esm2020 → esm2022}/models/gantt-task.interface.mjs +0 -0
  148. /package/{esm2020 → esm2022}/models/models.mjs +0 -0
  149. /package/{esm2020 → esm2022}/models/slot.interface.mjs +0 -0
  150. /package/{esm2020 → esm2022}/models/sort-settings.mjs +0 -0
  151. /package/{esm2020 → esm2022}/models/splitter-pane-options.interface.mjs +0 -0
  152. /package/{esm2020 → esm2022}/models/timeline-header-date-format.mjs +0 -0
  153. /package/{esm2020 → esm2022}/models/timeline-options.interface.mjs +0 -0
  154. /package/{esm2020 → esm2022}/models/timeline-view.mjs +0 -0
  155. /package/{esm2020 → esm2022}/models/toolbar-settings.mjs +0 -0
  156. /package/{esm2020 → esm2022}/models/view-item.interface.mjs +0 -0
  157. /package/{esm2020 → esm2022}/navigation/navigation-models.mjs +0 -0
  158. /package/{esm2020 → esm2022}/navigation/utils.mjs +0 -0
  159. /package/{esm2020 → esm2022}/progress-kendo-angular-gantt.mjs +0 -0
  160. /package/{esm2020 → esm2022}/scrolling/drag-scroll-settings.mjs +0 -0
  161. /package/{esm2020 → esm2022}/scrolling/utils.mjs +0 -0
  162. /package/{esm2020 → esm2022}/selection/selection-change-event.mjs +0 -0
  163. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -72,38 +72,38 @@ import * as i27 from "./editing/add-task.component";
72
72
  * ```
73
73
  */
74
74
  export class GanttModule {
75
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GanttModule, imports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.ToolbarTemplateDirective, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i12.FilterCellTemplateDirective, i13.FilterMenuTemplateDirective, i14.CellTemplateDirective, i15.EditTemplateDirective, i16.ColumnMenuTemplateDirective, i17.HeaderTemplateDirective, i18.FooterTemplateDirective, i19.GanttExpandableDirective, i20.DependencyDragCreateDirective, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i25.SelectableDirective, i26.CustomMessagesComponent, i27.GanttAddTaskComponent], exports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.ToolbarTemplateDirective, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i12.FilterCellTemplateDirective, i13.FilterMenuTemplateDirective, i14.CellTemplateDirective, i15.EditTemplateDirective, i16.ColumnMenuTemplateDirective, i17.HeaderTemplateDirective, i18.FooterTemplateDirective, i19.GanttExpandableDirective, i20.DependencyDragCreateDirective, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i25.SelectableDirective, i26.CustomMessagesComponent, i27.GanttAddTaskComponent] });
77
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttModule, providers: [{
78
+ provide: L10N_PREFIX,
79
+ useValue: 'kendo.gantt'
80
+ },
81
+ // InputsModule providers
82
+ IconsService,
83
+ PopupService,
84
+ ResizeBatchService,
85
+ DialogContainerService,
86
+ DialogService,
87
+ WindowService,
88
+ WindowContainerService,
89
+ // DateInputsModule providers
90
+ CalendarDOMService,
91
+ CenturyViewService,
92
+ DecadeViewService,
93
+ MonthViewService,
94
+ YearViewService,
95
+ NavigationService,
96
+ TimePickerDOMService,
97
+ HoursService,
98
+ MinutesService,
99
+ SecondsService,
100
+ MillisecondsService,
101
+ DayPeriodService,
102
+ // TreeListModule providers
103
+ ColumnResizingService
104
+ ], imports: [i1.GanttComponent, i8.ViewSelectorComponent, i27.GanttAddTaskComponent] });
75
105
  }
76
- GanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
77
- GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, imports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.ToolbarTemplateDirective, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i12.FilterCellTemplateDirective, i13.FilterMenuTemplateDirective, i14.CellTemplateDirective, i15.EditTemplateDirective, i16.ColumnMenuTemplateDirective, i17.HeaderTemplateDirective, i18.FooterTemplateDirective, i19.GanttExpandableDirective, i20.DependencyDragCreateDirective, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i25.SelectableDirective, i26.CustomMessagesComponent, i27.GanttAddTaskComponent], exports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.ToolbarTemplateDirective, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i12.FilterCellTemplateDirective, i13.FilterMenuTemplateDirective, i14.CellTemplateDirective, i15.EditTemplateDirective, i16.ColumnMenuTemplateDirective, i17.HeaderTemplateDirective, i18.FooterTemplateDirective, i19.GanttExpandableDirective, i20.DependencyDragCreateDirective, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i25.SelectableDirective, i26.CustomMessagesComponent, i27.GanttAddTaskComponent] });
78
- GanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, providers: [{
79
- provide: L10N_PREFIX,
80
- useValue: 'kendo.gantt'
81
- },
82
- // InputsModule providers
83
- IconsService,
84
- PopupService,
85
- ResizeBatchService,
86
- DialogContainerService,
87
- DialogService,
88
- WindowService,
89
- WindowContainerService,
90
- // DateInputsModule providers
91
- CalendarDOMService,
92
- CenturyViewService,
93
- DecadeViewService,
94
- MonthViewService,
95
- YearViewService,
96
- NavigationService,
97
- TimePickerDOMService,
98
- HoursService,
99
- MinutesService,
100
- SecondsService,
101
- MillisecondsService,
102
- DayPeriodService,
103
- // TreeListModule providers
104
- ColumnResizingService
105
- ], imports: [i1.GanttComponent, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i26.CustomMessagesComponent, i27.GanttAddTaskComponent] });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttModule, decorators: [{
107
107
  type: NgModule,
108
108
  args: [{
109
109
  imports: [...KENDO_GANTT],
@@ -12,6 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
12
12
  * ([see example](slug:globalization_treelist#toc-custom-messages)).
13
13
  */
14
14
  export class CustomMessagesComponent extends Messages {
15
+ service;
15
16
  constructor(service) {
16
17
  super();
17
18
  this.service = service;
@@ -19,15 +20,15 @@ export class CustomMessagesComponent extends Messages {
19
20
  get override() {
20
21
  return true;
21
22
  }
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-gantt-messages", providers: [
25
+ {
26
+ provide: Messages,
27
+ useExisting: forwardRef(() => CustomMessagesComponent)
28
+ }
29
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
22
30
  }
23
- CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-gantt-messages", providers: [
25
- {
26
- provide: Messages,
27
- useExisting: forwardRef(() => CustomMessagesComponent)
28
- }
29
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CustomMessagesComponent, decorators: [{
31
32
  type: Component,
32
33
  args: [{
33
34
  providers: [
@@ -12,15 +12,16 @@ import * as i1 from "@progress/kendo-angular-l10n";
12
12
  * Needed to keep the Gantt's LocalizationService reference and be able to use it component's inside the TabStrip
13
13
  */
14
14
  export class GanttLocalizationService {
15
+ localizationService;
15
16
  constructor(localizationService) {
16
17
  this.localizationService = localizationService;
17
18
  }
18
19
  get(token) {
19
20
  return this.localizationService.get(token);
20
21
  }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttLocalizationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
23
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttLocalizationService });
21
24
  }
22
- GanttLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttLocalizationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
23
- GanttLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttLocalizationService });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttLocalizationService, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttLocalizationService, decorators: [{
25
26
  type: Injectable
26
27
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class LocalizedMessagesDirective extends Messages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoGanttLocalizedMessages]", providers: [
21
+ {
22
+ provide: Messages,
23
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoGanttLocalizedMessages]", providers: [
21
- {
22
- provide: Messages,
23
- useExisting: forwardRef(() => LocalizedMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -0,0 +1,441 @@
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 { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class Messages extends ComponentMessages {
12
+ /**
13
+ * The title of the "General" tab of the editing dialog TabStrip.
14
+ */
15
+ taskEditingGeneralTabTitle;
16
+ /**
17
+ * The title of the "Predecessors" dependencies tab of the editing dialog TabStrip.
18
+ */
19
+ taskEditingPredecessorsTabTitle;
20
+ /**
21
+ * The title of the "Successors" dependencies tab of the editing dialog TabStrip.
22
+ */
23
+ taskEditingSuccessorsTabTitle;
24
+ /**
25
+ * The text of the "Add" button in the dependencies tabs of the editing dialog TabStrip.
26
+ */
27
+ taskEditingDependenciesAddButtonText;
28
+ /**
29
+ * The text of the "Remove" button in the dependencies tabs of the editing dialog TabStrip.
30
+ */
31
+ taskEditingDependenciesRemoveButtonText;
32
+ /**
33
+ * The title of the "Task Title" Grid column in the dependencies tabs of the editing dialog TabStrip.
34
+ */
35
+ taskEditingDependenciesGridNameColumnTitle;
36
+ /**
37
+ * The title of the "Type" Grid column in the dependencies tabs of the editing dialog TabStrip.
38
+ */
39
+ taskEditingDependenciesGridTypeColumnTitle;
40
+ /**
41
+ * The text of the task editing dialog 'Delete' button.
42
+ */
43
+ deleteButtonText;
44
+ /**
45
+ * The label for the task delete button.
46
+ */
47
+ taskDeleteLabel;
48
+ /**
49
+ * The title of the task editing dialog.
50
+ */
51
+ taskEditingDialogTitle;
52
+ /**
53
+ * The title of the task editing dialog close button.
54
+ */
55
+ taskEditingDialogCloseTitle;
56
+ /**
57
+ * The title of the confirmation dialog close button.
58
+ */
59
+ confirmationDialogCloseTitle;
60
+ /**
61
+ * The title of the delete task confirmation dialog.
62
+ */
63
+ confirmationDialogTitle;
64
+ /**
65
+ * The text of the DropDownButton in the AddTask component.
66
+ */
67
+ addTaskText;
68
+ /**
69
+ * The text of the `Add Child` option in the AddTask component.
70
+ */
71
+ addChildText;
72
+ /**
73
+ * The text of the `Add Above` option in the AddTask component.
74
+ */
75
+ addAboveText;
76
+ /**
77
+ * The text of the `Add Below` option in the AddTask component.
78
+ */
79
+ addBelowText;
80
+ /**
81
+ * The text of the task editing dialog `Cancel` button.
82
+ */
83
+ cancelButtonText;
84
+ /**
85
+ * The text of the task editing dialog `Save` button.
86
+ */
87
+ saveButtonText;
88
+ /**
89
+ * The label of the 'title' field input in editing mode.
90
+ */
91
+ titleFieldInputLabel;
92
+ /**
93
+ * The label of the 'start' field input in editing mode.
94
+ */
95
+ startFieldInputLabel;
96
+ /**
97
+ * The label of the 'end' field input in editing mode.
98
+ */
99
+ endFieldInputLabel;
100
+ /**
101
+ * The label of the 'completionRatio' field input in editing mode.
102
+ */
103
+ completionRatioFieldInputLabel;
104
+ /**
105
+ * The content of the delete task confirmation dialog.
106
+ */
107
+ confirmationDialogContent;
108
+ /**
109
+ * The text of the day view in the ViewSelector component.
110
+ */
111
+ dayViewText;
112
+ /**
113
+ * The text of the week view in the ViewSelector component.
114
+ */
115
+ weekViewText;
116
+ /**
117
+ * The text of the month view in the ViewSelector component.
118
+ */
119
+ monthViewText;
120
+ /**
121
+ * @hidden
122
+ * The text of the year view in the ViewSelector component.
123
+ */
124
+ yearViewText;
125
+ /**
126
+ * The no-records text.
127
+ */
128
+ noRecords;
129
+ /**
130
+ * The label of the filter cell or icon.
131
+ */
132
+ filter;
133
+ /**
134
+ * The text of the `Equal` (**Is equal to**) filter operator.
135
+ */
136
+ filterEqOperator;
137
+ /**
138
+ * The text of the `NotEqual` (**Is not equal to**) filter operator.
139
+ */
140
+ filterNotEqOperator;
141
+ /**
142
+ * The text of the `IsNull` (**Is null**) filter operator.
143
+ */
144
+ filterIsNullOperator;
145
+ /**
146
+ * The text of the `IsNotNull` (**Is not null**) filter operator.
147
+ */
148
+ filterIsNotNullOperator;
149
+ /**
150
+ * The text of the `IsEmpty` (**Is empty**) filter operator.
151
+ */
152
+ filterIsEmptyOperator;
153
+ /**
154
+ * The text of the `IsNotEmpty` (**Is not empty**) filter operator.
155
+ */
156
+ filterIsNotEmptyOperator;
157
+ /**
158
+ * The text of the `StartsWith` (**Starts with**) filter operator.
159
+ */
160
+ filterStartsWithOperator;
161
+ /**
162
+ * The text of the `Contains` (**Contains**) filter operator.
163
+ */
164
+ filterContainsOperator;
165
+ /**
166
+ * The text of the `DoesNotContain` (**Does not contain**) filter operator.
167
+ */
168
+ filterNotContainsOperator;
169
+ /**
170
+ * The text of the `EndsWith` (**Ends with**) string filter operator.
171
+ */
172
+ filterEndsWithOperator;
173
+ /**
174
+ * The text of the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric filter operator.
175
+ */
176
+ filterGteOperator;
177
+ /**
178
+ * The text of the `Greater` (**Is greater than**) numeric filter operator.
179
+ */
180
+ filterGtOperator;
181
+ /**
182
+ * The text of the `LessOrEqualTo` (**Is less than or equal to**) numeric filter operator.
183
+ */
184
+ filterLteOperator;
185
+ /**
186
+ * The text of the `Less` (**Is less than**) numeric filter operator.
187
+ */
188
+ filterLtOperator;
189
+ /**
190
+ * The text of the `IsTrue` Boolean filter option.
191
+ */
192
+ filterIsTrue;
193
+ /**
194
+ * The text of the `IsFalse` Boolean filter option.
195
+ */
196
+ filterIsFalse;
197
+ /**
198
+ * The text of the `(All)` option for Boolean filter.
199
+ */
200
+ filterBooleanAll;
201
+ /**
202
+ * The text of the `AfterOrEqualTo` (**Is after or equal to**) date filter operator.
203
+ */
204
+ filterAfterOrEqualOperator;
205
+ /**
206
+ * The text of the `After` (**Is after**) date filter operator.
207
+ */
208
+ filterAfterOperator;
209
+ /**
210
+ * The text of the `Before` (**Is before**) date filter operator.
211
+ */
212
+ filterBeforeOperator;
213
+ /**
214
+ * The text of the `BeforeOrEqualTo` (**Is before or equal to**) date filter operator.
215
+ */
216
+ filterBeforeOrEqualOperator;
217
+ /**
218
+ * The text of the **Filter** button.
219
+ */
220
+ filterFilterButton;
221
+ /**
222
+ * The text of the **Clear filter** button.
223
+ */
224
+ filterClearButton;
225
+ /**
226
+ * The text of the `And` filter logic.
227
+ */
228
+ filterAndLogic;
229
+ /**
230
+ * The text of the `Or` filter logic.
231
+ */
232
+ filterOrLogic;
233
+ /**
234
+ * The loading text.
235
+ *
236
+ * > The `loading` property is part of the accessibility support of the Gantt.
237
+ * Its value is detectable by screen readers and is not otherwise visible.
238
+ */
239
+ loading;
240
+ /**
241
+ * The title of the icon for the column menu.
242
+ */
243
+ columnMenu;
244
+ /**
245
+ * The text that is displayed in the column menu for the column items.
246
+ */
247
+ columns;
248
+ /**
249
+ * @hidden
250
+ * The text that is displayed in the column menu for the lock item.
251
+ */
252
+ lock;
253
+ /**
254
+ * @hidden
255
+ * The text that is displayed in the column menu for the unlock item.
256
+ */
257
+ unlock;
258
+ /**
259
+ * The label of the sort icon.
260
+ */
261
+ sortable;
262
+ /**
263
+ * The text that is displayed in the column menu for the ascending sort item.
264
+ */
265
+ sortAscending;
266
+ /**
267
+ * The text that is displayed in the column menu for the descending sort item.
268
+ */
269
+ sortDescending;
270
+ /**
271
+ * The status announcement when a column is sorted in an ascending order.
272
+ * Deprecated - the announcement now relies entirely on the `aria-sort` attribute.
273
+ * @hidden
274
+ */
275
+ sortedAscending;
276
+ /**
277
+ * The status announcement when a column is sorted in a descending order.
278
+ * Deprecated - the announcement now relies entirely on the `aria-sort` attribute.
279
+ * @hidden
280
+ */
281
+ sortedDescending;
282
+ /**
283
+ * The status announcement when a column is no longer sorted.
284
+ */
285
+ sortedDefault;
286
+ /**
287
+ * The text that is displayed in the column menu or in the column chooser item
288
+ * for the **Apply** button of the columns.
289
+ */
290
+ columnsApply;
291
+ /**
292
+ * The text that is displayed in the column menu or in the column chooser item
293
+ * for the **Reset** button of the columns.
294
+ */
295
+ columnsReset;
296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
297
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "kendo-gantt-messages-base", inputs: { taskEditingGeneralTabTitle: "taskEditingGeneralTabTitle", taskEditingPredecessorsTabTitle: "taskEditingPredecessorsTabTitle", taskEditingSuccessorsTabTitle: "taskEditingSuccessorsTabTitle", taskEditingDependenciesAddButtonText: "taskEditingDependenciesAddButtonText", taskEditingDependenciesRemoveButtonText: "taskEditingDependenciesRemoveButtonText", taskEditingDependenciesGridNameColumnTitle: "taskEditingDependenciesGridNameColumnTitle", taskEditingDependenciesGridTypeColumnTitle: "taskEditingDependenciesGridTypeColumnTitle", deleteButtonText: "deleteButtonText", taskDeleteLabel: "taskDeleteLabel", taskEditingDialogTitle: "taskEditingDialogTitle", taskEditingDialogCloseTitle: "taskEditingDialogCloseTitle", confirmationDialogCloseTitle: "confirmationDialogCloseTitle", confirmationDialogTitle: "confirmationDialogTitle", addTaskText: "addTaskText", addChildText: "addChildText", addAboveText: "addAboveText", addBelowText: "addBelowText", cancelButtonText: "cancelButtonText", saveButtonText: "saveButtonText", titleFieldInputLabel: "titleFieldInputLabel", startFieldInputLabel: "startFieldInputLabel", endFieldInputLabel: "endFieldInputLabel", completionRatioFieldInputLabel: "completionRatioFieldInputLabel", confirmationDialogContent: "confirmationDialogContent", dayViewText: "dayViewText", weekViewText: "weekViewText", monthViewText: "monthViewText", yearViewText: "yearViewText", noRecords: "noRecords", filter: "filter", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", columnMenu: "columnMenu", columns: "columns", lock: "lock", unlock: "unlock", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset" }, usesInheritance: true, ngImport: i0 });
298
+ }
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
300
+ type: Directive,
301
+ args: [{
302
+ // eslint-disable-next-line @angular-eslint/directive-selector
303
+ selector: 'kendo-gantt-messages-base'
304
+ }]
305
+ }], propDecorators: { taskEditingGeneralTabTitle: [{
306
+ type: Input
307
+ }], taskEditingPredecessorsTabTitle: [{
308
+ type: Input
309
+ }], taskEditingSuccessorsTabTitle: [{
310
+ type: Input
311
+ }], taskEditingDependenciesAddButtonText: [{
312
+ type: Input
313
+ }], taskEditingDependenciesRemoveButtonText: [{
314
+ type: Input
315
+ }], taskEditingDependenciesGridNameColumnTitle: [{
316
+ type: Input
317
+ }], taskEditingDependenciesGridTypeColumnTitle: [{
318
+ type: Input
319
+ }], deleteButtonText: [{
320
+ type: Input
321
+ }], taskDeleteLabel: [{
322
+ type: Input
323
+ }], taskEditingDialogTitle: [{
324
+ type: Input
325
+ }], taskEditingDialogCloseTitle: [{
326
+ type: Input
327
+ }], confirmationDialogCloseTitle: [{
328
+ type: Input
329
+ }], confirmationDialogTitle: [{
330
+ type: Input
331
+ }], addTaskText: [{
332
+ type: Input
333
+ }], addChildText: [{
334
+ type: Input
335
+ }], addAboveText: [{
336
+ type: Input
337
+ }], addBelowText: [{
338
+ type: Input
339
+ }], cancelButtonText: [{
340
+ type: Input
341
+ }], saveButtonText: [{
342
+ type: Input
343
+ }], titleFieldInputLabel: [{
344
+ type: Input
345
+ }], startFieldInputLabel: [{
346
+ type: Input
347
+ }], endFieldInputLabel: [{
348
+ type: Input
349
+ }], completionRatioFieldInputLabel: [{
350
+ type: Input
351
+ }], confirmationDialogContent: [{
352
+ type: Input
353
+ }], dayViewText: [{
354
+ type: Input
355
+ }], weekViewText: [{
356
+ type: Input
357
+ }], monthViewText: [{
358
+ type: Input
359
+ }], yearViewText: [{
360
+ type: Input
361
+ }], noRecords: [{
362
+ type: Input
363
+ }], filter: [{
364
+ type: Input
365
+ }], filterEqOperator: [{
366
+ type: Input
367
+ }], filterNotEqOperator: [{
368
+ type: Input
369
+ }], filterIsNullOperator: [{
370
+ type: Input
371
+ }], filterIsNotNullOperator: [{
372
+ type: Input
373
+ }], filterIsEmptyOperator: [{
374
+ type: Input
375
+ }], filterIsNotEmptyOperator: [{
376
+ type: Input
377
+ }], filterStartsWithOperator: [{
378
+ type: Input
379
+ }], filterContainsOperator: [{
380
+ type: Input
381
+ }], filterNotContainsOperator: [{
382
+ type: Input
383
+ }], filterEndsWithOperator: [{
384
+ type: Input
385
+ }], filterGteOperator: [{
386
+ type: Input
387
+ }], filterGtOperator: [{
388
+ type: Input
389
+ }], filterLteOperator: [{
390
+ type: Input
391
+ }], filterLtOperator: [{
392
+ type: Input
393
+ }], filterIsTrue: [{
394
+ type: Input
395
+ }], filterIsFalse: [{
396
+ type: Input
397
+ }], filterBooleanAll: [{
398
+ type: Input
399
+ }], filterAfterOrEqualOperator: [{
400
+ type: Input
401
+ }], filterAfterOperator: [{
402
+ type: Input
403
+ }], filterBeforeOperator: [{
404
+ type: Input
405
+ }], filterBeforeOrEqualOperator: [{
406
+ type: Input
407
+ }], filterFilterButton: [{
408
+ type: Input
409
+ }], filterClearButton: [{
410
+ type: Input
411
+ }], filterAndLogic: [{
412
+ type: Input
413
+ }], filterOrLogic: [{
414
+ type: Input
415
+ }], loading: [{
416
+ type: Input
417
+ }], columnMenu: [{
418
+ type: Input
419
+ }], columns: [{
420
+ type: Input
421
+ }], lock: [{
422
+ type: Input
423
+ }], unlock: [{
424
+ type: Input
425
+ }], sortable: [{
426
+ type: Input
427
+ }], sortAscending: [{
428
+ type: Input
429
+ }], sortDescending: [{
430
+ type: Input
431
+ }], sortedAscending: [{
432
+ type: Input
433
+ }], sortedDescending: [{
434
+ type: Input
435
+ }], sortedDefault: [{
436
+ type: Input
437
+ }], columnsApply: [{
438
+ type: Input
439
+ }], columnsReset: [{
440
+ type: Input
441
+ }] } });
@@ -0,0 +1,45 @@
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 { PreventableEvent } from '@progress/kendo-angular-common';
6
+ /**
7
+ * Called every time a user leaves an edited cell.
8
+ */
9
+ export class CellCloseEvent extends PreventableEvent {
10
+ /**
11
+ * The data item.
12
+ */
13
+ dataItem;
14
+ /**
15
+ * Indicates if the data item is new or existing.
16
+ */
17
+ isNew;
18
+ /**
19
+ * The Gantt column that will be closed.
20
+ */
21
+ column;
22
+ /**
23
+ * The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that is used to edit the cell which will be closed.
24
+ */
25
+ formGroup;
26
+ /**
27
+ * The DOM event that caused the `cellClose` event.
28
+ * May not be present if `cellClose` was caused by an API call.
29
+ */
30
+ originalEvent;
31
+ /**
32
+ * The `GanttComponent` instance.
33
+ */
34
+ sender;
35
+ /**
36
+ * The `TaskEditItem` associated with the edited task.
37
+ * The parent item is accessible through the `parent` property,
38
+ * and allows traversing all ancestors that need to be updated.
39
+ */
40
+ item;
41
+ constructor(options) {
42
+ super();
43
+ Object.assign(this, options);
44
+ }
45
+ }