@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/package.json CHANGED
@@ -1,14 +1,8 @@
1
1
  {
2
- "_args": [
3
- [
4
- "@syncfusion/ej2-vue-schedule@19.4.55",
5
- "D:\\Augest 2021\\vue package publish\\vue source from nexus"
6
- ]
7
- ],
8
2
  "_from": "@syncfusion/ej2-vue-schedule@*",
9
- "_id": "@syncfusion/ej2-vue-schedule@19.4.55",
3
+ "_id": "@syncfusion/ej2-vue-schedule@20.1.52",
10
4
  "_inBundle": false,
11
- "_integrity": "sha512-Xs6yHt8RBrjuZ1bygLHsPxf79hUmdSGhbwW14qgUQqTYOx7fwZXF6dAaILtkcDSFWyt3WwHetvn1eKPlyrJvnA==",
5
+ "_integrity": "sha512-DhQsr/6kFHRHuvqWdg0vU+nD54iQ2vuzBQ4v49nGDFUFtHygEOftXPKakUhnVWqX09Q8G6m3r5lYppyKT5LXeA==",
12
6
  "_location": "/@syncfusion/ej2-vue-schedule",
13
7
  "_phantomChildren": {},
14
8
  "_requested": {
@@ -25,8 +19,8 @@
25
19
  "_requiredBy": [
26
20
  "/"
27
21
  ],
28
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-schedule/-/ej2-vue-schedule-19.4.55.tgz",
29
- "_shasum": "7d50c50659fe9cada065726ed14121ecb65e52eb",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-schedule/-/ej2-vue-schedule-20.1.52.tgz",
23
+ "_shasum": "2555ddbf18a94a890b377c2bbf8f6a4837e9687e",
30
24
  "_spec": "@syncfusion/ej2-vue-schedule@*",
31
25
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
26
  "author": {
@@ -37,9 +31,9 @@
37
31
  },
38
32
  "bundleDependencies": false,
39
33
  "dependencies": {
40
- "@syncfusion/ej2-base": "~20.1.48",
41
- "@syncfusion/ej2-schedule": "20.1.48",
42
- "@syncfusion/ej2-vue-base": "~20.1.48"
34
+ "@syncfusion/ej2-base": "~20.1.55",
35
+ "@syncfusion/ej2-schedule": "20.1.55",
36
+ "@syncfusion/ej2-vue-base": "~20.1.55"
43
37
  },
44
38
  "deprecated": false,
45
39
  "description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support. for Vue",
@@ -76,6 +70,6 @@
76
70
  "type": "git",
77
71
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
78
72
  },
79
- "version": "20.1.48",
73
+ "version": "20.1.55",
80
74
  "sideEffects": false
81
75
  }
@@ -28,6 +28,7 @@ export declare class RecurrenceEditorComponent extends ComponentBase {
28
28
  clearTemplate(templateNames?: string[]): any;
29
29
  setProperties(prop: any, muteOnChange: boolean): void;
30
30
  render(createElement: any): any;
31
+ custom(): void;
31
32
  getRecurrenceDates(startDate: Object, rule: string, excludeDate?: string, maximumCount?: number, viewDate?: Object): number[];
32
33
  getRecurrenceRule(): string;
33
34
  getRuleSummary(rule: string): string;
@@ -55,6 +55,7 @@ var RecurrenceEditorComponent = /** @class */ (function (_super) {
55
55
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
56
  _this.ej2Instances.setProperties = _this.setProperties;
57
57
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
+ _this.updated = _this.updated;
58
59
  return _this;
59
60
  }
60
61
  RecurrenceEditorComponent.prototype.clearTemplate = function (templateNames) {
@@ -113,6 +114,9 @@ var RecurrenceEditorComponent = /** @class */ (function (_super) {
113
114
  }
114
115
  return h('div', slots);
115
116
  };
117
+ RecurrenceEditorComponent.prototype.custom = function () {
118
+ this.updated();
119
+ };
116
120
  RecurrenceEditorComponent.prototype.getRecurrenceDates = function (startDate, rule, excludeDate, maximumCount, viewDate) {
117
121
  return this.ej2Instances.getRecurrenceDates(startDate, rule, excludeDate, maximumCount, viewDate);
118
122
  };
@@ -138,7 +142,12 @@ var RecurrenceEditorComponent = /** @class */ (function (_super) {
138
142
  ,Options({
139
143
  props: props,
140
144
  watch: watch,
141
- emits: emitProbs
145
+ emits: emitProbs,
146
+ provide: function provide() {
147
+ return {
148
+ custom: this.custom
149
+ };
150
+ }
142
151
  })
143
152
  ], RecurrenceEditorComponent);
144
153
  return RecurrenceEditorComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class HeaderRowsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const HeaderRowsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var HeaderRowsDirective = /** @class */ (function (_super) {
32
34
  __extends(HeaderRowsDirective, _super);
33
35
  function HeaderRowsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- HeaderRowsDirective.prototype.render = function () {
38
+ HeaderRowsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ HeaderRowsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  HeaderRowsDirective.prototype.getTag = function () {
40
55
  return 'e-header-rows';
41
56
  };
42
57
  HeaderRowsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], HeaderRowsDirective);
45
67
  return HeaderRowsDirective;
46
68
  }(vueImport));
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ResourcesDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ResourcesPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ResourcesDirective = /** @class */ (function (_super) {
32
34
  __extends(ResourcesDirective, _super);
33
35
  function ResourcesDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ResourcesDirective.prototype.render = function () {
38
+ ResourcesDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ResourcesDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ResourcesDirective.prototype.getTag = function () {
40
55
  return 'e-resources';
41
56
  };
42
57
  ResourcesDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ResourcesDirective);
45
67
  return ResourcesDirective;
46
68
  }(vueImport));
@@ -31,6 +31,7 @@ export declare class ScheduleComponent extends ComponentBase {
31
31
  [key: string]: Object;
32
32
  }, successHandler?: Function): void;
33
33
  render(createElement: any): any;
34
+ custom(): void;
34
35
  addEvent(data: Object | Object[]): void;
35
36
  addResource(resources: Object | Object[], name: string, index: number): void;
36
37
  changeCurrentView(viewName: Object, viewIndex?: number): void;
@@ -61,6 +61,7 @@ var ScheduleComponent = /** @class */ (function (_super) {
61
61
  _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
62
62
  _this.ej2Instances.setProperties = _this.setProperties;
63
63
  _this.ej2Instances.clearTemplate = _this.clearTemplate;
64
+ _this.updated = _this.updated;
64
65
  return _this;
65
66
  }
66
67
  ScheduleComponent.prototype.clearTemplate = function (templateNames) {
@@ -122,6 +123,7 @@ var ScheduleComponent = /** @class */ (function (_super) {
122
123
  if (!isExecute) {
123
124
  this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
124
125
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
126
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
125
127
  }
126
128
  else {
127
129
  if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
@@ -157,6 +159,9 @@ var ScheduleComponent = /** @class */ (function (_super) {
157
159
  }
158
160
  return h('div', slots);
159
161
  };
162
+ ScheduleComponent.prototype.custom = function () {
163
+ this.updated();
164
+ };
160
165
  ScheduleComponent.prototype.addEvent = function (data) {
161
166
  return this.ej2Instances.addEvent(data);
162
167
  };
@@ -296,7 +301,12 @@ var ScheduleComponent = /** @class */ (function (_super) {
296
301
  ,Options({
297
302
  props: props,
298
303
  watch: watch,
299
- emits: emitProbs
304
+ emits: emitProbs,
305
+ provide: function provide() {
306
+ return {
307
+ custom: this.custom
308
+ };
309
+ }
300
310
  })
301
311
  ], ScheduleComponent);
302
312
  return ScheduleComponent;
@@ -1,7 +1,9 @@
1
1
  export declare const isExecute: any;
2
2
  declare let vueImport: any;
3
3
  export declare class ViewsDirective extends vueImport {
4
- render(): void;
4
+ constructor();
5
+ render(createElement: any): void;
6
+ updated(): void;
5
7
  getTag(): string;
6
8
  }
7
9
  export declare const ViewsPlugin: {
@@ -19,7 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  };
20
20
  import { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';
21
21
  import * as Vue3 from 'vue-class-component';
22
+ import { isNullOrUndefined } from '@syncfusion/ej2-base';
22
23
  import Vue from 'vue';
24
+ import { Options } from 'vue-class-component';
23
25
  export var isExecute = gh ? false : true;
24
26
  var vueImport;
25
27
  if (!isExecute || parseInt(allVue.version) < 3) {
@@ -31,16 +33,36 @@ else {
31
33
  var ViewsDirective = /** @class */ (function (_super) {
32
34
  __extends(ViewsDirective, _super);
33
35
  function ViewsDirective() {
34
- return _super !== null && _super.apply(this, arguments) || this;
36
+ return _super.call(this, arguments) || this;
35
37
  }
36
- ViewsDirective.prototype.render = function () {
38
+ ViewsDirective.prototype.render = function (createElement) {
39
+ if (gh) {
40
+ var h = gh || createElement;
41
+ var slots = null;
42
+ if (!isNullOrUndefined(this.$slots.default)) {
43
+ slots = gh ? this.$slots.default() : this.$slots.default;
44
+ }
45
+ return h('div', { class: 'e-directive' }, slots);
46
+ }
37
47
  return;
38
48
  };
49
+ ViewsDirective.prototype.updated = function () {
50
+ if (gh && this.custom) {
51
+ this.custom();
52
+ }
53
+ };
39
54
  ViewsDirective.prototype.getTag = function () {
40
55
  return 'e-views';
41
56
  };
42
57
  ViewsDirective = __decorate([
43
58
  EJComponentDecorator({}, isExecute)
59
+ ,Options({
60
+ inject: {
61
+ custom: {
62
+ default: null
63
+ }
64
+ }
65
+ })
44
66
  ], ViewsDirective);
45
67
  return ViewsDirective;
46
68
  }(vueImport));