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