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

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 (38) hide show
  1. package/esm2020/public_api.mjs +3 -0
  2. package/esm2020/src/gantt/adddialogfields.directive.mjs +58 -0
  3. package/esm2020/src/gantt/columns.directive.mjs +72 -0
  4. package/esm2020/src/gantt/dayworkingtime.directive.mjs +58 -0
  5. package/esm2020/src/gantt/editdialogfields.directive.mjs +58 -0
  6. package/esm2020/src/gantt/eventmarkers.directive.mjs +57 -0
  7. package/esm2020/src/gantt/gantt-all.module.mjs +74 -0
  8. package/esm2020/src/gantt/gantt.component.mjs +262 -0
  9. package/esm2020/src/gantt/gantt.module.mjs +79 -0
  10. package/esm2020/src/gantt/holidays.directive.mjs +58 -0
  11. package/esm2020/src/index.mjs +11 -0
  12. package/esm2020/syncfusion-ej2-angular-gantt.mjs +5 -0
  13. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +744 -0
  14. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +1 -0
  15. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +744 -0
  16. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +1 -0
  17. package/package.json +26 -12
  18. package/postinstall/tagchange.js +16 -16
  19. package/src/gantt/adddialogfields.directive.d.ts +5 -0
  20. package/src/gantt/columns.directive.d.ts +5 -0
  21. package/src/gantt/dayworkingtime.directive.d.ts +5 -0
  22. package/src/gantt/editdialogfields.directive.d.ts +5 -0
  23. package/src/gantt/eventmarkers.directive.d.ts +5 -0
  24. package/src/gantt/gantt-all.module.d.ts +6 -0
  25. package/src/gantt/gantt.component.d.ts +3 -0
  26. package/src/gantt/gantt.module.d.ts +12 -0
  27. package/src/gantt/holidays.directive.d.ts +5 -0
  28. package/{ej2-angular-gantt.d.ts → syncfusion-ej2-angular-gantt.d.ts} +1 -1
  29. package/@syncfusion/ej2-angular-gantt.es5.js +0 -821
  30. package/@syncfusion/ej2-angular-gantt.es5.js.map +0 -1
  31. package/@syncfusion/ej2-angular-gantt.js +0 -773
  32. package/@syncfusion/ej2-angular-gantt.js.map +0 -1
  33. package/CHANGELOG.md +0 -2396
  34. package/dist/ej2-angular-gantt.umd.js +0 -936
  35. package/dist/ej2-angular-gantt.umd.js.map +0 -1
  36. package/dist/ej2-angular-gantt.umd.min.js +0 -11
  37. package/dist/ej2-angular-gantt.umd.min.js.map +0 -1
  38. package/ej2-angular-gantt.metadata.json +0 -1
@@ -1,773 +0,0 @@
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 = ['cssClass', 'from', 'label', 'to'];
272
- let outputs$4 = [];
273
- /**
274
- * `e-holidays` directive represent a holidays collection in Gantt.
275
- * It must be contained in a Gantt component(`ejs-gantt`).
276
- * ```html
277
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
278
- * <e-holidays>
279
- * <e-holiday from='02/20/2018' label='Holiday 1'></e-holiday>
280
- * <e-holiday from='05/15/2018' label='Holiday 2'></e-holiday>
281
- * </e-holidays>
282
- * </ejs-gantt>
283
- * ```
284
- */
285
- class HolidayDirective 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
- HolidayDirective.decorators = [
298
- { type: Directive, args: [{
299
- selector: 'ejs-gantt>e-holidays>e-holidays',
300
- inputs: input$4,
301
- outputs: outputs$4,
302
- queries: {}
303
- },] },
304
- ];
305
- /**
306
- * @nocollapse
307
- */
308
- HolidayDirective.ctorParameters = () => [
309
- { type: ViewContainerRef, },
310
- ];
311
- /**
312
- * Holiday Array Directive
313
- */
314
- class HolidaysDirective extends ArrayBase {
315
- constructor() {
316
- super('holidays');
317
- }
318
- }
319
- HolidaysDirective.decorators = [
320
- { type: Directive, args: [{
321
- selector: 'ejs-gantt>e-holidays',
322
- queries: {
323
- children: new ContentChildren(HolidayDirective)
324
- },
325
- },] },
326
- ];
327
- /**
328
- * @nocollapse
329
- */
330
- HolidaysDirective.ctorParameters = () => [];
331
-
332
- let input$5 = ['cssClass', 'day', 'label'];
333
- let outputs$5 = [];
334
- /**
335
- * `e-event-markers` directive represent a event marker 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-event-markers>
340
- * <e-event-marker day='02/10/2018' label='Project Starts'></e-event-marker>
341
- * </e-event-markers>
342
- * </ejs-gantt>
343
- * ```
344
- */
345
- class EventMarkerDirective extends ComplexBase {
346
- /**
347
- * @param {?} viewContainerRef
348
- */
349
- constructor(viewContainerRef) {
350
- super();
351
- this.viewContainerRef = viewContainerRef;
352
- setValue('currentInstance', this, this.viewContainerRef);
353
- this.registerEvents(outputs$5);
354
- this.directivePropList = input$5;
355
- }
356
- }
357
- EventMarkerDirective.decorators = [
358
- { type: Directive, args: [{
359
- selector: 'ejs-gantt>e-event-markers>e-event-marker',
360
- inputs: input$5,
361
- outputs: outputs$5,
362
- queries: {}
363
- },] },
364
- ];
365
- /**
366
- * @nocollapse
367
- */
368
- EventMarkerDirective.ctorParameters = () => [
369
- { type: ViewContainerRef, },
370
- ];
371
- /**
372
- * EventMarker Array Directive
373
- */
374
- class EventMarkersDirective extends ArrayBase {
375
- constructor() {
376
- super('eventmarkers');
377
- }
378
- }
379
- EventMarkersDirective.decorators = [
380
- { type: Directive, args: [{
381
- selector: 'ejs-gantt>e-event-markers',
382
- queries: {
383
- children: new ContentChildren(EventMarkerDirective)
384
- },
385
- },] },
386
- ];
387
- /**
388
- * @nocollapse
389
- */
390
- EventMarkersDirective.ctorParameters = () => [];
391
-
392
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
393
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
394
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
395
- 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;
396
- return c > 3 && r && Object.defineProperty(target, key, r), r;
397
- };
398
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
399
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
400
- };
401
- 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', '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', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'undoRedoActions', 'undoRedoStepsCount', 'validateManualTasksOnLinking', 'viewType', 'width', 'workUnit', 'workWeek', 'zoomingLevels'];
402
- const outputs$6 = ['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'];
403
- const twoWays = ['dataSource'];
404
- /**
405
- * `ejs-gantt` represents the Angular Gantt Component.
406
- * ```html
407
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'></ejs-gantt>
408
- * ```
409
- */
410
- let GanttComponent = class GanttComponent extends Gantt {
411
- /**
412
- * @param {?} ngEle
413
- * @param {?} srenderer
414
- * @param {?} viewContainerRef
415
- * @param {?} injector
416
- */
417
- constructor(ngEle, srenderer, viewContainerRef, injector) {
418
- super();
419
- this.ngEle = ngEle;
420
- this.srenderer = srenderer;
421
- this.viewContainerRef = viewContainerRef;
422
- this.injector = injector;
423
- this.tags = ['columns', 'addDialogFields', 'editDialogFields', 'dayWorkingTime', 'holidays', 'eventMarkers'];
424
- this.element = this.ngEle.nativeElement;
425
- this.injectedModules = this.injectedModules || [];
426
- try {
427
- let mod = this.injector.get('GanttFilter');
428
- if (this.injectedModules.indexOf(mod) === -1) {
429
- this.injectedModules.push(mod);
430
- }
431
- }
432
- catch (_a) { }
433
- try {
434
- let mod = this.injector.get('GanttSelection');
435
- if (this.injectedModules.indexOf(mod) === -1) {
436
- this.injectedModules.push(mod);
437
- }
438
- }
439
- catch (_b) { }
440
- try {
441
- let mod = this.injector.get('GanttSort');
442
- if (this.injectedModules.indexOf(mod) === -1) {
443
- this.injectedModules.push(mod);
444
- }
445
- }
446
- catch (_c) { }
447
- try {
448
- let mod = this.injector.get('GanttReorder');
449
- if (this.injectedModules.indexOf(mod) === -1) {
450
- this.injectedModules.push(mod);
451
- }
452
- }
453
- catch (_d) { }
454
- try {
455
- let mod = this.injector.get('GanttResize');
456
- if (this.injectedModules.indexOf(mod) === -1) {
457
- this.injectedModules.push(mod);
458
- }
459
- }
460
- catch (_e) { }
461
- try {
462
- let mod = this.injector.get('GanttEdit');
463
- if (this.injectedModules.indexOf(mod) === -1) {
464
- this.injectedModules.push(mod);
465
- }
466
- }
467
- catch (_f) { }
468
- try {
469
- let mod = this.injector.get('GanttDayMarkers');
470
- if (this.injectedModules.indexOf(mod) === -1) {
471
- this.injectedModules.push(mod);
472
- }
473
- }
474
- catch (_g) { }
475
- try {
476
- let mod = this.injector.get('GanttToolbar');
477
- if (this.injectedModules.indexOf(mod) === -1) {
478
- this.injectedModules.push(mod);
479
- }
480
- }
481
- catch (_h) { }
482
- try {
483
- let mod = this.injector.get('GanttContextMenu');
484
- if (this.injectedModules.indexOf(mod) === -1) {
485
- this.injectedModules.push(mod);
486
- }
487
- }
488
- catch (_j) { }
489
- try {
490
- let mod = this.injector.get('GanttExcelExport');
491
- if (this.injectedModules.indexOf(mod) === -1) {
492
- this.injectedModules.push(mod);
493
- }
494
- }
495
- catch (_k) { }
496
- try {
497
- let mod = this.injector.get('GanttRowDD');
498
- if (this.injectedModules.indexOf(mod) === -1) {
499
- this.injectedModules.push(mod);
500
- }
501
- }
502
- catch (_l) { }
503
- try {
504
- let mod = this.injector.get('GanttColumnMenu');
505
- if (this.injectedModules.indexOf(mod) === -1) {
506
- this.injectedModules.push(mod);
507
- }
508
- }
509
- catch (_m) { }
510
- try {
511
- let mod = this.injector.get('GanttPdfExport');
512
- if (this.injectedModules.indexOf(mod) === -1) {
513
- this.injectedModules.push(mod);
514
- }
515
- }
516
- catch (_o) { }
517
- try {
518
- let mod = this.injector.get('GanttVirtualScroll');
519
- if (this.injectedModules.indexOf(mod) === -1) {
520
- this.injectedModules.push(mod);
521
- }
522
- }
523
- catch (_p) { }
524
- try {
525
- let mod = this.injector.get('GanttCriticalPath');
526
- if (this.injectedModules.indexOf(mod) === -1) {
527
- this.injectedModules.push(mod);
528
- }
529
- }
530
- catch (_q) { }
531
- try {
532
- let mod = this.injector.get('GanttUndoRedo');
533
- if (this.injectedModules.indexOf(mod) === -1) {
534
- this.injectedModules.push(mod);
535
- }
536
- }
537
- catch (_r) { }
538
- this.registerEvents(outputs$6);
539
- this.addTwoWay.call(this, twoWays);
540
- setValue('currentInstance', this, this.viewContainerRef);
541
- this.context = new ComponentBase();
542
- }
543
- /**
544
- * @return {?}
545
- */
546
- ngOnInit() {
547
- this.context.ngOnInit(this);
548
- }
549
- /**
550
- * @return {?}
551
- */
552
- ngAfterViewInit() {
553
- this.context.ngAfterViewInit(this);
554
- }
555
- /**
556
- * @return {?}
557
- */
558
- ngOnDestroy() {
559
- this.context.ngOnDestroy(this);
560
- }
561
- /**
562
- * @return {?}
563
- */
564
- ngAfterContentChecked() {
565
- this.tagObjects[0].instance = this.childColumns;
566
- if (this.childAddDialogFields) {
567
- this.tagObjects[1].instance = this.childAddDialogFields;
568
- }
569
- if (this.childEditDialogFields) {
570
- this.tagObjects[2].instance = this.childEditDialogFields;
571
- }
572
- if (this.childDayWorkingTime) {
573
- this.tagObjects[3].instance = this.childDayWorkingTime;
574
- }
575
- if (this.childHolidays) {
576
- this.tagObjects[4].instance = this.childHolidays;
577
- }
578
- if (this.childEventMarkers) {
579
- this.tagObjects[5].instance = this.childEventMarkers;
580
- }
581
- this.context.ngAfterContentChecked(this);
582
- }
583
- };
584
- GanttComponent.decorators = [
585
- { type: Component, args: [{
586
- selector: 'ejs-gantt',
587
- inputs: inputs,
588
- outputs: outputs$6,
589
- template: '',
590
- changeDetection: ChangeDetectionStrategy.OnPush,
591
- queries: {
592
- childColumns: new ContentChild(ColumnsDirective),
593
- childAddDialogFields: new ContentChild(AddDialogFieldsDirective),
594
- childEditDialogFields: new ContentChild(EditDialogFieldsDirective),
595
- childDayWorkingTime: new ContentChild(DayWorkingTimeCollectionDirective),
596
- childHolidays: new ContentChild(HolidaysDirective),
597
- childEventMarkers: new ContentChild(EventMarkersDirective)
598
- }
599
- },] },
600
- ];
601
- /**
602
- * @nocollapse
603
- */
604
- GanttComponent.ctorParameters = () => [
605
- { type: ElementRef, },
606
- { type: Renderer2, },
607
- { type: ViewContainerRef, },
608
- { type: Injector, },
609
- ];
610
- GanttComponent.propDecorators = {
611
- 'parentTaskbarTemplate': [{ type: ContentChild, args: ['parentTaskbarTemplate',] },],
612
- 'milestoneTemplate': [{ type: ContentChild, args: ['milestoneTemplate',] },],
613
- 'taskbarTemplate': [{ type: ContentChild, args: ['taskbarTemplate',] },],
614
- 'labelSettings_rightLabel': [{ type: ContentChild, args: ['labelSettingsRightLabel',] },],
615
- 'labelSettings_leftLabel': [{ type: ContentChild, args: ['labelSettingsLeftLabel',] },],
616
- 'labelSettings_taskLabel': [{ type: ContentChild, args: ['labelSettingsTaskLabel',] },],
617
- 'tooltipSettings_taskbar': [{ type: ContentChild, args: ['tooltipSettingsTaskbar',] },],
618
- 'tooltipSettings_baseline': [{ type: ContentChild, args: ['tooltipSettingsBaseline',] },],
619
- 'tooltipSettings_connectorLine': [{ type: ContentChild, args: ['tooltipSettingsConnectorLine',] },],
620
- 'tooltipSettings_editing': [{ type: ContentChild, args: ['tooltipSettingsEditing',] },],
621
- };
622
- __decorate$1([
623
- Template(),
624
- __metadata$1("design:type", Object)
625
- ], GanttComponent.prototype, "parentTaskbarTemplate", void 0);
626
- __decorate$1([
627
- Template(),
628
- __metadata$1("design:type", Object)
629
- ], GanttComponent.prototype, "milestoneTemplate", void 0);
630
- __decorate$1([
631
- Template(),
632
- __metadata$1("design:type", Object)
633
- ], GanttComponent.prototype, "taskbarTemplate", void 0);
634
- __decorate$1([
635
- Template(),
636
- __metadata$1("design:type", Object)
637
- ], GanttComponent.prototype, "labelSettings_rightLabel", void 0);
638
- __decorate$1([
639
- Template(),
640
- __metadata$1("design:type", Object)
641
- ], GanttComponent.prototype, "labelSettings_leftLabel", void 0);
642
- __decorate$1([
643
- Template(),
644
- __metadata$1("design:type", Object)
645
- ], GanttComponent.prototype, "labelSettings_taskLabel", void 0);
646
- __decorate$1([
647
- Template(),
648
- __metadata$1("design:type", Object)
649
- ], GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
650
- __decorate$1([
651
- Template(),
652
- __metadata$1("design:type", Object)
653
- ], GanttComponent.prototype, "tooltipSettings_baseline", void 0);
654
- __decorate$1([
655
- Template(),
656
- __metadata$1("design:type", Object)
657
- ], GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
658
- __decorate$1([
659
- Template(),
660
- __metadata$1("design:type", Object)
661
- ], GanttComponent.prototype, "tooltipSettings_editing", void 0);
662
- GanttComponent = __decorate$1([
663
- ComponentMixins([ComponentBase]),
664
- __metadata$1("design:paramtypes", [ElementRef,
665
- Renderer2,
666
- ViewContainerRef,
667
- Injector])
668
- ], GanttComponent);
669
-
670
- /**
671
- * NgModule definition for the Gantt component.
672
- */
673
- class GanttModule {
674
- }
675
- GanttModule.decorators = [
676
- { type: NgModule, args: [{
677
- imports: [CommonModule],
678
- declarations: [
679
- GanttComponent,
680
- ColumnDirective,
681
- ColumnsDirective,
682
- AddDialogFieldDirective,
683
- AddDialogFieldsDirective,
684
- EditDialogFieldDirective,
685
- EditDialogFieldsDirective,
686
- DayWorkingTimeDirective,
687
- DayWorkingTimeCollectionDirective,
688
- HolidayDirective,
689
- HolidaysDirective,
690
- EventMarkerDirective,
691
- EventMarkersDirective
692
- ],
693
- exports: [
694
- GanttComponent,
695
- ColumnDirective,
696
- ColumnsDirective,
697
- AddDialogFieldDirective,
698
- AddDialogFieldsDirective,
699
- EditDialogFieldDirective,
700
- EditDialogFieldsDirective,
701
- DayWorkingTimeDirective,
702
- DayWorkingTimeCollectionDirective,
703
- HolidayDirective,
704
- HolidaysDirective,
705
- EventMarkerDirective,
706
- EventMarkersDirective
707
- ]
708
- },] },
709
- ];
710
- /**
711
- * @nocollapse
712
- */
713
- GanttModule.ctorParameters = () => [];
714
-
715
- const FilterService = { provide: 'GanttFilter', useValue: Filter };
716
- const SelectionService = { provide: 'GanttSelection', useValue: Selection };
717
- const SortService = { provide: 'GanttSort', useValue: Sort };
718
- const ReorderService = { provide: 'GanttReorder', useValue: Reorder };
719
- const ResizeService = { provide: 'GanttResize', useValue: Resize };
720
- const EditService = { provide: 'GanttEdit', useValue: Edit };
721
- const DayMarkersService = { provide: 'GanttDayMarkers', useValue: DayMarkers };
722
- const ToolbarService = { provide: 'GanttToolbar', useValue: Toolbar };
723
- const ContextMenuService = { provide: 'GanttContextMenu', useValue: ContextMenu };
724
- const ExcelExportService = { provide: 'GanttExcelExport', useValue: ExcelExport };
725
- const RowDDService = { provide: 'GanttRowDD', useValue: RowDD };
726
- const ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ColumnMenu };
727
- const PdfExportService = { provide: 'GanttPdfExport', useValue: PdfExport };
728
- const VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: VirtualScroll };
729
- const CriticalPathService = { provide: 'GanttCriticalPath', useValue: CriticalPath };
730
- const UndoRedoService = { provide: 'GanttUndoRedo', useValue: UndoRedo };
731
- /**
732
- * NgModule definition for the Gantt component with providers.
733
- */
734
- class GanttAllModule {
735
- }
736
- GanttAllModule.decorators = [
737
- { type: NgModule, args: [{
738
- imports: [CommonModule, GanttModule],
739
- exports: [
740
- GanttModule
741
- ],
742
- providers: [
743
- FilterService,
744
- SelectionService,
745
- SortService,
746
- ReorderService,
747
- ResizeService,
748
- EditService,
749
- DayMarkersService,
750
- ToolbarService,
751
- ContextMenuService,
752
- ExcelExportService,
753
- RowDDService,
754
- ColumnMenuService,
755
- PdfExportService,
756
- VirtualScrollService,
757
- CriticalPathService,
758
- UndoRedoService
759
- ]
760
- },] },
761
- ];
762
- /**
763
- * @nocollapse
764
- */
765
- GanttAllModule.ctorParameters = () => [];
766
-
767
- /**
768
- * Generated bundle index. Do not edit.
769
- */
770
-
771
- export { ColumnDirective, ColumnsDirective, AddDialogFieldDirective, AddDialogFieldsDirective, EditDialogFieldDirective, EditDialogFieldsDirective, DayWorkingTimeDirective, DayWorkingTimeCollectionDirective, 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$6 as ɵb };
772
- 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, TemporaryDictionary, PdfBorders, PdfPaddings, PdfTreeGridStyleBase, PdfTreeGridStyle, PdfGanttTheme, PdfTreeGridLayouter, PdfTreeGridLayoutResult, PdfTreeGridLayoutFormat, PdfTreeGridCell, PdfTreeGridCellCollection, PdfTreeGridRow, PdfTreeGridRowCollection, PdfTreeGridHeaderCollection, PdfTreeGridColumn, PdfTreeGridColumnCollection } from '@syncfusion/ej2-gantt';
773
- //# sourceMappingURL=ej2-angular-gantt.js.map