@syncfusion/ej2-vue-spreadsheet 20.4.54 → 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.
- package/CHANGELOG.md +2 -55
- package/dist/ej2-vue-spreadsheet.umd.min.js +2 -2
- package/dist/ej2-vue-spreadsheet.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es2015.js +534 -854
- package/dist/es6/ej2-vue-spreadsheet.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es5.js +591 -1024
- package/dist/es6/ej2-vue-spreadsheet.es5.js.map +1 -1
- package/dist/global/ej2-vue-spreadsheet.min.js +2 -2
- package/package.json +11 -10
- package/src/spreadsheet/cells.directive.d.ts +2 -12
- package/src/spreadsheet/cells.directive.js +22 -71
- package/src/spreadsheet/chart.directive.d.ts +2 -12
- package/src/spreadsheet/chart.directive.js +22 -71
- package/src/spreadsheet/columns.directive.d.ts +2 -12
- package/src/spreadsheet/columns.directive.js +22 -71
- package/src/spreadsheet/conditionalformats.directive.d.ts +2 -12
- package/src/spreadsheet/conditionalformats.directive.js +22 -71
- package/src/spreadsheet/definednames.directive.d.ts +2 -12
- package/src/spreadsheet/definednames.directive.js +22 -71
- package/src/spreadsheet/image.directive.d.ts +2 -12
- package/src/spreadsheet/image.directive.js +22 -71
- package/src/spreadsheet/ranges.directive.d.ts +2 -12
- package/src/spreadsheet/ranges.directive.js +22 -71
- package/src/spreadsheet/rows.directive.d.ts +2 -12
- package/src/spreadsheet/rows.directive.js +22 -71
- package/src/spreadsheet/sheets.directive.d.ts +2 -12
- package/src/spreadsheet/sheets.directive.js +22 -71
- package/src/spreadsheet/spreadsheet.component.d.ts +3 -110
- package/src/spreadsheet/spreadsheet.component.js +347 -376
- package/styles/bootstrap-dark.css +71 -73
- package/styles/bootstrap-dark.scss +1 -1
- package/styles/bootstrap.css +80 -82
- package/styles/bootstrap.scss +1 -1
- package/styles/bootstrap4.css +69 -71
- package/styles/bootstrap4.scss +1 -1
- package/styles/bootstrap5-dark.css +89 -91
- package/styles/bootstrap5-dark.scss +1 -1
- package/styles/bootstrap5.css +89 -91
- package/styles/bootstrap5.scss +1 -1
- package/styles/fabric-dark.css +70 -72
- package/styles/fabric-dark.scss +1 -1
- package/styles/fabric.css +74 -76
- package/styles/fabric.scss +1 -1
- package/styles/fluent-dark.css +82 -84
- package/styles/fluent-dark.scss +1 -1
- package/styles/fluent.css +82 -84
- package/styles/fluent.scss +1 -1
- package/styles/highcontrast-light.css +68 -70
- package/styles/highcontrast-light.scss +1 -1
- package/styles/highcontrast.css +75 -77
- package/styles/highcontrast.scss +1 -1
- package/styles/material-dark.css +71 -73
- package/styles/material-dark.scss +1 -1
- package/styles/material.css +76 -78
- package/styles/material.scss +1 -1
- package/styles/spreadsheet/bootstrap-dark.css +13 -18
- package/styles/spreadsheet/bootstrap.css +13 -18
- package/styles/spreadsheet/bootstrap4.css +13 -18
- package/styles/spreadsheet/bootstrap5-dark.css +18 -23
- package/styles/spreadsheet/bootstrap5.css +18 -23
- package/styles/spreadsheet/fabric-dark.css +13 -18
- package/styles/spreadsheet/fabric.css +13 -18
- package/styles/spreadsheet/fluent-dark.css +21 -26
- package/styles/spreadsheet/fluent.css +21 -26
- package/styles/spreadsheet/highcontrast-light.css +12 -17
- package/styles/spreadsheet/highcontrast.css +13 -18
- package/styles/spreadsheet/material-dark.css +13 -18
- package/styles/spreadsheet/material.css +13 -18
- package/styles/spreadsheet/tailwind-dark.css +18 -24
- package/styles/spreadsheet/tailwind.css +18 -24
- package/styles/spreadsheet-ribbon/bootstrap-dark.css +177 -0
- package/styles/spreadsheet-ribbon/bootstrap-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap.css +207 -0
- package/styles/spreadsheet-ribbon/bootstrap.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap4.css +166 -0
- package/styles/spreadsheet-ribbon/bootstrap4.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap5-dark.css +215 -0
- package/styles/spreadsheet-ribbon/bootstrap5-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/bootstrap5.css +215 -0
- package/styles/spreadsheet-ribbon/bootstrap5.scss +1 -0
- package/styles/spreadsheet-ribbon/fabric-dark.css +175 -0
- package/styles/spreadsheet-ribbon/fabric-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/fabric.css +186 -0
- package/styles/spreadsheet-ribbon/fabric.scss +1 -0
- package/styles/spreadsheet-ribbon/fluent-dark.css +187 -0
- package/styles/spreadsheet-ribbon/fluent-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/fluent.css +187 -0
- package/styles/spreadsheet-ribbon/fluent.scss +1 -0
- package/styles/spreadsheet-ribbon/highcontrast-light.css +172 -0
- package/styles/spreadsheet-ribbon/highcontrast-light.scss +1 -0
- package/styles/spreadsheet-ribbon/highcontrast.css +190 -0
- package/styles/spreadsheet-ribbon/highcontrast.scss +1 -0
- package/styles/spreadsheet-ribbon/material-dark.css +178 -0
- package/styles/spreadsheet-ribbon/material-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/material.css +190 -0
- package/styles/spreadsheet-ribbon/material.scss +1 -0
- package/styles/spreadsheet-ribbon/tailwind-dark.css +191 -0
- package/styles/spreadsheet-ribbon/tailwind-dark.scss +1 -0
- package/styles/spreadsheet-ribbon/tailwind.css +191 -0
- package/styles/spreadsheet-ribbon/tailwind.scss +1 -0
- package/styles/tailwind-dark.css +81 -86
- package/styles/tailwind-dark.scss +1 -1
- package/styles/tailwind.css +81 -86
- package/styles/tailwind.scss +1 -1
- package/styles/ribbon/bootstrap-dark.css +0 -174
- package/styles/ribbon/bootstrap-dark.scss +0 -1
- package/styles/ribbon/bootstrap.css +0 -204
- package/styles/ribbon/bootstrap.scss +0 -1
- package/styles/ribbon/bootstrap4.css +0 -163
- package/styles/ribbon/bootstrap4.scss +0 -1
- package/styles/ribbon/bootstrap5-dark.css +0 -212
- package/styles/ribbon/bootstrap5-dark.scss +0 -1
- package/styles/ribbon/bootstrap5.css +0 -212
- package/styles/ribbon/bootstrap5.scss +0 -1
- package/styles/ribbon/fabric-dark.css +0 -172
- package/styles/ribbon/fabric-dark.scss +0 -1
- package/styles/ribbon/fabric.css +0 -183
- package/styles/ribbon/fabric.scss +0 -1
- package/styles/ribbon/fluent-dark.css +0 -184
- package/styles/ribbon/fluent-dark.scss +0 -1
- package/styles/ribbon/fluent.css +0 -184
- package/styles/ribbon/fluent.scss +0 -1
- package/styles/ribbon/highcontrast-light.css +0 -169
- package/styles/ribbon/highcontrast-light.scss +0 -1
- package/styles/ribbon/highcontrast.css +0 -187
- package/styles/ribbon/highcontrast.scss +0 -1
- package/styles/ribbon/material-dark.css +0 -175
- package/styles/ribbon/material-dark.scss +0 -1
- package/styles/ribbon/material.css +0 -187
- package/styles/ribbon/material.scss +0 -1
- package/styles/ribbon/tailwind-dark.css +0 -190
- package/styles/ribbon/tailwind-dark.scss +0 -1
- package/styles/ribbon/tailwind.css +0 -190
- package/styles/ribbon/tailwind.scss +0 -1
|
@@ -1,35 +1,9 @@
|
|
|
1
1
|
import { Spreadsheet } from '@syncfusion/ej2-spreadsheet';
|
|
2
|
-
import { ComponentBase,
|
|
3
|
-
import { Vue } from 'vue-class-component';
|
|
2
|
+
import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
4
3
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
5
|
-
import Vue$1 from 'vue';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
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
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
|
-
};
|
|
13
|
-
// {{VueImport}}
|
|
14
|
-
let vueImport;
|
|
15
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
16
|
-
vueImport = Vue;
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
vueImport = Vue$1;
|
|
20
|
-
}
|
|
21
|
-
let ImagesDirective =
|
|
22
|
-
/* Start Options({
|
|
23
|
-
inject: {
|
|
24
|
-
custom: {
|
|
25
|
-
default: null
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}) End */
|
|
29
|
-
class ImagesDirective extends vueImport {
|
|
30
|
-
constructor() {
|
|
31
|
-
super(arguments);
|
|
32
|
-
}
|
|
5
|
+
let ImagesDirective = vueDefineComponent({
|
|
6
|
+
inject: { custom: { default: null } },
|
|
33
7
|
render(createElement) {
|
|
34
8
|
if (!isExecute) {
|
|
35
9
|
let h = !isExecute ? gh : createElement;
|
|
@@ -40,76 +14,43 @@ class ImagesDirective extends vueImport {
|
|
|
40
14
|
return h('div', { class: 'e-directive' }, slots);
|
|
41
15
|
}
|
|
42
16
|
return;
|
|
43
|
-
}
|
|
17
|
+
},
|
|
44
18
|
updated() {
|
|
45
19
|
if (!isExecute && this.custom) {
|
|
46
20
|
this.custom();
|
|
47
21
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
ImagesDirective = __decorate([
|
|
54
|
-
EJComponentDecorator({}, isExecute)
|
|
55
|
-
/* Start Options({
|
|
56
|
-
inject: {
|
|
57
|
-
custom: {
|
|
58
|
-
default: null
|
|
59
|
-
}
|
|
22
|
+
},
|
|
23
|
+
methods: {
|
|
24
|
+
getTag() {
|
|
25
|
+
return 'e-images';
|
|
60
26
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
27
|
+
}
|
|
28
|
+
});
|
|
63
29
|
const ImagesPlugin = {
|
|
64
30
|
name: 'e-images',
|
|
65
|
-
install(Vue
|
|
66
|
-
Vue
|
|
31
|
+
install(Vue) {
|
|
32
|
+
Vue.component(ImagesPlugin.name, ImagesDirective);
|
|
67
33
|
}
|
|
68
34
|
};
|
|
69
|
-
let ImageDirective =
|
|
35
|
+
let ImageDirective = vueDefineComponent({
|
|
70
36
|
render() {
|
|
71
37
|
return;
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
getTag() {
|
|
41
|
+
return 'e-image';
|
|
42
|
+
}
|
|
72
43
|
}
|
|
73
|
-
|
|
74
|
-
return 'e-image';
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
ImageDirective = __decorate([
|
|
78
|
-
EJComponentDecorator({}, isExecute)
|
|
79
|
-
], ImageDirective);
|
|
44
|
+
});
|
|
80
45
|
const ImagePlugin = {
|
|
81
46
|
name: 'e-image',
|
|
82
|
-
install(Vue
|
|
83
|
-
Vue
|
|
47
|
+
install(Vue) {
|
|
48
|
+
Vue.component(ImagePlugin.name, ImageDirective);
|
|
84
49
|
}
|
|
85
50
|
};
|
|
86
51
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
90
|
-
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;
|
|
91
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
92
|
-
};
|
|
93
|
-
// {{VueImport}}
|
|
94
|
-
let vueImport$1;
|
|
95
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
96
|
-
vueImport$1 = Vue;
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
vueImport$1 = Vue$1;
|
|
100
|
-
}
|
|
101
|
-
let ChartsDirective =
|
|
102
|
-
/* Start Options({
|
|
103
|
-
inject: {
|
|
104
|
-
custom: {
|
|
105
|
-
default: null
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}) End */
|
|
109
|
-
class ChartsDirective extends vueImport$1 {
|
|
110
|
-
constructor() {
|
|
111
|
-
super(arguments);
|
|
112
|
-
}
|
|
52
|
+
let ChartsDirective = vueDefineComponent({
|
|
53
|
+
inject: { custom: { default: null } },
|
|
113
54
|
render(createElement) {
|
|
114
55
|
if (!isExecute) {
|
|
115
56
|
let h = !isExecute ? gh : createElement;
|
|
@@ -120,76 +61,43 @@ class ChartsDirective extends vueImport$1 {
|
|
|
120
61
|
return h('div', { class: 'e-directive' }, slots);
|
|
121
62
|
}
|
|
122
63
|
return;
|
|
123
|
-
}
|
|
64
|
+
},
|
|
124
65
|
updated() {
|
|
125
66
|
if (!isExecute && this.custom) {
|
|
126
67
|
this.custom();
|
|
127
68
|
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
};
|
|
133
|
-
ChartsDirective = __decorate$1([
|
|
134
|
-
EJComponentDecorator({}, isExecute)
|
|
135
|
-
/* Start Options({
|
|
136
|
-
inject: {
|
|
137
|
-
custom: {
|
|
138
|
-
default: null
|
|
139
|
-
}
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
getTag() {
|
|
72
|
+
return 'e-charts';
|
|
140
73
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
74
|
+
}
|
|
75
|
+
});
|
|
143
76
|
const ChartsPlugin = {
|
|
144
77
|
name: 'e-charts',
|
|
145
|
-
install(Vue
|
|
146
|
-
Vue
|
|
78
|
+
install(Vue) {
|
|
79
|
+
Vue.component(ChartsPlugin.name, ChartsDirective);
|
|
147
80
|
}
|
|
148
81
|
};
|
|
149
|
-
let ChartDirective =
|
|
82
|
+
let ChartDirective = vueDefineComponent({
|
|
150
83
|
render() {
|
|
151
84
|
return;
|
|
85
|
+
},
|
|
86
|
+
methods: {
|
|
87
|
+
getTag() {
|
|
88
|
+
return 'e-chart';
|
|
89
|
+
}
|
|
152
90
|
}
|
|
153
|
-
|
|
154
|
-
return 'e-chart';
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
ChartDirective = __decorate$1([
|
|
158
|
-
EJComponentDecorator({}, isExecute)
|
|
159
|
-
], ChartDirective);
|
|
91
|
+
});
|
|
160
92
|
const ChartPlugin = {
|
|
161
93
|
name: 'e-chart',
|
|
162
|
-
install(Vue
|
|
163
|
-
Vue
|
|
94
|
+
install(Vue) {
|
|
95
|
+
Vue.component(ChartPlugin.name, ChartDirective);
|
|
164
96
|
}
|
|
165
97
|
};
|
|
166
98
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
170
|
-
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;
|
|
171
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
172
|
-
};
|
|
173
|
-
// {{VueImport}}
|
|
174
|
-
let vueImport$2;
|
|
175
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
176
|
-
vueImport$2 = Vue;
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
vueImport$2 = Vue$1;
|
|
180
|
-
}
|
|
181
|
-
let CellsDirective =
|
|
182
|
-
/* Start Options({
|
|
183
|
-
inject: {
|
|
184
|
-
custom: {
|
|
185
|
-
default: null
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}) End */
|
|
189
|
-
class CellsDirective extends vueImport$2 {
|
|
190
|
-
constructor() {
|
|
191
|
-
super(arguments);
|
|
192
|
-
}
|
|
99
|
+
let CellsDirective = vueDefineComponent({
|
|
100
|
+
inject: { custom: { default: null } },
|
|
193
101
|
render(createElement) {
|
|
194
102
|
if (!isExecute) {
|
|
195
103
|
let h = !isExecute ? gh : createElement;
|
|
@@ -200,30 +108,22 @@ class CellsDirective extends vueImport$2 {
|
|
|
200
108
|
return h('div', { class: 'e-directive' }, slots);
|
|
201
109
|
}
|
|
202
110
|
return;
|
|
203
|
-
}
|
|
111
|
+
},
|
|
204
112
|
updated() {
|
|
205
113
|
if (!isExecute && this.custom) {
|
|
206
114
|
this.custom();
|
|
207
115
|
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
};
|
|
213
|
-
CellsDirective = __decorate$2([
|
|
214
|
-
EJComponentDecorator({}, isExecute)
|
|
215
|
-
/* Start Options({
|
|
216
|
-
inject: {
|
|
217
|
-
custom: {
|
|
218
|
-
default: null
|
|
219
|
-
}
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
getTag() {
|
|
119
|
+
return 'e-cells';
|
|
220
120
|
}
|
|
221
|
-
}
|
|
222
|
-
|
|
121
|
+
}
|
|
122
|
+
});
|
|
223
123
|
const CellsPlugin = {
|
|
224
124
|
name: 'e-cells',
|
|
225
|
-
install(Vue
|
|
226
|
-
Vue
|
|
125
|
+
install(Vue) {
|
|
126
|
+
Vue.component(CellsPlugin.name, CellsDirective);
|
|
227
127
|
}
|
|
228
128
|
};
|
|
229
129
|
/**
|
|
@@ -245,50 +145,25 @@ const CellsPlugin = {
|
|
|
245
145
|
* </ejs-spreadsheet>
|
|
246
146
|
* ```
|
|
247
147
|
*/
|
|
248
|
-
let CellDirective =
|
|
148
|
+
let CellDirective = vueDefineComponent({
|
|
249
149
|
render() {
|
|
250
150
|
return;
|
|
151
|
+
},
|
|
152
|
+
methods: {
|
|
153
|
+
getTag() {
|
|
154
|
+
return 'e-cell';
|
|
155
|
+
}
|
|
251
156
|
}
|
|
252
|
-
|
|
253
|
-
return 'e-cell';
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
CellDirective = __decorate$2([
|
|
257
|
-
EJComponentDecorator({}, isExecute)
|
|
258
|
-
], CellDirective);
|
|
157
|
+
});
|
|
259
158
|
const CellPlugin = {
|
|
260
159
|
name: 'e-cell',
|
|
261
|
-
install(Vue
|
|
262
|
-
Vue
|
|
160
|
+
install(Vue) {
|
|
161
|
+
Vue.component(CellPlugin.name, CellDirective);
|
|
263
162
|
}
|
|
264
163
|
};
|
|
265
164
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
269
|
-
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;
|
|
270
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
271
|
-
};
|
|
272
|
-
// {{VueImport}}
|
|
273
|
-
let vueImport$3;
|
|
274
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
275
|
-
vueImport$3 = Vue;
|
|
276
|
-
}
|
|
277
|
-
else {
|
|
278
|
-
vueImport$3 = Vue$1;
|
|
279
|
-
}
|
|
280
|
-
let RowsDirective =
|
|
281
|
-
/* Start Options({
|
|
282
|
-
inject: {
|
|
283
|
-
custom: {
|
|
284
|
-
default: null
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}) End */
|
|
288
|
-
class RowsDirective extends vueImport$3 {
|
|
289
|
-
constructor() {
|
|
290
|
-
super(arguments);
|
|
291
|
-
}
|
|
165
|
+
let RowsDirective = vueDefineComponent({
|
|
166
|
+
inject: { custom: { default: null } },
|
|
292
167
|
render(createElement) {
|
|
293
168
|
if (!isExecute) {
|
|
294
169
|
let h = !isExecute ? gh : createElement;
|
|
@@ -299,30 +174,22 @@ class RowsDirective extends vueImport$3 {
|
|
|
299
174
|
return h('div', { class: 'e-directive' }, slots);
|
|
300
175
|
}
|
|
301
176
|
return;
|
|
302
|
-
}
|
|
177
|
+
},
|
|
303
178
|
updated() {
|
|
304
179
|
if (!isExecute && this.custom) {
|
|
305
180
|
this.custom();
|
|
306
181
|
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
};
|
|
312
|
-
RowsDirective = __decorate$3([
|
|
313
|
-
EJComponentDecorator({}, isExecute)
|
|
314
|
-
/* Start Options({
|
|
315
|
-
inject: {
|
|
316
|
-
custom: {
|
|
317
|
-
default: null
|
|
318
|
-
}
|
|
182
|
+
},
|
|
183
|
+
methods: {
|
|
184
|
+
getTag() {
|
|
185
|
+
return 'e-rows';
|
|
319
186
|
}
|
|
320
|
-
}
|
|
321
|
-
|
|
187
|
+
}
|
|
188
|
+
});
|
|
322
189
|
const RowsPlugin = {
|
|
323
190
|
name: 'e-rows',
|
|
324
|
-
install(Vue
|
|
325
|
-
Vue
|
|
191
|
+
install(Vue) {
|
|
192
|
+
Vue.component(RowsPlugin.name, RowsDirective);
|
|
326
193
|
}
|
|
327
194
|
};
|
|
328
195
|
/**
|
|
@@ -340,50 +207,25 @@ const RowsPlugin = {
|
|
|
340
207
|
* </ejs-spreadsheet>
|
|
341
208
|
* ```
|
|
342
209
|
*/
|
|
343
|
-
let RowDirective =
|
|
210
|
+
let RowDirective = vueDefineComponent({
|
|
344
211
|
render() {
|
|
345
212
|
return;
|
|
213
|
+
},
|
|
214
|
+
methods: {
|
|
215
|
+
getTag() {
|
|
216
|
+
return 'e-row';
|
|
217
|
+
}
|
|
346
218
|
}
|
|
347
|
-
|
|
348
|
-
return 'e-row';
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
RowDirective = __decorate$3([
|
|
352
|
-
EJComponentDecorator({}, isExecute)
|
|
353
|
-
], RowDirective);
|
|
219
|
+
});
|
|
354
220
|
const RowPlugin = {
|
|
355
221
|
name: 'e-row',
|
|
356
|
-
install(Vue
|
|
357
|
-
Vue
|
|
222
|
+
install(Vue) {
|
|
223
|
+
Vue.component(RowPlugin.name, RowDirective);
|
|
358
224
|
}
|
|
359
225
|
};
|
|
360
226
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
364
|
-
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;
|
|
365
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
366
|
-
};
|
|
367
|
-
// {{VueImport}}
|
|
368
|
-
let vueImport$4;
|
|
369
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
370
|
-
vueImport$4 = Vue;
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
vueImport$4 = Vue$1;
|
|
374
|
-
}
|
|
375
|
-
let ColumnsDirective =
|
|
376
|
-
/* Start Options({
|
|
377
|
-
inject: {
|
|
378
|
-
custom: {
|
|
379
|
-
default: null
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}) End */
|
|
383
|
-
class ColumnsDirective extends vueImport$4 {
|
|
384
|
-
constructor() {
|
|
385
|
-
super(arguments);
|
|
386
|
-
}
|
|
227
|
+
let ColumnsDirective = vueDefineComponent({
|
|
228
|
+
inject: { custom: { default: null } },
|
|
387
229
|
render(createElement) {
|
|
388
230
|
if (!isExecute) {
|
|
389
231
|
let h = !isExecute ? gh : createElement;
|
|
@@ -394,30 +236,22 @@ class ColumnsDirective extends vueImport$4 {
|
|
|
394
236
|
return h('div', { class: 'e-directive' }, slots);
|
|
395
237
|
}
|
|
396
238
|
return;
|
|
397
|
-
}
|
|
239
|
+
},
|
|
398
240
|
updated() {
|
|
399
241
|
if (!isExecute && this.custom) {
|
|
400
242
|
this.custom();
|
|
401
243
|
}
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
};
|
|
407
|
-
ColumnsDirective = __decorate$4([
|
|
408
|
-
EJComponentDecorator({}, isExecute)
|
|
409
|
-
/* Start Options({
|
|
410
|
-
inject: {
|
|
411
|
-
custom: {
|
|
412
|
-
default: null
|
|
413
|
-
}
|
|
244
|
+
},
|
|
245
|
+
methods: {
|
|
246
|
+
getTag() {
|
|
247
|
+
return 'e-columns';
|
|
414
248
|
}
|
|
415
|
-
}
|
|
416
|
-
|
|
249
|
+
}
|
|
250
|
+
});
|
|
417
251
|
const ColumnsPlugin = {
|
|
418
252
|
name: 'e-columns',
|
|
419
|
-
install(Vue
|
|
420
|
-
Vue
|
|
253
|
+
install(Vue) {
|
|
254
|
+
Vue.component(ColumnsPlugin.name, ColumnsDirective);
|
|
421
255
|
}
|
|
422
256
|
};
|
|
423
257
|
/**
|
|
@@ -435,50 +269,25 @@ const ColumnsPlugin = {
|
|
|
435
269
|
* </ejs-spreadsheet>
|
|
436
270
|
* ```
|
|
437
271
|
*/
|
|
438
|
-
let ColumnDirective =
|
|
272
|
+
let ColumnDirective = vueDefineComponent({
|
|
439
273
|
render() {
|
|
440
274
|
return;
|
|
275
|
+
},
|
|
276
|
+
methods: {
|
|
277
|
+
getTag() {
|
|
278
|
+
return 'e-column';
|
|
279
|
+
}
|
|
441
280
|
}
|
|
442
|
-
|
|
443
|
-
return 'e-column';
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
ColumnDirective = __decorate$4([
|
|
447
|
-
EJComponentDecorator({}, isExecute)
|
|
448
|
-
], ColumnDirective);
|
|
281
|
+
});
|
|
449
282
|
const ColumnPlugin = {
|
|
450
283
|
name: 'e-column',
|
|
451
|
-
install(Vue
|
|
452
|
-
Vue
|
|
284
|
+
install(Vue) {
|
|
285
|
+
Vue.component(ColumnPlugin.name, ColumnDirective);
|
|
453
286
|
}
|
|
454
287
|
};
|
|
455
288
|
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
459
|
-
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;
|
|
460
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
461
|
-
};
|
|
462
|
-
// {{VueImport}}
|
|
463
|
-
let vueImport$5;
|
|
464
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
465
|
-
vueImport$5 = Vue;
|
|
466
|
-
}
|
|
467
|
-
else {
|
|
468
|
-
vueImport$5 = Vue$1;
|
|
469
|
-
}
|
|
470
|
-
let RangesDirective =
|
|
471
|
-
/* Start Options({
|
|
472
|
-
inject: {
|
|
473
|
-
custom: {
|
|
474
|
-
default: null
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}) End */
|
|
478
|
-
class RangesDirective extends vueImport$5 {
|
|
479
|
-
constructor() {
|
|
480
|
-
super(arguments);
|
|
481
|
-
}
|
|
289
|
+
let RangesDirective = vueDefineComponent({
|
|
290
|
+
inject: { custom: { default: null } },
|
|
482
291
|
render(createElement) {
|
|
483
292
|
if (!isExecute) {
|
|
484
293
|
let h = !isExecute ? gh : createElement;
|
|
@@ -489,30 +298,22 @@ class RangesDirective extends vueImport$5 {
|
|
|
489
298
|
return h('div', { class: 'e-directive' }, slots);
|
|
490
299
|
}
|
|
491
300
|
return;
|
|
492
|
-
}
|
|
301
|
+
},
|
|
493
302
|
updated() {
|
|
494
303
|
if (!isExecute && this.custom) {
|
|
495
304
|
this.custom();
|
|
496
305
|
}
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
};
|
|
502
|
-
RangesDirective = __decorate$5([
|
|
503
|
-
EJComponentDecorator({}, isExecute)
|
|
504
|
-
/* Start Options({
|
|
505
|
-
inject: {
|
|
506
|
-
custom: {
|
|
507
|
-
default: null
|
|
508
|
-
}
|
|
306
|
+
},
|
|
307
|
+
methods: {
|
|
308
|
+
getTag() {
|
|
309
|
+
return 'e-ranges';
|
|
509
310
|
}
|
|
510
|
-
}
|
|
511
|
-
|
|
311
|
+
}
|
|
312
|
+
});
|
|
512
313
|
const RangesPlugin = {
|
|
513
314
|
name: 'e-ranges',
|
|
514
|
-
install(Vue
|
|
515
|
-
Vue
|
|
315
|
+
install(Vue) {
|
|
316
|
+
Vue.component(RangesPlugin.name, RangesDirective);
|
|
516
317
|
}
|
|
517
318
|
};
|
|
518
319
|
/**
|
|
@@ -530,50 +331,25 @@ const RangesPlugin = {
|
|
|
530
331
|
* </ejs-spreadsheet>
|
|
531
332
|
* ```
|
|
532
333
|
*/
|
|
533
|
-
let RangeDirective =
|
|
334
|
+
let RangeDirective = vueDefineComponent({
|
|
534
335
|
render() {
|
|
535
336
|
return;
|
|
337
|
+
},
|
|
338
|
+
methods: {
|
|
339
|
+
getTag() {
|
|
340
|
+
return 'e-range';
|
|
341
|
+
}
|
|
536
342
|
}
|
|
537
|
-
|
|
538
|
-
return 'e-range';
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
RangeDirective = __decorate$5([
|
|
542
|
-
EJComponentDecorator({}, isExecute)
|
|
543
|
-
], RangeDirective);
|
|
343
|
+
});
|
|
544
344
|
const RangePlugin = {
|
|
545
345
|
name: 'e-range',
|
|
546
|
-
install(Vue
|
|
547
|
-
Vue
|
|
346
|
+
install(Vue) {
|
|
347
|
+
Vue.component(RangePlugin.name, RangeDirective);
|
|
548
348
|
}
|
|
549
349
|
};
|
|
550
350
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
554
|
-
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;
|
|
555
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
556
|
-
};
|
|
557
|
-
// {{VueImport}}
|
|
558
|
-
let vueImport$6;
|
|
559
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
560
|
-
vueImport$6 = Vue;
|
|
561
|
-
}
|
|
562
|
-
else {
|
|
563
|
-
vueImport$6 = Vue$1;
|
|
564
|
-
}
|
|
565
|
-
let ConditionalFormatsDirective =
|
|
566
|
-
/* Start Options({
|
|
567
|
-
inject: {
|
|
568
|
-
custom: {
|
|
569
|
-
default: null
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}) End */
|
|
573
|
-
class ConditionalFormatsDirective extends vueImport$6 {
|
|
574
|
-
constructor() {
|
|
575
|
-
super(arguments);
|
|
576
|
-
}
|
|
351
|
+
let ConditionalFormatsDirective = vueDefineComponent({
|
|
352
|
+
inject: { custom: { default: null } },
|
|
577
353
|
render(createElement) {
|
|
578
354
|
if (!isExecute) {
|
|
579
355
|
let h = !isExecute ? gh : createElement;
|
|
@@ -584,30 +360,22 @@ class ConditionalFormatsDirective extends vueImport$6 {
|
|
|
584
360
|
return h('div', { class: 'e-directive' }, slots);
|
|
585
361
|
}
|
|
586
362
|
return;
|
|
587
|
-
}
|
|
363
|
+
},
|
|
588
364
|
updated() {
|
|
589
365
|
if (!isExecute && this.custom) {
|
|
590
366
|
this.custom();
|
|
591
367
|
}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
};
|
|
597
|
-
ConditionalFormatsDirective = __decorate$6([
|
|
598
|
-
EJComponentDecorator({}, isExecute)
|
|
599
|
-
/* Start Options({
|
|
600
|
-
inject: {
|
|
601
|
-
custom: {
|
|
602
|
-
default: null
|
|
603
|
-
}
|
|
368
|
+
},
|
|
369
|
+
methods: {
|
|
370
|
+
getTag() {
|
|
371
|
+
return 'e-conditionalformats';
|
|
604
372
|
}
|
|
605
|
-
}
|
|
606
|
-
|
|
373
|
+
}
|
|
374
|
+
});
|
|
607
375
|
const ConditionalFormatsPlugin = {
|
|
608
376
|
name: 'e-conditionalformats',
|
|
609
|
-
install(Vue
|
|
610
|
-
Vue
|
|
377
|
+
install(Vue) {
|
|
378
|
+
Vue.component(ConditionalFormatsPlugin.name, ConditionalFormatsDirective);
|
|
611
379
|
}
|
|
612
380
|
};
|
|
613
381
|
/**
|
|
@@ -625,50 +393,25 @@ const ConditionalFormatsPlugin = {
|
|
|
625
393
|
* </ejs-spreadsheet>
|
|
626
394
|
* ```
|
|
627
395
|
*/
|
|
628
|
-
let ConditionalFormatDirective =
|
|
396
|
+
let ConditionalFormatDirective = vueDefineComponent({
|
|
629
397
|
render() {
|
|
630
398
|
return;
|
|
399
|
+
},
|
|
400
|
+
methods: {
|
|
401
|
+
getTag() {
|
|
402
|
+
return 'e-conditionalformat';
|
|
403
|
+
}
|
|
631
404
|
}
|
|
632
|
-
|
|
633
|
-
return 'e-conditionalformat';
|
|
634
|
-
}
|
|
635
|
-
};
|
|
636
|
-
ConditionalFormatDirective = __decorate$6([
|
|
637
|
-
EJComponentDecorator({}, isExecute)
|
|
638
|
-
], ConditionalFormatDirective);
|
|
405
|
+
});
|
|
639
406
|
const ConditionalFormatPlugin = {
|
|
640
407
|
name: 'e-conditionalformat',
|
|
641
|
-
install(Vue
|
|
642
|
-
Vue
|
|
408
|
+
install(Vue) {
|
|
409
|
+
Vue.component(ConditionalFormatPlugin.name, ConditionalFormatDirective);
|
|
643
410
|
}
|
|
644
411
|
};
|
|
645
412
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
649
|
-
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;
|
|
650
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
651
|
-
};
|
|
652
|
-
// {{VueImport}}
|
|
653
|
-
let vueImport$7;
|
|
654
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
655
|
-
vueImport$7 = Vue;
|
|
656
|
-
}
|
|
657
|
-
else {
|
|
658
|
-
vueImport$7 = Vue$1;
|
|
659
|
-
}
|
|
660
|
-
let SheetsDirective =
|
|
661
|
-
/* Start Options({
|
|
662
|
-
inject: {
|
|
663
|
-
custom: {
|
|
664
|
-
default: null
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}) End */
|
|
668
|
-
class SheetsDirective extends vueImport$7 {
|
|
669
|
-
constructor() {
|
|
670
|
-
super(arguments);
|
|
671
|
-
}
|
|
413
|
+
let SheetsDirective = vueDefineComponent({
|
|
414
|
+
inject: { custom: { default: null } },
|
|
672
415
|
render(createElement) {
|
|
673
416
|
if (!isExecute) {
|
|
674
417
|
let h = !isExecute ? gh : createElement;
|
|
@@ -679,30 +422,22 @@ class SheetsDirective extends vueImport$7 {
|
|
|
679
422
|
return h('div', { class: 'e-directive' }, slots);
|
|
680
423
|
}
|
|
681
424
|
return;
|
|
682
|
-
}
|
|
425
|
+
},
|
|
683
426
|
updated() {
|
|
684
427
|
if (!isExecute && this.custom) {
|
|
685
428
|
this.custom();
|
|
686
429
|
}
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
};
|
|
692
|
-
SheetsDirective = __decorate$7([
|
|
693
|
-
EJComponentDecorator({}, isExecute)
|
|
694
|
-
/* Start Options({
|
|
695
|
-
inject: {
|
|
696
|
-
custom: {
|
|
697
|
-
default: null
|
|
698
|
-
}
|
|
430
|
+
},
|
|
431
|
+
methods: {
|
|
432
|
+
getTag() {
|
|
433
|
+
return 'e-sheets';
|
|
699
434
|
}
|
|
700
|
-
}
|
|
701
|
-
|
|
435
|
+
}
|
|
436
|
+
});
|
|
702
437
|
const SheetsPlugin = {
|
|
703
438
|
name: 'e-sheets',
|
|
704
|
-
install(Vue
|
|
705
|
-
Vue
|
|
439
|
+
install(Vue) {
|
|
440
|
+
Vue.component(SheetsPlugin.name, SheetsDirective);
|
|
706
441
|
}
|
|
707
442
|
};
|
|
708
443
|
/**
|
|
@@ -717,50 +452,25 @@ const SheetsPlugin = {
|
|
|
717
452
|
* </ejs-spreadsheet>
|
|
718
453
|
* ```
|
|
719
454
|
*/
|
|
720
|
-
let SheetDirective =
|
|
455
|
+
let SheetDirective = vueDefineComponent({
|
|
721
456
|
render() {
|
|
722
457
|
return;
|
|
458
|
+
},
|
|
459
|
+
methods: {
|
|
460
|
+
getTag() {
|
|
461
|
+
return 'e-sheet';
|
|
462
|
+
}
|
|
723
463
|
}
|
|
724
|
-
|
|
725
|
-
return 'e-sheet';
|
|
726
|
-
}
|
|
727
|
-
};
|
|
728
|
-
SheetDirective = __decorate$7([
|
|
729
|
-
EJComponentDecorator({}, isExecute)
|
|
730
|
-
], SheetDirective);
|
|
464
|
+
});
|
|
731
465
|
const SheetPlugin = {
|
|
732
466
|
name: 'e-sheet',
|
|
733
|
-
install(Vue
|
|
734
|
-
Vue
|
|
467
|
+
install(Vue) {
|
|
468
|
+
Vue.component(SheetPlugin.name, SheetDirective);
|
|
735
469
|
}
|
|
736
470
|
};
|
|
737
471
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
741
|
-
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;
|
|
742
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
743
|
-
};
|
|
744
|
-
// {{VueImport}}
|
|
745
|
-
let vueImport$8;
|
|
746
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
747
|
-
vueImport$8 = Vue;
|
|
748
|
-
}
|
|
749
|
-
else {
|
|
750
|
-
vueImport$8 = Vue$1;
|
|
751
|
-
}
|
|
752
|
-
let DefinedNamesDirective =
|
|
753
|
-
/* Start Options({
|
|
754
|
-
inject: {
|
|
755
|
-
custom: {
|
|
756
|
-
default: null
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}) End */
|
|
760
|
-
class DefinedNamesDirective extends vueImport$8 {
|
|
761
|
-
constructor() {
|
|
762
|
-
super(arguments);
|
|
763
|
-
}
|
|
472
|
+
let DefinedNamesDirective = vueDefineComponent({
|
|
473
|
+
inject: { custom: { default: null } },
|
|
764
474
|
render(createElement) {
|
|
765
475
|
if (!isExecute) {
|
|
766
476
|
let h = !isExecute ? gh : createElement;
|
|
@@ -771,30 +481,22 @@ class DefinedNamesDirective extends vueImport$8 {
|
|
|
771
481
|
return h('div', { class: 'e-directive' }, slots);
|
|
772
482
|
}
|
|
773
483
|
return;
|
|
774
|
-
}
|
|
484
|
+
},
|
|
775
485
|
updated() {
|
|
776
486
|
if (!isExecute && this.custom) {
|
|
777
487
|
this.custom();
|
|
778
488
|
}
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
};
|
|
784
|
-
DefinedNamesDirective = __decorate$8([
|
|
785
|
-
EJComponentDecorator({}, isExecute)
|
|
786
|
-
/* Start Options({
|
|
787
|
-
inject: {
|
|
788
|
-
custom: {
|
|
789
|
-
default: null
|
|
790
|
-
}
|
|
489
|
+
},
|
|
490
|
+
methods: {
|
|
491
|
+
getTag() {
|
|
492
|
+
return 'e-definednames';
|
|
791
493
|
}
|
|
792
|
-
}
|
|
793
|
-
|
|
494
|
+
}
|
|
495
|
+
});
|
|
794
496
|
const DefinedNamesPlugin = {
|
|
795
497
|
name: 'e-definednames',
|
|
796
|
-
install(Vue
|
|
797
|
-
Vue
|
|
498
|
+
install(Vue) {
|
|
499
|
+
Vue.component(DefinedNamesPlugin.name, DefinedNamesDirective);
|
|
798
500
|
}
|
|
799
501
|
};
|
|
800
502
|
/**
|
|
@@ -809,31 +511,23 @@ const DefinedNamesPlugin = {
|
|
|
809
511
|
* </ejs-spreadsheet>
|
|
810
512
|
* ```
|
|
811
513
|
*/
|
|
812
|
-
let DefinedNameDirective =
|
|
514
|
+
let DefinedNameDirective = vueDefineComponent({
|
|
813
515
|
render() {
|
|
814
516
|
return;
|
|
517
|
+
},
|
|
518
|
+
methods: {
|
|
519
|
+
getTag() {
|
|
520
|
+
return 'e-definedname';
|
|
521
|
+
}
|
|
815
522
|
}
|
|
816
|
-
|
|
817
|
-
return 'e-definedname';
|
|
818
|
-
}
|
|
819
|
-
};
|
|
820
|
-
DefinedNameDirective = __decorate$8([
|
|
821
|
-
EJComponentDecorator({}, isExecute)
|
|
822
|
-
], DefinedNameDirective);
|
|
523
|
+
});
|
|
823
524
|
const DefinedNamePlugin = {
|
|
824
525
|
name: 'e-definedname',
|
|
825
|
-
install(Vue
|
|
826
|
-
Vue
|
|
526
|
+
install(Vue) {
|
|
527
|
+
Vue.component(DefinedNamePlugin.name, DefinedNameDirective);
|
|
827
528
|
}
|
|
828
529
|
};
|
|
829
530
|
|
|
830
|
-
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
831
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
832
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
833
|
-
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;
|
|
834
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
835
|
-
};
|
|
836
|
-
// {{VueImport}}
|
|
837
531
|
const properties = ['isLazyUpdate', 'plugins', 'activeSheetIndex', 'allowAutoFill', 'allowCellFormatting', 'allowChart', 'allowConditionalFormat', 'allowDataValidation', 'allowDelete', 'allowEditing', 'allowFiltering', 'allowFindAndReplace', 'allowFreezePane', 'allowHyperlink', 'allowImage', 'allowInsert', 'allowMerge', 'allowNumberFormatting', 'allowOpen', 'allowResizing', 'allowSave', 'allowScrolling', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'autoFillSettings', 'cellStyle', 'cssClass', 'currencyCode', 'definedNames', 'enableClipboard', 'enableContextMenu', 'enableKeyboardNavigation', 'enableKeyboardShortcut', 'enablePersistence', 'enableRtl', 'height', 'isProtected', 'locale', 'openUrl', 'password', 'saveUrl', 'scrollSettings', 'selectionSettings', 'sheets', 'showAggregate', 'showFormulaBar', 'showRibbon', 'showSheetTabs', 'width', 'actionBegin', 'actionComplete', 'afterHyperlinkClick', 'afterHyperlinkCreate', 'beforeCellFormat', 'beforeCellRender', 'beforeCellSave', 'beforeCellUpdate', 'beforeConditionalFormat', 'beforeDataBound', 'beforeHyperlinkClick', 'beforeHyperlinkCreate', 'beforeOpen', 'beforeSave', 'beforeSelect', 'beforeSort', 'cellEdit', 'cellEditing', 'cellSave', 'contextMenuBeforeClose', 'contextMenuBeforeOpen', 'contextMenuItemSelect', 'created', 'dataBound', 'dataSourceChanged', 'dialogBeforeOpen', 'fileMenuBeforeClose', 'fileMenuBeforeOpen', 'fileMenuItemSelect', 'openComplete', 'openFailure', 'queryCellInfo', 'saveComplete', 'select', 'sortComplete'];
|
|
838
532
|
const modelProps = [];
|
|
839
533
|
const testProp = getProps({ props: properties });
|
|
@@ -850,79 +544,33 @@ for (let props of modelProps) {
|
|
|
850
544
|
* <ejs-spreadsheet></ejs-spreadsheet>
|
|
851
545
|
* ```
|
|
852
546
|
*/
|
|
853
|
-
let SpreadsheetComponent =
|
|
854
|
-
|
|
547
|
+
let SpreadsheetComponent = vueDefineComponent({
|
|
548
|
+
name: 'SpreadsheetComponent',
|
|
549
|
+
mixins: [ComponentBase],
|
|
855
550
|
props: props,
|
|
856
551
|
watch: watch,
|
|
857
552
|
emits: emitProbs,
|
|
858
|
-
provide:
|
|
553
|
+
provide() { return { custom: this.custom }; },
|
|
554
|
+
data() {
|
|
859
555
|
return {
|
|
860
|
-
|
|
556
|
+
ej2Instances: new Spreadsheet({}),
|
|
557
|
+
propKeys: properties,
|
|
558
|
+
models: modelProps,
|
|
559
|
+
hasChildDirective: true,
|
|
560
|
+
hasInjectedModules: true,
|
|
561
|
+
tagMapper: { "e-sheets": { "e-sheet": { "e-rows": { "e-row": { "e-cells": { "e-cell": { "e-images": "e-image", "e-charts": "e-chart" } } } }, "e-columns": "e-column", "e-ranges": "e-range", "e-conditionalformats": "e-conditionalformat" } }, "e-definednames": "e-definedname" },
|
|
562
|
+
tagNameMapper: { "e-images": "e-image", "e-charts": "e-chart", "e-conditionalformats": "e-conditionalFormats", "e-definednames": "e-definedNames" },
|
|
563
|
+
isVue3: !isExecute,
|
|
564
|
+
templateCollection: {},
|
|
861
565
|
};
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
class SpreadsheetComponent extends ComponentBase {
|
|
865
|
-
constructor() {
|
|
866
|
-
super(arguments);
|
|
867
|
-
this.propKeys = properties;
|
|
868
|
-
this.models = modelProps;
|
|
869
|
-
this.hasChildDirective = true;
|
|
870
|
-
this.hasInjectedModules = true;
|
|
871
|
-
this.tagMapper = { "e-sheets": { "e-sheet": { "e-rows": { "e-row": { "e-cells": { "e-cell": { "e-images": "e-image", "e-charts": "e-chart" } } } }, "e-columns": "e-column", "e-ranges": "e-range", "e-conditionalformats": "e-conditionalformat" } }, "e-definednames": "e-definedname" };
|
|
872
|
-
this.tagNameMapper = { "e-images": "e-image", "e-charts": "e-chart", "e-conditionalformats": "e-conditionalFormats", "e-definednames": "e-definedNames" };
|
|
873
|
-
this.isVue3 = !isExecute;
|
|
874
|
-
this.ej2Instances = new Spreadsheet({});
|
|
566
|
+
},
|
|
567
|
+
created() {
|
|
875
568
|
this.bindProperties();
|
|
876
569
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
877
570
|
this.ej2Instances.setProperties = this.setProperties;
|
|
878
571
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
879
572
|
this.updated = this.updated;
|
|
880
|
-
}
|
|
881
|
-
clearTemplate(templateNames) {
|
|
882
|
-
if (!templateNames) {
|
|
883
|
-
templateNames = Object.keys(this.templateCollection || {});
|
|
884
|
-
}
|
|
885
|
-
if (templateNames.length && this.templateCollection) {
|
|
886
|
-
for (let tempName of templateNames) {
|
|
887
|
-
let elementCollection = this.templateCollection[tempName];
|
|
888
|
-
if (elementCollection && elementCollection.length) {
|
|
889
|
-
for (let ele of elementCollection) {
|
|
890
|
-
let destroy = getValue('__vue__.$destroy', ele);
|
|
891
|
-
if (destroy) {
|
|
892
|
-
ele.__vue__.$destroy();
|
|
893
|
-
}
|
|
894
|
-
if (ele.innerHTML) {
|
|
895
|
-
ele.innerHTML = '';
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
delete this.templateCollection[tempName];
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
setProperties(prop, muteOnChange) {
|
|
904
|
-
if (this.isVue3) {
|
|
905
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
906
|
-
}
|
|
907
|
-
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
908
|
-
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
909
|
-
}
|
|
910
|
-
if (prop && this.models && this.models.length) {
|
|
911
|
-
Object.keys(prop).map((key) => {
|
|
912
|
-
this.models.map((model) => {
|
|
913
|
-
if ((key === model) && !(/datasource/i.test(key))) {
|
|
914
|
-
if (this.isVue3) {
|
|
915
|
-
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
916
|
-
}
|
|
917
|
-
else {
|
|
918
|
-
this.$emit('update:' + key, prop[key]);
|
|
919
|
-
this.$emit('modelchanged', prop[key]);
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
});
|
|
923
|
-
});
|
|
924
|
-
}
|
|
925
|
-
}
|
|
573
|
+
},
|
|
926
574
|
render(createElement) {
|
|
927
575
|
let h = !isExecute ? gh : createElement;
|
|
928
576
|
let slots = null;
|
|
@@ -930,312 +578,344 @@ class SpreadsheetComponent extends ComponentBase {
|
|
|
930
578
|
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
931
579
|
}
|
|
932
580
|
return h('div', slots);
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
581
|
+
},
|
|
582
|
+
methods: {
|
|
583
|
+
clearTemplate(templateNames) {
|
|
584
|
+
if (!templateNames) {
|
|
585
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
586
|
+
}
|
|
587
|
+
if (templateNames.length && this.templateCollection) {
|
|
588
|
+
for (let tempName of templateNames) {
|
|
589
|
+
let elementCollection = this.templateCollection[tempName];
|
|
590
|
+
if (elementCollection && elementCollection.length) {
|
|
591
|
+
for (let ele of elementCollection) {
|
|
592
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
593
|
+
if (destroy) {
|
|
594
|
+
ele.__vue__.$destroy();
|
|
595
|
+
}
|
|
596
|
+
if (ele.innerHTML) {
|
|
597
|
+
ele.innerHTML = '';
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
delete this.templateCollection[tempName];
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
setProperties(prop, muteOnChange) {
|
|
606
|
+
if (this.isVue3) {
|
|
607
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
608
|
+
}
|
|
609
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
610
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
611
|
+
}
|
|
612
|
+
if (prop && this.models && this.models.length) {
|
|
613
|
+
Object.keys(prop).map((key) => {
|
|
614
|
+
this.models.map((model) => {
|
|
615
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
616
|
+
if (this.isVue3) {
|
|
617
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
618
|
+
}
|
|
619
|
+
else {
|
|
620
|
+
this.$emit('update:' + key, prop[key]);
|
|
621
|
+
this.$emit('modelchanged', prop[key]);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
});
|
|
625
|
+
});
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
custom() {
|
|
629
|
+
this.updated();
|
|
630
|
+
},
|
|
631
|
+
Unfreeze(sheet) {
|
|
632
|
+
return this.ej2Instances.Unfreeze(sheet);
|
|
633
|
+
},
|
|
634
|
+
addContextMenuItems(items, text, insertAfter, isUniqueId) {
|
|
635
|
+
return this.ej2Instances.addContextMenuItems(items, text, insertAfter, isUniqueId);
|
|
636
|
+
},
|
|
637
|
+
addCustomFunction(functionHandler, functionName, formulaDescription) {
|
|
638
|
+
return this.ej2Instances.addCustomFunction(functionHandler, functionName, formulaDescription);
|
|
639
|
+
},
|
|
640
|
+
addDataValidation(rules, range) {
|
|
641
|
+
return this.ej2Instances.addDataValidation(rules, range);
|
|
642
|
+
},
|
|
643
|
+
addDefinedName(definedName) {
|
|
644
|
+
return this.ej2Instances.addDefinedName(definedName);
|
|
645
|
+
},
|
|
646
|
+
addFileMenuItems(items, text, insertAfter, isUniqueId) {
|
|
647
|
+
return this.ej2Instances.addFileMenuItems(items, text, insertAfter, isUniqueId);
|
|
648
|
+
},
|
|
649
|
+
addHyperlink(hyperlink, address, displayText) {
|
|
650
|
+
return this.ej2Instances.addHyperlink(hyperlink, address, displayText);
|
|
651
|
+
},
|
|
652
|
+
addInvalidHighlight(range) {
|
|
653
|
+
return this.ej2Instances.addInvalidHighlight(range);
|
|
654
|
+
},
|
|
655
|
+
addRibbonTabs(items, insertBefore) {
|
|
656
|
+
return this.ej2Instances.addRibbonTabs(items, insertBefore);
|
|
657
|
+
},
|
|
658
|
+
addToolbarItems(tab, items, index) {
|
|
659
|
+
return this.ej2Instances.addToolbarItems(tab, items, index);
|
|
660
|
+
},
|
|
661
|
+
applyFilter(predicates, range) {
|
|
662
|
+
return this.ej2Instances.applyFilter(predicates, range);
|
|
663
|
+
},
|
|
664
|
+
autoFill(fillRange, dataRange, direction, fillType) {
|
|
665
|
+
return this.ej2Instances.autoFill(fillRange, dataRange, direction, fillType);
|
|
666
|
+
},
|
|
667
|
+
autoFit(range) {
|
|
668
|
+
return this.ej2Instances.autoFit(range);
|
|
669
|
+
},
|
|
670
|
+
cellFormat(style, range) {
|
|
671
|
+
return this.ej2Instances.cellFormat(style, range);
|
|
672
|
+
},
|
|
673
|
+
clear(options) {
|
|
674
|
+
return this.ej2Instances.clear(options);
|
|
675
|
+
},
|
|
676
|
+
clearConditionalFormat(range) {
|
|
677
|
+
return this.ej2Instances.clearConditionalFormat(range);
|
|
678
|
+
},
|
|
679
|
+
clearFilter(field) {
|
|
680
|
+
return this.ej2Instances.clearFilter(field);
|
|
681
|
+
},
|
|
682
|
+
closeEdit() {
|
|
683
|
+
return this.ej2Instances.closeEdit();
|
|
684
|
+
},
|
|
685
|
+
computeExpression(formula) {
|
|
686
|
+
return this.ej2Instances.computeExpression(formula);
|
|
687
|
+
},
|
|
688
|
+
conditionalFormat(conditionalFormat) {
|
|
689
|
+
return this.ej2Instances.conditionalFormat(conditionalFormat);
|
|
690
|
+
},
|
|
691
|
+
copy(address) {
|
|
692
|
+
return this.ej2Instances.copy(address);
|
|
693
|
+
},
|
|
694
|
+
cut(address) {
|
|
695
|
+
return this.ej2Instances.cut(address);
|
|
696
|
+
},
|
|
697
|
+
delete(startIndex, endIndex, model, sheet) {
|
|
698
|
+
return this.ej2Instances.delete(startIndex, endIndex, model, sheet);
|
|
699
|
+
},
|
|
700
|
+
deleteChart(id) {
|
|
701
|
+
return this.ej2Instances.deleteChart(id);
|
|
702
|
+
},
|
|
703
|
+
deleteImage(id, range) {
|
|
704
|
+
return this.ej2Instances.deleteImage(id, range);
|
|
705
|
+
},
|
|
706
|
+
duplicateSheet(sheetIndex) {
|
|
707
|
+
return this.ej2Instances.duplicateSheet(sheetIndex);
|
|
708
|
+
},
|
|
709
|
+
enableContextMenuItems(items, enable, isUniqueId) {
|
|
710
|
+
return this.ej2Instances.enableContextMenuItems(items, enable, isUniqueId);
|
|
711
|
+
},
|
|
712
|
+
enableFileMenuItems(items, enable, isUniqueId) {
|
|
713
|
+
return this.ej2Instances.enableFileMenuItems(items, enable, isUniqueId);
|
|
714
|
+
},
|
|
715
|
+
enableRibbonTabs(tabs, enable) {
|
|
716
|
+
return this.ej2Instances.enableRibbonTabs(tabs, enable);
|
|
717
|
+
},
|
|
718
|
+
enableToolbarItems(tab, items, enable) {
|
|
719
|
+
return this.ej2Instances.enableToolbarItems(tab, items, enable);
|
|
720
|
+
},
|
|
721
|
+
endEdit() {
|
|
722
|
+
return this.ej2Instances.endEdit();
|
|
723
|
+
},
|
|
724
|
+
find(args) {
|
|
725
|
+
return this.ej2Instances.find(args);
|
|
726
|
+
},
|
|
727
|
+
findAll(value, mode, isCSen, isEMatch, sheetIndex) {
|
|
728
|
+
return this.ej2Instances.findAll(value, mode, isCSen, isEMatch, sheetIndex);
|
|
729
|
+
},
|
|
730
|
+
freezePanes(row, column, sheet) {
|
|
731
|
+
return this.ej2Instances.freezePanes(row, column, sheet);
|
|
732
|
+
},
|
|
733
|
+
getData(address) {
|
|
734
|
+
return this.ej2Instances.getData(address);
|
|
735
|
+
},
|
|
736
|
+
getDisplayText(cell) {
|
|
737
|
+
return this.ej2Instances.getDisplayText(cell);
|
|
738
|
+
},
|
|
739
|
+
getRowData(index, sheetIndex) {
|
|
740
|
+
return this.ej2Instances.getRowData(index, sheetIndex);
|
|
741
|
+
},
|
|
742
|
+
getSelectAllContent() {
|
|
743
|
+
return this.ej2Instances.getSelectAllContent();
|
|
744
|
+
},
|
|
745
|
+
goTo(address) {
|
|
746
|
+
return this.ej2Instances.goTo(address);
|
|
747
|
+
},
|
|
748
|
+
hideColumn(startIndex, endIndex, hide) {
|
|
749
|
+
return this.ej2Instances.hideColumn(startIndex, endIndex, hide);
|
|
750
|
+
},
|
|
751
|
+
hideFileMenuItems(items, hide, isUniqueId) {
|
|
752
|
+
return this.ej2Instances.hideFileMenuItems(items, hide, isUniqueId);
|
|
753
|
+
},
|
|
754
|
+
hideRibbonTabs(tabs, hide) {
|
|
755
|
+
return this.ej2Instances.hideRibbonTabs(tabs, hide);
|
|
756
|
+
},
|
|
757
|
+
hideRow(startIndex, endIndex, hide) {
|
|
758
|
+
return this.ej2Instances.hideRow(startIndex, endIndex, hide);
|
|
759
|
+
},
|
|
760
|
+
hideSpinner() {
|
|
761
|
+
return this.ej2Instances.hideSpinner();
|
|
762
|
+
},
|
|
763
|
+
hideToolbarItems(tab, indexes, hide) {
|
|
764
|
+
return this.ej2Instances.hideToolbarItems(tab, indexes, hide);
|
|
765
|
+
},
|
|
766
|
+
insertChart(chart) {
|
|
767
|
+
return this.ej2Instances.insertChart(chart);
|
|
768
|
+
},
|
|
769
|
+
insertColumn(startColumn, endColumn, sheet) {
|
|
770
|
+
return this.ej2Instances.insertColumn(startColumn, endColumn, sheet);
|
|
771
|
+
},
|
|
772
|
+
insertImage(images, range) {
|
|
773
|
+
return this.ej2Instances.insertImage(images, range);
|
|
774
|
+
},
|
|
775
|
+
insertRow(startRow, endRow, sheet) {
|
|
776
|
+
return this.ej2Instances.insertRow(startRow, endRow, sheet);
|
|
777
|
+
},
|
|
778
|
+
insertSheet(startSheet, endSheet) {
|
|
779
|
+
return this.ej2Instances.insertSheet(startSheet, endSheet);
|
|
780
|
+
},
|
|
781
|
+
isValidCell(cellAddress) {
|
|
782
|
+
return this.ej2Instances.isValidCell(cellAddress);
|
|
783
|
+
},
|
|
784
|
+
lockCells(range, isLocked) {
|
|
785
|
+
return this.ej2Instances.lockCells(range, isLocked);
|
|
786
|
+
},
|
|
787
|
+
merge(range, type) {
|
|
788
|
+
return this.ej2Instances.merge(range, type);
|
|
789
|
+
},
|
|
790
|
+
moveSheet(position, sheetIndexes) {
|
|
791
|
+
return this.ej2Instances.moveSheet(position, sheetIndexes);
|
|
792
|
+
},
|
|
793
|
+
numberFormat(format, range) {
|
|
794
|
+
return this.ej2Instances.numberFormat(format, range);
|
|
795
|
+
},
|
|
796
|
+
open(options) {
|
|
797
|
+
return this.ej2Instances.open(options);
|
|
798
|
+
},
|
|
799
|
+
openFromJson(options) {
|
|
800
|
+
return this.ej2Instances.openFromJson(options);
|
|
801
|
+
},
|
|
802
|
+
paste(address, type) {
|
|
803
|
+
return this.ej2Instances.paste(address, type);
|
|
804
|
+
},
|
|
805
|
+
protectSheet(sheet, protectSettings, password) {
|
|
806
|
+
return this.ej2Instances.protectSheet(sheet, protectSettings, password);
|
|
807
|
+
},
|
|
808
|
+
redo() {
|
|
809
|
+
return this.ej2Instances.redo();
|
|
810
|
+
},
|
|
811
|
+
refresh(isNew) {
|
|
812
|
+
return this.ej2Instances.refresh(isNew);
|
|
813
|
+
},
|
|
814
|
+
removeContextMenuItems(items, isUniqueId) {
|
|
815
|
+
return this.ej2Instances.removeContextMenuItems(items, isUniqueId);
|
|
816
|
+
},
|
|
817
|
+
removeDataValidation(range) {
|
|
818
|
+
return this.ej2Instances.removeDataValidation(range);
|
|
819
|
+
},
|
|
820
|
+
removeDefinedName(definedName, scope) {
|
|
821
|
+
return this.ej2Instances.removeDefinedName(definedName, scope);
|
|
822
|
+
},
|
|
823
|
+
removeHyperlink(range) {
|
|
824
|
+
return this.ej2Instances.removeHyperlink(range);
|
|
825
|
+
},
|
|
826
|
+
removeInvalidHighlight(range) {
|
|
827
|
+
return this.ej2Instances.removeInvalidHighlight(range);
|
|
828
|
+
},
|
|
829
|
+
replace(args) {
|
|
830
|
+
return this.ej2Instances.replace(args);
|
|
831
|
+
},
|
|
832
|
+
resize() {
|
|
833
|
+
return this.ej2Instances.resize();
|
|
834
|
+
},
|
|
835
|
+
save(saveOptions) {
|
|
836
|
+
return this.ej2Instances.save(saveOptions);
|
|
837
|
+
},
|
|
838
|
+
saveAsJson() {
|
|
839
|
+
return this.ej2Instances.saveAsJson();
|
|
840
|
+
},
|
|
841
|
+
selectRange(address) {
|
|
842
|
+
return this.ej2Instances.selectRange(address);
|
|
843
|
+
},
|
|
844
|
+
setBorder(style, range, type) {
|
|
845
|
+
return this.ej2Instances.setBorder(style, range, type);
|
|
846
|
+
},
|
|
847
|
+
setColWidth(width, colIndex, sheetIndex) {
|
|
848
|
+
return this.ej2Instances.setColWidth(width, colIndex, sheetIndex);
|
|
849
|
+
},
|
|
850
|
+
setColumnsWidth(width, ranges) {
|
|
851
|
+
return this.ej2Instances.setColumnsWidth(width, ranges);
|
|
852
|
+
},
|
|
853
|
+
setRowHeight(height, rowIndex, sheetIndex, edited) {
|
|
854
|
+
return this.ej2Instances.setRowHeight(height, rowIndex, sheetIndex, edited);
|
|
855
|
+
},
|
|
856
|
+
setRowsHeight(height, ranges) {
|
|
857
|
+
return this.ej2Instances.setRowsHeight(height, ranges);
|
|
858
|
+
},
|
|
859
|
+
showSpinner() {
|
|
860
|
+
return this.ej2Instances.showSpinner();
|
|
861
|
+
},
|
|
862
|
+
sort(sortOptions, range) {
|
|
863
|
+
return this.ej2Instances.sort(sortOptions, range);
|
|
864
|
+
},
|
|
865
|
+
startEdit() {
|
|
866
|
+
return this.ej2Instances.startEdit();
|
|
867
|
+
},
|
|
868
|
+
unMerge(range) {
|
|
869
|
+
return this.ej2Instances.unMerge(range);
|
|
870
|
+
},
|
|
871
|
+
undo() {
|
|
872
|
+
return this.ej2Instances.undo();
|
|
873
|
+
},
|
|
874
|
+
unfreezePanes(sheet) {
|
|
875
|
+
return this.ej2Instances.unfreezePanes(sheet);
|
|
876
|
+
},
|
|
877
|
+
unprotectSheet(sheet) {
|
|
878
|
+
return this.ej2Instances.unprotectSheet(sheet);
|
|
879
|
+
},
|
|
880
|
+
updateAction(options) {
|
|
881
|
+
return this.ej2Instances.updateAction(options);
|
|
882
|
+
},
|
|
883
|
+
updateCell(cell, address) {
|
|
884
|
+
return this.ej2Instances.updateCell(cell, address);
|
|
885
|
+
},
|
|
886
|
+
updateRange(range, sheetIdx) {
|
|
887
|
+
return this.ej2Instances.updateRange(range, sheetIdx);
|
|
888
|
+
},
|
|
889
|
+
updateUndoRedoCollection(args) {
|
|
890
|
+
return this.ej2Instances.updateUndoRedoCollection(args);
|
|
891
|
+
},
|
|
892
|
+
wrap(address, wrap) {
|
|
893
|
+
return this.ej2Instances.wrap(address, wrap);
|
|
894
|
+
},
|
|
895
|
+
}
|
|
896
|
+
});
|
|
1217
897
|
const SpreadsheetPlugin = {
|
|
1218
898
|
name: 'ejs-spreadsheet',
|
|
1219
|
-
install(Vue
|
|
1220
|
-
Vue
|
|
1221
|
-
Vue
|
|
1222
|
-
Vue
|
|
1223
|
-
Vue
|
|
1224
|
-
Vue
|
|
1225
|
-
Vue
|
|
1226
|
-
Vue
|
|
1227
|
-
Vue
|
|
1228
|
-
Vue
|
|
1229
|
-
Vue
|
|
1230
|
-
Vue
|
|
1231
|
-
Vue
|
|
1232
|
-
Vue
|
|
1233
|
-
Vue
|
|
1234
|
-
Vue
|
|
1235
|
-
Vue
|
|
1236
|
-
Vue
|
|
1237
|
-
Vue
|
|
1238
|
-
Vue
|
|
899
|
+
install(Vue) {
|
|
900
|
+
Vue.component(SpreadsheetPlugin.name, SpreadsheetComponent);
|
|
901
|
+
Vue.component(SheetPlugin.name, SheetDirective);
|
|
902
|
+
Vue.component(SheetsPlugin.name, SheetsDirective);
|
|
903
|
+
Vue.component(RowPlugin.name, RowDirective);
|
|
904
|
+
Vue.component(RowsPlugin.name, RowsDirective);
|
|
905
|
+
Vue.component(CellPlugin.name, CellDirective);
|
|
906
|
+
Vue.component(CellsPlugin.name, CellsDirective);
|
|
907
|
+
Vue.component(ImagePlugin.name, ImageDirective);
|
|
908
|
+
Vue.component(ImagesPlugin.name, ImagesDirective);
|
|
909
|
+
Vue.component(ChartPlugin.name, ChartDirective);
|
|
910
|
+
Vue.component(ChartsPlugin.name, ChartsDirective);
|
|
911
|
+
Vue.component(ColumnPlugin.name, ColumnDirective);
|
|
912
|
+
Vue.component(ColumnsPlugin.name, ColumnsDirective);
|
|
913
|
+
Vue.component(RangePlugin.name, RangeDirective);
|
|
914
|
+
Vue.component(RangesPlugin.name, RangesDirective);
|
|
915
|
+
Vue.component(ConditionalFormatPlugin.name, ConditionalFormatDirective);
|
|
916
|
+
Vue.component(ConditionalFormatsPlugin.name, ConditionalFormatsDirective);
|
|
917
|
+
Vue.component(DefinedNamePlugin.name, DefinedNameDirective);
|
|
918
|
+
Vue.component(DefinedNamesPlugin.name, DefinedNamesDirective);
|
|
1239
919
|
}
|
|
1240
920
|
};
|
|
1241
921
|
|