@syncfusion/ej2-vue-spreadsheet 19.4.55 → 19.4.56
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 +11 -0
- package/dist/ej2-vue-spreadsheet.umd.min.js +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es2015.js +323 -21
- package/dist/es6/ej2-vue-spreadsheet.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es5.js +219 -21
- package/dist/es6/ej2-vue-spreadsheet.es5.js.map +1 -1
- package/dist/global/ej2-vue-spreadsheet.min.js +2 -2
- package/package.json +7 -7
- package/src/spreadsheet/cells.directive.d.ts +3 -1
- package/src/spreadsheet/cells.directive.js +24 -2
- package/src/spreadsheet/chart.directive.d.ts +3 -1
- package/src/spreadsheet/chart.directive.js +24 -2
- package/src/spreadsheet/columns.directive.d.ts +3 -1
- package/src/spreadsheet/columns.directive.js +24 -2
- package/src/spreadsheet/conditionalformats.directive.d.ts +3 -1
- package/src/spreadsheet/conditionalformats.directive.js +24 -2
- package/src/spreadsheet/definednames.directive.d.ts +3 -1
- package/src/spreadsheet/definednames.directive.js +24 -2
- package/src/spreadsheet/image.directive.d.ts +3 -1
- package/src/spreadsheet/image.directive.js +24 -2
- package/src/spreadsheet/ranges.directive.d.ts +3 -1
- package/src/spreadsheet/ranges.directive.js +24 -2
- package/src/spreadsheet/rows.directive.d.ts +3 -1
- package/src/spreadsheet/rows.directive.js +24 -2
- package/src/spreadsheet/sheets.directive.d.ts +3 -1
- package/src/spreadsheet/sheets.directive.js +24 -2
- package/src/spreadsheet/spreadsheet.component.d.ts +1 -0
- package/src/spreadsheet/spreadsheet.component.js +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
#### Bug Fixes
|
|
8
8
|
|
|
9
|
+
- `SF-369240` - Previous formula displayed while switching the editing from formula cell to blank cell issue resolved.
|
|
10
|
+
- `SF-367017` - `Ctrl selection` not working with freeze pane issue resolved.
|
|
11
|
+
- `SF-367519` - Border not applied while copy / paste from MS word issue resolved.
|
|
12
|
+
- `SF-367525` - Strike through not applied on external copy / paste issue resolved.
|
|
13
|
+
|
|
14
|
+
## 19.4.55 (2022-03-08)
|
|
15
|
+
|
|
16
|
+
### Spreadsheet
|
|
17
|
+
|
|
18
|
+
#### Bug Fixes
|
|
19
|
+
|
|
9
20
|
- `SF-366825` - Text align icon not updated properly while applying text format for number cell value issue resolved.
|
|
10
21
|
- `SF-369477` - Rows not rendered properly while filtering and cell selection not proper with filtered rows in freeze pane issues resolved.
|
|
11
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-spreadsheet.umd.min.js
|
|
3
|
-
* version : 19.4.
|
|
3
|
+
* version : 19.4.56
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Spreadsheet } from '@syncfusion/ej2-spreadsheet';
|
|
2
2
|
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
|
-
import Vue$1 from 'vue';
|
|
5
4
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
5
|
+
import Vue$1 from 'vue';
|
|
6
6
|
|
|
7
7
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8
8
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -10,6 +10,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
10
10
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
|
+
// {{VueImport}}
|
|
13
14
|
const isExecute = gh ? false : true;
|
|
14
15
|
let vueImport;
|
|
15
16
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -18,16 +19,47 @@ if (!isExecute || parseInt(allVue.version) < 3) {
|
|
|
18
19
|
else {
|
|
19
20
|
vueImport = Vue$1;
|
|
20
21
|
}
|
|
21
|
-
let ImagesDirective =
|
|
22
|
-
|
|
22
|
+
let ImagesDirective =
|
|
23
|
+
/* Start Options({
|
|
24
|
+
inject: {
|
|
25
|
+
custom: {
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}) End */
|
|
30
|
+
class ImagesDirective extends vueImport {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(arguments);
|
|
33
|
+
}
|
|
34
|
+
render(createElement) {
|
|
35
|
+
if (gh) {
|
|
36
|
+
let h = gh || createElement;
|
|
37
|
+
let slots = null;
|
|
38
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
40
|
+
}
|
|
41
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
42
|
+
}
|
|
23
43
|
return;
|
|
24
44
|
}
|
|
45
|
+
updated() {
|
|
46
|
+
if (gh && this.custom) {
|
|
47
|
+
this.custom();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
25
50
|
getTag() {
|
|
26
51
|
return 'e-images';
|
|
27
52
|
}
|
|
28
53
|
};
|
|
29
54
|
ImagesDirective = __decorate([
|
|
30
55
|
EJComponentDecorator({}, isExecute)
|
|
56
|
+
/* Start Options({
|
|
57
|
+
inject: {
|
|
58
|
+
custom: {
|
|
59
|
+
default: null
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}) End */
|
|
31
63
|
], ImagesDirective);
|
|
32
64
|
const ImagesPlugin = {
|
|
33
65
|
name: 'e-images',
|
|
@@ -59,6 +91,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
59
91
|
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;
|
|
60
92
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
61
93
|
};
|
|
94
|
+
// {{VueImport}}
|
|
62
95
|
const isExecute$1 = gh ? false : true;
|
|
63
96
|
let vueImport$1;
|
|
64
97
|
if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
@@ -67,16 +100,47 @@ if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
|
67
100
|
else {
|
|
68
101
|
vueImport$1 = Vue$1;
|
|
69
102
|
}
|
|
70
|
-
let ChartsDirective =
|
|
71
|
-
|
|
103
|
+
let ChartsDirective =
|
|
104
|
+
/* Start Options({
|
|
105
|
+
inject: {
|
|
106
|
+
custom: {
|
|
107
|
+
default: null
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}) End */
|
|
111
|
+
class ChartsDirective extends vueImport$1 {
|
|
112
|
+
constructor() {
|
|
113
|
+
super(arguments);
|
|
114
|
+
}
|
|
115
|
+
render(createElement) {
|
|
116
|
+
if (gh) {
|
|
117
|
+
let h = gh || createElement;
|
|
118
|
+
let slots = null;
|
|
119
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
120
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
121
|
+
}
|
|
122
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
123
|
+
}
|
|
72
124
|
return;
|
|
73
125
|
}
|
|
126
|
+
updated() {
|
|
127
|
+
if (gh && this.custom) {
|
|
128
|
+
this.custom();
|
|
129
|
+
}
|
|
130
|
+
}
|
|
74
131
|
getTag() {
|
|
75
132
|
return 'e-charts';
|
|
76
133
|
}
|
|
77
134
|
};
|
|
78
135
|
ChartsDirective = __decorate$1([
|
|
79
136
|
EJComponentDecorator({}, isExecute$1)
|
|
137
|
+
/* Start Options({
|
|
138
|
+
inject: {
|
|
139
|
+
custom: {
|
|
140
|
+
default: null
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}) End */
|
|
80
144
|
], ChartsDirective);
|
|
81
145
|
const ChartsPlugin = {
|
|
82
146
|
name: 'e-charts',
|
|
@@ -108,6 +172,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
108
172
|
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;
|
|
109
173
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
110
174
|
};
|
|
175
|
+
// {{VueImport}}
|
|
111
176
|
const isExecute$2 = gh ? false : true;
|
|
112
177
|
let vueImport$2;
|
|
113
178
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -116,16 +181,47 @@ if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
|
116
181
|
else {
|
|
117
182
|
vueImport$2 = Vue$1;
|
|
118
183
|
}
|
|
119
|
-
let CellsDirective =
|
|
120
|
-
|
|
184
|
+
let CellsDirective =
|
|
185
|
+
/* Start Options({
|
|
186
|
+
inject: {
|
|
187
|
+
custom: {
|
|
188
|
+
default: null
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}) End */
|
|
192
|
+
class CellsDirective extends vueImport$2 {
|
|
193
|
+
constructor() {
|
|
194
|
+
super(arguments);
|
|
195
|
+
}
|
|
196
|
+
render(createElement) {
|
|
197
|
+
if (gh) {
|
|
198
|
+
let h = gh || createElement;
|
|
199
|
+
let slots = null;
|
|
200
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
201
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
202
|
+
}
|
|
203
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
204
|
+
}
|
|
121
205
|
return;
|
|
122
206
|
}
|
|
207
|
+
updated() {
|
|
208
|
+
if (gh && this.custom) {
|
|
209
|
+
this.custom();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
123
212
|
getTag() {
|
|
124
213
|
return 'e-cells';
|
|
125
214
|
}
|
|
126
215
|
};
|
|
127
216
|
CellsDirective = __decorate$2([
|
|
128
217
|
EJComponentDecorator({}, isExecute$2)
|
|
218
|
+
/* Start Options({
|
|
219
|
+
inject: {
|
|
220
|
+
custom: {
|
|
221
|
+
default: null
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}) End */
|
|
129
225
|
], CellsDirective);
|
|
130
226
|
const CellsPlugin = {
|
|
131
227
|
name: 'e-cells',
|
|
@@ -176,6 +272,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
176
272
|
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;
|
|
177
273
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
178
274
|
};
|
|
275
|
+
// {{VueImport}}
|
|
179
276
|
const isExecute$3 = gh ? false : true;
|
|
180
277
|
let vueImport$3;
|
|
181
278
|
if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
@@ -184,16 +281,47 @@ if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
|
184
281
|
else {
|
|
185
282
|
vueImport$3 = Vue$1;
|
|
186
283
|
}
|
|
187
|
-
let RowsDirective =
|
|
188
|
-
|
|
284
|
+
let RowsDirective =
|
|
285
|
+
/* Start Options({
|
|
286
|
+
inject: {
|
|
287
|
+
custom: {
|
|
288
|
+
default: null
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}) End */
|
|
292
|
+
class RowsDirective extends vueImport$3 {
|
|
293
|
+
constructor() {
|
|
294
|
+
super(arguments);
|
|
295
|
+
}
|
|
296
|
+
render(createElement) {
|
|
297
|
+
if (gh) {
|
|
298
|
+
let h = gh || createElement;
|
|
299
|
+
let slots = null;
|
|
300
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
301
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
302
|
+
}
|
|
303
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
304
|
+
}
|
|
189
305
|
return;
|
|
190
306
|
}
|
|
307
|
+
updated() {
|
|
308
|
+
if (gh && this.custom) {
|
|
309
|
+
this.custom();
|
|
310
|
+
}
|
|
311
|
+
}
|
|
191
312
|
getTag() {
|
|
192
313
|
return 'e-rows';
|
|
193
314
|
}
|
|
194
315
|
};
|
|
195
316
|
RowsDirective = __decorate$3([
|
|
196
317
|
EJComponentDecorator({}, isExecute$3)
|
|
318
|
+
/* Start Options({
|
|
319
|
+
inject: {
|
|
320
|
+
custom: {
|
|
321
|
+
default: null
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}) End */
|
|
197
325
|
], RowsDirective);
|
|
198
326
|
const RowsPlugin = {
|
|
199
327
|
name: 'e-rows',
|
|
@@ -240,6 +368,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
240
368
|
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;
|
|
241
369
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
242
370
|
};
|
|
371
|
+
// {{VueImport}}
|
|
243
372
|
const isExecute$4 = gh ? false : true;
|
|
244
373
|
let vueImport$4;
|
|
245
374
|
if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
@@ -248,16 +377,47 @@ if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
|
248
377
|
else {
|
|
249
378
|
vueImport$4 = Vue$1;
|
|
250
379
|
}
|
|
251
|
-
let ColumnsDirective =
|
|
252
|
-
|
|
380
|
+
let ColumnsDirective =
|
|
381
|
+
/* Start Options({
|
|
382
|
+
inject: {
|
|
383
|
+
custom: {
|
|
384
|
+
default: null
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}) End */
|
|
388
|
+
class ColumnsDirective extends vueImport$4 {
|
|
389
|
+
constructor() {
|
|
390
|
+
super(arguments);
|
|
391
|
+
}
|
|
392
|
+
render(createElement) {
|
|
393
|
+
if (gh) {
|
|
394
|
+
let h = gh || createElement;
|
|
395
|
+
let slots = null;
|
|
396
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
397
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
398
|
+
}
|
|
399
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
400
|
+
}
|
|
253
401
|
return;
|
|
254
402
|
}
|
|
403
|
+
updated() {
|
|
404
|
+
if (gh && this.custom) {
|
|
405
|
+
this.custom();
|
|
406
|
+
}
|
|
407
|
+
}
|
|
255
408
|
getTag() {
|
|
256
409
|
return 'e-columns';
|
|
257
410
|
}
|
|
258
411
|
};
|
|
259
412
|
ColumnsDirective = __decorate$4([
|
|
260
413
|
EJComponentDecorator({}, isExecute$4)
|
|
414
|
+
/* Start Options({
|
|
415
|
+
inject: {
|
|
416
|
+
custom: {
|
|
417
|
+
default: null
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}) End */
|
|
261
421
|
], ColumnsDirective);
|
|
262
422
|
const ColumnsPlugin = {
|
|
263
423
|
name: 'e-columns',
|
|
@@ -304,6 +464,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
304
464
|
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;
|
|
305
465
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
306
466
|
};
|
|
467
|
+
// {{VueImport}}
|
|
307
468
|
const isExecute$5 = gh ? false : true;
|
|
308
469
|
let vueImport$5;
|
|
309
470
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -312,16 +473,47 @@ if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
|
312
473
|
else {
|
|
313
474
|
vueImport$5 = Vue$1;
|
|
314
475
|
}
|
|
315
|
-
let RangesDirective =
|
|
316
|
-
|
|
476
|
+
let RangesDirective =
|
|
477
|
+
/* Start Options({
|
|
478
|
+
inject: {
|
|
479
|
+
custom: {
|
|
480
|
+
default: null
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}) End */
|
|
484
|
+
class RangesDirective extends vueImport$5 {
|
|
485
|
+
constructor() {
|
|
486
|
+
super(arguments);
|
|
487
|
+
}
|
|
488
|
+
render(createElement) {
|
|
489
|
+
if (gh) {
|
|
490
|
+
let h = gh || createElement;
|
|
491
|
+
let slots = null;
|
|
492
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
493
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
494
|
+
}
|
|
495
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
496
|
+
}
|
|
317
497
|
return;
|
|
318
498
|
}
|
|
499
|
+
updated() {
|
|
500
|
+
if (gh && this.custom) {
|
|
501
|
+
this.custom();
|
|
502
|
+
}
|
|
503
|
+
}
|
|
319
504
|
getTag() {
|
|
320
505
|
return 'e-ranges';
|
|
321
506
|
}
|
|
322
507
|
};
|
|
323
508
|
RangesDirective = __decorate$5([
|
|
324
509
|
EJComponentDecorator({}, isExecute$5)
|
|
510
|
+
/* Start Options({
|
|
511
|
+
inject: {
|
|
512
|
+
custom: {
|
|
513
|
+
default: null
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}) End */
|
|
325
517
|
], RangesDirective);
|
|
326
518
|
const RangesPlugin = {
|
|
327
519
|
name: 'e-ranges',
|
|
@@ -368,6 +560,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
368
560
|
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;
|
|
369
561
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
370
562
|
};
|
|
563
|
+
// {{VueImport}}
|
|
371
564
|
const isExecute$6 = gh ? false : true;
|
|
372
565
|
let vueImport$6;
|
|
373
566
|
if (!isExecute$6 || parseInt(allVue.version) < 3) {
|
|
@@ -376,16 +569,47 @@ if (!isExecute$6 || parseInt(allVue.version) < 3) {
|
|
|
376
569
|
else {
|
|
377
570
|
vueImport$6 = Vue$1;
|
|
378
571
|
}
|
|
379
|
-
let ConditionalFormatsDirective =
|
|
380
|
-
|
|
572
|
+
let ConditionalFormatsDirective =
|
|
573
|
+
/* Start Options({
|
|
574
|
+
inject: {
|
|
575
|
+
custom: {
|
|
576
|
+
default: null
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}) End */
|
|
580
|
+
class ConditionalFormatsDirective extends vueImport$6 {
|
|
581
|
+
constructor() {
|
|
582
|
+
super(arguments);
|
|
583
|
+
}
|
|
584
|
+
render(createElement) {
|
|
585
|
+
if (gh) {
|
|
586
|
+
let h = gh || createElement;
|
|
587
|
+
let slots = null;
|
|
588
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
589
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
590
|
+
}
|
|
591
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
592
|
+
}
|
|
381
593
|
return;
|
|
382
594
|
}
|
|
595
|
+
updated() {
|
|
596
|
+
if (gh && this.custom) {
|
|
597
|
+
this.custom();
|
|
598
|
+
}
|
|
599
|
+
}
|
|
383
600
|
getTag() {
|
|
384
601
|
return 'e-conditionalformats';
|
|
385
602
|
}
|
|
386
603
|
};
|
|
387
604
|
ConditionalFormatsDirective = __decorate$6([
|
|
388
605
|
EJComponentDecorator({}, isExecute$6)
|
|
606
|
+
/* Start Options({
|
|
607
|
+
inject: {
|
|
608
|
+
custom: {
|
|
609
|
+
default: null
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}) End */
|
|
389
613
|
], ConditionalFormatsDirective);
|
|
390
614
|
const ConditionalFormatsPlugin = {
|
|
391
615
|
name: 'e-conditionalformats',
|
|
@@ -432,6 +656,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
432
656
|
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;
|
|
433
657
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
434
658
|
};
|
|
659
|
+
// {{VueImport}}
|
|
435
660
|
const isExecute$7 = gh ? false : true;
|
|
436
661
|
let vueImport$7;
|
|
437
662
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -440,16 +665,47 @@ if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
|
440
665
|
else {
|
|
441
666
|
vueImport$7 = Vue$1;
|
|
442
667
|
}
|
|
443
|
-
let SheetsDirective =
|
|
444
|
-
|
|
668
|
+
let SheetsDirective =
|
|
669
|
+
/* Start Options({
|
|
670
|
+
inject: {
|
|
671
|
+
custom: {
|
|
672
|
+
default: null
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}) End */
|
|
676
|
+
class SheetsDirective extends vueImport$7 {
|
|
677
|
+
constructor() {
|
|
678
|
+
super(arguments);
|
|
679
|
+
}
|
|
680
|
+
render(createElement) {
|
|
681
|
+
if (gh) {
|
|
682
|
+
let h = gh || createElement;
|
|
683
|
+
let slots = null;
|
|
684
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
685
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
686
|
+
}
|
|
687
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
688
|
+
}
|
|
445
689
|
return;
|
|
446
690
|
}
|
|
691
|
+
updated() {
|
|
692
|
+
if (gh && this.custom) {
|
|
693
|
+
this.custom();
|
|
694
|
+
}
|
|
695
|
+
}
|
|
447
696
|
getTag() {
|
|
448
697
|
return 'e-sheets';
|
|
449
698
|
}
|
|
450
699
|
};
|
|
451
700
|
SheetsDirective = __decorate$7([
|
|
452
701
|
EJComponentDecorator({}, isExecute$7)
|
|
702
|
+
/* Start Options({
|
|
703
|
+
inject: {
|
|
704
|
+
custom: {
|
|
705
|
+
default: null
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}) End */
|
|
453
709
|
], SheetsDirective);
|
|
454
710
|
const SheetsPlugin = {
|
|
455
711
|
name: 'e-sheets',
|
|
@@ -493,6 +749,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
493
749
|
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;
|
|
494
750
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
495
751
|
};
|
|
752
|
+
// {{VueImport}}
|
|
496
753
|
const isExecute$8 = gh ? false : true;
|
|
497
754
|
let vueImport$8;
|
|
498
755
|
if (!isExecute$8 || parseInt(allVue.version) < 3) {
|
|
@@ -501,16 +758,47 @@ if (!isExecute$8 || parseInt(allVue.version) < 3) {
|
|
|
501
758
|
else {
|
|
502
759
|
vueImport$8 = Vue$1;
|
|
503
760
|
}
|
|
504
|
-
let DefinedNamesDirective =
|
|
505
|
-
|
|
761
|
+
let DefinedNamesDirective =
|
|
762
|
+
/* Start Options({
|
|
763
|
+
inject: {
|
|
764
|
+
custom: {
|
|
765
|
+
default: null
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}) End */
|
|
769
|
+
class DefinedNamesDirective extends vueImport$8 {
|
|
770
|
+
constructor() {
|
|
771
|
+
super(arguments);
|
|
772
|
+
}
|
|
773
|
+
render(createElement) {
|
|
774
|
+
if (gh) {
|
|
775
|
+
let h = gh || createElement;
|
|
776
|
+
let slots = null;
|
|
777
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
778
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
779
|
+
}
|
|
780
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
781
|
+
}
|
|
506
782
|
return;
|
|
507
783
|
}
|
|
784
|
+
updated() {
|
|
785
|
+
if (gh && this.custom) {
|
|
786
|
+
this.custom();
|
|
787
|
+
}
|
|
788
|
+
}
|
|
508
789
|
getTag() {
|
|
509
790
|
return 'e-definednames';
|
|
510
791
|
}
|
|
511
792
|
};
|
|
512
793
|
DefinedNamesDirective = __decorate$8([
|
|
513
794
|
EJComponentDecorator({}, isExecute$8)
|
|
795
|
+
/* Start Options({
|
|
796
|
+
inject: {
|
|
797
|
+
custom: {
|
|
798
|
+
default: null
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
}) End */
|
|
514
802
|
], DefinedNamesDirective);
|
|
515
803
|
const DefinedNamesPlugin = {
|
|
516
804
|
name: 'e-definednames',
|
|
@@ -576,7 +864,12 @@ let SpreadsheetComponent =
|
|
|
576
864
|
/* Start Options({
|
|
577
865
|
props: props,
|
|
578
866
|
watch: watch,
|
|
579
|
-
emits: emitProbs
|
|
867
|
+
emits: emitProbs,
|
|
868
|
+
provide: function provide() {
|
|
869
|
+
return {
|
|
870
|
+
custom: this.custom
|
|
871
|
+
};
|
|
872
|
+
}
|
|
580
873
|
}) End */
|
|
581
874
|
class SpreadsheetComponent extends ComponentBase {
|
|
582
875
|
constructor() {
|
|
@@ -593,6 +886,7 @@ class SpreadsheetComponent extends ComponentBase {
|
|
|
593
886
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
594
887
|
this.ej2Instances.setProperties = this.setProperties;
|
|
595
888
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
889
|
+
this.updated = this.updated;
|
|
596
890
|
}
|
|
597
891
|
clearTemplate(templateNames) {
|
|
598
892
|
if (!templateNames) {
|
|
@@ -647,6 +941,9 @@ class SpreadsheetComponent extends ComponentBase {
|
|
|
647
941
|
}
|
|
648
942
|
return h('div', slots);
|
|
649
943
|
}
|
|
944
|
+
custom() {
|
|
945
|
+
this.updated();
|
|
946
|
+
}
|
|
650
947
|
Unfreeze(sheet) {
|
|
651
948
|
return this.ej2Instances.Unfreeze(sheet);
|
|
652
949
|
}
|
|
@@ -910,7 +1207,12 @@ SpreadsheetComponent = __decorate$9([
|
|
|
910
1207
|
/* Start Options({
|
|
911
1208
|
props: props,
|
|
912
1209
|
watch: watch,
|
|
913
|
-
emits: emitProbs
|
|
1210
|
+
emits: emitProbs,
|
|
1211
|
+
provide: function provide() {
|
|
1212
|
+
return {
|
|
1213
|
+
custom: this.custom
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
914
1216
|
}) End */
|
|
915
1217
|
], SpreadsheetComponent);
|
|
916
1218
|
const SpreadsheetPlugin = {
|