@syncfusion/ej2-angular-gantt 30.1.42-ngcc → 30.1.42

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