@syncfusion/ej2-angular-gantt 20.2.36 → 20.2.37-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/@syncfusion/ej2-angular-gantt.es5.js +812 -0
  2. package/@syncfusion/ej2-angular-gantt.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-gantt.js +764 -0
  4. package/@syncfusion/ej2-angular-gantt.js.map +1 -0
  5. package/CHANGELOG.md +1274 -0
  6. package/dist/ej2-angular-gantt.umd.js +908 -0
  7. package/dist/ej2-angular-gantt.umd.js.map +1 -0
  8. package/dist/ej2-angular-gantt.umd.min.js +11 -0
  9. package/dist/ej2-angular-gantt.umd.min.js.map +1 -0
  10. package/{syncfusion-ej2-angular-gantt.d.ts → ej2-angular-gantt.d.ts} +1 -1
  11. package/ej2-angular-gantt.metadata.json +1 -0
  12. package/package.json +20 -34
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/collection.json +30 -0
  15. package/schematics/generators/gantt-daymarkers/index.d.ts +3 -0
  16. package/schematics/generators/gantt-daymarkers/index.js +8 -0
  17. package/schematics/generators/gantt-daymarkers/sample-details.d.ts +5 -0
  18. package/schematics/generators/gantt-daymarkers/sample-details.js +7 -0
  19. package/schematics/generators/gantt-daymarkers/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +9 -0
  20. package/schematics/generators/gantt-daymarkers/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +6 -0
  21. package/schematics/generators/gantt-daymarkers/schema.d.ts +3 -0
  22. package/schematics/generators/gantt-daymarkers/schema.js +2 -0
  23. package/schematics/generators/gantt-daymarkers/schema.json +125 -0
  24. package/schematics/generators/gantt-default/index.d.ts +3 -0
  25. package/schematics/generators/gantt-default/index.js +8 -0
  26. package/schematics/generators/gantt-default/sample-details.d.ts +5 -0
  27. package/schematics/generators/gantt-default/sample-details.js +7 -0
  28. package/schematics/generators/gantt-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  29. package/schematics/generators/gantt-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +4 -0
  30. package/schematics/generators/gantt-default/schema.d.ts +3 -0
  31. package/schematics/generators/gantt-default/schema.js +2 -0
  32. package/schematics/generators/gantt-default/schema.json +125 -0
  33. package/schematics/generators/gantt-editing/index.d.ts +3 -0
  34. package/schematics/generators/gantt-editing/index.js +8 -0
  35. package/schematics/generators/gantt-editing/sample-details.d.ts +5 -0
  36. package/schematics/generators/gantt-editing/sample-details.js +7 -0
  37. package/schematics/generators/gantt-editing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +4 -0
  38. package/schematics/generators/gantt-editing/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  39. package/schematics/generators/gantt-editing/schema.d.ts +3 -0
  40. package/schematics/generators/gantt-editing/schema.js +2 -0
  41. package/schematics/generators/gantt-editing/schema.json +125 -0
  42. package/schematics/generators/gantt-localdata/index.d.ts +3 -0
  43. package/schematics/generators/gantt-localdata/index.js +8 -0
  44. package/schematics/generators/gantt-localdata/sample-details.d.ts +5 -0
  45. package/schematics/generators/gantt-localdata/sample-details.js +7 -0
  46. package/schematics/generators/gantt-localdata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +4 -0
  47. package/schematics/generators/gantt-localdata/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
  48. package/schematics/generators/gantt-localdata/schema.d.ts +3 -0
  49. package/schematics/generators/gantt-localdata/schema.js +2 -0
  50. package/schematics/generators/gantt-localdata/schema.json +125 -0
  51. package/schematics/ng-add/index.d.ts +3 -0
  52. package/schematics/ng-add/index.js +9 -0
  53. package/schematics/ng-add/schema.d.ts +13 -0
  54. package/schematics/ng-add/schema.js +2 -0
  55. package/schematics/ng-add/schema.json +34 -0
  56. package/schematics/tsconfig.json +25 -0
  57. package/schematics/utils/lib-details.d.ts +4 -0
  58. package/schematics/utils/lib-details.js +6 -0
  59. package/schematics/utils/lib-details.ts +2 -2
  60. package/src/gantt/adddialogfields.directive.d.ts +0 -5
  61. package/src/gantt/columns.directive.d.ts +0 -5
  62. package/src/gantt/dayworkingtime.directive.d.ts +0 -5
  63. package/src/gantt/editdialogfields.directive.d.ts +0 -5
  64. package/src/gantt/eventmarkers.directive.d.ts +0 -5
  65. package/src/gantt/gantt-all.module.d.ts +1 -6
  66. package/src/gantt/gantt.component.d.ts +0 -3
  67. package/src/gantt/gantt.module.d.ts +0 -12
  68. package/src/gantt/holidays.directive.d.ts +0 -5
  69. package/src/index.d.ts +1 -1
  70. package/styles/bootstrap-dark.css +0 -11
  71. package/styles/bootstrap.css +0 -11
  72. package/styles/bootstrap4.css +0 -11
  73. package/styles/bootstrap5-dark.css +0 -11
  74. package/styles/bootstrap5.css +0 -11
  75. package/styles/fabric-dark.css +0 -11
  76. package/styles/fabric.css +0 -11
  77. package/styles/fluent-dark.css +0 -11
  78. package/styles/fluent.css +0 -11
  79. package/styles/gantt/bootstrap-dark.css +0 -11
  80. package/styles/gantt/bootstrap-dark.scss +1 -22
  81. package/styles/gantt/bootstrap.css +0 -11
  82. package/styles/gantt/bootstrap.scss +1 -22
  83. package/styles/gantt/bootstrap4.css +0 -11
  84. package/styles/gantt/bootstrap4.scss +1 -22
  85. package/styles/gantt/bootstrap5-dark.css +0 -11
  86. package/styles/gantt/bootstrap5-dark.scss +1 -22
  87. package/styles/gantt/bootstrap5.css +0 -11
  88. package/styles/gantt/bootstrap5.scss +1 -22
  89. package/styles/gantt/fabric-dark.css +0 -11
  90. package/styles/gantt/fabric-dark.scss +1 -22
  91. package/styles/gantt/fabric.css +0 -11
  92. package/styles/gantt/fabric.scss +1 -22
  93. package/styles/gantt/fluent-dark.css +0 -11
  94. package/styles/gantt/fluent-dark.scss +1 -22
  95. package/styles/gantt/fluent.css +0 -11
  96. package/styles/gantt/fluent.scss +1 -22
  97. package/styles/gantt/highcontrast-light.css +0 -11
  98. package/styles/gantt/highcontrast-light.scss +1 -21
  99. package/styles/gantt/highcontrast.css +0 -11
  100. package/styles/gantt/highcontrast.scss +1 -22
  101. package/styles/gantt/material-dark.css +0 -11
  102. package/styles/gantt/material-dark.scss +1 -22
  103. package/styles/gantt/material.css +0 -11
  104. package/styles/gantt/material.scss +1 -22
  105. package/styles/gantt/tailwind-dark.css +0 -11
  106. package/styles/gantt/tailwind-dark.scss +1 -22
  107. package/styles/gantt/tailwind.css +0 -11
  108. package/styles/gantt/tailwind.scss +1 -22
  109. package/styles/highcontrast-light.css +0 -11
  110. package/styles/highcontrast.css +0 -11
  111. package/styles/material-dark.css +0 -11
  112. package/styles/material.css +0 -11
  113. package/styles/tailwind-dark.css +0 -11
  114. package/styles/tailwind.css +0 -11
  115. package/esm2020/public_api.mjs +0 -3
  116. package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
  117. package/esm2020/src/gantt/columns.directive.mjs +0 -72
  118. package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
  119. package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
  120. package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
  121. package/esm2020/src/gantt/gantt-all.module.mjs +0 -68
  122. package/esm2020/src/gantt/gantt.component.mjs +0 -248
  123. package/esm2020/src/gantt/gantt.module.mjs +0 -79
  124. package/esm2020/src/gantt/holidays.directive.mjs +0 -58
  125. package/esm2020/src/index.mjs +0 -11
  126. package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
  127. package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -724
  128. package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  129. package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -724
  130. package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
  131. package/styles/gantt/_all.scss +0 -2
  132. package/styles/gantt/_bootstrap-dark-definition.scss +0 -207
  133. package/styles/gantt/_bootstrap-definition.scss +0 -208
  134. package/styles/gantt/_bootstrap4-definition.scss +0 -210
  135. package/styles/gantt/_bootstrap5-dark-definition.scss +0 -1
  136. package/styles/gantt/_bootstrap5-definition.scss +0 -213
  137. package/styles/gantt/_fabric-dark-definition.scss +0 -208
  138. package/styles/gantt/_fabric-definition.scss +0 -208
  139. package/styles/gantt/_fluent-dark-definition.scss +0 -1
  140. package/styles/gantt/_fluent-definition.scss +0 -213
  141. package/styles/gantt/_fusionnew-definition.scss +0 -212
  142. package/styles/gantt/_highcontrast-definition.scss +0 -208
  143. package/styles/gantt/_highcontrast-light-definition.scss +0 -208
  144. package/styles/gantt/_layout.scss +0 -1378
  145. package/styles/gantt/_material-dark-definition.scss +0 -209
  146. package/styles/gantt/_material-definition.scss +0 -209
  147. package/styles/gantt/_material3-definition.scss +0 -213
  148. package/styles/gantt/_tailwind-dark-definition.scss +0 -1
  149. package/styles/gantt/_tailwind-definition.scss +0 -213
  150. package/styles/gantt/_theme.scss +0 -720
  151. package/styles/gantt/icons/_bootstrap-dark.scss +0 -124
  152. package/styles/gantt/icons/_bootstrap.scss +0 -124
  153. package/styles/gantt/icons/_bootstrap4.scss +0 -124
  154. package/styles/gantt/icons/_bootstrap5-dark.scss +0 -1
  155. package/styles/gantt/icons/_bootstrap5.scss +0 -124
  156. package/styles/gantt/icons/_fabric-dark.scss +0 -124
  157. package/styles/gantt/icons/_fabric.scss +0 -124
  158. package/styles/gantt/icons/_fluent-dark.scss +0 -1
  159. package/styles/gantt/icons/_fluent.scss +0 -124
  160. package/styles/gantt/icons/_fusionnew.scss +0 -120
  161. package/styles/gantt/icons/_highcontrast.scss +0 -124
  162. package/styles/gantt/icons/_material-dark.scss +0 -124
  163. package/styles/gantt/icons/_material.scss +0 -124
  164. package/styles/gantt/icons/_material3.scss +0 -124
  165. package/styles/gantt/icons/_tailwind-dark.scss +0 -124
  166. package/styles/gantt/icons/_tailwind.scss +0 -124
@@ -1,724 +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 } 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 = ['addDialogFields', 'allowExcelExport', 'allowFiltering', 'allowKeyboard', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowUnscheduledTasks', 'autoFocusTasks', 'baselineColor', 'collapseAllParentTasks', 'columnMenuItems', 'columns', 'connectorLineBackground', 'connectorLineWidth', 'contextMenuItems', 'dataSource', 'dateFormat', 'dayWorkingTime', 'disableHtmlEncode', 'durationUnit', 'editDialogFields', 'editSettings', 'enableContextMenu', 'enableImmutableMode', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableVirtualization', 'eventMarkers', 'filterSettings', 'gridLines', 'height', 'highlightWeekends', 'holidays', 'includeWeekend', 'labelSettings', 'locale', 'milestoneTemplate', 'parentTaskbarTemplate', 'projectEndDate', 'projectStartDate', 'query', 'readOnly', 'renderBaseline', 'resourceFields', 'resourceIDMapping', 'resourceNameMapping', 'resources', 'rowHeight', 'searchSettings', 'segmentData', 'selectedRowIndex', 'selectionSettings', 'showColumnMenu', 'showInlineNotes', 'showOverAllocation', 'sortSettings', 'splitterSettings', 'taskFields', 'taskMode', 'taskType', 'taskbarHeight', 'taskbarTemplate', 'timelineSettings', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'validateManualTasksOnLinking', 'viewType', 'width', 'workUnit', 'workWeek'];
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
- this.registerEvents(outputs);
468
- this.addTwoWay.call(this, twoWays);
469
- setValue('currentInstance', this, this.viewContainerRef);
470
- this.context = new ComponentBase();
471
- }
472
- ngOnInit() {
473
- this.context.ngOnInit(this);
474
- }
475
- ngAfterViewInit() {
476
- this.context.ngAfterViewInit(this);
477
- }
478
- ngOnDestroy() {
479
- this.context.ngOnDestroy(this);
480
- }
481
- ngAfterContentChecked() {
482
- this.tagObjects[0].instance = this.childColumns;
483
- if (this.childAddDialogFields) {
484
- this.tagObjects[1].instance = this.childAddDialogFields;
485
- }
486
- if (this.childEditDialogFields) {
487
- this.tagObjects[2].instance = this.childEditDialogFields;
488
- }
489
- if (this.childDayWorkingTime) {
490
- this.tagObjects[3].instance = this.childDayWorkingTime;
491
- }
492
- if (this.childHolidays) {
493
- this.tagObjects[4].instance = this.childHolidays;
494
- }
495
- if (this.childEventMarkers) {
496
- this.tagObjects[5].instance = this.childEventMarkers;
497
- }
498
- this.context.ngAfterContentChecked(this);
499
- }
500
- };
501
- 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 });
502
- 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", allowPdfExport: "allowPdfExport", allowReordering: "allowReordering", allowResizing: "allowResizing", allowRowDragAndDrop: "allowRowDragAndDrop", allowSelection: "allowSelection", allowSorting: "allowSorting", allowUnscheduledTasks: "allowUnscheduledTasks", 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", enableImmutableMode: "enableImmutableMode", enableMultiTaskbar: "enableMultiTaskbar", enablePersistence: "enablePersistence", enablePredecessorValidation: "enablePredecessorValidation", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", eventMarkers: "eventMarkers", filterSettings: "filterSettings", gridLines: "gridLines", height: "height", highlightWeekends: "highlightWeekends", holidays: "holidays", includeWeekend: "includeWeekend", labelSettings: "labelSettings", 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" }, 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 });
503
- __decorate([
504
- Template()
505
- ], GanttComponent.prototype, "parentTaskbarTemplate", void 0);
506
- __decorate([
507
- Template()
508
- ], GanttComponent.prototype, "milestoneTemplate", void 0);
509
- __decorate([
510
- Template()
511
- ], GanttComponent.prototype, "taskbarTemplate", void 0);
512
- __decorate([
513
- Template()
514
- ], GanttComponent.prototype, "labelSettings_rightLabel", void 0);
515
- __decorate([
516
- Template()
517
- ], GanttComponent.prototype, "labelSettings_leftLabel", void 0);
518
- __decorate([
519
- Template()
520
- ], GanttComponent.prototype, "labelSettings_taskLabel", void 0);
521
- __decorate([
522
- Template()
523
- ], GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
524
- __decorate([
525
- Template()
526
- ], GanttComponent.prototype, "tooltipSettings_baseline", void 0);
527
- __decorate([
528
- Template()
529
- ], GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
530
- __decorate([
531
- Template()
532
- ], GanttComponent.prototype, "tooltipSettings_editing", void 0);
533
- GanttComponent = __decorate([
534
- ComponentMixins([ComponentBase])
535
- ], GanttComponent);
536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttComponent, decorators: [{
537
- type: Component,
538
- args: [{
539
- selector: 'ejs-gantt',
540
- inputs: inputs,
541
- outputs: outputs,
542
- template: '',
543
- changeDetection: ChangeDetectionStrategy.OnPush,
544
- queries: {
545
- childColumns: new ContentChild(ColumnsDirective),
546
- childAddDialogFields: new ContentChild(AddDialogFieldsDirective),
547
- childEditDialogFields: new ContentChild(EditDialogFieldsDirective),
548
- childDayWorkingTime: new ContentChild(DayWorkingTimeCollectionDirective),
549
- childHolidays: new ContentChild(HolidaysDirective),
550
- childEventMarkers: new ContentChild(EventMarkersDirective)
551
- }
552
- }]
553
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { parentTaskbarTemplate: [{
554
- type: ContentChild,
555
- args: ['parentTaskbarTemplate']
556
- }], milestoneTemplate: [{
557
- type: ContentChild,
558
- args: ['milestoneTemplate']
559
- }], taskbarTemplate: [{
560
- type: ContentChild,
561
- args: ['taskbarTemplate']
562
- }], labelSettings_rightLabel: [{
563
- type: ContentChild,
564
- args: ['labelSettingsRightLabel']
565
- }], labelSettings_leftLabel: [{
566
- type: ContentChild,
567
- args: ['labelSettingsLeftLabel']
568
- }], labelSettings_taskLabel: [{
569
- type: ContentChild,
570
- args: ['labelSettingsTaskLabel']
571
- }], tooltipSettings_taskbar: [{
572
- type: ContentChild,
573
- args: ['tooltipSettingsTaskbar']
574
- }], tooltipSettings_baseline: [{
575
- type: ContentChild,
576
- args: ['tooltipSettingsBaseline']
577
- }], tooltipSettings_connectorLine: [{
578
- type: ContentChild,
579
- args: ['tooltipSettingsConnectorLine']
580
- }], tooltipSettings_editing: [{
581
- type: ContentChild,
582
- args: ['tooltipSettingsEditing']
583
- }] } });
584
-
585
- /**
586
- * NgModule definition for the Gantt component.
587
- */
588
- class GanttModule {
589
- }
590
- GanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
591
- GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, declarations: [GanttComponent,
592
- ColumnDirective,
593
- ColumnsDirective,
594
- AddDialogFieldDirective,
595
- AddDialogFieldsDirective,
596
- EditDialogFieldDirective,
597
- EditDialogFieldsDirective,
598
- DayWorkingTimeDirective,
599
- DayWorkingTimeCollectionDirective,
600
- HolidayDirective,
601
- HolidaysDirective,
602
- EventMarkerDirective,
603
- EventMarkersDirective], imports: [CommonModule], exports: [GanttComponent,
604
- ColumnDirective,
605
- ColumnsDirective,
606
- AddDialogFieldDirective,
607
- AddDialogFieldsDirective,
608
- EditDialogFieldDirective,
609
- EditDialogFieldsDirective,
610
- DayWorkingTimeDirective,
611
- DayWorkingTimeCollectionDirective,
612
- HolidayDirective,
613
- HolidaysDirective,
614
- EventMarkerDirective,
615
- EventMarkersDirective] });
616
- GanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, imports: [[CommonModule]] });
617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttModule, decorators: [{
618
- type: NgModule,
619
- args: [{
620
- imports: [CommonModule],
621
- declarations: [
622
- GanttComponent,
623
- ColumnDirective,
624
- ColumnsDirective,
625
- AddDialogFieldDirective,
626
- AddDialogFieldsDirective,
627
- EditDialogFieldDirective,
628
- EditDialogFieldsDirective,
629
- DayWorkingTimeDirective,
630
- DayWorkingTimeCollectionDirective,
631
- HolidayDirective,
632
- HolidaysDirective,
633
- EventMarkerDirective,
634
- EventMarkersDirective
635
- ],
636
- exports: [
637
- GanttComponent,
638
- ColumnDirective,
639
- ColumnsDirective,
640
- AddDialogFieldDirective,
641
- AddDialogFieldsDirective,
642
- EditDialogFieldDirective,
643
- EditDialogFieldsDirective,
644
- DayWorkingTimeDirective,
645
- DayWorkingTimeCollectionDirective,
646
- HolidayDirective,
647
- HolidaysDirective,
648
- EventMarkerDirective,
649
- EventMarkersDirective
650
- ]
651
- }]
652
- }] });
653
-
654
- const FilterService = { provide: 'GanttFilter', useValue: Filter };
655
- const SelectionService = { provide: 'GanttSelection', useValue: Selection };
656
- const SortService = { provide: 'GanttSort', useValue: Sort };
657
- const ReorderService = { provide: 'GanttReorder', useValue: Reorder };
658
- const ResizeService = { provide: 'GanttResize', useValue: Resize };
659
- const EditService = { provide: 'GanttEdit', useValue: Edit };
660
- const DayMarkersService = { provide: 'GanttDayMarkers', useValue: DayMarkers };
661
- const ToolbarService = { provide: 'GanttToolbar', useValue: Toolbar };
662
- const ContextMenuService = { provide: 'GanttContextMenu', useValue: ContextMenu };
663
- const ExcelExportService = { provide: 'GanttExcelExport', useValue: ExcelExport };
664
- const RowDDService = { provide: 'GanttRowDD', useValue: RowDD };
665
- const ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ColumnMenu };
666
- const PdfExportService = { provide: 'GanttPdfExport', useValue: PdfExport };
667
- const VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: VirtualScroll };
668
- /**
669
- * NgModule definition for the Gantt component with providers.
670
- */
671
- class GanttAllModule {
672
- }
673
- GanttAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
674
- GanttAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, imports: [CommonModule, GanttModule], exports: [GanttModule] });
675
- GanttAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, providers: [
676
- FilterService,
677
- SelectionService,
678
- SortService,
679
- ReorderService,
680
- ResizeService,
681
- EditService,
682
- DayMarkersService,
683
- ToolbarService,
684
- ContextMenuService,
685
- ExcelExportService,
686
- RowDDService,
687
- ColumnMenuService,
688
- PdfExportService,
689
- VirtualScrollService
690
- ], imports: [[CommonModule, GanttModule], GanttModule] });
691
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: GanttAllModule, decorators: [{
692
- type: NgModule,
693
- args: [{
694
- imports: [CommonModule, GanttModule],
695
- exports: [
696
- GanttModule
697
- ],
698
- providers: [
699
- FilterService,
700
- SelectionService,
701
- SortService,
702
- ReorderService,
703
- ResizeService,
704
- EditService,
705
- DayMarkersService,
706
- ToolbarService,
707
- ContextMenuService,
708
- ExcelExportService,
709
- RowDDService,
710
- ColumnMenuService,
711
- PdfExportService,
712
- VirtualScrollService
713
- ]
714
- }]
715
- }] });
716
-
717
- // Mapping root file for package generation
718
-
719
- /**
720
- * Generated bundle index. Do not edit.
721
- */
722
-
723
- export { AddDialogFieldDirective, AddDialogFieldsDirective, ColumnDirective, ColumnMenuService, ColumnsDirective, ContextMenuService, DayMarkersService, DayWorkingTimeCollectionDirective, DayWorkingTimeDirective, EditDialogFieldDirective, EditDialogFieldsDirective, EditService, EventMarkerDirective, EventMarkersDirective, ExcelExportService, FilterService, GanttAllModule, GanttComponent, GanttModule, HolidayDirective, HolidaysDirective, PdfExportService, ReorderService, ResizeService, RowDDService, SelectionService, SortService, ToolbarService, VirtualScrollService };
724
- //# sourceMappingURL=syncfusion-ej2-angular-gantt.mjs.map