@syncfusion/ej2-angular-gantt 20.2.39 → 20.2.44-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 (166) 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 +1326 -0
  6. package/dist/ej2-angular-gantt.umd.js +908 -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 +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/collection.json +30 -0
  15. package/schematics/generators/gantt-daymarkers/index.d.ts +3 -0
  16. package/schematics/generators/gantt-daymarkers/index.js +8 -0
  17. package/schematics/generators/gantt-daymarkers/sample-details.d.ts +5 -0
  18. package/schematics/generators/gantt-daymarkers/sample-details.js +7 -0
  19. package/schematics/generators/gantt-daymarkers/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +9 -0
  20. package/schematics/generators/gantt-daymarkers/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +6 -0
  21. package/schematics/generators/gantt-daymarkers/schema.d.ts +3 -0
  22. package/schematics/generators/gantt-daymarkers/schema.js +2 -0
  23. package/schematics/generators/gantt-daymarkers/schema.json +125 -0
  24. package/schematics/generators/gantt-default/index.d.ts +3 -0
  25. package/schematics/generators/gantt-default/index.js +8 -0
  26. package/schematics/generators/gantt-default/sample-details.d.ts +5 -0
  27. package/schematics/generators/gantt-default/sample-details.js +7 -0
  28. package/schematics/generators/gantt-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  29. package/schematics/generators/gantt-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
  30. package/schematics/generators/gantt-default/schema.d.ts +3 -0
  31. package/schematics/generators/gantt-default/schema.js +2 -0
  32. package/schematics/generators/gantt-default/schema.json +125 -0
  33. package/schematics/generators/gantt-editing/index.d.ts +3 -0
  34. package/schematics/generators/gantt-editing/index.js +8 -0
  35. package/schematics/generators/gantt-editing/sample-details.d.ts +5 -0
  36. package/schematics/generators/gantt-editing/sample-details.js +7 -0
  37. package/schematics/generators/gantt-editing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +4 -0
  38. package/schematics/generators/gantt-editing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  39. package/schematics/generators/gantt-editing/schema.d.ts +3 -0
  40. package/schematics/generators/gantt-editing/schema.js +2 -0
  41. package/schematics/generators/gantt-editing/schema.json +125 -0
  42. package/schematics/generators/gantt-localdata/index.d.ts +3 -0
  43. package/schematics/generators/gantt-localdata/index.js +8 -0
  44. package/schematics/generators/gantt-localdata/sample-details.d.ts +5 -0
  45. package/schematics/generators/gantt-localdata/sample-details.js +7 -0
  46. package/schematics/generators/gantt-localdata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +4 -0
  47. package/schematics/generators/gantt-localdata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  48. package/schematics/generators/gantt-localdata/schema.d.ts +3 -0
  49. package/schematics/generators/gantt-localdata/schema.js +2 -0
  50. package/schematics/generators/gantt-localdata/schema.json +125 -0
  51. package/schematics/ng-add/index.d.ts +3 -0
  52. package/schematics/ng-add/index.js +9 -0
  53. package/schematics/ng-add/schema.d.ts +13 -0
  54. package/schematics/ng-add/schema.js +2 -0
  55. package/schematics/ng-add/schema.json +34 -0
  56. package/schematics/tsconfig.json +25 -0
  57. package/schematics/utils/lib-details.d.ts +4 -0
  58. package/schematics/utils/lib-details.js +6 -0
  59. package/schematics/utils/lib-details.ts +2 -2
  60. package/src/gantt/adddialogfields.directive.d.ts +0 -5
  61. package/src/gantt/columns.directive.d.ts +0 -5
  62. package/src/gantt/dayworkingtime.directive.d.ts +0 -5
  63. package/src/gantt/editdialogfields.directive.d.ts +0 -5
  64. package/src/gantt/eventmarkers.directive.d.ts +0 -5
  65. package/src/gantt/gantt-all.module.d.ts +1 -6
  66. package/src/gantt/gantt.component.d.ts +0 -3
  67. package/src/gantt/gantt.module.d.ts +0 -12
  68. package/src/gantt/holidays.directive.d.ts +0 -5
  69. package/src/index.d.ts +1 -1
  70. package/styles/bootstrap-dark.css +61 -64
  71. package/styles/bootstrap.css +61 -64
  72. package/styles/bootstrap4.css +61 -64
  73. package/styles/bootstrap5-dark.css +62 -68
  74. package/styles/bootstrap5.css +62 -68
  75. package/styles/fabric-dark.css +61 -64
  76. package/styles/fabric.css +61 -64
  77. package/styles/fluent-dark.css +61 -64
  78. package/styles/fluent.css +61 -64
  79. package/styles/gantt/bootstrap-dark.css +61 -64
  80. package/styles/gantt/bootstrap-dark.scss +1 -22
  81. package/styles/gantt/bootstrap.css +61 -64
  82. package/styles/gantt/bootstrap.scss +1 -22
  83. package/styles/gantt/bootstrap4.css +61 -64
  84. package/styles/gantt/bootstrap4.scss +1 -22
  85. package/styles/gantt/bootstrap5-dark.css +62 -68
  86. package/styles/gantt/bootstrap5-dark.scss +1 -22
  87. package/styles/gantt/bootstrap5.css +62 -68
  88. package/styles/gantt/bootstrap5.scss +1 -22
  89. package/styles/gantt/fabric-dark.css +61 -64
  90. package/styles/gantt/fabric-dark.scss +1 -22
  91. package/styles/gantt/fabric.css +61 -64
  92. package/styles/gantt/fabric.scss +1 -22
  93. package/styles/gantt/fluent-dark.css +61 -64
  94. package/styles/gantt/fluent-dark.scss +1 -22
  95. package/styles/gantt/fluent.css +61 -64
  96. package/styles/gantt/fluent.scss +1 -22
  97. package/styles/gantt/highcontrast-light.css +61 -67
  98. package/styles/gantt/highcontrast-light.scss +1 -21
  99. package/styles/gantt/highcontrast.css +61 -67
  100. package/styles/gantt/highcontrast.scss +1 -22
  101. package/styles/gantt/material-dark.css +64 -67
  102. package/styles/gantt/material-dark.scss +1 -22
  103. package/styles/gantt/material.css +64 -67
  104. package/styles/gantt/material.scss +1 -22
  105. package/styles/gantt/tailwind-dark.css +63 -66
  106. package/styles/gantt/tailwind-dark.scss +1 -22
  107. package/styles/gantt/tailwind.css +63 -66
  108. package/styles/gantt/tailwind.scss +1 -22
  109. package/styles/highcontrast-light.css +61 -67
  110. package/styles/highcontrast.css +61 -67
  111. package/styles/material-dark.css +64 -67
  112. package/styles/material.css +64 -67
  113. package/styles/tailwind-dark.css +63 -66
  114. package/styles/tailwind.css +63 -66
  115. package/esm2020/public_api.mjs +0 -3
  116. package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
  117. package/esm2020/src/gantt/columns.directive.mjs +0 -72
  118. package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
  119. package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
  120. package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
  121. package/esm2020/src/gantt/gantt-all.module.mjs +0 -68
  122. package/esm2020/src/gantt/gantt.component.mjs +0 -248
  123. package/esm2020/src/gantt/gantt.module.mjs +0 -79
  124. package/esm2020/src/gantt/holidays.directive.mjs +0 -58
  125. package/esm2020/src/index.mjs +0 -11
  126. package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
  127. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -724
  128. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  129. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -724
  130. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  131. package/styles/gantt/_all.scss +0 -2
  132. package/styles/gantt/_bootstrap-dark-definition.scss +0 -207
  133. package/styles/gantt/_bootstrap-definition.scss +0 -208
  134. package/styles/gantt/_bootstrap4-definition.scss +0 -210
  135. package/styles/gantt/_bootstrap5-dark-definition.scss +0 -1
  136. package/styles/gantt/_bootstrap5-definition.scss +0 -212
  137. package/styles/gantt/_fabric-dark-definition.scss +0 -208
  138. package/styles/gantt/_fabric-definition.scss +0 -208
  139. package/styles/gantt/_fluent-dark-definition.scss +0 -1
  140. package/styles/gantt/_fluent-definition.scss +0 -212
  141. package/styles/gantt/_fusionnew-definition.scss +0 -211
  142. package/styles/gantt/_highcontrast-definition.scss +0 -208
  143. package/styles/gantt/_highcontrast-light-definition.scss +0 -208
  144. package/styles/gantt/_layout.scss +0 -1354
  145. package/styles/gantt/_material-dark-definition.scss +0 -209
  146. package/styles/gantt/_material-definition.scss +0 -209
  147. package/styles/gantt/_material3-definition.scss +0 -212
  148. package/styles/gantt/_tailwind-dark-definition.scss +0 -1
  149. package/styles/gantt/_tailwind-definition.scss +0 -212
  150. package/styles/gantt/_theme.scss +0 -702
  151. package/styles/gantt/icons/_bootstrap-dark.scss +0 -124
  152. package/styles/gantt/icons/_bootstrap.scss +0 -124
  153. package/styles/gantt/icons/_bootstrap4.scss +0 -124
  154. package/styles/gantt/icons/_bootstrap5-dark.scss +0 -1
  155. package/styles/gantt/icons/_bootstrap5.scss +0 -124
  156. package/styles/gantt/icons/_fabric-dark.scss +0 -124
  157. package/styles/gantt/icons/_fabric.scss +0 -124
  158. package/styles/gantt/icons/_fluent-dark.scss +0 -1
  159. package/styles/gantt/icons/_fluent.scss +0 -124
  160. package/styles/gantt/icons/_fusionnew.scss +0 -120
  161. package/styles/gantt/icons/_highcontrast.scss +0 -124
  162. package/styles/gantt/icons/_material-dark.scss +0 -124
  163. package/styles/gantt/icons/_material.scss +0 -124
  164. package/styles/gantt/icons/_material3.scss +0 -124
  165. package/styles/gantt/icons/_tailwind-dark.scss +0 -124
  166. package/styles/gantt/icons/_tailwind.scss +0 -124
@@ -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', '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 = ['addDialogFields', 'allowExcelExport', 'allowFiltering', 'allowKeyboard', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowUnscheduledTasks', 'autoFocusTasks', 'baselineColor', 'collapseAllParentTasks', 'columnMenuItems', 'columns', 'connectorLineBackground', 'connectorLineWidth', 'contextMenuItems', 'dataSource', 'dateFormat', 'dayWorkingTime', 'disableHtmlEncode', 'durationUnit', 'editDialogFields', 'editSettings', 'enableContextMenu', 'enableCriticalPath', 'enableImmutableMode', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableVirtualization', 'eventMarkers', 'filterSettings', 'gridLines', 'height', 'highlightWeekends', 'holidays', 'includeWeekend', 'labelSettings', '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'];
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 } from '@syncfusion/ej2-gantt';
764
+ //# sourceMappingURL=ej2-angular-gantt.js.map