@syncfusion/ej2-angular-gantt 31.2.18 → 32.1.19-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.
- package/@syncfusion/ej2-angular-gantt.es5.js +934 -0
- package/@syncfusion/ej2-angular-gantt.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-gantt.js +882 -0
- package/@syncfusion/ej2-angular-gantt.js.map +1 -0
- package/LICENSE +10 -0
- package/README.md +2 -9
- package/dist/ej2-angular-gantt.umd.js +1046 -0
- package/dist/ej2-angular-gantt.umd.js.map +1 -0
- package/dist/ej2-angular-gantt.umd.min.js +2 -0
- package/dist/ej2-angular-gantt.umd.min.js.map +1 -0
- package/ej2-angular-gantt.d.ts +5 -0
- package/ej2-angular-gantt.metadata.json +1 -0
- package/package.json +48 -30
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/gantt/adddialogfields.directive.d.ts +53 -58
- package/src/gantt/columns.directive.d.ts +209 -219
- package/src/gantt/dayworkingtime.directive.d.ts +36 -41
- package/src/gantt/editdialogfields.directive.d.ts +53 -58
- package/src/gantt/eventmarkers.directive.d.ts +42 -47
- package/src/gantt/gantt-all.module.d.ts +22 -28
- package/src/gantt/gantt.component.d.ts +143 -146
- package/src/gantt/gantt.module.d.ts +5 -18
- package/src/gantt/holidays.directive.d.ts +46 -51
- package/src/gantt/weekworkingtime.directive.d.ts +38 -43
- package/src/index.d.ts +11 -11
- package/CHANGELOG.md +0 -2907
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/gantt/adddialogfields.directive.mjs +0 -58
- package/esm2020/src/gantt/columns.directive.mjs +0 -90
- package/esm2020/src/gantt/dayworkingtime.directive.mjs +0 -58
- package/esm2020/src/gantt/editdialogfields.directive.mjs +0 -58
- package/esm2020/src/gantt/eventmarkers.directive.mjs +0 -57
- package/esm2020/src/gantt/gantt-all.module.mjs +0 -74
- package/esm2020/src/gantt/gantt.component.mjs +0 -297
- package/esm2020/src/gantt/gantt.module.mjs +0 -88
- package/esm2020/src/gantt/holidays.directive.mjs +0 -58
- package/esm2020/src/gantt/weekworkingtime.directive.mjs +0 -58
- package/esm2020/src/index.mjs +0 -12
- package/esm2020/syncfusion-ej2-angular-gantt.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-gantt.mjs +0 -857
- package/fesm2015/syncfusion-ej2-angular-gantt.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-gantt.mjs +0 -857
- package/fesm2020/syncfusion-ej2-angular-gantt.mjs.map +0 -1
- package/syncfusion-ej2-angular-gantt.d.ts +0 -5
|
@@ -0,0 +1,1046 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-gantt'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-gantt', '@angular/common'], factory) :
|
|
4
|
+
(factory((global['ej2-angular-gantt'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.gantt,global.ng.common));
|
|
5
|
+
}(this, (function (exports,core,ej2AngularBase,ej2Gantt,common) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var __extends = (this && this.__extends) || (function () {
|
|
8
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
9
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
10
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11
|
+
return function (d, b) {
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
20
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else
|
|
22
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
23
|
+
if (d = decorators[i])
|
|
24
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
25
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
26
|
+
};
|
|
27
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
29
|
+
return Reflect.metadata(k, v);
|
|
30
|
+
};
|
|
31
|
+
var input = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'customAttributes', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editType', 'field', 'filter', 'format', 'formatter', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isPrimaryKey', 'maxWidth', 'minWidth', 'sortComparer', 'template', 'textAlign', 'type', 'validationRules', 'valueAccessor', 'visible', 'width'];
|
|
32
|
+
var outputs = [];
|
|
33
|
+
/**
|
|
34
|
+
* `e-column` directive represent a column of the Angular Gantt.
|
|
35
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
36
|
+
* ```html
|
|
37
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
38
|
+
* <e-columns>
|
|
39
|
+
* <e-column field='ID' width='150'></e-column>
|
|
40
|
+
* <e-column field='taskName' headerText='Task Name' width='200'></e-column>
|
|
41
|
+
* </e-columns>
|
|
42
|
+
* </ejs-gantt>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
var ColumnDirective = /** @class */ (function (_super) {
|
|
46
|
+
__extends(ColumnDirective, _super);
|
|
47
|
+
/**
|
|
48
|
+
* @param {?} viewContainerRef
|
|
49
|
+
*/
|
|
50
|
+
function ColumnDirective(viewContainerRef) {
|
|
51
|
+
var _this = _super.call(this) || this;
|
|
52
|
+
_this.viewContainerRef = viewContainerRef;
|
|
53
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
54
|
+
_this.registerEvents(outputs);
|
|
55
|
+
_this.directivePropList = input;
|
|
56
|
+
return _this;
|
|
57
|
+
}
|
|
58
|
+
return ColumnDirective;
|
|
59
|
+
}(ej2AngularBase.ComplexBase));
|
|
60
|
+
ColumnDirective.decorators = [
|
|
61
|
+
{ type: core.Directive, args: [{
|
|
62
|
+
selector: 'ejs-gantt>e-columns>e-column',
|
|
63
|
+
inputs: input,
|
|
64
|
+
outputs: outputs,
|
|
65
|
+
queries: {}
|
|
66
|
+
},] },
|
|
67
|
+
];
|
|
68
|
+
/**
|
|
69
|
+
* @nocollapse
|
|
70
|
+
*/
|
|
71
|
+
ColumnDirective.ctorParameters = function () { return [
|
|
72
|
+
{ type: core.ViewContainerRef, },
|
|
73
|
+
]; };
|
|
74
|
+
ColumnDirective.propDecorators = {
|
|
75
|
+
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
76
|
+
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
77
|
+
'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
|
|
78
|
+
'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
|
|
79
|
+
'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
|
|
80
|
+
};
|
|
81
|
+
__decorate([
|
|
82
|
+
ej2AngularBase.Template(),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], ColumnDirective.prototype, "template", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
ej2AngularBase.Template(),
|
|
87
|
+
__metadata("design:type", Object)
|
|
88
|
+
], ColumnDirective.prototype, "headerTemplate", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
ej2AngularBase.Template(),
|
|
91
|
+
__metadata("design:type", Object)
|
|
92
|
+
], ColumnDirective.prototype, "editTemplate", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
ej2AngularBase.Template(),
|
|
95
|
+
__metadata("design:type", Object)
|
|
96
|
+
], ColumnDirective.prototype, "filter_itemTemplate", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
ej2AngularBase.Template(),
|
|
99
|
+
__metadata("design:type", Object)
|
|
100
|
+
], ColumnDirective.prototype, "filterTemplate", void 0);
|
|
101
|
+
/**
|
|
102
|
+
* Column Array Directive
|
|
103
|
+
*/
|
|
104
|
+
var ColumnsDirective = /** @class */ (function (_super) {
|
|
105
|
+
__extends(ColumnsDirective, _super);
|
|
106
|
+
function ColumnsDirective() {
|
|
107
|
+
return _super.call(this, 'columns') || this;
|
|
108
|
+
}
|
|
109
|
+
return ColumnsDirective;
|
|
110
|
+
}(ej2AngularBase.ArrayBase));
|
|
111
|
+
ColumnsDirective.decorators = [
|
|
112
|
+
{ type: core.Directive, args: [{
|
|
113
|
+
selector: 'ejs-gantt>e-columns',
|
|
114
|
+
queries: {
|
|
115
|
+
children: new core.ContentChildren(ColumnDirective)
|
|
116
|
+
},
|
|
117
|
+
},] },
|
|
118
|
+
];
|
|
119
|
+
/**
|
|
120
|
+
* @nocollapse
|
|
121
|
+
*/
|
|
122
|
+
ColumnsDirective.ctorParameters = function () { return []; };
|
|
123
|
+
var input$1 = ['additionalParams', 'fields', 'headerText', 'type'];
|
|
124
|
+
var outputs$1 = [];
|
|
125
|
+
/**
|
|
126
|
+
* `e-add-dialog-field` directive represent a add dialog fields collection in Gantt task add dialog.
|
|
127
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
128
|
+
* ```html
|
|
129
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
130
|
+
* <e-add-dialog-fields>
|
|
131
|
+
* <e-add-dialog-field type='General' headerText='General'></e-add-dialog-field>
|
|
132
|
+
* <e-add-dialog-field type='Dependency' headerText='Dependency'></e-add-dialog-field>
|
|
133
|
+
* </e-add-dialog-fields>
|
|
134
|
+
* </ejs-gantt>
|
|
135
|
+
* ```
|
|
136
|
+
*/
|
|
137
|
+
var AddDialogFieldDirective = /** @class */ (function (_super) {
|
|
138
|
+
__extends(AddDialogFieldDirective, _super);
|
|
139
|
+
/**
|
|
140
|
+
* @param {?} viewContainerRef
|
|
141
|
+
*/
|
|
142
|
+
function AddDialogFieldDirective(viewContainerRef) {
|
|
143
|
+
var _this = _super.call(this) || this;
|
|
144
|
+
_this.viewContainerRef = viewContainerRef;
|
|
145
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
146
|
+
_this.registerEvents(outputs$1);
|
|
147
|
+
_this.directivePropList = input$1;
|
|
148
|
+
return _this;
|
|
149
|
+
}
|
|
150
|
+
return AddDialogFieldDirective;
|
|
151
|
+
}(ej2AngularBase.ComplexBase));
|
|
152
|
+
AddDialogFieldDirective.decorators = [
|
|
153
|
+
{ type: core.Directive, args: [{
|
|
154
|
+
selector: 'ejs-gantt>e-add-dialog-fields>e-add-dialog-field',
|
|
155
|
+
inputs: input$1,
|
|
156
|
+
outputs: outputs$1,
|
|
157
|
+
queries: {}
|
|
158
|
+
},] },
|
|
159
|
+
];
|
|
160
|
+
/**
|
|
161
|
+
* @nocollapse
|
|
162
|
+
*/
|
|
163
|
+
AddDialogFieldDirective.ctorParameters = function () { return [
|
|
164
|
+
{ type: core.ViewContainerRef, },
|
|
165
|
+
]; };
|
|
166
|
+
/**
|
|
167
|
+
* AddDialogField Array Directive
|
|
168
|
+
*/
|
|
169
|
+
var AddDialogFieldsDirective = /** @class */ (function (_super) {
|
|
170
|
+
__extends(AddDialogFieldsDirective, _super);
|
|
171
|
+
function AddDialogFieldsDirective() {
|
|
172
|
+
return _super.call(this, 'adddialogfields') || this;
|
|
173
|
+
}
|
|
174
|
+
return AddDialogFieldsDirective;
|
|
175
|
+
}(ej2AngularBase.ArrayBase));
|
|
176
|
+
AddDialogFieldsDirective.decorators = [
|
|
177
|
+
{ type: core.Directive, args: [{
|
|
178
|
+
selector: 'ejs-gantt>e-add-dialog-fields',
|
|
179
|
+
queries: {
|
|
180
|
+
children: new core.ContentChildren(AddDialogFieldDirective)
|
|
181
|
+
},
|
|
182
|
+
},] },
|
|
183
|
+
];
|
|
184
|
+
/**
|
|
185
|
+
* @nocollapse
|
|
186
|
+
*/
|
|
187
|
+
AddDialogFieldsDirective.ctorParameters = function () { return []; };
|
|
188
|
+
var input$2 = ['additionalParams', 'fields', 'headerText', 'type'];
|
|
189
|
+
var outputs$2 = [];
|
|
190
|
+
/**
|
|
191
|
+
* `e-edit-dialog-field` directive represent a edit dialog fields collection in Gantt task add dialog.
|
|
192
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
193
|
+
* ```html
|
|
194
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
195
|
+
* <e-edit-dialog-fields>
|
|
196
|
+
* <e-edit-dialog-field type='General' headerText='General'></e-edit-dialog-field>
|
|
197
|
+
* <e-edit-dialog-field type='Dependency' headerText='Dependency'></e-edit-dialog-field>
|
|
198
|
+
* </e-edit-dialog-fields>
|
|
199
|
+
* </ejs-gantt>
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
202
|
+
var EditDialogFieldDirective = /** @class */ (function (_super) {
|
|
203
|
+
__extends(EditDialogFieldDirective, _super);
|
|
204
|
+
/**
|
|
205
|
+
* @param {?} viewContainerRef
|
|
206
|
+
*/
|
|
207
|
+
function EditDialogFieldDirective(viewContainerRef) {
|
|
208
|
+
var _this = _super.call(this) || this;
|
|
209
|
+
_this.viewContainerRef = viewContainerRef;
|
|
210
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
211
|
+
_this.registerEvents(outputs$2);
|
|
212
|
+
_this.directivePropList = input$2;
|
|
213
|
+
return _this;
|
|
214
|
+
}
|
|
215
|
+
return EditDialogFieldDirective;
|
|
216
|
+
}(ej2AngularBase.ComplexBase));
|
|
217
|
+
EditDialogFieldDirective.decorators = [
|
|
218
|
+
{ type: core.Directive, args: [{
|
|
219
|
+
selector: 'ejs-gantt>e-edit-dialog-fields>e-edit-dialog-field',
|
|
220
|
+
inputs: input$2,
|
|
221
|
+
outputs: outputs$2,
|
|
222
|
+
queries: {}
|
|
223
|
+
},] },
|
|
224
|
+
];
|
|
225
|
+
/**
|
|
226
|
+
* @nocollapse
|
|
227
|
+
*/
|
|
228
|
+
EditDialogFieldDirective.ctorParameters = function () { return [
|
|
229
|
+
{ type: core.ViewContainerRef, },
|
|
230
|
+
]; };
|
|
231
|
+
/**
|
|
232
|
+
* EditDialogField Array Directive
|
|
233
|
+
*/
|
|
234
|
+
var EditDialogFieldsDirective = /** @class */ (function (_super) {
|
|
235
|
+
__extends(EditDialogFieldsDirective, _super);
|
|
236
|
+
function EditDialogFieldsDirective() {
|
|
237
|
+
return _super.call(this, 'editdialogfields') || this;
|
|
238
|
+
}
|
|
239
|
+
return EditDialogFieldsDirective;
|
|
240
|
+
}(ej2AngularBase.ArrayBase));
|
|
241
|
+
EditDialogFieldsDirective.decorators = [
|
|
242
|
+
{ type: core.Directive, args: [{
|
|
243
|
+
selector: 'ejs-gantt>e-edit-dialog-fields',
|
|
244
|
+
queries: {
|
|
245
|
+
children: new core.ContentChildren(EditDialogFieldDirective)
|
|
246
|
+
},
|
|
247
|
+
},] },
|
|
248
|
+
];
|
|
249
|
+
/**
|
|
250
|
+
* @nocollapse
|
|
251
|
+
*/
|
|
252
|
+
EditDialogFieldsDirective.ctorParameters = function () { return []; };
|
|
253
|
+
var input$3 = ['from', 'to'];
|
|
254
|
+
var outputs$3 = [];
|
|
255
|
+
/**
|
|
256
|
+
* `e-day-working-time-collection` directive represent a working time ranges in a day.
|
|
257
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
258
|
+
* ```html
|
|
259
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
260
|
+
* <e-day-working-time-collection>
|
|
261
|
+
* <e-day-working-time from='8' to='12'></e-day-working-time>
|
|
262
|
+
* <e-day-working-time from='13' to='17'></e-day-working-time>
|
|
263
|
+
* </e-day-working-time-collection>
|
|
264
|
+
* </ejs-gantt>
|
|
265
|
+
* ```
|
|
266
|
+
*/
|
|
267
|
+
var DayWorkingTimeDirective = /** @class */ (function (_super) {
|
|
268
|
+
__extends(DayWorkingTimeDirective, _super);
|
|
269
|
+
/**
|
|
270
|
+
* @param {?} viewContainerRef
|
|
271
|
+
*/
|
|
272
|
+
function DayWorkingTimeDirective(viewContainerRef) {
|
|
273
|
+
var _this = _super.call(this) || this;
|
|
274
|
+
_this.viewContainerRef = viewContainerRef;
|
|
275
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
276
|
+
_this.registerEvents(outputs$3);
|
|
277
|
+
_this.directivePropList = input$3;
|
|
278
|
+
return _this;
|
|
279
|
+
}
|
|
280
|
+
return DayWorkingTimeDirective;
|
|
281
|
+
}(ej2AngularBase.ComplexBase));
|
|
282
|
+
DayWorkingTimeDirective.decorators = [
|
|
283
|
+
{ type: core.Directive, args: [{
|
|
284
|
+
selector: 'ejs-gantt>e-day-working-time-collection>e-day-working-time',
|
|
285
|
+
inputs: input$3,
|
|
286
|
+
outputs: outputs$3,
|
|
287
|
+
queries: {}
|
|
288
|
+
},] },
|
|
289
|
+
];
|
|
290
|
+
/**
|
|
291
|
+
* @nocollapse
|
|
292
|
+
*/
|
|
293
|
+
DayWorkingTimeDirective.ctorParameters = function () { return [
|
|
294
|
+
{ type: core.ViewContainerRef, },
|
|
295
|
+
]; };
|
|
296
|
+
/**
|
|
297
|
+
* DayWorkingTime Array Directive
|
|
298
|
+
*/
|
|
299
|
+
var DayWorkingTimeCollectionDirective = /** @class */ (function (_super) {
|
|
300
|
+
__extends(DayWorkingTimeCollectionDirective, _super);
|
|
301
|
+
function DayWorkingTimeCollectionDirective() {
|
|
302
|
+
return _super.call(this, 'dayworkingtime') || this;
|
|
303
|
+
}
|
|
304
|
+
return DayWorkingTimeCollectionDirective;
|
|
305
|
+
}(ej2AngularBase.ArrayBase));
|
|
306
|
+
DayWorkingTimeCollectionDirective.decorators = [
|
|
307
|
+
{ type: core.Directive, args: [{
|
|
308
|
+
selector: 'ejs-gantt>e-day-working-time-collection',
|
|
309
|
+
queries: {
|
|
310
|
+
children: new core.ContentChildren(DayWorkingTimeDirective)
|
|
311
|
+
},
|
|
312
|
+
},] },
|
|
313
|
+
];
|
|
314
|
+
/**
|
|
315
|
+
* @nocollapse
|
|
316
|
+
*/
|
|
317
|
+
DayWorkingTimeCollectionDirective.ctorParameters = function () { return []; };
|
|
318
|
+
var input$4 = ['dayOfWeek', 'timeRange'];
|
|
319
|
+
var outputs$4 = [];
|
|
320
|
+
/**
|
|
321
|
+
* `e-week-working-times` directive represent a working time ranges in a day.
|
|
322
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
323
|
+
* ```html
|
|
324
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
325
|
+
* <e-week-working-times>
|
|
326
|
+
* <e-week-working-time dayOfWeek='Monday'></e-week-working-time>
|
|
327
|
+
* <e-week-working-time dayOfWeek='Monday'></e-week-working-time>
|
|
328
|
+
* </e-week-working-times>
|
|
329
|
+
* </ejs-gantt>
|
|
330
|
+
* ```
|
|
331
|
+
*/
|
|
332
|
+
var WeekWorkingTimeDirective = /** @class */ (function (_super) {
|
|
333
|
+
__extends(WeekWorkingTimeDirective, _super);
|
|
334
|
+
/**
|
|
335
|
+
* @param {?} viewContainerRef
|
|
336
|
+
*/
|
|
337
|
+
function WeekWorkingTimeDirective(viewContainerRef) {
|
|
338
|
+
var _this = _super.call(this) || this;
|
|
339
|
+
_this.viewContainerRef = viewContainerRef;
|
|
340
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
341
|
+
_this.registerEvents(outputs$4);
|
|
342
|
+
_this.directivePropList = input$4;
|
|
343
|
+
return _this;
|
|
344
|
+
}
|
|
345
|
+
return WeekWorkingTimeDirective;
|
|
346
|
+
}(ej2AngularBase.ComplexBase));
|
|
347
|
+
WeekWorkingTimeDirective.decorators = [
|
|
348
|
+
{ type: core.Directive, args: [{
|
|
349
|
+
selector: 'ejs-gantt>e-week-working-times>e-week-working-time',
|
|
350
|
+
inputs: input$4,
|
|
351
|
+
outputs: outputs$4,
|
|
352
|
+
queries: {}
|
|
353
|
+
},] },
|
|
354
|
+
];
|
|
355
|
+
/**
|
|
356
|
+
* @nocollapse
|
|
357
|
+
*/
|
|
358
|
+
WeekWorkingTimeDirective.ctorParameters = function () { return [
|
|
359
|
+
{ type: core.ViewContainerRef, },
|
|
360
|
+
]; };
|
|
361
|
+
/**
|
|
362
|
+
* WeekWorkingTime Array Directive
|
|
363
|
+
*/
|
|
364
|
+
var WeekWorkingTimesDirective = /** @class */ (function (_super) {
|
|
365
|
+
__extends(WeekWorkingTimesDirective, _super);
|
|
366
|
+
function WeekWorkingTimesDirective() {
|
|
367
|
+
return _super.call(this, 'weekworkingtime') || this;
|
|
368
|
+
}
|
|
369
|
+
return WeekWorkingTimesDirective;
|
|
370
|
+
}(ej2AngularBase.ArrayBase));
|
|
371
|
+
WeekWorkingTimesDirective.decorators = [
|
|
372
|
+
{ type: core.Directive, args: [{
|
|
373
|
+
selector: 'ejs-gantt>e-week-working-times',
|
|
374
|
+
queries: {
|
|
375
|
+
children: new core.ContentChildren(WeekWorkingTimeDirective)
|
|
376
|
+
},
|
|
377
|
+
},] },
|
|
378
|
+
];
|
|
379
|
+
/**
|
|
380
|
+
* @nocollapse
|
|
381
|
+
*/
|
|
382
|
+
WeekWorkingTimesDirective.ctorParameters = function () { return []; };
|
|
383
|
+
var input$5 = ['cssClass', 'from', 'label', 'to'];
|
|
384
|
+
var outputs$5 = [];
|
|
385
|
+
/**
|
|
386
|
+
* `e-holidays` directive represent a holidays collection in Gantt.
|
|
387
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
388
|
+
* ```html
|
|
389
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
390
|
+
* <e-holidays>
|
|
391
|
+
* <e-holiday from='02/20/2018' label='Holiday 1'></e-holiday>
|
|
392
|
+
* <e-holiday from='05/15/2018' label='Holiday 2'></e-holiday>
|
|
393
|
+
* </e-holidays>
|
|
394
|
+
* </ejs-gantt>
|
|
395
|
+
* ```
|
|
396
|
+
*/
|
|
397
|
+
var HolidayDirective = /** @class */ (function (_super) {
|
|
398
|
+
__extends(HolidayDirective, _super);
|
|
399
|
+
/**
|
|
400
|
+
* @param {?} viewContainerRef
|
|
401
|
+
*/
|
|
402
|
+
function HolidayDirective(viewContainerRef) {
|
|
403
|
+
var _this = _super.call(this) || this;
|
|
404
|
+
_this.viewContainerRef = viewContainerRef;
|
|
405
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
406
|
+
_this.registerEvents(outputs$5);
|
|
407
|
+
_this.directivePropList = input$5;
|
|
408
|
+
return _this;
|
|
409
|
+
}
|
|
410
|
+
return HolidayDirective;
|
|
411
|
+
}(ej2AngularBase.ComplexBase));
|
|
412
|
+
HolidayDirective.decorators = [
|
|
413
|
+
{ type: core.Directive, args: [{
|
|
414
|
+
selector: 'ejs-gantt>e-holidays>e-holidays',
|
|
415
|
+
inputs: input$5,
|
|
416
|
+
outputs: outputs$5,
|
|
417
|
+
queries: {}
|
|
418
|
+
},] },
|
|
419
|
+
];
|
|
420
|
+
/**
|
|
421
|
+
* @nocollapse
|
|
422
|
+
*/
|
|
423
|
+
HolidayDirective.ctorParameters = function () { return [
|
|
424
|
+
{ type: core.ViewContainerRef, },
|
|
425
|
+
]; };
|
|
426
|
+
/**
|
|
427
|
+
* Holiday Array Directive
|
|
428
|
+
*/
|
|
429
|
+
var HolidaysDirective = /** @class */ (function (_super) {
|
|
430
|
+
__extends(HolidaysDirective, _super);
|
|
431
|
+
function HolidaysDirective() {
|
|
432
|
+
return _super.call(this, 'holidays') || this;
|
|
433
|
+
}
|
|
434
|
+
return HolidaysDirective;
|
|
435
|
+
}(ej2AngularBase.ArrayBase));
|
|
436
|
+
HolidaysDirective.decorators = [
|
|
437
|
+
{ type: core.Directive, args: [{
|
|
438
|
+
selector: 'ejs-gantt>e-holidays',
|
|
439
|
+
queries: {
|
|
440
|
+
children: new core.ContentChildren(HolidayDirective)
|
|
441
|
+
},
|
|
442
|
+
},] },
|
|
443
|
+
];
|
|
444
|
+
/**
|
|
445
|
+
* @nocollapse
|
|
446
|
+
*/
|
|
447
|
+
HolidaysDirective.ctorParameters = function () { return []; };
|
|
448
|
+
var input$6 = ['cssClass', 'day', 'label'];
|
|
449
|
+
var outputs$6 = [];
|
|
450
|
+
/**
|
|
451
|
+
* `e-event-markers` directive represent a event marker collection in Gantt.
|
|
452
|
+
* It must be contained in a Gantt component(`ejs-gantt`).
|
|
453
|
+
* ```html
|
|
454
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
|
|
455
|
+
* <e-event-markers>
|
|
456
|
+
* <e-event-marker day='02/10/2018' label='Project Starts'></e-event-marker>
|
|
457
|
+
* </e-event-markers>
|
|
458
|
+
* </ejs-gantt>
|
|
459
|
+
* ```
|
|
460
|
+
*/
|
|
461
|
+
var EventMarkerDirective = /** @class */ (function (_super) {
|
|
462
|
+
__extends(EventMarkerDirective, _super);
|
|
463
|
+
/**
|
|
464
|
+
* @param {?} viewContainerRef
|
|
465
|
+
*/
|
|
466
|
+
function EventMarkerDirective(viewContainerRef) {
|
|
467
|
+
var _this = _super.call(this) || this;
|
|
468
|
+
_this.viewContainerRef = viewContainerRef;
|
|
469
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
470
|
+
_this.registerEvents(outputs$6);
|
|
471
|
+
_this.directivePropList = input$6;
|
|
472
|
+
return _this;
|
|
473
|
+
}
|
|
474
|
+
return EventMarkerDirective;
|
|
475
|
+
}(ej2AngularBase.ComplexBase));
|
|
476
|
+
EventMarkerDirective.decorators = [
|
|
477
|
+
{ type: core.Directive, args: [{
|
|
478
|
+
selector: 'ejs-gantt>e-event-markers>e-event-marker',
|
|
479
|
+
inputs: input$6,
|
|
480
|
+
outputs: outputs$6,
|
|
481
|
+
queries: {}
|
|
482
|
+
},] },
|
|
483
|
+
];
|
|
484
|
+
/**
|
|
485
|
+
* @nocollapse
|
|
486
|
+
*/
|
|
487
|
+
EventMarkerDirective.ctorParameters = function () { return [
|
|
488
|
+
{ type: core.ViewContainerRef, },
|
|
489
|
+
]; };
|
|
490
|
+
/**
|
|
491
|
+
* EventMarker Array Directive
|
|
492
|
+
*/
|
|
493
|
+
var EventMarkersDirective = /** @class */ (function (_super) {
|
|
494
|
+
__extends(EventMarkersDirective, _super);
|
|
495
|
+
function EventMarkersDirective() {
|
|
496
|
+
return _super.call(this, 'eventmarkers') || this;
|
|
497
|
+
}
|
|
498
|
+
return EventMarkersDirective;
|
|
499
|
+
}(ej2AngularBase.ArrayBase));
|
|
500
|
+
EventMarkersDirective.decorators = [
|
|
501
|
+
{ type: core.Directive, args: [{
|
|
502
|
+
selector: 'ejs-gantt>e-event-markers',
|
|
503
|
+
queries: {
|
|
504
|
+
children: new core.ContentChildren(EventMarkerDirective)
|
|
505
|
+
},
|
|
506
|
+
},] },
|
|
507
|
+
];
|
|
508
|
+
/**
|
|
509
|
+
* @nocollapse
|
|
510
|
+
*/
|
|
511
|
+
EventMarkersDirective.ctorParameters = function () { return []; };
|
|
512
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
513
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
514
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
515
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
516
|
+
else
|
|
517
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
518
|
+
if (d = decorators[i])
|
|
519
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
520
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
521
|
+
};
|
|
522
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
523
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
524
|
+
return Reflect.metadata(k, v);
|
|
525
|
+
};
|
|
526
|
+
var 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', 'enableAdaptiveUI', 'enableAutoWbsUpdate', 'enableContextMenu', 'enableCriticalPath', 'enableHover', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableMultiTaskbar', 'enablePersistence', 'enablePredecessorValidation', 'enableRtl', 'enableTimelineVirtualization', 'enableUndoRedo', 'enableVirtualMaskRow', 'enableVirtualization', 'enableWBS', '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', 'timelineTemplate', 'timezone', 'toolbar', 'tooltipSettings', 'treeColumnIndex', 'undoRedoActions', 'undoRedoStepsCount', 'updateOffsetOnTaskbarEdit', 'validateManualTasksOnLinking', 'viewType', 'weekWorkingTime', 'width', 'workUnit', 'workWeek', 'zoomingLevels'];
|
|
527
|
+
var outputs$7 = ['actionBegin', 'actionComplete', 'actionFailure', 'beforeDataBound', 'beforeExcelExport', 'beforePdfExport', 'beforeTooltipRender', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSave', 'cellSelected', 'cellSelecting', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataStateChange', 'destroyed', 'endEdit', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'onMouseMove', 'onTaskbarClick', 'pdfColumnHeaderQueryCellInfo', 'pdfExportComplete', 'pdfQueryCellInfo', 'pdfQueryTaskbarInfo', 'pdfQueryTimelineCellInfo', 'queryCellInfo', 'queryTaskbarInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'splitterResizeStart', 'splitterResized', 'splitterResizing', 'taskbarEdited', 'taskbarEditing', 'toolbarClick', 'dataSourceChange'];
|
|
528
|
+
var twoWays = ['dataSource'];
|
|
529
|
+
/**
|
|
530
|
+
* `ejs-gantt` represents the Angular Gantt Component.
|
|
531
|
+
* ```html
|
|
532
|
+
* <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'></ejs-gantt>
|
|
533
|
+
* ```
|
|
534
|
+
*/
|
|
535
|
+
exports.GanttComponent = /** @class */ (function (_super) {
|
|
536
|
+
__extends(GanttComponent, _super);
|
|
537
|
+
/**
|
|
538
|
+
* @param {?} ngEle
|
|
539
|
+
* @param {?} srenderer
|
|
540
|
+
* @param {?} viewContainerRef
|
|
541
|
+
* @param {?} injector
|
|
542
|
+
*/
|
|
543
|
+
function GanttComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
544
|
+
var _this = _super.call(this) || this;
|
|
545
|
+
_this.ngEle = ngEle;
|
|
546
|
+
_this.srenderer = srenderer;
|
|
547
|
+
_this.viewContainerRef = viewContainerRef;
|
|
548
|
+
_this.injector = injector;
|
|
549
|
+
_this.tags = ['columns', 'addDialogFields', 'editDialogFields', 'dayWorkingTime', 'weekWorkingTime', 'holidays', 'eventMarkers'];
|
|
550
|
+
_this.element = _this.ngEle.nativeElement;
|
|
551
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
552
|
+
try {
|
|
553
|
+
var mod = _this.injector.get('GanttFilter');
|
|
554
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
555
|
+
_this.injectedModules.push(mod);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
catch (_a) { }
|
|
559
|
+
try {
|
|
560
|
+
var mod = _this.injector.get('GanttSelection');
|
|
561
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
562
|
+
_this.injectedModules.push(mod);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
catch (_b) { }
|
|
566
|
+
try {
|
|
567
|
+
var mod = _this.injector.get('GanttSort');
|
|
568
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
569
|
+
_this.injectedModules.push(mod);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
catch (_c) { }
|
|
573
|
+
try {
|
|
574
|
+
var mod = _this.injector.get('GanttReorder');
|
|
575
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
576
|
+
_this.injectedModules.push(mod);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
catch (_d) { }
|
|
580
|
+
try {
|
|
581
|
+
var mod = _this.injector.get('GanttResize');
|
|
582
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
583
|
+
_this.injectedModules.push(mod);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
catch (_e) { }
|
|
587
|
+
try {
|
|
588
|
+
var mod = _this.injector.get('GanttEdit');
|
|
589
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
590
|
+
_this.injectedModules.push(mod);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
catch (_f) { }
|
|
594
|
+
try {
|
|
595
|
+
var mod = _this.injector.get('GanttDayMarkers');
|
|
596
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
597
|
+
_this.injectedModules.push(mod);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
catch (_g) { }
|
|
601
|
+
try {
|
|
602
|
+
var mod = _this.injector.get('GanttToolbar');
|
|
603
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
604
|
+
_this.injectedModules.push(mod);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
catch (_h) { }
|
|
608
|
+
try {
|
|
609
|
+
var mod = _this.injector.get('GanttContextMenu');
|
|
610
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
611
|
+
_this.injectedModules.push(mod);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
catch (_j) { }
|
|
615
|
+
try {
|
|
616
|
+
var mod = _this.injector.get('GanttExcelExport');
|
|
617
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
618
|
+
_this.injectedModules.push(mod);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
catch (_k) { }
|
|
622
|
+
try {
|
|
623
|
+
var mod = _this.injector.get('GanttRowDD');
|
|
624
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
625
|
+
_this.injectedModules.push(mod);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
catch (_l) { }
|
|
629
|
+
try {
|
|
630
|
+
var mod = _this.injector.get('GanttColumnMenu');
|
|
631
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
632
|
+
_this.injectedModules.push(mod);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
catch (_m) { }
|
|
636
|
+
try {
|
|
637
|
+
var mod = _this.injector.get('GanttPdfExport');
|
|
638
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
639
|
+
_this.injectedModules.push(mod);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
catch (_o) { }
|
|
643
|
+
try {
|
|
644
|
+
var mod = _this.injector.get('GanttVirtualScroll');
|
|
645
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
646
|
+
_this.injectedModules.push(mod);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
catch (_p) { }
|
|
650
|
+
try {
|
|
651
|
+
var mod = _this.injector.get('GanttCriticalPath');
|
|
652
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
653
|
+
_this.injectedModules.push(mod);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
catch (_q) { }
|
|
657
|
+
try {
|
|
658
|
+
var mod = _this.injector.get('GanttUndoRedo');
|
|
659
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
660
|
+
_this.injectedModules.push(mod);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
catch (_r) { }
|
|
664
|
+
_this.registerEvents(outputs$7);
|
|
665
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
666
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
667
|
+
_this.context = new ej2AngularBase.ComponentBase();
|
|
668
|
+
return _this;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* @return {?}
|
|
672
|
+
*/
|
|
673
|
+
GanttComponent.prototype.ngOnInit = function () {
|
|
674
|
+
this.context.ngOnInit(this);
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* @return {?}
|
|
678
|
+
*/
|
|
679
|
+
GanttComponent.prototype.ngAfterViewInit = function () {
|
|
680
|
+
this.context.ngAfterViewInit(this);
|
|
681
|
+
};
|
|
682
|
+
/**
|
|
683
|
+
* @return {?}
|
|
684
|
+
*/
|
|
685
|
+
GanttComponent.prototype.ngOnDestroy = function () {
|
|
686
|
+
this.context.ngOnDestroy(this);
|
|
687
|
+
};
|
|
688
|
+
/**
|
|
689
|
+
* @return {?}
|
|
690
|
+
*/
|
|
691
|
+
GanttComponent.prototype.ngAfterContentChecked = function () {
|
|
692
|
+
this.tagObjects[0].instance = this.childColumns;
|
|
693
|
+
if (this.childAddDialogFields) {
|
|
694
|
+
this.tagObjects[1].instance = this.childAddDialogFields;
|
|
695
|
+
}
|
|
696
|
+
if (this.childEditDialogFields) {
|
|
697
|
+
this.tagObjects[2].instance = this.childEditDialogFields;
|
|
698
|
+
}
|
|
699
|
+
if (this.childDayWorkingTime) {
|
|
700
|
+
this.tagObjects[3].instance = this.childDayWorkingTime;
|
|
701
|
+
}
|
|
702
|
+
if (this.childWeekWorkingTime) {
|
|
703
|
+
this.tagObjects[4].instance = this.childWeekWorkingTime;
|
|
704
|
+
}
|
|
705
|
+
if (this.childHolidays) {
|
|
706
|
+
this.tagObjects[5].instance = this.childHolidays;
|
|
707
|
+
}
|
|
708
|
+
if (this.childEventMarkers) {
|
|
709
|
+
this.tagObjects[6].instance = this.childEventMarkers;
|
|
710
|
+
}
|
|
711
|
+
this.context.ngAfterContentChecked(this);
|
|
712
|
+
};
|
|
713
|
+
return GanttComponent;
|
|
714
|
+
}(ej2Gantt.Gantt));
|
|
715
|
+
exports.GanttComponent.decorators = [
|
|
716
|
+
{ type: core.Component, args: [{
|
|
717
|
+
selector: 'ejs-gantt',
|
|
718
|
+
inputs: inputs,
|
|
719
|
+
outputs: outputs$7,
|
|
720
|
+
template: '',
|
|
721
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
722
|
+
queries: {
|
|
723
|
+
childColumns: new core.ContentChild(ColumnsDirective),
|
|
724
|
+
childAddDialogFields: new core.ContentChild(AddDialogFieldsDirective),
|
|
725
|
+
childEditDialogFields: new core.ContentChild(EditDialogFieldsDirective),
|
|
726
|
+
childDayWorkingTime: new core.ContentChild(DayWorkingTimeCollectionDirective),
|
|
727
|
+
childWeekWorkingTime: new core.ContentChild(WeekWorkingTimesDirective),
|
|
728
|
+
childHolidays: new core.ContentChild(HolidaysDirective),
|
|
729
|
+
childEventMarkers: new core.ContentChild(EventMarkersDirective)
|
|
730
|
+
}
|
|
731
|
+
},] },
|
|
732
|
+
];
|
|
733
|
+
/**
|
|
734
|
+
* @nocollapse
|
|
735
|
+
*/
|
|
736
|
+
exports.GanttComponent.ctorParameters = function () { return [
|
|
737
|
+
{ type: core.ElementRef, },
|
|
738
|
+
{ type: core.Renderer2, },
|
|
739
|
+
{ type: core.ViewContainerRef, },
|
|
740
|
+
{ type: core.Injector, },
|
|
741
|
+
]; };
|
|
742
|
+
exports.GanttComponent.propDecorators = {
|
|
743
|
+
'parentTaskbarTemplate': [{ type: core.ContentChild, args: ['parentTaskbarTemplate',] },],
|
|
744
|
+
'timelineTemplate': [{ type: core.ContentChild, args: ['timelineTemplate',] },],
|
|
745
|
+
'milestoneTemplate': [{ type: core.ContentChild, args: ['milestoneTemplate',] },],
|
|
746
|
+
'taskbarTemplate': [{ type: core.ContentChild, args: ['taskbarTemplate',] },],
|
|
747
|
+
'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
|
|
748
|
+
'labelSettings_rightLabel': [{ type: core.ContentChild, args: ['labelSettingsRightLabel',] },],
|
|
749
|
+
'labelSettings_leftLabel': [{ type: core.ContentChild, args: ['labelSettingsLeftLabel',] },],
|
|
750
|
+
'labelSettings_taskLabel': [{ type: core.ContentChild, args: ['labelSettingsTaskLabel',] },],
|
|
751
|
+
'tooltipSettings_taskbar': [{ type: core.ContentChild, args: ['tooltipSettingsTaskbar',] },],
|
|
752
|
+
'tooltipSettings_baseline': [{ type: core.ContentChild, args: ['tooltipSettingsBaseline',] },],
|
|
753
|
+
'tooltipSettings_connectorLine': [{ type: core.ContentChild, args: ['tooltipSettingsConnectorLine',] },],
|
|
754
|
+
'tooltipSettings_editing': [{ type: core.ContentChild, args: ['tooltipSettingsEditing',] },],
|
|
755
|
+
'tooltipSettings_timeline': [{ type: core.ContentChild, args: ['tooltipSettingsTimeline',] },],
|
|
756
|
+
'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
|
|
757
|
+
'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
|
|
758
|
+
};
|
|
759
|
+
__decorate$1([
|
|
760
|
+
ej2AngularBase.Template(),
|
|
761
|
+
__metadata$1("design:type", Object)
|
|
762
|
+
], exports.GanttComponent.prototype, "parentTaskbarTemplate", void 0);
|
|
763
|
+
__decorate$1([
|
|
764
|
+
ej2AngularBase.Template(),
|
|
765
|
+
__metadata$1("design:type", Object)
|
|
766
|
+
], exports.GanttComponent.prototype, "timelineTemplate", void 0);
|
|
767
|
+
__decorate$1([
|
|
768
|
+
ej2AngularBase.Template(),
|
|
769
|
+
__metadata$1("design:type", Object)
|
|
770
|
+
], exports.GanttComponent.prototype, "milestoneTemplate", void 0);
|
|
771
|
+
__decorate$1([
|
|
772
|
+
ej2AngularBase.Template(),
|
|
773
|
+
__metadata$1("design:type", Object)
|
|
774
|
+
], exports.GanttComponent.prototype, "taskbarTemplate", void 0);
|
|
775
|
+
__decorate$1([
|
|
776
|
+
ej2AngularBase.Template(),
|
|
777
|
+
__metadata$1("design:type", Object)
|
|
778
|
+
], exports.GanttComponent.prototype, "editTemplate", void 0);
|
|
779
|
+
__decorate$1([
|
|
780
|
+
ej2AngularBase.Template(),
|
|
781
|
+
__metadata$1("design:type", Object)
|
|
782
|
+
], exports.GanttComponent.prototype, "labelSettings_rightLabel", void 0);
|
|
783
|
+
__decorate$1([
|
|
784
|
+
ej2AngularBase.Template(),
|
|
785
|
+
__metadata$1("design:type", Object)
|
|
786
|
+
], exports.GanttComponent.prototype, "labelSettings_leftLabel", void 0);
|
|
787
|
+
__decorate$1([
|
|
788
|
+
ej2AngularBase.Template(),
|
|
789
|
+
__metadata$1("design:type", Object)
|
|
790
|
+
], exports.GanttComponent.prototype, "labelSettings_taskLabel", void 0);
|
|
791
|
+
__decorate$1([
|
|
792
|
+
ej2AngularBase.Template(),
|
|
793
|
+
__metadata$1("design:type", Object)
|
|
794
|
+
], exports.GanttComponent.prototype, "tooltipSettings_taskbar", void 0);
|
|
795
|
+
__decorate$1([
|
|
796
|
+
ej2AngularBase.Template(),
|
|
797
|
+
__metadata$1("design:type", Object)
|
|
798
|
+
], exports.GanttComponent.prototype, "tooltipSettings_baseline", void 0);
|
|
799
|
+
__decorate$1([
|
|
800
|
+
ej2AngularBase.Template(),
|
|
801
|
+
__metadata$1("design:type", Object)
|
|
802
|
+
], exports.GanttComponent.prototype, "tooltipSettings_connectorLine", void 0);
|
|
803
|
+
__decorate$1([
|
|
804
|
+
ej2AngularBase.Template(),
|
|
805
|
+
__metadata$1("design:type", Object)
|
|
806
|
+
], exports.GanttComponent.prototype, "tooltipSettings_editing", void 0);
|
|
807
|
+
__decorate$1([
|
|
808
|
+
ej2AngularBase.Template(),
|
|
809
|
+
__metadata$1("design:type", Object)
|
|
810
|
+
], exports.GanttComponent.prototype, "tooltipSettings_timeline", void 0);
|
|
811
|
+
__decorate$1([
|
|
812
|
+
ej2AngularBase.Template(),
|
|
813
|
+
__metadata$1("design:type", Object)
|
|
814
|
+
], exports.GanttComponent.prototype, "filter_itemTemplate", void 0);
|
|
815
|
+
__decorate$1([
|
|
816
|
+
ej2AngularBase.Template(),
|
|
817
|
+
__metadata$1("design:type", Object)
|
|
818
|
+
], exports.GanttComponent.prototype, "filterTemplate", void 0);
|
|
819
|
+
exports.GanttComponent = __decorate$1([
|
|
820
|
+
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
821
|
+
__metadata$1("design:paramtypes", [core.ElementRef,
|
|
822
|
+
core.Renderer2,
|
|
823
|
+
core.ViewContainerRef,
|
|
824
|
+
core.Injector])
|
|
825
|
+
], exports.GanttComponent);
|
|
826
|
+
/**
|
|
827
|
+
* NgModule definition for the Gantt component.
|
|
828
|
+
*/
|
|
829
|
+
var GanttModule = /** @class */ (function () {
|
|
830
|
+
function GanttModule() {
|
|
831
|
+
}
|
|
832
|
+
return GanttModule;
|
|
833
|
+
}());
|
|
834
|
+
GanttModule.decorators = [
|
|
835
|
+
{ type: core.NgModule, args: [{
|
|
836
|
+
imports: [common.CommonModule],
|
|
837
|
+
declarations: [
|
|
838
|
+
exports.GanttComponent,
|
|
839
|
+
ColumnDirective,
|
|
840
|
+
ColumnsDirective,
|
|
841
|
+
AddDialogFieldDirective,
|
|
842
|
+
AddDialogFieldsDirective,
|
|
843
|
+
EditDialogFieldDirective,
|
|
844
|
+
EditDialogFieldsDirective,
|
|
845
|
+
DayWorkingTimeDirective,
|
|
846
|
+
DayWorkingTimeCollectionDirective,
|
|
847
|
+
WeekWorkingTimeDirective,
|
|
848
|
+
WeekWorkingTimesDirective,
|
|
849
|
+
HolidayDirective,
|
|
850
|
+
HolidaysDirective,
|
|
851
|
+
EventMarkerDirective,
|
|
852
|
+
EventMarkersDirective
|
|
853
|
+
],
|
|
854
|
+
exports: [
|
|
855
|
+
exports.GanttComponent,
|
|
856
|
+
ColumnDirective,
|
|
857
|
+
ColumnsDirective,
|
|
858
|
+
AddDialogFieldDirective,
|
|
859
|
+
AddDialogFieldsDirective,
|
|
860
|
+
EditDialogFieldDirective,
|
|
861
|
+
EditDialogFieldsDirective,
|
|
862
|
+
DayWorkingTimeDirective,
|
|
863
|
+
DayWorkingTimeCollectionDirective,
|
|
864
|
+
WeekWorkingTimeDirective,
|
|
865
|
+
WeekWorkingTimesDirective,
|
|
866
|
+
HolidayDirective,
|
|
867
|
+
HolidaysDirective,
|
|
868
|
+
EventMarkerDirective,
|
|
869
|
+
EventMarkersDirective
|
|
870
|
+
]
|
|
871
|
+
},] },
|
|
872
|
+
];
|
|
873
|
+
/**
|
|
874
|
+
* @nocollapse
|
|
875
|
+
*/
|
|
876
|
+
GanttModule.ctorParameters = function () { return []; };
|
|
877
|
+
var FilterService = { provide: 'GanttFilter', useValue: ej2Gantt.Filter };
|
|
878
|
+
var SelectionService = { provide: 'GanttSelection', useValue: ej2Gantt.Selection };
|
|
879
|
+
var SortService = { provide: 'GanttSort', useValue: ej2Gantt.Sort };
|
|
880
|
+
var ReorderService = { provide: 'GanttReorder', useValue: ej2Gantt.Reorder };
|
|
881
|
+
var ResizeService = { provide: 'GanttResize', useValue: ej2Gantt.Resize };
|
|
882
|
+
var EditService = { provide: 'GanttEdit', useValue: ej2Gantt.Edit };
|
|
883
|
+
var DayMarkersService = { provide: 'GanttDayMarkers', useValue: ej2Gantt.DayMarkers };
|
|
884
|
+
var ToolbarService = { provide: 'GanttToolbar', useValue: ej2Gantt.Toolbar };
|
|
885
|
+
var ContextMenuService = { provide: 'GanttContextMenu', useValue: ej2Gantt.ContextMenu };
|
|
886
|
+
var ExcelExportService = { provide: 'GanttExcelExport', useValue: ej2Gantt.ExcelExport };
|
|
887
|
+
var RowDDService = { provide: 'GanttRowDD', useValue: ej2Gantt.RowDD };
|
|
888
|
+
var ColumnMenuService = { provide: 'GanttColumnMenu', useValue: ej2Gantt.ColumnMenu };
|
|
889
|
+
var PdfExportService = { provide: 'GanttPdfExport', useValue: ej2Gantt.PdfExport };
|
|
890
|
+
var VirtualScrollService = { provide: 'GanttVirtualScroll', useValue: ej2Gantt.VirtualScroll };
|
|
891
|
+
var CriticalPathService = { provide: 'GanttCriticalPath', useValue: ej2Gantt.CriticalPath };
|
|
892
|
+
var UndoRedoService = { provide: 'GanttUndoRedo', useValue: ej2Gantt.UndoRedo };
|
|
893
|
+
/**
|
|
894
|
+
* NgModule definition for the Gantt component with providers.
|
|
895
|
+
*/
|
|
896
|
+
var GanttAllModule = /** @class */ (function () {
|
|
897
|
+
function GanttAllModule() {
|
|
898
|
+
}
|
|
899
|
+
return GanttAllModule;
|
|
900
|
+
}());
|
|
901
|
+
GanttAllModule.decorators = [
|
|
902
|
+
{ type: core.NgModule, args: [{
|
|
903
|
+
imports: [common.CommonModule, GanttModule],
|
|
904
|
+
exports: [
|
|
905
|
+
GanttModule
|
|
906
|
+
],
|
|
907
|
+
providers: [
|
|
908
|
+
FilterService,
|
|
909
|
+
SelectionService,
|
|
910
|
+
SortService,
|
|
911
|
+
ReorderService,
|
|
912
|
+
ResizeService,
|
|
913
|
+
EditService,
|
|
914
|
+
DayMarkersService,
|
|
915
|
+
ToolbarService,
|
|
916
|
+
ContextMenuService,
|
|
917
|
+
ExcelExportService,
|
|
918
|
+
RowDDService,
|
|
919
|
+
ColumnMenuService,
|
|
920
|
+
PdfExportService,
|
|
921
|
+
VirtualScrollService,
|
|
922
|
+
CriticalPathService,
|
|
923
|
+
UndoRedoService
|
|
924
|
+
]
|
|
925
|
+
},] },
|
|
926
|
+
];
|
|
927
|
+
/**
|
|
928
|
+
* @nocollapse
|
|
929
|
+
*/
|
|
930
|
+
GanttAllModule.ctorParameters = function () { return []; };
|
|
931
|
+
|
|
932
|
+
exports.ColumnDirective = ColumnDirective;
|
|
933
|
+
exports.ColumnsDirective = ColumnsDirective;
|
|
934
|
+
exports.AddDialogFieldDirective = AddDialogFieldDirective;
|
|
935
|
+
exports.AddDialogFieldsDirective = AddDialogFieldsDirective;
|
|
936
|
+
exports.EditDialogFieldDirective = EditDialogFieldDirective;
|
|
937
|
+
exports.EditDialogFieldsDirective = EditDialogFieldsDirective;
|
|
938
|
+
exports.DayWorkingTimeDirective = DayWorkingTimeDirective;
|
|
939
|
+
exports.DayWorkingTimeCollectionDirective = DayWorkingTimeCollectionDirective;
|
|
940
|
+
exports.WeekWorkingTimeDirective = WeekWorkingTimeDirective;
|
|
941
|
+
exports.WeekWorkingTimesDirective = WeekWorkingTimesDirective;
|
|
942
|
+
exports.HolidayDirective = HolidayDirective;
|
|
943
|
+
exports.HolidaysDirective = HolidaysDirective;
|
|
944
|
+
exports.EventMarkerDirective = EventMarkerDirective;
|
|
945
|
+
exports.EventMarkersDirective = EventMarkersDirective;
|
|
946
|
+
exports.GanttModule = GanttModule;
|
|
947
|
+
exports.GanttAllModule = GanttAllModule;
|
|
948
|
+
exports.FilterService = FilterService;
|
|
949
|
+
exports.SelectionService = SelectionService;
|
|
950
|
+
exports.SortService = SortService;
|
|
951
|
+
exports.ReorderService = ReorderService;
|
|
952
|
+
exports.ResizeService = ResizeService;
|
|
953
|
+
exports.EditService = EditService;
|
|
954
|
+
exports.DayMarkersService = DayMarkersService;
|
|
955
|
+
exports.ToolbarService = ToolbarService;
|
|
956
|
+
exports.ContextMenuService = ContextMenuService;
|
|
957
|
+
exports.ExcelExportService = ExcelExportService;
|
|
958
|
+
exports.RowDDService = RowDDService;
|
|
959
|
+
exports.ColumnMenuService = ColumnMenuService;
|
|
960
|
+
exports.PdfExportService = PdfExportService;
|
|
961
|
+
exports.VirtualScrollService = VirtualScrollService;
|
|
962
|
+
exports.CriticalPathService = CriticalPathService;
|
|
963
|
+
exports.UndoRedoService = UndoRedoService;
|
|
964
|
+
exports.ɵa = inputs;
|
|
965
|
+
exports.ɵb = outputs$7;
|
|
966
|
+
exports.Gantt = ej2Gantt.Gantt;
|
|
967
|
+
exports.PdfHorizontalOverflowType = ej2Gantt.PdfHorizontalOverflowType;
|
|
968
|
+
exports.parentsUntil = ej2Gantt.parentsUntil;
|
|
969
|
+
exports.isScheduledTask = ej2Gantt.isScheduledTask;
|
|
970
|
+
exports.isCountRequired = ej2Gantt.isCountRequired;
|
|
971
|
+
exports.getSwapKey = ej2Gantt.getSwapKey;
|
|
972
|
+
exports.isEmptyObject = ej2Gantt.isEmptyObject;
|
|
973
|
+
exports.getUniversalTime = ej2Gantt.getUniversalTime;
|
|
974
|
+
exports.isRemoteData = ej2Gantt.isRemoteData;
|
|
975
|
+
exports.getTaskData = ej2Gantt.getTaskData;
|
|
976
|
+
exports.updateDates = ej2Gantt.updateDates;
|
|
977
|
+
exports.formatString = ej2Gantt.formatString;
|
|
978
|
+
exports.getIndex = ej2Gantt.getIndex;
|
|
979
|
+
exports.pixelToPoint = ej2Gantt.pixelToPoint;
|
|
980
|
+
exports.pointToPixel = ej2Gantt.pointToPixel;
|
|
981
|
+
exports.getUid = ej2Gantt.getUid;
|
|
982
|
+
exports.ConstraintType = ej2Gantt.ConstraintType;
|
|
983
|
+
exports.load = ej2Gantt.load;
|
|
984
|
+
exports.rowDataBound = ej2Gantt.rowDataBound;
|
|
985
|
+
exports.queryCellInfo = ej2Gantt.queryCellInfo;
|
|
986
|
+
exports.toolbarClick = ej2Gantt.toolbarClick;
|
|
987
|
+
exports.keyPressed = ej2Gantt.keyPressed;
|
|
988
|
+
exports.Edit = ej2Gantt.Edit;
|
|
989
|
+
exports.Reorder = ej2Gantt.Reorder;
|
|
990
|
+
exports.Resize = ej2Gantt.Resize;
|
|
991
|
+
exports.Filter = ej2Gantt.Filter;
|
|
992
|
+
exports.Sort = ej2Gantt.Sort;
|
|
993
|
+
exports.Dependency = ej2Gantt.Dependency;
|
|
994
|
+
exports.Selection = ej2Gantt.Selection;
|
|
995
|
+
exports.Toolbar = ej2Gantt.Toolbar;
|
|
996
|
+
exports.DayMarkers = ej2Gantt.DayMarkers;
|
|
997
|
+
exports.CriticalPath = ej2Gantt.CriticalPath;
|
|
998
|
+
exports.UndoRedo = ej2Gantt.UndoRedo;
|
|
999
|
+
exports.ContextMenu = ej2Gantt.ContextMenu;
|
|
1000
|
+
exports.ExcelExport = ej2Gantt.ExcelExport;
|
|
1001
|
+
exports.ColumnMenu = ej2Gantt.ColumnMenu;
|
|
1002
|
+
exports.RowDD = ej2Gantt.RowDD;
|
|
1003
|
+
exports.PdfExport = ej2Gantt.PdfExport;
|
|
1004
|
+
exports.VirtualScroll = ej2Gantt.VirtualScroll;
|
|
1005
|
+
exports.Column = ej2Gantt.Column;
|
|
1006
|
+
exports.DayWorkingTime = ej2Gantt.DayWorkingTime;
|
|
1007
|
+
exports.AddDialogFieldSettings = ej2Gantt.AddDialogFieldSettings;
|
|
1008
|
+
exports.EditDialogFieldSettings = ej2Gantt.EditDialogFieldSettings;
|
|
1009
|
+
exports.EditSettings = ej2Gantt.EditSettings;
|
|
1010
|
+
exports.EventMarker = ej2Gantt.EventMarker;
|
|
1011
|
+
exports.FilterSettings = ej2Gantt.FilterSettings;
|
|
1012
|
+
exports.SearchSettings = ej2Gantt.SearchSettings;
|
|
1013
|
+
exports.Holiday = ej2Gantt.Holiday;
|
|
1014
|
+
exports.LabelSettings = ej2Gantt.LabelSettings;
|
|
1015
|
+
exports.SelectionSettings = ej2Gantt.SelectionSettings;
|
|
1016
|
+
exports.SplitterSettings = ej2Gantt.SplitterSettings;
|
|
1017
|
+
exports.TaskFields = ej2Gantt.TaskFields;
|
|
1018
|
+
exports.TimelineTierSettings = ej2Gantt.TimelineTierSettings;
|
|
1019
|
+
exports.TimelineSettings = ej2Gantt.TimelineSettings;
|
|
1020
|
+
exports.TooltipSettings = ej2Gantt.TooltipSettings;
|
|
1021
|
+
exports.SortDescriptor = ej2Gantt.SortDescriptor;
|
|
1022
|
+
exports.SortSettings = ej2Gantt.SortSettings;
|
|
1023
|
+
exports.ResourceFields = ej2Gantt.ResourceFields;
|
|
1024
|
+
exports.LoadingIndicator = ej2Gantt.LoadingIndicator;
|
|
1025
|
+
exports.WeekWorkingTime = ej2Gantt.WeekWorkingTime;
|
|
1026
|
+
exports.TemporaryDictionary = ej2Gantt.TemporaryDictionary;
|
|
1027
|
+
exports.PdfBorders = ej2Gantt.PdfBorders;
|
|
1028
|
+
exports.PdfPaddings = ej2Gantt.PdfPaddings;
|
|
1029
|
+
exports.PdfTreeGridStyleBase = ej2Gantt.PdfTreeGridStyleBase;
|
|
1030
|
+
exports.PdfTreeGridStyle = ej2Gantt.PdfTreeGridStyle;
|
|
1031
|
+
exports.PdfGanttTheme = ej2Gantt.PdfGanttTheme;
|
|
1032
|
+
exports.PdfTreeGridLayouter = ej2Gantt.PdfTreeGridLayouter;
|
|
1033
|
+
exports.PdfTreeGridLayoutResult = ej2Gantt.PdfTreeGridLayoutResult;
|
|
1034
|
+
exports.PdfTreeGridLayoutFormat = ej2Gantt.PdfTreeGridLayoutFormat;
|
|
1035
|
+
exports.PdfTreeGridCell = ej2Gantt.PdfTreeGridCell;
|
|
1036
|
+
exports.PdfTreeGridCellCollection = ej2Gantt.PdfTreeGridCellCollection;
|
|
1037
|
+
exports.PdfTreeGridRow = ej2Gantt.PdfTreeGridRow;
|
|
1038
|
+
exports.PdfTreeGridRowCollection = ej2Gantt.PdfTreeGridRowCollection;
|
|
1039
|
+
exports.PdfTreeGridHeaderCollection = ej2Gantt.PdfTreeGridHeaderCollection;
|
|
1040
|
+
exports.PdfTreeGridColumn = ej2Gantt.PdfTreeGridColumn;
|
|
1041
|
+
exports.PdfTreeGridColumnCollection = ej2Gantt.PdfTreeGridColumnCollection;
|
|
1042
|
+
|
|
1043
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1044
|
+
|
|
1045
|
+
})));
|
|
1046
|
+
//# sourceMappingURL=ej2-angular-gantt.umd.js.map
|