@syncfusion/ej2-angular-gantt 24.1.41 → 24.1.43-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/@syncfusion/ej2-angular-gantt.es5.js +812 -0
  2. package/@syncfusion/ej2-angular-gantt.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-gantt.js +764 -0
  4. package/@syncfusion/ej2-angular-gantt.js.map +1 -0
  5. package/CHANGELOG.md +2108 -0
  6. package/dist/ej2-angular-gantt.umd.js +925 -0
  7. package/dist/ej2-angular-gantt.umd.js.map +1 -0
  8. package/dist/ej2-angular-gantt.umd.min.js +11 -0
  9. package/dist/ej2-angular-gantt.umd.min.js.map +1 -0
  10. package/{syncfusion-ej2-angular-gantt.d.ts → ej2-angular-gantt.d.ts} +1 -1
  11. package/ej2-angular-gantt.metadata.json +1 -0
  12. package/package.json +14 -28
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/gantt/adddialogfields.directive.d.ts +0 -5
  18. package/src/gantt/columns.directive.d.ts +0 -5
  19. package/src/gantt/dayworkingtime.directive.d.ts +0 -5
  20. package/src/gantt/editdialogfields.directive.d.ts +0 -5
  21. package/src/gantt/eventmarkers.directive.d.ts +0 -5
  22. package/src/gantt/gantt-all.module.d.ts +0 -6
  23. package/src/gantt/gantt.component.d.ts +0 -3
  24. package/src/gantt/gantt.module.d.ts +0 -12
  25. package/src/gantt/holidays.directive.d.ts +0 -5
  26. package/styles/bootstrap-dark.css +1 -2096
  27. package/styles/bootstrap.css +1 -2233
  28. package/styles/bootstrap4.css +1 -2447
  29. package/styles/bootstrap5-dark.css +1 -2134
  30. package/styles/bootstrap5.css +1 -2134
  31. package/styles/fabric-dark.css +1 -2050
  32. package/styles/fabric.css +1 -2043
  33. package/styles/fluent-dark.css +1 -2122
  34. package/styles/fluent.css +1 -2122
  35. package/styles/gantt/bootstrap-dark.css +1 -2096
  36. package/styles/gantt/bootstrap-dark.scss +1 -22
  37. package/styles/gantt/bootstrap.css +1 -2233
  38. package/styles/gantt/bootstrap.scss +1 -22
  39. package/styles/gantt/bootstrap4.css +1 -2447
  40. package/styles/gantt/bootstrap4.scss +1 -22
  41. package/styles/gantt/bootstrap5-dark.css +1 -2134
  42. package/styles/gantt/bootstrap5-dark.scss +1 -22
  43. package/styles/gantt/bootstrap5.css +1 -2134
  44. package/styles/gantt/bootstrap5.scss +1 -22
  45. package/styles/gantt/fabric-dark.css +1 -2050
  46. package/styles/gantt/fabric-dark.scss +1 -22
  47. package/styles/gantt/fabric.css +1 -2043
  48. package/styles/gantt/fabric.scss +1 -22
  49. package/styles/gantt/fluent-dark.css +1 -2122
  50. package/styles/gantt/fluent-dark.scss +1 -22
  51. package/styles/gantt/fluent.css +1 -2122
  52. package/styles/gantt/fluent.scss +1 -22
  53. package/styles/gantt/highcontrast-light.css +1 -2024
  54. package/styles/gantt/highcontrast-light.scss +1 -21
  55. package/styles/gantt/highcontrast.css +1 -2136
  56. package/styles/gantt/highcontrast.scss +1 -22
  57. package/styles/gantt/material-dark.css +1 -2087
  58. package/styles/gantt/material-dark.scss +1 -22
  59. package/styles/gantt/material.css +1 -2131
  60. package/styles/gantt/material.scss +1 -22
  61. package/styles/gantt/material3-dark.css +1 -2196
  62. package/styles/gantt/material3-dark.scss +1 -22
  63. package/styles/gantt/material3.css +1 -2252
  64. package/styles/gantt/material3.scss +1 -22
  65. package/styles/gantt/tailwind-dark.css +1 -2104
  66. package/styles/gantt/tailwind-dark.scss +1 -22
  67. package/styles/gantt/tailwind.css +1 -2104
  68. package/styles/gantt/tailwind.scss +1 -22
  69. package/styles/highcontrast-light.css +1 -2024
  70. package/styles/highcontrast.css +1 -2136
  71. package/styles/material-dark.css +1 -2087
  72. package/styles/material.css +1 -2131
  73. package/styles/material3-dark.css +1 -2196
  74. package/styles/material3-dark.scss +0 -1
  75. package/styles/material3.css +1 -2252
  76. package/styles/material3.scss +0 -1
  77. package/styles/tailwind-dark.css +1 -2104
  78. package/styles/tailwind.css +1 -2104
  79. package/esm2020/public_api.mjs +0 -3
  80. package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
  81. package/esm2020/src/gantt/columns.directive.mjs +0 -72
  82. package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
  83. package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
  84. package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
  85. package/esm2020/src/gantt/gantt-all.module.mjs +0 -71
  86. package/esm2020/src/gantt/gantt.component.mjs +0 -255
  87. package/esm2020/src/gantt/gantt.module.mjs +0 -79
  88. package/esm2020/src/gantt/holidays.directive.mjs +0 -58
  89. package/esm2020/src/index.mjs +0 -11
  90. package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
  91. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -734
  92. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  93. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -734
  94. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  95. package/styles/gantt/_all.scss +0 -2
  96. package/styles/gantt/_bootstrap-dark-definition.scss +0 -220
  97. package/styles/gantt/_bootstrap-definition.scss +0 -220
  98. package/styles/gantt/_bootstrap4-definition.scss +0 -222
  99. package/styles/gantt/_bootstrap5-dark-definition.scss +0 -1
  100. package/styles/gantt/_bootstrap5-definition.scss +0 -224
  101. package/styles/gantt/_fabric-dark-definition.scss +0 -220
  102. package/styles/gantt/_fabric-definition.scss +0 -220
  103. package/styles/gantt/_fluent-dark-definition.scss +0 -1
  104. package/styles/gantt/_fluent-definition.scss +0 -224
  105. package/styles/gantt/_fusionnew-definition.scss +0 -222
  106. package/styles/gantt/_highcontrast-definition.scss +0 -220
  107. package/styles/gantt/_highcontrast-light-definition.scss +0 -220
  108. package/styles/gantt/_layout.scss +0 -1815
  109. package/styles/gantt/_material-dark-definition.scss +0 -221
  110. package/styles/gantt/_material-definition.scss +0 -221
  111. package/styles/gantt/_material3-dark-definition.scss +0 -1
  112. package/styles/gantt/_material3-definition.scss +0 -225
  113. package/styles/gantt/_tailwind-dark-definition.scss +0 -1
  114. package/styles/gantt/_tailwind-definition.scss +0 -224
  115. package/styles/gantt/_theme.scss +0 -750
  116. package/styles/gantt/icons/_bootstrap-dark.scss +0 -128
  117. package/styles/gantt/icons/_bootstrap.scss +0 -128
  118. package/styles/gantt/icons/_bootstrap4.scss +0 -128
  119. package/styles/gantt/icons/_bootstrap5-dark.scss +0 -1
  120. package/styles/gantt/icons/_bootstrap5.scss +0 -128
  121. package/styles/gantt/icons/_fabric-dark.scss +0 -128
  122. package/styles/gantt/icons/_fabric.scss +0 -128
  123. package/styles/gantt/icons/_fluent-dark.scss +0 -1
  124. package/styles/gantt/icons/_fluent.scss +0 -128
  125. package/styles/gantt/icons/_fusionnew.scss +0 -124
  126. package/styles/gantt/icons/_highcontrast.scss +0 -128
  127. package/styles/gantt/icons/_material-dark.scss +0 -128
  128. package/styles/gantt/icons/_material.scss +0 -128
  129. package/styles/gantt/icons/_material3-dark.scss +0 -1
  130. package/styles/gantt/icons/_material3.scss +0 -128
  131. package/styles/gantt/icons/_tailwind-dark.scss +0 -128
  132. package/styles/gantt/icons/_tailwind.scss +0 -128
@@ -0,0 +1,764 @@
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, 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 = ['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 = ['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', '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', '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
+ this.registerEvents(outputs$6);
532
+ this.addTwoWay.call(this, twoWays);
533
+ setValue('currentInstance', this, this.viewContainerRef);
534
+ this.context = new ComponentBase();
535
+ }
536
+ /**
537
+ * @return {?}
538
+ */
539
+ ngOnInit() {
540
+ this.context.ngOnInit(this);
541
+ }
542
+ /**
543
+ * @return {?}
544
+ */
545
+ ngAfterViewInit() {
546
+ this.context.ngAfterViewInit(this);
547
+ }
548
+ /**
549
+ * @return {?}
550
+ */
551
+ ngOnDestroy() {
552
+ this.context.ngOnDestroy(this);
553
+ }
554
+ /**
555
+ * @return {?}
556
+ */
557
+ ngAfterContentChecked() {
558
+ this.tagObjects[0].instance = this.childColumns;
559
+ if (this.childAddDialogFields) {
560
+ this.tagObjects[1].instance = this.childAddDialogFields;
561
+ }
562
+ if (this.childEditDialogFields) {
563
+ this.tagObjects[2].instance = this.childEditDialogFields;
564
+ }
565
+ if (this.childDayWorkingTime) {
566
+ this.tagObjects[3].instance = this.childDayWorkingTime;
567
+ }
568
+ if (this.childHolidays) {
569
+ this.tagObjects[4].instance = this.childHolidays;
570
+ }
571
+ if (this.childEventMarkers) {
572
+ this.tagObjects[5].instance = this.childEventMarkers;
573
+ }
574
+ this.context.ngAfterContentChecked(this);
575
+ }
576
+ };
577
+ GanttComponent.decorators = [
578
+ { type: Component, args: [{
579
+ selector: 'ejs-gantt',
580
+ inputs: inputs,
581
+ outputs: outputs$6,
582
+ template: '',
583
+ changeDetection: ChangeDetectionStrategy.OnPush,
584
+ queries: {
585
+ childColumns: new ContentChild(ColumnsDirective),
586
+ childAddDialogFields: new ContentChild(AddDialogFieldsDirective),
587
+ childEditDialogFields: new ContentChild(EditDialogFieldsDirective),
588
+ childDayWorkingTime: new ContentChild(DayWorkingTimeCollectionDirective),
589
+ childHolidays: new ContentChild(HolidaysDirective),
590
+ childEventMarkers: new ContentChild(EventMarkersDirective)
591
+ }
592
+ },] },
593
+ ];
594
+ /**
595
+ * @nocollapse
596
+ */
597
+ GanttComponent.ctorParameters = () => [
598
+ { type: ElementRef, },
599
+ { type: Renderer2, },
600
+ { type: ViewContainerRef, },
601
+ { type: Injector, },
602
+ ];
603
+ GanttComponent.propDecorators = {
604
+ 'parentTaskbarTemplate': [{ type: ContentChild, args: ['parentTaskbarTemplate',] },],
605
+ 'milestoneTemplate': [{ type: ContentChild, args: ['milestoneTemplate',] },],
606
+ 'taskbarTemplate': [{ type: ContentChild, args: ['taskbarTemplate',] },],
607
+ 'labelSettings_rightLabel': [{ type: ContentChild, args: ['labelSettingsRightLabel',] },],
608
+ 'labelSettings_leftLabel': [{ type: ContentChild, args: ['labelSettingsLeftLabel',] },],
609
+ 'labelSettings_taskLabel': [{ type: ContentChild, args: ['labelSettingsTaskLabel',] },],
610
+ 'tooltipSettings_taskbar': [{ type: ContentChild, args: ['tooltipSettingsTaskbar',] },],
611
+ 'tooltipSettings_baseline': [{ type: ContentChild, args: ['tooltipSettingsBaseline',] },],
612
+ 'tooltipSettings_connectorLine': [{ type: ContentChild, args: ['tooltipSettingsConnectorLine',] },],
613
+ 'tooltipSettings_editing': [{ type: ContentChild, args: ['tooltipSettingsEditing',] },],
614
+ };
615
+ __decorate$1([
616
+ Template(),
617
+ __metadata$1("design:type", Object)
618
+ ], GanttComponent.prototype, "parentTaskbarTemplate", void 0);
619
+ __decorate$1([
620
+ Template(),
621
+ __metadata$1("design:type", Object)
622
+ ], GanttComponent.prototype, "milestoneTemplate", void 0);
623
+ __decorate$1([
624
+ Template(),
625
+ __metadata$1("design:type", Object)
626
+ ], GanttComponent.prototype, "taskbarTemplate", void 0);
627
+ __decorate$1([
628
+ Template(),
629
+ __metadata$1("design:type", Object)
630
+ ], GanttComponent.prototype, "labelSettings_rightLabel", void 0);
631
+ __decorate$1([
632
+ Template(),
633
+ __metadata$1("design:type", Object)
634
+ ], GanttComponent.prototype, "labelSettings_leftLabel", void 0);
635
+ __decorate$1([
636
+ Template(),
637
+ __metadata$1("design:type", Object)
638
+ ], GanttComponent.prototype, "labelSettings_taskLabel", void 0);
639
+ __decorate$1([
640
+ Template(),
641
+ __metadata$1("design:type", Object)
642
+ ], GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
643
+ __decorate$1([
644
+ Template(),
645
+ __metadata$1("design:type", Object)
646
+ ], GanttComponent.prototype, "tooltipSettings_baseline", void 0);
647
+ __decorate$1([
648
+ Template(),
649
+ __metadata$1("design:type", Object)
650
+ ], GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
651
+ __decorate$1([
652
+ Template(),
653
+ __metadata$1("design:type", Object)
654
+ ], GanttComponent.prototype, "tooltipSettings_editing", void 0);
655
+ GanttComponent = __decorate$1([
656
+ ComponentMixins([ComponentBase]),
657
+ __metadata$1("design:paramtypes", [ElementRef,
658
+ Renderer2,
659
+ ViewContainerRef,
660
+ Injector])
661
+ ], GanttComponent);
662
+
663
+ /**
664
+ * NgModule definition for the Gantt component.
665
+ */
666
+ class GanttModule {
667
+ }
668
+ GanttModule.decorators = [
669
+ { type: NgModule, args: [{
670
+ imports: [CommonModule],
671
+ declarations: [
672
+ GanttComponent,
673
+ ColumnDirective,
674
+ ColumnsDirective,
675
+ AddDialogFieldDirective,
676
+ AddDialogFieldsDirective,
677
+ EditDialogFieldDirective,
678
+ EditDialogFieldsDirective,
679
+ DayWorkingTimeDirective,
680
+ DayWorkingTimeCollectionDirective,
681
+ HolidayDirective,
682
+ HolidaysDirective,
683
+ EventMarkerDirective,
684
+ EventMarkersDirective
685
+ ],
686
+ exports: [
687
+ GanttComponent,
688
+ ColumnDirective,
689
+ ColumnsDirective,
690
+ AddDialogFieldDirective,
691
+ AddDialogFieldsDirective,
692
+ EditDialogFieldDirective,
693
+ EditDialogFieldsDirective,
694
+ DayWorkingTimeDirective,
695
+ DayWorkingTimeCollectionDirective,
696
+ HolidayDirective,
697
+ HolidaysDirective,
698
+ EventMarkerDirective,
699
+ EventMarkersDirective
700
+ ]
701
+ },] },
702
+ ];
703
+ /**
704
+ * @nocollapse
705
+ */
706
+ GanttModule.ctorParameters = () => [];
707
+
708
+ const FilterService = { provide: 'GanttFilter', useValue: Filter };
709
+ const SelectionService = { provide: 'GanttSelection', useValue: Selection };
710
+ const SortService = { provide: 'GanttSort', useValue: Sort };
711
+ const ReorderService = { provide: 'GanttReorder', useValue: Reorder };
712
+ const ResizeService = { provide: 'GanttResize', useValue: Resize };
713
+ const EditService = { provide: 'GanttEdit', useValue: Edit };
714
+ const DayMarkersService = { provide: 'GanttDayMarkers', useValue: DayMarkers };
715
+ const ToolbarService = { provide: 'GanttToolbar', useValue: Toolbar };
716
+ const ContextMenuService = { provide: 'GanttContextMenu', useValue: ContextMenu };
717
+ const ExcelExportService = { provide: 'GanttExcelExport', useValue: ExcelExport };
718
+ const RowDDService = { provide: 'GanttRowDD', useValue: RowDD };
719
+ const ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ColumnMenu };
720
+ const PdfExportService = { provide: 'GanttPdfExport', useValue: PdfExport };
721
+ const VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: VirtualScroll };
722
+ const CriticalPathService = { provide: 'GanttCriticalPath', useValue: CriticalPath };
723
+ /**
724
+ * NgModule definition for the Gantt component with providers.
725
+ */
726
+ class GanttAllModule {
727
+ }
728
+ GanttAllModule.decorators = [
729
+ { type: NgModule, args: [{
730
+ imports: [CommonModule, GanttModule],
731
+ exports: [
732
+ GanttModule
733
+ ],
734
+ providers: [
735
+ FilterService,
736
+ SelectionService,
737
+ SortService,
738
+ ReorderService,
739
+ ResizeService,
740
+ EditService,
741
+ DayMarkersService,
742
+ ToolbarService,
743
+ ContextMenuService,
744
+ ExcelExportService,
745
+ RowDDService,
746
+ ColumnMenuService,
747
+ PdfExportService,
748
+ VirtualScrollService,
749
+ CriticalPathService
750
+ ]
751
+ },] },
752
+ ];
753
+ /**
754
+ * @nocollapse
755
+ */
756
+ GanttAllModule.ctorParameters = () => [];
757
+
758
+ /**
759
+ * Generated bundle index. Do not edit.
760
+ */
761
+
762
+ 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, inputs as ɵa, outputs$6 as ɵb };
763
+ 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, 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';
764
+ //# sourceMappingURL=ej2-angular-gantt.js.map