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

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