@progress/kendo-angular-gantt 17.0.0-develop.3 → 17.0.0-develop.31

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 (164) hide show
  1. package/README.md +41 -17
  2. package/binding-directives/flat-binding.directive.d.ts +1 -1
  3. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  4. package/columns/column-base.component.d.ts +1 -74
  5. package/columns/column-group.component.d.ts +1 -80
  6. package/columns/column.component.d.ts +1 -80
  7. package/columns/span-column.component.d.ts +1 -90
  8. package/dependencies/gantt-dependency.directive.d.ts +1 -1
  9. package/dragging/dependency-drag-create.directive.d.ts +1 -1
  10. package/editing/add-task.component.d.ts +1 -1
  11. package/editing/dependencies-table.component.d.ts +1 -1
  12. package/editing/edit-dialog.component.d.ts +1 -1
  13. package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +7 -3
  14. package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +7 -3
  15. package/{esm2020 → esm2022}/columns/cell-template.directive.mjs +4 -3
  16. package/esm2022/columns/column-base.component.mjs +22 -0
  17. package/esm2022/columns/column-group.component.mjs +66 -0
  18. package/{esm2020 → esm2022}/columns/column-menu-template.directive.mjs +4 -3
  19. package/{esm2020 → esm2022}/columns/column.component.mjs +37 -65
  20. package/{esm2020 → esm2022}/columns/edit-template.directive.mjs +4 -3
  21. package/{esm2020 → esm2022}/columns/filter-cell-template.directive.mjs +4 -3
  22. package/{esm2020 → esm2022}/columns/filter-menu-template.directive.mjs +4 -3
  23. package/{esm2020 → esm2022}/columns/footer-template.directive.mjs +4 -3
  24. package/{esm2020 → esm2022}/columns/header-template.directive.mjs +4 -3
  25. package/esm2022/columns/span-column.component.mjs +66 -0
  26. package/{esm2020 → esm2022}/common/mapping.service.mjs +5 -7
  27. package/{esm2020 → esm2022}/common/option-changes.service.mjs +6 -8
  28. package/{esm2020 → esm2022}/dependencies/dependency-dom.service.mjs +21 -12
  29. package/{esm2020 → esm2022}/dependencies/gantt-dependency.directive.mjs +10 -4
  30. package/{esm2020 → esm2022}/dragging/dependency-drag-create.directive.mjs +41 -18
  31. package/{esm2020 → esm2022}/dragging/drag-validation-tooltip.component.mjs +24 -12
  32. package/{esm2020 → esm2022}/editing/add-task.component.mjs +31 -28
  33. package/{esm2020 → esm2022}/editing/dependencies-table.component.mjs +23 -16
  34. package/{esm2020 → esm2022}/editing/edit-dialog.component.mjs +14 -8
  35. package/{esm2020 → esm2022}/editing/edit.service.mjs +23 -17
  36. package/{esm2020 → esm2022}/editing/task-fields.component.mjs +7 -4
  37. package/{esm2020 → esm2022}/expanded-state/expand-event.mjs +4 -0
  38. package/{esm2020 → esm2022}/expanded-state/expandable.directive.mjs +3 -3
  39. package/{esm2020 → esm2022}/gantt.component.mjs +434 -364
  40. package/{esm2020 → esm2022}/gantt.module.mjs +31 -31
  41. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  42. package/{esm2020 → esm2022}/localization/gantt-localization.service.mjs +4 -3
  43. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  44. package/esm2022/localization/messages.mjs +441 -0
  45. package/esm2022/models/events/cell-close-event.interface.mjs +45 -0
  46. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +40 -35
  47. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  48. package/{esm2020 → esm2022}/rendering/gantt-header-table-body.component.mjs +7 -7
  49. package/{esm2020 → esm2022}/rendering/gantt-milestone-task.component.mjs +11 -11
  50. package/{esm2020 → esm2022}/rendering/gantt-summary-task.component.mjs +16 -14
  51. package/{esm2020 → esm2022}/rendering/gantt-task-base.mjs +37 -18
  52. package/{esm2020 → esm2022}/rendering/gantt-task.component.mjs +14 -11
  53. package/{esm2020 → esm2022}/rendering/gantt-tasks-table-body.component.mjs +20 -8
  54. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +9 -6
  55. package/{esm2020 → esm2022}/scrolling/timeline-scroll.directive.mjs +10 -4
  56. package/{esm2020 → esm2022}/scrolling/timeline-scroll.service.mjs +6 -8
  57. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +18 -14
  58. package/{esm2020 → esm2022}/template-directives/summary-task-template.directive.mjs +4 -3
  59. package/{esm2020 → esm2022}/template-directives/task-content-template.directive.mjs +4 -3
  60. package/{esm2020 → esm2022}/template-directives/task-template.directive.mjs +4 -3
  61. package/{esm2020 → esm2022}/timeline/current-time-marker.service.mjs +36 -27
  62. package/{esm2020 → esm2022}/timeline/gantt-timeline.component.mjs +54 -16
  63. package/{esm2020 → esm2022}/timeline/timeline-base-view.service.mjs +6 -3
  64. package/{esm2020 → esm2022}/timeline/timeline-day-view.component.mjs +12 -12
  65. package/{esm2020 → esm2022}/timeline/timeline-day-view.service.mjs +4 -3
  66. package/{esm2020 → esm2022}/timeline/timeline-month-view.component.mjs +12 -12
  67. package/{esm2020 → esm2022}/timeline/timeline-month-view.service.mjs +4 -3
  68. package/{esm2020 → esm2022}/timeline/timeline-view.service.mjs +5 -4
  69. package/{esm2020 → esm2022}/timeline/timeline-week-view.component.mjs +12 -12
  70. package/{esm2020 → esm2022}/timeline/timeline-week-view.service.mjs +4 -3
  71. package/{esm2020 → esm2022}/timeline/timeline-year-view.component.mjs +12 -12
  72. package/{esm2020 → esm2022}/timeline/timeline-year-view.service.mjs +4 -3
  73. package/{esm2020 → esm2022}/timeline/view-base.mjs +22 -9
  74. package/{esm2020 → esm2022}/toolbar/toolbar-navigation.service.mjs +6 -4
  75. package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +8 -7
  76. package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +21 -12
  77. package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +20 -15
  78. package/expanded-state/expandable.directive.d.ts +1 -1
  79. package/{fesm2020 → fesm2022}/progress-kendo-angular-gantt.mjs +1580 -1115
  80. package/gantt.component.d.ts +1 -1
  81. package/localization/messages.d.ts +1 -1
  82. package/models/cell-content-type.interface.d.ts +1 -1
  83. package/models/class-callbacks.d.ts +2 -2
  84. package/models/events/task-edit-event.interface.d.ts +1 -1
  85. package/models/filterable-settings.d.ts +1 -1
  86. package/models/sort-settings.d.ts +2 -2
  87. package/models/timeline-view.d.ts +1 -1
  88. package/models/toolbar-settings.d.ts +1 -1
  89. package/package.json +25 -31
  90. package/rendering/gantt-header-table-body.component.d.ts +1 -1
  91. package/rendering/gantt-summary-task.component.d.ts +1 -1
  92. package/rendering/gantt-task-base.d.ts +1 -1
  93. package/rendering/gantt-task.component.d.ts +1 -1
  94. package/rendering/gantt-tasks-table-body.component.d.ts +1 -1
  95. package/schematics/ngAdd/index.js +7 -7
  96. package/scrolling/scroll-sync.service.d.ts +2 -2
  97. package/scrolling/timeline-scroll.directive.d.ts +1 -1
  98. package/selection/selectable.directive.d.ts +1 -1
  99. package/timeline/gantt-timeline.component.d.ts +1 -1
  100. package/timeline/view-base.d.ts +1 -1
  101. package/toolbar/toolbar-template.directive.d.ts +1 -1
  102. package/toolbar/toolbar.component.d.ts +1 -1
  103. package/toolbar/view-selector.component.d.ts +1 -1
  104. package/utils.d.ts +1 -1
  105. package/esm2020/columns/column-base.component.mjs +0 -55
  106. package/esm2020/columns/column-group.component.mjs +0 -101
  107. package/esm2020/columns/span-column.component.mjs +0 -120
  108. package/esm2020/localization/messages.mjs +0 -157
  109. package/esm2020/models/events/cell-close-event.interface.mjs +0 -14
  110. package/fesm2015/progress-kendo-angular-gantt.mjs +0 -8219
  111. /package/{esm2020 → esm2022}/columns/columns.mjs +0 -0
  112. /package/{esm2020 → esm2022}/common/default-callbacks.mjs +0 -0
  113. /package/{esm2020 → esm2022}/dependencies/dom-dependency-args.mjs +0 -0
  114. /package/{esm2020 → esm2022}/dependencies/utils.mjs +0 -0
  115. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  116. /package/{esm2020 → esm2022}/editing/utils.mjs +0 -0
  117. /package/{esm2020 → esm2022}/index.mjs +0 -0
  118. /package/{esm2020 → esm2022}/models/cell-content-type.interface.mjs +0 -0
  119. /package/{esm2020 → esm2022}/models/class-callbacks.mjs +0 -0
  120. /package/{esm2020 → esm2022}/models/column-menu-settings.interface.mjs +0 -0
  121. /package/{esm2020 → esm2022}/models/column-reorder-config.mjs +0 -0
  122. /package/{esm2020 → esm2022}/models/current-time-settings.interface.mjs +0 -0
  123. /package/{esm2020 → esm2022}/models/date-range.interface.mjs +0 -0
  124. /package/{esm2020 → esm2022}/models/dependency-type.enum.mjs +0 -0
  125. /package/{esm2020 → esm2022}/models/events/cell-click-event.interface.mjs +0 -0
  126. /package/{esm2020 → esm2022}/models/events/click-event.interface.mjs +0 -0
  127. /package/{esm2020 → esm2022}/models/events/column-locked-change-event.interface.mjs +0 -0
  128. /package/{esm2020 → esm2022}/models/events/column-reorder-event.interface.mjs +0 -0
  129. /package/{esm2020 → esm2022}/models/events/column-resize-event.interface.mjs +0 -0
  130. /package/{esm2020 → esm2022}/models/events/column-visibility-change-event.interface.mjs +0 -0
  131. /package/{esm2020 → esm2022}/models/events/data-state-change-event.interface.mjs +0 -0
  132. /package/{esm2020 → esm2022}/models/events/dependency-add-event.interface.mjs +0 -0
  133. /package/{esm2020 → esm2022}/models/events/selected-view-change-event.interface.mjs +0 -0
  134. /package/{esm2020 → esm2022}/models/events/task-add-event.interface.mjs +0 -0
  135. /package/{esm2020 → esm2022}/models/events/task-click-event.interface.mjs +0 -0
  136. /package/{esm2020 → esm2022}/models/events/task-delete-event.interface.mjs +0 -0
  137. /package/{esm2020 → esm2022}/models/events/task-edit-event.interface.mjs +0 -0
  138. /package/{esm2020 → esm2022}/models/events/task-move-end-event.interface.mjs +0 -0
  139. /package/{esm2020 → esm2022}/models/events/task-move-event.interface.mjs +0 -0
  140. /package/{esm2020 → esm2022}/models/events/task-move-start-event.interface.mjs +0 -0
  141. /package/{esm2020 → esm2022}/models/events/task-resize-end-event.interface.mjs +0 -0
  142. /package/{esm2020 → esm2022}/models/events/task-resize-event.interface.mjs +0 -0
  143. /package/{esm2020 → esm2022}/models/events/task-resize-start-event.interface.mjs +0 -0
  144. /package/{esm2020 → esm2022}/models/filterable-settings.mjs +0 -0
  145. /package/{esm2020 → esm2022}/models/gantt-dependency-model-fields.interface.mjs +0 -0
  146. /package/{esm2020 → esm2022}/models/gantt-dependency.interface.mjs +0 -0
  147. /package/{esm2020 → esm2022}/models/gantt-task-model-fields.interface.mjs +0 -0
  148. /package/{esm2020 → esm2022}/models/gantt-task.interface.mjs +0 -0
  149. /package/{esm2020 → esm2022}/models/models.mjs +0 -0
  150. /package/{esm2020 → esm2022}/models/slot.interface.mjs +0 -0
  151. /package/{esm2020 → esm2022}/models/sort-settings.mjs +0 -0
  152. /package/{esm2020 → esm2022}/models/splitter-pane-options.interface.mjs +0 -0
  153. /package/{esm2020 → esm2022}/models/timeline-header-date-format.mjs +0 -0
  154. /package/{esm2020 → esm2022}/models/timeline-options.interface.mjs +0 -0
  155. /package/{esm2020 → esm2022}/models/timeline-view.mjs +0 -0
  156. /package/{esm2020 → esm2022}/models/toolbar-settings.mjs +0 -0
  157. /package/{esm2020 → esm2022}/models/view-item.interface.mjs +0 -0
  158. /package/{esm2020 → esm2022}/navigation/navigation-models.mjs +0 -0
  159. /package/{esm2020 → esm2022}/navigation/utils.mjs +0 -0
  160. /package/{esm2020 → esm2022}/progress-kendo-angular-gantt.mjs +0 -0
  161. /package/{esm2020 → esm2022}/scrolling/drag-scroll-settings.mjs +0 -0
  162. /package/{esm2020 → esm2022}/scrolling/utils.mjs +0 -0
  163. /package/{esm2020 → esm2022}/selection/selection-change-event.mjs +0 -0
  164. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -8,17 +8,28 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class DragValidationTooltipComponent {
11
- constructor() {
12
- /**
13
- * Sets the status class of the attempted operation.
14
- * Note that the status will be ignored and the `neutral` status class will be rendered,
15
- * if the any of the fromTaskName or toTaskName are not populated.
16
- */
17
- this.isValid = false;
18
- }
19
- }
20
- DragValidationTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragValidationTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- DragValidationTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DragValidationTooltipComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
11
+ /**
12
+ * Sets the status class of the attempted operation.
13
+ * Note that the status will be ignored and the `neutral` status class will be rendered,
14
+ * if the any of the fromTaskName or toTaskName are not populated.
15
+ */
16
+ isValid = false;
17
+ /**
18
+ * The name of the task where the dragging has started.
19
+ */
20
+ fromTaskName;
21
+ /**
22
+ * The name of the task which is being currently hovered.
23
+ */
24
+ toTaskName;
25
+ /**
26
+ * Specifies whether the valid/invalid validity classes should be rendered or not.
27
+ * Prevents the validity classes being rendered when e.g. the same task is hovered during drag,
28
+ * or when a task body is hovered and not an actual drag clue.
29
+ */
30
+ showValidityStatus;
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragValidationTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DragValidationTooltipComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
22
33
  <div
23
34
  class="k-tooltip k-gantt-tooltip-validation"
24
35
  [class.k-gantt-tooltip-valid]="showValidityStatus && isValid"
@@ -34,7 +45,8 @@ DragValidationTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
34
45
  </div>
35
46
  </div>
36
47
  `, isInline: true });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragValidationTooltipComponent, decorators: [{
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragValidationTooltipComponent, decorators: [{
38
50
  type: Component,
39
51
  args: [{
40
52
  template: `
@@ -16,34 +16,37 @@ import * as i2 from "./edit.service";
16
16
  * Use it within a toolbar template to provide a custom icon or list of options.
17
17
  */
18
18
  export class GanttAddTaskComponent {
19
+ localizationService;
20
+ editService;
21
+ ngZone;
22
+ /**
23
+ * Sets the data of the DropDownButton.
24
+ * > The data has to be provided in an array-like list.
25
+ */
26
+ data = [{
27
+ text: this.getText('addChildText'),
28
+ type: 'addChild'
29
+ }, {
30
+ text: this.getText('addAboveText'),
31
+ type: 'addAbove'
32
+ }, {
33
+ text: this.getText('addBelowText'),
34
+ type: 'addBelow'
35
+ }];
36
+ /**
37
+ * Defines the name of an existing icon in a Kendo UI theme.
38
+ * @default 'plus'
39
+ */
40
+ icon = 'plus';
41
+ /**
42
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) icon to be rendered inside the `GanttAddTaskComponent` using
43
+ * a [`KendoSVGIcon`](slug:api_icons_svgiconcomponent) component.
44
+ */
45
+ svgIcon = plusIcon;
19
46
  constructor(localizationService, editService, ngZone) {
20
47
  this.localizationService = localizationService;
21
48
  this.editService = editService;
22
49
  this.ngZone = ngZone;
23
- /**
24
- * Sets the data of the DropDownButton.
25
- * > The data has to be provided in an array-like list.
26
- */
27
- this.data = [{
28
- text: this.getText('addChildText'),
29
- type: 'addChild'
30
- }, {
31
- text: this.getText('addAboveText'),
32
- type: 'addAbove'
33
- }, {
34
- text: this.getText('addBelowText'),
35
- type: 'addBelow'
36
- }];
37
- /**
38
- * Defines the name of an existing icon in a Kendo UI theme.
39
- * @default 'plus'
40
- */
41
- this.icon = 'plus';
42
- /**
43
- * Defines an [`SVGIcon`](slug:api_icons_svgicon) icon to be rendered inside the `GanttAddTaskComponent` using
44
- * a [`KendoSVGIcon`](slug:api_icons_svgiconcomponent) component.
45
- */
46
- this.svgIcon = plusIcon;
47
50
  }
48
51
  /**
49
52
  * @hidden
@@ -81,9 +84,8 @@ export class GanttAddTaskComponent {
81
84
  selectedItem: null
82
85
  });
83
86
  }
84
- }
85
- GanttAddTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttAddTaskComponent, deps: [{ token: i1.LocalizationService }, { token: i2.EditService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
86
- GanttAddTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttAddTaskComponent, isStandalone: true, selector: "kendo-gantt-add-task", inputs: { data: "data", icon: "icon", svgIcon: "svgIcon" }, ngImport: i0, template: `
87
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttAddTaskComponent, deps: [{ token: i1.LocalizationService }, { token: i2.EditService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
88
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GanttAddTaskComponent, isStandalone: true, selector: "kendo-gantt-add-task", inputs: { data: "data", icon: "icon", svgIcon: "svgIcon" }, ngImport: i0, template: `
87
89
  <kendo-dropdownbutton
88
90
  [data]="data"
89
91
  [icon]="icon"
@@ -95,7 +97,8 @@ GanttAddTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
95
97
  {{ getText('addTaskText') }}
96
98
  </kendo-dropdownbutton>
97
99
  `, isInline: true, dependencies: [{ kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttAddTaskComponent, decorators: [{
100
+ }
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttAddTaskComponent, decorators: [{
99
102
  type: Component,
100
103
  args: [{
101
104
  selector: 'kendo-gantt-add-task',
@@ -21,17 +21,19 @@ import * as i4 from "@angular/forms";
21
21
  * @hidden
22
22
  */
23
23
  export class DependenciesTableComponent {
24
- constructor(mapper, editService, localizationService) {
25
- this.mapper = mapper;
26
- this.editService = editService;
27
- this.localizationService = localizationService;
28
- this.dependenciesChange = new EventEmitter();
29
- this.selectedKeys = [];
30
- this.formGroups = new FormArray([]);
31
- this.dependencyTypes = this.getDependencyTypes();
32
- this.plusIcon = plusIcon;
33
- this.minusIcon = minusIcon;
34
- }
24
+ mapper;
25
+ editService;
26
+ localizationService;
27
+ // TODO: should consist of only valid connection tasks
28
+ tasks;
29
+ dependencies;
30
+ dependencyType;
31
+ dependenciesChange = new EventEmitter();
32
+ selectedKeys = [];
33
+ formGroups = new FormArray([]);
34
+ dependencyTypes = this.getDependencyTypes();
35
+ plusIcon = plusIcon;
36
+ minusIcon = minusIcon;
35
37
  get taskId() {
36
38
  return this.editService.dataItem.id;
37
39
  }
@@ -41,6 +43,11 @@ export class DependenciesTableComponent {
41
43
  get dependencyIdField() {
42
44
  return this.dependencyType === 'predecessor' ? 'fromId' : 'toId';
43
45
  }
46
+ constructor(mapper, editService, localizationService) {
47
+ this.mapper = mapper;
48
+ this.editService = editService;
49
+ this.localizationService = localizationService;
50
+ }
44
51
  ngOnInit() {
45
52
  // generate the FormGroups per each Grid row
46
53
  if (this.formGroups.controls.length === 0) {
@@ -100,9 +107,8 @@ export class DependenciesTableComponent {
100
107
  this.editService.deleteDependency(item);
101
108
  this.formGroups.removeAt(selectedIndex);
102
109
  }
103
- }
104
- DependenciesTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependenciesTableComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
105
- DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DependenciesTableComponent, isStandalone: true, selector: "kendo-gantt-dependencies-table", inputs: { tasks: "tasks", dependencies: "dependencies", dependencyType: "dependencyType" }, outputs: { dependenciesChange: "dependenciesChange" }, ngImport: i0, template: `
110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DependenciesTableComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
111
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DependenciesTableComponent, isStandalone: true, selector: "kendo-gantt-dependencies-table", inputs: { tasks: "tasks", dependencies: "dependencies", dependencyType: "dependencyType" }, outputs: { dependenciesChange: "dependenciesChange" }, ngImport: i0, template: `
106
112
  <kendo-grid
107
113
  [data]="dependencies"
108
114
  [selectable]="{ mode: 'single' }"
@@ -154,8 +160,9 @@ DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
154
160
  </ng-template>
155
161
  </kendo-grid-column>
156
162
  </kendo-grid>
157
- `, isInline: true, dependencies: [{ kind: "component", type: GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "isRowSelectable", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
158
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependenciesTableComponent, decorators: [{
163
+ `, isInline: true, dependencies: [{ kind: "component", type: GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "isRowSelectable", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
164
+ }
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DependenciesTableComponent, decorators: [{
159
166
  type: Component,
160
167
  args: [{
161
168
  selector: 'kendo-gantt-dependencies-table',
@@ -23,14 +23,20 @@ import * as i3 from "@progress/kendo-angular-l10n";
23
23
  * @hidden
24
24
  */
25
25
  export class EditDialogComponent {
26
+ mapper;
27
+ editService;
28
+ cdr;
29
+ localizationService;
30
+ data;
31
+ loadedTasks;
32
+ saveIcon = saveIcon;
33
+ cancelIcon = cancelOutlineIcon;
34
+ deleteIcon = trashIcon;
26
35
  constructor(mapper, editService, cdr, localizationService) {
27
36
  this.mapper = mapper;
28
37
  this.editService = editService;
29
38
  this.cdr = cdr;
30
39
  this.localizationService = localizationService;
31
- this.saveIcon = saveIcon;
32
- this.cancelIcon = cancelOutlineIcon;
33
- this.deleteIcon = trashIcon;
34
40
  }
35
41
  ngOnInit() {
36
42
  this.editService.loadTasks(this.data).subscribe(value => {
@@ -61,9 +67,8 @@ export class EditDialogComponent {
61
67
  handleTaskDelete() {
62
68
  this.editService.taskDelete.next(this.editService.dataItem);
63
69
  }
64
- }
65
- EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
66
- EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, isStandalone: true, selector: "kendo-gantt-edit-dialog", inputs: { data: "data" }, ngImport: i0, template: `
70
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
71
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditDialogComponent, isStandalone: true, selector: "kendo-gantt-edit-dialog", inputs: { data: "data" }, ngImport: i0, template: `
67
72
  <kendo-dialog
68
73
  [title]="getText('taskEditingDialogTitle')"
69
74
  [width]="575"
@@ -134,8 +139,9 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
134
139
  </button>
135
140
  </kendo-dialog-actions>
136
141
  </kendo-dialog>
137
- `, isInline: true, dependencies: [{ kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "directive", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabContentDirective, selector: "[kendoTabContent]" }, { kind: "component", type: TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { kind: "component", type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, decorators: [{
142
+ `, isInline: true, dependencies: [{ kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "directive", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabContentDirective, selector: "[kendoTabContent]" }, { kind: "component", type: TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { kind: "component", type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
143
+ }
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, decorators: [{
139
145
  type: Component,
140
146
  args: [{
141
147
  selector: 'kendo-gantt-edit-dialog',
@@ -13,20 +13,16 @@ import * as i1 from "../common/mapping.service";
13
13
  * @hidden
14
14
  */
15
15
  export class EditService {
16
- constructor(mapper) {
17
- this.mapper = mapper;
18
- this.showEditingDialog = new Subject();
19
- this.taskDelete = new Subject();
20
- this.editEvent = new Subject();
21
- this.addEvent = new Subject();
22
- this.predecessors = [];
23
- this.successors = [];
24
- this.updatedItems = [];
25
- this.deletedItems = [];
26
- this.itemIndex = (item, data) => {
27
- return data.findIndex(dataItem => this.mapper.extractFromTask(dataItem, 'id') === this.mapper.extractFromTask(item, 'id'));
28
- };
29
- }
16
+ mapper;
17
+ showEditingDialog = new Subject();
18
+ taskDelete = new Subject();
19
+ editEvent = new Subject();
20
+ addEvent = new Subject();
21
+ taskFormGroup;
22
+ dataItem;
23
+ getSelectedItem;
24
+ hasChildren;
25
+ fetchChildren;
30
26
  set dependencies(items) {
31
27
  // Can this whole thing be moved to edit-dialog? Dependencies might not be needed here
32
28
  const dataItemId = this.mapper.extractFromTask(this.dataItem, 'id');
@@ -36,6 +32,13 @@ export class EditService {
36
32
  get dependencies() {
37
33
  return [...this.predecessors, ...this.successors];
38
34
  }
35
+ predecessors = [];
36
+ successors = [];
37
+ updatedItems = [];
38
+ deletedItems = [];
39
+ constructor(mapper) {
40
+ this.mapper = mapper;
41
+ }
39
42
  createEditDialog(dataItem, taskFormGroup, dependencies) {
40
43
  this.dataItem = dataItem;
41
44
  this.taskFormGroup = taskFormGroup;
@@ -101,12 +104,15 @@ export class EditService {
101
104
  }
102
105
  return of(children);
103
106
  }
107
+ itemIndex = (item, data) => {
108
+ return data.findIndex(dataItem => this.mapper.extractFromTask(dataItem, 'id') === this.mapper.extractFromTask(item, 'id'));
109
+ };
104
110
  isNew(item) {
105
111
  return !isPresent(this.mapper.extractFromDependency(item, 'id'));
106
112
  }
113
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, deps: [{ token: i1.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
114
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService });
107
115
  }
108
- EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, deps: [{ token: i1.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
109
- EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService });
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, decorators: [{
111
117
  type: Injectable
112
118
  }], ctorParameters: function () { return [{ type: i1.MappingService }]; } });
@@ -21,6 +21,9 @@ import * as i4 from "@angular/forms";
21
21
  * @hidden
22
22
  */
23
23
  export class TaskFieldsComponent {
24
+ mapper;
25
+ editService;
26
+ localizationService;
24
27
  constructor(mapper, editService, localizationService) {
25
28
  this.mapper = mapper;
26
29
  this.editService = editService;
@@ -35,9 +38,8 @@ export class TaskFieldsComponent {
35
38
  getText(token) {
36
39
  return this.localizationService.get(token);
37
40
  }
38
- }
39
- TaskFieldsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TaskFieldsComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
40
- TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TaskFieldsComponent, isStandalone: true, selector: "kendo-gantt-task-fields", ngImport: i0, template: `
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TaskFieldsComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TaskFieldsComponent, isStandalone: true, selector: "kendo-gantt-task-fields", ngImport: i0, template: `
41
43
  <form class="k-form k-form-md" [formGroup]="formGroup">
42
44
  <kendo-formfield *ngIf="formGroup.get(mapper.taskFields.title)">
43
45
  <kendo-label [for]="title" [text]="getText('titleFieldInputLabel')"></kendo-label>
@@ -68,7 +70,8 @@ TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
68
70
  </kendo-formfield>
69
71
  </form>
70
72
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }] });
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TaskFieldsComponent, decorators: [{
73
+ }
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TaskFieldsComponent, decorators: [{
72
75
  type: Component,
73
76
  args: [{
74
77
  selector: 'kendo-gantt-task-fields',
@@ -10,4 +10,8 @@ export class ExpandEvent {
10
10
  constructor() {
11
11
  //TODO: empty ctor
12
12
  }
13
+ /**
14
+ * The expanded/collapsed data item.
15
+ */
16
+ dataItem;
13
17
  }
@@ -18,10 +18,10 @@ export class GanttExpandableDirective extends ExpandableDirective {
18
18
  set expandBy(value) {
19
19
  super.expandBy = value;
20
20
  }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttExpandableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
22
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GanttExpandableDirective, isStandalone: true, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
21
23
  }
22
- GanttExpandableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttExpandableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
23
- GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttExpandableDirective, isStandalone: true, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttExpandableDirective, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GanttExpandableDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  exportAs: 'kendoGanttExpandable',