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