@syncfusion/ej2-vue-charts 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 (79) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/dist/ej2-vue-charts.umd.min.js +2 -2
  3. package/dist/ej2-vue-charts.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-charts.es2015.js +1413 -2496
  5. package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-charts.es5.js +1639 -3093
  7. package/dist/es6/ej2-vue-charts.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-charts.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/accumulation-chart/accumulationchart.component.d.ts +3 -29
  11. package/src/accumulation-chart/accumulationchart.component.js +132 -163
  12. package/src/accumulation-chart/annotations.directive.d.ts +2 -12
  13. package/src/accumulation-chart/annotations.directive.js +22 -71
  14. package/src/accumulation-chart/series.directive.d.ts +2 -12
  15. package/src/accumulation-chart/series.directive.js +22 -71
  16. package/src/bullet-chart/bulletchart.component.d.ts +3 -29
  17. package/src/bullet-chart/bulletchart.component.js +131 -162
  18. package/src/bullet-chart/ranges.directive.d.ts +2 -12
  19. package/src/bullet-chart/ranges.directive.js +22 -71
  20. package/src/chart/annotations.directive.d.ts +2 -12
  21. package/src/chart/annotations.directive.js +22 -71
  22. package/src/chart/axes.directive.d.ts +2 -12
  23. package/src/chart/axes.directive.js +22 -71
  24. package/src/chart/categories.directive.d.ts +2 -12
  25. package/src/chart/categories.directive.js +22 -71
  26. package/src/chart/chart.component.d.ts +3 -38
  27. package/src/chart/chart.component.js +158 -189
  28. package/src/chart/columns.directive.d.ts +2 -12
  29. package/src/chart/columns.directive.js +22 -71
  30. package/src/chart/indicators.directive.d.ts +2 -12
  31. package/src/chart/indicators.directive.js +22 -71
  32. package/src/chart/multilevellabels.directive.d.ts +2 -12
  33. package/src/chart/multilevellabels.directive.js +22 -71
  34. package/src/chart/rangecolorsettings.directive.d.ts +2 -12
  35. package/src/chart/rangecolorsettings.directive.js +22 -71
  36. package/src/chart/rows.directive.d.ts +2 -12
  37. package/src/chart/rows.directive.js +22 -71
  38. package/src/chart/segments.directive.d.ts +2 -12
  39. package/src/chart/segments.directive.js +22 -71
  40. package/src/chart/selecteddataindexes.directive.d.ts +2 -12
  41. package/src/chart/selecteddataindexes.directive.js +22 -71
  42. package/src/chart/series.directive.d.ts +2 -12
  43. package/src/chart/series.directive.js +22 -71
  44. package/src/chart/striplines.directive.d.ts +2 -12
  45. package/src/chart/striplines.directive.js +22 -71
  46. package/src/chart/trendlines.directive.d.ts +2 -12
  47. package/src/chart/trendlines.directive.js +22 -71
  48. package/src/range-navigator/rangenavigator.component.d.ts +3 -29
  49. package/src/range-navigator/rangenavigator.component.js +131 -162
  50. package/src/range-navigator/series.directive.d.ts +2 -12
  51. package/src/range-navigator/series.directive.js +22 -71
  52. package/src/smithchart/series.directive.d.ts +2 -12
  53. package/src/smithchart/series.directive.js +22 -71
  54. package/src/smithchart/smithchart.component.d.ts +3 -28
  55. package/src/smithchart/smithchart.component.js +101 -130
  56. package/src/sparkline/rangebandsettings.directive.d.ts +2 -12
  57. package/src/sparkline/rangebandsettings.directive.js +22 -71
  58. package/src/sparkline/sparkline.component.d.ts +3 -23
  59. package/src/sparkline/sparkline.component.js +86 -115
  60. package/src/stock-chart/annotations.directive.d.ts +2 -12
  61. package/src/stock-chart/annotations.directive.js +22 -71
  62. package/src/stock-chart/axes.directive.d.ts +2 -12
  63. package/src/stock-chart/axes.directive.js +22 -71
  64. package/src/stock-chart/indicators.directive.d.ts +2 -12
  65. package/src/stock-chart/indicators.directive.js +22 -71
  66. package/src/stock-chart/periods.directive.d.ts +2 -12
  67. package/src/stock-chart/periods.directive.js +22 -71
  68. package/src/stock-chart/rows.directive.d.ts +2 -12
  69. package/src/stock-chart/rows.directive.js +22 -71
  70. package/src/stock-chart/selecteddataindexes.directive.d.ts +2 -12
  71. package/src/stock-chart/selecteddataindexes.directive.js +22 -71
  72. package/src/stock-chart/series.directive.d.ts +2 -12
  73. package/src/stock-chart/series.directive.js +22 -71
  74. package/src/stock-chart/stockchart.component.d.ts +3 -30
  75. package/src/stock-chart/stockchart.component.js +134 -165
  76. package/src/stock-chart/stockevents.directive.d.ts +2 -12
  77. package/src/stock-chart/stockevents.directive.js +22 -71
  78. package/src/stock-chart/trendlines.directive.d.ts +2 -12
  79. package/src/stock-chart/trendlines.directive.js +22 -71
@@ -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 IndicatorsDirective = /** @class */ (function (_super) {
33
- __extends(IndicatorsDirective, _super);
34
- function IndicatorsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- IndicatorsDirective.prototype.render = function (createElement) {
3
+ export var IndicatorsDirective = 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 IndicatorsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- IndicatorsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- IndicatorsDirective.prototype.getTag = function () {
54
- return 'e-indicators';
55
- };
56
- IndicatorsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], IndicatorsDirective);
66
- return IndicatorsDirective;
67
- }(vueImport));
68
- export { IndicatorsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-indicators';
24
+ }
25
+ }
26
+ });
69
27
  export var IndicatorsPlugin = {
70
28
  name: 'e-indicators',
71
29
  install: function (Vue) {
72
30
  Vue.component(IndicatorsPlugin.name, IndicatorsDirective);
73
31
  }
74
32
  };
75
- var IndicatorDirective = /** @class */ (function (_super) {
76
- __extends(IndicatorDirective, _super);
77
- function IndicatorDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- IndicatorDirective.prototype.render = function () {
33
+ export var IndicatorDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- IndicatorDirective.prototype.getTag = function () {
84
- return 'e-indicator';
85
- };
86
- IndicatorDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], IndicatorDirective);
89
- return IndicatorDirective;
90
- }(vueImport));
91
- export { IndicatorDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-indicator';
40
+ }
41
+ }
42
+ });
92
43
  export var IndicatorPlugin = {
93
44
  name: 'e-indicator',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class MultiLevelLabelsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let MultiLevelLabelsDirective: any;
8
2
  export declare const MultiLevelLabelsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class MultiLevelLabelDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let MultiLevelLabelDirective: any;
16
7
  export declare const MultiLevelLabelPlugin: {
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 MultiLevelLabelsDirective = /** @class */ (function (_super) {
33
- __extends(MultiLevelLabelsDirective, _super);
34
- function MultiLevelLabelsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- MultiLevelLabelsDirective.prototype.render = function (createElement) {
3
+ export var MultiLevelLabelsDirective = 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 MultiLevelLabelsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- MultiLevelLabelsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- MultiLevelLabelsDirective.prototype.getTag = function () {
54
- return 'e-multilevellabels';
55
- };
56
- MultiLevelLabelsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], MultiLevelLabelsDirective);
66
- return MultiLevelLabelsDirective;
67
- }(vueImport));
68
- export { MultiLevelLabelsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-multilevellabels';
24
+ }
25
+ }
26
+ });
69
27
  export var MultiLevelLabelsPlugin = {
70
28
  name: 'e-multilevellabels',
71
29
  install: function (Vue) {
72
30
  Vue.component(MultiLevelLabelsPlugin.name, MultiLevelLabelsDirective);
73
31
  }
74
32
  };
75
- var MultiLevelLabelDirective = /** @class */ (function (_super) {
76
- __extends(MultiLevelLabelDirective, _super);
77
- function MultiLevelLabelDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- MultiLevelLabelDirective.prototype.render = function () {
33
+ export var MultiLevelLabelDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- MultiLevelLabelDirective.prototype.getTag = function () {
84
- return 'e-multilevellabel';
85
- };
86
- MultiLevelLabelDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], MultiLevelLabelDirective);
89
- return MultiLevelLabelDirective;
90
- }(vueImport));
91
- export { MultiLevelLabelDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-multilevellabel';
40
+ }
41
+ }
42
+ });
92
43
  export var MultiLevelLabelPlugin = {
93
44
  name: 'e-multilevellabel',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class RangeColorSettingsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let RangeColorSettingsDirective: any;
8
2
  export declare const RangeColorSettingsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class RangeColorSettingDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let RangeColorSettingDirective: any;
16
7
  export declare const RangeColorSettingPlugin: {
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 RangeColorSettingsDirective = /** @class */ (function (_super) {
33
- __extends(RangeColorSettingsDirective, _super);
34
- function RangeColorSettingsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- RangeColorSettingsDirective.prototype.render = function (createElement) {
3
+ export var RangeColorSettingsDirective = 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 RangeColorSettingsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- RangeColorSettingsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- RangeColorSettingsDirective.prototype.getTag = function () {
54
- return 'e-rangecolorsettings';
55
- };
56
- RangeColorSettingsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], RangeColorSettingsDirective);
66
- return RangeColorSettingsDirective;
67
- }(vueImport));
68
- export { RangeColorSettingsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-rangecolorsettings';
24
+ }
25
+ }
26
+ });
69
27
  export var RangeColorSettingsPlugin = {
70
28
  name: 'e-rangecolorsettings',
71
29
  install: function (Vue) {
72
30
  Vue.component(RangeColorSettingsPlugin.name, RangeColorSettingsDirective);
73
31
  }
74
32
  };
75
- var RangeColorSettingDirective = /** @class */ (function (_super) {
76
- __extends(RangeColorSettingDirective, _super);
77
- function RangeColorSettingDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- RangeColorSettingDirective.prototype.render = function () {
33
+ export var RangeColorSettingDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- RangeColorSettingDirective.prototype.getTag = function () {
84
- return 'e-rangecolorsetting';
85
- };
86
- RangeColorSettingDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], RangeColorSettingDirective);
89
- return RangeColorSettingDirective;
90
- }(vueImport));
91
- export { RangeColorSettingDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-rangecolorsetting';
40
+ }
41
+ }
42
+ });
92
43
  export var RangeColorSettingPlugin = {
93
44
  name: 'e-rangecolorsetting',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
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;
11
5
  };
12
- export declare class RowDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let RowDirective: any;
16
7
  export declare const RowPlugin: {
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 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,51 +12,34 @@ 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) {
72
30
  Vue.component(RowsPlugin.name, RowsDirective);
73
31
  }
74
32
  };
75
- var RowDirective = /** @class */ (function (_super) {
76
- __extends(RowDirective, _super);
77
- function RowDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- RowDirective.prototype.render = function () {
33
+ export var RowDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- RowDirective.prototype.getTag = function () {
84
- return 'e-row';
85
- };
86
- RowDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], RowDirective);
89
- return RowDirective;
90
- }(vueImport));
91
- export { RowDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-row';
40
+ }
41
+ }
42
+ });
92
43
  export var RowPlugin = {
93
44
  name: 'e-row',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class SegmentsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let SegmentsDirective: any;
8
2
  export declare const SegmentsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class SegmentDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let SegmentDirective: any;
16
7
  export declare const SegmentPlugin: {
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 SegmentsDirective = /** @class */ (function (_super) {
33
- __extends(SegmentsDirective, _super);
34
- function SegmentsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- SegmentsDirective.prototype.render = function (createElement) {
3
+ export var SegmentsDirective = 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 SegmentsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- SegmentsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- SegmentsDirective.prototype.getTag = function () {
54
- return 'e-segments';
55
- };
56
- SegmentsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], SegmentsDirective);
66
- return SegmentsDirective;
67
- }(vueImport));
68
- export { SegmentsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-segments';
24
+ }
25
+ }
26
+ });
69
27
  export var SegmentsPlugin = {
70
28
  name: 'e-segments',
71
29
  install: function (Vue) {
72
30
  Vue.component(SegmentsPlugin.name, SegmentsDirective);
73
31
  }
74
32
  };
75
- var SegmentDirective = /** @class */ (function (_super) {
76
- __extends(SegmentDirective, _super);
77
- function SegmentDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- SegmentDirective.prototype.render = function () {
33
+ export var SegmentDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- SegmentDirective.prototype.getTag = function () {
84
- return 'e-segment';
85
- };
86
- SegmentDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], SegmentDirective);
89
- return SegmentDirective;
90
- }(vueImport));
91
- export { SegmentDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-segment';
40
+ }
41
+ }
42
+ });
92
43
  export var SegmentPlugin = {
93
44
  name: 'e-segment',
94
45
  install: function (Vue) {