@progress/kendo-angular-gantt 2.0.0-next.202204010911 → 2.0.0-next.202204121022

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 (229) hide show
  1. package/binding-directives/flat-binding.directive.d.ts +24 -0
  2. package/binding-directives/hierarchy-binding.directive.d.ts +22 -0
  3. package/bundles/kendo-angular-gantt.umd.js +1 -1
  4. package/columns/cell-template.directive.d.ts +28 -0
  5. package/columns/column-base.d.ts +85 -0
  6. package/columns/column-group.component.d.ts +103 -0
  7. package/columns/column-menu-template.directive.d.ts +22 -0
  8. package/columns/column.component.d.ts +130 -0
  9. package/columns/columns.d.ts +15 -0
  10. package/columns/edit-template.directive.d.ts +26 -0
  11. package/columns/filter-cell-template.directive.d.ts +21 -0
  12. package/columns/filter-menu-template.directive.d.ts +20 -0
  13. package/columns/footer-template.directive.d.ts +24 -0
  14. package/columns/header-template.directive.d.ts +22 -0
  15. package/columns/span-column.component.d.ts +112 -0
  16. package/common/default-callbacks.d.ts +25 -0
  17. package/common/mapping.service.d.ts +38 -0
  18. package/common/option-changes.service.d.ts +17 -0
  19. package/common/touch-enabled.d.ts +9 -0
  20. package/dependencies/dependency-dom.service.d.ts +46 -0
  21. package/dependencies/dom-dependency-args.d.ts +24 -0
  22. package/dependencies/gantt-dependency.directive.d.ts +29 -0
  23. package/dependencies/utils.d.ts +53 -0
  24. package/dragging/dependency-drag-create.directive.d.ts +75 -0
  25. package/dragging/drag-validation-tooltip.component.d.ts +32 -0
  26. package/editing/add-task.component.d.ts +48 -0
  27. package/editing/dependencies-table.component.d.ts +42 -0
  28. package/editing/edit-dialog.component.d.ts +33 -0
  29. package/editing/edit.service.d.ts +44 -0
  30. package/editing/task-fields.component.d.ts +25 -0
  31. package/editing/utils.d.ts +10 -0
  32. package/esm2015/binding-directives/flat-binding.directive.js +34 -0
  33. package/esm2015/binding-directives/hierarchy-binding.directive.js +32 -0
  34. package/esm2015/columns/cell-template.directive.js +37 -0
  35. package/esm2015/columns/column-base.js +52 -0
  36. package/esm2015/columns/column-group.component.js +94 -0
  37. package/esm2015/columns/column-menu-template.directive.js +31 -0
  38. package/esm2015/columns/column.component.js +133 -0
  39. package/esm2015/columns/columns.js +15 -0
  40. package/esm2015/columns/edit-template.directive.js +35 -0
  41. package/esm2015/columns/filter-cell-template.directive.js +30 -0
  42. package/esm2015/columns/filter-menu-template.directive.js +29 -0
  43. package/esm2015/columns/footer-template.directive.js +33 -0
  44. package/esm2015/columns/header-template.directive.js +31 -0
  45. package/esm2015/columns/span-column.component.js +86 -0
  46. package/esm2015/common/default-callbacks.js +25 -0
  47. package/esm2015/common/mapping.service.js +64 -0
  48. package/esm2015/common/option-changes.service.js +26 -0
  49. package/esm2015/common/touch-enabled.js +9 -0
  50. package/esm2015/dependencies/dependency-dom.service.js +70 -0
  51. package/esm2015/dependencies/dom-dependency-args.js +5 -0
  52. package/esm2015/dependencies/gantt-dependency.directive.js +82 -0
  53. package/esm2015/dependencies/utils.js +195 -0
  54. package/esm2015/dragging/dependency-drag-create.directive.js +318 -0
  55. package/esm2015/dragging/drag-validation-tooltip.component.js +90 -0
  56. package/esm2015/editing/add-task.component.js +109 -0
  57. package/esm2015/editing/dependencies-table.component.js +196 -0
  58. package/esm2015/editing/edit-dialog.component.js +170 -0
  59. package/esm2015/editing/edit.service.js +111 -0
  60. package/esm2015/editing/task-fields.component.js +101 -0
  61. package/esm2015/editing/utils.js +15 -0
  62. package/esm2015/expanded-state/expand-event.js +9 -0
  63. package/esm2015/expanded-state/expandable.directive.js +23 -0
  64. package/esm2015/gantt.component.js +2226 -0
  65. package/esm2015/gantt.module.js +264 -0
  66. package/esm2015/kendo-angular-gantt.js +8 -0
  67. package/esm2015/localization/custom-messages.component.js +41 -0
  68. package/esm2015/localization/gantt-localization.service.js +25 -0
  69. package/esm2015/localization/localized-messages.directive.js +36 -0
  70. package/esm2015/localization/messages.js +157 -0
  71. package/esm2015/main.js +37 -0
  72. package/esm2015/models/cell-content-type.interface.js +5 -0
  73. package/esm2015/models/class-callbacks.js +5 -0
  74. package/esm2015/models/column-menu-settings.interface.js +5 -0
  75. package/esm2015/models/column-reorder-config.js +5 -0
  76. package/esm2015/models/date-range.interface.js +5 -0
  77. package/esm2015/models/dependency-type.enum.js +20 -0
  78. package/esm2015/models/events/cell-click-event.interface.js +5 -0
  79. package/esm2015/models/events/cell-close-event.interface.js +14 -0
  80. package/esm2015/models/events/click-event.interface.js +5 -0
  81. package/esm2015/models/events/column-locked-change-event.interface.js +5 -0
  82. package/esm2015/models/events/column-reorder-event.interface.js +5 -0
  83. package/esm2015/models/events/column-resize-event.interface.js +5 -0
  84. package/esm2015/models/events/column-visibility-change-event.interface.js +5 -0
  85. package/esm2015/models/events/data-state-change-event.interface.js +5 -0
  86. package/esm2015/models/events/dependency-add-event.interface.js +5 -0
  87. package/esm2015/models/events/selected-view-change-event.interface.js +5 -0
  88. package/esm2015/models/events/task-add-event.interface.js +5 -0
  89. package/esm2015/models/events/task-click-event.interface.js +5 -0
  90. package/esm2015/models/events/task-delete-event.interface.js +5 -0
  91. package/esm2015/models/events/task-edit-event.interface.js +5 -0
  92. package/esm2015/models/events/task-move-end-event.interface.js +5 -0
  93. package/esm2015/models/events/task-move-event.interface.js +5 -0
  94. package/esm2015/models/events/task-move-start-event.interface.js +5 -0
  95. package/esm2015/models/events/task-resize-end-event.interface.js +5 -0
  96. package/esm2015/models/events/task-resize-event.interface.js +5 -0
  97. package/esm2015/models/events/task-resize-start-event.interface.js +5 -0
  98. package/esm2015/models/filterable-settings.js +5 -0
  99. package/esm2015/models/gantt-dependency-model-fields.interface.js +13 -0
  100. package/esm2015/models/gantt-dependency.interface.js +5 -0
  101. package/esm2015/models/gantt-task-model-fields.interface.js +15 -0
  102. package/esm2015/models/gantt-task.interface.js +5 -0
  103. package/esm2015/models/models.js +7 -0
  104. package/esm2015/models/slot.interface.js +5 -0
  105. package/esm2015/models/sort-settings.js +17 -0
  106. package/esm2015/models/splitter-pane-options.interface.js +20 -0
  107. package/esm2015/models/timeline-options.interface.js +5 -0
  108. package/esm2015/models/timeline-view.js +5 -0
  109. package/esm2015/models/toolbar-settings.js +5 -0
  110. package/esm2015/models/view-item.interface.js +5 -0
  111. package/esm2015/navigation/navigation-models.js +5 -0
  112. package/esm2015/navigation/navigation.service.js +265 -0
  113. package/esm2015/navigation/utils.js +69 -0
  114. package/esm2015/package-metadata.js +15 -0
  115. package/esm2015/rendering/gantt-header-table-body.component.js +42 -0
  116. package/esm2015/rendering/gantt-milestone-task.component.js +107 -0
  117. package/esm2015/rendering/gantt-summary-task.component.js +158 -0
  118. package/esm2015/rendering/gantt-task-base.js +148 -0
  119. package/esm2015/rendering/gantt-task.component.js +204 -0
  120. package/esm2015/rendering/gantt-tasks-table-body.component.js +160 -0
  121. package/esm2015/scrolling/drag-scroll-settings.js +20 -0
  122. package/esm2015/scrolling/scroll-sync.service.js +80 -0
  123. package/esm2015/scrolling/timeline-scroll.directive.js +75 -0
  124. package/esm2015/scrolling/timeline-scroll.service.js +39 -0
  125. package/esm2015/scrolling/utils.js +77 -0
  126. package/esm2015/selection/selectable.directive.js +112 -0
  127. package/esm2015/selection/selection-change-event.js +5 -0
  128. package/esm2015/template-directives/summary-task-template.directive.js +50 -0
  129. package/esm2015/template-directives/task-content-template.directive.js +45 -0
  130. package/esm2015/template-directives/task-template.directive.js +48 -0
  131. package/esm2015/timeline/gantt-timeline.component.js +334 -0
  132. package/esm2015/timeline/timeline-base-view.service.js +160 -0
  133. package/esm2015/timeline/timeline-day-view.component.js +38 -0
  134. package/esm2015/timeline/timeline-day-view.service.js +66 -0
  135. package/esm2015/timeline/timeline-month-view.component.js +38 -0
  136. package/esm2015/timeline/timeline-month-view.service.js +64 -0
  137. package/esm2015/timeline/timeline-view.service.js +35 -0
  138. package/esm2015/timeline/timeline-week-view.component.js +38 -0
  139. package/esm2015/timeline/timeline-week-view.service.js +60 -0
  140. package/esm2015/timeline/view-base.js +45 -0
  141. package/esm2015/toolbar/toolbar-template.directive.js +127 -0
  142. package/esm2015/toolbar/toolbar.component.js +94 -0
  143. package/esm2015/toolbar/view-selector.component.js +96 -0
  144. package/esm2015/utils.js +293 -0
  145. package/expanded-state/expand-event.d.ts +13 -0
  146. package/expanded-state/expandable.directive.d.ts +20 -0
  147. package/fesm2015/kendo-angular-gantt.js +7706 -0
  148. package/gantt.component.d.ts +750 -0
  149. package/gantt.module.d.ts +94 -0
  150. package/kendo-angular-gantt.d.ts +9 -0
  151. package/localization/custom-messages.component.d.ts +18 -0
  152. package/localization/gantt-localization.service.d.ts +18 -0
  153. package/localization/localized-messages.directive.d.ts +16 -0
  154. package/localization/messages.d.ts +293 -0
  155. package/main.d.ts +39 -0
  156. package/models/cell-content-type.interface.d.ts +10 -0
  157. package/models/class-callbacks.d.ts +43 -0
  158. package/models/column-menu-settings.interface.d.ts +26 -0
  159. package/models/column-reorder-config.d.ts +10 -0
  160. package/models/date-range.interface.d.ts +19 -0
  161. package/models/dependency-type.enum.d.ts +19 -0
  162. package/models/events/cell-click-event.interface.d.ts +43 -0
  163. package/models/events/cell-close-event.interface.d.ts +48 -0
  164. package/models/events/click-event.interface.d.ts +23 -0
  165. package/models/events/column-locked-change-event.interface.d.ts +16 -0
  166. package/models/events/column-reorder-event.interface.d.ts +10 -0
  167. package/models/events/column-resize-event.interface.d.ts +10 -0
  168. package/models/events/column-visibility-change-event.interface.d.ts +14 -0
  169. package/models/events/data-state-change-event.interface.d.ts +10 -0
  170. package/models/events/dependency-add-event.interface.d.ts +26 -0
  171. package/models/events/selected-view-change-event.interface.d.ts +19 -0
  172. package/models/events/task-add-event.interface.d.ts +31 -0
  173. package/models/events/task-click-event.interface.d.ts +30 -0
  174. package/models/events/task-delete-event.interface.d.ts +21 -0
  175. package/models/events/task-edit-event.interface.d.ts +76 -0
  176. package/models/events/task-move-end-event.interface.d.ts +12 -0
  177. package/models/events/task-move-event.interface.d.ts +23 -0
  178. package/models/events/task-move-start-event.interface.d.ts +15 -0
  179. package/models/events/task-resize-end-event.interface.d.ts +12 -0
  180. package/models/events/task-resize-event.interface.d.ts +23 -0
  181. package/models/events/task-resize-start-event.interface.d.ts +15 -0
  182. package/models/filterable-settings.d.ts +10 -0
  183. package/models/gantt-dependency-model-fields.interface.d.ts +35 -0
  184. package/models/gantt-dependency.interface.d.ts +26 -0
  185. package/models/gantt-task-model-fields.interface.d.ts +42 -0
  186. package/models/gantt-task.interface.d.ts +31 -0
  187. package/models/models.d.ts +42 -0
  188. package/models/slot.interface.d.ts +31 -0
  189. package/models/sort-settings.d.ts +42 -0
  190. package/models/splitter-pane-options.interface.d.ts +54 -0
  191. package/models/timeline-options.interface.d.ts +41 -0
  192. package/models/timeline-view.d.ts +8 -0
  193. package/models/toolbar-settings.d.ts +29 -0
  194. package/models/view-item.interface.d.ts +35 -0
  195. package/navigation/navigation-models.d.ts +38 -0
  196. package/navigation/navigation.service.d.ts +130 -0
  197. package/navigation/utils.d.ts +26 -0
  198. package/package-metadata.d.ts +9 -0
  199. package/package.json +10 -14
  200. package/rendering/gantt-header-table-body.component.d.ts +14 -0
  201. package/rendering/gantt-milestone-task.component.d.ts +22 -0
  202. package/rendering/gantt-summary-task.component.d.ts +25 -0
  203. package/rendering/gantt-task-base.d.ts +59 -0
  204. package/rendering/gantt-task.component.d.ts +26 -0
  205. package/rendering/gantt-tasks-table-body.component.d.ts +33 -0
  206. package/scrolling/drag-scroll-settings.d.ts +47 -0
  207. package/scrolling/scroll-sync.service.d.ts +33 -0
  208. package/scrolling/timeline-scroll.directive.d.ts +27 -0
  209. package/scrolling/timeline-scroll.service.d.ts +23 -0
  210. package/scrolling/utils.d.ts +29 -0
  211. package/selection/selectable.directive.d.ts +45 -0
  212. package/selection/selection-change-event.d.ts +25 -0
  213. package/template-directives/summary-task-template.directive.d.ts +41 -0
  214. package/template-directives/task-content-template.directive.d.ts +36 -0
  215. package/template-directives/task-template.directive.d.ts +39 -0
  216. package/timeline/gantt-timeline.component.d.ts +67 -0
  217. package/timeline/timeline-base-view.service.d.ts +77 -0
  218. package/timeline/timeline-day-view.component.d.ts +18 -0
  219. package/timeline/timeline-day-view.service.d.ts +38 -0
  220. package/timeline/timeline-month-view.component.d.ts +18 -0
  221. package/timeline/timeline-month-view.service.d.ts +38 -0
  222. package/timeline/timeline-view.service.d.ts +19 -0
  223. package/timeline/timeline-week-view.component.d.ts +18 -0
  224. package/timeline/timeline-week-view.service.d.ts +38 -0
  225. package/timeline/view-base.d.ts +34 -0
  226. package/toolbar/toolbar-template.directive.d.ts +112 -0
  227. package/toolbar/toolbar.component.d.ts +29 -0
  228. package/toolbar/view-selector.component.d.ts +43 -0
  229. package/utils.d.ts +166 -0
@@ -0,0 +1,52 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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 { ColumnBase } from '@progress/kendo-angular-treelist';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * The base class for the column components of the Gantt.
10
+ */
11
+ export class GanttColumnBase extends ColumnBase {
12
+ constructor() {
13
+ super(...arguments);
14
+ /**
15
+ * Toggles the locked (frozen) state of the columns.
16
+ *
17
+ * @default false
18
+ * @hidden
19
+ */
20
+ this.locked = false;
21
+ }
22
+ }
23
+ GanttColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
24
+ GanttColumnBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnBase, selector: "kendo-gantt-column-base", inputs: { locked: "locked", lockable: "lockable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, usesInheritance: true, ngImport: i0 });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, decorators: [{
26
+ type: Directive,
27
+ args: [{
28
+ // eslint-disable-next-line @angular-eslint/directive-selector
29
+ selector: 'kendo-gantt-column-base'
30
+ }]
31
+ }], propDecorators: { locked: [{
32
+ type: Input
33
+ }], lockable: [{
34
+ type: Input
35
+ }], hidden: [{
36
+ type: Input
37
+ }], media: [{
38
+ type: Input
39
+ }], style: [{
40
+ type: Input
41
+ }], headerStyle: [{
42
+ type: Input
43
+ }], footerStyle: [{
44
+ type: Input
45
+ }], cssClass: [{
46
+ type: Input,
47
+ args: ['class']
48
+ }], headerClass: [{
49
+ type: Input
50
+ }], footerClass: [{
51
+ type: Input
52
+ }] } });
@@ -0,0 +1,94 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, forwardRef, SkipSelf, Host, Optional, ContentChildren, QueryList, Input } from '@angular/core';
6
+ import { ColumnGroupComponent } from '@progress/kendo-angular-treelist';
7
+ import { GanttColumnBase } from './column-base';
8
+ import { HeaderTemplateDirective } from './header-template.directive';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "../common/option-changes.service";
11
+ import * as i2 from "./column-base";
12
+ export class GanttColumnGroupComponent extends ColumnGroupComponent {
13
+ constructor(options, parent) {
14
+ super(parent);
15
+ this.options = options;
16
+ /**
17
+ * @hidden
18
+ */
19
+ this.children = new QueryList();
20
+ /**
21
+ * Toggles the locked (frozen) state of the columns.
22
+ *
23
+ * @default false
24
+ * @hidden
25
+ */
26
+ this.locked = false;
27
+ /**
28
+ * Allows the column headers to be clicked and the `sortChange` event emitted.
29
+ * You have to handle the `sortChange` event yourself and sort the data.
30
+ */
31
+ this.sortable = true;
32
+ if (parent && parent.isSpanColumn) {
33
+ throw new Error('ColumnGroupComponent cannot be nested inside SpanColumnComponent');
34
+ }
35
+ }
36
+ ngOnChanges() {
37
+ this.options.notifyColumnChanges();
38
+ }
39
+ }
40
+ GanttColumnGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnGroupComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.GanttColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
41
+ GanttColumnGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnGroupComponent, selector: "kendo-gantt-column-group", inputs: { locked: "locked", lockable: "lockable", hidden: "hidden", sortable: "sortable", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, providers: [
42
+ {
43
+ provide: GanttColumnBase,
44
+ useExisting: forwardRef(() => GanttColumnGroupComponent)
45
+ }
46
+ ], queries: [{ propertyName: "children", predicate: GanttColumnBase }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnGroupComponent, decorators: [{
48
+ type: Component,
49
+ args: [{
50
+ selector: 'kendo-gantt-column-group',
51
+ template: '',
52
+ providers: [
53
+ {
54
+ provide: GanttColumnBase,
55
+ useExisting: forwardRef(() => GanttColumnGroupComponent)
56
+ }
57
+ ]
58
+ }]
59
+ }], ctorParameters: function () { return [{ type: i1.OptionChangesService }, { type: i2.GanttColumnBase, decorators: [{
60
+ type: SkipSelf
61
+ }, {
62
+ type: Host
63
+ }, {
64
+ type: Optional
65
+ }] }]; }, propDecorators: { children: [{
66
+ type: ContentChildren,
67
+ args: [GanttColumnBase]
68
+ }], headerTemplates: [{
69
+ type: ContentChildren,
70
+ args: [HeaderTemplateDirective]
71
+ }], locked: [{
72
+ type: Input
73
+ }], lockable: [{
74
+ type: Input
75
+ }], hidden: [{
76
+ type: Input
77
+ }], sortable: [{
78
+ type: Input
79
+ }], media: [{
80
+ type: Input
81
+ }], style: [{
82
+ type: Input
83
+ }], headerStyle: [{
84
+ type: Input
85
+ }], footerStyle: [{
86
+ type: Input
87
+ }], cssClass: [{
88
+ type: Input,
89
+ args: ['class']
90
+ }], headerClass: [{
91
+ type: Input
92
+ }], footerClass: [{
93
+ type: Input
94
+ }] } });
@@ -0,0 +1,31 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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, Optional } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the template for the column menu in the Gantt. Provides an option for
9
+ * customizing the content of the column menu for all or for specific columns.
10
+ * To define the content template, nest an `<ng-template>` tag with the
11
+ * `kendoGanttColumnMenuTemplate` directive inside the `<kendo-gantt-column>` component.
12
+ *
13
+ * The column menu service and the current column are available as context variables:
14
+ * - `service`&mdash;Represents the ColumnMenuService.
15
+ * - `column`&mdash;Represents the Gantt column.
16
+ */
17
+ export class ColumnMenuTemplateDirective {
18
+ constructor(templateRef) {
19
+ this.templateRef = templateRef;
20
+ }
21
+ }
22
+ ColumnMenuTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
+ ColumnMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ColumnMenuTemplateDirective, selector: "[kendoGanttColumnMenuTemplate]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColumnMenuTemplateDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: '[kendoGanttColumnMenuTemplate]'
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
30
+ type: Optional
31
+ }] }]; } });
@@ -0,0 +1,133 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, ContentChild, ContentChildren, forwardRef, Host, Input, Optional, QueryList, SkipSelf } from '@angular/core';
6
+ import { ColumnComponent } from '@progress/kendo-angular-treelist';
7
+ import { GanttColumnBase } from './column-base';
8
+ import { CellTemplateDirective } from './cell-template.directive';
9
+ import { ColumnMenuTemplateDirective } from './column-menu-template.directive';
10
+ import { FilterCellTemplateDirective } from './filter-cell-template.directive';
11
+ import { FilterMenuTemplateDirective } from './filter-menu-template.directive';
12
+ import { FooterTemplateDirective } from './footer-template.directive';
13
+ import { HeaderTemplateDirective } from './header-template.directive';
14
+ import { EditTemplateDirective } from './edit-template.directive';
15
+ import * as i0 from "@angular/core";
16
+ import * as i1 from "../common/option-changes.service";
17
+ import * as i2 from "./column-base";
18
+ export class GanttColumnComponent extends ColumnComponent {
19
+ constructor(options, parent) {
20
+ super(parent);
21
+ this.options = options;
22
+ this.headerTemplates = new QueryList();
23
+ this.columnMenuTemplates = new QueryList();
24
+ /**
25
+ * Defines the filter type that is displayed inside the filter row. The default value is `text`.
26
+ */
27
+ this.filter = 'text';
28
+ /**
29
+ * Defines if a filter UI will be displayed for this column. The default value is `true`.
30
+ */
31
+ this.filterable = true;
32
+ /**
33
+ * @hidden
34
+ *
35
+ * Defines the editor type.
36
+ * Used when the column enters the edit mode. The default value is `text`.
37
+ */
38
+ this.editor = 'text';
39
+ /**
40
+ * @hidden
41
+ *
42
+ * Defines whether the column is editable. The default value is `true`.
43
+ */
44
+ this.editable = true;
45
+ /**
46
+ * Toggles the locked (frozen) state of the columns.
47
+ * @hidden
48
+ * @default false
49
+ */
50
+ this.locked = false;
51
+ }
52
+ ngOnChanges() {
53
+ this.options.notifyColumnChanges();
54
+ }
55
+ }
56
+ GanttColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.GanttColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
57
+ GanttColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnComponent, selector: "kendo-gantt-column", inputs: { format: "format", filter: "filter", filterable: "filterable", editor: "editor", editable: "editable", locked: "locked", lockable: "lockable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, providers: [
58
+ {
59
+ provide: GanttColumnBase,
60
+ useExisting: forwardRef(() => GanttColumnComponent)
61
+ }
62
+ ], queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }, { propertyName: "filterCellTemplate", first: true, predicate: FilterCellTemplateDirective, descendants: true }, { propertyName: "filterMenuTemplate", first: true, predicate: FilterMenuTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnComponent, decorators: [{
64
+ type: Component,
65
+ args: [{
66
+ selector: 'kendo-gantt-column',
67
+ template: '',
68
+ providers: [
69
+ {
70
+ provide: GanttColumnBase,
71
+ useExisting: forwardRef(() => GanttColumnComponent)
72
+ }
73
+ ]
74
+ }]
75
+ }], ctorParameters: function () { return [{ type: i1.OptionChangesService }, { type: i2.GanttColumnBase, decorators: [{
76
+ type: SkipSelf
77
+ }, {
78
+ type: Host
79
+ }, {
80
+ type: Optional
81
+ }] }]; }, propDecorators: { headerTemplates: [{
82
+ type: ContentChildren,
83
+ args: [HeaderTemplateDirective, { descendants: false }]
84
+ }], footerTemplate: [{
85
+ type: ContentChild,
86
+ args: [FooterTemplateDirective, { static: false }]
87
+ }], columnMenuTemplates: [{
88
+ type: ContentChildren,
89
+ args: [ColumnMenuTemplateDirective]
90
+ }], template: [{
91
+ type: ContentChild,
92
+ args: [CellTemplateDirective, { static: false }]
93
+ }], editTemplate: [{
94
+ type: ContentChild,
95
+ args: [EditTemplateDirective, { static: false }]
96
+ }], filterCellTemplate: [{
97
+ type: ContentChild,
98
+ args: [FilterCellTemplateDirective, { static: false }]
99
+ }], filterMenuTemplate: [{
100
+ type: ContentChild,
101
+ args: [FilterMenuTemplateDirective, { static: false }]
102
+ }], format: [{
103
+ type: Input
104
+ }], filter: [{
105
+ type: Input
106
+ }], filterable: [{
107
+ type: Input
108
+ }], editor: [{
109
+ type: Input
110
+ }], editable: [{
111
+ type: Input
112
+ }], locked: [{
113
+ type: Input
114
+ }], lockable: [{
115
+ type: Input
116
+ }], hidden: [{
117
+ type: Input
118
+ }], media: [{
119
+ type: Input
120
+ }], style: [{
121
+ type: Input
122
+ }], headerStyle: [{
123
+ type: Input
124
+ }], footerStyle: [{
125
+ type: Input
126
+ }], cssClass: [{
127
+ type: Input,
128
+ args: ['class']
129
+ }], headerClass: [{
130
+ type: Input
131
+ }], footerClass: [{
132
+ type: Input
133
+ }] } });
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export { GanttColumnBase } from './column-base';
6
+ export { GanttColumnComponent } from './column.component';
7
+ export { GanttColumnGroupComponent } from './column-group.component';
8
+ export { GanttSpanColumnComponent } from './span-column.component';
9
+ export { CellTemplateDirective } from './cell-template.directive';
10
+ export { HeaderTemplateDirective } from './header-template.directive';
11
+ export { FooterTemplateDirective } from './footer-template.directive';
12
+ export { ColumnMenuTemplateDirective } from './column-menu-template.directive';
13
+ export { FilterCellTemplateDirective } from './filter-cell-template.directive';
14
+ export { FilterMenuTemplateDirective } from './filter-menu-template.directive';
15
+ export { EditTemplateDirective } from './edit-template.directive';
@@ -0,0 +1,35 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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, Optional } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the column edit-cell template of the Gantt.
9
+ * Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
10
+ * tag with the `kendoGanttEditTemplate` directive inside a `<kendo-gantt-column>` tag.
11
+ *
12
+ * The template context contains the following fields:
13
+ * - `column`&mdash;The current column instance.
14
+ * - `dataItem`&mdash;The current data item.
15
+ * - `cellContext`&mdash;An object used to pass context information to built-in directives.
16
+ * - `formGroup`&mdash;The current [`FormGroup`]({{ site.data.urls.angular['formgroupapi'] }}).
17
+ * If you use the Gantt inside [Template-Driven Forms]({{ site.data.urls.angular['forms'] }}), it will be `undefined`.
18
+ * - `isNew`&mdash;The state of the current item.
19
+ * - `rowIndex`&mdash;The current row index. If inside a new item row, `rowIndex` is `-1`.
20
+ */
21
+ export class EditTemplateDirective {
22
+ constructor(templateRef) {
23
+ this.templateRef = templateRef;
24
+ }
25
+ }
26
+ EditTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
27
+ EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: EditTemplateDirective, selector: "[kendoGanttEditTemplate]", ngImport: i0 });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditTemplateDirective, decorators: [{
29
+ type: Directive,
30
+ args: [{
31
+ selector: '[kendoGanttEditTemplate]'
32
+ }]
33
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
34
+ type: Optional
35
+ }] }]; } });
@@ -0,0 +1,30 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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, Optional } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * @hidden
9
+ * Represents the filter-cell template.
10
+ *
11
+ * The template context is set to the filter descriptor and the following additional fields are passed:
12
+ * - `column`&mdash;The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
13
+ * - `filter`&mdash;The filter descriptor.
14
+ * - `cellContext`&mdash;An object used to pass context information to built-in directives.
15
+ */
16
+ export class FilterCellTemplateDirective {
17
+ constructor(templateRef) {
18
+ this.templateRef = templateRef;
19
+ }
20
+ }
21
+ FilterCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterCellTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
22
+ FilterCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterCellTemplateDirective, selector: "[kendoGanttFilterCellTemplate]", ngImport: i0 });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterCellTemplateDirective, decorators: [{
24
+ type: Directive,
25
+ args: [{
26
+ selector: '[kendoGanttFilterCellTemplate]'
27
+ }]
28
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
29
+ type: Optional
30
+ }] }]; } });
@@ -0,0 +1,29 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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, Optional } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the filter-menu template.
9
+ *
10
+ * The column, current filter and the filter service are available as context variables:
11
+ * - `column`&mdash;The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
12
+ * - `filter`&mdash;The filter descriptor.
13
+ * - `cellContext`&mdash;An object used to pass context information to built-in directives.
14
+ */
15
+ export class FilterMenuTemplateDirective {
16
+ constructor(templateRef) {
17
+ this.templateRef = templateRef;
18
+ }
19
+ }
20
+ FilterMenuTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
21
+ FilterMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterMenuTemplateDirective, selector: "[kendoGanttFilterMenuTemplate]", ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterMenuTemplateDirective, decorators: [{
23
+ type: Directive,
24
+ args: [{
25
+ selector: '[kendoGanttFilterMenuTemplate]'
26
+ }]
27
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
28
+ type: Optional
29
+ }] }]; } });
@@ -0,0 +1,33 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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, Optional } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the column footer cell template of the Gantt.
9
+ *
10
+ * Helps to customize the table footer cell for the column.
11
+ * To define a footer template, nest an `<ng-template>` tag with the
12
+ * [`kendoGanttFooterTemplate`]({% slug api_gantt_footertemplatedirective %}) directive inside the `<kendo-gantt-column>` tag.
13
+ *
14
+ * The current column, column index and field are available as context variables:
15
+ * * `column`&mdash;Points to the instance of the current [`ColumnComponent`]({% slug api_gantt_ganttcolumncomponent %}).
16
+ * * `columnIndex`&mdash;Defines the current column index.
17
+ * * `field`&mdash;The name of the column field, if set.
18
+ */
19
+ export class FooterTemplateDirective {
20
+ constructor(templateRef) {
21
+ this.templateRef = templateRef;
22
+ }
23
+ }
24
+ FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
25
+ FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FooterTemplateDirective, selector: "[kendoGanttFooterTemplate]", ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FooterTemplateDirective, decorators: [{
27
+ type: Directive,
28
+ args: [{
29
+ selector: '[kendoGanttFooterTemplate]'
30
+ }]
31
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
32
+ type: Optional
33
+ }] }]; } });
@@ -0,0 +1,31 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 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, Optional } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the column header cell template of the Gantt.
9
+ * Helps to customize the table header cell for the column.
10
+ * To define a header template, nest an `<ng-template>` tag with the
11
+ * [`kendoGanttHeaderTemplate`]({% slug api_gantt_headertemplatedirective %}) directive inside the `<kendo-gantt-column>` tag.
12
+ *
13
+ * The current column and column index are available as context variables:
14
+ * * `column`&mdash;Points to the instance of the current [`ColumnComponent`]({% slug api_gantt_ganttcolumncomponent %}).
15
+ * * `columnIndex`&mdash;Defines the current column index.
16
+ */
17
+ export class HeaderTemplateDirective {
18
+ constructor(templateRef) {
19
+ this.templateRef = templateRef;
20
+ }
21
+ }
22
+ HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
+ HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HeaderTemplateDirective, selector: "[kendoGanttHeaderTemplate]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: '[kendoGanttHeaderTemplate]'
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
30
+ type: Optional
31
+ }] }]; } });
@@ -0,0 +1,86 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, ContentChildren, forwardRef, Host, Input, Optional, QueryList, SkipSelf } from '@angular/core';
6
+ import { SpanColumnComponent } from '@progress/kendo-angular-treelist';
7
+ import { CellTemplateDirective } from './cell-template.directive';
8
+ import { GanttColumnBase } from './column-base';
9
+ import { GanttColumnComponent } from './column.component';
10
+ import { EditTemplateDirective } from './edit-template.directive';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "../common/option-changes.service";
13
+ import * as i2 from "./column-base";
14
+ export class GanttSpanColumnComponent extends SpanColumnComponent {
15
+ constructor(options, parent) {
16
+ super(parent);
17
+ this.options = options;
18
+ /**
19
+ * @hidden
20
+ */
21
+ this.childColumns = new QueryList();
22
+ this.template = new QueryList();
23
+ this.editTemplate = new QueryList();
24
+ }
25
+ ngOnChanges() {
26
+ this.options.notifyColumnChanges();
27
+ }
28
+ }
29
+ GanttSpanColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttSpanColumnComponent, deps: [{ token: i1.OptionChangesService }, { token: i2.GanttColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
30
+ GanttSpanColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: GanttSpanColumnComponent, selector: "kendo-gantt-span-column", inputs: { locked: "locked", lockable: "lockable", editable: "editable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, providers: [
31
+ {
32
+ provide: GanttColumnBase,
33
+ useExisting: forwardRef(() => GanttSpanColumnComponent)
34
+ }
35
+ ], queries: [{ propertyName: "childColumns", predicate: GanttColumnComponent }, { propertyName: "template", predicate: CellTemplateDirective }, { propertyName: "editTemplate", predicate: EditTemplateDirective }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttSpanColumnComponent, decorators: [{
37
+ type: Component,
38
+ args: [{
39
+ selector: 'kendo-gantt-span-column',
40
+ template: '',
41
+ providers: [
42
+ {
43
+ provide: GanttColumnBase,
44
+ useExisting: forwardRef(() => GanttSpanColumnComponent)
45
+ }
46
+ ]
47
+ }]
48
+ }], ctorParameters: function () { return [{ type: i1.OptionChangesService }, { type: i2.GanttColumnBase, decorators: [{
49
+ type: SkipSelf
50
+ }, {
51
+ type: Host
52
+ }, {
53
+ type: Optional
54
+ }] }]; }, propDecorators: { childColumns: [{
55
+ type: ContentChildren,
56
+ args: [GanttColumnComponent]
57
+ }], template: [{
58
+ type: ContentChildren,
59
+ args: [CellTemplateDirective, { descendants: false }]
60
+ }], editTemplate: [{
61
+ type: ContentChildren,
62
+ args: [EditTemplateDirective, { descendants: false }]
63
+ }], locked: [{
64
+ type: Input
65
+ }], lockable: [{
66
+ type: Input
67
+ }], editable: [{
68
+ type: Input
69
+ }], hidden: [{
70
+ type: Input
71
+ }], media: [{
72
+ type: Input
73
+ }], style: [{
74
+ type: Input
75
+ }], headerStyle: [{
76
+ type: Input
77
+ }], footerStyle: [{
78
+ type: Input
79
+ }], cssClass: [{
80
+ type: Input,
81
+ args: ['class']
82
+ }], headerClass: [{
83
+ type: Input
84
+ }], footerClass: [{
85
+ type: Input
86
+ }] } });
@@ -0,0 +1,25 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { of } from 'rxjs';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export const hasChildren = () => false;
10
+ /**
11
+ * @hidden
12
+ */
13
+ export const fetchChildren = () => of([]);
14
+ /**
15
+ * @hidden
16
+ */
17
+ export const rowClassCallback = () => null;
18
+ /**
19
+ * @hidden
20
+ */
21
+ export const taskClassCallback = () => null;
22
+ /**
23
+ * @hidden
24
+ */
25
+ export const isSelected = () => false;