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

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