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