@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
|
@@ -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 __extends = (undefined && undefined.__extends) || (function () {
|
|
8
8
|
var extendStatics = function (d, b) {
|
|
@@ -23,6 +23,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23
23
|
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;
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
|
+
import { Options } from 'vue-class-component';
|
|
26
27
|
var isExecute = gh ? false : true;
|
|
27
28
|
var vueImport;
|
|
28
29
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
@@ -34,16 +35,36 @@ else {
|
|
|
34
35
|
var ImagesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
35
36
|
__extends(ImagesDirective, _super);
|
|
36
37
|
function ImagesDirective() {
|
|
37
|
-
return _super
|
|
38
|
+
return _super.call(this, arguments) || this;
|
|
38
39
|
}
|
|
39
|
-
ImagesDirective.prototype.render = function () {
|
|
40
|
+
ImagesDirective.prototype.render = function (createElement) {
|
|
41
|
+
if (gh) {
|
|
42
|
+
var h = gh || createElement;
|
|
43
|
+
var slots = null;
|
|
44
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
46
|
+
}
|
|
47
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
48
|
+
}
|
|
40
49
|
return;
|
|
41
50
|
};
|
|
51
|
+
ImagesDirective.prototype.updated = function () {
|
|
52
|
+
if (gh && this.custom) {
|
|
53
|
+
this.custom();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
42
56
|
ImagesDirective.prototype.getTag = function () {
|
|
43
57
|
return 'e-images';
|
|
44
58
|
};
|
|
45
59
|
ImagesDirective = __decorate([
|
|
46
60
|
EJComponentDecorator({}, isExecute)
|
|
61
|
+
,Options({
|
|
62
|
+
inject: {
|
|
63
|
+
custom: {
|
|
64
|
+
default: null
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
})
|
|
47
68
|
], ImagesDirective);
|
|
48
69
|
return ImagesDirective;
|
|
49
70
|
}(vueImport));
|
|
@@ -95,6 +116,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
95
116
|
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;
|
|
96
117
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
97
118
|
};
|
|
119
|
+
// {{VueImport}}
|
|
98
120
|
var isExecute$1 = gh ? false : true;
|
|
99
121
|
var vueImport$1;
|
|
100
122
|
if (!isExecute$1 || parseInt(allVue.version) < 3) {
|
|
@@ -106,16 +128,36 @@ else {
|
|
|
106
128
|
var ChartsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
107
129
|
__extends$1(ChartsDirective, _super);
|
|
108
130
|
function ChartsDirective() {
|
|
109
|
-
return _super
|
|
131
|
+
return _super.call(this, arguments) || this;
|
|
110
132
|
}
|
|
111
|
-
ChartsDirective.prototype.render = function () {
|
|
133
|
+
ChartsDirective.prototype.render = function (createElement) {
|
|
134
|
+
if (gh) {
|
|
135
|
+
var h = gh || createElement;
|
|
136
|
+
var slots = null;
|
|
137
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
138
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
139
|
+
}
|
|
140
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
141
|
+
}
|
|
112
142
|
return;
|
|
113
143
|
};
|
|
144
|
+
ChartsDirective.prototype.updated = function () {
|
|
145
|
+
if (gh && this.custom) {
|
|
146
|
+
this.custom();
|
|
147
|
+
}
|
|
148
|
+
};
|
|
114
149
|
ChartsDirective.prototype.getTag = function () {
|
|
115
150
|
return 'e-charts';
|
|
116
151
|
};
|
|
117
152
|
ChartsDirective = __decorate$1([
|
|
118
153
|
EJComponentDecorator({}, isExecute$1)
|
|
154
|
+
,Options({
|
|
155
|
+
inject: {
|
|
156
|
+
custom: {
|
|
157
|
+
default: null
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
})
|
|
119
161
|
], ChartsDirective);
|
|
120
162
|
return ChartsDirective;
|
|
121
163
|
}(vueImport$1));
|
|
@@ -167,6 +209,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
167
209
|
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;
|
|
168
210
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
169
211
|
};
|
|
212
|
+
// {{VueImport}}
|
|
170
213
|
var isExecute$2 = gh ? false : true;
|
|
171
214
|
var vueImport$2;
|
|
172
215
|
if (!isExecute$2 || parseInt(allVue.version) < 3) {
|
|
@@ -178,16 +221,36 @@ else {
|
|
|
178
221
|
var CellsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
179
222
|
__extends$2(CellsDirective, _super);
|
|
180
223
|
function CellsDirective() {
|
|
181
|
-
return _super
|
|
224
|
+
return _super.call(this, arguments) || this;
|
|
182
225
|
}
|
|
183
|
-
CellsDirective.prototype.render = function () {
|
|
226
|
+
CellsDirective.prototype.render = function (createElement) {
|
|
227
|
+
if (gh) {
|
|
228
|
+
var h = gh || createElement;
|
|
229
|
+
var slots = null;
|
|
230
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
231
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
232
|
+
}
|
|
233
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
234
|
+
}
|
|
184
235
|
return;
|
|
185
236
|
};
|
|
237
|
+
CellsDirective.prototype.updated = function () {
|
|
238
|
+
if (gh && this.custom) {
|
|
239
|
+
this.custom();
|
|
240
|
+
}
|
|
241
|
+
};
|
|
186
242
|
CellsDirective.prototype.getTag = function () {
|
|
187
243
|
return 'e-cells';
|
|
188
244
|
};
|
|
189
245
|
CellsDirective = __decorate$2([
|
|
190
246
|
EJComponentDecorator({}, isExecute$2)
|
|
247
|
+
,Options({
|
|
248
|
+
inject: {
|
|
249
|
+
custom: {
|
|
250
|
+
default: null
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
})
|
|
191
254
|
], CellsDirective);
|
|
192
255
|
return CellsDirective;
|
|
193
256
|
}(vueImport$2));
|
|
@@ -258,6 +321,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
258
321
|
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;
|
|
259
322
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
260
323
|
};
|
|
324
|
+
// {{VueImport}}
|
|
261
325
|
var isExecute$3 = gh ? false : true;
|
|
262
326
|
var vueImport$3;
|
|
263
327
|
if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
@@ -269,16 +333,36 @@ else {
|
|
|
269
333
|
var RowsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
270
334
|
__extends$3(RowsDirective, _super);
|
|
271
335
|
function RowsDirective() {
|
|
272
|
-
return _super
|
|
336
|
+
return _super.call(this, arguments) || this;
|
|
273
337
|
}
|
|
274
|
-
RowsDirective.prototype.render = function () {
|
|
338
|
+
RowsDirective.prototype.render = function (createElement) {
|
|
339
|
+
if (gh) {
|
|
340
|
+
var h = gh || createElement;
|
|
341
|
+
var slots = null;
|
|
342
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
343
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
344
|
+
}
|
|
345
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
346
|
+
}
|
|
275
347
|
return;
|
|
276
348
|
};
|
|
349
|
+
RowsDirective.prototype.updated = function () {
|
|
350
|
+
if (gh && this.custom) {
|
|
351
|
+
this.custom();
|
|
352
|
+
}
|
|
353
|
+
};
|
|
277
354
|
RowsDirective.prototype.getTag = function () {
|
|
278
355
|
return 'e-rows';
|
|
279
356
|
};
|
|
280
357
|
RowsDirective = __decorate$3([
|
|
281
358
|
EJComponentDecorator({}, isExecute$3)
|
|
359
|
+
,Options({
|
|
360
|
+
inject: {
|
|
361
|
+
custom: {
|
|
362
|
+
default: null
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
})
|
|
282
366
|
], RowsDirective);
|
|
283
367
|
return RowsDirective;
|
|
284
368
|
}(vueImport$3));
|
|
@@ -345,6 +429,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
345
429
|
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;
|
|
346
430
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
347
431
|
};
|
|
432
|
+
// {{VueImport}}
|
|
348
433
|
var isExecute$4 = gh ? false : true;
|
|
349
434
|
var vueImport$4;
|
|
350
435
|
if (!isExecute$4 || parseInt(allVue.version) < 3) {
|
|
@@ -356,16 +441,36 @@ else {
|
|
|
356
441
|
var ColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
357
442
|
__extends$4(ColumnsDirective, _super);
|
|
358
443
|
function ColumnsDirective() {
|
|
359
|
-
return _super
|
|
444
|
+
return _super.call(this, arguments) || this;
|
|
360
445
|
}
|
|
361
|
-
ColumnsDirective.prototype.render = function () {
|
|
446
|
+
ColumnsDirective.prototype.render = function (createElement) {
|
|
447
|
+
if (gh) {
|
|
448
|
+
var h = gh || createElement;
|
|
449
|
+
var slots = null;
|
|
450
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
451
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
452
|
+
}
|
|
453
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
454
|
+
}
|
|
362
455
|
return;
|
|
363
456
|
};
|
|
457
|
+
ColumnsDirective.prototype.updated = function () {
|
|
458
|
+
if (gh && this.custom) {
|
|
459
|
+
this.custom();
|
|
460
|
+
}
|
|
461
|
+
};
|
|
364
462
|
ColumnsDirective.prototype.getTag = function () {
|
|
365
463
|
return 'e-columns';
|
|
366
464
|
};
|
|
367
465
|
ColumnsDirective = __decorate$4([
|
|
368
466
|
EJComponentDecorator({}, isExecute$4)
|
|
467
|
+
,Options({
|
|
468
|
+
inject: {
|
|
469
|
+
custom: {
|
|
470
|
+
default: null
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
})
|
|
369
474
|
], ColumnsDirective);
|
|
370
475
|
return ColumnsDirective;
|
|
371
476
|
}(vueImport$4));
|
|
@@ -432,6 +537,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
432
537
|
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
538
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
434
539
|
};
|
|
540
|
+
// {{VueImport}}
|
|
435
541
|
var isExecute$5 = gh ? false : true;
|
|
436
542
|
var vueImport$5;
|
|
437
543
|
if (!isExecute$5 || parseInt(allVue.version) < 3) {
|
|
@@ -443,16 +549,36 @@ else {
|
|
|
443
549
|
var RangesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
444
550
|
__extends$5(RangesDirective, _super);
|
|
445
551
|
function RangesDirective() {
|
|
446
|
-
return _super
|
|
552
|
+
return _super.call(this, arguments) || this;
|
|
447
553
|
}
|
|
448
|
-
RangesDirective.prototype.render = function () {
|
|
554
|
+
RangesDirective.prototype.render = function (createElement) {
|
|
555
|
+
if (gh) {
|
|
556
|
+
var h = gh || createElement;
|
|
557
|
+
var slots = null;
|
|
558
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
559
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
560
|
+
}
|
|
561
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
562
|
+
}
|
|
449
563
|
return;
|
|
450
564
|
};
|
|
565
|
+
RangesDirective.prototype.updated = function () {
|
|
566
|
+
if (gh && this.custom) {
|
|
567
|
+
this.custom();
|
|
568
|
+
}
|
|
569
|
+
};
|
|
451
570
|
RangesDirective.prototype.getTag = function () {
|
|
452
571
|
return 'e-ranges';
|
|
453
572
|
};
|
|
454
573
|
RangesDirective = __decorate$5([
|
|
455
574
|
EJComponentDecorator({}, isExecute$5)
|
|
575
|
+
,Options({
|
|
576
|
+
inject: {
|
|
577
|
+
custom: {
|
|
578
|
+
default: null
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
})
|
|
456
582
|
], RangesDirective);
|
|
457
583
|
return RangesDirective;
|
|
458
584
|
}(vueImport$5));
|
|
@@ -519,6 +645,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
519
645
|
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;
|
|
520
646
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
521
647
|
};
|
|
648
|
+
// {{VueImport}}
|
|
522
649
|
var isExecute$6 = gh ? false : true;
|
|
523
650
|
var vueImport$6;
|
|
524
651
|
if (!isExecute$6 || parseInt(allVue.version) < 3) {
|
|
@@ -530,16 +657,36 @@ else {
|
|
|
530
657
|
var ConditionalFormatsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
531
658
|
__extends$6(ConditionalFormatsDirective, _super);
|
|
532
659
|
function ConditionalFormatsDirective() {
|
|
533
|
-
return _super
|
|
660
|
+
return _super.call(this, arguments) || this;
|
|
534
661
|
}
|
|
535
|
-
ConditionalFormatsDirective.prototype.render = function () {
|
|
662
|
+
ConditionalFormatsDirective.prototype.render = function (createElement) {
|
|
663
|
+
if (gh) {
|
|
664
|
+
var h = gh || createElement;
|
|
665
|
+
var slots = null;
|
|
666
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
667
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
668
|
+
}
|
|
669
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
670
|
+
}
|
|
536
671
|
return;
|
|
537
672
|
};
|
|
673
|
+
ConditionalFormatsDirective.prototype.updated = function () {
|
|
674
|
+
if (gh && this.custom) {
|
|
675
|
+
this.custom();
|
|
676
|
+
}
|
|
677
|
+
};
|
|
538
678
|
ConditionalFormatsDirective.prototype.getTag = function () {
|
|
539
679
|
return 'e-conditionalformats';
|
|
540
680
|
};
|
|
541
681
|
ConditionalFormatsDirective = __decorate$6([
|
|
542
682
|
EJComponentDecorator({}, isExecute$6)
|
|
683
|
+
,Options({
|
|
684
|
+
inject: {
|
|
685
|
+
custom: {
|
|
686
|
+
default: null
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
})
|
|
543
690
|
], ConditionalFormatsDirective);
|
|
544
691
|
return ConditionalFormatsDirective;
|
|
545
692
|
}(vueImport$6));
|
|
@@ -606,6 +753,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
606
753
|
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;
|
|
607
754
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
608
755
|
};
|
|
756
|
+
// {{VueImport}}
|
|
609
757
|
var isExecute$7 = gh ? false : true;
|
|
610
758
|
var vueImport$7;
|
|
611
759
|
if (!isExecute$7 || parseInt(allVue.version) < 3) {
|
|
@@ -617,16 +765,36 @@ else {
|
|
|
617
765
|
var SheetsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
618
766
|
__extends$7(SheetsDirective, _super);
|
|
619
767
|
function SheetsDirective() {
|
|
620
|
-
return _super
|
|
768
|
+
return _super.call(this, arguments) || this;
|
|
621
769
|
}
|
|
622
|
-
SheetsDirective.prototype.render = function () {
|
|
770
|
+
SheetsDirective.prototype.render = function (createElement) {
|
|
771
|
+
if (gh) {
|
|
772
|
+
var h = gh || createElement;
|
|
773
|
+
var slots = null;
|
|
774
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
775
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
776
|
+
}
|
|
777
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
778
|
+
}
|
|
623
779
|
return;
|
|
624
780
|
};
|
|
781
|
+
SheetsDirective.prototype.updated = function () {
|
|
782
|
+
if (gh && this.custom) {
|
|
783
|
+
this.custom();
|
|
784
|
+
}
|
|
785
|
+
};
|
|
625
786
|
SheetsDirective.prototype.getTag = function () {
|
|
626
787
|
return 'e-sheets';
|
|
627
788
|
};
|
|
628
789
|
SheetsDirective = __decorate$7([
|
|
629
790
|
EJComponentDecorator({}, isExecute$7)
|
|
791
|
+
,Options({
|
|
792
|
+
inject: {
|
|
793
|
+
custom: {
|
|
794
|
+
default: null
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
})
|
|
630
798
|
], SheetsDirective);
|
|
631
799
|
return SheetsDirective;
|
|
632
800
|
}(vueImport$7));
|
|
@@ -690,6 +858,7 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
690
858
|
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;
|
|
691
859
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
692
860
|
};
|
|
861
|
+
// {{VueImport}}
|
|
693
862
|
var isExecute$8 = gh ? false : true;
|
|
694
863
|
var vueImport$8;
|
|
695
864
|
if (!isExecute$8 || parseInt(allVue.version) < 3) {
|
|
@@ -701,16 +870,36 @@ else {
|
|
|
701
870
|
var DefinedNamesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
702
871
|
__extends$8(DefinedNamesDirective, _super);
|
|
703
872
|
function DefinedNamesDirective() {
|
|
704
|
-
return _super
|
|
873
|
+
return _super.call(this, arguments) || this;
|
|
705
874
|
}
|
|
706
|
-
DefinedNamesDirective.prototype.render = function () {
|
|
875
|
+
DefinedNamesDirective.prototype.render = function (createElement) {
|
|
876
|
+
if (gh) {
|
|
877
|
+
var h = gh || createElement;
|
|
878
|
+
var slots = null;
|
|
879
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
880
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
881
|
+
}
|
|
882
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
883
|
+
}
|
|
707
884
|
return;
|
|
708
885
|
};
|
|
886
|
+
DefinedNamesDirective.prototype.updated = function () {
|
|
887
|
+
if (gh && this.custom) {
|
|
888
|
+
this.custom();
|
|
889
|
+
}
|
|
890
|
+
};
|
|
709
891
|
DefinedNamesDirective.prototype.getTag = function () {
|
|
710
892
|
return 'e-definednames';
|
|
711
893
|
};
|
|
712
894
|
DefinedNamesDirective = __decorate$8([
|
|
713
895
|
EJComponentDecorator({}, isExecute$8)
|
|
896
|
+
,Options({
|
|
897
|
+
inject: {
|
|
898
|
+
custom: {
|
|
899
|
+
default: null
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
})
|
|
714
903
|
], DefinedNamesDirective);
|
|
715
904
|
return DefinedNamesDirective;
|
|
716
905
|
}(vueImport$8));
|
|
@@ -774,7 +963,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
774
963
|
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;
|
|
775
964
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
776
965
|
};
|
|
777
|
-
|
|
966
|
+
// {{VueImport}}
|
|
778
967
|
var properties = ['isLazyUpdate', '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', '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'];
|
|
779
968
|
var modelProps = [];
|
|
780
969
|
var testProp = getProps({ props: properties });
|
|
@@ -809,6 +998,7 @@ var SpreadsheetComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
809
998
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
810
999
|
_this.ej2Instances.setProperties = _this.setProperties;
|
|
811
1000
|
_this.ej2Instances.clearTemplate = _this.clearTemplate;
|
|
1001
|
+
_this.updated = _this.updated;
|
|
812
1002
|
return _this;
|
|
813
1003
|
}
|
|
814
1004
|
SpreadsheetComponent.prototype.clearTemplate = function (templateNames) {
|
|
@@ -867,6 +1057,9 @@ var SpreadsheetComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
867
1057
|
}
|
|
868
1058
|
return h('div', slots);
|
|
869
1059
|
};
|
|
1060
|
+
SpreadsheetComponent.prototype.custom = function () {
|
|
1061
|
+
this.updated();
|
|
1062
|
+
};
|
|
870
1063
|
SpreadsheetComponent.prototype.Unfreeze = function (sheet) {
|
|
871
1064
|
return this.ej2Instances.Unfreeze(sheet);
|
|
872
1065
|
};
|
|
@@ -1129,7 +1322,12 @@ var SpreadsheetComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1129
1322
|
,Options({
|
|
1130
1323
|
props: props,
|
|
1131
1324
|
watch: watch,
|
|
1132
|
-
emits: emitProbs
|
|
1325
|
+
emits: emitProbs,
|
|
1326
|
+
provide: function provide() {
|
|
1327
|
+
return {
|
|
1328
|
+
custom: this.custom
|
|
1329
|
+
};
|
|
1330
|
+
}
|
|
1133
1331
|
})
|
|
1134
1332
|
], SpreadsheetComponent);
|
|
1135
1333
|
return SpreadsheetComponent;
|