@syncfusion/ej2-vue-spreadsheet 20.2.49 → 20.3.47
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 +0 -72
- 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 +66 -76
- package/dist/es6/ej2-vue-spreadsheet.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-spreadsheet.es5.js +66 -76
- package/dist/es6/ej2-vue-spreadsheet.es5.js.map +1 -1
- package/dist/global/ej2-vue-spreadsheet.min.js +2 -2
- package/package.json +8 -8
- package/src/spreadsheet/cells.directive.d.ts +0 -1
- package/src/spreadsheet/cells.directive.js +5 -6
- package/src/spreadsheet/chart.directive.d.ts +0 -1
- package/src/spreadsheet/chart.directive.js +5 -6
- package/src/spreadsheet/columns.directive.d.ts +0 -1
- package/src/spreadsheet/columns.directive.js +5 -6
- package/src/spreadsheet/conditionalformats.directive.d.ts +0 -1
- package/src/spreadsheet/conditionalformats.directive.js +5 -6
- package/src/spreadsheet/definednames.directive.d.ts +0 -1
- package/src/spreadsheet/definednames.directive.js +5 -6
- package/src/spreadsheet/image.directive.d.ts +0 -1
- package/src/spreadsheet/image.directive.js +5 -6
- package/src/spreadsheet/ranges.directive.d.ts +0 -1
- package/src/spreadsheet/ranges.directive.js +5 -6
- package/src/spreadsheet/rows.directive.d.ts +0 -1
- package/src/spreadsheet/rows.directive.js +5 -6
- package/src/spreadsheet/sheets.directive.d.ts +0 -1
- package/src/spreadsheet/sheets.directive.js +5 -6
- package/src/spreadsheet/spreadsheet.component.d.ts +0 -1
- package/src/spreadsheet/spreadsheet.component.js +4 -5
- package/styles/bootstrap-dark.css +44 -37
- package/styles/bootstrap.css +43 -36
- package/styles/bootstrap4.css +44 -36
- package/styles/bootstrap5-dark.css +47 -37
- package/styles/bootstrap5.css +47 -37
- package/styles/fabric-dark.css +43 -36
- package/styles/fabric.css +43 -36
- package/styles/fluent-dark.css +40 -42
- package/styles/fluent.css +40 -42
- package/styles/highcontrast-light.css +34 -37
- package/styles/highcontrast.css +39 -36
- package/styles/material-dark.css +39 -39
- package/styles/material.css +37 -37
- package/styles/ribbon/bootstrap-dark.css +1 -1
- package/styles/ribbon/bootstrap.css +1 -1
- package/styles/ribbon/bootstrap4.css +1 -1
- package/styles/ribbon/bootstrap5-dark.css +1 -1
- package/styles/ribbon/bootstrap5.css +1 -1
- package/styles/ribbon/fabric-dark.css +1 -1
- package/styles/ribbon/fabric.css +1 -1
- package/styles/ribbon/fluent-dark.css +1 -1
- package/styles/ribbon/fluent.css +1 -1
- package/styles/ribbon/highcontrast-light.css +1 -1
- package/styles/ribbon/highcontrast.css +1 -1
- package/styles/ribbon/material-dark.css +1 -1
- package/styles/ribbon/material.css +1 -1
- package/styles/ribbon/tailwind-dark.css +1 -1
- package/styles/ribbon/tailwind.css +1 -1
- package/styles/spreadsheet/bootstrap-dark.css +43 -36
- package/styles/spreadsheet/bootstrap.css +42 -35
- package/styles/spreadsheet/bootstrap4.css +43 -35
- package/styles/spreadsheet/bootstrap5-dark.css +46 -36
- package/styles/spreadsheet/bootstrap5.css +46 -36
- package/styles/spreadsheet/fabric-dark.css +42 -35
- package/styles/spreadsheet/fabric.css +42 -35
- package/styles/spreadsheet/fluent-dark.css +39 -41
- package/styles/spreadsheet/fluent.css +39 -41
- package/styles/spreadsheet/highcontrast-light.css +33 -36
- package/styles/spreadsheet/highcontrast.css +38 -35
- package/styles/spreadsheet/material-dark.css +38 -38
- package/styles/spreadsheet/material.css +36 -36
- package/styles/spreadsheet/tailwind-dark.css +38 -37
- package/styles/spreadsheet/tailwind.css +38 -37
- package/styles/tailwind-dark.css +39 -38
- package/styles/tailwind.css +39 -38
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Spreadsheet } from '@syncfusion/ej2-spreadsheet';
|
|
2
|
-
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
4
|
import { getValue, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
5
5
|
import Vue$1 from 'vue';
|
|
@@ -24,7 +24,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
26
|
import { Options } from 'vue-class-component';
|
|
27
|
-
var isExecute = gh ? false : true;
|
|
28
27
|
var vueImport;
|
|
29
28
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
30
29
|
vueImport = Vue;
|
|
@@ -38,18 +37,18 @@ var ImagesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
38
37
|
return _super.call(this, arguments) || this;
|
|
39
38
|
}
|
|
40
39
|
ImagesDirective.prototype.render = function (createElement) {
|
|
41
|
-
if (
|
|
42
|
-
var h = gh
|
|
40
|
+
if (!isExecute) {
|
|
41
|
+
var h = !isExecute ? gh : createElement;
|
|
43
42
|
var slots = null;
|
|
44
43
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
-
slots =
|
|
44
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
46
45
|
}
|
|
47
46
|
return h('div', { class: 'e-directive' }, slots);
|
|
48
47
|
}
|
|
49
48
|
return;
|
|
50
49
|
};
|
|
51
50
|
ImagesDirective.prototype.updated = function () {
|
|
52
|
-
if (
|
|
51
|
+
if (!isExecute && this.custom) {
|
|
53
52
|
this.custom();
|
|
54
53
|
}
|
|
55
54
|
};
|
|
@@ -117,9 +116,8 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
117
116
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
118
117
|
};
|
|
119
118
|
// {{VueImport}}
|
|
120
|
-
var isExecute$1 = gh ? false : true;
|
|
121
119
|
var vueImport$1;
|
|
122
|
-
if (!isExecute
|
|
120
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
123
121
|
vueImport$1 = Vue;
|
|
124
122
|
}
|
|
125
123
|
else {
|
|
@@ -131,18 +129,18 @@ var ChartsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
131
129
|
return _super.call(this, arguments) || this;
|
|
132
130
|
}
|
|
133
131
|
ChartsDirective.prototype.render = function (createElement) {
|
|
134
|
-
if (
|
|
135
|
-
var h = gh
|
|
132
|
+
if (!isExecute) {
|
|
133
|
+
var h = !isExecute ? gh : createElement;
|
|
136
134
|
var slots = null;
|
|
137
135
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
138
|
-
slots =
|
|
136
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
139
137
|
}
|
|
140
138
|
return h('div', { class: 'e-directive' }, slots);
|
|
141
139
|
}
|
|
142
140
|
return;
|
|
143
141
|
};
|
|
144
142
|
ChartsDirective.prototype.updated = function () {
|
|
145
|
-
if (
|
|
143
|
+
if (!isExecute && this.custom) {
|
|
146
144
|
this.custom();
|
|
147
145
|
}
|
|
148
146
|
};
|
|
@@ -150,7 +148,7 @@ var ChartsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
150
148
|
return 'e-charts';
|
|
151
149
|
};
|
|
152
150
|
ChartsDirective = __decorate$1([
|
|
153
|
-
EJComponentDecorator({}, isExecute
|
|
151
|
+
EJComponentDecorator({}, isExecute)
|
|
154
152
|
,Options({
|
|
155
153
|
inject: {
|
|
156
154
|
custom: {
|
|
@@ -179,7 +177,7 @@ var ChartDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
179
177
|
return 'e-chart';
|
|
180
178
|
};
|
|
181
179
|
ChartDirective = __decorate$1([
|
|
182
|
-
EJComponentDecorator({}, isExecute
|
|
180
|
+
EJComponentDecorator({}, isExecute)
|
|
183
181
|
], ChartDirective);
|
|
184
182
|
return ChartDirective;
|
|
185
183
|
}(vueImport$1));
|
|
@@ -210,9 +208,8 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
210
208
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
211
209
|
};
|
|
212
210
|
// {{VueImport}}
|
|
213
|
-
var isExecute$2 = gh ? false : true;
|
|
214
211
|
var vueImport$2;
|
|
215
|
-
if (!isExecute
|
|
212
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
216
213
|
vueImport$2 = Vue;
|
|
217
214
|
}
|
|
218
215
|
else {
|
|
@@ -224,18 +221,18 @@ var CellsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
224
221
|
return _super.call(this, arguments) || this;
|
|
225
222
|
}
|
|
226
223
|
CellsDirective.prototype.render = function (createElement) {
|
|
227
|
-
if (
|
|
228
|
-
var h = gh
|
|
224
|
+
if (!isExecute) {
|
|
225
|
+
var h = !isExecute ? gh : createElement;
|
|
229
226
|
var slots = null;
|
|
230
227
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
231
|
-
slots =
|
|
228
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
232
229
|
}
|
|
233
230
|
return h('div', { class: 'e-directive' }, slots);
|
|
234
231
|
}
|
|
235
232
|
return;
|
|
236
233
|
};
|
|
237
234
|
CellsDirective.prototype.updated = function () {
|
|
238
|
-
if (
|
|
235
|
+
if (!isExecute && this.custom) {
|
|
239
236
|
this.custom();
|
|
240
237
|
}
|
|
241
238
|
};
|
|
@@ -243,7 +240,7 @@ var CellsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
243
240
|
return 'e-cells';
|
|
244
241
|
};
|
|
245
242
|
CellsDirective = __decorate$2([
|
|
246
|
-
EJComponentDecorator({}, isExecute
|
|
243
|
+
EJComponentDecorator({}, isExecute)
|
|
247
244
|
,Options({
|
|
248
245
|
inject: {
|
|
249
246
|
custom: {
|
|
@@ -291,7 +288,7 @@ var CellDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
291
288
|
return 'e-cell';
|
|
292
289
|
};
|
|
293
290
|
CellDirective = __decorate$2([
|
|
294
|
-
EJComponentDecorator({}, isExecute
|
|
291
|
+
EJComponentDecorator({}, isExecute)
|
|
295
292
|
], CellDirective);
|
|
296
293
|
return CellDirective;
|
|
297
294
|
}(vueImport$2));
|
|
@@ -322,9 +319,8 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
322
319
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
323
320
|
};
|
|
324
321
|
// {{VueImport}}
|
|
325
|
-
var isExecute$3 = gh ? false : true;
|
|
326
322
|
var vueImport$3;
|
|
327
|
-
if (!isExecute
|
|
323
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
328
324
|
vueImport$3 = Vue;
|
|
329
325
|
}
|
|
330
326
|
else {
|
|
@@ -336,18 +332,18 @@ var RowsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
336
332
|
return _super.call(this, arguments) || this;
|
|
337
333
|
}
|
|
338
334
|
RowsDirective.prototype.render = function (createElement) {
|
|
339
|
-
if (
|
|
340
|
-
var h = gh
|
|
335
|
+
if (!isExecute) {
|
|
336
|
+
var h = !isExecute ? gh : createElement;
|
|
341
337
|
var slots = null;
|
|
342
338
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
343
|
-
slots =
|
|
339
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
344
340
|
}
|
|
345
341
|
return h('div', { class: 'e-directive' }, slots);
|
|
346
342
|
}
|
|
347
343
|
return;
|
|
348
344
|
};
|
|
349
345
|
RowsDirective.prototype.updated = function () {
|
|
350
|
-
if (
|
|
346
|
+
if (!isExecute && this.custom) {
|
|
351
347
|
this.custom();
|
|
352
348
|
}
|
|
353
349
|
};
|
|
@@ -355,7 +351,7 @@ var RowsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
355
351
|
return 'e-rows';
|
|
356
352
|
};
|
|
357
353
|
RowsDirective = __decorate$3([
|
|
358
|
-
EJComponentDecorator({}, isExecute
|
|
354
|
+
EJComponentDecorator({}, isExecute)
|
|
359
355
|
,Options({
|
|
360
356
|
inject: {
|
|
361
357
|
custom: {
|
|
@@ -399,7 +395,7 @@ var RowDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
399
395
|
return 'e-row';
|
|
400
396
|
};
|
|
401
397
|
RowDirective = __decorate$3([
|
|
402
|
-
EJComponentDecorator({}, isExecute
|
|
398
|
+
EJComponentDecorator({}, isExecute)
|
|
403
399
|
], RowDirective);
|
|
404
400
|
return RowDirective;
|
|
405
401
|
}(vueImport$3));
|
|
@@ -430,9 +426,8 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
430
426
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
431
427
|
};
|
|
432
428
|
// {{VueImport}}
|
|
433
|
-
var isExecute$4 = gh ? false : true;
|
|
434
429
|
var vueImport$4;
|
|
435
|
-
if (!isExecute
|
|
430
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
436
431
|
vueImport$4 = Vue;
|
|
437
432
|
}
|
|
438
433
|
else {
|
|
@@ -444,18 +439,18 @@ var ColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
444
439
|
return _super.call(this, arguments) || this;
|
|
445
440
|
}
|
|
446
441
|
ColumnsDirective.prototype.render = function (createElement) {
|
|
447
|
-
if (
|
|
448
|
-
var h = gh
|
|
442
|
+
if (!isExecute) {
|
|
443
|
+
var h = !isExecute ? gh : createElement;
|
|
449
444
|
var slots = null;
|
|
450
445
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
451
|
-
slots =
|
|
446
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
452
447
|
}
|
|
453
448
|
return h('div', { class: 'e-directive' }, slots);
|
|
454
449
|
}
|
|
455
450
|
return;
|
|
456
451
|
};
|
|
457
452
|
ColumnsDirective.prototype.updated = function () {
|
|
458
|
-
if (
|
|
453
|
+
if (!isExecute && this.custom) {
|
|
459
454
|
this.custom();
|
|
460
455
|
}
|
|
461
456
|
};
|
|
@@ -463,7 +458,7 @@ var ColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
463
458
|
return 'e-columns';
|
|
464
459
|
};
|
|
465
460
|
ColumnsDirective = __decorate$4([
|
|
466
|
-
EJComponentDecorator({}, isExecute
|
|
461
|
+
EJComponentDecorator({}, isExecute)
|
|
467
462
|
,Options({
|
|
468
463
|
inject: {
|
|
469
464
|
custom: {
|
|
@@ -507,7 +502,7 @@ var ColumnDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
507
502
|
return 'e-column';
|
|
508
503
|
};
|
|
509
504
|
ColumnDirective = __decorate$4([
|
|
510
|
-
EJComponentDecorator({}, isExecute
|
|
505
|
+
EJComponentDecorator({}, isExecute)
|
|
511
506
|
], ColumnDirective);
|
|
512
507
|
return ColumnDirective;
|
|
513
508
|
}(vueImport$4));
|
|
@@ -538,9 +533,8 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
538
533
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
539
534
|
};
|
|
540
535
|
// {{VueImport}}
|
|
541
|
-
var isExecute$5 = gh ? false : true;
|
|
542
536
|
var vueImport$5;
|
|
543
|
-
if (!isExecute
|
|
537
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
544
538
|
vueImport$5 = Vue;
|
|
545
539
|
}
|
|
546
540
|
else {
|
|
@@ -552,18 +546,18 @@ var RangesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
552
546
|
return _super.call(this, arguments) || this;
|
|
553
547
|
}
|
|
554
548
|
RangesDirective.prototype.render = function (createElement) {
|
|
555
|
-
if (
|
|
556
|
-
var h = gh
|
|
549
|
+
if (!isExecute) {
|
|
550
|
+
var h = !isExecute ? gh : createElement;
|
|
557
551
|
var slots = null;
|
|
558
552
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
559
|
-
slots =
|
|
553
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
560
554
|
}
|
|
561
555
|
return h('div', { class: 'e-directive' }, slots);
|
|
562
556
|
}
|
|
563
557
|
return;
|
|
564
558
|
};
|
|
565
559
|
RangesDirective.prototype.updated = function () {
|
|
566
|
-
if (
|
|
560
|
+
if (!isExecute && this.custom) {
|
|
567
561
|
this.custom();
|
|
568
562
|
}
|
|
569
563
|
};
|
|
@@ -571,7 +565,7 @@ var RangesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
571
565
|
return 'e-ranges';
|
|
572
566
|
};
|
|
573
567
|
RangesDirective = __decorate$5([
|
|
574
|
-
EJComponentDecorator({}, isExecute
|
|
568
|
+
EJComponentDecorator({}, isExecute)
|
|
575
569
|
,Options({
|
|
576
570
|
inject: {
|
|
577
571
|
custom: {
|
|
@@ -615,7 +609,7 @@ var RangeDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
615
609
|
return 'e-range';
|
|
616
610
|
};
|
|
617
611
|
RangeDirective = __decorate$5([
|
|
618
|
-
EJComponentDecorator({}, isExecute
|
|
612
|
+
EJComponentDecorator({}, isExecute)
|
|
619
613
|
], RangeDirective);
|
|
620
614
|
return RangeDirective;
|
|
621
615
|
}(vueImport$5));
|
|
@@ -646,9 +640,8 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
646
640
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
647
641
|
};
|
|
648
642
|
// {{VueImport}}
|
|
649
|
-
var isExecute$6 = gh ? false : true;
|
|
650
643
|
var vueImport$6;
|
|
651
|
-
if (!isExecute
|
|
644
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
652
645
|
vueImport$6 = Vue;
|
|
653
646
|
}
|
|
654
647
|
else {
|
|
@@ -660,18 +653,18 @@ var ConditionalFormatsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
660
653
|
return _super.call(this, arguments) || this;
|
|
661
654
|
}
|
|
662
655
|
ConditionalFormatsDirective.prototype.render = function (createElement) {
|
|
663
|
-
if (
|
|
664
|
-
var h = gh
|
|
656
|
+
if (!isExecute) {
|
|
657
|
+
var h = !isExecute ? gh : createElement;
|
|
665
658
|
var slots = null;
|
|
666
659
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
667
|
-
slots =
|
|
660
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
668
661
|
}
|
|
669
662
|
return h('div', { class: 'e-directive' }, slots);
|
|
670
663
|
}
|
|
671
664
|
return;
|
|
672
665
|
};
|
|
673
666
|
ConditionalFormatsDirective.prototype.updated = function () {
|
|
674
|
-
if (
|
|
667
|
+
if (!isExecute && this.custom) {
|
|
675
668
|
this.custom();
|
|
676
669
|
}
|
|
677
670
|
};
|
|
@@ -679,7 +672,7 @@ var ConditionalFormatsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
679
672
|
return 'e-conditionalformats';
|
|
680
673
|
};
|
|
681
674
|
ConditionalFormatsDirective = __decorate$6([
|
|
682
|
-
EJComponentDecorator({}, isExecute
|
|
675
|
+
EJComponentDecorator({}, isExecute)
|
|
683
676
|
,Options({
|
|
684
677
|
inject: {
|
|
685
678
|
custom: {
|
|
@@ -723,7 +716,7 @@ var ConditionalFormatDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
723
716
|
return 'e-conditionalformat';
|
|
724
717
|
};
|
|
725
718
|
ConditionalFormatDirective = __decorate$6([
|
|
726
|
-
EJComponentDecorator({}, isExecute
|
|
719
|
+
EJComponentDecorator({}, isExecute)
|
|
727
720
|
], ConditionalFormatDirective);
|
|
728
721
|
return ConditionalFormatDirective;
|
|
729
722
|
}(vueImport$6));
|
|
@@ -754,9 +747,8 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
754
747
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
755
748
|
};
|
|
756
749
|
// {{VueImport}}
|
|
757
|
-
var isExecute$7 = gh ? false : true;
|
|
758
750
|
var vueImport$7;
|
|
759
|
-
if (!isExecute
|
|
751
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
760
752
|
vueImport$7 = Vue;
|
|
761
753
|
}
|
|
762
754
|
else {
|
|
@@ -768,18 +760,18 @@ var SheetsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
768
760
|
return _super.call(this, arguments) || this;
|
|
769
761
|
}
|
|
770
762
|
SheetsDirective.prototype.render = function (createElement) {
|
|
771
|
-
if (
|
|
772
|
-
var h = gh
|
|
763
|
+
if (!isExecute) {
|
|
764
|
+
var h = !isExecute ? gh : createElement;
|
|
773
765
|
var slots = null;
|
|
774
766
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
775
|
-
slots =
|
|
767
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
776
768
|
}
|
|
777
769
|
return h('div', { class: 'e-directive' }, slots);
|
|
778
770
|
}
|
|
779
771
|
return;
|
|
780
772
|
};
|
|
781
773
|
SheetsDirective.prototype.updated = function () {
|
|
782
|
-
if (
|
|
774
|
+
if (!isExecute && this.custom) {
|
|
783
775
|
this.custom();
|
|
784
776
|
}
|
|
785
777
|
};
|
|
@@ -787,7 +779,7 @@ var SheetsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
787
779
|
return 'e-sheets';
|
|
788
780
|
};
|
|
789
781
|
SheetsDirective = __decorate$7([
|
|
790
|
-
EJComponentDecorator({}, isExecute
|
|
782
|
+
EJComponentDecorator({}, isExecute)
|
|
791
783
|
,Options({
|
|
792
784
|
inject: {
|
|
793
785
|
custom: {
|
|
@@ -828,7 +820,7 @@ var SheetDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
828
820
|
return 'e-sheet';
|
|
829
821
|
};
|
|
830
822
|
SheetDirective = __decorate$7([
|
|
831
|
-
EJComponentDecorator({}, isExecute
|
|
823
|
+
EJComponentDecorator({}, isExecute)
|
|
832
824
|
], SheetDirective);
|
|
833
825
|
return SheetDirective;
|
|
834
826
|
}(vueImport$7));
|
|
@@ -859,9 +851,8 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
859
851
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
860
852
|
};
|
|
861
853
|
// {{VueImport}}
|
|
862
|
-
var isExecute$8 = gh ? false : true;
|
|
863
854
|
var vueImport$8;
|
|
864
|
-
if (!isExecute
|
|
855
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
865
856
|
vueImport$8 = Vue;
|
|
866
857
|
}
|
|
867
858
|
else {
|
|
@@ -873,18 +864,18 @@ var DefinedNamesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
873
864
|
return _super.call(this, arguments) || this;
|
|
874
865
|
}
|
|
875
866
|
DefinedNamesDirective.prototype.render = function (createElement) {
|
|
876
|
-
if (
|
|
877
|
-
var h = gh
|
|
867
|
+
if (!isExecute) {
|
|
868
|
+
var h = !isExecute ? gh : createElement;
|
|
878
869
|
var slots = null;
|
|
879
870
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
880
|
-
slots =
|
|
871
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
881
872
|
}
|
|
882
873
|
return h('div', { class: 'e-directive' }, slots);
|
|
883
874
|
}
|
|
884
875
|
return;
|
|
885
876
|
};
|
|
886
877
|
DefinedNamesDirective.prototype.updated = function () {
|
|
887
|
-
if (
|
|
878
|
+
if (!isExecute && this.custom) {
|
|
888
879
|
this.custom();
|
|
889
880
|
}
|
|
890
881
|
};
|
|
@@ -892,7 +883,7 @@ var DefinedNamesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
892
883
|
return 'e-definednames';
|
|
893
884
|
};
|
|
894
885
|
DefinedNamesDirective = __decorate$8([
|
|
895
|
-
EJComponentDecorator({}, isExecute
|
|
886
|
+
EJComponentDecorator({}, isExecute)
|
|
896
887
|
,Options({
|
|
897
888
|
inject: {
|
|
898
889
|
custom: {
|
|
@@ -933,7 +924,7 @@ var DefinedNameDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
933
924
|
return 'e-definedname';
|
|
934
925
|
};
|
|
935
926
|
DefinedNameDirective = __decorate$8([
|
|
936
|
-
EJComponentDecorator({}, isExecute
|
|
927
|
+
EJComponentDecorator({}, isExecute)
|
|
937
928
|
], DefinedNameDirective);
|
|
938
929
|
return DefinedNameDirective;
|
|
939
930
|
}(vueImport$8));
|
|
@@ -964,7 +955,7 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
964
955
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
965
956
|
};
|
|
966
957
|
// {{VueImport}}
|
|
967
|
-
var 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', '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'];
|
|
958
|
+
var 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'];
|
|
968
959
|
var modelProps = [];
|
|
969
960
|
var testProp = getProps({ props: properties });
|
|
970
961
|
var props = testProp[0];
|
|
@@ -975,7 +966,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
975
966
|
var props_1 = modelProps_1[_i];
|
|
976
967
|
emitProbs.push('update:' + props_1);
|
|
977
968
|
}
|
|
978
|
-
var isExecute$9 = gh ? false : true;
|
|
979
969
|
/**
|
|
980
970
|
* `ejs-spreadsheet` represents the VueJS Spreadsheet Component.
|
|
981
971
|
* ```vue
|
|
@@ -992,7 +982,7 @@ var SpreadsheetComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
992
982
|
_this.hasInjectedModules = true;
|
|
993
983
|
_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" };
|
|
994
984
|
_this.tagNameMapper = { "e-images": "e-image", "e-charts": "e-chart", "e-conditionalformats": "e-conditionalFormats", "e-definednames": "e-definedNames" };
|
|
995
|
-
_this.isVue3 = !isExecute
|
|
985
|
+
_this.isVue3 = !isExecute;
|
|
996
986
|
_this.ej2Instances = new Spreadsheet({});
|
|
997
987
|
_this.bindProperties();
|
|
998
988
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1050,10 +1040,10 @@ var SpreadsheetComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1050
1040
|
}
|
|
1051
1041
|
};
|
|
1052
1042
|
SpreadsheetComponent.prototype.render = function (createElement) {
|
|
1053
|
-
var h = gh
|
|
1043
|
+
var h = !isExecute ? gh : createElement;
|
|
1054
1044
|
var slots = null;
|
|
1055
1045
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1056
|
-
slots =
|
|
1046
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1057
1047
|
}
|
|
1058
1048
|
return h('div', slots);
|
|
1059
1049
|
};
|
|
@@ -1321,7 +1311,7 @@ var SpreadsheetComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1321
1311
|
SpreadsheetComponent = __decorate$9([
|
|
1322
1312
|
EJComponentDecorator({
|
|
1323
1313
|
props: properties
|
|
1324
|
-
}, isExecute
|
|
1314
|
+
}, isExecute)
|
|
1325
1315
|
,Options({
|
|
1326
1316
|
props: props,
|
|
1327
1317
|
watch: watch,
|