@syncfusion/ej2-vue-spreadsheet 20.4.53 → 21.1.35

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