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