@syncfusion/ej2-vue-schedule 20.4.52 → 21.1.35
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.
- package/CHANGELOG.md +30 -0
- package/dist/ej2-vue-schedule.umd.min.js +2 -2
- package/dist/ej2-vue-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-schedule.es2015.js +401 -543
- package/dist/es6/ej2-vue-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-schedule.es5.js +440 -628
- package/dist/es6/ej2-vue-schedule.es5.js.map +1 -1
- package/dist/global/ej2-vue-schedule.min.js +2 -2
- package/package.json +9 -9
- package/src/recurrence-editor/recurrenceeditor.component.d.ts +3 -28
- package/src/recurrence-editor/recurrenceeditor.component.js +101 -130
- package/src/schedule/headerrows.directive.d.ts +2 -12
- package/src/schedule/headerrows.directive.js +22 -71
- package/src/schedule/resources.directive.d.ts +2 -12
- package/src/schedule/resources.directive.js +22 -71
- package/src/schedule/schedule.component.d.ts +3 -70
- package/src/schedule/schedule.component.js +258 -286
- package/src/schedule/views.directive.d.ts +2 -12
- package/src/schedule/views.directive.js +22 -71
- package/styles/bootstrap-dark.css +99 -89
- package/styles/bootstrap.css +99 -89
- package/styles/bootstrap4.css +99 -89
- package/styles/bootstrap5-dark.css +110 -100
- package/styles/bootstrap5.css +110 -100
- package/styles/fabric-dark.css +98 -88
- package/styles/fabric.css +98 -88
- package/styles/fluent-dark.css +109 -99
- package/styles/fluent.css +109 -99
- package/styles/highcontrast-light.css +98 -88
- package/styles/highcontrast.css +98 -88
- package/styles/material-dark.css +98 -88
- package/styles/material.css +98 -88
- package/styles/schedule/bootstrap-dark.css +99 -89
- package/styles/schedule/bootstrap.css +99 -89
- package/styles/schedule/bootstrap4.css +99 -89
- package/styles/schedule/bootstrap5-dark.css +110 -100
- package/styles/schedule/bootstrap5.css +110 -100
- package/styles/schedule/fabric-dark.css +98 -88
- package/styles/schedule/fabric.css +98 -88
- package/styles/schedule/fluent-dark.css +109 -99
- package/styles/schedule/fluent.css +109 -99
- package/styles/schedule/highcontrast-light.css +98 -88
- package/styles/schedule/highcontrast.css +98 -88
- package/styles/schedule/material-dark.css +98 -88
- package/styles/schedule/material.css +98 -88
- package/styles/schedule/tailwind-dark.css +106 -96
- package/styles/schedule/tailwind.css +106 -96
- package/styles/tailwind-dark.css +106 -96
- package/styles/tailwind.css +106 -96
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-schedule@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-schedule@20.9.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-Qi5/cPkE63F+EAOHabP3Y7vqAhdH92F70/NNp5Vdbrxv8x8++QhMkvMqb05kiYfG/U4DgyXFhMqEgi8BJO9ulQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-schedule/-/ej2-vue-schedule-20.9.3.tgz",
|
|
23
|
+
"_shasum": "b92933244c427b22b499e6491c399bf0e70f5062",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-schedule@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-schedule": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.35",
|
|
35
|
+
"@syncfusion/ej2-schedule": "21.1.35",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~21.1.35"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
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",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"scripts": {
|
|
59
59
|
"postinstall": "node ../ej2-vue-base/postinstall.js"
|
|
60
60
|
},
|
|
61
|
-
"version": "
|
|
61
|
+
"version": "21.1.35",
|
|
62
62
|
"sideEffects": false
|
|
63
63
|
}
|
|
@@ -1,40 +1,15 @@
|
|
|
1
|
-
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
|
2
1
|
export declare const properties: string[];
|
|
3
2
|
export declare const modelProps: string[];
|
|
4
3
|
export declare const testProp: any;
|
|
5
|
-
export declare const props: any;
|
|
6
|
-
export declare const watch: any;
|
|
7
|
-
export declare const emitProbs: any;
|
|
4
|
+
export declare const props: any, watch: any, emitProbs: any;
|
|
8
5
|
/**
|
|
9
6
|
* `ejs-recurrenceeditor` represents the VueJS RecurrenceEditor Component.
|
|
10
7
|
* ```vue
|
|
11
8
|
* <ejs-recurrenceeditor></ejs-recurrenceeditor>
|
|
12
9
|
* ```
|
|
13
10
|
*/
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
propKeys: string[];
|
|
17
|
-
models: string[];
|
|
18
|
-
hasChildDirective: boolean;
|
|
19
|
-
protected hasInjectedModules: boolean;
|
|
20
|
-
tagMapper: {
|
|
21
|
-
[key: string]: Object;
|
|
22
|
-
};
|
|
23
|
-
tagNameMapper: Object;
|
|
24
|
-
isVue3: boolean;
|
|
25
|
-
templateCollection: any;
|
|
26
|
-
constructor();
|
|
27
|
-
clearTemplate(templateNames?: string[]): any;
|
|
28
|
-
setProperties(prop: any, muteOnChange: boolean): void;
|
|
29
|
-
render(createElement: any): any;
|
|
30
|
-
custom(): void;
|
|
31
|
-
getRecurrenceDates(startDate: Object, rule: string, excludeDate?: string, maximumCount?: number, viewDate?: Object): number[];
|
|
32
|
-
getRecurrenceRule(): string;
|
|
33
|
-
getRuleSummary(rule: string): string;
|
|
34
|
-
resetFields(): void;
|
|
35
|
-
setRecurrenceRule(rule: string, startDate: Object): void;
|
|
36
|
-
updateRuleUntilDate(startDate: Object): void;
|
|
37
|
-
}
|
|
11
|
+
export declare let RecurrenceEditorComponent: any;
|
|
12
|
+
export declare type RecurrenceEditorComponent = InstanceType<typeof RecurrenceEditorComponent>;
|
|
38
13
|
export declare const RecurrenceEditorPlugin: {
|
|
39
14
|
name: string;
|
|
40
15
|
install(Vue: any): void;
|
|
@@ -1,32 +1,10 @@
|
|
|
1
|
-
|
|
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 { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
21
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
3
|
import { RecurrenceEditor } from '@syncfusion/ej2-schedule';
|
|
23
|
-
import { Options } from 'vue-class-component';
|
|
24
4
|
export var properties = ['isLazyUpdate', 'plugins', 'calendarMode', 'cssClass', 'dateFormat', 'enablePersistence', 'enableRtl', 'firstDayOfWeek', 'frequencies', 'locale', 'maxDate', 'minDate', 'selectedType', 'startDate', 'value', 'change'];
|
|
25
5
|
export var modelProps = [];
|
|
26
6
|
export var testProp = getProps({ props: properties });
|
|
27
|
-
export var props = testProp[0];
|
|
28
|
-
export var watch = testProp[1];
|
|
29
|
-
export var emitProbs = Object.keys(watch);
|
|
7
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
30
8
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
31
9
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
32
10
|
var props_1 = modelProps_1[_i];
|
|
@@ -38,120 +16,113 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
38
16
|
* <ejs-recurrenceeditor></ejs-recurrenceeditor>
|
|
39
17
|
* ```
|
|
40
18
|
*/
|
|
41
|
-
var RecurrenceEditorComponent =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
19
|
+
export var RecurrenceEditorComponent = vueDefineComponent({
|
|
20
|
+
name: 'RecurrenceEditorComponent',
|
|
21
|
+
mixins: [ComponentBase],
|
|
22
|
+
props: props,
|
|
23
|
+
watch: watch,
|
|
24
|
+
emits: emitProbs,
|
|
25
|
+
provide: function () { return { custom: this.custom }; },
|
|
26
|
+
data: function () {
|
|
27
|
+
return {
|
|
28
|
+
ej2Instances: new RecurrenceEditor({}),
|
|
29
|
+
propKeys: properties,
|
|
30
|
+
models: modelProps,
|
|
31
|
+
hasChildDirective: false,
|
|
32
|
+
hasInjectedModules: false,
|
|
33
|
+
tagMapper: {},
|
|
34
|
+
tagNameMapper: {},
|
|
35
|
+
isVue3: !isExecute,
|
|
36
|
+
templateCollection: {},
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
created: function () {
|
|
40
|
+
this.bindProperties();
|
|
41
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
42
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
43
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
44
|
+
this.updated = this.updated;
|
|
45
|
+
},
|
|
46
|
+
render: function (createElement) {
|
|
47
|
+
var h = !isExecute ? gh : createElement;
|
|
48
|
+
var slots = null;
|
|
49
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
50
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
63
51
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
52
|
+
return h('div', slots);
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
clearTemplate: function (templateNames) {
|
|
56
|
+
if (!templateNames) {
|
|
57
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
58
|
+
}
|
|
59
|
+
if (templateNames.length && this.templateCollection) {
|
|
60
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
61
|
+
var tempName = templateNames_1[_i];
|
|
62
|
+
var elementCollection = this.templateCollection[tempName];
|
|
63
|
+
if (elementCollection && elementCollection.length) {
|
|
64
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
65
|
+
var ele = elementCollection_1[_a];
|
|
66
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
67
|
+
if (destroy) {
|
|
68
|
+
ele.__vue__.$destroy();
|
|
69
|
+
}
|
|
70
|
+
if (ele.innerHTML) {
|
|
71
|
+
ele.innerHTML = '';
|
|
72
|
+
}
|
|
77
73
|
}
|
|
74
|
+
delete this.templateCollection[tempName];
|
|
78
75
|
}
|
|
79
|
-
delete this.templateCollection[tempName];
|
|
80
76
|
}
|
|
81
77
|
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
78
|
+
},
|
|
79
|
+
setProperties: function (prop, muteOnChange) {
|
|
80
|
+
var _this = this;
|
|
81
|
+
if (this.isVue3) {
|
|
82
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
83
|
+
}
|
|
84
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
85
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
86
|
+
}
|
|
87
|
+
if (prop && this.models && this.models.length) {
|
|
88
|
+
Object.keys(prop).map(function (key) {
|
|
89
|
+
_this.models.map(function (model) {
|
|
90
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
91
|
+
if (_this.isVue3) {
|
|
92
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
_this.$emit('update:' + key, prop[key]);
|
|
96
|
+
_this.$emit('modelchanged', prop[key]);
|
|
97
|
+
}
|
|
102
98
|
}
|
|
103
|
-
}
|
|
99
|
+
});
|
|
104
100
|
});
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
RecurrenceEditorComponent.prototype.render = function (createElement) {
|
|
109
|
-
var h = !isExecute ? gh : createElement;
|
|
110
|
-
var slots = null;
|
|
111
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
112
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
113
|
-
}
|
|
114
|
-
return h('div', slots);
|
|
115
|
-
};
|
|
116
|
-
RecurrenceEditorComponent.prototype.custom = function () {
|
|
117
|
-
this.updated();
|
|
118
|
-
};
|
|
119
|
-
RecurrenceEditorComponent.prototype.getRecurrenceDates = function (startDate, rule, excludeDate, maximumCount, viewDate) {
|
|
120
|
-
return this.ej2Instances.getRecurrenceDates(startDate, rule, excludeDate, maximumCount, viewDate);
|
|
121
|
-
};
|
|
122
|
-
RecurrenceEditorComponent.prototype.getRecurrenceRule = function () {
|
|
123
|
-
return this.ej2Instances.getRecurrenceRule();
|
|
124
|
-
};
|
|
125
|
-
RecurrenceEditorComponent.prototype.getRuleSummary = function (rule) {
|
|
126
|
-
return this.ej2Instances.getRuleSummary(rule);
|
|
127
|
-
};
|
|
128
|
-
RecurrenceEditorComponent.prototype.resetFields = function () {
|
|
129
|
-
return this.ej2Instances.resetFields();
|
|
130
|
-
};
|
|
131
|
-
RecurrenceEditorComponent.prototype.setRecurrenceRule = function (rule, startDate) {
|
|
132
|
-
return this.ej2Instances.setRecurrenceRule(rule, startDate);
|
|
133
|
-
};
|
|
134
|
-
RecurrenceEditorComponent.prototype.updateRuleUntilDate = function (startDate) {
|
|
135
|
-
return this.ej2Instances.updateRuleUntilDate(startDate);
|
|
136
|
-
};
|
|
137
|
-
RecurrenceEditorComponent = __decorate([
|
|
138
|
-
EJComponentDecorator({
|
|
139
|
-
props: properties
|
|
140
|
-
}, isExecute)
|
|
141
|
-
,Options({
|
|
142
|
-
props: props,
|
|
143
|
-
watch: watch,
|
|
144
|
-
emits: emitProbs,
|
|
145
|
-
provide: function provide() {
|
|
146
|
-
return {
|
|
147
|
-
custom: this.custom
|
|
148
|
-
};
|
|
149
101
|
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
102
|
+
},
|
|
103
|
+
custom: function () {
|
|
104
|
+
this.updated();
|
|
105
|
+
},
|
|
106
|
+
getRecurrenceDates: function (startDate, rule, excludeDate, maximumCount, viewDate) {
|
|
107
|
+
return this.ej2Instances.getRecurrenceDates(startDate, rule, excludeDate, maximumCount, viewDate);
|
|
108
|
+
},
|
|
109
|
+
getRecurrenceRule: function () {
|
|
110
|
+
return this.ej2Instances.getRecurrenceRule();
|
|
111
|
+
},
|
|
112
|
+
getRuleSummary: function (rule) {
|
|
113
|
+
return this.ej2Instances.getRuleSummary(rule);
|
|
114
|
+
},
|
|
115
|
+
resetFields: function () {
|
|
116
|
+
return this.ej2Instances.resetFields();
|
|
117
|
+
},
|
|
118
|
+
setRecurrenceRule: function (rule, startDate) {
|
|
119
|
+
return this.ej2Instances.setRecurrenceRule(rule, startDate);
|
|
120
|
+
},
|
|
121
|
+
updateRuleUntilDate: function (startDate) {
|
|
122
|
+
return this.ej2Instances.updateRuleUntilDate(startDate);
|
|
123
|
+
},
|
|
124
|
+
}
|
|
125
|
+
});
|
|
155
126
|
export var RecurrenceEditorPlugin = {
|
|
156
127
|
name: 'ejs-recurrenceeditor',
|
|
157
128
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class HeaderRowsDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let HeaderRowsDirective: any;
|
|
8
2
|
export declare const HeaderRowsPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -21,12 +15,8 @@ export declare const HeaderRowsPlugin: {
|
|
|
21
15
|
* </ejs-schedule>
|
|
22
16
|
* ```
|
|
23
17
|
*/
|
|
24
|
-
export declare
|
|
25
|
-
render(): void;
|
|
26
|
-
getTag(): string;
|
|
27
|
-
}
|
|
18
|
+
export declare let HeaderRowDirective: any;
|
|
28
19
|
export declare const HeaderRowPlugin: {
|
|
29
20
|
name: string;
|
|
30
21
|
install(Vue: any): void;
|
|
31
22
|
};
|
|
32
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var HeaderRowsDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(HeaderRowsDirective, _super);
|
|
34
|
-
function HeaderRowsDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
HeaderRowsDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var HeaderRowsDirective = 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 HeaderRowsDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], HeaderRowsDirective);
|
|
66
|
-
return HeaderRowsDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { HeaderRowsDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-header-rows';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var HeaderRowsPlugin = {
|
|
70
28
|
name: 'e-header-rows',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -84,23 +42,16 @@ export var HeaderRowsPlugin = {
|
|
|
84
42
|
* </ejs-schedule>
|
|
85
43
|
* ```
|
|
86
44
|
*/
|
|
87
|
-
var HeaderRowDirective =
|
|
88
|
-
|
|
89
|
-
function HeaderRowDirective() {
|
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
91
|
-
}
|
|
92
|
-
HeaderRowDirective.prototype.render = function () {
|
|
45
|
+
export var HeaderRowDirective = vueDefineComponent({
|
|
46
|
+
render: function () {
|
|
93
47
|
return;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return HeaderRowDirective;
|
|
102
|
-
}(vueImport));
|
|
103
|
-
export { HeaderRowDirective };
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
getTag: function () {
|
|
51
|
+
return 'e-header-row';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
104
55
|
export var HeaderRowPlugin = {
|
|
105
56
|
name: 'e-header-row',
|
|
106
57
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class ResourcesDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let ResourcesDirective: any;
|
|
8
2
|
export declare const ResourcesPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -21,12 +15,8 @@ export declare const ResourcesPlugin: {
|
|
|
21
15
|
* </ejs-schedule>
|
|
22
16
|
* ```
|
|
23
17
|
*/
|
|
24
|
-
export declare
|
|
25
|
-
render(): void;
|
|
26
|
-
getTag(): string;
|
|
27
|
-
}
|
|
18
|
+
export declare let ResourceDirective: any;
|
|
28
19
|
export declare const ResourcePlugin: {
|
|
29
20
|
name: string;
|
|
30
21
|
install(Vue: any): void;
|
|
31
22
|
};
|
|
32
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var ResourcesDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(ResourcesDirective, _super);
|
|
34
|
-
function ResourcesDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
ResourcesDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var ResourcesDirective = 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 ResourcesDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], ResourcesDirective);
|
|
66
|
-
return ResourcesDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { ResourcesDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-resources';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var ResourcesPlugin = {
|
|
70
28
|
name: 'e-resources',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -84,23 +42,16 @@ export var ResourcesPlugin = {
|
|
|
84
42
|
* </ejs-schedule>
|
|
85
43
|
* ```
|
|
86
44
|
*/
|
|
87
|
-
var ResourceDirective =
|
|
88
|
-
|
|
89
|
-
function ResourceDirective() {
|
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
91
|
-
}
|
|
92
|
-
ResourceDirective.prototype.render = function () {
|
|
45
|
+
export var ResourceDirective = vueDefineComponent({
|
|
46
|
+
render: function () {
|
|
93
47
|
return;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return ResourceDirective;
|
|
102
|
-
}(vueImport));
|
|
103
|
-
export { ResourceDirective };
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
getTag: function () {
|
|
51
|
+
return 'e-resource';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
104
55
|
export var ResourcePlugin = {
|
|
105
56
|
name: 'e-resource',
|
|
106
57
|
install: function (Vue) {
|