@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,25 +1,6 @@
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 { isUndefined } from '@syncfusion/ej2-base';
21
- import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
1
+ import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
22
2
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
3
+ import { isUndefined } from '@syncfusion/ej2-base';
23
4
  import { StockChart } from '@syncfusion/ej2-charts';
24
5
  import { StockChartTrendlinesDirective, StockChartTrendlineDirective, StockChartTrendlinesPlugin, StockChartTrendlinePlugin } from './trendlines.directive';
25
6
  import { StockChartSeriesCollectionDirective, StockChartSeriesDirective, StockChartSeriesCollectionPlugin, StockChartSeriesPlugin } from './series.directive';
@@ -30,13 +11,10 @@ import { StockChartSelectedDataIndexesDirective, StockChartSelectedDataIndexDire
30
11
  import { StockChartPeriodsDirective, StockChartPeriodDirective, StockChartPeriodsPlugin, StockChartPeriodPlugin } from './periods.directive';
31
12
  import { StockEventsDirective, StockEventDirective, StockEventsPlugin, StockEventPlugin } from './stockevents.directive';
32
13
  import { StockChartIndicatorsDirective, StockChartIndicatorDirective, StockChartIndicatorsPlugin, StockChartIndicatorPlugin } from './indicators.directive';
33
- import { Options } from 'vue-class-component';
34
14
  export var properties = ['isLazyUpdate', 'plugins', 'annotations', 'axes', 'background', 'border', 'chartArea', 'crosshair', 'dataSource', 'enableCustomRange', 'enablePeriodSelector', 'enablePersistence', 'enableRtl', 'enableSelector', 'exportType', 'height', 'indicatorType', 'indicators', 'isMultiSelect', 'isSelect', 'isTransposed', 'legendSettings', 'locale', 'margin', 'periods', 'primaryXAxis', 'primaryYAxis', 'rows', 'selectedDataIndexes', 'selectionMode', 'series', 'seriesType', 'stockEvents', 'theme', 'title', 'titleStyle', 'tooltip', 'trendlineType', 'width', 'zoomSettings', 'axisLabelRender', 'legendClick', 'legendRender', 'load', 'loaded', 'onZooming', 'pointClick', 'pointMove', 'rangeChange', 'selectorRender', 'seriesRender', 'stockChartMouseClick', 'stockChartMouseDown', 'stockChartMouseLeave', 'stockChartMouseMove', 'stockChartMouseUp', 'stockEventRender', 'tooltipRender'];
35
15
  export var modelProps = ['dataSource'];
36
16
  export var testProp = getProps({ props: properties });
37
- export var props = testProp[0];
38
- export var watch = testProp[1];
39
- export var emitProbs = Object.keys(watch);
17
+ export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
40
18
  emitProbs.push('modelchanged', 'update:modelValue');
41
19
  for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
42
20
  var props_1 = modelProps_1[_i];
@@ -48,161 +26,152 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
48
26
  * <ejs-stockchart></ejs-stockchart>
49
27
  * ```
50
28
  */
51
- var StockChartComponent = /** @class */ (function (_super) {
52
- __extends(StockChartComponent, _super);
53
- function StockChartComponent() {
54
- var _this = _super.call(this, arguments) || this;
55
- _this.propKeys = properties;
56
- _this.models = modelProps;
57
- _this.hasChildDirective = true;
58
- _this.hasInjectedModules = true;
59
- _this.tagMapper = { "e-stockchart-series-collection": { "e-stockchart-series": { "e-trendlines": "e-trendline" } }, "e-stockchart-axes": "e-stockchart-axis", "e-stockchart-rows": "e-stockchart-row", "e-stockchart-annotations": "e-stockchart-annotation", "e-stockchart-selectedDataIndexes": "e-stockchart-selectedDataIndex", "e-stockchart-periods": "e-stockchart-period", "e-stockchart-stockevents": "e-stockchart-stockevent", "e-stockchart-indicators": "e-stockchart-indicator" };
60
- _this.tagNameMapper = { "e-stockchart-series-collection": "e-series", "e-stockchart-axes": "e-axes", "e-stockchart-rows": "e-rows", "e-stockchart-annotations": "e-annotations", "e-stockchart-selectedDataIndexes": "e-selectedDataIndexes", "e-stockchart-periods": "e-periods", "e-stockchart-stockevents": "e-stockEvents", "e-stockchart-indicators": "e-indicators" };
61
- _this.isVue3 = !isExecute;
62
- _this.ej2Instances = new StockChart({});
63
- _this.ej2Instances._trigger = _this.ej2Instances.trigger;
64
- _this.ej2Instances.trigger = _this.trigger;
65
- _this.bindProperties();
66
- _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
67
- _this.ej2Instances.setProperties = _this.setProperties;
68
- _this.ej2Instances.clearTemplate = _this.clearTemplate;
69
- _this.updated = _this.updated;
70
- return _this;
71
- }
72
- StockChartComponent.prototype.clearTemplate = function (templateNames) {
73
- if (!templateNames) {
74
- templateNames = Object.keys(this.templateCollection || {});
29
+ export var StockChartComponent = vueDefineComponent({
30
+ name: 'StockChartComponent',
31
+ mixins: [ComponentBase],
32
+ props: props,
33
+ watch: watch,
34
+ emits: emitProbs,
35
+ model: { event: 'modelchanged' },
36
+ provide: function () { return { custom: this.custom }; },
37
+ data: function () {
38
+ return {
39
+ ej2Instances: new StockChart({}),
40
+ propKeys: properties,
41
+ models: modelProps,
42
+ hasChildDirective: true,
43
+ hasInjectedModules: true,
44
+ tagMapper: { "e-stockchart-series-collection": { "e-stockchart-series": { "e-trendlines": "e-trendline" } }, "e-stockchart-axes": "e-stockchart-axis", "e-stockchart-rows": "e-stockchart-row", "e-stockchart-annotations": "e-stockchart-annotation", "e-stockchart-selectedDataIndexes": "e-stockchart-selectedDataIndex", "e-stockchart-periods": "e-stockchart-period", "e-stockchart-stockevents": "e-stockchart-stockevent", "e-stockchart-indicators": "e-stockchart-indicator" },
45
+ tagNameMapper: { "e-stockchart-series-collection": "e-series", "e-stockchart-axes": "e-axes", "e-stockchart-rows": "e-rows", "e-stockchart-annotations": "e-annotations", "e-stockchart-selectedDataIndexes": "e-selectedDataIndexes", "e-stockchart-periods": "e-periods", "e-stockchart-stockevents": "e-stockEvents", "e-stockchart-indicators": "e-indicators" },
46
+ isVue3: !isExecute,
47
+ templateCollection: {},
48
+ };
49
+ },
50
+ created: function () {
51
+ this.ej2Instances._trigger = this.ej2Instances.trigger;
52
+ this.ej2Instances.trigger = this.trigger;
53
+ this.bindProperties();
54
+ this.ej2Instances._setProperties = this.ej2Instances.setProperties;
55
+ this.ej2Instances.setProperties = this.setProperties;
56
+ this.ej2Instances.clearTemplate = this.clearTemplate;
57
+ this.updated = this.updated;
58
+ },
59
+ render: function (createElement) {
60
+ var h = !isExecute ? gh : createElement;
61
+ var slots = null;
62
+ if (!isNullOrUndefined(this.$slots.default)) {
63
+ slots = !isExecute ? this.$slots.default() : this.$slots.default;
75
64
  }
76
- if (templateNames.length && this.templateCollection) {
77
- for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
78
- var tempName = templateNames_1[_i];
79
- var elementCollection = this.templateCollection[tempName];
80
- if (elementCollection && elementCollection.length) {
81
- for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
82
- var ele = elementCollection_1[_a];
83
- var destroy = getValue('__vue__.$destroy', ele);
84
- if (destroy) {
85
- ele.__vue__.$destroy();
86
- }
87
- if (ele.innerHTML) {
88
- ele.innerHTML = '';
65
+ return h('div', slots);
66
+ },
67
+ methods: {
68
+ clearTemplate: function (templateNames) {
69
+ if (!templateNames) {
70
+ templateNames = Object.keys(this.templateCollection || {});
71
+ }
72
+ if (templateNames.length && this.templateCollection) {
73
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
74
+ var tempName = templateNames_1[_i];
75
+ var elementCollection = this.templateCollection[tempName];
76
+ if (elementCollection && elementCollection.length) {
77
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
78
+ var ele = elementCollection_1[_a];
79
+ var destroy = getValue('__vue__.$destroy', ele);
80
+ if (destroy) {
81
+ ele.__vue__.$destroy();
82
+ }
83
+ if (ele.innerHTML) {
84
+ ele.innerHTML = '';
85
+ }
89
86
  }
87
+ delete this.templateCollection[tempName];
90
88
  }
91
- delete this.templateCollection[tempName];
92
89
  }
93
90
  }
94
- }
95
- };
96
- StockChartComponent.prototype.setProperties = function (prop, muteOnChange) {
97
- var _this = this;
98
- if (this.isVue3) {
99
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
100
- }
101
- if (this.ej2Instances && this.ej2Instances._setProperties) {
102
- this.ej2Instances._setProperties(prop, muteOnChange);
103
- }
104
- if (prop && this.models && this.models.length) {
105
- Object.keys(prop).map(function (key) {
106
- _this.models.map(function (model) {
107
- if ((key === model) && !(/datasource/i.test(key))) {
108
- if (_this.isVue3) {
109
- _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
91
+ },
92
+ setProperties: function (prop, muteOnChange) {
93
+ var _this = this;
94
+ if (this.isVue3) {
95
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
96
+ }
97
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
98
+ this.ej2Instances._setProperties(prop, muteOnChange);
99
+ }
100
+ if (prop && this.models && this.models.length) {
101
+ Object.keys(prop).map(function (key) {
102
+ _this.models.map(function (model) {
103
+ if ((key === model) && !(/datasource/i.test(key))) {
104
+ if (_this.isVue3) {
105
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
106
+ }
107
+ else {
108
+ _this.$emit('update:' + key, prop[key]);
109
+ _this.$emit('modelchanged', prop[key]);
110
+ }
110
111
  }
111
- else {
112
- _this.$emit('update:' + key, prop[key]);
113
- _this.$emit('modelchanged', prop[key]);
112
+ });
113
+ });
114
+ }
115
+ },
116
+ trigger: function (eventName, eventProp, successHandler) {
117
+ if (!isExecute) {
118
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
119
+ }
120
+ if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
121
+ var key = this.models.toString().match(/checked|value/) || [];
122
+ var propKey = key[0];
123
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
124
+ if (!isExecute) {
125
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
126
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
127
+ this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
128
+ }
129
+ else {
130
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
131
+ this.$emit('update:' + propKey, eventProp[propKey]);
132
+ this.$emit('modelchanged', eventProp[propKey]);
114
133
  }
115
134
  }
116
- });
117
- });
118
- }
119
- };
120
- StockChartComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
121
- if (!isExecute) {
122
- this.models = !this.models ? this.ej2Instances.referModels : this.models;
123
- }
124
- if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
125
- var key = this.models.toString().match(/checked|value/) || [];
126
- var propKey = key[0];
127
- if (eventProp && key && !isUndefined(eventProp[propKey])) {
128
- if (!isExecute) {
129
- this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
130
- this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
131
- this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
132
135
  }
133
- else {
134
- if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
136
+ }
137
+ else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
138
+ var key = this.models.toString().match(/currentView|selectedDate/) || [];
139
+ var propKey = key[0];
140
+ if (eventProp && key && !isUndefined(eventProp[propKey])) {
141
+ if (!isExecute) {
142
+ this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
143
+ this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
144
+ }
145
+ else {
135
146
  this.$emit('update:' + propKey, eventProp[propKey]);
136
147
  this.$emit('modelchanged', eventProp[propKey]);
137
148
  }
138
149
  }
139
150
  }
140
- }
141
- else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
142
- var key = this.models.toString().match(/currentView|selectedDate/) || [];
143
- var propKey = key[0];
144
- if (eventProp && key && !isUndefined(eventProp[propKey])) {
145
- if (!isExecute) {
146
- this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
147
- this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
148
- }
149
- else {
150
- this.$emit('update:' + propKey, eventProp[propKey]);
151
- this.$emit('modelchanged', eventProp[propKey]);
152
- }
151
+ if ((this.ej2Instances && this.ej2Instances._trigger)) {
152
+ this.ej2Instances._trigger(eventName, eventProp, successHandler);
153
153
  }
154
- }
155
- if ((this.ej2Instances && this.ej2Instances._trigger)) {
156
- this.ej2Instances._trigger(eventName, eventProp, successHandler);
157
- }
158
- };
159
- StockChartComponent.prototype.render = function (createElement) {
160
- var h = !isExecute ? gh : createElement;
161
- var slots = null;
162
- if (!isNullOrUndefined(this.$slots.default)) {
163
- slots = !isExecute ? this.$slots.default() : this.$slots.default;
164
- }
165
- return h('div', slots);
166
- };
167
- StockChartComponent.prototype.custom = function () {
168
- this.updated();
169
- };
170
- StockChartComponent.prototype.chartModuleInjection = function () {
171
- return this.ej2Instances.chartModuleInjection();
172
- };
173
- StockChartComponent.prototype.findCurrentData = function (totalData, xName) {
174
- return this.ej2Instances.findCurrentData(totalData, xName);
175
- };
176
- StockChartComponent.prototype.rangeChanged = function (updatedStart, updatedEnd) {
177
- return this.ej2Instances.rangeChanged(updatedStart, updatedEnd);
178
- };
179
- StockChartComponent.prototype.renderPeriodSelector = function () {
180
- return this.ej2Instances.renderPeriodSelector();
181
- };
182
- StockChartComponent.prototype.stockChartDataManagerSuccess = function () {
183
- return this.ej2Instances.stockChartDataManagerSuccess();
184
- };
185
- StockChartComponent = __decorate([
186
- EJComponentDecorator({
187
- props: properties,
188
- model: {
189
- event: 'modelchanged'
190
- }
191
- }, isExecute)
192
- ,Options({
193
- props: props,
194
- watch: watch,
195
- emits: emitProbs,
196
- provide: function provide() {
197
- return {
198
- custom: this.custom
199
- };
200
- }
201
- })
202
- ], StockChartComponent);
203
- return StockChartComponent;
204
- }(ComponentBase));
205
- export { StockChartComponent };
154
+ },
155
+ custom: function () {
156
+ this.updated();
157
+ },
158
+ chartModuleInjection: function () {
159
+ return this.ej2Instances.chartModuleInjection();
160
+ },
161
+ findCurrentData: function (totalData, xName) {
162
+ return this.ej2Instances.findCurrentData(totalData, xName);
163
+ },
164
+ rangeChanged: function (updatedStart, updatedEnd) {
165
+ return this.ej2Instances.rangeChanged(updatedStart, updatedEnd);
166
+ },
167
+ renderPeriodSelector: function () {
168
+ return this.ej2Instances.renderPeriodSelector();
169
+ },
170
+ stockChartDataManagerSuccess: function () {
171
+ return this.ej2Instances.stockChartDataManagerSuccess();
172
+ },
173
+ }
174
+ });
206
175
  export var StockChartPlugin = {
207
176
  name: 'ejs-stockchart',
208
177
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class StockEventsDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let StockEventsDirective: any;
8
2
  export declare const StockEventsPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class StockEventDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let StockEventDirective: any;
16
7
  export declare const StockEventPlugin: {
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 StockEventsDirective = /** @class */ (function (_super) {
33
- __extends(StockEventsDirective, _super);
34
- function StockEventsDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- StockEventsDirective.prototype.render = function (createElement) {
3
+ export var StockEventsDirective = 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 StockEventsDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- StockEventsDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- StockEventsDirective.prototype.getTag = function () {
54
- return 'e-stockchart-stockevents';
55
- };
56
- StockEventsDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], StockEventsDirective);
66
- return StockEventsDirective;
67
- }(vueImport));
68
- export { StockEventsDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-stockchart-stockevents';
24
+ }
25
+ }
26
+ });
69
27
  export var StockEventsPlugin = {
70
28
  name: 'e-stockchart-stockevents',
71
29
  install: function (Vue) {
72
30
  Vue.component(StockEventsPlugin.name, StockEventsDirective);
73
31
  }
74
32
  };
75
- var StockEventDirective = /** @class */ (function (_super) {
76
- __extends(StockEventDirective, _super);
77
- function StockEventDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- StockEventDirective.prototype.render = function () {
33
+ export var StockEventDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- StockEventDirective.prototype.getTag = function () {
84
- return 'e-stockchart-stockevent';
85
- };
86
- StockEventDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], StockEventDirective);
89
- return StockEventDirective;
90
- }(vueImport));
91
- export { StockEventDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-stockchart-stockevent';
40
+ }
41
+ }
42
+ });
92
43
  export var StockEventPlugin = {
93
44
  name: 'e-stockchart-stockevent',
94
45
  install: function (Vue) {
@@ -1,20 +1,10 @@
1
- declare let vueImport: any;
2
- export declare class StockChartTrendlinesDirective extends vueImport {
3
- constructor();
4
- render(createElement: any): void;
5
- updated(): void;
6
- getTag(): string;
7
- }
1
+ export declare let StockChartTrendlinesDirective: any;
8
2
  export declare const StockChartTrendlinesPlugin: {
9
3
  name: string;
10
4
  install(Vue: any): void;
11
5
  };
12
- export declare class StockChartTrendlineDirective extends vueImport {
13
- render(): void;
14
- getTag(): string;
15
- }
6
+ export declare let StockChartTrendlineDirective: any;
16
7
  export declare const StockChartTrendlinePlugin: {
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 StockChartTrendlinesDirective = /** @class */ (function (_super) {
33
- __extends(StockChartTrendlinesDirective, _super);
34
- function StockChartTrendlinesDirective() {
35
- return _super.call(this, arguments) || this;
36
- }
37
- StockChartTrendlinesDirective.prototype.render = function (createElement) {
3
+ export var StockChartTrendlinesDirective = 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 StockChartTrendlinesDirective = /** @class */ (function (_super) {
44
12
  return h('div', { class: 'e-directive' }, slots);
45
13
  }
46
14
  return;
47
- };
48
- StockChartTrendlinesDirective.prototype.updated = function () {
15
+ },
16
+ updated: function () {
49
17
  if (!isExecute && this.custom) {
50
18
  this.custom();
51
19
  }
52
- };
53
- StockChartTrendlinesDirective.prototype.getTag = function () {
54
- return 'e-trendlines';
55
- };
56
- StockChartTrendlinesDirective = __decorate([
57
- EJComponentDecorator({}, isExecute)
58
- ,Options({
59
- inject: {
60
- custom: {
61
- default: null
62
- }
63
- }
64
- })
65
- ], StockChartTrendlinesDirective);
66
- return StockChartTrendlinesDirective;
67
- }(vueImport));
68
- export { StockChartTrendlinesDirective };
20
+ },
21
+ methods: {
22
+ getTag: function () {
23
+ return 'e-trendlines';
24
+ }
25
+ }
26
+ });
69
27
  export var StockChartTrendlinesPlugin = {
70
28
  name: 'e-trendlines',
71
29
  install: function (Vue) {
72
30
  Vue.component(StockChartTrendlinesPlugin.name, StockChartTrendlinesDirective);
73
31
  }
74
32
  };
75
- var StockChartTrendlineDirective = /** @class */ (function (_super) {
76
- __extends(StockChartTrendlineDirective, _super);
77
- function StockChartTrendlineDirective() {
78
- return _super !== null && _super.apply(this, arguments) || this;
79
- }
80
- StockChartTrendlineDirective.prototype.render = function () {
33
+ export var StockChartTrendlineDirective = vueDefineComponent({
34
+ render: function () {
81
35
  return;
82
- };
83
- StockChartTrendlineDirective.prototype.getTag = function () {
84
- return 'e-trendline';
85
- };
86
- StockChartTrendlineDirective = __decorate([
87
- EJComponentDecorator({}, isExecute)
88
- ], StockChartTrendlineDirective);
89
- return StockChartTrendlineDirective;
90
- }(vueImport));
91
- export { StockChartTrendlineDirective };
36
+ },
37
+ methods: {
38
+ getTag: function () {
39
+ return 'e-trendline';
40
+ }
41
+ }
42
+ });
92
43
  export var StockChartTrendlinePlugin = {
93
44
  name: 'e-trendline',
94
45
  install: function (Vue) {