@syncfusion/ej2-vue-schedule 20.1.48 → 20.1.55

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 (69) hide show
  1. package/CHANGELOG.md +46 -11
  2. package/dist/ej2-vue-schedule.umd.min.js +11 -2
  3. package/dist/es6/ej2-vue-schedule.es2015.js +136 -11
  4. package/dist/es6/ej2-vue-schedule.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-schedule.es5.js +92 -10
  6. package/dist/es6/ej2-vue-schedule.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-schedule.min.js +2 -2
  8. package/package.json +8 -14
  9. package/src/recurrence-editor/recurrenceeditor.component.d.ts +1 -0
  10. package/src/recurrence-editor/recurrenceeditor.component.js +10 -1
  11. package/src/schedule/headerrows.directive.d.ts +3 -1
  12. package/src/schedule/headerrows.directive.js +24 -2
  13. package/src/schedule/resources.directive.d.ts +3 -1
  14. package/src/schedule/resources.directive.js +24 -2
  15. package/src/schedule/schedule.component.d.ts +1 -0
  16. package/src/schedule/schedule.component.js +11 -1
  17. package/src/schedule/views.directive.d.ts +3 -1
  18. package/src/schedule/views.directive.js +24 -2
  19. package/styles/bootstrap-dark.css +91 -973
  20. package/styles/bootstrap.css +91 -972
  21. package/styles/bootstrap4.css +92 -996
  22. package/styles/bootstrap5-dark.css +100 -1004
  23. package/styles/bootstrap5.css +100 -1004
  24. package/styles/fabric-dark.css +91 -973
  25. package/styles/fabric.css +91 -975
  26. package/styles/fluent-dark.css +4217 -0
  27. package/styles/fluent-dark.scss +2 -0
  28. package/styles/fluent.css +4218 -0
  29. package/styles/fluent.scss +2 -0
  30. package/styles/highcontrast-light.css +91 -972
  31. package/styles/highcontrast.css +92 -978
  32. package/styles/material-dark.css +91 -972
  33. package/styles/material.css +91 -972
  34. package/styles/recurrence-editor/bootstrap-dark.css +6 -94
  35. package/styles/recurrence-editor/bootstrap.css +6 -94
  36. package/styles/recurrence-editor/bootstrap4.css +6 -94
  37. package/styles/recurrence-editor/bootstrap5-dark.css +6 -94
  38. package/styles/recurrence-editor/bootstrap5.css +6 -94
  39. package/styles/recurrence-editor/fabric-dark.css +6 -94
  40. package/styles/recurrence-editor/fabric.css +6 -94
  41. package/styles/recurrence-editor/fluent-dark.css +407 -0
  42. package/styles/recurrence-editor/fluent-dark.scss +1 -0
  43. package/styles/recurrence-editor/fluent.css +407 -0
  44. package/styles/recurrence-editor/fluent.scss +1 -0
  45. package/styles/recurrence-editor/highcontrast-light.css +6 -94
  46. package/styles/recurrence-editor/highcontrast.css +6 -94
  47. package/styles/recurrence-editor/material-dark.css +6 -94
  48. package/styles/recurrence-editor/material.css +6 -94
  49. package/styles/recurrence-editor/tailwind-dark.css +6 -94
  50. package/styles/recurrence-editor/tailwind.css +6 -94
  51. package/styles/schedule/bootstrap-dark.css +86 -880
  52. package/styles/schedule/bootstrap.css +86 -879
  53. package/styles/schedule/bootstrap4.css +87 -903
  54. package/styles/schedule/bootstrap5-dark.css +95 -911
  55. package/styles/schedule/bootstrap5.css +95 -911
  56. package/styles/schedule/fabric-dark.css +86 -880
  57. package/styles/schedule/fabric.css +86 -882
  58. package/styles/schedule/fluent-dark.css +3809 -0
  59. package/styles/schedule/fluent-dark.scss +1 -0
  60. package/styles/schedule/fluent.css +3810 -0
  61. package/styles/schedule/fluent.scss +1 -0
  62. package/styles/schedule/highcontrast-light.css +86 -879
  63. package/styles/schedule/highcontrast.css +87 -885
  64. package/styles/schedule/material-dark.css +86 -879
  65. package/styles/schedule/material.css +86 -879
  66. package/styles/schedule/tailwind-dark.css +90 -902
  67. package/styles/schedule/tailwind.css +90 -902
  68. package/styles/tailwind-dark.css +95 -995
  69. package/styles/tailwind.css +95 -995
package/CHANGELOG.md CHANGED
@@ -2,13 +2,48 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 19.4.55 (2022-03-08)
5
+ ## 20.1.52 (2022-05-04)
6
6
 
7
7
  ### Schedule
8
8
 
9
9
  #### Bug Fixes
10
10
 
11
- - `#SF-368002` - A issue with cell height not updated property based on appointment rendering while row auto height enabled has been fixed.
11
+ - `#I374675` - The appointment border maintained after deselection on multiple appointment selections has been fixed.
12
+ - `#I373707` - An issue with appointments rendered in the min-max date range in vertical views has been fixed.
13
+
14
+ ## 20.1.50 (2022-04-19)
15
+
16
+ ### Schedule
17
+
18
+ #### Bug Fixes
19
+
20
+ - `#I373678` - An issue with the recurrence appointment time change in the DST time zone has been fixed.
21
+ - `#I372043` - An issue with the appointment rendering performance of the month view has been fixed.
22
+ - `#I373179` - The Schedule `exportToICalendar` method throws a script error on exporting events issue has been fixed.
23
+ - `#I373707` - An issue with the appointments in the min-max date range not rendered in the month view has been fixed.
24
+
25
+ ## 20.1.48 (2022-04-12)
26
+
27
+ ### Schedule
28
+
29
+ #### Bug Fixes
30
+
31
+ - `#F173985` - An issue with duplicate cells rendered when the time scale interval set as 1440 has been fixed.
32
+
33
+ ## 20.1.47 (2022-04-04)
34
+
35
+ ### Schedule
36
+
37
+ #### New Features
38
+
39
+ - `#I305258`, `#FB20522`, `#FB20233` - Provided virtual scrolling support for timeline year view with vertical orientation.
40
+
41
+ #### Bug Fixes
42
+
43
+ - `#I368002, #I369932` - A issue with cell height not updated property based on appointment rendering while row auto height enabled has been fixed.
44
+ - `#I368806` - An issue with an incorrect end date in the editor when using `openEditor` method has been fixed.
45
+ - `#I367110` - An issue with more indicator count value is wrong in month view has been fixed.
46
+ - `#I370378` - An issue with the wrong count of occurrences rendered when clear and set up until date value again has been fixed.
12
47
  - `#F172905` - An issue with scroll position not maintained for timeline year and timeline month views has been fixed.
13
48
 
14
49
  ## 19.4.50 (2022-02-08)
@@ -17,8 +52,8 @@
17
52
 
18
53
  #### Bug Fixes
19
54
 
20
- - `#SF-362813` - An issue with appointment start and end time changes on each schedule layout resize action while using `timezone` property has been fixed.
21
- - `#SF-363018` - An issue with event template content is empty after performing CRUD action with resource has been fixed.
55
+ - `#I362813` - An issue with appointment start and end time changes on each schedule layout resize action while using `timezone` property has been fixed.
56
+ - `#I363018` - An issue with event template content is empty after performing CRUD action with resource has been fixed.
22
57
 
23
58
  ## 19.4.47 (2022-01-25)
24
59
 
@@ -26,9 +61,9 @@
26
61
 
27
62
  #### Bug Fixes
28
63
 
29
- - `#SF-361305` - A performance issue while loading more events in the Timeline views has been fixed.
30
- - `#SF-361135` - An issue with improper argument data received in the `eventRendered` event in each view has been fixed.
31
- - `#SF-363266` - An issue with the more popup window has truncated at bottom of the schedule in month view has been fixed.
64
+ - `#I361305` - A performance issue while loading more events in the Timeline views has been fixed.
65
+ - `#I361135` - An issue with improper argument data received in the `eventRendered` event in each view has been fixed.
66
+ - `#I363266` - An issue with the more popup window has truncated at bottom of the schedule in month view has been fixed.
32
67
 
33
68
  ## 19.4.43 (2022-01-18)
34
69
 
@@ -44,7 +79,7 @@
44
79
 
45
80
  #### Bug Fixes
46
81
 
47
- - `#SF-360126` - Timeline views appointment misalignment issue while work cells width reduced has been fixed.
82
+ - `#I360126` - Timeline views appointment misalignment issue while work cells width reduced has been fixed.
48
83
 
49
84
  ## 19.4.41 (2022-01-04)
50
85
 
@@ -52,7 +87,7 @@
52
87
 
53
88
  #### Bug Fixes
54
89
 
55
- - `#SF-357890` - An issue with work cells misalignment in the timeline month view has been fixed.
90
+ - `#I357890` - An issue with work cells misalignment in the timeline month view has been fixed.
56
91
  - `#FB31401` - An issue with today button navigating issue only in the `MonthAgenda` view issue has been fixed.
57
92
  - `#FB30967` - An issue while drag and drop an event with `eventDragArea` has been fixed.
58
93
 
@@ -62,7 +97,7 @@
62
97
 
63
98
  #### Bug Fixes
64
99
 
65
- - `#SF-353817` - An issue with all-day region scrolling issue only in the Mac device has been fixed.
100
+ - `#I353817` - An issue with all-day region scrolling issue only in the Mac device has been fixed.
66
101
 
67
102
  ## 19.4.38 (2021-12-17)
68
103
 
@@ -77,7 +112,7 @@
77
112
 
78
113
  #### Bug Fixes
79
114
 
80
- - `#SF-357194` - An issue while slower the performance of the schedule, while drag and drop the event with `eventTemplate` has been fixed.
115
+ - `#I357194` - An issue while slower the performance of the schedule, while drag and drop the event with `eventTemplate` has been fixed.
81
116
 
82
117
  ## 19.3.55 (2021-11-23)
83
118
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-vue-schedule.umd.min.js
3
- * version : 20.1.48
3
+ * version : 20.1.55
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
@@ -9,7 +9,16 @@
9
9
  */
10
10
  /*!
11
11
  * filename: ej2-vue-schedule.umd.min.js
12
- * version : 19.2.55
12
+ * version : 20.1.47
13
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
+ * Use of this code is subject to the terms of our license.
15
+ * A copy of the current license can be obtained at any time by e-mailing
16
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
17
+ * applicable laws.
18
+ */
19
+ /*!
20
+ * filename: ej2-vue-schedule.umd.min.js
21
+ * version : 19.4.38
13
22
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
23
  * Use of this code is subject to the terms of our license.
15
24
  * A copy of the current license can be obtained at any time by e-mailing
@@ -1,8 +1,8 @@
1
1
  import { RecurrenceEditor, Schedule } from '@syncfusion/ej2-schedule';
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 ViewsDirective = class ViewsDirective extends vueImport {
22
- render() {
22
+ let ViewsDirective =
23
+ /* Start Options({
24
+ inject: {
25
+ custom: {
26
+ default: null
27
+ }
28
+ }
29
+ }) End */
30
+ class ViewsDirective 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-views';
27
52
  }
28
53
  };
29
54
  ViewsDirective = __decorate([
30
55
  EJComponentDecorator({}, isExecute)
56
+ /* Start Options({
57
+ inject: {
58
+ custom: {
59
+ default: null
60
+ }
61
+ }
62
+ }) End */
31
63
  ], ViewsDirective);
32
64
  const ViewsPlugin = {
33
65
  name: 'e-views',
@@ -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 ResourcesDirective = class ResourcesDirective extends vueImport$1 {
83
- render() {
115
+ let ResourcesDirective =
116
+ /* Start Options({
117
+ inject: {
118
+ custom: {
119
+ default: null
120
+ }
121
+ }
122
+ }) End */
123
+ class ResourcesDirective 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-resources';
88
145
  }
89
146
  };
90
147
  ResourcesDirective = __decorate$1([
91
148
  EJComponentDecorator({}, isExecute$1)
149
+ /* Start Options({
150
+ inject: {
151
+ custom: {
152
+ default: null
153
+ }
154
+ }
155
+ }) End */
92
156
  ], ResourcesDirective);
93
157
  const ResourcesPlugin = {
94
158
  name: 'e-resources',
@@ -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 HeaderRowsDirective = class HeaderRowsDirective extends vueImport$2 {
144
- render() {
208
+ let HeaderRowsDirective =
209
+ /* Start Options({
210
+ inject: {
211
+ custom: {
212
+ default: null
213
+ }
214
+ }
215
+ }) End */
216
+ class HeaderRowsDirective 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-header-rows';
149
238
  }
150
239
  };
151
240
  HeaderRowsDirective = __decorate$2([
152
241
  EJComponentDecorator({}, isExecute$2)
242
+ /* Start Options({
243
+ inject: {
244
+ custom: {
245
+ default: null
246
+ }
247
+ }
248
+ }) End */
153
249
  ], HeaderRowsDirective);
154
250
  const HeaderRowsPlugin = {
155
251
  name: 'e-header-rows',
@@ -215,7 +311,12 @@ let ScheduleComponent =
215
311
  /* Start Options({
216
312
  props: props,
217
313
  watch: watch,
218
- emits: emitProbs
314
+ emits: emitProbs,
315
+ provide: function provide() {
316
+ return {
317
+ custom: this.custom
318
+ };
319
+ }
219
320
  }) End */
220
321
  class ScheduleComponent extends ComponentBase {
221
322
  constructor() {
@@ -234,6 +335,7 @@ class ScheduleComponent extends ComponentBase {
234
335
  this.ej2Instances._setProperties = this.ej2Instances.setProperties;
235
336
  this.ej2Instances.setProperties = this.setProperties;
236
337
  this.ej2Instances.clearTemplate = this.clearTemplate;
338
+ this.updated = this.updated;
237
339
  }
238
340
  clearTemplate(templateNames) {
239
341
  if (!templateNames) {
@@ -291,6 +393,7 @@ class ScheduleComponent extends ComponentBase {
291
393
  if (!isExecute$3) {
292
394
  this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
293
395
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
396
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
294
397
  }
295
398
  else {
296
399
  if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
@@ -326,6 +429,9 @@ class ScheduleComponent extends ComponentBase {
326
429
  }
327
430
  return h('div', slots);
328
431
  }
432
+ custom() {
433
+ this.updated();
434
+ }
329
435
  addEvent(data) {
330
436
  return this.ej2Instances.addEvent(data);
331
437
  }
@@ -466,7 +572,12 @@ ScheduleComponent = __decorate$3([
466
572
  /* Start Options({
467
573
  props: props,
468
574
  watch: watch,
469
- emits: emitProbs
575
+ emits: emitProbs,
576
+ provide: function provide() {
577
+ return {
578
+ custom: this.custom
579
+ };
580
+ }
470
581
  }) End */
471
582
  ], ScheduleComponent);
472
583
  const SchedulePlugin = {
@@ -510,7 +621,12 @@ let RecurrenceEditorComponent =
510
621
  /* Start Options({
511
622
  props: props,
512
623
  watch: watch,
513
- emits: emitProbs
624
+ emits: emitProbs,
625
+ provide: function provide() {
626
+ return {
627
+ custom: this.custom
628
+ };
629
+ }
514
630
  }) End */
515
631
  class RecurrenceEditorComponent extends ComponentBase {
516
632
  constructor() {
@@ -527,6 +643,7 @@ class RecurrenceEditorComponent extends ComponentBase {
527
643
  this.ej2Instances._setProperties = this.ej2Instances.setProperties;
528
644
  this.ej2Instances.setProperties = this.setProperties;
529
645
  this.ej2Instances.clearTemplate = this.clearTemplate;
646
+ this.updated = this.updated;
530
647
  }
531
648
  clearTemplate(templateNames) {
532
649
  if (!templateNames) {
@@ -581,6 +698,9 @@ class RecurrenceEditorComponent extends ComponentBase {
581
698
  }
582
699
  return h('div', slots);
583
700
  }
701
+ custom() {
702
+ this.updated();
703
+ }
584
704
  getRecurrenceDates(startDate, rule, excludeDate, maximumCount, viewDate) {
585
705
  return this.ej2Instances.getRecurrenceDates(startDate, rule, excludeDate, maximumCount, viewDate);
586
706
  }
@@ -607,7 +727,12 @@ RecurrenceEditorComponent = __decorate$4([
607
727
  /* Start Options({
608
728
  props: props,
609
729
  watch: watch,
610
- emits: emitProbs
730
+ emits: emitProbs,
731
+ provide: function provide() {
732
+ return {
733
+ custom: this.custom
734
+ };
735
+ }
611
736
  }) End */
612
737
  ], RecurrenceEditorComponent);
613
738
  const RecurrenceEditorPlugin = {