@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,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class StockChartPeriodsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let StockChartPeriodsDirective: any;
8
2
  export declare const StockChartPeriodsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class StockChartPeriodDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let StockChartPeriodDirective: any;
16
7
  export declare const StockChartPeriodPlugin: {
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 StockChartPeriodsDirective = /** @class */ (function (_super) {
33
- __extends(StockChartPeriodsDirective, _super);
34
- function StockChartPeriodsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- StockChartPeriodsDirective.prototype.render = function (createElement) {
3
+ export var StockChartPeriodsDirective = 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 StockChartPeriodsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- StockChartPeriodsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- StockChartPeriodsDirective.prototype.getTag = function () {
54
- return 'e-stockchart-periods';
55
- };
56
- StockChartPeriodsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], StockChartPeriodsDirective);
66
- return StockChartPeriodsDirective;
67
- }(vueImport));
68
- export { StockChartPeriodsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-stockchart-periods';
24
+ }
25
+ }
26
+ });
69
27
  export var StockChartPeriodsPlugin = {
70
28
  name: 'e-stockchart-periods',
71
29
  install: function (Vue) {
72
30
  Vue.component(StockChartPeriodsPlugin.name, StockChartPeriodsDirective);
73
31
  }
74
32
  };
75
- var StockChartPeriodDirective = /** @class */ (function (_super) {
76
- __extends(StockChartPeriodDirective, _super);
77
- function StockChartPeriodDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- StockChartPeriodDirective.prototype.render = function () {
33
+ export var StockChartPeriodDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- StockChartPeriodDirective.prototype.getTag = function () {
84
- return 'e-stockchart-period';
85
- };
86
- StockChartPeriodDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], StockChartPeriodDirective);
89
- return StockChartPeriodDirective;
90
- }(vueImport));
91
- export { StockChartPeriodDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-stockchart-period';
40
+ }
41
+ }
42
+ });
92
43
  export var StockChartPeriodPlugin = {
93
44
  name: 'e-stockchart-period',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class StockChartRowsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let StockChartRowsDirective: any;
8
2
  export declare const StockChartRowsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class StockChartRowDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let StockChartRowDirective: any;
16
7
  export declare const StockChartRowPlugin: {
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 StockChartRowsDirective = /** @class */ (function (_super) {
33
- __extends(StockChartRowsDirective, _super);
34
- function StockChartRowsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- StockChartRowsDirective.prototype.render = function (createElement) {
3
+ export var StockChartRowsDirective = 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 StockChartRowsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- StockChartRowsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- StockChartRowsDirective.prototype.getTag = function () {
54
- return 'e-stockchart-rows';
55
- };
56
- StockChartRowsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], StockChartRowsDirective);
66
- return StockChartRowsDirective;
67
- }(vueImport));
68
- export { StockChartRowsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-stockchart-rows';
24
+ }
25
+ }
26
+ });
69
27
  export var StockChartRowsPlugin = {
70
28
  name: 'e-stockchart-rows',
71
29
  install: function (Vue) {
72
30
  Vue.component(StockChartRowsPlugin.name, StockChartRowsDirective);
73
31
  }
74
32
  };
75
- var StockChartRowDirective = /** @class */ (function (_super) {
76
- __extends(StockChartRowDirective, _super);
77
- function StockChartRowDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- StockChartRowDirective.prototype.render = function () {
33
+ export var StockChartRowDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- StockChartRowDirective.prototype.getTag = function () {
84
- return 'e-stockchart-row';
85
- };
86
- StockChartRowDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], StockChartRowDirective);
89
- return StockChartRowDirective;
90
- }(vueImport));
91
- export { StockChartRowDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-stockchart-row';
40
+ }
41
+ }
42
+ });
92
43
  export var StockChartRowPlugin = {
93
44
  name: 'e-stockchart-row',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class StockChartSelectedDataIndexesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let StockChartSelectedDataIndexesDirective: any;
8
2
  export declare const StockChartSelectedDataIndexesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class StockChartSelectedDataIndexDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let StockChartSelectedDataIndexDirective: any;
16
7
  export declare const StockChartSelectedDataIndexPlugin: {
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 StockChartSelectedDataIndexesDirective = /** @class */ (function (_super) {
33
- __extends(StockChartSelectedDataIndexesDirective, _super);
34
- function StockChartSelectedDataIndexesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- StockChartSelectedDataIndexesDirective.prototype.render = function (createElement) {
3
+ export var StockChartSelectedDataIndexesDirective = 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 StockChartSelectedDataIndexesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- StockChartSelectedDataIndexesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- StockChartSelectedDataIndexesDirective.prototype.getTag = function () {
54
- return 'e-stockchart-selectedDataIndexes';
55
- };
56
- StockChartSelectedDataIndexesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], StockChartSelectedDataIndexesDirective);
66
- return StockChartSelectedDataIndexesDirective;
67
- }(vueImport));
68
- export { StockChartSelectedDataIndexesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-stockchart-selectedDataIndexes';
24
+ }
25
+ }
26
+ });
69
27
  export var StockChartSelectedDataIndexesPlugin = {
70
28
  name: 'e-stockchart-selectedDataIndexes',
71
29
  install: function (Vue) {
72
30
  Vue.component(StockChartSelectedDataIndexesPlugin.name, StockChartSelectedDataIndexesDirective);
73
31
  }
74
32
  };
75
- var StockChartSelectedDataIndexDirective = /** @class */ (function (_super) {
76
- __extends(StockChartSelectedDataIndexDirective, _super);
77
- function StockChartSelectedDataIndexDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- StockChartSelectedDataIndexDirective.prototype.render = function () {
33
+ export var StockChartSelectedDataIndexDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- StockChartSelectedDataIndexDirective.prototype.getTag = function () {
84
- return 'e-stockchart-selectedDataIndex';
85
- };
86
- StockChartSelectedDataIndexDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], StockChartSelectedDataIndexDirective);
89
- return StockChartSelectedDataIndexDirective;
90
- }(vueImport));
91
- export { StockChartSelectedDataIndexDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-stockchart-selectedDataIndex';
40
+ }
41
+ }
42
+ });
92
43
  export var StockChartSelectedDataIndexPlugin = {
93
44
  name: 'e-stockchart-selectedDataIndex',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class StockChartSeriesCollectionDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let StockChartSeriesCollectionDirective: any;
8
2
  export declare const StockChartSeriesCollectionPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class StockChartSeriesDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let StockChartSeriesDirective: any;
16
7
  export declare const StockChartSeriesPlugin: {
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 StockChartSeriesCollectionDirective = /** @class */ (function (_super) {
33
- __extends(StockChartSeriesCollectionDirective, _super);
34
- function StockChartSeriesCollectionDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- StockChartSeriesCollectionDirective.prototype.render = function (createElement) {
3
+ export var StockChartSeriesCollectionDirective = 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 StockChartSeriesCollectionDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- StockChartSeriesCollectionDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- StockChartSeriesCollectionDirective.prototype.getTag = function () {
54
- return 'e-stockchart-series-collection';
55
- };
56
- StockChartSeriesCollectionDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], StockChartSeriesCollectionDirective);
66
- return StockChartSeriesCollectionDirective;
67
- }(vueImport));
68
- export { StockChartSeriesCollectionDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-stockchart-series-collection';
24
+ }
25
+ }
26
+ });
69
27
  export var StockChartSeriesCollectionPlugin = {
70
28
  name: 'e-stockchart-series-collection',
71
29
  install: function (Vue) {
72
30
  Vue.component(StockChartSeriesCollectionPlugin.name, StockChartSeriesCollectionDirective);
73
31
  }
74
32
  };
75
- var StockChartSeriesDirective = /** @class */ (function (_super) {
76
- __extends(StockChartSeriesDirective, _super);
77
- function StockChartSeriesDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- StockChartSeriesDirective.prototype.render = function () {
33
+ export var StockChartSeriesDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- StockChartSeriesDirective.prototype.getTag = function () {
84
- return 'e-stockchart-series';
85
- };
86
- StockChartSeriesDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], StockChartSeriesDirective);
89
- return StockChartSeriesDirective;
90
- }(vueImport));
91
- export { StockChartSeriesDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-stockchart-series';
40
+ }
41
+ }
42
+ });
92
43
  export var StockChartSeriesPlugin = {
93
44
  name: 'e-stockchart-series',
94
45
  install: function (Vue) {
@@ -1,42 +1,15 @@
1
- import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
1
  export declare const properties: string[];
3
2
  export declare const modelProps: string[];
4
3
  export declare const testProp: any;
5
- export declare const props: any;
6
- export declare const watch: any;
7
- export declare const emitProbs: any;
4
+ export declare const props: any, watch: any, emitProbs: any;
8
5
  /**
9
6
  * Represents Vuejs chart Component
10
7
  * ```vue
11
8
  * <ejs-stockchart></ejs-stockchart>
12
9
  * ```
13
10
  */
14
- export declare class StockChartComponent extends ComponentBase {
15
- ej2Instances: any;
16
- propKeys: string[];
17
- models: string[];
18
- hasChildDirective: boolean;
19
- protected hasInjectedModules: boolean;
20
- tagMapper: {
21
- [key: string]: Object;
22
- };
23
- tagNameMapper: Object;
24
- isVue3: boolean;
25
- templateCollection: any;
26
- constructor();
27
- clearTemplate(templateNames?: string[]): any;
28
- setProperties(prop: any, muteOnChange: boolean): void;
29
- trigger(eventName: string, eventProp: {
30
- [key: string]: Object;
31
- }, successHandler?: Function): void;
32
- render(createElement: any): any;
33
- custom(): void;
34
- chartModuleInjection(): void;
35
- findCurrentData(totalData: Object, xName: string): Object;
36
- rangeChanged(updatedStart: number, updatedEnd: number): void;
37
- renderPeriodSelector(): void;
38
- stockChartDataManagerSuccess(): void;
39
- }
11
+ export declare let StockChartComponent: any;
12
+ export declare type StockChartComponent = InstanceType<typeof StockChartComponent>;
40
13
  export declare const StockChartPlugin: {
41
14
  name: string;
42
15
  install(Vue: any): void;