@syncfusion/ej2-vue-gantt 20.1.47 → 20.1.48

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 (56) hide show
  1. package/CHANGELOG.md +0 -10
  2. package/dist/ej2-vue-gantt.umd.min.js +2 -2
  3. package/dist/es6/ej2-vue-gantt.es2015.js +15 -221
  4. package/dist/es6/ej2-vue-gantt.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-gantt.es5.js +15 -150
  6. package/dist/es6/ej2-vue-gantt.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-gantt.min.js +2 -2
  8. package/package.json +14 -8
  9. package/src/gantt/adddialogfields.directive.d.ts +1 -3
  10. package/src/gantt/adddialogfields.directive.js +2 -24
  11. package/src/gantt/columns.directive.d.ts +1 -3
  12. package/src/gantt/columns.directive.js +2 -24
  13. package/src/gantt/dayworkingtime.directive.d.ts +1 -3
  14. package/src/gantt/dayworkingtime.directive.js +2 -24
  15. package/src/gantt/editdialogfields.directive.d.ts +1 -3
  16. package/src/gantt/editdialogfields.directive.js +2 -24
  17. package/src/gantt/eventmarkers.directive.d.ts +1 -3
  18. package/src/gantt/eventmarkers.directive.js +2 -24
  19. package/src/gantt/gantt.component.d.ts +0 -1
  20. package/src/gantt/gantt.component.js +1 -10
  21. package/src/gantt/holidays.directive.d.ts +1 -3
  22. package/src/gantt/holidays.directive.js +2 -24
  23. package/styles/bootstrap-dark.css +10 -37
  24. package/styles/bootstrap.css +10 -37
  25. package/styles/bootstrap4.css +10 -37
  26. package/styles/bootstrap5-dark.css +19 -53
  27. package/styles/bootstrap5.css +19 -53
  28. package/styles/fabric-dark.css +7 -34
  29. package/styles/fabric.css +10 -37
  30. package/styles/gantt/bootstrap-dark.css +10 -37
  31. package/styles/gantt/bootstrap.css +10 -37
  32. package/styles/gantt/bootstrap4.css +10 -37
  33. package/styles/gantt/bootstrap5-dark.css +19 -53
  34. package/styles/gantt/bootstrap5.css +19 -53
  35. package/styles/gantt/fabric-dark.css +7 -34
  36. package/styles/gantt/fabric.css +10 -37
  37. package/styles/gantt/highcontrast-light.css +7 -34
  38. package/styles/gantt/highcontrast.css +7 -34
  39. package/styles/gantt/material-dark.css +10 -37
  40. package/styles/gantt/material.css +10 -37
  41. package/styles/gantt/tailwind-dark.css +99 -70
  42. package/styles/gantt/tailwind.css +99 -70
  43. package/styles/highcontrast-light.css +7 -34
  44. package/styles/highcontrast.css +7 -34
  45. package/styles/material-dark.css +10 -37
  46. package/styles/material.css +10 -37
  47. package/styles/tailwind-dark.css +99 -70
  48. package/styles/tailwind.css +99 -70
  49. package/styles/fluent-dark.css +0 -1942
  50. package/styles/fluent-dark.scss +0 -1
  51. package/styles/fluent.css +0 -1942
  52. package/styles/fluent.scss +0 -1
  53. package/styles/gantt/fluent-dark.css +0 -1942
  54. package/styles/gantt/fluent-dark.scss +0 -1
  55. package/styles/gantt/fluent.css +0 -1942
  56. package/styles/gantt/fluent.scss +0 -1
@@ -1,8 +1,8 @@
1
1
  import { Gantt } from '@syncfusion/ej2-gantt';
2
2
  import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
3
3
  import { Vue } from 'vue-class-component';
4
- import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
5
4
  import Vue$1 from 'vue';
5
+ import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
6
6
 
7
7
  var __extends = (undefined && undefined.__extends) || (function () {
8
8
  var extendStatics = function (d, b) {
@@ -23,7 +23,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
23
23
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
24
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25
25
  };
26
- import { Options } from 'vue-class-component';
27
26
  var isExecute = gh ? false : true;
28
27
  var vueImport;
29
28
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -35,36 +34,16 @@ else {
35
34
  var ColumnsDirective = /** @__PURE__ @class */ (function (_super) {
36
35
  __extends(ColumnsDirective, _super);
37
36
  function ColumnsDirective() {
38
- return _super.call(this, arguments) || this;
37
+ return _super !== null && _super.apply(this, arguments) || this;
39
38
  }
40
- ColumnsDirective.prototype.render = function (createElement) {
41
- if (gh) {
42
- var h = gh || createElement;
43
- var slots = null;
44
- if (!isNullOrUndefined(this.$slots.default)) {
45
- slots = gh ? this.$slots.default() : this.$slots.default;
46
- }
47
- return h('div', { class: 'e-directive' }, slots);
48
- }
39
+ ColumnsDirective.prototype.render = function () {
49
40
  return;
50
41
  };
51
- ColumnsDirective.prototype.updated = function () {
52
- if (gh && this.custom) {
53
- this.custom();
54
- }
55
- };
56
42
  ColumnsDirective.prototype.getTag = function () {
57
43
  return 'e-columns';
58
44
  };
59
45
  ColumnsDirective = __decorate([
60
46
  EJComponentDecorator({}, isExecute)
61
- ,Options({
62
- inject: {
63
- custom: {
64
- default: null
65
- }
66
- }
67
- })
68
47
  ], ColumnsDirective);
69
48
  return ColumnsDirective;
70
49
  }(vueImport));
@@ -128,7 +107,6 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
128
107
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
129
108
  return c > 3 && r && Object.defineProperty(target, key, r), r;
130
109
  };
131
- // {{VueImport}}
132
110
  var isExecute$1 = gh ? false : true;
133
111
  var vueImport$1;
134
112
  if (!isExecute$1 || parseInt(allVue.version) < 3) {
@@ -140,36 +118,16 @@ else {
140
118
  var AddDialogFieldsDirective = /** @__PURE__ @class */ (function (_super) {
141
119
  __extends$1(AddDialogFieldsDirective, _super);
142
120
  function AddDialogFieldsDirective() {
143
- return _super.call(this, arguments) || this;
121
+ return _super !== null && _super.apply(this, arguments) || this;
144
122
  }
145
- AddDialogFieldsDirective.prototype.render = function (createElement) {
146
- if (gh) {
147
- var h = gh || createElement;
148
- var slots = null;
149
- if (!isNullOrUndefined(this.$slots.default)) {
150
- slots = gh ? this.$slots.default() : this.$slots.default;
151
- }
152
- return h('div', { class: 'e-directive' }, slots);
153
- }
123
+ AddDialogFieldsDirective.prototype.render = function () {
154
124
  return;
155
125
  };
156
- AddDialogFieldsDirective.prototype.updated = function () {
157
- if (gh && this.custom) {
158
- this.custom();
159
- }
160
- };
161
126
  AddDialogFieldsDirective.prototype.getTag = function () {
162
127
  return 'e-add-dialog-fields';
163
128
  };
164
129
  AddDialogFieldsDirective = __decorate$1([
165
130
  EJComponentDecorator({}, isExecute$1)
166
- ,Options({
167
- inject: {
168
- custom: {
169
- default: null
170
- }
171
- }
172
- })
173
131
  ], AddDialogFieldsDirective);
174
132
  return AddDialogFieldsDirective;
175
133
  }(vueImport$1));
@@ -233,7 +191,6 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
233
191
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
234
192
  return c > 3 && r && Object.defineProperty(target, key, r), r;
235
193
  };
236
- // {{VueImport}}
237
194
  var isExecute$2 = gh ? false : true;
238
195
  var vueImport$2;
239
196
  if (!isExecute$2 || parseInt(allVue.version) < 3) {
@@ -245,36 +202,16 @@ else {
245
202
  var EditDialogFieldsDirective = /** @__PURE__ @class */ (function (_super) {
246
203
  __extends$2(EditDialogFieldsDirective, _super);
247
204
  function EditDialogFieldsDirective() {
248
- return _super.call(this, arguments) || this;
205
+ return _super !== null && _super.apply(this, arguments) || this;
249
206
  }
250
- EditDialogFieldsDirective.prototype.render = function (createElement) {
251
- if (gh) {
252
- var h = gh || createElement;
253
- var slots = null;
254
- if (!isNullOrUndefined(this.$slots.default)) {
255
- slots = gh ? this.$slots.default() : this.$slots.default;
256
- }
257
- return h('div', { class: 'e-directive' }, slots);
258
- }
207
+ EditDialogFieldsDirective.prototype.render = function () {
259
208
  return;
260
209
  };
261
- EditDialogFieldsDirective.prototype.updated = function () {
262
- if (gh && this.custom) {
263
- this.custom();
264
- }
265
- };
266
210
  EditDialogFieldsDirective.prototype.getTag = function () {
267
211
  return 'e-edit-dialog-fields';
268
212
  };
269
213
  EditDialogFieldsDirective = __decorate$2([
270
214
  EJComponentDecorator({}, isExecute$2)
271
- ,Options({
272
- inject: {
273
- custom: {
274
- default: null
275
- }
276
- }
277
- })
278
215
  ], EditDialogFieldsDirective);
279
216
  return EditDialogFieldsDirective;
280
217
  }(vueImport$2));
@@ -338,7 +275,6 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
338
275
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
339
276
  return c > 3 && r && Object.defineProperty(target, key, r), r;
340
277
  };
341
- // {{VueImport}}
342
278
  var isExecute$3 = gh ? false : true;
343
279
  var vueImport$3;
344
280
  if (!isExecute$3 || parseInt(allVue.version) < 3) {
@@ -350,36 +286,16 @@ else {
350
286
  var DayWorkingTimeCollectionDirective = /** @__PURE__ @class */ (function (_super) {
351
287
  __extends$3(DayWorkingTimeCollectionDirective, _super);
352
288
  function DayWorkingTimeCollectionDirective() {
353
- return _super.call(this, arguments) || this;
289
+ return _super !== null && _super.apply(this, arguments) || this;
354
290
  }
355
- DayWorkingTimeCollectionDirective.prototype.render = function (createElement) {
356
- if (gh) {
357
- var h = gh || createElement;
358
- var slots = null;
359
- if (!isNullOrUndefined(this.$slots.default)) {
360
- slots = gh ? this.$slots.default() : this.$slots.default;
361
- }
362
- return h('div', { class: 'e-directive' }, slots);
363
- }
291
+ DayWorkingTimeCollectionDirective.prototype.render = function () {
364
292
  return;
365
293
  };
366
- DayWorkingTimeCollectionDirective.prototype.updated = function () {
367
- if (gh && this.custom) {
368
- this.custom();
369
- }
370
- };
371
294
  DayWorkingTimeCollectionDirective.prototype.getTag = function () {
372
295
  return 'e-day-working-time-collection';
373
296
  };
374
297
  DayWorkingTimeCollectionDirective = __decorate$3([
375
298
  EJComponentDecorator({}, isExecute$3)
376
- ,Options({
377
- inject: {
378
- custom: {
379
- default: null
380
- }
381
- }
382
- })
383
299
  ], DayWorkingTimeCollectionDirective);
384
300
  return DayWorkingTimeCollectionDirective;
385
301
  }(vueImport$3));
@@ -443,7 +359,6 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
443
359
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
444
360
  return c > 3 && r && Object.defineProperty(target, key, r), r;
445
361
  };
446
- // {{VueImport}}
447
362
  var isExecute$4 = gh ? false : true;
448
363
  var vueImport$4;
449
364
  if (!isExecute$4 || parseInt(allVue.version) < 3) {
@@ -455,36 +370,16 @@ else {
455
370
  var HolidaysDirective = /** @__PURE__ @class */ (function (_super) {
456
371
  __extends$4(HolidaysDirective, _super);
457
372
  function HolidaysDirective() {
458
- return _super.call(this, arguments) || this;
373
+ return _super !== null && _super.apply(this, arguments) || this;
459
374
  }
460
- HolidaysDirective.prototype.render = function (createElement) {
461
- if (gh) {
462
- var h = gh || createElement;
463
- var slots = null;
464
- if (!isNullOrUndefined(this.$slots.default)) {
465
- slots = gh ? this.$slots.default() : this.$slots.default;
466
- }
467
- return h('div', { class: 'e-directive' }, slots);
468
- }
375
+ HolidaysDirective.prototype.render = function () {
469
376
  return;
470
377
  };
471
- HolidaysDirective.prototype.updated = function () {
472
- if (gh && this.custom) {
473
- this.custom();
474
- }
475
- };
476
378
  HolidaysDirective.prototype.getTag = function () {
477
379
  return 'e-holidays';
478
380
  };
479
381
  HolidaysDirective = __decorate$4([
480
382
  EJComponentDecorator({}, isExecute$4)
481
- ,Options({
482
- inject: {
483
- custom: {
484
- default: null
485
- }
486
- }
487
- })
488
383
  ], HolidaysDirective);
489
384
  return HolidaysDirective;
490
385
  }(vueImport$4));
@@ -548,7 +443,6 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
548
443
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
549
444
  return c > 3 && r && Object.defineProperty(target, key, r), r;
550
445
  };
551
- // {{VueImport}}
552
446
  var isExecute$5 = gh ? false : true;
553
447
  var vueImport$5;
554
448
  if (!isExecute$5 || parseInt(allVue.version) < 3) {
@@ -560,36 +454,16 @@ else {
560
454
  var EventMarkersDirective = /** @__PURE__ @class */ (function (_super) {
561
455
  __extends$5(EventMarkersDirective, _super);
562
456
  function EventMarkersDirective() {
563
- return _super.call(this, arguments) || this;
457
+ return _super !== null && _super.apply(this, arguments) || this;
564
458
  }
565
- EventMarkersDirective.prototype.render = function (createElement) {
566
- if (gh) {
567
- var h = gh || createElement;
568
- var slots = null;
569
- if (!isNullOrUndefined(this.$slots.default)) {
570
- slots = gh ? this.$slots.default() : this.$slots.default;
571
- }
572
- return h('div', { class: 'e-directive' }, slots);
573
- }
459
+ EventMarkersDirective.prototype.render = function () {
574
460
  return;
575
461
  };
576
- EventMarkersDirective.prototype.updated = function () {
577
- if (gh && this.custom) {
578
- this.custom();
579
- }
580
- };
581
462
  EventMarkersDirective.prototype.getTag = function () {
582
463
  return 'e-event-markers';
583
464
  };
584
465
  EventMarkersDirective = __decorate$5([
585
466
  EJComponentDecorator({}, isExecute$5)
586
- ,Options({
587
- inject: {
588
- custom: {
589
- default: null
590
- }
591
- }
592
- })
593
467
  ], EventMarkersDirective);
594
468
  return EventMarkersDirective;
595
469
  }(vueImport$5));
@@ -652,7 +526,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
652
526
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
653
527
  return c > 3 && r && Object.defineProperty(target, key, r), r;
654
528
  };
655
- // {{VueImport}}
529
+ import { Options } from 'vue-class-component';
656
530
  var properties = ['isLazyUpdate', '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', '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'];
657
531
  var modelProps = ['dataSource'];
658
532
  var testProp = getProps({ props: properties });
@@ -689,7 +563,6 @@ var GanttComponent = /** @__PURE__ @class */ (function (_super) {
689
563
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
690
564
  _this.ej2Instances.setProperties = _this.setProperties;
691
565
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
692
- _this.updated = _this.updated;
693
566
  return _this;
694
567
  }
695
568
  GanttComponent.prototype.clearTemplate = function (templateNames) {
@@ -786,9 +659,6 @@ var GanttComponent = /** @__PURE__ @class */ (function (_super) {
786
659
  }
787
660
  return h('div', slots);
788
661
  };
789
- GanttComponent.prototype.custom = function () {
790
- this.updated();
791
- };
792
662
  GanttComponent.prototype.addPredecessor = function (id, predecessorString) {
793
663
  return this.ej2Instances.addPredecessor(id, predecessorString);
794
664
  };
@@ -1009,12 +879,7 @@ var GanttComponent = /** @__PURE__ @class */ (function (_super) {
1009
879
  ,Options({
1010
880
  props: props,
1011
881
  watch: watch,
1012
- emits: emitProbs,
1013
- provide: function provide() {
1014
- return {
1015
- custom: this.custom
1016
- };
1017
- }
882
+ emits: emitProbs
1018
883
  })
1019
884
  ], GanttComponent);
1020
885
  return GanttComponent;