@syncfusion/ej2-vue-schedule 20.4.53 → 21.1.37

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 (49) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/ej2-vue-schedule.umd.min.js +2 -2
  3. package/dist/ej2-vue-schedule.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-schedule.es2015.js +401 -543
  5. package/dist/es6/ej2-vue-schedule.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-schedule.es5.js +440 -628
  7. package/dist/es6/ej2-vue-schedule.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-schedule.min.js +2 -2
  9. package/package.json +11 -10
  10. package/src/recurrence-editor/recurrenceeditor.component.d.ts +3 -28
  11. package/src/recurrence-editor/recurrenceeditor.component.js +101 -130
  12. package/src/schedule/headerrows.directive.d.ts +2 -12
  13. package/src/schedule/headerrows.directive.js +22 -71
  14. package/src/schedule/resources.directive.d.ts +2 -12
  15. package/src/schedule/resources.directive.js +22 -71
  16. package/src/schedule/schedule.component.d.ts +3 -70
  17. package/src/schedule/schedule.component.js +258 -286
  18. package/src/schedule/views.directive.d.ts +2 -12
  19. package/src/schedule/views.directive.js +22 -71
  20. package/styles/bootstrap-dark.css +99 -89
  21. package/styles/bootstrap.css +99 -89
  22. package/styles/bootstrap4.css +99 -89
  23. package/styles/bootstrap5-dark.css +110 -100
  24. package/styles/bootstrap5.css +110 -100
  25. package/styles/fabric-dark.css +98 -88
  26. package/styles/fabric.css +98 -88
  27. package/styles/fluent-dark.css +109 -99
  28. package/styles/fluent.css +109 -99
  29. package/styles/highcontrast-light.css +98 -88
  30. package/styles/highcontrast.css +98 -88
  31. package/styles/material-dark.css +98 -88
  32. package/styles/material.css +98 -88
  33. package/styles/schedule/bootstrap-dark.css +99 -89
  34. package/styles/schedule/bootstrap.css +99 -89
  35. package/styles/schedule/bootstrap4.css +99 -89
  36. package/styles/schedule/bootstrap5-dark.css +110 -100
  37. package/styles/schedule/bootstrap5.css +110 -100
  38. package/styles/schedule/fabric-dark.css +98 -88
  39. package/styles/schedule/fabric.css +98 -88
  40. package/styles/schedule/fluent-dark.css +109 -99
  41. package/styles/schedule/fluent.css +109 -99
  42. package/styles/schedule/highcontrast-light.css +98 -88
  43. package/styles/schedule/highcontrast.css +98 -88
  44. package/styles/schedule/material-dark.css +98 -88
  45. package/styles/schedule/material.css +98 -88
  46. package/styles/schedule/tailwind-dark.css +106 -96
  47. package/styles/schedule/tailwind.css +106 -96
  48. package/styles/tailwind-dark.css +106 -96
  49. package/styles/tailwind.css +106 -96
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var ViewsDirective = /** @class */ (function (_super) {
33
- __extends(ViewsDirective, _super);
34
- function ViewsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ViewsDirective.prototype.render = function (createElement) {
3
+ export var ViewsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,28 +12,18 @@ var ViewsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ViewsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ViewsDirective.prototype.getTag = function () {
54
- return 'e-views';
55
- };
56
- ViewsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ViewsDirective);
66
- return ViewsDirective;
67
- }(vueImport));
68
- export { ViewsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-views';
24
+ }
25
+ }
26
+ });
69
27
  export var ViewsPlugin = {
70
28
  name: 'e-views',
71
29
  install: function (Vue) {
@@ -84,23 +42,16 @@ export var ViewsPlugin = {
84
42
  * </ejs-schedule>
85
43
  * ```
86
44
  */
87
- var ViewDirective = /** @class */ (function (_super) {
88
- __extends(ViewDirective, _super);
89
- function ViewDirective() {
90
- return _super !== null && _super.apply(this, arguments) || this;
91
- }
92
- ViewDirective.prototype.render = function () {
45
+ export var ViewDirective = vueDefineComponent({
46
+ render: function () {
93
47
  return;
94
- };
95
- ViewDirective.prototype.getTag = function () {
96
- return 'e-view';
97
- };
98
- ViewDirective = __decorate([
99
- EJComponentDecorator({}, isExecute)
100
- ], ViewDirective);
101
- return ViewDirective;
102
- }(vueImport));
103
- export { ViewDirective };
48
+ },
49
+ methods: {
50
+ getTag: function () {
51
+ return 'e-view';
52
+ }
53
+ }
54
+ });
104
55
  export var ViewPlugin = {
105
56
  name: 'e-view',
106
57
  install: function (Vue) {