@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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-spreadsheet@*",
3
- "_id": "@syncfusion/ej2-vue-spreadsheet@20.4.52",
3
+ "_id": "@syncfusion/ej2-vue-spreadsheet@20.16.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-WD0UaLejRTTDeYBroDv/9NqqMzVR30jI+l8oapNied8y2pP+I2XWmooCGlxXXmuCa8GGq9Wss+btV6WGoOfLWw==",
5
+ "_integrity": "sha512-3QqVHKBLREVQ4c+4UvBAGAOKci0a3VTrg2HRHYu+5G+F6gYoScK8wkmS/0aG37NmSf10CUjnITeUf7rXsconRA==",
6
6
  "_location": "/@syncfusion/ej2-vue-spreadsheet",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,10 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-spreadsheet/-/ej2-vue-spreadsheet-20.4.52.tgz",
23
- "_shasum": "608879867913d3dcaaa633ee902d2cfb0909d44e",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-spreadsheet/-/ej2-vue-spreadsheet-20.16.3.tgz",
23
+ "_shasum": "06b78c96b410a19efad6e20fb6e9b25628053eed",
24
24
  "_spec": "@syncfusion/ej2-vue-spreadsheet@*",
25
- "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
26
  "author": {
27
27
  "name": "Syncfusion Inc."
28
28
  },
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~20.4.51",
35
- "@syncfusion/ej2-spreadsheet": "20.4.53",
36
- "@syncfusion/ej2-vue-base": "~20.4.51"
34
+ "@syncfusion/ej2-base": "~21.1.35",
35
+ "@syncfusion/ej2-spreadsheet": "21.1.35",
36
+ "@syncfusion/ej2-vue-base": "~21.1.35"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Feature-rich JavaScript Spreadsheet (Excel) control with built-in support for selection, editing, formatting, importing and exporting to Excel for Vue",
@@ -56,6 +56,6 @@
56
56
  "scripts": {
57
57
  "postinstall": "node ../ej2-vue-base/postinstall.js"
58
58
  },
59
- "version": "20.4.53",
59
+ "version": "21.1.35",
60
60
  "sideEffects": false
61
61
  }
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class CellsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let CellsDirective: any;
8
2
  export declare const CellsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -28,12 +22,8 @@ export declare const CellsPlugin: {
28
22
  * </ejs-spreadsheet>
29
23
  * ```
30
24
  */
31
- export declare class CellDirective extends vueImport {
32
- render(): void;
33
- getTag(): string;
34
- }
25
+ export declare let CellDirective: any;
35
26
  export declare const CellPlugin: {
36
27
  name: string;
37
28
  install(Vue: any): void;
38
29
  };
39
- 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 CellsDirective = /** @class */ (function (_super) {
33
- __extends(CellsDirective, _super);
34
- function CellsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- CellsDirective.prototype.render = function (createElement) {
3
+ export var CellsDirective = 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 CellsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- CellsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- CellsDirective.prototype.getTag = function () {
54
- return 'e-cells';
55
- };
56
- CellsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], CellsDirective);
66
- return CellsDirective;
67
- }(vueImport));
68
- export { CellsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-cells';
24
+ }
25
+ }
26
+ });
69
27
  export var CellsPlugin = {
70
28
  name: 'e-cells',
71
29
  install: function (Vue) {
@@ -91,23 +49,16 @@ export var CellsPlugin = {
91
49
  * </ejs-spreadsheet>
92
50
  * ```
93
51
  */
94
- var CellDirective = /** @class */ (function (_super) {
95
- __extends(CellDirective, _super);
96
- function CellDirective() {
97
- return _super !== null && _super.apply(this, arguments) || this;
98
- }
99
- CellDirective.prototype.render = function () {
52
+ export var CellDirective = vueDefineComponent({
53
+ render: function () {
100
54
  return;
101
- };
102
- CellDirective.prototype.getTag = function () {
103
- return 'e-cell';
104
- };
105
- CellDirective = __decorate([
106
- EJComponentDecorator({}, isExecute)
107
- ], CellDirective);
108
- return CellDirective;
109
- }(vueImport));
110
- export { CellDirective };
55
+ },
56
+ methods: {
57
+ getTag: function () {
58
+ return 'e-cell';
59
+ }
60
+ }
61
+ });
111
62
  export var CellPlugin = {
112
63
  name: 'e-cell',
113
64
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class ChartsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ChartsDirective: any;
8
2
  export declare const ChartsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class ChartDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let ChartDirective: any;
16
7
  export declare const ChartPlugin: {
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 ChartsDirective = /** @class */ (function (_super) {
33
- __extends(ChartsDirective, _super);
34
- function ChartsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ChartsDirective.prototype.render = function (createElement) {
3
+ export var ChartsDirective = 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 ChartsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ChartsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ChartsDirective.prototype.getTag = function () {
54
- return 'e-charts';
55
- };
56
- ChartsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ChartsDirective);
66
- return ChartsDirective;
67
- }(vueImport));
68
- export { ChartsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-charts';
24
+ }
25
+ }
26
+ });
69
27
  export var ChartsPlugin = {
70
28
  name: 'e-charts',
71
29
  install: function (Vue) {
72
30
  Vue.component(ChartsPlugin.name, ChartsDirective);
73
31
  }
74
32
  };
75
- var ChartDirective = /** @class */ (function (_super) {
76
- __extends(ChartDirective, _super);
77
- function ChartDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- ChartDirective.prototype.render = function () {
33
+ export var ChartDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- ChartDirective.prototype.getTag = function () {
84
- return 'e-chart';
85
- };
86
- ChartDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], ChartDirective);
89
- return ChartDirective;
90
- }(vueImport));
91
- export { ChartDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-chart';
40
+ }
41
+ }
42
+ });
92
43
  export var ChartPlugin = {
93
44
  name: 'e-chart',
94
45
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class ColumnsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ColumnsDirective: any;
8
2
  export declare const ColumnsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -24,12 +18,8 @@ export declare const ColumnsPlugin: {
24
18
  * </ejs-spreadsheet>
25
19
  * ```
26
20
  */
27
- export declare class ColumnDirective extends vueImport {
28
- render(): void;
29
- getTag(): string;
30
- }
21
+ export declare let ColumnDirective: any;
31
22
  export declare const ColumnPlugin: {
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 ColumnsDirective = /** @class */ (function (_super) {
33
- __extends(ColumnsDirective, _super);
34
- function ColumnsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ColumnsDirective.prototype.render = function (createElement) {
3
+ export var ColumnsDirective = 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 ColumnsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ColumnsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ColumnsDirective.prototype.getTag = function () {
54
- return 'e-columns';
55
- };
56
- ColumnsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ColumnsDirective);
66
- return ColumnsDirective;
67
- }(vueImport));
68
- export { ColumnsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-columns';
24
+ }
25
+ }
26
+ });
69
27
  export var ColumnsPlugin = {
70
28
  name: 'e-columns',
71
29
  install: function (Vue) {
@@ -87,23 +45,16 @@ export var ColumnsPlugin = {
87
45
  * </ejs-spreadsheet>
88
46
  * ```
89
47
  */
90
- var ColumnDirective = /** @class */ (function (_super) {
91
- __extends(ColumnDirective, _super);
92
- function ColumnDirective() {
93
- return _super !== null && _super.apply(this, arguments) || this;
94
- }
95
- ColumnDirective.prototype.render = function () {
48
+ export var ColumnDirective = vueDefineComponent({
49
+ render: function () {
96
50
  return;
97
- };
98
- ColumnDirective.prototype.getTag = function () {
99
- return 'e-column';
100
- };
101
- ColumnDirective = __decorate([
102
- EJComponentDecorator({}, isExecute)
103
- ], ColumnDirective);
104
- return ColumnDirective;
105
- }(vueImport));
106
- export { ColumnDirective };
51
+ },
52
+ methods: {
53
+ getTag: function () {
54
+ return 'e-column';
55
+ }
56
+ }
57
+ });
107
58
  export var ColumnPlugin = {
108
59
  name: 'e-column',
109
60
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class ConditionalFormatsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let ConditionalFormatsDirective: any;
8
2
  export declare const ConditionalFormatsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -24,12 +18,8 @@ export declare const ConditionalFormatsPlugin: {
24
18
  * </ejs-spreadsheet>
25
19
  * ```
26
20
  */
27
- export declare class ConditionalFormatDirective extends vueImport {
28
- render(): void;
29
- getTag(): string;
30
- }
21
+ export declare let ConditionalFormatDirective: any;
31
22
  export declare const ConditionalFormatPlugin: {
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 ConditionalFormatsDirective = /** @class */ (function (_super) {
33
- __extends(ConditionalFormatsDirective, _super);
34
- function ConditionalFormatsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- ConditionalFormatsDirective.prototype.render = function (createElement) {
3
+ export var ConditionalFormatsDirective = 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 ConditionalFormatsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- ConditionalFormatsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- ConditionalFormatsDirective.prototype.getTag = function () {
54
- return 'e-conditionalformats';
55
- };
56
- ConditionalFormatsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], ConditionalFormatsDirective);
66
- return ConditionalFormatsDirective;
67
- }(vueImport));
68
- export { ConditionalFormatsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-conditionalformats';
24
+ }
25
+ }
26
+ });
69
27
  export var ConditionalFormatsPlugin = {
70
28
  name: 'e-conditionalformats',
71
29
  install: function (Vue) {
@@ -87,23 +45,16 @@ export var ConditionalFormatsPlugin = {
87
45
  * </ejs-spreadsheet>
88
46
  * ```
89
47
  */
90
- var ConditionalFormatDirective = /** @class */ (function (_super) {
91
- __extends(ConditionalFormatDirective, _super);
92
- function ConditionalFormatDirective() {
93
- return _super !== null && _super.apply(this, arguments) || this;
94
- }
95
- ConditionalFormatDirective.prototype.render = function () {
48
+ export var ConditionalFormatDirective = vueDefineComponent({
49
+ render: function () {
96
50
  return;
97
- };
98
- ConditionalFormatDirective.prototype.getTag = function () {
99
- return 'e-conditionalformat';
100
- };
101
- ConditionalFormatDirective = __decorate([
102
- EJComponentDecorator({}, isExecute)
103
- ], ConditionalFormatDirective);
104
- return ConditionalFormatDirective;
105
- }(vueImport));
106
- export { ConditionalFormatDirective };
51
+ },
52
+ methods: {
53
+ getTag: function () {
54
+ return 'e-conditionalformat';
55
+ }
56
+ }
57
+ });
107
58
  export var ConditionalFormatPlugin = {
108
59
  name: 'e-conditionalformat',
109
60
  install: function (Vue) {
@@ -1,10 +1,4 @@
1
- declare let vueImport: any;
2
- export declare class DefinedNamesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let DefinedNamesDirective: any;
8
2
  export declare const DefinedNamesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
@@ -21,12 +15,8 @@ export declare const DefinedNamesPlugin: {
21
15
  * </ejs-spreadsheet>
22
16
  * ```
23
17
  */
24
- export declare class DefinedNameDirective extends vueImport {
25
- render(): void;
26
- getTag(): string;
27
- }
18
+ export declare let DefinedNameDirective: any;
28
19
  export declare const DefinedNamePlugin: {
29
20
  name: string;
30
21
  install(Vue: any): void;
31
22
  };
32
- export {};