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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/@syncfusion/ej2-angular-gantt.es5.js +812 -0
  2. package/@syncfusion/ej2-angular-gantt.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-gantt.js +764 -0
  4. package/@syncfusion/ej2-angular-gantt.js.map +1 -0
  5. package/CHANGELOG.md +2105 -0
  6. package/dist/ej2-angular-gantt.umd.js +925 -0
  7. package/dist/ej2-angular-gantt.umd.js.map +1 -0
  8. package/dist/ej2-angular-gantt.umd.min.js +11 -0
  9. package/dist/ej2-angular-gantt.umd.min.js.map +1 -0
  10. package/{syncfusion-ej2-angular-gantt.d.ts → ej2-angular-gantt.d.ts} +1 -1
  11. package/ej2-angular-gantt.metadata.json +1 -0
  12. package/package.json +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/gantt/adddialogfields.directive.d.ts +0 -5
  18. package/src/gantt/columns.directive.d.ts +5 -5
  19. package/src/gantt/dayworkingtime.directive.d.ts +0 -5
  20. package/src/gantt/editdialogfields.directive.d.ts +0 -5
  21. package/src/gantt/eventmarkers.directive.d.ts +0 -5
  22. package/src/gantt/gantt-all.module.d.ts +0 -6
  23. package/src/gantt/gantt.component.d.ts +0 -3
  24. package/src/gantt/gantt.module.d.ts +0 -12
  25. package/src/gantt/holidays.directive.d.ts +0 -5
  26. package/styles/bootstrap-dark.css +1 -2035
  27. package/styles/bootstrap.css +1 -2172
  28. package/styles/bootstrap4.css +1 -2386
  29. package/styles/bootstrap5-dark.css +1 -2073
  30. package/styles/bootstrap5.css +1 -2073
  31. package/styles/fabric-dark.css +1 -1989
  32. package/styles/fabric.css +1 -1982
  33. package/styles/fluent-dark.css +1 -2061
  34. package/styles/fluent.css +1 -2061
  35. package/styles/gantt/bootstrap-dark.css +1 -2035
  36. package/styles/gantt/bootstrap-dark.scss +1 -22
  37. package/styles/gantt/bootstrap.css +1 -2172
  38. package/styles/gantt/bootstrap.scss +1 -22
  39. package/styles/gantt/bootstrap4.css +1 -2386
  40. package/styles/gantt/bootstrap4.scss +1 -22
  41. package/styles/gantt/bootstrap5-dark.css +1 -2073
  42. package/styles/gantt/bootstrap5-dark.scss +1 -22
  43. package/styles/gantt/bootstrap5.css +1 -2073
  44. package/styles/gantt/bootstrap5.scss +1 -22
  45. package/styles/gantt/fabric-dark.css +1 -1989
  46. package/styles/gantt/fabric-dark.scss +1 -22
  47. package/styles/gantt/fabric.css +1 -1982
  48. package/styles/gantt/fabric.scss +1 -22
  49. package/styles/gantt/fluent-dark.css +1 -2061
  50. package/styles/gantt/fluent-dark.scss +1 -22
  51. package/styles/gantt/fluent.css +1 -2061
  52. package/styles/gantt/fluent.scss +1 -22
  53. package/styles/gantt/highcontrast-light.css +1 -1963
  54. package/styles/gantt/highcontrast-light.scss +1 -21
  55. package/styles/gantt/highcontrast.css +1 -2075
  56. package/styles/gantt/highcontrast.scss +1 -22
  57. package/styles/gantt/material-dark.css +1 -2026
  58. package/styles/gantt/material-dark.scss +1 -22
  59. package/styles/gantt/material.css +1 -2070
  60. package/styles/gantt/material.scss +1 -22
  61. package/styles/gantt/material3-dark.css +1 -2135
  62. package/styles/gantt/material3-dark.scss +1 -22
  63. package/styles/gantt/material3.css +1 -2191
  64. package/styles/gantt/material3.scss +1 -22
  65. package/styles/gantt/tailwind-dark.css +1 -2043
  66. package/styles/gantt/tailwind-dark.scss +1 -22
  67. package/styles/gantt/tailwind.css +1 -2043
  68. package/styles/gantt/tailwind.scss +1 -22
  69. package/styles/highcontrast-light.css +1 -1963
  70. package/styles/highcontrast.css +1 -2075
  71. package/styles/material-dark.css +1 -2026
  72. package/styles/material.css +1 -2070
  73. package/styles/material3-dark.css +1 -2135
  74. package/styles/material3-dark.scss +0 -1
  75. package/styles/material3.css +1 -2191
  76. package/styles/material3.scss +0 -1
  77. package/styles/tailwind-dark.css +1 -2043
  78. package/styles/tailwind.css +1 -2043
  79. package/esm2020/public_api.mjs +0 -3
  80. package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
  81. package/esm2020/src/gantt/columns.directive.mjs +0 -72
  82. package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
  83. package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
  84. package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
  85. package/esm2020/src/gantt/gantt-all.module.mjs +0 -71
  86. package/esm2020/src/gantt/gantt.component.mjs +0 -255
  87. package/esm2020/src/gantt/gantt.module.mjs +0 -79
  88. package/esm2020/src/gantt/holidays.directive.mjs +0 -58
  89. package/esm2020/src/index.mjs +0 -11
  90. package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
  91. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -734
  92. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  93. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -734
  94. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  95. package/styles/gantt/_all.scss +0 -2
  96. package/styles/gantt/_bootstrap-dark-definition.scss +0 -215
  97. package/styles/gantt/_bootstrap-definition.scss +0 -215
  98. package/styles/gantt/_bootstrap4-definition.scss +0 -217
  99. package/styles/gantt/_bootstrap5-dark-definition.scss +0 -1
  100. package/styles/gantt/_bootstrap5-definition.scss +0 -219
  101. package/styles/gantt/_fabric-dark-definition.scss +0 -215
  102. package/styles/gantt/_fabric-definition.scss +0 -215
  103. package/styles/gantt/_fluent-dark-definition.scss +0 -1
  104. package/styles/gantt/_fluent-definition.scss +0 -219
  105. package/styles/gantt/_fusionnew-definition.scss +0 -218
  106. package/styles/gantt/_highcontrast-definition.scss +0 -215
  107. package/styles/gantt/_highcontrast-light-definition.scss +0 -215
  108. package/styles/gantt/_layout.scss +0 -1743
  109. package/styles/gantt/_material-dark-definition.scss +0 -216
  110. package/styles/gantt/_material-definition.scss +0 -216
  111. package/styles/gantt/_material3-dark-definition.scss +0 -1
  112. package/styles/gantt/_material3-definition.scss +0 -220
  113. package/styles/gantt/_tailwind-dark-definition.scss +0 -1
  114. package/styles/gantt/_tailwind-definition.scss +0 -219
  115. package/styles/gantt/_theme.scss +0 -739
  116. package/styles/gantt/icons/_bootstrap-dark.scss +0 -128
  117. package/styles/gantt/icons/_bootstrap.scss +0 -128
  118. package/styles/gantt/icons/_bootstrap4.scss +0 -128
  119. package/styles/gantt/icons/_bootstrap5-dark.scss +0 -1
  120. package/styles/gantt/icons/_bootstrap5.scss +0 -128
  121. package/styles/gantt/icons/_fabric-dark.scss +0 -128
  122. package/styles/gantt/icons/_fabric.scss +0 -128
  123. package/styles/gantt/icons/_fluent-dark.scss +0 -1
  124. package/styles/gantt/icons/_fluent.scss +0 -128
  125. package/styles/gantt/icons/_fusionnew.scss +0 -124
  126. package/styles/gantt/icons/_highcontrast.scss +0 -128
  127. package/styles/gantt/icons/_material-dark.scss +0 -128
  128. package/styles/gantt/icons/_material.scss +0 -128
  129. package/styles/gantt/icons/_material3-dark.scss +0 -1
  130. package/styles/gantt/icons/_material3.scss +0 -128
  131. package/styles/gantt/icons/_tailwind-dark.scss +0 -128
  132. package/styles/gantt/icons/_tailwind.scss +0 -128
@@ -1,734 +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 } from '@syncfusion/ej2-gantt';
6
- export * from '@syncfusion/ej2-gantt';
7
- import { CommonModule } from '@angular/common';
8
-
9
- let input$5 = ['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'];
10
- let outputs$6 = [];
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$6);
29
- this.directivePropList = input$5;
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", headerTemplate: "headerTemplate", headerText: "headerText", headerTextAlign: "headerTextAlign", hideAtMedia: "hideAtMedia", isPrimaryKey: "isPrimaryKey", maxWidth: "maxWidth", minWidth: "minWidth", sortComparer: "sortComparer", template: "template", textAlign: "textAlign", type: "type", valueAccessor: "valueAccessor", visible: "visible", width: "width" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], 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
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnDirective, decorators: [{
41
- type: Directive,
42
- args: [{
43
- selector: 'ejs-gantt>e-columns>e-column',
44
- inputs: input$5,
45
- outputs: outputs$6,
46
- queries: {}
47
- }]
48
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { template: [{
49
- type: ContentChild,
50
- args: ['template']
51
- }], headerTemplate: [{
52
- type: ContentChild,
53
- args: ['headerTemplate']
54
- }] } });
55
- /**
56
- * Column Array Directive
57
- * @private
58
- */
59
- class ColumnsDirective extends ArrayBase {
60
- constructor() {
61
- super('columns');
62
- }
63
- }
64
- ColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
65
- 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 });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ColumnsDirective, decorators: [{
67
- type: Directive,
68
- args: [{
69
- selector: 'ejs-gantt>e-columns',
70
- queries: {
71
- children: new ContentChildren(ColumnDirective)
72
- },
73
- }]
74
- }], ctorParameters: function () { return []; } });
75
-
76
- let input$4 = ['fields', 'headerText', 'type'];
77
- let outputs$5 = [];
78
- /**
79
- * `e-add-dialog-field` directive represent a add dialog fields collection in Gantt task add dialog.
80
- * It must be contained in a Gantt component(`ejs-gantt`).
81
- * ```html
82
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
83
- * <e-add-dialog-fields>
84
- * <e-add-dialog-field type='General' headerText='General'></e-add-dialog-field>
85
- * <e-add-dialog-field type='Dependency' headerText='Dependency'></e-add-dialog-field>
86
- * </e-add-dialog-fields>
87
- * </ejs-gantt>
88
- * ```
89
- */
90
- class AddDialogFieldDirective extends ComplexBase {
91
- constructor(viewContainerRef) {
92
- super();
93
- this.viewContainerRef = viewContainerRef;
94
- setValue('currentInstance', this, this.viewContainerRef);
95
- this.registerEvents(outputs$5);
96
- this.directivePropList = input$4;
97
- }
98
- }
99
- AddDialogFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
100
- 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: { fields: "fields", headerText: "headerText", type: "type" }, usesInheritance: true, ngImport: i0 });
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldDirective, decorators: [{
102
- type: Directive,
103
- args: [{
104
- selector: 'ejs-gantt>e-add-dialog-fields>e-add-dialog-field',
105
- inputs: input$4,
106
- outputs: outputs$5,
107
- queries: {}
108
- }]
109
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
110
- /**
111
- * AddDialogField Array Directive
112
- * @private
113
- */
114
- class AddDialogFieldsDirective extends ArrayBase {
115
- constructor() {
116
- super('adddialogfields');
117
- }
118
- }
119
- AddDialogFieldsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
120
- 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 });
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AddDialogFieldsDirective, decorators: [{
122
- type: Directive,
123
- args: [{
124
- selector: 'ejs-gantt>e-add-dialog-fields',
125
- queries: {
126
- children: new ContentChildren(AddDialogFieldDirective)
127
- },
128
- }]
129
- }], ctorParameters: function () { return []; } });
130
-
131
- let input$3 = ['fields', 'headerText', 'type'];
132
- let outputs$4 = [];
133
- /**
134
- * `e-edit-dialog-field` directive represent a edit dialog fields collection in Gantt task add dialog.
135
- * It must be contained in a Gantt component(`ejs-gantt`).
136
- * ```html
137
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
138
- * <e-edit-dialog-fields>
139
- * <e-edit-dialog-field type='General' headerText='General'></e-edit-dialog-field>
140
- * <e-edit-dialog-field type='Dependency' headerText='Dependency'></e-edit-dialog-field>
141
- * </e-edit-dialog-fields>
142
- * </ejs-gantt>
143
- * ```
144
- */
145
- class EditDialogFieldDirective extends ComplexBase {
146
- constructor(viewContainerRef) {
147
- super();
148
- this.viewContainerRef = viewContainerRef;
149
- setValue('currentInstance', this, this.viewContainerRef);
150
- this.registerEvents(outputs$4);
151
- this.directivePropList = input$3;
152
- }
153
- }
154
- EditDialogFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
155
- 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: { fields: "fields", headerText: "headerText", type: "type" }, usesInheritance: true, ngImport: i0 });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldDirective, decorators: [{
157
- type: Directive,
158
- args: [{
159
- selector: 'ejs-gantt>e-edit-dialog-fields>e-edit-dialog-field',
160
- inputs: input$3,
161
- outputs: outputs$4,
162
- queries: {}
163
- }]
164
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
165
- /**
166
- * EditDialogField Array Directive
167
- * @private
168
- */
169
- class EditDialogFieldsDirective extends ArrayBase {
170
- constructor() {
171
- super('editdialogfields');
172
- }
173
- }
174
- EditDialogFieldsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
175
- 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 });
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditDialogFieldsDirective, decorators: [{
177
- type: Directive,
178
- args: [{
179
- selector: 'ejs-gantt>e-edit-dialog-fields',
180
- queries: {
181
- children: new ContentChildren(EditDialogFieldDirective)
182
- },
183
- }]
184
- }], ctorParameters: function () { return []; } });
185
-
186
- let input$2 = ['from', 'to'];
187
- let outputs$3 = [];
188
- /**
189
- * `e-day-working-time-collection` directive represent a working time ranges in a day.
190
- * It must be contained in a Gantt component(`ejs-gantt`).
191
- * ```html
192
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
193
- * <e-day-working-time-collection>
194
- * <e-day-working-time from='8' to='12'></e-day-working-time>
195
- * <e-day-working-time from='13' to='17'></e-day-working-time>
196
- * </e-day-working-time-collection>
197
- * </ejs-gantt>
198
- * ```
199
- */
200
- class DayWorkingTimeDirective extends ComplexBase {
201
- constructor(viewContainerRef) {
202
- super();
203
- this.viewContainerRef = viewContainerRef;
204
- setValue('currentInstance', this, this.viewContainerRef);
205
- this.registerEvents(outputs$3);
206
- this.directivePropList = input$2;
207
- }
208
- }
209
- DayWorkingTimeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
210
- 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 });
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeDirective, decorators: [{
212
- type: Directive,
213
- args: [{
214
- selector: 'ejs-gantt>e-day-working-time-collection>e-day-working-time',
215
- inputs: input$2,
216
- outputs: outputs$3,
217
- queries: {}
218
- }]
219
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
220
- /**
221
- * DayWorkingTime Array Directive
222
- * @private
223
- */
224
- class DayWorkingTimeCollectionDirective extends ArrayBase {
225
- constructor() {
226
- super('dayworkingtime');
227
- }
228
- }
229
- DayWorkingTimeCollectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeCollectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
230
- 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 });
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: DayWorkingTimeCollectionDirective, decorators: [{
232
- type: Directive,
233
- args: [{
234
- selector: 'ejs-gantt>e-day-working-time-collection',
235
- queries: {
236
- children: new ContentChildren(DayWorkingTimeDirective)
237
- },
238
- }]
239
- }], ctorParameters: function () { return []; } });
240
-
241
- let input$1 = ['cssClass', 'from', 'label', 'to'];
242
- let outputs$2 = [];
243
- /**
244
- * `e-holidays` directive represent a holidays collection in Gantt.
245
- * It must be contained in a Gantt component(`ejs-gantt`).
246
- * ```html
247
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
248
- * <e-holidays>
249
- * <e-holiday from='02/20/2018' label='Holiday 1'></e-holiday>
250
- * <e-holiday from='05/15/2018' label='Holiday 2'></e-holiday>
251
- * </e-holidays>
252
- * </ejs-gantt>
253
- * ```
254
- */
255
- class HolidayDirective extends ComplexBase {
256
- constructor(viewContainerRef) {
257
- super();
258
- this.viewContainerRef = viewContainerRef;
259
- setValue('currentInstance', this, this.viewContainerRef);
260
- this.registerEvents(outputs$2);
261
- this.directivePropList = input$1;
262
- }
263
- }
264
- HolidayDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidayDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
265
- 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 });
266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidayDirective, decorators: [{
267
- type: Directive,
268
- args: [{
269
- selector: 'ejs-gantt>e-holidays>e-holidays',
270
- inputs: input$1,
271
- outputs: outputs$2,
272
- queries: {}
273
- }]
274
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
275
- /**
276
- * Holiday Array Directive
277
- * @private
278
- */
279
- class HolidaysDirective extends ArrayBase {
280
- constructor() {
281
- super('holidays');
282
- }
283
- }
284
- HolidaysDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidaysDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
285
- 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 });
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: HolidaysDirective, decorators: [{
287
- type: Directive,
288
- args: [{
289
- selector: 'ejs-gantt>e-holidays',
290
- queries: {
291
- children: new ContentChildren(HolidayDirective)
292
- },
293
- }]
294
- }], ctorParameters: function () { return []; } });
295
-
296
- let input = ['cssClass', 'day', 'label'];
297
- let outputs$1 = [];
298
- /**
299
- * `e-event-markers` directive represent a event marker collection in Gantt.
300
- * It must be contained in a Gantt component(`ejs-gantt`).
301
- * ```html
302
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
303
- * <e-event-markers>
304
- * <e-event-marker day='02/10/2018' label='Project Starts'></e-event-marker>
305
- * </e-event-markers>
306
- * </ejs-gantt>
307
- * ```
308
- */
309
- class EventMarkerDirective extends ComplexBase {
310
- constructor(viewContainerRef) {
311
- super();
312
- this.viewContainerRef = viewContainerRef;
313
- setValue('currentInstance', this, this.viewContainerRef);
314
- this.registerEvents(outputs$1);
315
- this.directivePropList = input;
316
- }
317
- }
318
- EventMarkerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkerDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
319
- 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" }, usesInheritance: true, ngImport: i0 });
320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkerDirective, decorators: [{
321
- type: Directive,
322
- args: [{
323
- selector: 'ejs-gantt>e-event-markers>e-event-marker',
324
- inputs: input,
325
- outputs: outputs$1,
326
- queries: {}
327
- }]
328
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
329
- /**
330
- * EventMarker Array Directive
331
- * @private
332
- */
333
- class EventMarkersDirective extends ArrayBase {
334
- constructor() {
335
- super('eventmarkers');
336
- }
337
- }
338
- EventMarkersDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkersDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
339
- 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 });
340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EventMarkersDirective, decorators: [{
341
- type: Directive,
342
- args: [{
343
- selector: 'ejs-gantt>e-event-markers',
344
- queries: {
345
- children: new ContentChildren(EventMarkerDirective)
346
- },
347
- }]
348
- }], ctorParameters: function () { return []; } });
349
-
350
- const inputs = ['UpdateOffsetOnTaskbarEdit', 'addDialogFields', 'allowExcelExport', 'allowFiltering', 'allowKeyboard', 'allowParentDependency', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTaskbarDragAndDrop', 'allowTaskbarOverlap', 'allowUnscheduledTasks', 'autoCalculateDateScheduling', 'autoFocusTasks', 'baselineColor', 'collapseAllParentTasks', 'columnMenuItems', 'columns', 'connectorLineBackground', 'connectorLineWidth', 'contextMenuItems', 'dataSource', 'dateFormat', 'dayWorkingTime', 'disableHtmlEncode', 'durationUnit', 'editDialogFields', 'editSettings', 'enableContextMenu', 'enableCriticalPath', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableVirtualMaskRow', 'enableVirtualization', 'eventMarkers', 'filterSettings', 'gridLines', 'height', 'highlightWeekends', 'holidays', 'includeWeekend', 'labelSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'milestoneTemplate', 'parentTaskbarTemplate', 'projectEndDate', 'projectStartDate', 'query', 'readOnly', 'renderBaseline', 'resourceFields', 'resourceIDMapping', 'resourceNameMapping', 'resources', 'rowHeight', 'searchSettings', 'segmentData', 'selectedRowIndex', 'selectionSettings', 'showColumnMenu', 'showInlineNotes', 'showOverAllocation', 'sortSettings', 'splitterSettings', 'taskFields', 'taskMode', 'taskType', 'taskbarHeight', 'taskbarTemplate', 'timelineSettings', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'width', 'workUnit', 'workWeek', 'zoomingLevels'];
351
- const outputs = ['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'];
352
- const twoWays = ['dataSource'];
353
- /**
354
- * `ejs-gantt` represents the Angular Gantt Component.
355
- * ```html
356
- * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'></ejs-gantt>
357
- * ```
358
- */
359
- let GanttComponent = class GanttComponent extends Gantt {
360
- constructor(ngEle, srenderer, viewContainerRef, injector) {
361
- super();
362
- this.ngEle = ngEle;
363
- this.srenderer = srenderer;
364
- this.viewContainerRef = viewContainerRef;
365
- this.injector = injector;
366
- this.tags = ['columns', 'addDialogFields', 'editDialogFields', 'dayWorkingTime', 'holidays', 'eventMarkers'];
367
- this.element = this.ngEle.nativeElement;
368
- this.injectedModules = this.injectedModules || [];
369
- try {
370
- let mod = this.injector.get('GanttFilter');
371
- if (this.injectedModules.indexOf(mod) === -1) {
372
- this.injectedModules.push(mod);
373
- }
374
- }
375
- catch { }
376
- try {
377
- let mod = this.injector.get('GanttSelection');
378
- if (this.injectedModules.indexOf(mod) === -1) {
379
- this.injectedModules.push(mod);
380
- }
381
- }
382
- catch { }
383
- try {
384
- let mod = this.injector.get('GanttSort');
385
- if (this.injectedModules.indexOf(mod) === -1) {
386
- this.injectedModules.push(mod);
387
- }
388
- }
389
- catch { }
390
- try {
391
- let mod = this.injector.get('GanttReorder');
392
- if (this.injectedModules.indexOf(mod) === -1) {
393
- this.injectedModules.push(mod);
394
- }
395
- }
396
- catch { }
397
- try {
398
- let mod = this.injector.get('GanttResize');
399
- if (this.injectedModules.indexOf(mod) === -1) {
400
- this.injectedModules.push(mod);
401
- }
402
- }
403
- catch { }
404
- try {
405
- let mod = this.injector.get('GanttEdit');
406
- if (this.injectedModules.indexOf(mod) === -1) {
407
- this.injectedModules.push(mod);
408
- }
409
- }
410
- catch { }
411
- try {
412
- let mod = this.injector.get('GanttDayMarkers');
413
- if (this.injectedModules.indexOf(mod) === -1) {
414
- this.injectedModules.push(mod);
415
- }
416
- }
417
- catch { }
418
- try {
419
- let mod = this.injector.get('GanttToolbar');
420
- if (this.injectedModules.indexOf(mod) === -1) {
421
- this.injectedModules.push(mod);
422
- }
423
- }
424
- catch { }
425
- try {
426
- let mod = this.injector.get('GanttContextMenu');
427
- if (this.injectedModules.indexOf(mod) === -1) {
428
- this.injectedModules.push(mod);
429
- }
430
- }
431
- catch { }
432
- try {
433
- let mod = this.injector.get('GanttExcelExport');
434
- if (this.injectedModules.indexOf(mod) === -1) {
435
- this.injectedModules.push(mod);
436
- }
437
- }
438
- catch { }
439
- try {
440
- let mod = this.injector.get('GanttRowDD');
441
- if (this.injectedModules.indexOf(mod) === -1) {
442
- this.injectedModules.push(mod);
443
- }
444
- }
445
- catch { }
446
- try {
447
- let mod = this.injector.get('GanttColumnMenu');
448
- if (this.injectedModules.indexOf(mod) === -1) {
449
- this.injectedModules.push(mod);
450
- }
451
- }
452
- catch { }
453
- try {
454
- let mod = this.injector.get('GanttPdfExport');
455
- if (this.injectedModules.indexOf(mod) === -1) {
456
- this.injectedModules.push(mod);
457
- }
458
- }
459
- catch { }
460
- try {
461
- let mod = this.injector.get('GanttVirtualScroll');
462
- if (this.injectedModules.indexOf(mod) === -1) {
463
- this.injectedModules.push(mod);
464
- }
465
- }
466
- catch { }
467
- try {
468
- let mod = this.injector.get('GanttCriticalPath');
469
- if (this.injectedModules.indexOf(mod) === -1) {
470
- this.injectedModules.push(mod);
471
- }
472
- }
473
- catch { }
474
- this.registerEvents(outputs);
475
- this.addTwoWay.call(this, twoWays);
476
- setValue('currentInstance', this, this.viewContainerRef);
477
- this.context = new ComponentBase();
478
- }
479
- ngOnInit() {
480
- this.context.ngOnInit(this);
481
- }
482
- ngAfterViewInit() {
483
- this.context.ngAfterViewInit(this);
484
- }
485
- ngOnDestroy() {
486
- this.context.ngOnDestroy(this);
487
- }
488
- ngAfterContentChecked() {
489
- this.tagObjects[0].instance = this.childColumns;
490
- if (this.childAddDialogFields) {
491
- this.tagObjects[1].instance = this.childAddDialogFields;
492
- }
493
- if (this.childEditDialogFields) {
494
- this.tagObjects[2].instance = this.childEditDialogFields;
495
- }
496
- if (this.childDayWorkingTime) {
497
- this.tagObjects[3].instance = this.childDayWorkingTime;
498
- }
499
- if (this.childHolidays) {
500
- this.tagObjects[4].instance = this.childHolidays;
501
- }
502
- if (this.childEventMarkers) {
503
- this.tagObjects[5].instance = this.childEventMarkers;
504
- }
505
- this.context.ngAfterContentChecked(this);
506
- }
507
- };
508
- 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 });
509
- GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: GanttComponent, selector: "ejs-gantt", inputs: { UpdateOffsetOnTaskbarEdit: "UpdateOffsetOnTaskbarEdit", 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", 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", enableContextMenu: "enableContextMenu", enableCriticalPath: "enableCriticalPath", enableHtmlSanitizer: "enableHtmlSanitizer", enableImmutableMode: "enableImmutableMode", enableMultiTaskbar: "enableMultiTaskbar", enablePersistence: "enablePersistence", enablePredecessorValidation: "enablePredecessorValidation", enableRtl: "enableRtl", enableVirtualMaskRow: "enableVirtualMaskRow", enableVirtualization: "enableVirtualization", eventMarkers: "eventMarkers", filterSettings: "filterSettings", 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", timezone: "timezone", toolbar: "toolbar", tooltipSettings: "tooltipSettings", treeColumnIndex: "treeColumnIndex", validateManualTasksOnLinking: "validateManualTasksOnLinking", viewType: "viewType", width: "width", workUnit: "workUnit", workWeek: "workWeek", zoomingLevels: "zoomingLevels" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", beforeExcelExport: "beforeExcelExport", beforePdfExport: "beforePdfExport", beforeTooltipRender: "beforeTooltipRender", cellDeselected: "cellDeselected", cellDeselecting: "cellDeselecting", cellEdit: "cellEdit", 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: "milestoneTemplate", first: true, predicate: ["milestoneTemplate"], descendants: true }, { propertyName: "taskbarTemplate", first: true, predicate: ["taskbarTemplate"], 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: "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: "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 });
510
- __decorate([
511
- Template()
512
- ], GanttComponent.prototype, "parentTaskbarTemplate", void 0);
513
- __decorate([
514
- Template()
515
- ], GanttComponent.prototype, "milestoneTemplate", void 0);
516
- __decorate([
517
- Template()
518
- ], GanttComponent.prototype, "taskbarTemplate", void 0);
519
- __decorate([
520
- Template()
521
- ], GanttComponent.prototype, "labelSettings_rightLabel", void 0);
522
- __decorate([
523
- Template()
524
- ], GanttComponent.prototype, "labelSettings_leftLabel", void 0);
525
- __decorate([
526
- Template()
527
- ], GanttComponent.prototype, "labelSettings_taskLabel", void 0);
528
- __decorate([
529
- Template()
530
- ], GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
531
- __decorate([
532
- Template()
533
- ], GanttComponent.prototype, "tooltipSettings_baseline", void 0);
534
- __decorate([
535
- Template()
536
- ], GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
537
- __decorate([
538
- Template()
539
- ], GanttComponent.prototype, "tooltipSettings_editing", void 0);
540
- GanttComponent = __decorate([
541
- ComponentMixins([ComponentBase])
542
- ], GanttComponent);
543
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttComponent, decorators: [{
544
- type: Component,
545
- args: [{
546
- selector: 'ejs-gantt',
547
- inputs: inputs,
548
- outputs: outputs,
549
- template: '',
550
- changeDetection: ChangeDetectionStrategy.OnPush,
551
- queries: {
552
- childColumns: new ContentChild(ColumnsDirective),
553
- childAddDialogFields: new ContentChild(AddDialogFieldsDirective),
554
- childEditDialogFields: new ContentChild(EditDialogFieldsDirective),
555
- childDayWorkingTime: new ContentChild(DayWorkingTimeCollectionDirective),
556
- childHolidays: new ContentChild(HolidaysDirective),
557
- childEventMarkers: new ContentChild(EventMarkersDirective)
558
- }
559
- }]
560
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { parentTaskbarTemplate: [{
561
- type: ContentChild,
562
- args: ['parentTaskbarTemplate']
563
- }], milestoneTemplate: [{
564
- type: ContentChild,
565
- args: ['milestoneTemplate']
566
- }], taskbarTemplate: [{
567
- type: ContentChild,
568
- args: ['taskbarTemplate']
569
- }], labelSettings_rightLabel: [{
570
- type: ContentChild,
571
- args: ['labelSettingsRightLabel']
572
- }], labelSettings_leftLabel: [{
573
- type: ContentChild,
574
- args: ['labelSettingsLeftLabel']
575
- }], labelSettings_taskLabel: [{
576
- type: ContentChild,
577
- args: ['labelSettingsTaskLabel']
578
- }], tooltipSettings_taskbar: [{
579
- type: ContentChild,
580
- args: ['tooltipSettingsTaskbar']
581
- }], tooltipSettings_baseline: [{
582
- type: ContentChild,
583
- args: ['tooltipSettingsBaseline']
584
- }], tooltipSettings_connectorLine: [{
585
- type: ContentChild,
586
- args: ['tooltipSettingsConnectorLine']
587
- }], tooltipSettings_editing: [{
588
- type: ContentChild,
589
- args: ['tooltipSettingsEditing']
590
- }] } });
591
-
592
- /**
593
- * NgModule definition for the Gantt component.
594
- */
595
- class GanttModule {
596
- }
597
- GanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
598
- GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, declarations: [GanttComponent,
599
- ColumnDirective,
600
- ColumnsDirective,
601
- AddDialogFieldDirective,
602
- AddDialogFieldsDirective,
603
- EditDialogFieldDirective,
604
- EditDialogFieldsDirective,
605
- DayWorkingTimeDirective,
606
- DayWorkingTimeCollectionDirective,
607
- HolidayDirective,
608
- HolidaysDirective,
609
- EventMarkerDirective,
610
- EventMarkersDirective], imports: [CommonModule], exports: [GanttComponent,
611
- ColumnDirective,
612
- ColumnsDirective,
613
- AddDialogFieldDirective,
614
- AddDialogFieldsDirective,
615
- EditDialogFieldDirective,
616
- EditDialogFieldsDirective,
617
- DayWorkingTimeDirective,
618
- DayWorkingTimeCollectionDirective,
619
- HolidayDirective,
620
- HolidaysDirective,
621
- EventMarkerDirective,
622
- EventMarkersDirective] });
623
- GanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, imports: [[CommonModule]] });
624
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, decorators: [{
625
- type: NgModule,
626
- args: [{
627
- imports: [CommonModule],
628
- declarations: [
629
- GanttComponent,
630
- ColumnDirective,
631
- ColumnsDirective,
632
- AddDialogFieldDirective,
633
- AddDialogFieldsDirective,
634
- EditDialogFieldDirective,
635
- EditDialogFieldsDirective,
636
- DayWorkingTimeDirective,
637
- DayWorkingTimeCollectionDirective,
638
- HolidayDirective,
639
- HolidaysDirective,
640
- EventMarkerDirective,
641
- EventMarkersDirective
642
- ],
643
- exports: [
644
- GanttComponent,
645
- ColumnDirective,
646
- ColumnsDirective,
647
- AddDialogFieldDirective,
648
- AddDialogFieldsDirective,
649
- EditDialogFieldDirective,
650
- EditDialogFieldsDirective,
651
- DayWorkingTimeDirective,
652
- DayWorkingTimeCollectionDirective,
653
- HolidayDirective,
654
- HolidaysDirective,
655
- EventMarkerDirective,
656
- EventMarkersDirective
657
- ]
658
- }]
659
- }] });
660
-
661
- const FilterService = { provide: 'GanttFilter', useValue: Filter };
662
- const SelectionService = { provide: 'GanttSelection', useValue: Selection };
663
- const SortService = { provide: 'GanttSort', useValue: Sort };
664
- const ReorderService = { provide: 'GanttReorder', useValue: Reorder };
665
- const ResizeService = { provide: 'GanttResize', useValue: Resize };
666
- const EditService = { provide: 'GanttEdit', useValue: Edit };
667
- const DayMarkersService = { provide: 'GanttDayMarkers', useValue: DayMarkers };
668
- const ToolbarService = { provide: 'GanttToolbar', useValue: Toolbar };
669
- const ContextMenuService = { provide: 'GanttContextMenu', useValue: ContextMenu };
670
- const ExcelExportService = { provide: 'GanttExcelExport', useValue: ExcelExport };
671
- const RowDDService = { provide: 'GanttRowDD', useValue: RowDD };
672
- const ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ColumnMenu };
673
- const PdfExportService = { provide: 'GanttPdfExport', useValue: PdfExport };
674
- const VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: VirtualScroll };
675
- const CriticalPathService = { provide: 'GanttCriticalPath', useValue: CriticalPath };
676
- /**
677
- * NgModule definition for the Gantt component with providers.
678
- */
679
- class GanttAllModule {
680
- }
681
- GanttAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
682
- GanttAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, imports: [CommonModule, GanttModule], exports: [GanttModule] });
683
- GanttAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, providers: [
684
- FilterService,
685
- SelectionService,
686
- SortService,
687
- ReorderService,
688
- ResizeService,
689
- EditService,
690
- DayMarkersService,
691
- ToolbarService,
692
- ContextMenuService,
693
- ExcelExportService,
694
- RowDDService,
695
- ColumnMenuService,
696
- PdfExportService,
697
- VirtualScrollService,
698
- CriticalPathService
699
- ], imports: [[CommonModule, GanttModule], GanttModule] });
700
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, decorators: [{
701
- type: NgModule,
702
- args: [{
703
- imports: [CommonModule, GanttModule],
704
- exports: [
705
- GanttModule
706
- ],
707
- providers: [
708
- FilterService,
709
- SelectionService,
710
- SortService,
711
- ReorderService,
712
- ResizeService,
713
- EditService,
714
- DayMarkersService,
715
- ToolbarService,
716
- ContextMenuService,
717
- ExcelExportService,
718
- RowDDService,
719
- ColumnMenuService,
720
- PdfExportService,
721
- VirtualScrollService,
722
- CriticalPathService
723
- ]
724
- }]
725
- }] });
726
-
727
- // Mapping root file for package generation
728
-
729
- /**
730
- * Generated bundle index. Do not edit.
731
- */
732
-
733
- export { AddDialogFieldDirective, AddDialogFieldsDirective, ColumnDirective, ColumnMenuService, ColumnsDirective, ContextMenuService, CriticalPathService, DayMarkersService, DayWorkingTimeCollectionDirective, DayWorkingTimeDirective, EditDialogFieldDirective, EditDialogFieldsDirective, EditService, EventMarkerDirective, EventMarkersDirective, ExcelExportService, FilterService, GanttAllModule, GanttComponent, GanttModule, HolidayDirective, HolidaysDirective, PdfExportService, ReorderService, ResizeService, RowDDService, SelectionService, SortService, ToolbarService, VirtualScrollService };
734
- //# sourceMappingURL=syncfusion-ej2-angular-gantt.mjs.map