@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.
- package/CHANGELOG.md +23 -1
- package/dist/ej2-vue-charts.umd.min.js +2 -2
- package/dist/ej2-vue-charts.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-charts.es2015.js +1413 -2496
- package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-charts.es5.js +1639 -3093
- package/dist/es6/ej2-vue-charts.es5.js.map +1 -1
- package/dist/global/ej2-vue-charts.min.js +2 -2
- package/package.json +9 -9
- package/src/accumulation-chart/accumulationchart.component.d.ts +3 -29
- package/src/accumulation-chart/accumulationchart.component.js +132 -163
- package/src/accumulation-chart/annotations.directive.d.ts +2 -12
- package/src/accumulation-chart/annotations.directive.js +22 -71
- package/src/accumulation-chart/series.directive.d.ts +2 -12
- package/src/accumulation-chart/series.directive.js +22 -71
- package/src/bullet-chart/bulletchart.component.d.ts +3 -29
- package/src/bullet-chart/bulletchart.component.js +131 -162
- package/src/bullet-chart/ranges.directive.d.ts +2 -12
- package/src/bullet-chart/ranges.directive.js +22 -71
- package/src/chart/annotations.directive.d.ts +2 -12
- package/src/chart/annotations.directive.js +22 -71
- package/src/chart/axes.directive.d.ts +2 -12
- package/src/chart/axes.directive.js +22 -71
- package/src/chart/categories.directive.d.ts +2 -12
- package/src/chart/categories.directive.js +22 -71
- package/src/chart/chart.component.d.ts +3 -38
- package/src/chart/chart.component.js +158 -189
- package/src/chart/columns.directive.d.ts +2 -12
- package/src/chart/columns.directive.js +22 -71
- package/src/chart/indicators.directive.d.ts +2 -12
- package/src/chart/indicators.directive.js +22 -71
- package/src/chart/multilevellabels.directive.d.ts +2 -12
- package/src/chart/multilevellabels.directive.js +22 -71
- package/src/chart/rangecolorsettings.directive.d.ts +2 -12
- package/src/chart/rangecolorsettings.directive.js +22 -71
- package/src/chart/rows.directive.d.ts +2 -12
- package/src/chart/rows.directive.js +22 -71
- package/src/chart/segments.directive.d.ts +2 -12
- package/src/chart/segments.directive.js +22 -71
- package/src/chart/selecteddataindexes.directive.d.ts +2 -12
- package/src/chart/selecteddataindexes.directive.js +22 -71
- package/src/chart/series.directive.d.ts +2 -12
- package/src/chart/series.directive.js +22 -71
- package/src/chart/striplines.directive.d.ts +2 -12
- package/src/chart/striplines.directive.js +22 -71
- package/src/chart/trendlines.directive.d.ts +2 -12
- package/src/chart/trendlines.directive.js +22 -71
- package/src/range-navigator/rangenavigator.component.d.ts +3 -29
- package/src/range-navigator/rangenavigator.component.js +131 -162
- package/src/range-navigator/series.directive.d.ts +2 -12
- package/src/range-navigator/series.directive.js +22 -71
- package/src/smithchart/series.directive.d.ts +2 -12
- package/src/smithchart/series.directive.js +22 -71
- package/src/smithchart/smithchart.component.d.ts +3 -28
- package/src/smithchart/smithchart.component.js +101 -130
- package/src/sparkline/rangebandsettings.directive.d.ts +2 -12
- package/src/sparkline/rangebandsettings.directive.js +22 -71
- package/src/sparkline/sparkline.component.d.ts +3 -23
- package/src/sparkline/sparkline.component.js +86 -115
- package/src/stock-chart/annotations.directive.d.ts +2 -12
- package/src/stock-chart/annotations.directive.js +22 -71
- package/src/stock-chart/axes.directive.d.ts +2 -12
- package/src/stock-chart/axes.directive.js +22 -71
- package/src/stock-chart/indicators.directive.d.ts +2 -12
- package/src/stock-chart/indicators.directive.js +22 -71
- package/src/stock-chart/periods.directive.d.ts +2 -12
- package/src/stock-chart/periods.directive.js +22 -71
- package/src/stock-chart/rows.directive.d.ts +2 -12
- package/src/stock-chart/rows.directive.js +22 -71
- package/src/stock-chart/selecteddataindexes.directive.d.ts +2 -12
- package/src/stock-chart/selecteddataindexes.directive.js +22 -71
- package/src/stock-chart/series.directive.d.ts +2 -12
- package/src/stock-chart/series.directive.js +22 -71
- package/src/stock-chart/stockchart.component.d.ts +3 -30
- package/src/stock-chart/stockchart.component.js +134 -165
- package/src/stock-chart/stockevents.directive.d.ts +2 -12
- package/src/stock-chart/stockevents.directive.js +22 -71
- package/src/stock-chart/trendlines.directive.d.ts +2 -12
- package/src/stock-chart/trendlines.directive.js +22 -71
|
@@ -1,33 +1,11 @@
|
|
|
1
|
-
|
|
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 { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
21
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
3
|
import { Sparkline } from '@syncfusion/ej2-charts';
|
|
23
4
|
import { RangeBandSettingsDirective, RangeBandSettingDirective, RangeBandSettingsPlugin, RangeBandSettingPlugin } from './rangebandsettings.directive';
|
|
24
|
-
import { Options } from 'vue-class-component';
|
|
25
5
|
export var properties = ['isLazyUpdate', 'plugins', 'axisSettings', 'border', 'containerArea', 'dataLabelSettings', 'dataSource', 'enablePersistence', 'enableRtl', 'endPointColor', 'fill', 'format', 'height', 'highPointColor', 'lineWidth', 'locale', 'lowPointColor', 'markerSettings', 'negativePointColor', 'opacity', 'padding', 'palette', 'query', 'rangeBandSettings', 'rangePadding', 'startPointColor', 'theme', 'tiePointColor', 'tooltipSettings', 'type', 'useGroupingSeparator', 'valueType', 'width', 'xName', 'yName', 'axisRendering', 'dataLabelRendering', 'load', 'loaded', 'markerRendering', 'pointRegionMouseClick', 'pointRegionMouseMove', 'pointRendering', 'resize', 'seriesRendering', 'sparklineMouseClick', 'sparklineMouseMove', 'tooltipInitialize'];
|
|
26
6
|
export var modelProps = [];
|
|
27
7
|
export var testProp = getProps({ props: properties });
|
|
28
|
-
export var props = testProp[0];
|
|
29
|
-
export var watch = testProp[1];
|
|
30
|
-
export var emitProbs = Object.keys(watch);
|
|
8
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
31
9
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
32
10
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
33
11
|
var props_1 = modelProps_1[_i];
|
|
@@ -39,105 +17,98 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
39
17
|
* <ejs-sparkline></ejs-sparkline>
|
|
40
18
|
* ```
|
|
41
19
|
*/
|
|
42
|
-
var SparklineComponent =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
20
|
+
export var SparklineComponent = vueDefineComponent({
|
|
21
|
+
name: 'SparklineComponent',
|
|
22
|
+
mixins: [ComponentBase],
|
|
23
|
+
props: props,
|
|
24
|
+
watch: watch,
|
|
25
|
+
emits: emitProbs,
|
|
26
|
+
provide: function () { return { custom: this.custom }; },
|
|
27
|
+
data: function () {
|
|
28
|
+
return {
|
|
29
|
+
ej2Instances: new Sparkline({}),
|
|
30
|
+
propKeys: properties,
|
|
31
|
+
models: modelProps,
|
|
32
|
+
hasChildDirective: true,
|
|
33
|
+
hasInjectedModules: true,
|
|
34
|
+
tagMapper: { "e-rangeBandSettings": "e-rangeBandSetting" },
|
|
35
|
+
tagNameMapper: {},
|
|
36
|
+
isVue3: !isExecute,
|
|
37
|
+
templateCollection: {},
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
created: function () {
|
|
41
|
+
this.bindProperties();
|
|
42
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
43
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
44
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
45
|
+
this.updated = this.updated;
|
|
46
|
+
},
|
|
47
|
+
render: function (createElement) {
|
|
48
|
+
var h = !isExecute ? gh : createElement;
|
|
49
|
+
var slots = null;
|
|
50
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
51
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
64
52
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
53
|
+
return h('div', slots);
|
|
54
|
+
},
|
|
55
|
+
methods: {
|
|
56
|
+
clearTemplate: function (templateNames) {
|
|
57
|
+
if (!templateNames) {
|
|
58
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
59
|
+
}
|
|
60
|
+
if (templateNames.length && this.templateCollection) {
|
|
61
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
62
|
+
var tempName = templateNames_1[_i];
|
|
63
|
+
var elementCollection = this.templateCollection[tempName];
|
|
64
|
+
if (elementCollection && elementCollection.length) {
|
|
65
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
66
|
+
var ele = elementCollection_1[_a];
|
|
67
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
68
|
+
if (destroy) {
|
|
69
|
+
ele.__vue__.$destroy();
|
|
70
|
+
}
|
|
71
|
+
if (ele.innerHTML) {
|
|
72
|
+
ele.innerHTML = '';
|
|
73
|
+
}
|
|
78
74
|
}
|
|
75
|
+
delete this.templateCollection[tempName];
|
|
79
76
|
}
|
|
80
|
-
delete this.templateCollection[tempName];
|
|
81
77
|
}
|
|
82
78
|
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
79
|
+
},
|
|
80
|
+
setProperties: function (prop, muteOnChange) {
|
|
81
|
+
var _this = this;
|
|
82
|
+
if (this.isVue3) {
|
|
83
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
84
|
+
}
|
|
85
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
86
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
87
|
+
}
|
|
88
|
+
if (prop && this.models && this.models.length) {
|
|
89
|
+
Object.keys(prop).map(function (key) {
|
|
90
|
+
_this.models.map(function (model) {
|
|
91
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
92
|
+
if (_this.isVue3) {
|
|
93
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
_this.$emit('update:' + key, prop[key]);
|
|
97
|
+
_this.$emit('modelchanged', prop[key]);
|
|
98
|
+
}
|
|
103
99
|
}
|
|
104
|
-
}
|
|
100
|
+
});
|
|
105
101
|
});
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
SparklineComponent.prototype.render = function (createElement) {
|
|
110
|
-
var h = !isExecute ? gh : createElement;
|
|
111
|
-
var slots = null;
|
|
112
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
113
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
114
|
-
}
|
|
115
|
-
return h('div', slots);
|
|
116
|
-
};
|
|
117
|
-
SparklineComponent.prototype.custom = function () {
|
|
118
|
-
this.updated();
|
|
119
|
-
};
|
|
120
|
-
SparklineComponent.prototype.renderSparkline = function () {
|
|
121
|
-
return this.ej2Instances.renderSparkline();
|
|
122
|
-
};
|
|
123
|
-
SparklineComponent = __decorate([
|
|
124
|
-
EJComponentDecorator({
|
|
125
|
-
props: properties
|
|
126
|
-
}, isExecute)
|
|
127
|
-
,Options({
|
|
128
|
-
props: props,
|
|
129
|
-
watch: watch,
|
|
130
|
-
emits: emitProbs,
|
|
131
|
-
provide: function provide() {
|
|
132
|
-
return {
|
|
133
|
-
custom: this.custom
|
|
134
|
-
};
|
|
135
102
|
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
|
|
103
|
+
},
|
|
104
|
+
custom: function () {
|
|
105
|
+
this.updated();
|
|
106
|
+
},
|
|
107
|
+
renderSparkline: function () {
|
|
108
|
+
return this.ej2Instances.renderSparkline();
|
|
109
|
+
},
|
|
110
|
+
}
|
|
111
|
+
});
|
|
141
112
|
export var SparklinePlugin = {
|
|
142
113
|
name: 'ejs-sparkline',
|
|
143
114
|
install: function (Vue) {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class StockChartAnnotationsDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let StockChartAnnotationsDirective: any;
|
|
8
2
|
export declare const StockChartAnnotationsPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
@@ -21,12 +15,8 @@ export declare const StockChartAnnotationsPlugin: {
|
|
|
21
15
|
* </ejs-chart>
|
|
22
16
|
* ```
|
|
23
17
|
*/
|
|
24
|
-
export declare
|
|
25
|
-
render(): void;
|
|
26
|
-
getTag(): string;
|
|
27
|
-
}
|
|
18
|
+
export declare let StockChartAnnotationDirective: any;
|
|
28
19
|
export declare const StockChartAnnotationPlugin: {
|
|
29
20
|
name: string;
|
|
30
21
|
install(Vue: any): void;
|
|
31
22
|
};
|
|
32
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var StockChartAnnotationsDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(StockChartAnnotationsDirective, _super);
|
|
34
|
-
function StockChartAnnotationsDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
StockChartAnnotationsDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var StockChartAnnotationsDirective = 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 StockChartAnnotationsDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], StockChartAnnotationsDirective);
|
|
66
|
-
return StockChartAnnotationsDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { StockChartAnnotationsDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-stockchart-annotations';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var StockChartAnnotationsPlugin = {
|
|
70
28
|
name: 'e-stockchart-annotations',
|
|
71
29
|
install: function (Vue) {
|
|
@@ -84,23 +42,16 @@ export var StockChartAnnotationsPlugin = {
|
|
|
84
42
|
* </ejs-chart>
|
|
85
43
|
* ```
|
|
86
44
|
*/
|
|
87
|
-
var StockChartAnnotationDirective =
|
|
88
|
-
|
|
89
|
-
function StockChartAnnotationDirective() {
|
|
90
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
91
|
-
}
|
|
92
|
-
StockChartAnnotationDirective.prototype.render = function () {
|
|
45
|
+
export var StockChartAnnotationDirective = vueDefineComponent({
|
|
46
|
+
render: function () {
|
|
93
47
|
return;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return StockChartAnnotationDirective;
|
|
102
|
-
}(vueImport));
|
|
103
|
-
export { StockChartAnnotationDirective };
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
getTag: function () {
|
|
51
|
+
return 'e-stockchart-annotation';
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
104
55
|
export var StockChartAnnotationPlugin = {
|
|
105
56
|
name: 'e-stockchart-annotation',
|
|
106
57
|
install: function (Vue) {
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class StockChartAxesDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let StockChartAxesDirective: any;
|
|
8
2
|
export declare const StockChartAxesPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
11
5
|
};
|
|
12
|
-
export declare
|
|
13
|
-
render(): void;
|
|
14
|
-
getTag(): string;
|
|
15
|
-
}
|
|
6
|
+
export declare let StockChartAxisDirective: any;
|
|
16
7
|
export declare const StockChartAxisPlugin: {
|
|
17
8
|
name: string;
|
|
18
9
|
install(Vue: any): void;
|
|
19
10
|
};
|
|
20
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var StockChartAxesDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(StockChartAxesDirective, _super);
|
|
34
|
-
function StockChartAxesDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
StockChartAxesDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var StockChartAxesDirective = 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 StockChartAxesDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], StockChartAxesDirective);
|
|
66
|
-
return StockChartAxesDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { StockChartAxesDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-stockchart-axes';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var StockChartAxesPlugin = {
|
|
70
28
|
name: 'e-stockchart-axes',
|
|
71
29
|
install: function (Vue) {
|
|
72
30
|
Vue.component(StockChartAxesPlugin.name, StockChartAxesDirective);
|
|
73
31
|
}
|
|
74
32
|
};
|
|
75
|
-
var StockChartAxisDirective =
|
|
76
|
-
|
|
77
|
-
function StockChartAxisDirective() {
|
|
78
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
79
|
-
}
|
|
80
|
-
StockChartAxisDirective.prototype.render = function () {
|
|
33
|
+
export var StockChartAxisDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
81
35
|
return;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return StockChartAxisDirective;
|
|
90
|
-
}(vueImport));
|
|
91
|
-
export { StockChartAxisDirective };
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-stockchart-axis';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
92
43
|
export var StockChartAxisPlugin = {
|
|
93
44
|
name: 'e-stockchart-axis',
|
|
94
45
|
install: function (Vue) {
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class StockChartIndicatorsDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let StockChartIndicatorsDirective: any;
|
|
8
2
|
export declare const StockChartIndicatorsPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
11
5
|
};
|
|
12
|
-
export declare
|
|
13
|
-
render(): void;
|
|
14
|
-
getTag(): string;
|
|
15
|
-
}
|
|
6
|
+
export declare let StockChartIndicatorDirective: any;
|
|
16
7
|
export declare const StockChartIndicatorPlugin: {
|
|
17
8
|
name: string;
|
|
18
9
|
install(Vue: any): void;
|
|
19
10
|
};
|
|
20
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var StockChartIndicatorsDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(StockChartIndicatorsDirective, _super);
|
|
34
|
-
function StockChartIndicatorsDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
StockChartIndicatorsDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var StockChartIndicatorsDirective = 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 StockChartIndicatorsDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], StockChartIndicatorsDirective);
|
|
66
|
-
return StockChartIndicatorsDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { StockChartIndicatorsDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-stockchart-indicators';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var StockChartIndicatorsPlugin = {
|
|
70
28
|
name: 'e-stockchart-indicators',
|
|
71
29
|
install: function (Vue) {
|
|
72
30
|
Vue.component(StockChartIndicatorsPlugin.name, StockChartIndicatorsDirective);
|
|
73
31
|
}
|
|
74
32
|
};
|
|
75
|
-
var StockChartIndicatorDirective =
|
|
76
|
-
|
|
77
|
-
function StockChartIndicatorDirective() {
|
|
78
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
79
|
-
}
|
|
80
|
-
StockChartIndicatorDirective.prototype.render = function () {
|
|
33
|
+
export var StockChartIndicatorDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
81
35
|
return;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return StockChartIndicatorDirective;
|
|
90
|
-
}(vueImport));
|
|
91
|
-
export { StockChartIndicatorDirective };
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-stockchart-indicator';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
92
43
|
export var StockChartIndicatorPlugin = {
|
|
93
44
|
name: 'e-stockchart-indicator',
|
|
94
45
|
install: function (Vue) {
|