@syncfusion/ej2-angular-gantt 34.2.4 → 34.2.5-ngcc

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 (172) hide show
  1. package/@syncfusion/ej2-angular-gantt.es5.js +958 -0
  2. package/@syncfusion/ej2-angular-gantt.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-gantt.js +906 -0
  4. package/@syncfusion/ej2-angular-gantt.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/README.md +25 -26
  7. package/dist/ej2-angular-gantt.umd.js +1078 -0
  8. package/dist/ej2-angular-gantt.umd.js.map +1 -0
  9. package/dist/ej2-angular-gantt.umd.min.js +2 -0
  10. package/dist/ej2-angular-gantt.umd.min.js.map +1 -0
  11. package/ej2-angular-gantt.d.ts +5 -0
  12. package/ej2-angular-gantt.metadata.json +1 -0
  13. package/package.json +9 -22
  14. package/public_api.d.ts +1 -1
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/gantt/adddialogfields.directive.d.ts +53 -58
  18. package/src/gantt/columns.directive.d.ts +236 -242
  19. package/src/gantt/dayworkingtime.directive.d.ts +36 -41
  20. package/src/gantt/editdialogfields.directive.d.ts +53 -58
  21. package/src/gantt/eventmarkers.directive.d.ts +49 -54
  22. package/src/gantt/gantt-all.module.d.ts +23 -29
  23. package/src/gantt/gantt.component.d.ts +164 -169
  24. package/src/gantt/gantt.module.d.ts +5 -18
  25. package/src/gantt/holidays.directive.d.ts +59 -64
  26. package/src/gantt/weekworkingtime.directive.d.ts +38 -43
  27. package/src/index.d.ts +11 -11
  28. package/CHANGELOG.md +0 -2812
  29. package/esm2020/public_api.mjs +0 -2
  30. package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
  31. package/esm2020/src/gantt/columns.directive.mjs +0 -102
  32. package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
  33. package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
  34. package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
  35. package/esm2020/src/gantt/gantt-all.module.mjs +0 -77
  36. package/esm2020/src/gantt/gantt.component.mjs +0 -328
  37. package/esm2020/src/gantt/gantt.module.mjs +0 -88
  38. package/esm2020/src/gantt/holidays.directive.mjs +0 -58
  39. package/esm2020/src/gantt/weekworkingtime.directive.mjs +0 -58
  40. package/esm2020/src/index.mjs +0 -12
  41. package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
  42. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -903
  43. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  44. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -903
  45. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  46. package/styles/bds-lite.css +0 -1
  47. package/styles/bds-lite.scss +0 -1
  48. package/styles/bds.css +0 -1
  49. package/styles/bds.scss +0 -1
  50. package/styles/bootstrap-dark-lite.css +0 -1
  51. package/styles/bootstrap-dark-lite.scss +0 -1
  52. package/styles/bootstrap-dark.css +0 -1
  53. package/styles/bootstrap-dark.scss +0 -1
  54. package/styles/bootstrap-lite.css +0 -1
  55. package/styles/bootstrap-lite.scss +0 -1
  56. package/styles/bootstrap.css +0 -1
  57. package/styles/bootstrap.scss +0 -1
  58. package/styles/bootstrap4-lite.css +0 -1
  59. package/styles/bootstrap4-lite.scss +0 -1
  60. package/styles/bootstrap4.css +0 -1
  61. package/styles/bootstrap4.scss +0 -1
  62. package/styles/bootstrap5-dark-lite.css +0 -1
  63. package/styles/bootstrap5-dark-lite.scss +0 -1
  64. package/styles/bootstrap5-dark.css +0 -1
  65. package/styles/bootstrap5-dark.scss +0 -1
  66. package/styles/bootstrap5-lite.css +0 -1
  67. package/styles/bootstrap5-lite.scss +0 -1
  68. package/styles/bootstrap5.3-lite.css +0 -1
  69. package/styles/bootstrap5.3-lite.scss +0 -1
  70. package/styles/bootstrap5.3.css +0 -1
  71. package/styles/bootstrap5.3.scss +0 -1
  72. package/styles/bootstrap5.css +0 -1
  73. package/styles/bootstrap5.scss +0 -1
  74. package/styles/fabric-dark-lite.css +0 -1
  75. package/styles/fabric-dark-lite.scss +0 -1
  76. package/styles/fabric-dark.css +0 -1
  77. package/styles/fabric-dark.scss +0 -1
  78. package/styles/fabric-lite.css +0 -1
  79. package/styles/fabric-lite.scss +0 -1
  80. package/styles/fabric.css +0 -1
  81. package/styles/fabric.scss +0 -1
  82. package/styles/fluent-dark-lite.css +0 -1
  83. package/styles/fluent-dark-lite.scss +0 -1
  84. package/styles/fluent-dark.css +0 -1
  85. package/styles/fluent-dark.scss +0 -1
  86. package/styles/fluent-lite.css +0 -1
  87. package/styles/fluent-lite.scss +0 -1
  88. package/styles/fluent.css +0 -1
  89. package/styles/fluent.scss +0 -1
  90. package/styles/fluent2-lite.css +0 -1
  91. package/styles/fluent2-lite.scss +0 -1
  92. package/styles/fluent2.css +0 -1
  93. package/styles/fluent2.scss +0 -1
  94. package/styles/gantt/bds.css +0 -1
  95. package/styles/gantt/bds.scss +0 -1
  96. package/styles/gantt/bootstrap-dark.css +0 -1
  97. package/styles/gantt/bootstrap-dark.scss +0 -1
  98. package/styles/gantt/bootstrap.css +0 -1
  99. package/styles/gantt/bootstrap.scss +0 -1
  100. package/styles/gantt/bootstrap4.css +0 -1
  101. package/styles/gantt/bootstrap4.scss +0 -1
  102. package/styles/gantt/bootstrap5-dark.css +0 -1
  103. package/styles/gantt/bootstrap5-dark.scss +0 -1
  104. package/styles/gantt/bootstrap5.3.css +0 -1
  105. package/styles/gantt/bootstrap5.3.scss +0 -1
  106. package/styles/gantt/bootstrap5.css +0 -1
  107. package/styles/gantt/bootstrap5.scss +0 -1
  108. package/styles/gantt/fabric-dark.css +0 -1
  109. package/styles/gantt/fabric-dark.scss +0 -1
  110. package/styles/gantt/fabric.css +0 -1
  111. package/styles/gantt/fabric.scss +0 -1
  112. package/styles/gantt/fluent-dark.css +0 -1
  113. package/styles/gantt/fluent-dark.scss +0 -1
  114. package/styles/gantt/fluent.css +0 -1
  115. package/styles/gantt/fluent.scss +0 -1
  116. package/styles/gantt/fluent2.css +0 -1
  117. package/styles/gantt/fluent2.scss +0 -1
  118. package/styles/gantt/highcontrast-light.css +0 -1
  119. package/styles/gantt/highcontrast-light.scss +0 -1
  120. package/styles/gantt/highcontrast.css +0 -1
  121. package/styles/gantt/highcontrast.scss +0 -1
  122. package/styles/gantt/material-dark.css +0 -1
  123. package/styles/gantt/material-dark.scss +0 -1
  124. package/styles/gantt/material.css +0 -1
  125. package/styles/gantt/material.scss +0 -1
  126. package/styles/gantt/material3-dark.css +0 -1
  127. package/styles/gantt/material3-dark.scss +0 -1
  128. package/styles/gantt/material3.css +0 -1
  129. package/styles/gantt/material3.scss +0 -1
  130. package/styles/gantt/tailwind-dark.css +0 -1
  131. package/styles/gantt/tailwind-dark.scss +0 -1
  132. package/styles/gantt/tailwind.css +0 -1
  133. package/styles/gantt/tailwind.scss +0 -1
  134. package/styles/gantt/tailwind3.css +0 -1
  135. package/styles/gantt/tailwind3.scss +0 -1
  136. package/styles/highcontrast-light-lite.css +0 -1
  137. package/styles/highcontrast-light-lite.scss +0 -1
  138. package/styles/highcontrast-light.css +0 -1
  139. package/styles/highcontrast-light.scss +0 -1
  140. package/styles/highcontrast-lite.css +0 -1
  141. package/styles/highcontrast-lite.scss +0 -1
  142. package/styles/highcontrast.css +0 -1
  143. package/styles/highcontrast.scss +0 -1
  144. package/styles/material-dark-lite.css +0 -1
  145. package/styles/material-dark-lite.scss +0 -1
  146. package/styles/material-dark.css +0 -1
  147. package/styles/material-dark.scss +0 -1
  148. package/styles/material-lite.css +0 -1
  149. package/styles/material-lite.scss +0 -1
  150. package/styles/material.css +0 -1
  151. package/styles/material.scss +0 -1
  152. package/styles/material3-dark-lite.css +0 -1
  153. package/styles/material3-dark-lite.scss +0 -1
  154. package/styles/material3-dark.css +0 -1
  155. package/styles/material3-dark.scss +0 -1
  156. package/styles/material3-lite.css +0 -1
  157. package/styles/material3-lite.scss +0 -1
  158. package/styles/material3.css +0 -1
  159. package/styles/material3.scss +0 -1
  160. package/styles/tailwind-dark-lite.css +0 -1
  161. package/styles/tailwind-dark-lite.scss +0 -1
  162. package/styles/tailwind-dark.css +0 -1
  163. package/styles/tailwind-dark.scss +0 -1
  164. package/styles/tailwind-lite.css +0 -1
  165. package/styles/tailwind-lite.scss +0 -1
  166. package/styles/tailwind.css +0 -1
  167. package/styles/tailwind.scss +0 -1
  168. package/styles/tailwind3-lite.css +0 -1
  169. package/styles/tailwind3-lite.scss +0 -1
  170. package/styles/tailwind3.css +0 -1
  171. package/styles/tailwind3.scss +0 -1
  172. package/syncfusion-ej2-angular-gantt.d.ts +0 -5
@@ -1,903 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { Directive, ContentChild, ContentChildren, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
4
- import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
5
- import { Gantt, Filter, Selection, Sort, Reorder, Resize, Edit, DayMarkers, Toolbar, ContextMenu, ExcelExport, RowDD, ColumnMenu, PdfExport, VirtualScroll, CriticalPath, UndoRedo, Freeze } from '@syncfusion/ej2-gantt';
6
- export * from '@syncfusion/ej2-gantt';
7
- import { CommonModule } from '@angular/common';
8
-
9
- let input$6 = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'customAttributes', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editType', 'field', 'filter', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showColumnMenu', 'sortComparer', 'template', 'textAlign', 'type', 'validationRules', 'valueAccessor', 'visible', 'width'];
10
- let outputs$7 = [];
11
- /**
12
- * `e-column` directive represent a column of the Angular Gantt.
13
- * It must be contained in a Gantt component(`ejs-gantt`).
14
- * ```html
15
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
16
- * <e-columns>
17
- * <e-column field='ID' width='150'></e-column>
18
- * <e-column field='taskName' headerText='Task Name' width='200'></e-column>
19
- * </e-columns>
20
- * </ejs-gantt>
21
- * ```
22
- */
23
- class ColumnDirective extends ComplexBase {
24
- constructor(viewContainerRef) {
25
- super();
26
- this.viewContainerRef = viewContainerRef;
27
- setValue('currentInstance', this, this.viewContainerRef);
28
- this.registerEvents(outputs$7);
29
- this.directivePropList = input$6;
30
- }
31
- }
32
- ColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
33
- ColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnDirective, selector: "ejs-gantt>e-columns>e-column", inputs: { allowEditing: "allowEditing", allowFiltering: "allowFiltering", allowReordering: "allowReordering", allowResizing: "allowResizing", allowSorting: "allowSorting", clipMode: "clipMode", customAttributes: "customAttributes", disableHtmlEncode: "disableHtmlEncode", displayAsCheckBox: "displayAsCheckBox", edit: "edit", editType: "editType", field: "field", filter: "filter", filterTemplate: "filterTemplate", format: "format", formatter: "formatter", freeze: "freeze", headerTemplate: "headerTemplate", headerText: "headerText", headerTextAlign: "headerTextAlign", hideAtMedia: "hideAtMedia", isFrozen: "isFrozen", isPrimaryKey: "isPrimaryKey", lockColumn: "lockColumn", maxWidth: "maxWidth", minWidth: "minWidth", showColumnMenu: "showColumnMenu", sortComparer: "sortComparer", template: "template", textAlign: "textAlign", type: "type", validationRules: "validationRules", valueAccessor: "valueAccessor", visible: "visible", width: "width" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }, { propertyName: "editTemplate", first: true, predicate: ["editTemplate"], descendants: true }, { propertyName: "filter_itemTemplate", first: true, predicate: ["filterItemTemplate"], descendants: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true }, { propertyName: "emptyRecordTemplate", first: true, predicate: ["emptyRecordTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
34
- __decorate([
35
- Template()
36
- ], ColumnDirective.prototype, "template", void 0);
37
- __decorate([
38
- Template()
39
- ], ColumnDirective.prototype, "toolbarTemplate", void 0);
40
- __decorate([
41
- Template()
42
- ], ColumnDirective.prototype, "headerTemplate", void 0);
43
- __decorate([
44
- Template()
45
- ], ColumnDirective.prototype, "editTemplate", void 0);
46
- __decorate([
47
- Template()
48
- ], ColumnDirective.prototype, "filter_itemTemplate", void 0);
49
- __decorate([
50
- Template()
51
- ], ColumnDirective.prototype, "filterTemplate", void 0);
52
- __decorate([
53
- Template()
54
- ], ColumnDirective.prototype, "emptyRecordTemplate", void 0);
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{
56
- type: Directive,
57
- args: [{
58
- selector: 'ejs-gantt>e-columns>e-column',
59
- inputs: input$6,
60
- outputs: outputs$7,
61
- queries: {}
62
- }]
63
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { template: [{
64
- type: ContentChild,
65
- args: ['template']
66
- }], toolbarTemplate: [{
67
- type: ContentChild,
68
- args: ['toolbarTemplate']
69
- }], headerTemplate: [{
70
- type: ContentChild,
71
- args: ['headerTemplate']
72
- }], editTemplate: [{
73
- type: ContentChild,
74
- args: ['editTemplate']
75
- }], filter_itemTemplate: [{
76
- type: ContentChild,
77
- args: ['filterItemTemplate']
78
- }], filterTemplate: [{
79
- type: ContentChild,
80
- args: ['filterTemplate']
81
- }], emptyRecordTemplate: [{
82
- type: ContentChild,
83
- args: ['emptyRecordTemplate']
84
- }] } });
85
- /**
86
- * Column Array Directive
87
- * @private
88
- */
89
- class ColumnsDirective extends ArrayBase {
90
- constructor() {
91
- super('columns');
92
- }
93
- }
94
- ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
95
- ColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: ColumnsDirective, selector: "ejs-gantt>e-columns", queries: [{ propertyName: "children", predicate: ColumnDirective }], usesInheritance: true, ngImport: i0 });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{
97
- type: Directive,
98
- args: [{
99
- selector: 'ejs-gantt>e-columns',
100
- queries: {
101
- children: new ContentChildren(ColumnDirective)
102
- },
103
- }]
104
- }], ctorParameters: function () { return []; } });
105
-
106
- let input$5 = ['additionalParams', 'fields', 'headerText', 'type'];
107
- let outputs$6 = [];
108
- /**
109
- * `e-add-dialog-field` directive represent a add dialog fields collection in Gantt task add dialog.
110
- * It must be contained in a Gantt component(`ejs-gantt`).
111
- * ```html
112
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
113
- * <e-add-dialog-fields>
114
- * <e-add-dialog-field type='General' headerText='General'></e-add-dialog-field>
115
- * <e-add-dialog-field type='Dependency' headerText='Dependency'></e-add-dialog-field>
116
- * </e-add-dialog-fields>
117
- * </ejs-gantt>
118
- * ```
119
- */
120
- class AddDialogFieldDirective extends ComplexBase {
121
- constructor(viewContainerRef) {
122
- super();
123
- this.viewContainerRef = viewContainerRef;
124
- setValue('currentInstance', this, this.viewContainerRef);
125
- this.registerEvents(outputs$6);
126
- this.directivePropList = input$5;
127
- }
128
- }
129
- AddDialogFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
130
- AddDialogFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AddDialogFieldDirective, selector: "ejs-gantt>e-add-dialog-fields>e-add-dialog-field", inputs: { additionalParams: "additionalParams", fields: "fields", headerText: "headerText", type: "type" }, usesInheritance: true, ngImport: i0 });
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldDirective, decorators: [{
132
- type: Directive,
133
- args: [{
134
- selector: 'ejs-gantt>e-add-dialog-fields>e-add-dialog-field',
135
- inputs: input$5,
136
- outputs: outputs$6,
137
- queries: {}
138
- }]
139
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
140
- /**
141
- * AddDialogField Array Directive
142
- * @private
143
- */
144
- class AddDialogFieldsDirective extends ArrayBase {
145
- constructor() {
146
- super('adddialogfields');
147
- }
148
- }
149
- AddDialogFieldsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
150
- AddDialogFieldsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AddDialogFieldsDirective, selector: "ejs-gantt>e-add-dialog-fields", queries: [{ propertyName: "children", predicate: AddDialogFieldDirective }], usesInheritance: true, ngImport: i0 });
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldsDirective, decorators: [{
152
- type: Directive,
153
- args: [{
154
- selector: 'ejs-gantt>e-add-dialog-fields',
155
- queries: {
156
- children: new ContentChildren(AddDialogFieldDirective)
157
- },
158
- }]
159
- }], ctorParameters: function () { return []; } });
160
-
161
- let input$4 = ['additionalParams', 'fields', 'headerText', 'type'];
162
- let outputs$5 = [];
163
- /**
164
- * `e-edit-dialog-field` directive represent a edit dialog fields collection in Gantt task add dialog.
165
- * It must be contained in a Gantt component(`ejs-gantt`).
166
- * ```html
167
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
168
- * <e-edit-dialog-fields>
169
- * <e-edit-dialog-field type='General' headerText='General'></e-edit-dialog-field>
170
- * <e-edit-dialog-field type='Dependency' headerText='Dependency'></e-edit-dialog-field>
171
- * </e-edit-dialog-fields>
172
- * </ejs-gantt>
173
- * ```
174
- */
175
- class EditDialogFieldDirective extends ComplexBase {
176
- constructor(viewContainerRef) {
177
- super();
178
- this.viewContainerRef = viewContainerRef;
179
- setValue('currentInstance', this, this.viewContainerRef);
180
- this.registerEvents(outputs$5);
181
- this.directivePropList = input$4;
182
- }
183
- }
184
- EditDialogFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
185
- EditDialogFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: EditDialogFieldDirective, selector: "ejs-gantt>e-edit-dialog-fields>e-edit-dialog-field", inputs: { additionalParams: "additionalParams", fields: "fields", headerText: "headerText", type: "type" }, usesInheritance: true, ngImport: i0 });
186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldDirective, decorators: [{
187
- type: Directive,
188
- args: [{
189
- selector: 'ejs-gantt>e-edit-dialog-fields>e-edit-dialog-field',
190
- inputs: input$4,
191
- outputs: outputs$5,
192
- queries: {}
193
- }]
194
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
195
- /**
196
- * EditDialogField Array Directive
197
- * @private
198
- */
199
- class EditDialogFieldsDirective extends ArrayBase {
200
- constructor() {
201
- super('editdialogfields');
202
- }
203
- }
204
- EditDialogFieldsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
205
- EditDialogFieldsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: EditDialogFieldsDirective, selector: "ejs-gantt>e-edit-dialog-fields", queries: [{ propertyName: "children", predicate: EditDialogFieldDirective }], usesInheritance: true, ngImport: i0 });
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldsDirective, decorators: [{
207
- type: Directive,
208
- args: [{
209
- selector: 'ejs-gantt>e-edit-dialog-fields',
210
- queries: {
211
- children: new ContentChildren(EditDialogFieldDirective)
212
- },
213
- }]
214
- }], ctorParameters: function () { return []; } });
215
-
216
- let input$3 = ['from', 'to'];
217
- let outputs$4 = [];
218
- /**
219
- * `e-day-working-time-collection` directive represent a working time ranges in a day.
220
- * It must be contained in a Gantt component(`ejs-gantt`).
221
- * ```html
222
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
223
- * <e-day-working-time-collection>
224
- * <e-day-working-time from='8' to='12'></e-day-working-time>
225
- * <e-day-working-time from='13' to='17'></e-day-working-time>
226
- * </e-day-working-time-collection>
227
- * </ejs-gantt>
228
- * ```
229
- */
230
- class DayWorkingTimeDirective extends ComplexBase {
231
- constructor(viewContainerRef) {
232
- super();
233
- this.viewContainerRef = viewContainerRef;
234
- setValue('currentInstance', this, this.viewContainerRef);
235
- this.registerEvents(outputs$4);
236
- this.directivePropList = input$3;
237
- }
238
- }
239
- DayWorkingTimeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
240
- DayWorkingTimeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DayWorkingTimeDirective, selector: "ejs-gantt>e-day-working-time-collection>e-day-working-time", inputs: { from: "from", to: "to" }, usesInheritance: true, ngImport: i0 });
241
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeDirective, decorators: [{
242
- type: Directive,
243
- args: [{
244
- selector: 'ejs-gantt>e-day-working-time-collection>e-day-working-time',
245
- inputs: input$3,
246
- outputs: outputs$4,
247
- queries: {}
248
- }]
249
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
250
- /**
251
- * DayWorkingTime Array Directive
252
- * @private
253
- */
254
- class DayWorkingTimeCollectionDirective extends ArrayBase {
255
- constructor() {
256
- super('dayworkingtime');
257
- }
258
- }
259
- DayWorkingTimeCollectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeCollectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
260
- DayWorkingTimeCollectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: DayWorkingTimeCollectionDirective, selector: "ejs-gantt>e-day-working-time-collection", queries: [{ propertyName: "children", predicate: DayWorkingTimeDirective }], usesInheritance: true, ngImport: i0 });
261
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeCollectionDirective, decorators: [{
262
- type: Directive,
263
- args: [{
264
- selector: 'ejs-gantt>e-day-working-time-collection',
265
- queries: {
266
- children: new ContentChildren(DayWorkingTimeDirective)
267
- },
268
- }]
269
- }], ctorParameters: function () { return []; } });
270
-
271
- let input$2 = ['dayOfWeek', 'timeRange'];
272
- let outputs$3 = [];
273
- /**
274
- * `e-week-working-times` directive represent a working time ranges in a day.
275
- * It must be contained in a Gantt component(`ejs-gantt`).
276
- * ```html
277
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
278
- * <e-week-working-times>
279
- * <e-week-working-time dayOfWeek='Monday'></e-week-working-time>
280
- * <e-week-working-time dayOfWeek='Monday'></e-week-working-time>
281
- * </e-week-working-times>
282
- * </ejs-gantt>
283
- * ```
284
- */
285
- class WeekWorkingTimeDirective extends ComplexBase {
286
- constructor(viewContainerRef) {
287
- super();
288
- this.viewContainerRef = viewContainerRef;
289
- setValue('currentInstance', this, this.viewContainerRef);
290
- this.registerEvents(outputs$3);
291
- this.directivePropList = input$2;
292
- }
293
- }
294
- WeekWorkingTimeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: WeekWorkingTimeDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
295
- WeekWorkingTimeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: WeekWorkingTimeDirective, selector: "ejs-gantt>e-week-working-times>e-week-working-time", inputs: { dayOfWeek: "dayOfWeek", timeRange: "timeRange" }, usesInheritance: true, ngImport: i0 });
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: WeekWorkingTimeDirective, decorators: [{
297
- type: Directive,
298
- args: [{
299
- selector: 'ejs-gantt>e-week-working-times>e-week-working-time',
300
- inputs: input$2,
301
- outputs: outputs$3,
302
- queries: {}
303
- }]
304
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
305
- /**
306
- * WeekWorkingTime Array Directive
307
- * @private
308
- */
309
- class WeekWorkingTimesDirective extends ArrayBase {
310
- constructor() {
311
- super('weekworkingtime');
312
- }
313
- }
314
- WeekWorkingTimesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: WeekWorkingTimesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
315
- WeekWorkingTimesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: WeekWorkingTimesDirective, selector: "ejs-gantt>e-week-working-times", queries: [{ propertyName: "children", predicate: WeekWorkingTimeDirective }], usesInheritance: true, ngImport: i0 });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: WeekWorkingTimesDirective, decorators: [{
317
- type: Directive,
318
- args: [{
319
- selector: 'ejs-gantt>e-week-working-times',
320
- queries: {
321
- children: new ContentChildren(WeekWorkingTimeDirective)
322
- },
323
- }]
324
- }], ctorParameters: function () { return []; } });
325
-
326
- let input$1 = ['cssClass', 'from', 'label', 'to'];
327
- let outputs$2 = [];
328
- /**
329
- * `e-holidays` directive represent a holidays collection in Gantt.
330
- * It must be contained in a Gantt component(`ejs-gantt`).
331
- * ```html
332
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
333
- * <e-holidays>
334
- * <e-holiday from='02/20/2018' label='Holiday 1'></e-holiday>
335
- * <e-holiday from='05/15/2018' label='Holiday 2'></e-holiday>
336
- * </e-holidays>
337
- * </ejs-gantt>
338
- * ```
339
- */
340
- class HolidayDirective extends ComplexBase {
341
- constructor(viewContainerRef) {
342
- super();
343
- this.viewContainerRef = viewContainerRef;
344
- setValue('currentInstance', this, this.viewContainerRef);
345
- this.registerEvents(outputs$2);
346
- this.directivePropList = input$1;
347
- }
348
- }
349
- HolidayDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidayDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
350
- HolidayDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: HolidayDirective, selector: "ejs-gantt>e-holidays>e-holidays", inputs: { cssClass: "cssClass", from: "from", label: "label", to: "to" }, usesInheritance: true, ngImport: i0 });
351
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidayDirective, decorators: [{
352
- type: Directive,
353
- args: [{
354
- selector: 'ejs-gantt>e-holidays>e-holidays',
355
- inputs: input$1,
356
- outputs: outputs$2,
357
- queries: {}
358
- }]
359
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
360
- /**
361
- * Holiday Array Directive
362
- * @private
363
- */
364
- class HolidaysDirective extends ArrayBase {
365
- constructor() {
366
- super('holidays');
367
- }
368
- }
369
- HolidaysDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidaysDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
370
- HolidaysDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: HolidaysDirective, selector: "ejs-gantt>e-holidays", queries: [{ propertyName: "children", predicate: HolidayDirective }], usesInheritance: true, ngImport: i0 });
371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidaysDirective, decorators: [{
372
- type: Directive,
373
- args: [{
374
- selector: 'ejs-gantt>e-holidays',
375
- queries: {
376
- children: new ContentChildren(HolidayDirective)
377
- },
378
- }]
379
- }], ctorParameters: function () { return []; } });
380
-
381
- let input = ['cssClass', 'day', 'label', 'top'];
382
- let outputs$1 = [];
383
- /**
384
- * `e-event-markers` directive represent a event marker collection in Gantt.
385
- * It must be contained in a Gantt component(`ejs-gantt`).
386
- * ```html
387
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
388
- * <e-event-markers>
389
- * <e-event-marker day='02/10/2018' label='Project Starts'></e-event-marker>
390
- * </e-event-markers>
391
- * </ejs-gantt>
392
- * ```
393
- */
394
- class EventMarkerDirective extends ComplexBase {
395
- constructor(viewContainerRef) {
396
- super();
397
- this.viewContainerRef = viewContainerRef;
398
- setValue('currentInstance', this, this.viewContainerRef);
399
- this.registerEvents(outputs$1);
400
- this.directivePropList = input;
401
- }
402
- }
403
- EventMarkerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkerDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
404
- EventMarkerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: EventMarkerDirective, selector: "ejs-gantt>e-event-markers>e-event-marker", inputs: { cssClass: "cssClass", day: "day", label: "label", top: "top" }, usesInheritance: true, ngImport: i0 });
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkerDirective, decorators: [{
406
- type: Directive,
407
- args: [{
408
- selector: 'ejs-gantt>e-event-markers>e-event-marker',
409
- inputs: input,
410
- outputs: outputs$1,
411
- queries: {}
412
- }]
413
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
414
- /**
415
- * EventMarker Array Directive
416
- * @private
417
- */
418
- class EventMarkersDirective extends ArrayBase {
419
- constructor() {
420
- super('eventmarkers');
421
- }
422
- }
423
- EventMarkersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
424
- EventMarkersDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: EventMarkersDirective, selector: "ejs-gantt>e-event-markers", queries: [{ propertyName: "children", predicate: EventMarkerDirective }], usesInheritance: true, ngImport: i0 });
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkersDirective, decorators: [{
426
- type: Directive,
427
- args: [{
428
- selector: 'ejs-gantt>e-event-markers',
429
- queries: {
430
- children: new ContentChildren(EventMarkerDirective)
431
- },
432
- }]
433
- }], ctorParameters: function () { return []; } });
434
-
435
- const inputs = ['addDialogFields', 'allowExcelExport', 'allowFiltering', 'allowKeyboard', 'allowParentDependency', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTaskbarDragAndDrop', 'allowTaskbarOverlap', 'allowUnscheduledTasks', 'autoCalculateDateScheduling', 'autoFocusTasks', 'autoUpdatePredecessorOffset', 'baselineColor', 'baselineTemplate', 'calendarSettings', 'collapseAllParentTasks', 'columnMenuItems', 'columns', 'connectorLineBackground', 'connectorLineWidth', 'contextMenuItems', 'dataSource', 'dateFormat', 'dayWorkingTime', 'disableHtmlEncode', 'durationUnit', 'editDialogFields', 'editSettings', 'emptyRecordTemplate', 'enableAdaptiveUI', 'enableAutoWbsUpdate', 'enableContextMenu', 'enableCriticalPath', 'enableHover', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableInfiniteTimelineScroll', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableTimelineVirtualization', 'enableUndoRedo', 'enableVirtualMaskRow', 'enableVirtualization', 'enableWBS', 'eventMarkers', 'filterSettings', 'frozenColumns', 'gridLines', 'height', 'highlightWeekends', 'holidays', 'includeWeekend', 'labelSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'milestoneTemplate', 'parentTaskbarTemplate', 'projectEndDate', 'projectStartDate', 'query', 'readOnly', 'renderBaseline', 'resourceFields', 'resourceIDMapping', 'resourceNameMapping', 'resources', 'rowHeight', 'searchSettings', 'segmentData', 'selectedRowIndex', 'selectionSettings', 'showColumnMenu', 'showInlineNotes', 'showOverAllocation', 'sortSettings', 'splitterSettings', 'taskFields', 'taskMode', 'taskType', 'taskbarHeight', 'taskbarTemplate', 'timelineSettings', 'timelineTemplate', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'undoRedoActions', 'undoRedoStepsCount', 'updateOffsetOnTaskbarEdit', 'validateManualTasksOnLinking', 'viewType', 'weekWorkingTime', 'width', 'workUnit', 'workWeek', 'zoomingLevels'];
436
- const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeDataBound', 'beforeExcelExport', 'beforePdfExport', 'beforeTooltipRender', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSave', 'cellSelected', 'cellSelecting', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'destroyed', 'endEdit', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'onMouseMove', 'onTaskbarClick', 'pdfColumnHeaderQueryCellInfo', 'pdfExportComplete', 'pdfQueryCellInfo', 'pdfQueryTaskbarInfo', 'pdfQueryTimelineCellInfo', 'queryCellInfo', 'queryTaskbarInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'splitterResizeStart', 'splitterResized', 'splitterResizing', 'taskbarEdited', 'taskbarEditing', 'toolbarClick', 'dataSourceChange'];
437
- const twoWays = ['dataSource'];
438
- /**
439
- * `ejs-gantt` represents the Angular Gantt Component.
440
- * ```html
441
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'></ejs-gantt>
442
- * ```
443
- */
444
- let GanttComponent = class GanttComponent extends Gantt {
445
- constructor(ngEle, srenderer, viewContainerRef, injector) {
446
- super();
447
- this.ngEle = ngEle;
448
- this.srenderer = srenderer;
449
- this.viewContainerRef = viewContainerRef;
450
- this.injector = injector;
451
- this.tags = ['columns', 'addDialogFields', 'editDialogFields', 'dayWorkingTime', 'weekWorkingTime', 'holidays', 'eventMarkers'];
452
- this.element = this.ngEle.nativeElement;
453
- this.injectedModules = this.injectedModules || [];
454
- try {
455
- let mod = this.injector.get('GanttFilter');
456
- if (this.injectedModules.indexOf(mod) === -1) {
457
- this.injectedModules.push(mod);
458
- }
459
- }
460
- catch { }
461
- try {
462
- let mod = this.injector.get('GanttSelection');
463
- if (this.injectedModules.indexOf(mod) === -1) {
464
- this.injectedModules.push(mod);
465
- }
466
- }
467
- catch { }
468
- try {
469
- let mod = this.injector.get('GanttSort');
470
- if (this.injectedModules.indexOf(mod) === -1) {
471
- this.injectedModules.push(mod);
472
- }
473
- }
474
- catch { }
475
- try {
476
- let mod = this.injector.get('GanttReorder');
477
- if (this.injectedModules.indexOf(mod) === -1) {
478
- this.injectedModules.push(mod);
479
- }
480
- }
481
- catch { }
482
- try {
483
- let mod = this.injector.get('GanttResize');
484
- if (this.injectedModules.indexOf(mod) === -1) {
485
- this.injectedModules.push(mod);
486
- }
487
- }
488
- catch { }
489
- try {
490
- let mod = this.injector.get('GanttEdit');
491
- if (this.injectedModules.indexOf(mod) === -1) {
492
- this.injectedModules.push(mod);
493
- }
494
- }
495
- catch { }
496
- try {
497
- let mod = this.injector.get('GanttDayMarkers');
498
- if (this.injectedModules.indexOf(mod) === -1) {
499
- this.injectedModules.push(mod);
500
- }
501
- }
502
- catch { }
503
- try {
504
- let mod = this.injector.get('GanttToolbar');
505
- if (this.injectedModules.indexOf(mod) === -1) {
506
- this.injectedModules.push(mod);
507
- }
508
- }
509
- catch { }
510
- try {
511
- let mod = this.injector.get('GanttContextMenu');
512
- if (this.injectedModules.indexOf(mod) === -1) {
513
- this.injectedModules.push(mod);
514
- }
515
- }
516
- catch { }
517
- try {
518
- let mod = this.injector.get('GanttExcelExport');
519
- if (this.injectedModules.indexOf(mod) === -1) {
520
- this.injectedModules.push(mod);
521
- }
522
- }
523
- catch { }
524
- try {
525
- let mod = this.injector.get('GanttRowDD');
526
- if (this.injectedModules.indexOf(mod) === -1) {
527
- this.injectedModules.push(mod);
528
- }
529
- }
530
- catch { }
531
- try {
532
- let mod = this.injector.get('GanttColumnMenu');
533
- if (this.injectedModules.indexOf(mod) === -1) {
534
- this.injectedModules.push(mod);
535
- }
536
- }
537
- catch { }
538
- try {
539
- let mod = this.injector.get('GanttPdfExport');
540
- if (this.injectedModules.indexOf(mod) === -1) {
541
- this.injectedModules.push(mod);
542
- }
543
- }
544
- catch { }
545
- try {
546
- let mod = this.injector.get('GanttVirtualScroll');
547
- if (this.injectedModules.indexOf(mod) === -1) {
548
- this.injectedModules.push(mod);
549
- }
550
- }
551
- catch { }
552
- try {
553
- let mod = this.injector.get('GanttCriticalPath');
554
- if (this.injectedModules.indexOf(mod) === -1) {
555
- this.injectedModules.push(mod);
556
- }
557
- }
558
- catch { }
559
- try {
560
- let mod = this.injector.get('GanttUndoRedo');
561
- if (this.injectedModules.indexOf(mod) === -1) {
562
- this.injectedModules.push(mod);
563
- }
564
- }
565
- catch { }
566
- try {
567
- let mod = this.injector.get('GanttFreeze');
568
- if (this.injectedModules.indexOf(mod) === -1) {
569
- this.injectedModules.push(mod);
570
- }
571
- }
572
- catch { }
573
- this.registerEvents(outputs);
574
- this.addTwoWay.call(this, twoWays);
575
- setValue('currentInstance', this, this.viewContainerRef);
576
- this.context = new ComponentBase();
577
- }
578
- ngOnInit() {
579
- this.context.ngOnInit(this);
580
- }
581
- ngAfterViewInit() {
582
- this.context.ngAfterViewInit(this);
583
- }
584
- ngOnDestroy() {
585
- this.context.ngOnDestroy(this);
586
- }
587
- ngAfterContentChecked() {
588
- this.tagObjects[0].instance = this.childColumns;
589
- if (this.childAddDialogFields) {
590
- this.tagObjects[1].instance = this.childAddDialogFields;
591
- }
592
- if (this.childEditDialogFields) {
593
- this.tagObjects[2].instance = this.childEditDialogFields;
594
- }
595
- if (this.childDayWorkingTime) {
596
- this.tagObjects[3].instance = this.childDayWorkingTime;
597
- }
598
- if (this.childWeekWorkingTime) {
599
- this.tagObjects[4].instance = this.childWeekWorkingTime;
600
- }
601
- if (this.childHolidays) {
602
- this.tagObjects[5].instance = this.childHolidays;
603
- }
604
- if (this.childEventMarkers) {
605
- this.tagObjects[6].instance = this.childEventMarkers;
606
- }
607
- this.context.ngAfterContentChecked(this);
608
- }
609
- };
610
- GanttComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
611
- GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: GanttComponent, selector: "ejs-gantt", inputs: { addDialogFields: "addDialogFields", allowExcelExport: "allowExcelExport", allowFiltering: "allowFiltering", allowKeyboard: "allowKeyboard", allowParentDependency: "allowParentDependency", allowPdfExport: "allowPdfExport", allowReordering: "allowReordering", allowResizing: "allowResizing", allowRowDragAndDrop: "allowRowDragAndDrop", allowSelection: "allowSelection", allowSorting: "allowSorting", allowTaskbarDragAndDrop: "allowTaskbarDragAndDrop", allowTaskbarOverlap: "allowTaskbarOverlap", allowUnscheduledTasks: "allowUnscheduledTasks", autoCalculateDateScheduling: "autoCalculateDateScheduling", autoFocusTasks: "autoFocusTasks", autoUpdatePredecessorOffset: "autoUpdatePredecessorOffset", baselineColor: "baselineColor", baselineTemplate: "baselineTemplate", calendarSettings: "calendarSettings", collapseAllParentTasks: "collapseAllParentTasks", columnMenuItems: "columnMenuItems", columns: "columns", connectorLineBackground: "connectorLineBackground", connectorLineWidth: "connectorLineWidth", contextMenuItems: "contextMenuItems", dataSource: "dataSource", dateFormat: "dateFormat", dayWorkingTime: "dayWorkingTime", disableHtmlEncode: "disableHtmlEncode", durationUnit: "durationUnit", editDialogFields: "editDialogFields", editSettings: "editSettings", emptyRecordTemplate: "emptyRecordTemplate", enableAdaptiveUI: "enableAdaptiveUI", enableAutoWbsUpdate: "enableAutoWbsUpdate", enableContextMenu: "enableContextMenu", enableCriticalPath: "enableCriticalPath", enableHover: "enableHover", enableHtmlSanitizer: "enableHtmlSanitizer", enableImmutableMode: "enableImmutableMode", enableInfiniteTimelineScroll: "enableInfiniteTimelineScroll", enableMultiTaskbar: "enableMultiTaskbar", enablePersistence: "enablePersistence", enablePredecessorValidation: "enablePredecessorValidation", enableRtl: "enableRtl", enableTimelineVirtualization: "enableTimelineVirtualization", enableUndoRedo: "enableUndoRedo", enableVirtualMaskRow: "enableVirtualMaskRow", enableVirtualization: "enableVirtualization", enableWBS: "enableWBS", eventMarkers: "eventMarkers", filterSettings: "filterSettings", frozenColumns: "frozenColumns", gridLines: "gridLines", height: "height", highlightWeekends: "highlightWeekends", holidays: "holidays", includeWeekend: "includeWeekend", labelSettings: "labelSettings", loadChildOnDemand: "loadChildOnDemand", loadingIndicator: "loadingIndicator", locale: "locale", milestoneTemplate: "milestoneTemplate", parentTaskbarTemplate: "parentTaskbarTemplate", projectEndDate: "projectEndDate", projectStartDate: "projectStartDate", query: "query", readOnly: "readOnly", renderBaseline: "renderBaseline", resourceFields: "resourceFields", resourceIDMapping: "resourceIDMapping", resourceNameMapping: "resourceNameMapping", resources: "resources", rowHeight: "rowHeight", searchSettings: "searchSettings", segmentData: "segmentData", selectedRowIndex: "selectedRowIndex", selectionSettings: "selectionSettings", showColumnMenu: "showColumnMenu", showInlineNotes: "showInlineNotes", showOverAllocation: "showOverAllocation", sortSettings: "sortSettings", splitterSettings: "splitterSettings", taskFields: "taskFields", taskMode: "taskMode", taskType: "taskType", taskbarHeight: "taskbarHeight", taskbarTemplate: "taskbarTemplate", timelineSettings: "timelineSettings", timelineTemplate: "timelineTemplate", timezone: "timezone", toolbar: "toolbar", tooltipSettings: "tooltipSettings", treeColumnIndex: "treeColumnIndex", undoRedoActions: "undoRedoActions", undoRedoStepsCount: "undoRedoStepsCount", updateOffsetOnTaskbarEdit: "updateOffsetOnTaskbarEdit", validateManualTasksOnLinking: "validateManualTasksOnLinking", viewType: "viewType", weekWorkingTime: "weekWorkingTime", width: "width", workUnit: "workUnit", workWeek: "workWeek", zoomingLevels: "zoomingLevels" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeDataBound: "beforeDataBound", beforeExcelExport: "beforeExcelExport", beforePdfExport: "beforePdfExport", beforeTooltipRender: "beforeTooltipRender", cellDeselected: "cellDeselected", cellDeselecting: "cellDeselecting", cellEdit: "cellEdit", cellSave: "cellSave", cellSelected: "cellSelected", cellSelecting: "cellSelecting", collapsed: "collapsed", collapsing: "collapsing", columnDrag: "columnDrag", columnDragStart: "columnDragStart", columnDrop: "columnDrop", columnMenuClick: "columnMenuClick", columnMenuOpen: "columnMenuOpen", contextMenuClick: "contextMenuClick", contextMenuOpen: "contextMenuOpen", created: "created", dataBound: "dataBound", dataSourceChanged: "dataSourceChanged", dataStateChange: "dataStateChange", destroyed: "destroyed", endEdit: "endEdit", excelExportComplete: "excelExportComplete", excelHeaderQueryCellInfo: "excelHeaderQueryCellInfo", excelQueryCellInfo: "excelQueryCellInfo", expanded: "expanded", expanding: "expanding", headerCellInfo: "headerCellInfo", load: "load", onMouseMove: "onMouseMove", onTaskbarClick: "onTaskbarClick", pdfColumnHeaderQueryCellInfo: "pdfColumnHeaderQueryCellInfo", pdfExportComplete: "pdfExportComplete", pdfQueryCellInfo: "pdfQueryCellInfo", pdfQueryTaskbarInfo: "pdfQueryTaskbarInfo", pdfQueryTimelineCellInfo: "pdfQueryTimelineCellInfo", queryCellInfo: "queryCellInfo", queryTaskbarInfo: "queryTaskbarInfo", recordDoubleClick: "recordDoubleClick", resizeStart: "resizeStart", resizeStop: "resizeStop", resizing: "resizing", rowDataBound: "rowDataBound", rowDeselected: "rowDeselected", rowDeselecting: "rowDeselecting", rowDrag: "rowDrag", rowDragStart: "rowDragStart", rowDragStartHelper: "rowDragStartHelper", rowDrop: "rowDrop", rowSelected: "rowSelected", rowSelecting: "rowSelecting", splitterResizeStart: "splitterResizeStart", splitterResized: "splitterResized", splitterResizing: "splitterResizing", taskbarEdited: "taskbarEdited", taskbarEditing: "taskbarEditing", toolbarClick: "toolbarClick", dataSourceChange: "dataSourceChange" }, queries: [{ propertyName: "parentTaskbarTemplate", first: true, predicate: ["parentTaskbarTemplate"], descendants: true }, { propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true }, { propertyName: "timelineTemplate", first: true, predicate: ["timelineTemplate"], descendants: true }, { propertyName: "milestoneTemplate", first: true, predicate: ["milestoneTemplate"], descendants: true }, { propertyName: "baselineTemplate", first: true, predicate: ["baselineTemplate"], descendants: true }, { propertyName: "taskbarTemplate", first: true, predicate: ["taskbarTemplate"], descendants: true }, { propertyName: "editTemplate", first: true, predicate: ["editTemplate"], descendants: true }, { propertyName: "labelSettings_rightLabel", first: true, predicate: ["labelSettingsRightLabel"], descendants: true }, { propertyName: "labelSettings_leftLabel", first: true, predicate: ["labelSettingsLeftLabel"], descendants: true }, { propertyName: "labelSettings_taskLabel", first: true, predicate: ["labelSettingsTaskLabel"], descendants: true }, { propertyName: "tooltipSettings_taskbar", first: true, predicate: ["tooltipSettingsTaskbar"], descendants: true }, { propertyName: "tooltipSettings_baseline", first: true, predicate: ["tooltipSettingsBaseline"], descendants: true }, { propertyName: "tooltipSettings_connectorLine", first: true, predicate: ["tooltipSettingsConnectorLine"], descendants: true }, { propertyName: "tooltipSettings_editing", first: true, predicate: ["tooltipSettingsEditing"], descendants: true }, { propertyName: "tooltipSettings_timeline", first: true, predicate: ["tooltipSettingsTimeline"], descendants: true }, { propertyName: "filter_itemTemplate", first: true, predicate: ["filterItemTemplate"], descendants: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true }, { propertyName: "emptyRecordTemplate", first: true, predicate: ["emptyRecordTemplate"], descendants: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "childColumns", first: true, predicate: ColumnsDirective, descendants: true }, { propertyName: "childAddDialogFields", first: true, predicate: AddDialogFieldsDirective, descendants: true }, { propertyName: "childEditDialogFields", first: true, predicate: EditDialogFieldsDirective, descendants: true }, { propertyName: "childDayWorkingTime", first: true, predicate: DayWorkingTimeCollectionDirective, descendants: true }, { propertyName: "childWeekWorkingTime", first: true, predicate: WeekWorkingTimesDirective, descendants: true }, { propertyName: "childHolidays", first: true, predicate: HolidaysDirective, descendants: true }, { propertyName: "childEventMarkers", first: true, predicate: EventMarkersDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
612
- __decorate([
613
- Template()
614
- ], GanttComponent.prototype, "parentTaskbarTemplate", void 0);
615
- __decorate([
616
- Template()
617
- ], GanttComponent.prototype, "toolbarTemplate", void 0);
618
- __decorate([
619
- Template()
620
- ], GanttComponent.prototype, "timelineTemplate", void 0);
621
- __decorate([
622
- Template()
623
- ], GanttComponent.prototype, "milestoneTemplate", void 0);
624
- __decorate([
625
- Template()
626
- ], GanttComponent.prototype, "baselineTemplate", void 0);
627
- __decorate([
628
- Template()
629
- ], GanttComponent.prototype, "taskbarTemplate", void 0);
630
- __decorate([
631
- Template()
632
- ], GanttComponent.prototype, "editTemplate", void 0);
633
- __decorate([
634
- Template()
635
- ], GanttComponent.prototype, "labelSettings_rightLabel", void 0);
636
- __decorate([
637
- Template()
638
- ], GanttComponent.prototype, "labelSettings_leftLabel", void 0);
639
- __decorate([
640
- Template()
641
- ], GanttComponent.prototype, "labelSettings_taskLabel", void 0);
642
- __decorate([
643
- Template()
644
- ], GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
645
- __decorate([
646
- Template()
647
- ], GanttComponent.prototype, "tooltipSettings_baseline", void 0);
648
- __decorate([
649
- Template()
650
- ], GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
651
- __decorate([
652
- Template()
653
- ], GanttComponent.prototype, "tooltipSettings_editing", void 0);
654
- __decorate([
655
- Template()
656
- ], GanttComponent.prototype, "tooltipSettings_timeline", void 0);
657
- __decorate([
658
- Template()
659
- ], GanttComponent.prototype, "filter_itemTemplate", void 0);
660
- __decorate([
661
- Template()
662
- ], GanttComponent.prototype, "filterTemplate", void 0);
663
- __decorate([
664
- Template()
665
- ], GanttComponent.prototype, "emptyRecordTemplate", void 0);
666
- __decorate([
667
- Template()
668
- ], GanttComponent.prototype, "template", void 0);
669
- GanttComponent = __decorate([
670
- ComponentMixins([ComponentBase])
671
- ], GanttComponent);
672
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttComponent, decorators: [{
673
- type: Component,
674
- args: [{
675
- selector: 'ejs-gantt',
676
- inputs: inputs,
677
- outputs: outputs,
678
- template: '',
679
- changeDetection: ChangeDetectionStrategy.OnPush,
680
- queries: {
681
- childColumns: new ContentChild(ColumnsDirective),
682
- childAddDialogFields: new ContentChild(AddDialogFieldsDirective),
683
- childEditDialogFields: new ContentChild(EditDialogFieldsDirective),
684
- childDayWorkingTime: new ContentChild(DayWorkingTimeCollectionDirective),
685
- childWeekWorkingTime: new ContentChild(WeekWorkingTimesDirective),
686
- childHolidays: new ContentChild(HolidaysDirective),
687
- childEventMarkers: new ContentChild(EventMarkersDirective)
688
- }
689
- }]
690
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { parentTaskbarTemplate: [{
691
- type: ContentChild,
692
- args: ['parentTaskbarTemplate']
693
- }], toolbarTemplate: [{
694
- type: ContentChild,
695
- args: ['toolbarTemplate']
696
- }], timelineTemplate: [{
697
- type: ContentChild,
698
- args: ['timelineTemplate']
699
- }], milestoneTemplate: [{
700
- type: ContentChild,
701
- args: ['milestoneTemplate']
702
- }], baselineTemplate: [{
703
- type: ContentChild,
704
- args: ['baselineTemplate']
705
- }], taskbarTemplate: [{
706
- type: ContentChild,
707
- args: ['taskbarTemplate']
708
- }], editTemplate: [{
709
- type: ContentChild,
710
- args: ['editTemplate']
711
- }], labelSettings_rightLabel: [{
712
- type: ContentChild,
713
- args: ['labelSettingsRightLabel']
714
- }], labelSettings_leftLabel: [{
715
- type: ContentChild,
716
- args: ['labelSettingsLeftLabel']
717
- }], labelSettings_taskLabel: [{
718
- type: ContentChild,
719
- args: ['labelSettingsTaskLabel']
720
- }], tooltipSettings_taskbar: [{
721
- type: ContentChild,
722
- args: ['tooltipSettingsTaskbar']
723
- }], tooltipSettings_baseline: [{
724
- type: ContentChild,
725
- args: ['tooltipSettingsBaseline']
726
- }], tooltipSettings_connectorLine: [{
727
- type: ContentChild,
728
- args: ['tooltipSettingsConnectorLine']
729
- }], tooltipSettings_editing: [{
730
- type: ContentChild,
731
- args: ['tooltipSettingsEditing']
732
- }], tooltipSettings_timeline: [{
733
- type: ContentChild,
734
- args: ['tooltipSettingsTimeline']
735
- }], filter_itemTemplate: [{
736
- type: ContentChild,
737
- args: ['filterItemTemplate']
738
- }], filterTemplate: [{
739
- type: ContentChild,
740
- args: ['filterTemplate']
741
- }], emptyRecordTemplate: [{
742
- type: ContentChild,
743
- args: ['emptyRecordTemplate']
744
- }], template: [{
745
- type: ContentChild,
746
- args: ['template']
747
- }] } });
748
-
749
- /**
750
- * NgModule definition for the Gantt component.
751
- */
752
- class GanttModule {
753
- }
754
- GanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
755
- GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, declarations: [GanttComponent,
756
- ColumnDirective,
757
- ColumnsDirective,
758
- AddDialogFieldDirective,
759
- AddDialogFieldsDirective,
760
- EditDialogFieldDirective,
761
- EditDialogFieldsDirective,
762
- DayWorkingTimeDirective,
763
- DayWorkingTimeCollectionDirective,
764
- WeekWorkingTimeDirective,
765
- WeekWorkingTimesDirective,
766
- HolidayDirective,
767
- HolidaysDirective,
768
- EventMarkerDirective,
769
- EventMarkersDirective], imports: [CommonModule], exports: [GanttComponent,
770
- ColumnDirective,
771
- ColumnsDirective,
772
- AddDialogFieldDirective,
773
- AddDialogFieldsDirective,
774
- EditDialogFieldDirective,
775
- EditDialogFieldsDirective,
776
- DayWorkingTimeDirective,
777
- DayWorkingTimeCollectionDirective,
778
- WeekWorkingTimeDirective,
779
- WeekWorkingTimesDirective,
780
- HolidayDirective,
781
- HolidaysDirective,
782
- EventMarkerDirective,
783
- EventMarkersDirective] });
784
- GanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, imports: [[CommonModule]] });
785
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, decorators: [{
786
- type: NgModule,
787
- args: [{
788
- imports: [CommonModule],
789
- declarations: [
790
- GanttComponent,
791
- ColumnDirective,
792
- ColumnsDirective,
793
- AddDialogFieldDirective,
794
- AddDialogFieldsDirective,
795
- EditDialogFieldDirective,
796
- EditDialogFieldsDirective,
797
- DayWorkingTimeDirective,
798
- DayWorkingTimeCollectionDirective,
799
- WeekWorkingTimeDirective,
800
- WeekWorkingTimesDirective,
801
- HolidayDirective,
802
- HolidaysDirective,
803
- EventMarkerDirective,
804
- EventMarkersDirective
805
- ],
806
- exports: [
807
- GanttComponent,
808
- ColumnDirective,
809
- ColumnsDirective,
810
- AddDialogFieldDirective,
811
- AddDialogFieldsDirective,
812
- EditDialogFieldDirective,
813
- EditDialogFieldsDirective,
814
- DayWorkingTimeDirective,
815
- DayWorkingTimeCollectionDirective,
816
- WeekWorkingTimeDirective,
817
- WeekWorkingTimesDirective,
818
- HolidayDirective,
819
- HolidaysDirective,
820
- EventMarkerDirective,
821
- EventMarkersDirective
822
- ]
823
- }]
824
- }] });
825
-
826
- const FilterService = { provide: 'GanttFilter', useValue: Filter };
827
- const SelectionService = { provide: 'GanttSelection', useValue: Selection };
828
- const SortService = { provide: 'GanttSort', useValue: Sort };
829
- const ReorderService = { provide: 'GanttReorder', useValue: Reorder };
830
- const ResizeService = { provide: 'GanttResize', useValue: Resize };
831
- const EditService = { provide: 'GanttEdit', useValue: Edit };
832
- const DayMarkersService = { provide: 'GanttDayMarkers', useValue: DayMarkers };
833
- const ToolbarService = { provide: 'GanttToolbar', useValue: Toolbar };
834
- const ContextMenuService = { provide: 'GanttContextMenu', useValue: ContextMenu };
835
- const ExcelExportService = { provide: 'GanttExcelExport', useValue: ExcelExport };
836
- const RowDDService = { provide: 'GanttRowDD', useValue: RowDD };
837
- const ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ColumnMenu };
838
- const PdfExportService = { provide: 'GanttPdfExport', useValue: PdfExport };
839
- const VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: VirtualScroll };
840
- const CriticalPathService = { provide: 'GanttCriticalPath', useValue: CriticalPath };
841
- const UndoRedoService = { provide: 'GanttUndoRedo', useValue: UndoRedo };
842
- const FreezeService = { provide: 'GanttFreeze', useValue: Freeze };
843
- /**
844
- * NgModule definition for the Gantt component with providers.
845
- */
846
- class GanttAllModule {
847
- }
848
- GanttAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
849
- GanttAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, imports: [CommonModule, GanttModule], exports: [GanttModule] });
850
- GanttAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, providers: [
851
- FilterService,
852
- SelectionService,
853
- SortService,
854
- ReorderService,
855
- ResizeService,
856
- EditService,
857
- DayMarkersService,
858
- ToolbarService,
859
- ContextMenuService,
860
- ExcelExportService,
861
- RowDDService,
862
- ColumnMenuService,
863
- PdfExportService,
864
- VirtualScrollService,
865
- CriticalPathService,
866
- UndoRedoService,
867
- FreezeService
868
- ], imports: [[CommonModule, GanttModule], GanttModule] });
869
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, decorators: [{
870
- type: NgModule,
871
- args: [{
872
- imports: [CommonModule, GanttModule],
873
- exports: [
874
- GanttModule
875
- ],
876
- providers: [
877
- FilterService,
878
- SelectionService,
879
- SortService,
880
- ReorderService,
881
- ResizeService,
882
- EditService,
883
- DayMarkersService,
884
- ToolbarService,
885
- ContextMenuService,
886
- ExcelExportService,
887
- RowDDService,
888
- ColumnMenuService,
889
- PdfExportService,
890
- VirtualScrollService,
891
- CriticalPathService,
892
- UndoRedoService,
893
- FreezeService
894
- ]
895
- }]
896
- }] });
897
-
898
- /**
899
- * Generated bundle index. Do not edit.
900
- */
901
-
902
- export { AddDialogFieldDirective, AddDialogFieldsDirective, ColumnDirective, ColumnMenuService, ColumnsDirective, ContextMenuService, CriticalPathService, DayMarkersService, DayWorkingTimeCollectionDirective, DayWorkingTimeDirective, EditDialogFieldDirective, EditDialogFieldsDirective, EditService, EventMarkerDirective, EventMarkersDirective, ExcelExportService, FilterService, FreezeService, GanttAllModule, GanttComponent, GanttModule, HolidayDirective, HolidaysDirective, PdfExportService, ReorderService, ResizeService, RowDDService, SelectionService, SortService, ToolbarService, UndoRedoService, VirtualScrollService, WeekWorkingTimeDirective, WeekWorkingTimesDirective };
903
- //# sourceMappingURL=syncfusion-ej2-angular-gantt.mjs.map