@syncfusion/ej2-angular-gantt 29.1.33 → 29.1.35-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 (43) hide show
  1. package/@syncfusion/ej2-angular-gantt.es5.js +904 -0
  2. package/@syncfusion/ej2-angular-gantt.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-gantt.js +852 -0
  4. package/@syncfusion/ej2-angular-gantt.js.map +1 -0
  5. package/dist/ej2-angular-gantt.umd.js +1023 -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 +14 -27
  13. package/schematics/utils/lib-details.d.ts +2 -2
  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 +0 -5
  17. package/src/gantt/columns.directive.d.ts +0 -5
  18. package/src/gantt/dayworkingtime.directive.d.ts +0 -5
  19. package/src/gantt/editdialogfields.directive.d.ts +0 -5
  20. package/src/gantt/eventmarkers.directive.d.ts +0 -5
  21. package/src/gantt/gantt-all.module.d.ts +0 -6
  22. package/src/gantt/gantt.component.d.ts +0 -3
  23. package/src/gantt/gantt.module.d.ts +0 -13
  24. package/src/gantt/holidays.directive.d.ts +0 -5
  25. package/src/gantt/weekworkingtime.directive.d.ts +0 -5
  26. package/CHANGELOG.md +0 -2749
  27. package/esm2020/public_api.mjs +0 -2
  28. package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
  29. package/esm2020/src/gantt/columns.directive.mjs +0 -72
  30. package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
  31. package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
  32. package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
  33. package/esm2020/src/gantt/gantt-all.module.mjs +0 -74
  34. package/esm2020/src/gantt/gantt.component.mjs +0 -279
  35. package/esm2020/src/gantt/gantt.module.mjs +0 -88
  36. package/esm2020/src/gantt/holidays.directive.mjs +0 -58
  37. package/esm2020/src/gantt/weekworkingtime.directive.mjs +0 -58
  38. package/esm2020/src/index.mjs +0 -12
  39. package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
  40. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -821
  41. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  42. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -821
  43. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
@@ -0,0 +1,852 @@
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
+ 'tooltipSettings_timeline': [{ type: ContentChild, args: ['tooltipSettingsTimeline',] },],
688
+ };
689
+ __decorate$1([
690
+ Template(),
691
+ __metadata$1("design:type", Object)
692
+ ], GanttComponent.prototype, "parentTaskbarTemplate", void 0);
693
+ __decorate$1([
694
+ Template(),
695
+ __metadata$1("design:type", Object)
696
+ ], GanttComponent.prototype, "timelineTemplate", void 0);
697
+ __decorate$1([
698
+ Template(),
699
+ __metadata$1("design:type", Object)
700
+ ], GanttComponent.prototype, "milestoneTemplate", void 0);
701
+ __decorate$1([
702
+ Template(),
703
+ __metadata$1("design:type", Object)
704
+ ], GanttComponent.prototype, "taskbarTemplate", void 0);
705
+ __decorate$1([
706
+ Template(),
707
+ __metadata$1("design:type", Object)
708
+ ], GanttComponent.prototype, "labelSettings_rightLabel", void 0);
709
+ __decorate$1([
710
+ Template(),
711
+ __metadata$1("design:type", Object)
712
+ ], GanttComponent.prototype, "labelSettings_leftLabel", void 0);
713
+ __decorate$1([
714
+ Template(),
715
+ __metadata$1("design:type", Object)
716
+ ], GanttComponent.prototype, "labelSettings_taskLabel", void 0);
717
+ __decorate$1([
718
+ Template(),
719
+ __metadata$1("design:type", Object)
720
+ ], GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
721
+ __decorate$1([
722
+ Template(),
723
+ __metadata$1("design:type", Object)
724
+ ], GanttComponent.prototype, "tooltipSettings_baseline", void 0);
725
+ __decorate$1([
726
+ Template(),
727
+ __metadata$1("design:type", Object)
728
+ ], GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
729
+ __decorate$1([
730
+ Template(),
731
+ __metadata$1("design:type", Object)
732
+ ], GanttComponent.prototype, "tooltipSettings_editing", void 0);
733
+ __decorate$1([
734
+ Template(),
735
+ __metadata$1("design:type", Object)
736
+ ], GanttComponent.prototype, "tooltipSettings_timeline", void 0);
737
+ GanttComponent = __decorate$1([
738
+ ComponentMixins([ComponentBase]),
739
+ __metadata$1("design:paramtypes", [ElementRef,
740
+ Renderer2,
741
+ ViewContainerRef,
742
+ Injector])
743
+ ], GanttComponent);
744
+
745
+ /**
746
+ * NgModule definition for the Gantt component.
747
+ */
748
+ class GanttModule {
749
+ }
750
+ GanttModule.decorators = [
751
+ { type: NgModule, args: [{
752
+ imports: [CommonModule],
753
+ declarations: [
754
+ GanttComponent,
755
+ ColumnDirective,
756
+ ColumnsDirective,
757
+ AddDialogFieldDirective,
758
+ AddDialogFieldsDirective,
759
+ EditDialogFieldDirective,
760
+ EditDialogFieldsDirective,
761
+ DayWorkingTimeDirective,
762
+ DayWorkingTimeCollectionDirective,
763
+ WeekWorkingTimeDirective,
764
+ WeekWorkingTimesDirective,
765
+ HolidayDirective,
766
+ HolidaysDirective,
767
+ EventMarkerDirective,
768
+ EventMarkersDirective
769
+ ],
770
+ exports: [
771
+ GanttComponent,
772
+ ColumnDirective,
773
+ ColumnsDirective,
774
+ AddDialogFieldDirective,
775
+ AddDialogFieldsDirective,
776
+ EditDialogFieldDirective,
777
+ EditDialogFieldsDirective,
778
+ DayWorkingTimeDirective,
779
+ DayWorkingTimeCollectionDirective,
780
+ WeekWorkingTimeDirective,
781
+ WeekWorkingTimesDirective,
782
+ HolidayDirective,
783
+ HolidaysDirective,
784
+ EventMarkerDirective,
785
+ EventMarkersDirective
786
+ ]
787
+ },] },
788
+ ];
789
+ /**
790
+ * @nocollapse
791
+ */
792
+ GanttModule.ctorParameters = () => [];
793
+
794
+ const FilterService = { provide: 'GanttFilter', useValue: Filter };
795
+ const SelectionService = { provide: 'GanttSelection', useValue: Selection };
796
+ const SortService = { provide: 'GanttSort', useValue: Sort };
797
+ const ReorderService = { provide: 'GanttReorder', useValue: Reorder };
798
+ const ResizeService = { provide: 'GanttResize', useValue: Resize };
799
+ const EditService = { provide: 'GanttEdit', useValue: Edit };
800
+ const DayMarkersService = { provide: 'GanttDayMarkers', useValue: DayMarkers };
801
+ const ToolbarService = { provide: 'GanttToolbar', useValue: Toolbar };
802
+ const ContextMenuService = { provide: 'GanttContextMenu', useValue: ContextMenu };
803
+ const ExcelExportService = { provide: 'GanttExcelExport', useValue: ExcelExport };
804
+ const RowDDService = { provide: 'GanttRowDD', useValue: RowDD };
805
+ const ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ColumnMenu };
806
+ const PdfExportService = { provide: 'GanttPdfExport', useValue: PdfExport };
807
+ const VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: VirtualScroll };
808
+ const CriticalPathService = { provide: 'GanttCriticalPath', useValue: CriticalPath };
809
+ const UndoRedoService = { provide: 'GanttUndoRedo', useValue: UndoRedo };
810
+ /**
811
+ * NgModule definition for the Gantt component with providers.
812
+ */
813
+ class GanttAllModule {
814
+ }
815
+ GanttAllModule.decorators = [
816
+ { type: NgModule, args: [{
817
+ imports: [CommonModule, GanttModule],
818
+ exports: [
819
+ GanttModule
820
+ ],
821
+ providers: [
822
+ FilterService,
823
+ SelectionService,
824
+ SortService,
825
+ ReorderService,
826
+ ResizeService,
827
+ EditService,
828
+ DayMarkersService,
829
+ ToolbarService,
830
+ ContextMenuService,
831
+ ExcelExportService,
832
+ RowDDService,
833
+ ColumnMenuService,
834
+ PdfExportService,
835
+ VirtualScrollService,
836
+ CriticalPathService,
837
+ UndoRedoService
838
+ ]
839
+ },] },
840
+ ];
841
+ /**
842
+ * @nocollapse
843
+ */
844
+ GanttAllModule.ctorParameters = () => [];
845
+
846
+ /**
847
+ * Generated bundle index. Do not edit.
848
+ */
849
+
850
+ 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 };
851
+ export { Gantt, PdfHorizontalOverflowType, parentsUntil, isScheduledTask, isCountRequired, getSwapKey, isEmptyObject, 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';
852
+ //# sourceMappingURL=ej2-angular-gantt.js.map