@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,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var DefinedNamesDirective = /** @class */ (function (_super) {
33
- __extends(DefinedNamesDirective, _super);
34
- function DefinedNamesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- DefinedNamesDirective.prototype.render = function (createElement) {
3
+ export var DefinedNamesDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,28 +12,18 @@ var DefinedNamesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- DefinedNamesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- DefinedNamesDirective.prototype.getTag = function () {
54
- return 'e-definednames';
55
- };
56
- DefinedNamesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], DefinedNamesDirective);
66
- return DefinedNamesDirective;
67
- }(vueImport));
68
- export { DefinedNamesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-definednames';
24
+ }
25
+ }
26
+ });
69
27
  export var DefinedNamesPlugin = {
70
28
  name: 'e-definednames',
71
29
  install: function (Vue) {
@@ -84,23 +42,16 @@ export var DefinedNamesPlugin = {
84
42
  * </ejs-spreadsheet>
85
43
  * ```
86
44
  */
87
- var DefinedNameDirective = /** @class */ (function (_super) {
88
- __extends(DefinedNameDirective, _super);
89
- function DefinedNameDirective() {
90
- return _super !== null && _super.apply(this, arguments) || this;
91
- }
92
- DefinedNameDirective.prototype.render = function () {
45
+ export var DefinedNameDirective = vueDefineComponent({
46
+ render: function () {
93
47
  return;
94
- };
95
- DefinedNameDirective.prototype.getTag = function () {
96
- return 'e-definedname';
97
- };
98
- DefinedNameDirective = __decorate([
99
- EJComponentDecorator({}, isExecute)
100
- ], DefinedNameDirective);
101
- return DefinedNameDirective;
102
- }(vueImport));
103
- export { DefinedNameDirective };
48
+ },
49
+ methods: {
50
+ getTag: function () {
51
+ return 'e-definedname';
52
+ }
53
+ }
54
+ });
104
55
  export var DefinedNamePlugin = {
105
56
  name: 'e-definedname',
106
57
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class ImagesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ImagesDirective: any;
8
2
  export declare const ImagesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class ImageDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let ImageDirective: any;
16
7
  export declare const ImagePlugin: {
17
8
  name: string;
18
9
  install(Vue: any): void;
19
10
  };
20
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var ImagesDirective = /** @class */ (function (_super) {
33
- __extends(ImagesDirective, _super);
34
- function ImagesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ImagesDirective.prototype.render = function (createElement) {
3
+ export var ImagesDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,51 +12,34 @@ var ImagesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ImagesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ImagesDirective.prototype.getTag = function () {
54
- return 'e-images';
55
- };
56
- ImagesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ImagesDirective);
66
- return ImagesDirective;
67
- }(vueImport));
68
- export { ImagesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-images';
24
+ }
25
+ }
26
+ });
69
27
  export var ImagesPlugin = {
70
28
  name: 'e-images',
71
29
  install: function (Vue) {
72
30
  Vue.component(ImagesPlugin.name, ImagesDirective);
73
31
  }
74
32
  };
75
- var ImageDirective = /** @class */ (function (_super) {
76
- __extends(ImageDirective, _super);
77
- function ImageDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- ImageDirective.prototype.render = function () {
33
+ export var ImageDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- ImageDirective.prototype.getTag = function () {
84
- return 'e-image';
85
- };
86
- ImageDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], ImageDirective);
89
- return ImageDirective;
90
- }(vueImport));
91
- export { ImageDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-image';
40
+ }
41
+ }
42
+ });
92
43
  export var ImagePlugin = {
93
44
  name: 'e-image',
94
45
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class RangesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let RangesDirective: any;
8
2
  export declare const RangesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -24,12 +18,8 @@ export declare const RangesPlugin: {
24
18
  * </ejs-spreadsheet>
25
19
  * ```
26
20
  */
27
- export declare class RangeDirective extends vueImport {
28
- render(): void;
29
- getTag(): string;
30
- }
21
+ export declare let RangeDirective: any;
31
22
  export declare const RangePlugin: {
32
23
  name: string;
33
24
  install(Vue: any): void;
34
25
  };
35
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var RangesDirective = /** @class */ (function (_super) {
33
- __extends(RangesDirective, _super);
34
- function RangesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- RangesDirective.prototype.render = function (createElement) {
3
+ export var RangesDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,28 +12,18 @@ var RangesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- RangesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- RangesDirective.prototype.getTag = function () {
54
- return 'e-ranges';
55
- };
56
- RangesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], RangesDirective);
66
- return RangesDirective;
67
- }(vueImport));
68
- export { RangesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-ranges';
24
+ }
25
+ }
26
+ });
69
27
  export var RangesPlugin = {
70
28
  name: 'e-ranges',
71
29
  install: function (Vue) {
@@ -87,23 +45,16 @@ export var RangesPlugin = {
87
45
  * </ejs-spreadsheet>
88
46
  * ```
89
47
  */
90
- var RangeDirective = /** @class */ (function (_super) {
91
- __extends(RangeDirective, _super);
92
- function RangeDirective() {
93
- return _super !== null && _super.apply(this, arguments) || this;
94
- }
95
- RangeDirective.prototype.render = function () {
48
+ export var RangeDirective = vueDefineComponent({
49
+ render: function () {
96
50
  return;
97
- };
98
- RangeDirective.prototype.getTag = function () {
99
- return 'e-range';
100
- };
101
- RangeDirective = __decorate([
102
- EJComponentDecorator({}, isExecute)
103
- ], RangeDirective);
104
- return RangeDirective;
105
- }(vueImport));
106
- export { RangeDirective };
51
+ },
52
+ methods: {
53
+ getTag: function () {
54
+ return 'e-range';
55
+ }
56
+ }
57
+ });
107
58
  export var RangePlugin = {
108
59
  name: 'e-range',
109
60
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class RowsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let RowsDirective: any;
8
2
  export declare const RowsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -24,12 +18,8 @@ export declare const RowsPlugin: {
24
18
  * </ejs-spreadsheet>
25
19
  * ```
26
20
  */
27
- export declare class RowDirective extends vueImport {
28
- render(): void;
29
- getTag(): string;
30
- }
21
+ export declare let RowDirective: any;
31
22
  export declare const RowPlugin: {
32
23
  name: string;
33
24
  install(Vue: any): void;
34
25
  };
35
- export {};
@@ -1,40 +1,8 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- 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;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
20
- import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
21
- import * as Vue3 from 'vue-class-component';
1
+ import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
23
- import Vue from 'vue';
24
- import { Options } from 'vue-class-component';
25
- var vueImport;
26
- if (!isExecute || parseInt(allVue.version) < 3) {
27
- vueImport = Vue3.Vue;
28
- }
29
- else {
30
- vueImport = Vue;
31
- }
32
- var RowsDirective = /** @class */ (function (_super) {
33
- __extends(RowsDirective, _super);
34
- function RowsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- RowsDirective.prototype.render = function (createElement) {
3
+ export var RowsDirective = vueDefineComponent({
4
+ inject: { custom: { default: null } },
5
+ render: function (createElement) {
38
6
  if (!isExecute) {
39
7
  var h = !isExecute ? gh : createElement;
40
8
  var slots = null;
@@ -44,28 +12,18 @@ var RowsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- RowsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- RowsDirective.prototype.getTag = function () {
54
- return 'e-rows';
55
- };
56
- RowsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], RowsDirective);
66
- return RowsDirective;
67
- }(vueImport));
68
- export { RowsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-rows';
24
+ }
25
+ }
26
+ });
69
27
  export var RowsPlugin = {
70
28
  name: 'e-rows',
71
29
  install: function (Vue) {
@@ -87,23 +45,16 @@ export var RowsPlugin = {
87
45
  * </ejs-spreadsheet>
88
46
  * ```
89
47
  */
90
- var RowDirective = /** @class */ (function (_super) {
91
- __extends(RowDirective, _super);
92
- function RowDirective() {
93
- return _super !== null && _super.apply(this, arguments) || this;
94
- }
95
- RowDirective.prototype.render = function () {
48
+ export var RowDirective = vueDefineComponent({
49
+ render: function () {
96
50
  return;
97
- };
98
- RowDirective.prototype.getTag = function () {
99
- return 'e-row';
100
- };
101
- RowDirective = __decorate([
102
- EJComponentDecorator({}, isExecute)
103
- ], RowDirective);
104
- return RowDirective;
105
- }(vueImport));
106
- export { RowDirective };
51
+ },
52
+ methods: {
53
+ getTag: function () {
54
+ return 'e-row';
55
+ }
56
+ }
57
+ });
107
58
  export var RowPlugin = {
108
59
  name: 'e-row',
109
60
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class SheetsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let SheetsDirective: any;
8
2
  export declare const SheetsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -21,12 +15,8 @@ export declare const SheetsPlugin: {
21
15
  * </ejs-spreadsheet>
22
16
  * ```
23
17
  */
24
- export declare class SheetDirective extends vueImport {
25
- render(): void;
26
- getTag(): string;
27
- }
18
+ export declare let SheetDirective: any;
28
19
  export declare const SheetPlugin: {
29
20
  name: string;
30
21
  install(Vue: any): void;
31
22
  };
32
- export {};