@syncfusion/ej2-vue-gantt 19.4.56 → 20.1.50

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 +31 -0
  2. package/dist/ej2-vue-gantt.umd.min.js +1 -1
  3. package/dist/es6/ej2-vue-gantt.es2015.js +221 -15
  4. package/dist/es6/ej2-vue-gantt.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-gantt.es5.js +150 -15
  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 +8 -8
  9. package/src/gantt/adddialogfields.directive.d.ts +3 -1
  10. package/src/gantt/adddialogfields.directive.js +24 -2
  11. package/src/gantt/columns.directive.d.ts +3 -1
  12. package/src/gantt/columns.directive.js +24 -2
  13. package/src/gantt/dayworkingtime.directive.d.ts +3 -1
  14. package/src/gantt/dayworkingtime.directive.js +24 -2
  15. package/src/gantt/editdialogfields.directive.d.ts +3 -1
  16. package/src/gantt/editdialogfields.directive.js +24 -2
  17. package/src/gantt/eventmarkers.directive.d.ts +3 -1
  18. package/src/gantt/eventmarkers.directive.js +24 -2
  19. package/src/gantt/gantt.component.d.ts +1 -0
  20. package/src/gantt/gantt.component.js +10 -1
  21. package/src/gantt/holidays.directive.d.ts +3 -1
  22. package/src/gantt/holidays.directive.js +24 -2
  23. package/styles/bootstrap-dark.css +37 -10
  24. package/styles/bootstrap.css +37 -10
  25. package/styles/bootstrap4.css +37 -10
  26. package/styles/bootstrap5-dark.css +53 -19
  27. package/styles/bootstrap5.css +53 -19
  28. package/styles/fabric-dark.css +34 -7
  29. package/styles/fabric.css +37 -10
  30. package/styles/fluent-dark.css +1942 -0
  31. package/styles/fluent-dark.scss +1 -0
  32. package/styles/fluent.css +1942 -0
  33. package/styles/fluent.scss +1 -0
  34. package/styles/gantt/bootstrap-dark.css +37 -10
  35. package/styles/gantt/bootstrap.css +37 -10
  36. package/styles/gantt/bootstrap4.css +37 -10
  37. package/styles/gantt/bootstrap5-dark.css +53 -19
  38. package/styles/gantt/bootstrap5.css +53 -19
  39. package/styles/gantt/fabric-dark.css +34 -7
  40. package/styles/gantt/fabric.css +37 -10
  41. package/styles/gantt/fluent-dark.css +1942 -0
  42. package/styles/gantt/fluent-dark.scss +1 -0
  43. package/styles/gantt/fluent.css +1942 -0
  44. package/styles/gantt/fluent.scss +1 -0
  45. package/styles/gantt/highcontrast-light.css +34 -7
  46. package/styles/gantt/highcontrast.css +34 -7
  47. package/styles/gantt/material-dark.css +37 -10
  48. package/styles/gantt/material.css +37 -10
  49. package/styles/gantt/tailwind-dark.css +70 -99
  50. package/styles/gantt/tailwind.css +70 -99
  51. package/styles/highcontrast-light.css +34 -7
  52. package/styles/highcontrast.css +34 -7
  53. package/styles/material-dark.css +37 -10
  54. package/styles/material.css +37 -10
  55. package/styles/tailwind-dark.css +70 -99
  56. package/styles/tailwind.css +70 -99
package/CHANGELOG.md CHANGED
@@ -6,6 +6,37 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
+ - `#372623` - New record keeps an editable state in dependency tab even after switching the tabs has been fixed.
10
+ - `#373803` - Scrollbar not available in notes tab issue has been fixed.
11
+ - `#372344` - Issue in `taskLabelTemplate` using `ngTemplate` has been fixed.
12
+ - `#372131` - Issue in `taskbarTemplate` with `enableMultiTaskbar` enabled has been fixed.
13
+
14
+ ## 20.1.48 (2022-04-12)
15
+
16
+ ### Gantt
17
+
18
+ #### Bug Fixes
19
+
20
+ - `#371080` - Issue in `actionBegin` event for cancelling the row drag and drop action using request type `beforeDrop` has been fixed.
21
+ - `#374064` - Gantt height not gets responsive when collapsing all tasks in `auto` mode.
22
+ - `#372623` - Filter popup gets closed automatically When clicking between the filter fields has been fixed.
23
+
24
+ ## 20.1.47 (2022-04-04)
25
+
26
+ ### Gantt
27
+
28
+ #### Bug Fixes
29
+
30
+ - `#300959` - Provided support to fill empty space with extended timeline in zoom out action.
31
+ - `#371372` - Unable to change end Date of manual parent task issue has been fixed.
32
+ - `#363003` - Child mapping order not maintained in data source property issue has been fixed.
33
+
34
+ ## 19.4.56 (2022-03-15)
35
+
36
+ ### Gantt
37
+
38
+ #### Bug Fixes
39
+
9
40
  - `#369264` - Event marker labels not visible when there is single record has been fixed
10
41
  - `#362146` - Row customization using `rowDataBound` event in `enableImmutableMode` issue has been fixed
11
42
  - `#363336` - Child records not updated properly in specific index issue has been fixed.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-vue-gantt.umd.min.js
3
- * version : 19.4.56
3
+ * version : 20.1.50
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
@@ -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 Vue$1 from 'vue';
5
4
  import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
5
+ import Vue$1 from 'vue';
6
6
 
7
7
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8
8
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
10
10
  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;
11
11
  return c > 3 && r && Object.defineProperty(target, key, r), r;
12
12
  };
13
+ // {{VueImport}}
13
14
  const isExecute = gh ? false : true;
14
15
  let vueImport;
15
16
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
18
19
  else {
19
20
  vueImport = Vue$1;
20
21
  }
21
- let ColumnsDirective = class ColumnsDirective extends vueImport {
22
- render() {
22
+ let ColumnsDirective =
23
+ /* Start Options({
24
+ inject: {
25
+ custom: {
26
+ default: null
27
+ }
28
+ }
29
+ }) End */
30
+ class ColumnsDirective extends vueImport {
31
+ constructor() {
32
+ super(arguments);
33
+ }
34
+ render(createElement) {
35
+ if (gh) {
36
+ let h = gh || createElement;
37
+ let slots = null;
38
+ if (!isNullOrUndefined(this.$slots.default)) {
39
+ slots = gh ? this.$slots.default() : this.$slots.default;
40
+ }
41
+ return h('div', { class: 'e-directive' }, slots);
42
+ }
23
43
  return;
24
44
  }
45
+ updated() {
46
+ if (gh && this.custom) {
47
+ this.custom();
48
+ }
49
+ }
25
50
  getTag() {
26
51
  return 'e-columns';
27
52
  }
28
53
  };
29
54
  ColumnsDirective = __decorate([
30
55
  EJComponentDecorator({}, isExecute)
56
+ /* Start Options({
57
+ inject: {
58
+ custom: {
59
+ default: null
60
+ }
61
+ }
62
+ }) End */
31
63
  ], ColumnsDirective);
32
64
  const ColumnsPlugin = {
33
65
  name: 'e-columns',
@@ -71,6 +103,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
71
103
  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;
72
104
  return c > 3 && r && Object.defineProperty(target, key, r), r;
73
105
  };
106
+ // {{VueImport}}
74
107
  const isExecute$1 = gh ? false : true;
75
108
  let vueImport$1;
76
109
  if (!isExecute$1 || parseInt(allVue.version) < 3) {
@@ -79,16 +112,47 @@ if (!isExecute$1 || parseInt(allVue.version) < 3) {
79
112
  else {
80
113
  vueImport$1 = Vue$1;
81
114
  }
82
- let AddDialogFieldsDirective = class AddDialogFieldsDirective extends vueImport$1 {
83
- render() {
115
+ let AddDialogFieldsDirective =
116
+ /* Start Options({
117
+ inject: {
118
+ custom: {
119
+ default: null
120
+ }
121
+ }
122
+ }) End */
123
+ class AddDialogFieldsDirective extends vueImport$1 {
124
+ constructor() {
125
+ super(arguments);
126
+ }
127
+ render(createElement) {
128
+ if (gh) {
129
+ let h = gh || createElement;
130
+ let slots = null;
131
+ if (!isNullOrUndefined(this.$slots.default)) {
132
+ slots = gh ? this.$slots.default() : this.$slots.default;
133
+ }
134
+ return h('div', { class: 'e-directive' }, slots);
135
+ }
84
136
  return;
85
137
  }
138
+ updated() {
139
+ if (gh && this.custom) {
140
+ this.custom();
141
+ }
142
+ }
86
143
  getTag() {
87
144
  return 'e-add-dialog-fields';
88
145
  }
89
146
  };
90
147
  AddDialogFieldsDirective = __decorate$1([
91
148
  EJComponentDecorator({}, isExecute$1)
149
+ /* Start Options({
150
+ inject: {
151
+ custom: {
152
+ default: null
153
+ }
154
+ }
155
+ }) End */
92
156
  ], AddDialogFieldsDirective);
93
157
  const AddDialogFieldsPlugin = {
94
158
  name: 'e-add-dialog-fields',
@@ -132,6 +196,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
132
196
  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;
133
197
  return c > 3 && r && Object.defineProperty(target, key, r), r;
134
198
  };
199
+ // {{VueImport}}
135
200
  const isExecute$2 = gh ? false : true;
136
201
  let vueImport$2;
137
202
  if (!isExecute$2 || parseInt(allVue.version) < 3) {
@@ -140,16 +205,47 @@ if (!isExecute$2 || parseInt(allVue.version) < 3) {
140
205
  else {
141
206
  vueImport$2 = Vue$1;
142
207
  }
143
- let EditDialogFieldsDirective = class EditDialogFieldsDirective extends vueImport$2 {
144
- render() {
208
+ let EditDialogFieldsDirective =
209
+ /* Start Options({
210
+ inject: {
211
+ custom: {
212
+ default: null
213
+ }
214
+ }
215
+ }) End */
216
+ class EditDialogFieldsDirective extends vueImport$2 {
217
+ constructor() {
218
+ super(arguments);
219
+ }
220
+ render(createElement) {
221
+ if (gh) {
222
+ let h = gh || createElement;
223
+ let slots = null;
224
+ if (!isNullOrUndefined(this.$slots.default)) {
225
+ slots = gh ? this.$slots.default() : this.$slots.default;
226
+ }
227
+ return h('div', { class: 'e-directive' }, slots);
228
+ }
145
229
  return;
146
230
  }
231
+ updated() {
232
+ if (gh && this.custom) {
233
+ this.custom();
234
+ }
235
+ }
147
236
  getTag() {
148
237
  return 'e-edit-dialog-fields';
149
238
  }
150
239
  };
151
240
  EditDialogFieldsDirective = __decorate$2([
152
241
  EJComponentDecorator({}, isExecute$2)
242
+ /* Start Options({
243
+ inject: {
244
+ custom: {
245
+ default: null
246
+ }
247
+ }
248
+ }) End */
153
249
  ], EditDialogFieldsDirective);
154
250
  const EditDialogFieldsPlugin = {
155
251
  name: 'e-edit-dialog-fields',
@@ -193,6 +289,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
193
289
  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;
194
290
  return c > 3 && r && Object.defineProperty(target, key, r), r;
195
291
  };
292
+ // {{VueImport}}
196
293
  const isExecute$3 = gh ? false : true;
197
294
  let vueImport$3;
198
295
  if (!isExecute$3 || parseInt(allVue.version) < 3) {
@@ -201,16 +298,47 @@ if (!isExecute$3 || parseInt(allVue.version) < 3) {
201
298
  else {
202
299
  vueImport$3 = Vue$1;
203
300
  }
204
- let DayWorkingTimeCollectionDirective = class DayWorkingTimeCollectionDirective extends vueImport$3 {
205
- render() {
301
+ let DayWorkingTimeCollectionDirective =
302
+ /* Start Options({
303
+ inject: {
304
+ custom: {
305
+ default: null
306
+ }
307
+ }
308
+ }) End */
309
+ class DayWorkingTimeCollectionDirective extends vueImport$3 {
310
+ constructor() {
311
+ super(arguments);
312
+ }
313
+ render(createElement) {
314
+ if (gh) {
315
+ let h = gh || createElement;
316
+ let slots = null;
317
+ if (!isNullOrUndefined(this.$slots.default)) {
318
+ slots = gh ? this.$slots.default() : this.$slots.default;
319
+ }
320
+ return h('div', { class: 'e-directive' }, slots);
321
+ }
206
322
  return;
207
323
  }
324
+ updated() {
325
+ if (gh && this.custom) {
326
+ this.custom();
327
+ }
328
+ }
208
329
  getTag() {
209
330
  return 'e-day-working-time-collection';
210
331
  }
211
332
  };
212
333
  DayWorkingTimeCollectionDirective = __decorate$3([
213
334
  EJComponentDecorator({}, isExecute$3)
335
+ /* Start Options({
336
+ inject: {
337
+ custom: {
338
+ default: null
339
+ }
340
+ }
341
+ }) End */
214
342
  ], DayWorkingTimeCollectionDirective);
215
343
  const DayWorkingTimeCollectionPlugin = {
216
344
  name: 'e-day-working-time-collection',
@@ -254,6 +382,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
254
382
  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;
255
383
  return c > 3 && r && Object.defineProperty(target, key, r), r;
256
384
  };
385
+ // {{VueImport}}
257
386
  const isExecute$4 = gh ? false : true;
258
387
  let vueImport$4;
259
388
  if (!isExecute$4 || parseInt(allVue.version) < 3) {
@@ -262,16 +391,47 @@ if (!isExecute$4 || parseInt(allVue.version) < 3) {
262
391
  else {
263
392
  vueImport$4 = Vue$1;
264
393
  }
265
- let HolidaysDirective = class HolidaysDirective extends vueImport$4 {
266
- render() {
394
+ let HolidaysDirective =
395
+ /* Start Options({
396
+ inject: {
397
+ custom: {
398
+ default: null
399
+ }
400
+ }
401
+ }) End */
402
+ class HolidaysDirective extends vueImport$4 {
403
+ constructor() {
404
+ super(arguments);
405
+ }
406
+ render(createElement) {
407
+ if (gh) {
408
+ let h = gh || createElement;
409
+ let slots = null;
410
+ if (!isNullOrUndefined(this.$slots.default)) {
411
+ slots = gh ? this.$slots.default() : this.$slots.default;
412
+ }
413
+ return h('div', { class: 'e-directive' }, slots);
414
+ }
267
415
  return;
268
416
  }
417
+ updated() {
418
+ if (gh && this.custom) {
419
+ this.custom();
420
+ }
421
+ }
269
422
  getTag() {
270
423
  return 'e-holidays';
271
424
  }
272
425
  };
273
426
  HolidaysDirective = __decorate$4([
274
427
  EJComponentDecorator({}, isExecute$4)
428
+ /* Start Options({
429
+ inject: {
430
+ custom: {
431
+ default: null
432
+ }
433
+ }
434
+ }) End */
275
435
  ], HolidaysDirective);
276
436
  const HolidaysPlugin = {
277
437
  name: 'e-holidays',
@@ -315,6 +475,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
315
475
  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;
316
476
  return c > 3 && r && Object.defineProperty(target, key, r), r;
317
477
  };
478
+ // {{VueImport}}
318
479
  const isExecute$5 = gh ? false : true;
319
480
  let vueImport$5;
320
481
  if (!isExecute$5 || parseInt(allVue.version) < 3) {
@@ -323,16 +484,47 @@ if (!isExecute$5 || parseInt(allVue.version) < 3) {
323
484
  else {
324
485
  vueImport$5 = Vue$1;
325
486
  }
326
- let EventMarkersDirective = class EventMarkersDirective extends vueImport$5 {
327
- render() {
487
+ let EventMarkersDirective =
488
+ /* Start Options({
489
+ inject: {
490
+ custom: {
491
+ default: null
492
+ }
493
+ }
494
+ }) End */
495
+ class EventMarkersDirective extends vueImport$5 {
496
+ constructor() {
497
+ super(arguments);
498
+ }
499
+ render(createElement) {
500
+ if (gh) {
501
+ let h = gh || createElement;
502
+ let slots = null;
503
+ if (!isNullOrUndefined(this.$slots.default)) {
504
+ slots = gh ? this.$slots.default() : this.$slots.default;
505
+ }
506
+ return h('div', { class: 'e-directive' }, slots);
507
+ }
328
508
  return;
329
509
  }
510
+ updated() {
511
+ if (gh && this.custom) {
512
+ this.custom();
513
+ }
514
+ }
330
515
  getTag() {
331
516
  return 'e-event-markers';
332
517
  }
333
518
  };
334
519
  EventMarkersDirective = __decorate$5([
335
520
  EJComponentDecorator({}, isExecute$5)
521
+ /* Start Options({
522
+ inject: {
523
+ custom: {
524
+ default: null
525
+ }
526
+ }
527
+ }) End */
336
528
  ], EventMarkersDirective);
337
529
  const EventMarkersPlugin = {
338
530
  name: 'e-event-markers',
@@ -397,7 +589,12 @@ let GanttComponent =
397
589
  /* Start Options({
398
590
  props: props,
399
591
  watch: watch,
400
- emits: emitProbs
592
+ emits: emitProbs,
593
+ provide: function provide() {
594
+ return {
595
+ custom: this.custom
596
+ };
597
+ }
401
598
  }) End */
402
599
  class GanttComponent extends ComponentBase {
403
600
  constructor() {
@@ -416,6 +613,7 @@ class GanttComponent extends ComponentBase {
416
613
  this.ej2Instances._setProperties = this.ej2Instances.setProperties;
417
614
  this.ej2Instances.setProperties = this.setProperties;
418
615
  this.ej2Instances.clearTemplate = this.clearTemplate;
616
+ this.updated = this.updated;
419
617
  }
420
618
  clearTemplate(templateNames) {
421
619
  if (!templateNames) {
@@ -508,6 +706,9 @@ class GanttComponent extends ComponentBase {
508
706
  }
509
707
  return h('div', slots);
510
708
  }
709
+ custom() {
710
+ this.updated();
711
+ }
511
712
  addPredecessor(id, predecessorString) {
512
713
  return this.ej2Instances.addPredecessor(id, predecessorString);
513
714
  }
@@ -729,7 +930,12 @@ GanttComponent = __decorate$6([
729
930
  /* Start Options({
730
931
  props: props,
731
932
  watch: watch,
732
- emits: emitProbs
933
+ emits: emitProbs,
934
+ provide: function provide() {
935
+ return {
936
+ custom: this.custom
937
+ };
938
+ }
733
939
  }) End */
734
940
  ], GanttComponent);
735
941
  const GanttPlugin = {