@syncfusion/ej2-vue-charts 20.4.54 → 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 +15 -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,35 +1,9 @@
|
|
|
1
1
|
import { AccumulationChart, BulletChart, Chart, RangeNavigator, Smithchart, Sparkline, StockChart } from '@syncfusion/ej2-charts';
|
|
2
|
-
import { ComponentBase,
|
|
3
|
-
import { Vue } from 'vue-class-component';
|
|
2
|
+
import { ComponentBase, getProps, gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
4
3
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
5
|
-
import Vue$1 from 'vue';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10
|
-
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;
|
|
11
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
|
-
};
|
|
13
|
-
// {{VueImport}}
|
|
14
|
-
let vueImport;
|
|
15
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
16
|
-
vueImport = Vue;
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
vueImport = Vue$1;
|
|
20
|
-
}
|
|
21
|
-
let TrendlinesDirective =
|
|
22
|
-
/* Start Options({
|
|
23
|
-
inject: {
|
|
24
|
-
custom: {
|
|
25
|
-
default: null
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}) End */
|
|
29
|
-
class TrendlinesDirective extends vueImport {
|
|
30
|
-
constructor() {
|
|
31
|
-
super(arguments);
|
|
32
|
-
}
|
|
5
|
+
let TrendlinesDirective = vueDefineComponent({
|
|
6
|
+
inject: { custom: { default: null } },
|
|
33
7
|
render(createElement) {
|
|
34
8
|
if (!isExecute) {
|
|
35
9
|
let h = !isExecute ? gh : createElement;
|
|
@@ -40,76 +14,43 @@ class TrendlinesDirective extends vueImport {
|
|
|
40
14
|
return h('div', { class: 'e-directive' }, slots);
|
|
41
15
|
}
|
|
42
16
|
return;
|
|
43
|
-
}
|
|
17
|
+
},
|
|
44
18
|
updated() {
|
|
45
19
|
if (!isExecute && this.custom) {
|
|
46
20
|
this.custom();
|
|
47
21
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
TrendlinesDirective = __decorate([
|
|
54
|
-
EJComponentDecorator({}, isExecute)
|
|
55
|
-
/* Start Options({
|
|
56
|
-
inject: {
|
|
57
|
-
custom: {
|
|
58
|
-
default: null
|
|
59
|
-
}
|
|
22
|
+
},
|
|
23
|
+
methods: {
|
|
24
|
+
getTag() {
|
|
25
|
+
return 'e-trendlines';
|
|
60
26
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
27
|
+
}
|
|
28
|
+
});
|
|
63
29
|
const TrendlinesPlugin = {
|
|
64
30
|
name: 'e-trendlines',
|
|
65
|
-
install(Vue
|
|
66
|
-
Vue
|
|
31
|
+
install(Vue) {
|
|
32
|
+
Vue.component(TrendlinesPlugin.name, TrendlinesDirective);
|
|
67
33
|
}
|
|
68
34
|
};
|
|
69
|
-
let TrendlineDirective =
|
|
35
|
+
let TrendlineDirective = vueDefineComponent({
|
|
70
36
|
render() {
|
|
71
37
|
return;
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
getTag() {
|
|
41
|
+
return 'e-trendline';
|
|
42
|
+
}
|
|
72
43
|
}
|
|
73
|
-
|
|
74
|
-
return 'e-trendline';
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
TrendlineDirective = __decorate([
|
|
78
|
-
EJComponentDecorator({}, isExecute)
|
|
79
|
-
], TrendlineDirective);
|
|
44
|
+
});
|
|
80
45
|
const TrendlinePlugin = {
|
|
81
46
|
name: 'e-trendline',
|
|
82
|
-
install(Vue
|
|
83
|
-
Vue
|
|
47
|
+
install(Vue) {
|
|
48
|
+
Vue.component(TrendlinePlugin.name, TrendlineDirective);
|
|
84
49
|
}
|
|
85
50
|
};
|
|
86
51
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
90
|
-
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;
|
|
91
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
92
|
-
};
|
|
93
|
-
// {{VueImport}}
|
|
94
|
-
let vueImport$1;
|
|
95
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
96
|
-
vueImport$1 = Vue;
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
vueImport$1 = Vue$1;
|
|
100
|
-
}
|
|
101
|
-
let SegmentsDirective =
|
|
102
|
-
/* Start Options({
|
|
103
|
-
inject: {
|
|
104
|
-
custom: {
|
|
105
|
-
default: null
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}) End */
|
|
109
|
-
class SegmentsDirective extends vueImport$1 {
|
|
110
|
-
constructor() {
|
|
111
|
-
super(arguments);
|
|
112
|
-
}
|
|
52
|
+
let SegmentsDirective = vueDefineComponent({
|
|
53
|
+
inject: { custom: { default: null } },
|
|
113
54
|
render(createElement) {
|
|
114
55
|
if (!isExecute) {
|
|
115
56
|
let h = !isExecute ? gh : createElement;
|
|
@@ -120,76 +61,43 @@ class SegmentsDirective extends vueImport$1 {
|
|
|
120
61
|
return h('div', { class: 'e-directive' }, slots);
|
|
121
62
|
}
|
|
122
63
|
return;
|
|
123
|
-
}
|
|
64
|
+
},
|
|
124
65
|
updated() {
|
|
125
66
|
if (!isExecute && this.custom) {
|
|
126
67
|
this.custom();
|
|
127
68
|
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
};
|
|
133
|
-
SegmentsDirective = __decorate$1([
|
|
134
|
-
EJComponentDecorator({}, isExecute)
|
|
135
|
-
/* Start Options({
|
|
136
|
-
inject: {
|
|
137
|
-
custom: {
|
|
138
|
-
default: null
|
|
139
|
-
}
|
|
69
|
+
},
|
|
70
|
+
methods: {
|
|
71
|
+
getTag() {
|
|
72
|
+
return 'e-segments';
|
|
140
73
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
74
|
+
}
|
|
75
|
+
});
|
|
143
76
|
const SegmentsPlugin = {
|
|
144
77
|
name: 'e-segments',
|
|
145
|
-
install(Vue
|
|
146
|
-
Vue
|
|
78
|
+
install(Vue) {
|
|
79
|
+
Vue.component(SegmentsPlugin.name, SegmentsDirective);
|
|
147
80
|
}
|
|
148
81
|
};
|
|
149
|
-
let SegmentDirective =
|
|
82
|
+
let SegmentDirective = vueDefineComponent({
|
|
150
83
|
render() {
|
|
151
84
|
return;
|
|
85
|
+
},
|
|
86
|
+
methods: {
|
|
87
|
+
getTag() {
|
|
88
|
+
return 'e-segment';
|
|
89
|
+
}
|
|
152
90
|
}
|
|
153
|
-
|
|
154
|
-
return 'e-segment';
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
SegmentDirective = __decorate$1([
|
|
158
|
-
EJComponentDecorator({}, isExecute)
|
|
159
|
-
], SegmentDirective);
|
|
91
|
+
});
|
|
160
92
|
const SegmentPlugin = {
|
|
161
93
|
name: 'e-segment',
|
|
162
|
-
install(Vue
|
|
163
|
-
Vue
|
|
94
|
+
install(Vue) {
|
|
95
|
+
Vue.component(SegmentPlugin.name, SegmentDirective);
|
|
164
96
|
}
|
|
165
97
|
};
|
|
166
98
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
170
|
-
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;
|
|
171
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
172
|
-
};
|
|
173
|
-
// {{VueImport}}
|
|
174
|
-
let vueImport$2;
|
|
175
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
176
|
-
vueImport$2 = Vue;
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
vueImport$2 = Vue$1;
|
|
180
|
-
}
|
|
181
|
-
let SeriesCollectionDirective =
|
|
182
|
-
/* Start Options({
|
|
183
|
-
inject: {
|
|
184
|
-
custom: {
|
|
185
|
-
default: null
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}) End */
|
|
189
|
-
class SeriesCollectionDirective extends vueImport$2 {
|
|
190
|
-
constructor() {
|
|
191
|
-
super(arguments);
|
|
192
|
-
}
|
|
99
|
+
let SeriesCollectionDirective = vueDefineComponent({
|
|
100
|
+
inject: { custom: { default: null } },
|
|
193
101
|
render(createElement) {
|
|
194
102
|
if (!isExecute) {
|
|
195
103
|
let h = !isExecute ? gh : createElement;
|
|
@@ -200,76 +108,43 @@ class SeriesCollectionDirective extends vueImport$2 {
|
|
|
200
108
|
return h('div', { class: 'e-directive' }, slots);
|
|
201
109
|
}
|
|
202
110
|
return;
|
|
203
|
-
}
|
|
111
|
+
},
|
|
204
112
|
updated() {
|
|
205
113
|
if (!isExecute && this.custom) {
|
|
206
114
|
this.custom();
|
|
207
115
|
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
};
|
|
213
|
-
SeriesCollectionDirective = __decorate$2([
|
|
214
|
-
EJComponentDecorator({}, isExecute)
|
|
215
|
-
/* Start Options({
|
|
216
|
-
inject: {
|
|
217
|
-
custom: {
|
|
218
|
-
default: null
|
|
219
|
-
}
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
getTag() {
|
|
119
|
+
return 'e-series-collection';
|
|
220
120
|
}
|
|
221
|
-
}
|
|
222
|
-
|
|
121
|
+
}
|
|
122
|
+
});
|
|
223
123
|
const SeriesCollectionPlugin = {
|
|
224
124
|
name: 'e-series-collection',
|
|
225
|
-
install(Vue
|
|
226
|
-
Vue
|
|
125
|
+
install(Vue) {
|
|
126
|
+
Vue.component(SeriesCollectionPlugin.name, SeriesCollectionDirective);
|
|
227
127
|
}
|
|
228
128
|
};
|
|
229
|
-
let SeriesDirective =
|
|
129
|
+
let SeriesDirective = vueDefineComponent({
|
|
230
130
|
render() {
|
|
231
131
|
return;
|
|
132
|
+
},
|
|
133
|
+
methods: {
|
|
134
|
+
getTag() {
|
|
135
|
+
return 'e-series';
|
|
136
|
+
}
|
|
232
137
|
}
|
|
233
|
-
|
|
234
|
-
return 'e-series';
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
SeriesDirective = __decorate$2([
|
|
238
|
-
EJComponentDecorator({}, isExecute)
|
|
239
|
-
], SeriesDirective);
|
|
138
|
+
});
|
|
240
139
|
const SeriesPlugin = {
|
|
241
140
|
name: 'e-series',
|
|
242
|
-
install(Vue
|
|
243
|
-
Vue
|
|
141
|
+
install(Vue) {
|
|
142
|
+
Vue.component(SeriesPlugin.name, SeriesDirective);
|
|
244
143
|
}
|
|
245
144
|
};
|
|
246
145
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
250
|
-
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;
|
|
251
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
252
|
-
};
|
|
253
|
-
// {{VueImport}}
|
|
254
|
-
let vueImport$3;
|
|
255
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
256
|
-
vueImport$3 = Vue;
|
|
257
|
-
}
|
|
258
|
-
else {
|
|
259
|
-
vueImport$3 = Vue$1;
|
|
260
|
-
}
|
|
261
|
-
let StripLinesDirective =
|
|
262
|
-
/* Start Options({
|
|
263
|
-
inject: {
|
|
264
|
-
custom: {
|
|
265
|
-
default: null
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}) End */
|
|
269
|
-
class StripLinesDirective extends vueImport$3 {
|
|
270
|
-
constructor() {
|
|
271
|
-
super(arguments);
|
|
272
|
-
}
|
|
146
|
+
let StripLinesDirective = vueDefineComponent({
|
|
147
|
+
inject: { custom: { default: null } },
|
|
273
148
|
render(createElement) {
|
|
274
149
|
if (!isExecute) {
|
|
275
150
|
let h = !isExecute ? gh : createElement;
|
|
@@ -280,76 +155,43 @@ class StripLinesDirective extends vueImport$3 {
|
|
|
280
155
|
return h('div', { class: 'e-directive' }, slots);
|
|
281
156
|
}
|
|
282
157
|
return;
|
|
283
|
-
}
|
|
158
|
+
},
|
|
284
159
|
updated() {
|
|
285
160
|
if (!isExecute && this.custom) {
|
|
286
161
|
this.custom();
|
|
287
162
|
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
};
|
|
293
|
-
StripLinesDirective = __decorate$3([
|
|
294
|
-
EJComponentDecorator({}, isExecute)
|
|
295
|
-
/* Start Options({
|
|
296
|
-
inject: {
|
|
297
|
-
custom: {
|
|
298
|
-
default: null
|
|
299
|
-
}
|
|
163
|
+
},
|
|
164
|
+
methods: {
|
|
165
|
+
getTag() {
|
|
166
|
+
return 'e-striplines';
|
|
300
167
|
}
|
|
301
|
-
}
|
|
302
|
-
|
|
168
|
+
}
|
|
169
|
+
});
|
|
303
170
|
const StripLinesPlugin = {
|
|
304
171
|
name: 'e-striplines',
|
|
305
|
-
install(Vue
|
|
306
|
-
Vue
|
|
172
|
+
install(Vue) {
|
|
173
|
+
Vue.component(StripLinesPlugin.name, StripLinesDirective);
|
|
307
174
|
}
|
|
308
175
|
};
|
|
309
|
-
let StripLineDirective =
|
|
176
|
+
let StripLineDirective = vueDefineComponent({
|
|
310
177
|
render() {
|
|
311
178
|
return;
|
|
179
|
+
},
|
|
180
|
+
methods: {
|
|
181
|
+
getTag() {
|
|
182
|
+
return 'e-stripline';
|
|
183
|
+
}
|
|
312
184
|
}
|
|
313
|
-
|
|
314
|
-
return 'e-stripline';
|
|
315
|
-
}
|
|
316
|
-
};
|
|
317
|
-
StripLineDirective = __decorate$3([
|
|
318
|
-
EJComponentDecorator({}, isExecute)
|
|
319
|
-
], StripLineDirective);
|
|
185
|
+
});
|
|
320
186
|
const StripLinePlugin = {
|
|
321
187
|
name: 'e-stripline',
|
|
322
|
-
install(Vue
|
|
323
|
-
Vue
|
|
188
|
+
install(Vue) {
|
|
189
|
+
Vue.component(StripLinePlugin.name, StripLineDirective);
|
|
324
190
|
}
|
|
325
191
|
};
|
|
326
192
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
330
|
-
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;
|
|
331
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
332
|
-
};
|
|
333
|
-
// {{VueImport}}
|
|
334
|
-
let vueImport$4;
|
|
335
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
336
|
-
vueImport$4 = Vue;
|
|
337
|
-
}
|
|
338
|
-
else {
|
|
339
|
-
vueImport$4 = Vue$1;
|
|
340
|
-
}
|
|
341
|
-
let CategoriesDirective =
|
|
342
|
-
/* Start Options({
|
|
343
|
-
inject: {
|
|
344
|
-
custom: {
|
|
345
|
-
default: null
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}) End */
|
|
349
|
-
class CategoriesDirective extends vueImport$4 {
|
|
350
|
-
constructor() {
|
|
351
|
-
super(arguments);
|
|
352
|
-
}
|
|
193
|
+
let CategoriesDirective = vueDefineComponent({
|
|
194
|
+
inject: { custom: { default: null } },
|
|
353
195
|
render(createElement) {
|
|
354
196
|
if (!isExecute) {
|
|
355
197
|
let h = !isExecute ? gh : createElement;
|
|
@@ -360,76 +202,43 @@ class CategoriesDirective extends vueImport$4 {
|
|
|
360
202
|
return h('div', { class: 'e-directive' }, slots);
|
|
361
203
|
}
|
|
362
204
|
return;
|
|
363
|
-
}
|
|
205
|
+
},
|
|
364
206
|
updated() {
|
|
365
207
|
if (!isExecute && this.custom) {
|
|
366
208
|
this.custom();
|
|
367
209
|
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
};
|
|
373
|
-
CategoriesDirective = __decorate$4([
|
|
374
|
-
EJComponentDecorator({}, isExecute)
|
|
375
|
-
/* Start Options({
|
|
376
|
-
inject: {
|
|
377
|
-
custom: {
|
|
378
|
-
default: null
|
|
379
|
-
}
|
|
210
|
+
},
|
|
211
|
+
methods: {
|
|
212
|
+
getTag() {
|
|
213
|
+
return 'e-categories';
|
|
380
214
|
}
|
|
381
|
-
}
|
|
382
|
-
|
|
215
|
+
}
|
|
216
|
+
});
|
|
383
217
|
const CategoriesPlugin = {
|
|
384
218
|
name: 'e-categories',
|
|
385
|
-
install(Vue
|
|
386
|
-
Vue
|
|
219
|
+
install(Vue) {
|
|
220
|
+
Vue.component(CategoriesPlugin.name, CategoriesDirective);
|
|
387
221
|
}
|
|
388
222
|
};
|
|
389
|
-
let CategoryDirective =
|
|
223
|
+
let CategoryDirective = vueDefineComponent({
|
|
390
224
|
render() {
|
|
391
225
|
return;
|
|
226
|
+
},
|
|
227
|
+
methods: {
|
|
228
|
+
getTag() {
|
|
229
|
+
return 'e-category';
|
|
230
|
+
}
|
|
392
231
|
}
|
|
393
|
-
|
|
394
|
-
return 'e-category';
|
|
395
|
-
}
|
|
396
|
-
};
|
|
397
|
-
CategoryDirective = __decorate$4([
|
|
398
|
-
EJComponentDecorator({}, isExecute)
|
|
399
|
-
], CategoryDirective);
|
|
232
|
+
});
|
|
400
233
|
const CategoryPlugin = {
|
|
401
234
|
name: 'e-category',
|
|
402
|
-
install(Vue
|
|
403
|
-
Vue
|
|
235
|
+
install(Vue) {
|
|
236
|
+
Vue.component(CategoryPlugin.name, CategoryDirective);
|
|
404
237
|
}
|
|
405
238
|
};
|
|
406
239
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
410
|
-
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;
|
|
411
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
412
|
-
};
|
|
413
|
-
// {{VueImport}}
|
|
414
|
-
let vueImport$5;
|
|
415
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
416
|
-
vueImport$5 = Vue;
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
vueImport$5 = Vue$1;
|
|
420
|
-
}
|
|
421
|
-
let MultiLevelLabelsDirective =
|
|
422
|
-
/* Start Options({
|
|
423
|
-
inject: {
|
|
424
|
-
custom: {
|
|
425
|
-
default: null
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}) End */
|
|
429
|
-
class MultiLevelLabelsDirective extends vueImport$5 {
|
|
430
|
-
constructor() {
|
|
431
|
-
super(arguments);
|
|
432
|
-
}
|
|
240
|
+
let MultiLevelLabelsDirective = vueDefineComponent({
|
|
241
|
+
inject: { custom: { default: null } },
|
|
433
242
|
render(createElement) {
|
|
434
243
|
if (!isExecute) {
|
|
435
244
|
let h = !isExecute ? gh : createElement;
|
|
@@ -440,76 +249,43 @@ class MultiLevelLabelsDirective extends vueImport$5 {
|
|
|
440
249
|
return h('div', { class: 'e-directive' }, slots);
|
|
441
250
|
}
|
|
442
251
|
return;
|
|
443
|
-
}
|
|
252
|
+
},
|
|
444
253
|
updated() {
|
|
445
254
|
if (!isExecute && this.custom) {
|
|
446
255
|
this.custom();
|
|
447
256
|
}
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
};
|
|
453
|
-
MultiLevelLabelsDirective = __decorate$5([
|
|
454
|
-
EJComponentDecorator({}, isExecute)
|
|
455
|
-
/* Start Options({
|
|
456
|
-
inject: {
|
|
457
|
-
custom: {
|
|
458
|
-
default: null
|
|
459
|
-
}
|
|
257
|
+
},
|
|
258
|
+
methods: {
|
|
259
|
+
getTag() {
|
|
260
|
+
return 'e-multilevellabels';
|
|
460
261
|
}
|
|
461
|
-
}
|
|
462
|
-
|
|
262
|
+
}
|
|
263
|
+
});
|
|
463
264
|
const MultiLevelLabelsPlugin = {
|
|
464
265
|
name: 'e-multilevellabels',
|
|
465
|
-
install(Vue
|
|
466
|
-
Vue
|
|
266
|
+
install(Vue) {
|
|
267
|
+
Vue.component(MultiLevelLabelsPlugin.name, MultiLevelLabelsDirective);
|
|
467
268
|
}
|
|
468
269
|
};
|
|
469
|
-
let MultiLevelLabelDirective =
|
|
270
|
+
let MultiLevelLabelDirective = vueDefineComponent({
|
|
470
271
|
render() {
|
|
471
272
|
return;
|
|
273
|
+
},
|
|
274
|
+
methods: {
|
|
275
|
+
getTag() {
|
|
276
|
+
return 'e-multilevellabel';
|
|
277
|
+
}
|
|
472
278
|
}
|
|
473
|
-
|
|
474
|
-
return 'e-multilevellabel';
|
|
475
|
-
}
|
|
476
|
-
};
|
|
477
|
-
MultiLevelLabelDirective = __decorate$5([
|
|
478
|
-
EJComponentDecorator({}, isExecute)
|
|
479
|
-
], MultiLevelLabelDirective);
|
|
279
|
+
});
|
|
480
280
|
const MultiLevelLabelPlugin = {
|
|
481
281
|
name: 'e-multilevellabel',
|
|
482
|
-
install(Vue
|
|
483
|
-
Vue
|
|
282
|
+
install(Vue) {
|
|
283
|
+
Vue.component(MultiLevelLabelPlugin.name, MultiLevelLabelDirective);
|
|
484
284
|
}
|
|
485
285
|
};
|
|
486
286
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
490
|
-
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;
|
|
491
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
492
|
-
};
|
|
493
|
-
// {{VueImport}}
|
|
494
|
-
let vueImport$6;
|
|
495
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
496
|
-
vueImport$6 = Vue;
|
|
497
|
-
}
|
|
498
|
-
else {
|
|
499
|
-
vueImport$6 = Vue$1;
|
|
500
|
-
}
|
|
501
|
-
let AxesDirective =
|
|
502
|
-
/* Start Options({
|
|
503
|
-
inject: {
|
|
504
|
-
custom: {
|
|
505
|
-
default: null
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
}) End */
|
|
509
|
-
class AxesDirective extends vueImport$6 {
|
|
510
|
-
constructor() {
|
|
511
|
-
super(arguments);
|
|
512
|
-
}
|
|
287
|
+
let AxesDirective = vueDefineComponent({
|
|
288
|
+
inject: { custom: { default: null } },
|
|
513
289
|
render(createElement) {
|
|
514
290
|
if (!isExecute) {
|
|
515
291
|
let h = !isExecute ? gh : createElement;
|
|
@@ -520,76 +296,43 @@ class AxesDirective extends vueImport$6 {
|
|
|
520
296
|
return h('div', { class: 'e-directive' }, slots);
|
|
521
297
|
}
|
|
522
298
|
return;
|
|
523
|
-
}
|
|
299
|
+
},
|
|
524
300
|
updated() {
|
|
525
301
|
if (!isExecute && this.custom) {
|
|
526
302
|
this.custom();
|
|
527
303
|
}
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
};
|
|
533
|
-
AxesDirective = __decorate$6([
|
|
534
|
-
EJComponentDecorator({}, isExecute)
|
|
535
|
-
/* Start Options({
|
|
536
|
-
inject: {
|
|
537
|
-
custom: {
|
|
538
|
-
default: null
|
|
539
|
-
}
|
|
304
|
+
},
|
|
305
|
+
methods: {
|
|
306
|
+
getTag() {
|
|
307
|
+
return 'e-axes';
|
|
540
308
|
}
|
|
541
|
-
}
|
|
542
|
-
|
|
309
|
+
}
|
|
310
|
+
});
|
|
543
311
|
const AxesPlugin = {
|
|
544
312
|
name: 'e-axes',
|
|
545
|
-
install(Vue
|
|
546
|
-
Vue
|
|
313
|
+
install(Vue) {
|
|
314
|
+
Vue.component(AxesPlugin.name, AxesDirective);
|
|
547
315
|
}
|
|
548
316
|
};
|
|
549
|
-
let AxisDirective =
|
|
317
|
+
let AxisDirective = vueDefineComponent({
|
|
550
318
|
render() {
|
|
551
319
|
return;
|
|
320
|
+
},
|
|
321
|
+
methods: {
|
|
322
|
+
getTag() {
|
|
323
|
+
return 'e-axis';
|
|
324
|
+
}
|
|
552
325
|
}
|
|
553
|
-
|
|
554
|
-
return 'e-axis';
|
|
555
|
-
}
|
|
556
|
-
};
|
|
557
|
-
AxisDirective = __decorate$6([
|
|
558
|
-
EJComponentDecorator({}, isExecute)
|
|
559
|
-
], AxisDirective);
|
|
326
|
+
});
|
|
560
327
|
const AxisPlugin = {
|
|
561
328
|
name: 'e-axis',
|
|
562
|
-
install(Vue
|
|
563
|
-
Vue
|
|
329
|
+
install(Vue) {
|
|
330
|
+
Vue.component(AxisPlugin.name, AxisDirective);
|
|
564
331
|
}
|
|
565
332
|
};
|
|
566
333
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
570
|
-
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;
|
|
571
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
572
|
-
};
|
|
573
|
-
// {{VueImport}}
|
|
574
|
-
let vueImport$7;
|
|
575
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
576
|
-
vueImport$7 = Vue;
|
|
577
|
-
}
|
|
578
|
-
else {
|
|
579
|
-
vueImport$7 = Vue$1;
|
|
580
|
-
}
|
|
581
|
-
let RowsDirective =
|
|
582
|
-
/* Start Options({
|
|
583
|
-
inject: {
|
|
584
|
-
custom: {
|
|
585
|
-
default: null
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
}) End */
|
|
589
|
-
class RowsDirective extends vueImport$7 {
|
|
590
|
-
constructor() {
|
|
591
|
-
super(arguments);
|
|
592
|
-
}
|
|
334
|
+
let RowsDirective = vueDefineComponent({
|
|
335
|
+
inject: { custom: { default: null } },
|
|
593
336
|
render(createElement) {
|
|
594
337
|
if (!isExecute) {
|
|
595
338
|
let h = !isExecute ? gh : createElement;
|
|
@@ -600,76 +343,43 @@ class RowsDirective extends vueImport$7 {
|
|
|
600
343
|
return h('div', { class: 'e-directive' }, slots);
|
|
601
344
|
}
|
|
602
345
|
return;
|
|
603
|
-
}
|
|
346
|
+
},
|
|
604
347
|
updated() {
|
|
605
348
|
if (!isExecute && this.custom) {
|
|
606
349
|
this.custom();
|
|
607
350
|
}
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
};
|
|
613
|
-
RowsDirective = __decorate$7([
|
|
614
|
-
EJComponentDecorator({}, isExecute)
|
|
615
|
-
/* Start Options({
|
|
616
|
-
inject: {
|
|
617
|
-
custom: {
|
|
618
|
-
default: null
|
|
619
|
-
}
|
|
351
|
+
},
|
|
352
|
+
methods: {
|
|
353
|
+
getTag() {
|
|
354
|
+
return 'e-rows';
|
|
620
355
|
}
|
|
621
|
-
}
|
|
622
|
-
|
|
356
|
+
}
|
|
357
|
+
});
|
|
623
358
|
const RowsPlugin = {
|
|
624
359
|
name: 'e-rows',
|
|
625
|
-
install(Vue
|
|
626
|
-
Vue
|
|
360
|
+
install(Vue) {
|
|
361
|
+
Vue.component(RowsPlugin.name, RowsDirective);
|
|
627
362
|
}
|
|
628
363
|
};
|
|
629
|
-
let RowDirective =
|
|
364
|
+
let RowDirective = vueDefineComponent({
|
|
630
365
|
render() {
|
|
631
366
|
return;
|
|
367
|
+
},
|
|
368
|
+
methods: {
|
|
369
|
+
getTag() {
|
|
370
|
+
return 'e-row';
|
|
371
|
+
}
|
|
632
372
|
}
|
|
633
|
-
|
|
634
|
-
return 'e-row';
|
|
635
|
-
}
|
|
636
|
-
};
|
|
637
|
-
RowDirective = __decorate$7([
|
|
638
|
-
EJComponentDecorator({}, isExecute)
|
|
639
|
-
], RowDirective);
|
|
373
|
+
});
|
|
640
374
|
const RowPlugin = {
|
|
641
375
|
name: 'e-row',
|
|
642
|
-
install(Vue
|
|
643
|
-
Vue
|
|
376
|
+
install(Vue) {
|
|
377
|
+
Vue.component(RowPlugin.name, RowDirective);
|
|
644
378
|
}
|
|
645
379
|
};
|
|
646
380
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
650
|
-
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;
|
|
651
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
652
|
-
};
|
|
653
|
-
// {{VueImport}}
|
|
654
|
-
let vueImport$8;
|
|
655
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
656
|
-
vueImport$8 = Vue;
|
|
657
|
-
}
|
|
658
|
-
else {
|
|
659
|
-
vueImport$8 = Vue$1;
|
|
660
|
-
}
|
|
661
|
-
let ColumnsDirective =
|
|
662
|
-
/* Start Options({
|
|
663
|
-
inject: {
|
|
664
|
-
custom: {
|
|
665
|
-
default: null
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
}) End */
|
|
669
|
-
class ColumnsDirective extends vueImport$8 {
|
|
670
|
-
constructor() {
|
|
671
|
-
super(arguments);
|
|
672
|
-
}
|
|
381
|
+
let ColumnsDirective = vueDefineComponent({
|
|
382
|
+
inject: { custom: { default: null } },
|
|
673
383
|
render(createElement) {
|
|
674
384
|
if (!isExecute) {
|
|
675
385
|
let h = !isExecute ? gh : createElement;
|
|
@@ -680,76 +390,43 @@ class ColumnsDirective extends vueImport$8 {
|
|
|
680
390
|
return h('div', { class: 'e-directive' }, slots);
|
|
681
391
|
}
|
|
682
392
|
return;
|
|
683
|
-
}
|
|
393
|
+
},
|
|
684
394
|
updated() {
|
|
685
395
|
if (!isExecute && this.custom) {
|
|
686
396
|
this.custom();
|
|
687
397
|
}
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
};
|
|
693
|
-
ColumnsDirective = __decorate$8([
|
|
694
|
-
EJComponentDecorator({}, isExecute)
|
|
695
|
-
/* Start Options({
|
|
696
|
-
inject: {
|
|
697
|
-
custom: {
|
|
698
|
-
default: null
|
|
699
|
-
}
|
|
398
|
+
},
|
|
399
|
+
methods: {
|
|
400
|
+
getTag() {
|
|
401
|
+
return 'e-columns';
|
|
700
402
|
}
|
|
701
|
-
}
|
|
702
|
-
|
|
403
|
+
}
|
|
404
|
+
});
|
|
703
405
|
const ColumnsPlugin = {
|
|
704
406
|
name: 'e-columns',
|
|
705
|
-
install(Vue
|
|
706
|
-
Vue
|
|
407
|
+
install(Vue) {
|
|
408
|
+
Vue.component(ColumnsPlugin.name, ColumnsDirective);
|
|
707
409
|
}
|
|
708
410
|
};
|
|
709
|
-
let ColumnDirective =
|
|
411
|
+
let ColumnDirective = vueDefineComponent({
|
|
710
412
|
render() {
|
|
711
413
|
return;
|
|
414
|
+
},
|
|
415
|
+
methods: {
|
|
416
|
+
getTag() {
|
|
417
|
+
return 'e-column';
|
|
418
|
+
}
|
|
712
419
|
}
|
|
713
|
-
|
|
714
|
-
return 'e-column';
|
|
715
|
-
}
|
|
716
|
-
};
|
|
717
|
-
ColumnDirective = __decorate$8([
|
|
718
|
-
EJComponentDecorator({}, isExecute)
|
|
719
|
-
], ColumnDirective);
|
|
420
|
+
});
|
|
720
421
|
const ColumnPlugin = {
|
|
721
422
|
name: 'e-column',
|
|
722
|
-
install(Vue
|
|
723
|
-
Vue
|
|
423
|
+
install(Vue) {
|
|
424
|
+
Vue.component(ColumnPlugin.name, ColumnDirective);
|
|
724
425
|
}
|
|
725
426
|
};
|
|
726
427
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
730
|
-
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;
|
|
731
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
732
|
-
};
|
|
733
|
-
// {{VueImport}}
|
|
734
|
-
let vueImport$9;
|
|
735
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
736
|
-
vueImport$9 = Vue;
|
|
737
|
-
}
|
|
738
|
-
else {
|
|
739
|
-
vueImport$9 = Vue$1;
|
|
740
|
-
}
|
|
741
|
-
let RangeColorSettingsDirective =
|
|
742
|
-
/* Start Options({
|
|
743
|
-
inject: {
|
|
744
|
-
custom: {
|
|
745
|
-
default: null
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}) End */
|
|
749
|
-
class RangeColorSettingsDirective extends vueImport$9 {
|
|
750
|
-
constructor() {
|
|
751
|
-
super(arguments);
|
|
752
|
-
}
|
|
428
|
+
let RangeColorSettingsDirective = vueDefineComponent({
|
|
429
|
+
inject: { custom: { default: null } },
|
|
753
430
|
render(createElement) {
|
|
754
431
|
if (!isExecute) {
|
|
755
432
|
let h = !isExecute ? gh : createElement;
|
|
@@ -760,76 +437,43 @@ class RangeColorSettingsDirective extends vueImport$9 {
|
|
|
760
437
|
return h('div', { class: 'e-directive' }, slots);
|
|
761
438
|
}
|
|
762
439
|
return;
|
|
763
|
-
}
|
|
440
|
+
},
|
|
764
441
|
updated() {
|
|
765
442
|
if (!isExecute && this.custom) {
|
|
766
443
|
this.custom();
|
|
767
444
|
}
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
};
|
|
773
|
-
RangeColorSettingsDirective = __decorate$9([
|
|
774
|
-
EJComponentDecorator({}, isExecute)
|
|
775
|
-
/* Start Options({
|
|
776
|
-
inject: {
|
|
777
|
-
custom: {
|
|
778
|
-
default: null
|
|
779
|
-
}
|
|
445
|
+
},
|
|
446
|
+
methods: {
|
|
447
|
+
getTag() {
|
|
448
|
+
return 'e-rangecolorsettings';
|
|
780
449
|
}
|
|
781
|
-
}
|
|
782
|
-
|
|
450
|
+
}
|
|
451
|
+
});
|
|
783
452
|
const RangeColorSettingsPlugin = {
|
|
784
453
|
name: 'e-rangecolorsettings',
|
|
785
|
-
install(Vue
|
|
786
|
-
Vue
|
|
454
|
+
install(Vue) {
|
|
455
|
+
Vue.component(RangeColorSettingsPlugin.name, RangeColorSettingsDirective);
|
|
787
456
|
}
|
|
788
457
|
};
|
|
789
|
-
let RangeColorSettingDirective =
|
|
458
|
+
let RangeColorSettingDirective = vueDefineComponent({
|
|
790
459
|
render() {
|
|
791
460
|
return;
|
|
461
|
+
},
|
|
462
|
+
methods: {
|
|
463
|
+
getTag() {
|
|
464
|
+
return 'e-rangecolorsetting';
|
|
465
|
+
}
|
|
792
466
|
}
|
|
793
|
-
|
|
794
|
-
return 'e-rangecolorsetting';
|
|
795
|
-
}
|
|
796
|
-
};
|
|
797
|
-
RangeColorSettingDirective = __decorate$9([
|
|
798
|
-
EJComponentDecorator({}, isExecute)
|
|
799
|
-
], RangeColorSettingDirective);
|
|
467
|
+
});
|
|
800
468
|
const RangeColorSettingPlugin = {
|
|
801
469
|
name: 'e-rangecolorsetting',
|
|
802
|
-
install(Vue
|
|
803
|
-
Vue
|
|
470
|
+
install(Vue) {
|
|
471
|
+
Vue.component(RangeColorSettingPlugin.name, RangeColorSettingDirective);
|
|
804
472
|
}
|
|
805
473
|
};
|
|
806
474
|
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
810
|
-
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;
|
|
811
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
812
|
-
};
|
|
813
|
-
// {{VueImport}}
|
|
814
|
-
let vueImport$10;
|
|
815
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
816
|
-
vueImport$10 = Vue;
|
|
817
|
-
}
|
|
818
|
-
else {
|
|
819
|
-
vueImport$10 = Vue$1;
|
|
820
|
-
}
|
|
821
|
-
let AnnotationsDirective =
|
|
822
|
-
/* Start Options({
|
|
823
|
-
inject: {
|
|
824
|
-
custom: {
|
|
825
|
-
default: null
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}) End */
|
|
829
|
-
class AnnotationsDirective extends vueImport$10 {
|
|
830
|
-
constructor() {
|
|
831
|
-
super(arguments);
|
|
832
|
-
}
|
|
475
|
+
let AnnotationsDirective = vueDefineComponent({
|
|
476
|
+
inject: { custom: { default: null } },
|
|
833
477
|
render(createElement) {
|
|
834
478
|
if (!isExecute) {
|
|
835
479
|
let h = !isExecute ? gh : createElement;
|
|
@@ -840,30 +484,22 @@ class AnnotationsDirective extends vueImport$10 {
|
|
|
840
484
|
return h('div', { class: 'e-directive' }, slots);
|
|
841
485
|
}
|
|
842
486
|
return;
|
|
843
|
-
}
|
|
487
|
+
},
|
|
844
488
|
updated() {
|
|
845
489
|
if (!isExecute && this.custom) {
|
|
846
490
|
this.custom();
|
|
847
491
|
}
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
};
|
|
853
|
-
AnnotationsDirective = __decorate$10([
|
|
854
|
-
EJComponentDecorator({}, isExecute)
|
|
855
|
-
/* Start Options({
|
|
856
|
-
inject: {
|
|
857
|
-
custom: {
|
|
858
|
-
default: null
|
|
859
|
-
}
|
|
492
|
+
},
|
|
493
|
+
methods: {
|
|
494
|
+
getTag() {
|
|
495
|
+
return 'e-annotations';
|
|
860
496
|
}
|
|
861
|
-
}
|
|
862
|
-
|
|
497
|
+
}
|
|
498
|
+
});
|
|
863
499
|
const AnnotationsPlugin = {
|
|
864
500
|
name: 'e-annotations',
|
|
865
|
-
install(Vue
|
|
866
|
-
Vue
|
|
501
|
+
install(Vue) {
|
|
502
|
+
Vue.component(AnnotationsPlugin.name, AnnotationsDirective);
|
|
867
503
|
}
|
|
868
504
|
};
|
|
869
505
|
/**
|
|
@@ -878,50 +514,25 @@ const AnnotationsPlugin = {
|
|
|
878
514
|
* </ejs-chart>
|
|
879
515
|
* ```
|
|
880
516
|
*/
|
|
881
|
-
let AnnotationDirective =
|
|
517
|
+
let AnnotationDirective = vueDefineComponent({
|
|
882
518
|
render() {
|
|
883
519
|
return;
|
|
520
|
+
},
|
|
521
|
+
methods: {
|
|
522
|
+
getTag() {
|
|
523
|
+
return 'e-annotation';
|
|
524
|
+
}
|
|
884
525
|
}
|
|
885
|
-
|
|
886
|
-
return 'e-annotation';
|
|
887
|
-
}
|
|
888
|
-
};
|
|
889
|
-
AnnotationDirective = __decorate$10([
|
|
890
|
-
EJComponentDecorator({}, isExecute)
|
|
891
|
-
], AnnotationDirective);
|
|
526
|
+
});
|
|
892
527
|
const AnnotationPlugin = {
|
|
893
528
|
name: 'e-annotation',
|
|
894
|
-
install(Vue
|
|
895
|
-
Vue
|
|
529
|
+
install(Vue) {
|
|
530
|
+
Vue.component(AnnotationPlugin.name, AnnotationDirective);
|
|
896
531
|
}
|
|
897
532
|
};
|
|
898
533
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
902
|
-
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;
|
|
903
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
904
|
-
};
|
|
905
|
-
// {{VueImport}}
|
|
906
|
-
let vueImport$11;
|
|
907
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
908
|
-
vueImport$11 = Vue;
|
|
909
|
-
}
|
|
910
|
-
else {
|
|
911
|
-
vueImport$11 = Vue$1;
|
|
912
|
-
}
|
|
913
|
-
let SelectedDataIndexesDirective =
|
|
914
|
-
/* Start Options({
|
|
915
|
-
inject: {
|
|
916
|
-
custom: {
|
|
917
|
-
default: null
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
}) End */
|
|
921
|
-
class SelectedDataIndexesDirective extends vueImport$11 {
|
|
922
|
-
constructor() {
|
|
923
|
-
super(arguments);
|
|
924
|
-
}
|
|
534
|
+
let SelectedDataIndexesDirective = vueDefineComponent({
|
|
535
|
+
inject: { custom: { default: null } },
|
|
925
536
|
render(createElement) {
|
|
926
537
|
if (!isExecute) {
|
|
927
538
|
let h = !isExecute ? gh : createElement;
|
|
@@ -932,76 +543,43 @@ class SelectedDataIndexesDirective extends vueImport$11 {
|
|
|
932
543
|
return h('div', { class: 'e-directive' }, slots);
|
|
933
544
|
}
|
|
934
545
|
return;
|
|
935
|
-
}
|
|
546
|
+
},
|
|
936
547
|
updated() {
|
|
937
548
|
if (!isExecute && this.custom) {
|
|
938
549
|
this.custom();
|
|
939
550
|
}
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
};
|
|
945
|
-
SelectedDataIndexesDirective = __decorate$11([
|
|
946
|
-
EJComponentDecorator({}, isExecute)
|
|
947
|
-
/* Start Options({
|
|
948
|
-
inject: {
|
|
949
|
-
custom: {
|
|
950
|
-
default: null
|
|
951
|
-
}
|
|
551
|
+
},
|
|
552
|
+
methods: {
|
|
553
|
+
getTag() {
|
|
554
|
+
return 'e-selecteddataindexes';
|
|
952
555
|
}
|
|
953
|
-
}
|
|
954
|
-
|
|
556
|
+
}
|
|
557
|
+
});
|
|
955
558
|
const SelectedDataIndexesPlugin = {
|
|
956
559
|
name: 'e-selecteddataindexes',
|
|
957
|
-
install(Vue
|
|
958
|
-
Vue
|
|
560
|
+
install(Vue) {
|
|
561
|
+
Vue.component(SelectedDataIndexesPlugin.name, SelectedDataIndexesDirective);
|
|
959
562
|
}
|
|
960
563
|
};
|
|
961
|
-
let SelectedDataIndexDirective =
|
|
564
|
+
let SelectedDataIndexDirective = vueDefineComponent({
|
|
962
565
|
render() {
|
|
963
566
|
return;
|
|
567
|
+
},
|
|
568
|
+
methods: {
|
|
569
|
+
getTag() {
|
|
570
|
+
return 'e-selecteddataindex';
|
|
571
|
+
}
|
|
964
572
|
}
|
|
965
|
-
|
|
966
|
-
return 'e-selecteddataindex';
|
|
967
|
-
}
|
|
968
|
-
};
|
|
969
|
-
SelectedDataIndexDirective = __decorate$11([
|
|
970
|
-
EJComponentDecorator({}, isExecute)
|
|
971
|
-
], SelectedDataIndexDirective);
|
|
573
|
+
});
|
|
972
574
|
const SelectedDataIndexPlugin = {
|
|
973
575
|
name: 'e-selecteddataindex',
|
|
974
|
-
install(Vue
|
|
975
|
-
Vue
|
|
576
|
+
install(Vue) {
|
|
577
|
+
Vue.component(SelectedDataIndexPlugin.name, SelectedDataIndexDirective);
|
|
976
578
|
}
|
|
977
579
|
};
|
|
978
580
|
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
982
|
-
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;
|
|
983
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
984
|
-
};
|
|
985
|
-
// {{VueImport}}
|
|
986
|
-
let vueImport$12;
|
|
987
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
988
|
-
vueImport$12 = Vue;
|
|
989
|
-
}
|
|
990
|
-
else {
|
|
991
|
-
vueImport$12 = Vue$1;
|
|
992
|
-
}
|
|
993
|
-
let IndicatorsDirective =
|
|
994
|
-
/* Start Options({
|
|
995
|
-
inject: {
|
|
996
|
-
custom: {
|
|
997
|
-
default: null
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
}) End */
|
|
1001
|
-
class IndicatorsDirective extends vueImport$12 {
|
|
1002
|
-
constructor() {
|
|
1003
|
-
super(arguments);
|
|
1004
|
-
}
|
|
581
|
+
let IndicatorsDirective = vueDefineComponent({
|
|
582
|
+
inject: { custom: { default: null } },
|
|
1005
583
|
render(createElement) {
|
|
1006
584
|
if (!isExecute) {
|
|
1007
585
|
let h = !isExecute ? gh : createElement;
|
|
@@ -1012,57 +590,41 @@ class IndicatorsDirective extends vueImport$12 {
|
|
|
1012
590
|
return h('div', { class: 'e-directive' }, slots);
|
|
1013
591
|
}
|
|
1014
592
|
return;
|
|
1015
|
-
}
|
|
593
|
+
},
|
|
1016
594
|
updated() {
|
|
1017
595
|
if (!isExecute && this.custom) {
|
|
1018
596
|
this.custom();
|
|
1019
597
|
}
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
};
|
|
1025
|
-
IndicatorsDirective = __decorate$12([
|
|
1026
|
-
EJComponentDecorator({}, isExecute)
|
|
1027
|
-
/* Start Options({
|
|
1028
|
-
inject: {
|
|
1029
|
-
custom: {
|
|
1030
|
-
default: null
|
|
1031
|
-
}
|
|
598
|
+
},
|
|
599
|
+
methods: {
|
|
600
|
+
getTag() {
|
|
601
|
+
return 'e-indicators';
|
|
1032
602
|
}
|
|
1033
|
-
}
|
|
1034
|
-
|
|
603
|
+
}
|
|
604
|
+
});
|
|
1035
605
|
const IndicatorsPlugin = {
|
|
1036
606
|
name: 'e-indicators',
|
|
1037
|
-
install(Vue
|
|
1038
|
-
Vue
|
|
607
|
+
install(Vue) {
|
|
608
|
+
Vue.component(IndicatorsPlugin.name, IndicatorsDirective);
|
|
1039
609
|
}
|
|
1040
610
|
};
|
|
1041
|
-
let IndicatorDirective =
|
|
611
|
+
let IndicatorDirective = vueDefineComponent({
|
|
1042
612
|
render() {
|
|
1043
613
|
return;
|
|
614
|
+
},
|
|
615
|
+
methods: {
|
|
616
|
+
getTag() {
|
|
617
|
+
return 'e-indicator';
|
|
618
|
+
}
|
|
1044
619
|
}
|
|
1045
|
-
|
|
1046
|
-
return 'e-indicator';
|
|
1047
|
-
}
|
|
1048
|
-
};
|
|
1049
|
-
IndicatorDirective = __decorate$12([
|
|
1050
|
-
EJComponentDecorator({}, isExecute)
|
|
1051
|
-
], IndicatorDirective);
|
|
620
|
+
});
|
|
1052
621
|
const IndicatorPlugin = {
|
|
1053
622
|
name: 'e-indicator',
|
|
1054
|
-
install(Vue
|
|
1055
|
-
Vue
|
|
623
|
+
install(Vue) {
|
|
624
|
+
Vue.component(IndicatorPlugin.name, IndicatorDirective);
|
|
1056
625
|
}
|
|
1057
626
|
};
|
|
1058
627
|
|
|
1059
|
-
var __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1060
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1061
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1062
|
-
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;
|
|
1063
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1064
|
-
};
|
|
1065
|
-
// {{VueImport}}
|
|
1066
628
|
const properties = ['isLazyUpdate', 'plugins', 'allowExport', 'allowMultiSelection', 'annotations', 'axes', 'background', 'backgroundImage', 'border', 'chartArea', 'columns', 'crosshair', 'currencyCode', 'dataSource', 'description', 'enableAnimation', 'enableAutoIntervalOnBothAxis', 'enableCanvas', 'enableExport', 'enablePersistence', 'enableRtl', 'enableSideBySidePlacement', 'height', 'highlightColor', 'highlightMode', 'highlightPattern', 'indicators', 'isMultiSelect', 'isTransposed', 'legendSettings', 'locale', 'margin', 'palettes', 'primaryXAxis', 'primaryYAxis', 'rangeColorSettings', 'rows', 'selectedDataIndexes', 'selectionMode', 'selectionPattern', 'series', 'subTitle', 'subTitleStyle', 'tabIndex', 'theme', 'title', 'titleStyle', 'tooltip', 'useGroupingSeparator', 'width', 'zoomSettings', 'afterExport', 'animationComplete', 'annotationRender', 'axisLabelClick', 'axisLabelRender', 'axisMultiLabelRender', 'axisRangeCalculated', 'beforeExport', 'beforePrint', 'beforeResize', 'chartDoubleClick', 'chartMouseClick', 'chartMouseDown', 'chartMouseLeave', 'chartMouseMove', 'chartMouseUp', 'drag', 'dragComplete', 'dragEnd', 'dragStart', 'legendClick', 'legendRender', 'load', 'loaded', 'multiLevelLabelClick', 'onZooming', 'pointClick', 'pointDoubleClick', 'pointMove', 'pointRender', 'resized', 'scrollChanged', 'scrollEnd', 'scrollStart', 'selectionComplete', 'seriesRender', 'sharedTooltipRender', 'textRender', 'tooltipRender', 'zoomComplete'];
|
|
1067
629
|
const modelProps = ['dataSource'];
|
|
1068
630
|
const testProp = getProps({ props: properties });
|
|
@@ -1079,28 +641,28 @@ for (let props of modelProps) {
|
|
|
1079
641
|
* <ejs-chart></ejs-chart>
|
|
1080
642
|
* ```
|
|
1081
643
|
*/
|
|
1082
|
-
let ChartComponent =
|
|
1083
|
-
|
|
644
|
+
let ChartComponent = vueDefineComponent({
|
|
645
|
+
name: 'ChartComponent',
|
|
646
|
+
mixins: [ComponentBase],
|
|
1084
647
|
props: props,
|
|
1085
648
|
watch: watch,
|
|
1086
649
|
emits: emitProbs,
|
|
1087
|
-
|
|
650
|
+
model: { event: 'modelchanged' },
|
|
651
|
+
provide() { return { custom: this.custom }; },
|
|
652
|
+
data() {
|
|
1088
653
|
return {
|
|
1089
|
-
|
|
654
|
+
ej2Instances: new Chart({}),
|
|
655
|
+
propKeys: properties,
|
|
656
|
+
models: modelProps,
|
|
657
|
+
hasChildDirective: true,
|
|
658
|
+
hasInjectedModules: true,
|
|
659
|
+
tagMapper: { "e-series-collection": { "e-series": { "e-trendlines": "e-trendline", "e-segments": "e-segment" } }, "e-axes": { "e-axis": { "e-striplines": "e-stripline", "e-multilevellabels": { "e-multilevellabel": { "e-categories": "e-category" } } } }, "e-rows": "e-row", "e-columns": "e-column", "e-rangecolorsettings": "e-rangecolorsetting", "e-annotations": "e-annotation", "e-selecteddataindexes": "e-selecteddataindex", "e-indicators": "e-indicator" },
|
|
660
|
+
tagNameMapper: { "e-series-collection": "e-series", "e-striplines": "e-stripLines", "e-multilevellabels": "e-multiLevelLabels", "e-rangecolorsettings": "e-rangeColorSettings", "e-selecteddataindexes": "e-selectedDataIndexes" },
|
|
661
|
+
isVue3: !isExecute,
|
|
662
|
+
templateCollection: {},
|
|
1090
663
|
};
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
class ChartComponent extends ComponentBase {
|
|
1094
|
-
constructor() {
|
|
1095
|
-
super(arguments);
|
|
1096
|
-
this.propKeys = properties;
|
|
1097
|
-
this.models = modelProps;
|
|
1098
|
-
this.hasChildDirective = true;
|
|
1099
|
-
this.hasInjectedModules = true;
|
|
1100
|
-
this.tagMapper = { "e-series-collection": { "e-series": { "e-trendlines": "e-trendline", "e-segments": "e-segment" } }, "e-axes": { "e-axis": { "e-striplines": "e-stripline", "e-multilevellabels": { "e-multilevellabel": { "e-categories": "e-category" } } } }, "e-rows": "e-row", "e-columns": "e-column", "e-rangecolorsettings": "e-rangecolorsetting", "e-annotations": "e-annotation", "e-selecteddataindexes": "e-selecteddataindex", "e-indicators": "e-indicator" };
|
|
1101
|
-
this.tagNameMapper = { "e-series-collection": "e-series", "e-striplines": "e-stripLines", "e-multilevellabels": "e-multiLevelLabels", "e-rangecolorsettings": "e-rangeColorSettings", "e-selecteddataindexes": "e-selectedDataIndexes" };
|
|
1102
|
-
this.isVue3 = !isExecute;
|
|
1103
|
-
this.ej2Instances = new Chart({});
|
|
664
|
+
},
|
|
665
|
+
created() {
|
|
1104
666
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1105
667
|
this.ej2Instances.trigger = this.trigger;
|
|
1106
668
|
this.bindProperties();
|
|
@@ -1108,219 +670,179 @@ class ChartComponent extends ComponentBase {
|
|
|
1108
670
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1109
671
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1110
672
|
this.updated = this.updated;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
673
|
+
},
|
|
674
|
+
render(createElement) {
|
|
675
|
+
let h = !isExecute ? gh : createElement;
|
|
676
|
+
let slots = null;
|
|
677
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
678
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
679
|
+
}
|
|
680
|
+
return h('div', slots);
|
|
681
|
+
},
|
|
682
|
+
methods: {
|
|
683
|
+
clearTemplate(templateNames) {
|
|
684
|
+
if (!templateNames) {
|
|
685
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
686
|
+
}
|
|
687
|
+
if (templateNames.length && this.templateCollection) {
|
|
688
|
+
for (let tempName of templateNames) {
|
|
689
|
+
let elementCollection = this.templateCollection[tempName];
|
|
690
|
+
if (elementCollection && elementCollection.length) {
|
|
691
|
+
for (let ele of elementCollection) {
|
|
692
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
693
|
+
if (destroy) {
|
|
694
|
+
ele.__vue__.$destroy();
|
|
695
|
+
}
|
|
696
|
+
if (ele.innerHTML) {
|
|
697
|
+
ele.innerHTML = '';
|
|
698
|
+
}
|
|
1127
699
|
}
|
|
700
|
+
delete this.templateCollection[tempName];
|
|
1128
701
|
}
|
|
1129
|
-
delete this.templateCollection[tempName];
|
|
1130
702
|
}
|
|
1131
703
|
}
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
704
|
+
},
|
|
705
|
+
setProperties(prop, muteOnChange) {
|
|
706
|
+
if (this.isVue3) {
|
|
707
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
708
|
+
}
|
|
709
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
710
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
711
|
+
}
|
|
712
|
+
if (prop && this.models && this.models.length) {
|
|
713
|
+
Object.keys(prop).map((key) => {
|
|
714
|
+
this.models.map((model) => {
|
|
715
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
716
|
+
if (this.isVue3) {
|
|
717
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
718
|
+
}
|
|
719
|
+
else {
|
|
720
|
+
this.$emit('update:' + key, prop[key]);
|
|
721
|
+
this.$emit('modelchanged', prop[key]);
|
|
722
|
+
}
|
|
1147
723
|
}
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
724
|
+
});
|
|
725
|
+
});
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
trigger(eventName, eventProp, successHandler) {
|
|
729
|
+
if (!isExecute) {
|
|
730
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
731
|
+
}
|
|
732
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
733
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
734
|
+
let propKey = key[0];
|
|
735
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
736
|
+
if (!isExecute) {
|
|
737
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
738
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
739
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
740
|
+
}
|
|
741
|
+
else {
|
|
742
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
743
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
744
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1151
745
|
}
|
|
1152
746
|
}
|
|
1153
|
-
});
|
|
1154
|
-
});
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
trigger(eventName, eventProp, successHandler) {
|
|
1158
|
-
if (!isExecute) {
|
|
1159
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1160
|
-
}
|
|
1161
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1162
|
-
let key = this.models.toString().match(/checked|value/) || [];
|
|
1163
|
-
let propKey = key[0];
|
|
1164
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1165
|
-
if (!isExecute) {
|
|
1166
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1167
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1168
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1169
747
|
}
|
|
1170
|
-
|
|
1171
|
-
|
|
748
|
+
}
|
|
749
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
750
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
751
|
+
let propKey = key[0];
|
|
752
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
753
|
+
if (!isExecute) {
|
|
754
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
755
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
756
|
+
}
|
|
757
|
+
else {
|
|
1172
758
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1173
759
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
1174
760
|
}
|
|
1175
761
|
}
|
|
1176
762
|
}
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
isSecondaryAxis(axis) {
|
|
1226
|
-
return this.ej2Instances.isSecondaryAxis(axis);
|
|
1227
|
-
}
|
|
1228
|
-
print(id) {
|
|
1229
|
-
return this.ej2Instances.print(id);
|
|
1230
|
-
}
|
|
1231
|
-
processData(render) {
|
|
1232
|
-
return this.ej2Instances.processData(render);
|
|
1233
|
-
}
|
|
1234
|
-
refreshLiveData() {
|
|
1235
|
-
return this.ej2Instances.refreshLiveData();
|
|
1236
|
-
}
|
|
1237
|
-
removeAxis(index) {
|
|
1238
|
-
return this.ej2Instances.removeAxis(index);
|
|
1239
|
-
}
|
|
1240
|
-
removeSeries(index) {
|
|
1241
|
-
return this.ej2Instances.removeSeries(index);
|
|
1242
|
-
}
|
|
1243
|
-
setAnnotationValue(annotationIndex, content) {
|
|
1244
|
-
return this.ej2Instances.setAnnotationValue(annotationIndex, content);
|
|
1245
|
-
}
|
|
1246
|
-
};
|
|
1247
|
-
ChartComponent = __decorate$13([
|
|
1248
|
-
EJComponentDecorator({
|
|
1249
|
-
props: properties,
|
|
1250
|
-
model: {
|
|
1251
|
-
event: 'modelchanged'
|
|
1252
|
-
}
|
|
1253
|
-
}, isExecute)
|
|
1254
|
-
/* Start Options({
|
|
1255
|
-
props: props,
|
|
1256
|
-
watch: watch,
|
|
1257
|
-
emits: emitProbs,
|
|
1258
|
-
provide: function provide() {
|
|
1259
|
-
return {
|
|
1260
|
-
custom: this.custom
|
|
1261
|
-
};
|
|
1262
|
-
}
|
|
1263
|
-
}) End */
|
|
1264
|
-
], ChartComponent);
|
|
763
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
764
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
custom() {
|
|
768
|
+
this.updated();
|
|
769
|
+
},
|
|
770
|
+
addAxes(axisCollection) {
|
|
771
|
+
return this.ej2Instances.addAxes(axisCollection);
|
|
772
|
+
},
|
|
773
|
+
addSeries(seriesCollection) {
|
|
774
|
+
return this.ej2Instances.addSeries(seriesCollection);
|
|
775
|
+
},
|
|
776
|
+
clearSeries() {
|
|
777
|
+
return this.ej2Instances.clearSeries();
|
|
778
|
+
},
|
|
779
|
+
createChartSvg() {
|
|
780
|
+
return this.ej2Instances.createChartSvg();
|
|
781
|
+
},
|
|
782
|
+
export(type, fileName) {
|
|
783
|
+
return this.ej2Instances.export(type, fileName);
|
|
784
|
+
},
|
|
785
|
+
getLocalizedLabel(key) {
|
|
786
|
+
return this.ej2Instances.getLocalizedLabel(key);
|
|
787
|
+
},
|
|
788
|
+
isSecondaryAxis(axis) {
|
|
789
|
+
return this.ej2Instances.isSecondaryAxis(axis);
|
|
790
|
+
},
|
|
791
|
+
print(id) {
|
|
792
|
+
return this.ej2Instances.print(id);
|
|
793
|
+
},
|
|
794
|
+
processData(render) {
|
|
795
|
+
return this.ej2Instances.processData(render);
|
|
796
|
+
},
|
|
797
|
+
refreshLiveData() {
|
|
798
|
+
return this.ej2Instances.refreshLiveData();
|
|
799
|
+
},
|
|
800
|
+
removeAxis(index) {
|
|
801
|
+
return this.ej2Instances.removeAxis(index);
|
|
802
|
+
},
|
|
803
|
+
removeSeries(index) {
|
|
804
|
+
return this.ej2Instances.removeSeries(index);
|
|
805
|
+
},
|
|
806
|
+
setAnnotationValue(annotationIndex, content) {
|
|
807
|
+
return this.ej2Instances.setAnnotationValue(annotationIndex, content);
|
|
808
|
+
},
|
|
809
|
+
}
|
|
810
|
+
});
|
|
1265
811
|
const ChartPlugin = {
|
|
1266
812
|
name: 'ejs-chart',
|
|
1267
|
-
install(Vue
|
|
1268
|
-
Vue
|
|
1269
|
-
Vue
|
|
1270
|
-
Vue
|
|
1271
|
-
Vue
|
|
1272
|
-
Vue
|
|
1273
|
-
Vue
|
|
1274
|
-
Vue
|
|
1275
|
-
Vue
|
|
1276
|
-
Vue
|
|
1277
|
-
Vue
|
|
1278
|
-
Vue
|
|
1279
|
-
Vue
|
|
1280
|
-
Vue
|
|
1281
|
-
Vue
|
|
1282
|
-
Vue
|
|
1283
|
-
Vue
|
|
1284
|
-
Vue
|
|
1285
|
-
Vue
|
|
1286
|
-
Vue
|
|
1287
|
-
Vue
|
|
1288
|
-
Vue
|
|
1289
|
-
Vue
|
|
1290
|
-
Vue
|
|
1291
|
-
Vue
|
|
1292
|
-
Vue
|
|
1293
|
-
Vue
|
|
1294
|
-
Vue
|
|
813
|
+
install(Vue) {
|
|
814
|
+
Vue.component(ChartPlugin.name, ChartComponent);
|
|
815
|
+
Vue.component(SeriesPlugin.name, SeriesDirective);
|
|
816
|
+
Vue.component(SeriesCollectionPlugin.name, SeriesCollectionDirective);
|
|
817
|
+
Vue.component(TrendlinePlugin.name, TrendlineDirective);
|
|
818
|
+
Vue.component(TrendlinesPlugin.name, TrendlinesDirective);
|
|
819
|
+
Vue.component(SegmentPlugin.name, SegmentDirective);
|
|
820
|
+
Vue.component(SegmentsPlugin.name, SegmentsDirective);
|
|
821
|
+
Vue.component(AxisPlugin.name, AxisDirective);
|
|
822
|
+
Vue.component(AxesPlugin.name, AxesDirective);
|
|
823
|
+
Vue.component(StripLinePlugin.name, StripLineDirective);
|
|
824
|
+
Vue.component(StripLinesPlugin.name, StripLinesDirective);
|
|
825
|
+
Vue.component(MultiLevelLabelPlugin.name, MultiLevelLabelDirective);
|
|
826
|
+
Vue.component(MultiLevelLabelsPlugin.name, MultiLevelLabelsDirective);
|
|
827
|
+
Vue.component(CategoryPlugin.name, CategoryDirective);
|
|
828
|
+
Vue.component(CategoriesPlugin.name, CategoriesDirective);
|
|
829
|
+
Vue.component(RowPlugin.name, RowDirective);
|
|
830
|
+
Vue.component(RowsPlugin.name, RowsDirective);
|
|
831
|
+
Vue.component(ColumnPlugin.name, ColumnDirective);
|
|
832
|
+
Vue.component(ColumnsPlugin.name, ColumnsDirective);
|
|
833
|
+
Vue.component(RangeColorSettingPlugin.name, RangeColorSettingDirective);
|
|
834
|
+
Vue.component(RangeColorSettingsPlugin.name, RangeColorSettingsDirective);
|
|
835
|
+
Vue.component(AnnotationPlugin.name, AnnotationDirective);
|
|
836
|
+
Vue.component(AnnotationsPlugin.name, AnnotationsDirective);
|
|
837
|
+
Vue.component(SelectedDataIndexPlugin.name, SelectedDataIndexDirective);
|
|
838
|
+
Vue.component(SelectedDataIndexesPlugin.name, SelectedDataIndexesDirective);
|
|
839
|
+
Vue.component(IndicatorPlugin.name, IndicatorDirective);
|
|
840
|
+
Vue.component(IndicatorsPlugin.name, IndicatorsDirective);
|
|
1295
841
|
}
|
|
1296
842
|
};
|
|
1297
843
|
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1301
|
-
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;
|
|
1302
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1303
|
-
};
|
|
1304
|
-
// {{VueImport}}
|
|
1305
|
-
let vueImport$13;
|
|
1306
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1307
|
-
vueImport$13 = Vue;
|
|
1308
|
-
}
|
|
1309
|
-
else {
|
|
1310
|
-
vueImport$13 = Vue$1;
|
|
1311
|
-
}
|
|
1312
|
-
let AccumulationSeriesCollectionDirective =
|
|
1313
|
-
/* Start Options({
|
|
1314
|
-
inject: {
|
|
1315
|
-
custom: {
|
|
1316
|
-
default: null
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
}) End */
|
|
1320
|
-
class AccumulationSeriesCollectionDirective extends vueImport$13 {
|
|
1321
|
-
constructor() {
|
|
1322
|
-
super(arguments);
|
|
1323
|
-
}
|
|
844
|
+
let AccumulationSeriesCollectionDirective = vueDefineComponent({
|
|
845
|
+
inject: { custom: { default: null } },
|
|
1324
846
|
render(createElement) {
|
|
1325
847
|
if (!isExecute) {
|
|
1326
848
|
let h = !isExecute ? gh : createElement;
|
|
@@ -1331,76 +853,43 @@ class AccumulationSeriesCollectionDirective extends vueImport$13 {
|
|
|
1331
853
|
return h('div', { class: 'e-directive' }, slots);
|
|
1332
854
|
}
|
|
1333
855
|
return;
|
|
1334
|
-
}
|
|
856
|
+
},
|
|
1335
857
|
updated() {
|
|
1336
858
|
if (!isExecute && this.custom) {
|
|
1337
859
|
this.custom();
|
|
1338
860
|
}
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
};
|
|
1344
|
-
AccumulationSeriesCollectionDirective = __decorate$14([
|
|
1345
|
-
EJComponentDecorator({}, isExecute)
|
|
1346
|
-
/* Start Options({
|
|
1347
|
-
inject: {
|
|
1348
|
-
custom: {
|
|
1349
|
-
default: null
|
|
1350
|
-
}
|
|
861
|
+
},
|
|
862
|
+
methods: {
|
|
863
|
+
getTag() {
|
|
864
|
+
return 'e-accumulation-series-collection';
|
|
1351
865
|
}
|
|
1352
|
-
}
|
|
1353
|
-
|
|
866
|
+
}
|
|
867
|
+
});
|
|
1354
868
|
const AccumulationSeriesCollectionPlugin = {
|
|
1355
869
|
name: 'e-accumulation-series-collection',
|
|
1356
|
-
install(Vue
|
|
1357
|
-
Vue
|
|
870
|
+
install(Vue) {
|
|
871
|
+
Vue.component(AccumulationSeriesCollectionPlugin.name, AccumulationSeriesCollectionDirective);
|
|
1358
872
|
}
|
|
1359
873
|
};
|
|
1360
|
-
let AccumulationSeriesDirective =
|
|
874
|
+
let AccumulationSeriesDirective = vueDefineComponent({
|
|
1361
875
|
render() {
|
|
1362
876
|
return;
|
|
877
|
+
},
|
|
878
|
+
methods: {
|
|
879
|
+
getTag() {
|
|
880
|
+
return 'e-accumulation-series';
|
|
881
|
+
}
|
|
1363
882
|
}
|
|
1364
|
-
|
|
1365
|
-
return 'e-accumulation-series';
|
|
1366
|
-
}
|
|
1367
|
-
};
|
|
1368
|
-
AccumulationSeriesDirective = __decorate$14([
|
|
1369
|
-
EJComponentDecorator({}, isExecute)
|
|
1370
|
-
], AccumulationSeriesDirective);
|
|
883
|
+
});
|
|
1371
884
|
const AccumulationSeriesPlugin = {
|
|
1372
885
|
name: 'e-accumulation-series',
|
|
1373
|
-
install(Vue
|
|
1374
|
-
Vue
|
|
886
|
+
install(Vue) {
|
|
887
|
+
Vue.component(AccumulationSeriesPlugin.name, AccumulationSeriesDirective);
|
|
1375
888
|
}
|
|
1376
889
|
};
|
|
1377
890
|
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1381
|
-
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;
|
|
1382
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1383
|
-
};
|
|
1384
|
-
// {{VueImport}}
|
|
1385
|
-
let vueImport$14;
|
|
1386
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1387
|
-
vueImport$14 = Vue;
|
|
1388
|
-
}
|
|
1389
|
-
else {
|
|
1390
|
-
vueImport$14 = Vue$1;
|
|
1391
|
-
}
|
|
1392
|
-
let AccumulationAnnotationsDirective =
|
|
1393
|
-
/* Start Options({
|
|
1394
|
-
inject: {
|
|
1395
|
-
custom: {
|
|
1396
|
-
default: null
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
}) End */
|
|
1400
|
-
class AccumulationAnnotationsDirective extends vueImport$14 {
|
|
1401
|
-
constructor() {
|
|
1402
|
-
super(arguments);
|
|
1403
|
-
}
|
|
891
|
+
let AccumulationAnnotationsDirective = vueDefineComponent({
|
|
892
|
+
inject: { custom: { default: null } },
|
|
1404
893
|
render(createElement) {
|
|
1405
894
|
if (!isExecute) {
|
|
1406
895
|
let h = !isExecute ? gh : createElement;
|
|
@@ -1411,58 +900,42 @@ class AccumulationAnnotationsDirective extends vueImport$14 {
|
|
|
1411
900
|
return h('div', { class: 'e-directive' }, slots);
|
|
1412
901
|
}
|
|
1413
902
|
return;
|
|
1414
|
-
}
|
|
903
|
+
},
|
|
1415
904
|
updated() {
|
|
1416
905
|
if (!isExecute && this.custom) {
|
|
1417
906
|
this.custom();
|
|
1418
907
|
}
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
};
|
|
1424
|
-
AccumulationAnnotationsDirective = __decorate$15([
|
|
1425
|
-
EJComponentDecorator({}, isExecute)
|
|
1426
|
-
/* Start Options({
|
|
1427
|
-
inject: {
|
|
1428
|
-
custom: {
|
|
1429
|
-
default: null
|
|
1430
|
-
}
|
|
908
|
+
},
|
|
909
|
+
methods: {
|
|
910
|
+
getTag() {
|
|
911
|
+
return 'e-accumulation-annotations';
|
|
1431
912
|
}
|
|
1432
|
-
}
|
|
1433
|
-
|
|
913
|
+
}
|
|
914
|
+
});
|
|
1434
915
|
const AccumulationAnnotationsPlugin = {
|
|
1435
916
|
name: 'e-accumulation-annotations',
|
|
1436
|
-
install(Vue
|
|
1437
|
-
Vue
|
|
917
|
+
install(Vue) {
|
|
918
|
+
Vue.component(AccumulationAnnotationsPlugin.name, AccumulationAnnotationsDirective);
|
|
1438
919
|
}
|
|
1439
920
|
};
|
|
1440
|
-
let AccumulationAnnotationDirective =
|
|
921
|
+
let AccumulationAnnotationDirective = vueDefineComponent({
|
|
1441
922
|
render() {
|
|
1442
923
|
return;
|
|
924
|
+
},
|
|
925
|
+
methods: {
|
|
926
|
+
getTag() {
|
|
927
|
+
return 'e-accumulation-annotation';
|
|
928
|
+
}
|
|
1443
929
|
}
|
|
1444
|
-
|
|
1445
|
-
return 'e-accumulation-annotation';
|
|
1446
|
-
}
|
|
1447
|
-
};
|
|
1448
|
-
AccumulationAnnotationDirective = __decorate$15([
|
|
1449
|
-
EJComponentDecorator({}, isExecute)
|
|
1450
|
-
], AccumulationAnnotationDirective);
|
|
930
|
+
});
|
|
1451
931
|
const AccumulationAnnotationPlugin = {
|
|
1452
932
|
name: 'e-accumulation-annotation',
|
|
1453
|
-
install(Vue
|
|
1454
|
-
Vue
|
|
933
|
+
install(Vue) {
|
|
934
|
+
Vue.component(AccumulationAnnotationPlugin.name, AccumulationAnnotationDirective);
|
|
1455
935
|
}
|
|
1456
936
|
};
|
|
1457
937
|
|
|
1458
|
-
|
|
1459
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1460
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1461
|
-
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;
|
|
1462
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1463
|
-
};
|
|
1464
|
-
// {{VueImport}}
|
|
1465
|
-
const properties$1 = ['isLazyUpdate', 'plugins', 'allowExport', 'annotations', 'background', 'backgroundImage', 'border', 'center', 'currencyCode', 'dataSource', 'enableAnimation', 'enableBorderOnMouseMove', 'enableExport', 'enablePersistence', 'enableRtl', 'enableSmartLabels', 'height', 'highlightColor', 'highlightMode', 'highlightPattern', 'isMultiSelect', 'legendSettings', 'locale', 'margin', 'selectedDataIndexes', 'selectionMode', 'selectionPattern', 'series', 'subTitle', 'subTitleStyle', 'theme', 'title', 'titleStyle', 'tooltip', 'useGroupingSeparator', 'width', 'afterExport', 'animationComplete', 'annotationRender', 'beforePrint', 'beforeResize', 'chartDoubleClick', 'chartMouseClick', 'chartMouseDown', 'chartMouseLeave', 'chartMouseMove', 'chartMouseUp', 'legendClick', 'legendRender', 'load', 'loaded', 'pointClick', 'pointMove', 'pointRender', 'resized', 'selectionComplete', 'seriesRender', 'textRender', 'tooltipRender'];
|
|
938
|
+
const properties$1 = ['isLazyUpdate', 'plugins', 'allowExport', 'annotations', 'background', 'backgroundImage', 'border', 'center', 'centerLabel', 'currencyCode', 'dataSource', 'enableAnimation', 'enableBorderOnMouseMove', 'enableExport', 'enablePersistence', 'enableRtl', 'enableSmartLabels', 'height', 'highlightColor', 'highlightMode', 'highlightPattern', 'isMultiSelect', 'legendSettings', 'locale', 'margin', 'selectedDataIndexes', 'selectionMode', 'selectionPattern', 'series', 'subTitle', 'subTitleStyle', 'theme', 'title', 'titleStyle', 'tooltip', 'useGroupingSeparator', 'width', 'afterExport', 'animationComplete', 'annotationRender', 'beforePrint', 'beforeResize', 'chartDoubleClick', 'chartMouseClick', 'chartMouseDown', 'chartMouseLeave', 'chartMouseMove', 'chartMouseUp', 'legendClick', 'legendRender', 'load', 'loaded', 'pointClick', 'pointMove', 'pointRender', 'resized', 'selectionComplete', 'seriesRender', 'textRender', 'tooltipRender'];
|
|
1466
939
|
const modelProps$1 = ['dataSource'];
|
|
1467
940
|
const testProp$1 = getProps({ props: properties$1 });
|
|
1468
941
|
const props$1 = testProp$1[0];
|
|
@@ -1478,28 +951,28 @@ for (let props of modelProps$1) {
|
|
|
1478
951
|
* <ejs-accumulationchart></ejs-accumulationchart>
|
|
1479
952
|
* ```
|
|
1480
953
|
*/
|
|
1481
|
-
let AccumulationChartComponent =
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
954
|
+
let AccumulationChartComponent = vueDefineComponent({
|
|
955
|
+
name: 'AccumulationChartComponent',
|
|
956
|
+
mixins: [ComponentBase],
|
|
957
|
+
props: props$1,
|
|
958
|
+
watch: watch$1,
|
|
959
|
+
emits: emitProbs$1,
|
|
960
|
+
model: { event: 'modelchanged' },
|
|
961
|
+
provide() { return { custom: this.custom }; },
|
|
962
|
+
data() {
|
|
1487
963
|
return {
|
|
1488
|
-
|
|
964
|
+
ej2Instances: new AccumulationChart({}),
|
|
965
|
+
propKeys: properties$1,
|
|
966
|
+
models: modelProps$1,
|
|
967
|
+
hasChildDirective: true,
|
|
968
|
+
hasInjectedModules: true,
|
|
969
|
+
tagMapper: { "e-accumulation-series-collection": "e-accumulation-series", "e-accumulation-annotations": "e-accumulation-annotation" },
|
|
970
|
+
tagNameMapper: { "e-accumulation-series-collection": "e-series", "e-accumulation-annotations": "e-annotations" },
|
|
971
|
+
isVue3: !isExecute,
|
|
972
|
+
templateCollection: {},
|
|
1489
973
|
};
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
class AccumulationChartComponent extends ComponentBase {
|
|
1493
|
-
constructor() {
|
|
1494
|
-
super(arguments);
|
|
1495
|
-
this.propKeys = properties$1;
|
|
1496
|
-
this.models = modelProps$1;
|
|
1497
|
-
this.hasChildDirective = true;
|
|
1498
|
-
this.hasInjectedModules = true;
|
|
1499
|
-
this.tagMapper = { "e-accumulation-series-collection": "e-accumulation-series", "e-accumulation-annotations": "e-accumulation-annotation" };
|
|
1500
|
-
this.tagNameMapper = { "e-accumulation-series-collection": "e-series", "e-accumulation-annotations": "e-annotations" };
|
|
1501
|
-
this.isVue3 = !isExecute;
|
|
1502
|
-
this.ej2Instances = new AccumulationChart({});
|
|
974
|
+
},
|
|
975
|
+
created() {
|
|
1503
976
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1504
977
|
this.ej2Instances.trigger = this.trigger;
|
|
1505
978
|
this.bindProperties();
|
|
@@ -1507,170 +980,130 @@ class AccumulationChartComponent extends ComponentBase {
|
|
|
1507
980
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1508
981
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1509
982
|
this.updated = this.updated;
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
983
|
+
},
|
|
984
|
+
render(createElement) {
|
|
985
|
+
let h = !isExecute ? gh : createElement;
|
|
986
|
+
let slots = null;
|
|
987
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
988
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
989
|
+
}
|
|
990
|
+
return h('div', slots);
|
|
991
|
+
},
|
|
992
|
+
methods: {
|
|
993
|
+
clearTemplate(templateNames) {
|
|
994
|
+
if (!templateNames) {
|
|
995
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
996
|
+
}
|
|
997
|
+
if (templateNames.length && this.templateCollection) {
|
|
998
|
+
for (let tempName of templateNames) {
|
|
999
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1000
|
+
if (elementCollection && elementCollection.length) {
|
|
1001
|
+
for (let ele of elementCollection) {
|
|
1002
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1003
|
+
if (destroy) {
|
|
1004
|
+
ele.__vue__.$destroy();
|
|
1005
|
+
}
|
|
1006
|
+
if (ele.innerHTML) {
|
|
1007
|
+
ele.innerHTML = '';
|
|
1008
|
+
}
|
|
1526
1009
|
}
|
|
1010
|
+
delete this.templateCollection[tempName];
|
|
1527
1011
|
}
|
|
1528
|
-
delete this.templateCollection[tempName];
|
|
1529
1012
|
}
|
|
1530
1013
|
}
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1014
|
+
},
|
|
1015
|
+
setProperties(prop, muteOnChange) {
|
|
1016
|
+
if (this.isVue3) {
|
|
1017
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1018
|
+
}
|
|
1019
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1020
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1021
|
+
}
|
|
1022
|
+
if (prop && this.models && this.models.length) {
|
|
1023
|
+
Object.keys(prop).map((key) => {
|
|
1024
|
+
this.models.map((model) => {
|
|
1025
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1026
|
+
if (this.isVue3) {
|
|
1027
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1028
|
+
}
|
|
1029
|
+
else {
|
|
1030
|
+
this.$emit('update:' + key, prop[key]);
|
|
1031
|
+
this.$emit('modelchanged', prop[key]);
|
|
1032
|
+
}
|
|
1546
1033
|
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1034
|
+
});
|
|
1035
|
+
});
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
trigger(eventName, eventProp, successHandler) {
|
|
1039
|
+
if (!isExecute) {
|
|
1040
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1041
|
+
}
|
|
1042
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1043
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
1044
|
+
let propKey = key[0];
|
|
1045
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1046
|
+
if (!isExecute) {
|
|
1047
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1048
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1049
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1050
|
+
}
|
|
1051
|
+
else {
|
|
1052
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1053
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1054
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1550
1055
|
}
|
|
1551
1056
|
}
|
|
1552
|
-
});
|
|
1553
|
-
});
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
trigger(eventName, eventProp, successHandler) {
|
|
1557
|
-
if (!isExecute) {
|
|
1558
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1559
|
-
}
|
|
1560
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1561
|
-
let key = this.models.toString().match(/checked|value/) || [];
|
|
1562
|
-
let propKey = key[0];
|
|
1563
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1564
|
-
if (!isExecute) {
|
|
1565
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1566
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1567
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1568
1057
|
}
|
|
1569
|
-
|
|
1570
|
-
|
|
1058
|
+
}
|
|
1059
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1060
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1061
|
+
let propKey = key[0];
|
|
1062
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1063
|
+
if (!isExecute) {
|
|
1064
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1065
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1066
|
+
}
|
|
1067
|
+
else {
|
|
1571
1068
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1572
1069
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
1573
1070
|
}
|
|
1574
1071
|
}
|
|
1575
1072
|
}
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
let slots = null;
|
|
1598
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1599
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1600
|
-
}
|
|
1601
|
-
return h('div', slots);
|
|
1602
|
-
}
|
|
1603
|
-
custom() {
|
|
1604
|
-
this.updated();
|
|
1605
|
-
}
|
|
1606
|
-
export(type, fileName) {
|
|
1607
|
-
return this.ej2Instances.export(type, fileName);
|
|
1608
|
-
}
|
|
1609
|
-
print(id) {
|
|
1610
|
-
return this.ej2Instances.print(id);
|
|
1611
|
-
}
|
|
1612
|
-
setAnnotationValue(annotationIndex, content) {
|
|
1613
|
-
return this.ej2Instances.setAnnotationValue(annotationIndex, content);
|
|
1614
|
-
}
|
|
1615
|
-
titleTooltip(event, x, y, isTouch) {
|
|
1616
|
-
return this.ej2Instances.titleTooltip(event, x, y, isTouch);
|
|
1617
|
-
}
|
|
1618
|
-
};
|
|
1619
|
-
AccumulationChartComponent = __decorate$16([
|
|
1620
|
-
EJComponentDecorator({
|
|
1621
|
-
props: properties$1,
|
|
1622
|
-
model: {
|
|
1623
|
-
event: 'modelchanged'
|
|
1624
|
-
}
|
|
1625
|
-
}, isExecute)
|
|
1626
|
-
/* Start Options({
|
|
1627
|
-
props: props,
|
|
1628
|
-
watch: watch,
|
|
1629
|
-
emits: emitProbs,
|
|
1630
|
-
provide: function provide() {
|
|
1631
|
-
return {
|
|
1632
|
-
custom: this.custom
|
|
1633
|
-
};
|
|
1634
|
-
}
|
|
1635
|
-
}) End */
|
|
1636
|
-
], AccumulationChartComponent);
|
|
1073
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1074
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
custom() {
|
|
1078
|
+
this.updated();
|
|
1079
|
+
},
|
|
1080
|
+
export(type, fileName) {
|
|
1081
|
+
return this.ej2Instances.export(type, fileName);
|
|
1082
|
+
},
|
|
1083
|
+
print(id) {
|
|
1084
|
+
return this.ej2Instances.print(id);
|
|
1085
|
+
},
|
|
1086
|
+
setAnnotationValue(annotationIndex, content) {
|
|
1087
|
+
return this.ej2Instances.setAnnotationValue(annotationIndex, content);
|
|
1088
|
+
},
|
|
1089
|
+
titleTooltip(event, x, y, isTouch) {
|
|
1090
|
+
return this.ej2Instances.titleTooltip(event, x, y, isTouch);
|
|
1091
|
+
},
|
|
1092
|
+
}
|
|
1093
|
+
});
|
|
1637
1094
|
const AccumulationChartPlugin = {
|
|
1638
1095
|
name: 'ejs-accumulationchart',
|
|
1639
|
-
install(Vue
|
|
1640
|
-
Vue
|
|
1641
|
-
Vue
|
|
1642
|
-
Vue
|
|
1643
|
-
Vue
|
|
1644
|
-
Vue
|
|
1096
|
+
install(Vue) {
|
|
1097
|
+
Vue.component(AccumulationChartPlugin.name, AccumulationChartComponent);
|
|
1098
|
+
Vue.component(AccumulationSeriesPlugin.name, AccumulationSeriesDirective);
|
|
1099
|
+
Vue.component(AccumulationSeriesCollectionPlugin.name, AccumulationSeriesCollectionDirective);
|
|
1100
|
+
Vue.component(AccumulationAnnotationPlugin.name, AccumulationAnnotationDirective);
|
|
1101
|
+
Vue.component(AccumulationAnnotationsPlugin.name, AccumulationAnnotationsDirective);
|
|
1645
1102
|
}
|
|
1646
1103
|
};
|
|
1647
1104
|
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1651
|
-
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;
|
|
1652
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1653
|
-
};
|
|
1654
|
-
// {{VueImport}}
|
|
1655
|
-
let vueImport$15;
|
|
1656
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1657
|
-
vueImport$15 = Vue;
|
|
1658
|
-
}
|
|
1659
|
-
else {
|
|
1660
|
-
vueImport$15 = Vue$1;
|
|
1661
|
-
}
|
|
1662
|
-
let RangenavigatorSeriesCollectionDirective =
|
|
1663
|
-
/* Start Options({
|
|
1664
|
-
inject: {
|
|
1665
|
-
custom: {
|
|
1666
|
-
default: null
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
}) End */
|
|
1670
|
-
class RangenavigatorSeriesCollectionDirective extends vueImport$15 {
|
|
1671
|
-
constructor() {
|
|
1672
|
-
super(arguments);
|
|
1673
|
-
}
|
|
1105
|
+
let RangenavigatorSeriesCollectionDirective = vueDefineComponent({
|
|
1106
|
+
inject: { custom: { default: null } },
|
|
1674
1107
|
render(createElement) {
|
|
1675
1108
|
if (!isExecute) {
|
|
1676
1109
|
let h = !isExecute ? gh : createElement;
|
|
@@ -1681,57 +1114,41 @@ class RangenavigatorSeriesCollectionDirective extends vueImport$15 {
|
|
|
1681
1114
|
return h('div', { class: 'e-directive' }, slots);
|
|
1682
1115
|
}
|
|
1683
1116
|
return;
|
|
1684
|
-
}
|
|
1117
|
+
},
|
|
1685
1118
|
updated() {
|
|
1686
1119
|
if (!isExecute && this.custom) {
|
|
1687
1120
|
this.custom();
|
|
1688
1121
|
}
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
};
|
|
1694
|
-
RangenavigatorSeriesCollectionDirective = __decorate$17([
|
|
1695
|
-
EJComponentDecorator({}, isExecute)
|
|
1696
|
-
/* Start Options({
|
|
1697
|
-
inject: {
|
|
1698
|
-
custom: {
|
|
1699
|
-
default: null
|
|
1700
|
-
}
|
|
1122
|
+
},
|
|
1123
|
+
methods: {
|
|
1124
|
+
getTag() {
|
|
1125
|
+
return 'e-rangenavigator-series-collection';
|
|
1701
1126
|
}
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1127
|
+
}
|
|
1128
|
+
});
|
|
1704
1129
|
const RangenavigatorSeriesCollectionPlugin = {
|
|
1705
1130
|
name: 'e-rangenavigator-series-collection',
|
|
1706
|
-
install(Vue
|
|
1707
|
-
Vue
|
|
1131
|
+
install(Vue) {
|
|
1132
|
+
Vue.component(RangenavigatorSeriesCollectionPlugin.name, RangenavigatorSeriesCollectionDirective);
|
|
1708
1133
|
}
|
|
1709
1134
|
};
|
|
1710
|
-
let RangenavigatorSeriesDirective =
|
|
1135
|
+
let RangenavigatorSeriesDirective = vueDefineComponent({
|
|
1711
1136
|
render() {
|
|
1712
1137
|
return;
|
|
1138
|
+
},
|
|
1139
|
+
methods: {
|
|
1140
|
+
getTag() {
|
|
1141
|
+
return 'e-rangenavigator-series';
|
|
1142
|
+
}
|
|
1713
1143
|
}
|
|
1714
|
-
|
|
1715
|
-
return 'e-rangenavigator-series';
|
|
1716
|
-
}
|
|
1717
|
-
};
|
|
1718
|
-
RangenavigatorSeriesDirective = __decorate$17([
|
|
1719
|
-
EJComponentDecorator({}, isExecute)
|
|
1720
|
-
], RangenavigatorSeriesDirective);
|
|
1144
|
+
});
|
|
1721
1145
|
const RangenavigatorSeriesPlugin = {
|
|
1722
1146
|
name: 'e-rangenavigator-series',
|
|
1723
|
-
install(Vue
|
|
1724
|
-
Vue
|
|
1147
|
+
install(Vue) {
|
|
1148
|
+
Vue.component(RangenavigatorSeriesPlugin.name, RangenavigatorSeriesDirective);
|
|
1725
1149
|
}
|
|
1726
1150
|
};
|
|
1727
1151
|
|
|
1728
|
-
var __decorate$18 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1729
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1730
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1731
|
-
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;
|
|
1732
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1733
|
-
};
|
|
1734
|
-
// {{VueImport}}
|
|
1735
1152
|
const properties$2 = ['isLazyUpdate', 'plugins', 'allowIntervalData', 'allowSnapping', 'animationDuration', 'background', 'dataSource', 'disableRangeSelector', 'enableDeferredUpdate', 'enableGrouping', 'enablePersistence', 'enableRtl', 'groupBy', 'height', 'interval', 'intervalType', 'labelFormat', 'labelIntersectAction', 'labelPosition', 'labelStyle', 'locale', 'logBase', 'majorGridLines', 'majorTickLines', 'margin', 'maximum', 'minimum', 'navigatorBorder', 'navigatorStyleSettings', 'periodSelectorSettings', 'query', 'secondaryLabelAlignment', 'series', 'skeleton', 'skeletonType', 'theme', 'tickPosition', 'tooltip', 'useGroupingSeparator', 'value', 'valueType', 'width', 'xName', 'yName', 'beforePrint', 'beforeResize', 'changed', 'labelRender', 'load', 'loaded', 'resized', 'selectorRender', 'tooltipRender'];
|
|
1736
1153
|
const modelProps$2 = ['dataSource'];
|
|
1737
1154
|
const testProp$2 = getProps({ props: properties$2 });
|
|
@@ -1748,28 +1165,28 @@ for (let props of modelProps$2) {
|
|
|
1748
1165
|
* <ejs-rangenavigator></ejs-rangenavigator>
|
|
1749
1166
|
* ```
|
|
1750
1167
|
*/
|
|
1751
|
-
let RangeNavigatorComponent =
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1168
|
+
let RangeNavigatorComponent = vueDefineComponent({
|
|
1169
|
+
name: 'RangeNavigatorComponent',
|
|
1170
|
+
mixins: [ComponentBase],
|
|
1171
|
+
props: props$2,
|
|
1172
|
+
watch: watch$2,
|
|
1173
|
+
emits: emitProbs$2,
|
|
1174
|
+
model: { event: 'modelchanged' },
|
|
1175
|
+
provide() { return { custom: this.custom }; },
|
|
1176
|
+
data() {
|
|
1757
1177
|
return {
|
|
1758
|
-
|
|
1178
|
+
ej2Instances: new RangeNavigator({}),
|
|
1179
|
+
propKeys: properties$2,
|
|
1180
|
+
models: modelProps$2,
|
|
1181
|
+
hasChildDirective: true,
|
|
1182
|
+
hasInjectedModules: true,
|
|
1183
|
+
tagMapper: { "e-rangenavigator-series-collection": "e-rangenavigator-series" },
|
|
1184
|
+
tagNameMapper: { "e-rangenavigator-series-collection": "e-series" },
|
|
1185
|
+
isVue3: !isExecute,
|
|
1186
|
+
templateCollection: {},
|
|
1759
1187
|
};
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
class RangeNavigatorComponent extends ComponentBase {
|
|
1763
|
-
constructor() {
|
|
1764
|
-
super(arguments);
|
|
1765
|
-
this.propKeys = properties$2;
|
|
1766
|
-
this.models = modelProps$2;
|
|
1767
|
-
this.hasChildDirective = true;
|
|
1768
|
-
this.hasInjectedModules = true;
|
|
1769
|
-
this.tagMapper = { "e-rangenavigator-series-collection": "e-rangenavigator-series" };
|
|
1770
|
-
this.tagNameMapper = { "e-rangenavigator-series-collection": "e-series" };
|
|
1771
|
-
this.isVue3 = !isExecute;
|
|
1772
|
-
this.ej2Instances = new RangeNavigator({});
|
|
1188
|
+
},
|
|
1189
|
+
created() {
|
|
1773
1190
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1774
1191
|
this.ej2Instances.trigger = this.trigger;
|
|
1775
1192
|
this.bindProperties();
|
|
@@ -1777,168 +1194,128 @@ class RangeNavigatorComponent extends ComponentBase {
|
|
|
1777
1194
|
this.ej2Instances.setProperties = this.setProperties;
|
|
1778
1195
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1779
1196
|
this.updated = this.updated;
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1197
|
+
},
|
|
1198
|
+
render(createElement) {
|
|
1199
|
+
let h = !isExecute ? gh : createElement;
|
|
1200
|
+
let slots = null;
|
|
1201
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1202
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1203
|
+
}
|
|
1204
|
+
return h('div', slots);
|
|
1205
|
+
},
|
|
1206
|
+
methods: {
|
|
1207
|
+
clearTemplate(templateNames) {
|
|
1208
|
+
if (!templateNames) {
|
|
1209
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1210
|
+
}
|
|
1211
|
+
if (templateNames.length && this.templateCollection) {
|
|
1212
|
+
for (let tempName of templateNames) {
|
|
1213
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1214
|
+
if (elementCollection && elementCollection.length) {
|
|
1215
|
+
for (let ele of elementCollection) {
|
|
1216
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1217
|
+
if (destroy) {
|
|
1218
|
+
ele.__vue__.$destroy();
|
|
1219
|
+
}
|
|
1220
|
+
if (ele.innerHTML) {
|
|
1221
|
+
ele.innerHTML = '';
|
|
1222
|
+
}
|
|
1796
1223
|
}
|
|
1224
|
+
delete this.templateCollection[tempName];
|
|
1797
1225
|
}
|
|
1798
|
-
delete this.templateCollection[tempName];
|
|
1799
1226
|
}
|
|
1800
1227
|
}
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1228
|
+
},
|
|
1229
|
+
setProperties(prop, muteOnChange) {
|
|
1230
|
+
if (this.isVue3) {
|
|
1231
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1232
|
+
}
|
|
1233
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1234
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1235
|
+
}
|
|
1236
|
+
if (prop && this.models && this.models.length) {
|
|
1237
|
+
Object.keys(prop).map((key) => {
|
|
1238
|
+
this.models.map((model) => {
|
|
1239
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1240
|
+
if (this.isVue3) {
|
|
1241
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1242
|
+
}
|
|
1243
|
+
else {
|
|
1244
|
+
this.$emit('update:' + key, prop[key]);
|
|
1245
|
+
this.$emit('modelchanged', prop[key]);
|
|
1246
|
+
}
|
|
1816
1247
|
}
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1248
|
+
});
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
trigger(eventName, eventProp, successHandler) {
|
|
1253
|
+
if (!isExecute) {
|
|
1254
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1255
|
+
}
|
|
1256
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1257
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
1258
|
+
let propKey = key[0];
|
|
1259
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1260
|
+
if (!isExecute) {
|
|
1261
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1262
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1263
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1264
|
+
}
|
|
1265
|
+
else {
|
|
1266
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1267
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1268
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1820
1269
|
}
|
|
1821
1270
|
}
|
|
1822
|
-
});
|
|
1823
|
-
});
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
trigger(eventName, eventProp, successHandler) {
|
|
1827
|
-
if (!isExecute) {
|
|
1828
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1829
|
-
}
|
|
1830
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1831
|
-
let key = this.models.toString().match(/checked|value/) || [];
|
|
1832
|
-
let propKey = key[0];
|
|
1833
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1834
|
-
if (!isExecute) {
|
|
1835
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1836
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1837
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1838
1271
|
}
|
|
1839
|
-
|
|
1840
|
-
|
|
1272
|
+
}
|
|
1273
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1274
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1275
|
+
let propKey = key[0];
|
|
1276
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1277
|
+
if (!isExecute) {
|
|
1278
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1279
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1280
|
+
}
|
|
1281
|
+
else {
|
|
1841
1282
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1842
1283
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
1843
1284
|
}
|
|
1844
1285
|
}
|
|
1845
1286
|
}
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
let slots = null;
|
|
1868
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1869
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1870
|
-
}
|
|
1871
|
-
return h('div', slots);
|
|
1872
|
-
}
|
|
1873
|
-
custom() {
|
|
1874
|
-
this.updated();
|
|
1875
|
-
}
|
|
1876
|
-
createSecondaryElement() {
|
|
1877
|
-
return this.ej2Instances.createSecondaryElement();
|
|
1878
|
-
}
|
|
1879
|
-
export(type, fileName, orientation, controls, width, height, isVertical) {
|
|
1880
|
-
return this.ej2Instances.export(type, fileName, orientation, controls, width, height, isVertical);
|
|
1881
|
-
}
|
|
1882
|
-
print(id) {
|
|
1883
|
-
return this.ej2Instances.print(id);
|
|
1884
|
-
}
|
|
1885
|
-
renderChart(resize) {
|
|
1886
|
-
return this.ej2Instances.renderChart(resize);
|
|
1887
|
-
}
|
|
1888
|
-
};
|
|
1889
|
-
RangeNavigatorComponent = __decorate$18([
|
|
1890
|
-
EJComponentDecorator({
|
|
1891
|
-
props: properties$2,
|
|
1892
|
-
model: {
|
|
1893
|
-
event: 'modelchanged'
|
|
1894
|
-
}
|
|
1895
|
-
}, isExecute)
|
|
1896
|
-
/* Start Options({
|
|
1897
|
-
props: props,
|
|
1898
|
-
watch: watch,
|
|
1899
|
-
emits: emitProbs,
|
|
1900
|
-
provide: function provide() {
|
|
1901
|
-
return {
|
|
1902
|
-
custom: this.custom
|
|
1903
|
-
};
|
|
1904
|
-
}
|
|
1905
|
-
}) End */
|
|
1906
|
-
], RangeNavigatorComponent);
|
|
1287
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1288
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
custom() {
|
|
1292
|
+
this.updated();
|
|
1293
|
+
},
|
|
1294
|
+
createSecondaryElement() {
|
|
1295
|
+
return this.ej2Instances.createSecondaryElement();
|
|
1296
|
+
},
|
|
1297
|
+
export(type, fileName, orientation, controls, width, height, isVertical) {
|
|
1298
|
+
return this.ej2Instances.export(type, fileName, orientation, controls, width, height, isVertical);
|
|
1299
|
+
},
|
|
1300
|
+
print(id) {
|
|
1301
|
+
return this.ej2Instances.print(id);
|
|
1302
|
+
},
|
|
1303
|
+
renderChart(resize) {
|
|
1304
|
+
return this.ej2Instances.renderChart(resize);
|
|
1305
|
+
},
|
|
1306
|
+
}
|
|
1307
|
+
});
|
|
1907
1308
|
const RangeNavigatorPlugin = {
|
|
1908
1309
|
name: 'ejs-rangenavigator',
|
|
1909
|
-
install(Vue
|
|
1910
|
-
Vue
|
|
1911
|
-
Vue
|
|
1912
|
-
Vue
|
|
1310
|
+
install(Vue) {
|
|
1311
|
+
Vue.component(RangeNavigatorPlugin.name, RangeNavigatorComponent);
|
|
1312
|
+
Vue.component(RangenavigatorSeriesPlugin.name, RangenavigatorSeriesDirective);
|
|
1313
|
+
Vue.component(RangenavigatorSeriesCollectionPlugin.name, RangenavigatorSeriesCollectionDirective);
|
|
1913
1314
|
}
|
|
1914
1315
|
};
|
|
1915
1316
|
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1919
|
-
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;
|
|
1920
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1921
|
-
};
|
|
1922
|
-
// {{VueImport}}
|
|
1923
|
-
let vueImport$16;
|
|
1924
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
1925
|
-
vueImport$16 = Vue;
|
|
1926
|
-
}
|
|
1927
|
-
else {
|
|
1928
|
-
vueImport$16 = Vue$1;
|
|
1929
|
-
}
|
|
1930
|
-
let RangeBandSettingsDirective =
|
|
1931
|
-
/* Start Options({
|
|
1932
|
-
inject: {
|
|
1933
|
-
custom: {
|
|
1934
|
-
default: null
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
}) End */
|
|
1938
|
-
class RangeBandSettingsDirective extends vueImport$16 {
|
|
1939
|
-
constructor() {
|
|
1940
|
-
super(arguments);
|
|
1941
|
-
}
|
|
1317
|
+
let RangeBandSettingsDirective = vueDefineComponent({
|
|
1318
|
+
inject: { custom: { default: null } },
|
|
1942
1319
|
render(createElement) {
|
|
1943
1320
|
if (!isExecute) {
|
|
1944
1321
|
let h = !isExecute ? gh : createElement;
|
|
@@ -1949,57 +1326,41 @@ class RangeBandSettingsDirective extends vueImport$16 {
|
|
|
1949
1326
|
return h('div', { class: 'e-directive' }, slots);
|
|
1950
1327
|
}
|
|
1951
1328
|
return;
|
|
1952
|
-
}
|
|
1329
|
+
},
|
|
1953
1330
|
updated() {
|
|
1954
1331
|
if (!isExecute && this.custom) {
|
|
1955
1332
|
this.custom();
|
|
1956
1333
|
}
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
};
|
|
1962
|
-
RangeBandSettingsDirective = __decorate$19([
|
|
1963
|
-
EJComponentDecorator({}, isExecute)
|
|
1964
|
-
/* Start Options({
|
|
1965
|
-
inject: {
|
|
1966
|
-
custom: {
|
|
1967
|
-
default: null
|
|
1968
|
-
}
|
|
1334
|
+
},
|
|
1335
|
+
methods: {
|
|
1336
|
+
getTag() {
|
|
1337
|
+
return 'e-rangeBandSettings';
|
|
1969
1338
|
}
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1339
|
+
}
|
|
1340
|
+
});
|
|
1972
1341
|
const RangeBandSettingsPlugin = {
|
|
1973
1342
|
name: 'e-rangeBandSettings',
|
|
1974
|
-
install(Vue
|
|
1975
|
-
Vue
|
|
1343
|
+
install(Vue) {
|
|
1344
|
+
Vue.component(RangeBandSettingsPlugin.name, RangeBandSettingsDirective);
|
|
1976
1345
|
}
|
|
1977
1346
|
};
|
|
1978
|
-
let RangeBandSettingDirective =
|
|
1347
|
+
let RangeBandSettingDirective = vueDefineComponent({
|
|
1979
1348
|
render() {
|
|
1980
1349
|
return;
|
|
1350
|
+
},
|
|
1351
|
+
methods: {
|
|
1352
|
+
getTag() {
|
|
1353
|
+
return 'e-rangeBandSetting';
|
|
1354
|
+
}
|
|
1981
1355
|
}
|
|
1982
|
-
|
|
1983
|
-
return 'e-rangeBandSetting';
|
|
1984
|
-
}
|
|
1985
|
-
};
|
|
1986
|
-
RangeBandSettingDirective = __decorate$19([
|
|
1987
|
-
EJComponentDecorator({}, isExecute)
|
|
1988
|
-
], RangeBandSettingDirective);
|
|
1356
|
+
});
|
|
1989
1357
|
const RangeBandSettingPlugin = {
|
|
1990
1358
|
name: 'e-rangeBandSetting',
|
|
1991
|
-
install(Vue
|
|
1992
|
-
Vue
|
|
1359
|
+
install(Vue) {
|
|
1360
|
+
Vue.component(RangeBandSettingPlugin.name, RangeBandSettingDirective);
|
|
1993
1361
|
}
|
|
1994
1362
|
};
|
|
1995
1363
|
|
|
1996
|
-
var __decorate$20 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1997
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1998
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1999
|
-
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;
|
|
2000
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2001
|
-
};
|
|
2002
|
-
// {{VueImport}}
|
|
2003
1364
|
const properties$3 = ['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'];
|
|
2004
1365
|
const modelProps$3 = [];
|
|
2005
1366
|
const testProp$3 = getProps({ props: properties$3 });
|
|
@@ -2016,79 +1377,33 @@ for (let props of modelProps$3) {
|
|
|
2016
1377
|
* <ejs-sparkline></ejs-sparkline>
|
|
2017
1378
|
* ```
|
|
2018
1379
|
*/
|
|
2019
|
-
let SparklineComponent =
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
1380
|
+
let SparklineComponent = vueDefineComponent({
|
|
1381
|
+
name: 'SparklineComponent',
|
|
1382
|
+
mixins: [ComponentBase],
|
|
1383
|
+
props: props$3,
|
|
1384
|
+
watch: watch$3,
|
|
1385
|
+
emits: emitProbs$3,
|
|
1386
|
+
provide() { return { custom: this.custom }; },
|
|
1387
|
+
data() {
|
|
2025
1388
|
return {
|
|
2026
|
-
|
|
1389
|
+
ej2Instances: new Sparkline({}),
|
|
1390
|
+
propKeys: properties$3,
|
|
1391
|
+
models: modelProps$3,
|
|
1392
|
+
hasChildDirective: true,
|
|
1393
|
+
hasInjectedModules: true,
|
|
1394
|
+
tagMapper: { "e-rangeBandSettings": "e-rangeBandSetting" },
|
|
1395
|
+
tagNameMapper: {},
|
|
1396
|
+
isVue3: !isExecute,
|
|
1397
|
+
templateCollection: {},
|
|
2027
1398
|
};
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
|
-
class SparklineComponent extends ComponentBase {
|
|
2031
|
-
constructor() {
|
|
2032
|
-
super(arguments);
|
|
2033
|
-
this.propKeys = properties$3;
|
|
2034
|
-
this.models = modelProps$3;
|
|
2035
|
-
this.hasChildDirective = true;
|
|
2036
|
-
this.hasInjectedModules = true;
|
|
2037
|
-
this.tagMapper = { "e-rangeBandSettings": "e-rangeBandSetting" };
|
|
2038
|
-
this.tagNameMapper = {};
|
|
2039
|
-
this.isVue3 = !isExecute;
|
|
2040
|
-
this.ej2Instances = new Sparkline({});
|
|
1399
|
+
},
|
|
1400
|
+
created() {
|
|
2041
1401
|
this.bindProperties();
|
|
2042
1402
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
2043
1403
|
this.ej2Instances.setProperties = this.setProperties;
|
|
2044
1404
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
2045
1405
|
this.updated = this.updated;
|
|
2046
|
-
}
|
|
2047
|
-
clearTemplate(templateNames) {
|
|
2048
|
-
if (!templateNames) {
|
|
2049
|
-
templateNames = Object.keys(this.templateCollection || {});
|
|
2050
|
-
}
|
|
2051
|
-
if (templateNames.length && this.templateCollection) {
|
|
2052
|
-
for (let tempName of templateNames) {
|
|
2053
|
-
let elementCollection = this.templateCollection[tempName];
|
|
2054
|
-
if (elementCollection && elementCollection.length) {
|
|
2055
|
-
for (let ele of elementCollection) {
|
|
2056
|
-
let destroy = getValue('__vue__.$destroy', ele);
|
|
2057
|
-
if (destroy) {
|
|
2058
|
-
ele.__vue__.$destroy();
|
|
2059
|
-
}
|
|
2060
|
-
if (ele.innerHTML) {
|
|
2061
|
-
ele.innerHTML = '';
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
delete this.templateCollection[tempName];
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
}
|
|
2068
|
-
}
|
|
2069
|
-
setProperties(prop, muteOnChange) {
|
|
2070
|
-
if (this.isVue3) {
|
|
2071
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2072
|
-
}
|
|
2073
|
-
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
2074
|
-
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
2075
|
-
}
|
|
2076
|
-
if (prop && this.models && this.models.length) {
|
|
2077
|
-
Object.keys(prop).map((key) => {
|
|
2078
|
-
this.models.map((model) => {
|
|
2079
|
-
if ((key === model) && !(/datasource/i.test(key))) {
|
|
2080
|
-
if (this.isVue3) {
|
|
2081
|
-
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
2082
|
-
}
|
|
2083
|
-
else {
|
|
2084
|
-
this.$emit('update:' + key, prop[key]);
|
|
2085
|
-
this.$emit('modelchanged', prop[key]);
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
});
|
|
2089
|
-
});
|
|
2090
|
-
}
|
|
2091
|
-
}
|
|
1406
|
+
},
|
|
2092
1407
|
render(createElement) {
|
|
2093
1408
|
let h = !isExecute ? gh : createElement;
|
|
2094
1409
|
let slots = null;
|
|
@@ -2096,64 +1411,72 @@ class SparklineComponent extends ComponentBase {
|
|
|
2096
1411
|
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
2097
1412
|
}
|
|
2098
1413
|
return h('div', slots);
|
|
1414
|
+
},
|
|
1415
|
+
methods: {
|
|
1416
|
+
clearTemplate(templateNames) {
|
|
1417
|
+
if (!templateNames) {
|
|
1418
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1419
|
+
}
|
|
1420
|
+
if (templateNames.length && this.templateCollection) {
|
|
1421
|
+
for (let tempName of templateNames) {
|
|
1422
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1423
|
+
if (elementCollection && elementCollection.length) {
|
|
1424
|
+
for (let ele of elementCollection) {
|
|
1425
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1426
|
+
if (destroy) {
|
|
1427
|
+
ele.__vue__.$destroy();
|
|
1428
|
+
}
|
|
1429
|
+
if (ele.innerHTML) {
|
|
1430
|
+
ele.innerHTML = '';
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
delete this.templateCollection[tempName];
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
setProperties(prop, muteOnChange) {
|
|
1439
|
+
if (this.isVue3) {
|
|
1440
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1441
|
+
}
|
|
1442
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1443
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1444
|
+
}
|
|
1445
|
+
if (prop && this.models && this.models.length) {
|
|
1446
|
+
Object.keys(prop).map((key) => {
|
|
1447
|
+
this.models.map((model) => {
|
|
1448
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1449
|
+
if (this.isVue3) {
|
|
1450
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1451
|
+
}
|
|
1452
|
+
else {
|
|
1453
|
+
this.$emit('update:' + key, prop[key]);
|
|
1454
|
+
this.$emit('modelchanged', prop[key]);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
});
|
|
1458
|
+
});
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
custom() {
|
|
1462
|
+
this.updated();
|
|
1463
|
+
},
|
|
1464
|
+
renderSparkline() {
|
|
1465
|
+
return this.ej2Instances.renderSparkline();
|
|
1466
|
+
},
|
|
2099
1467
|
}
|
|
2100
|
-
|
|
2101
|
-
this.updated();
|
|
2102
|
-
}
|
|
2103
|
-
renderSparkline() {
|
|
2104
|
-
return this.ej2Instances.renderSparkline();
|
|
2105
|
-
}
|
|
2106
|
-
};
|
|
2107
|
-
SparklineComponent = __decorate$20([
|
|
2108
|
-
EJComponentDecorator({
|
|
2109
|
-
props: properties$3
|
|
2110
|
-
}, isExecute)
|
|
2111
|
-
/* Start Options({
|
|
2112
|
-
props: props,
|
|
2113
|
-
watch: watch,
|
|
2114
|
-
emits: emitProbs,
|
|
2115
|
-
provide: function provide() {
|
|
2116
|
-
return {
|
|
2117
|
-
custom: this.custom
|
|
2118
|
-
};
|
|
2119
|
-
}
|
|
2120
|
-
}) End */
|
|
2121
|
-
], SparklineComponent);
|
|
1468
|
+
});
|
|
2122
1469
|
const SparklinePlugin = {
|
|
2123
1470
|
name: 'ejs-sparkline',
|
|
2124
|
-
install(Vue
|
|
2125
|
-
Vue
|
|
2126
|
-
Vue
|
|
2127
|
-
Vue
|
|
1471
|
+
install(Vue) {
|
|
1472
|
+
Vue.component(SparklinePlugin.name, SparklineComponent);
|
|
1473
|
+
Vue.component(RangeBandSettingPlugin.name, RangeBandSettingDirective);
|
|
1474
|
+
Vue.component(RangeBandSettingsPlugin.name, RangeBandSettingsDirective);
|
|
2128
1475
|
}
|
|
2129
1476
|
};
|
|
2130
1477
|
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2134
|
-
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;
|
|
2135
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2136
|
-
};
|
|
2137
|
-
// {{VueImport}}
|
|
2138
|
-
let vueImport$17;
|
|
2139
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2140
|
-
vueImport$17 = Vue;
|
|
2141
|
-
}
|
|
2142
|
-
else {
|
|
2143
|
-
vueImport$17 = Vue$1;
|
|
2144
|
-
}
|
|
2145
|
-
let SmithchartSeriesCollectionDirective =
|
|
2146
|
-
/* Start Options({
|
|
2147
|
-
inject: {
|
|
2148
|
-
custom: {
|
|
2149
|
-
default: null
|
|
2150
|
-
}
|
|
2151
|
-
}
|
|
2152
|
-
}) End */
|
|
2153
|
-
class SmithchartSeriesCollectionDirective extends vueImport$17 {
|
|
2154
|
-
constructor() {
|
|
2155
|
-
super(arguments);
|
|
2156
|
-
}
|
|
1478
|
+
let SmithchartSeriesCollectionDirective = vueDefineComponent({
|
|
1479
|
+
inject: { custom: { default: null } },
|
|
2157
1480
|
render(createElement) {
|
|
2158
1481
|
if (!isExecute) {
|
|
2159
1482
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2164,57 +1487,41 @@ class SmithchartSeriesCollectionDirective extends vueImport$17 {
|
|
|
2164
1487
|
return h('div', { class: 'e-directive' }, slots);
|
|
2165
1488
|
}
|
|
2166
1489
|
return;
|
|
2167
|
-
}
|
|
1490
|
+
},
|
|
2168
1491
|
updated() {
|
|
2169
1492
|
if (!isExecute && this.custom) {
|
|
2170
1493
|
this.custom();
|
|
2171
1494
|
}
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
};
|
|
2177
|
-
SmithchartSeriesCollectionDirective = __decorate$21([
|
|
2178
|
-
EJComponentDecorator({}, isExecute)
|
|
2179
|
-
/* Start Options({
|
|
2180
|
-
inject: {
|
|
2181
|
-
custom: {
|
|
2182
|
-
default: null
|
|
2183
|
-
}
|
|
1495
|
+
},
|
|
1496
|
+
methods: {
|
|
1497
|
+
getTag() {
|
|
1498
|
+
return 'e-seriesCollection';
|
|
2184
1499
|
}
|
|
2185
|
-
}
|
|
2186
|
-
|
|
1500
|
+
}
|
|
1501
|
+
});
|
|
2187
1502
|
const SmithchartSeriesCollectionPlugin = {
|
|
2188
1503
|
name: 'e-seriesCollection',
|
|
2189
|
-
install(Vue
|
|
2190
|
-
Vue
|
|
1504
|
+
install(Vue) {
|
|
1505
|
+
Vue.component(SmithchartSeriesCollectionPlugin.name, SmithchartSeriesCollectionDirective);
|
|
2191
1506
|
}
|
|
2192
1507
|
};
|
|
2193
|
-
let SmithchartSeriesDirective =
|
|
1508
|
+
let SmithchartSeriesDirective = vueDefineComponent({
|
|
2194
1509
|
render() {
|
|
2195
1510
|
return;
|
|
1511
|
+
},
|
|
1512
|
+
methods: {
|
|
1513
|
+
getTag() {
|
|
1514
|
+
return 'e-series';
|
|
1515
|
+
}
|
|
2196
1516
|
}
|
|
2197
|
-
|
|
2198
|
-
return 'e-series';
|
|
2199
|
-
}
|
|
2200
|
-
};
|
|
2201
|
-
SmithchartSeriesDirective = __decorate$21([
|
|
2202
|
-
EJComponentDecorator({}, isExecute)
|
|
2203
|
-
], SmithchartSeriesDirective);
|
|
1517
|
+
});
|
|
2204
1518
|
const SmithchartSeriesPlugin = {
|
|
2205
1519
|
name: 'e-series',
|
|
2206
|
-
install(Vue
|
|
2207
|
-
Vue
|
|
1520
|
+
install(Vue) {
|
|
1521
|
+
Vue.component(SmithchartSeriesPlugin.name, SmithchartSeriesDirective);
|
|
2208
1522
|
}
|
|
2209
1523
|
};
|
|
2210
1524
|
|
|
2211
|
-
var __decorate$22 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2212
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2213
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2214
|
-
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;
|
|
2215
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2216
|
-
};
|
|
2217
|
-
// {{VueImport}}
|
|
2218
1525
|
const properties$4 = ['isLazyUpdate', 'plugins', 'background', 'border', 'elementSpacing', 'enablePersistence', 'enableRtl', 'font', 'height', 'horizontalAxis', 'legendSettings', 'locale', 'margin', 'radialAxis', 'radius', 'renderType', 'series', 'theme', 'title', 'width', 'animationComplete', 'axisLabelRender', 'beforePrint', 'legendRender', 'load', 'loaded', 'seriesRender', 'subtitleRender', 'textRender', 'titleRender', 'tooltipRender'];
|
|
2219
1526
|
const modelProps$4 = [];
|
|
2220
1527
|
const testProp$4 = getProps({ props: properties$4 });
|
|
@@ -2231,79 +1538,33 @@ for (let props of modelProps$4) {
|
|
|
2231
1538
|
* <ejs-smithchart></ejs-smithchart>
|
|
2232
1539
|
* ```
|
|
2233
1540
|
*/
|
|
2234
|
-
let SmithchartComponent =
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
1541
|
+
let SmithchartComponent = vueDefineComponent({
|
|
1542
|
+
name: 'SmithchartComponent',
|
|
1543
|
+
mixins: [ComponentBase],
|
|
1544
|
+
props: props$4,
|
|
1545
|
+
watch: watch$4,
|
|
1546
|
+
emits: emitProbs$4,
|
|
1547
|
+
provide() { return { custom: this.custom }; },
|
|
1548
|
+
data() {
|
|
2240
1549
|
return {
|
|
2241
|
-
|
|
1550
|
+
ej2Instances: new Smithchart({}),
|
|
1551
|
+
propKeys: properties$4,
|
|
1552
|
+
models: modelProps$4,
|
|
1553
|
+
hasChildDirective: true,
|
|
1554
|
+
hasInjectedModules: true,
|
|
1555
|
+
tagMapper: { "e-seriesCollection": "e-series" },
|
|
1556
|
+
tagNameMapper: { "e-seriesCollection": "e-series" },
|
|
1557
|
+
isVue3: !isExecute,
|
|
1558
|
+
templateCollection: {},
|
|
2242
1559
|
};
|
|
2243
|
-
}
|
|
2244
|
-
|
|
2245
|
-
class SmithchartComponent extends ComponentBase {
|
|
2246
|
-
constructor() {
|
|
2247
|
-
super(arguments);
|
|
2248
|
-
this.propKeys = properties$4;
|
|
2249
|
-
this.models = modelProps$4;
|
|
2250
|
-
this.hasChildDirective = true;
|
|
2251
|
-
this.hasInjectedModules = true;
|
|
2252
|
-
this.tagMapper = { "e-seriesCollection": "e-series" };
|
|
2253
|
-
this.tagNameMapper = { "e-seriesCollection": "e-series" };
|
|
2254
|
-
this.isVue3 = !isExecute;
|
|
2255
|
-
this.ej2Instances = new Smithchart({});
|
|
1560
|
+
},
|
|
1561
|
+
created() {
|
|
2256
1562
|
this.bindProperties();
|
|
2257
1563
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
2258
1564
|
this.ej2Instances.setProperties = this.setProperties;
|
|
2259
1565
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
2260
1566
|
this.updated = this.updated;
|
|
2261
|
-
}
|
|
2262
|
-
clearTemplate(templateNames) {
|
|
2263
|
-
if (!templateNames) {
|
|
2264
|
-
templateNames = Object.keys(this.templateCollection || {});
|
|
2265
|
-
}
|
|
2266
|
-
if (templateNames.length && this.templateCollection) {
|
|
2267
|
-
for (let tempName of templateNames) {
|
|
2268
|
-
let elementCollection = this.templateCollection[tempName];
|
|
2269
|
-
if (elementCollection && elementCollection.length) {
|
|
2270
|
-
for (let ele of elementCollection) {
|
|
2271
|
-
let destroy = getValue('__vue__.$destroy', ele);
|
|
2272
|
-
if (destroy) {
|
|
2273
|
-
ele.__vue__.$destroy();
|
|
2274
|
-
}
|
|
2275
|
-
if (ele.innerHTML) {
|
|
2276
|
-
ele.innerHTML = '';
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2279
|
-
delete this.templateCollection[tempName];
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
}
|
|
2284
|
-
setProperties(prop, muteOnChange) {
|
|
2285
|
-
if (this.isVue3) {
|
|
2286
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2287
|
-
}
|
|
2288
|
-
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
2289
|
-
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
2290
|
-
}
|
|
2291
|
-
if (prop && this.models && this.models.length) {
|
|
2292
|
-
Object.keys(prop).map((key) => {
|
|
2293
|
-
this.models.map((model) => {
|
|
2294
|
-
if ((key === model) && !(/datasource/i.test(key))) {
|
|
2295
|
-
if (this.isVue3) {
|
|
2296
|
-
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
2297
|
-
}
|
|
2298
|
-
else {
|
|
2299
|
-
this.$emit('update:' + key, prop[key]);
|
|
2300
|
-
this.$emit('modelchanged', prop[key]);
|
|
2301
|
-
}
|
|
2302
|
-
}
|
|
2303
|
-
});
|
|
2304
|
-
});
|
|
2305
|
-
}
|
|
2306
|
-
}
|
|
1567
|
+
},
|
|
2307
1568
|
render(createElement) {
|
|
2308
1569
|
let h = !isExecute ? gh : createElement;
|
|
2309
1570
|
let slots = null;
|
|
@@ -2311,79 +1572,87 @@ class SmithchartComponent extends ComponentBase {
|
|
|
2311
1572
|
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
2312
1573
|
}
|
|
2313
1574
|
return h('div', slots);
|
|
2314
|
-
}
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
}
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
1575
|
+
},
|
|
1576
|
+
methods: {
|
|
1577
|
+
clearTemplate(templateNames) {
|
|
1578
|
+
if (!templateNames) {
|
|
1579
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1580
|
+
}
|
|
1581
|
+
if (templateNames.length && this.templateCollection) {
|
|
1582
|
+
for (let tempName of templateNames) {
|
|
1583
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1584
|
+
if (elementCollection && elementCollection.length) {
|
|
1585
|
+
for (let ele of elementCollection) {
|
|
1586
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1587
|
+
if (destroy) {
|
|
1588
|
+
ele.__vue__.$destroy();
|
|
1589
|
+
}
|
|
1590
|
+
if (ele.innerHTML) {
|
|
1591
|
+
ele.innerHTML = '';
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
delete this.templateCollection[tempName];
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
setProperties(prop, muteOnChange) {
|
|
1600
|
+
if (this.isVue3) {
|
|
1601
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1602
|
+
}
|
|
1603
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1604
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1605
|
+
}
|
|
1606
|
+
if (prop && this.models && this.models.length) {
|
|
1607
|
+
Object.keys(prop).map((key) => {
|
|
1608
|
+
this.models.map((model) => {
|
|
1609
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1610
|
+
if (this.isVue3) {
|
|
1611
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1612
|
+
}
|
|
1613
|
+
else {
|
|
1614
|
+
this.$emit('update:' + key, prop[key]);
|
|
1615
|
+
this.$emit('modelchanged', prop[key]);
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
});
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
custom() {
|
|
1623
|
+
this.updated();
|
|
1624
|
+
},
|
|
1625
|
+
export(type, fileName, orientation) {
|
|
1626
|
+
return this.ej2Instances.export(type, fileName, orientation);
|
|
1627
|
+
},
|
|
1628
|
+
mouseEnd(e) {
|
|
1629
|
+
return this.ej2Instances.mouseEnd(e);
|
|
1630
|
+
},
|
|
1631
|
+
mouseMove(e) {
|
|
1632
|
+
return this.ej2Instances.mouseMove(e);
|
|
1633
|
+
},
|
|
1634
|
+
print(id) {
|
|
1635
|
+
return this.ej2Instances.print(id);
|
|
1636
|
+
},
|
|
1637
|
+
smithchartOnClick(e) {
|
|
1638
|
+
return this.ej2Instances.smithchartOnClick(e);
|
|
1639
|
+
},
|
|
1640
|
+
smithchartOnResize() {
|
|
1641
|
+
return this.ej2Instances.smithchartOnResize();
|
|
1642
|
+
},
|
|
1643
|
+
}
|
|
1644
|
+
});
|
|
2352
1645
|
const SmithchartPlugin = {
|
|
2353
1646
|
name: 'ejs-smithchart',
|
|
2354
|
-
install(Vue
|
|
2355
|
-
Vue
|
|
2356
|
-
Vue
|
|
2357
|
-
Vue
|
|
1647
|
+
install(Vue) {
|
|
1648
|
+
Vue.component(SmithchartPlugin.name, SmithchartComponent);
|
|
1649
|
+
Vue.component(SmithchartSeriesPlugin.name, SmithchartSeriesDirective);
|
|
1650
|
+
Vue.component(SmithchartSeriesCollectionPlugin.name, SmithchartSeriesCollectionDirective);
|
|
2358
1651
|
}
|
|
2359
1652
|
};
|
|
2360
1653
|
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2364
|
-
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;
|
|
2365
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2366
|
-
};
|
|
2367
|
-
// {{VueImport}}
|
|
2368
|
-
let vueImport$18;
|
|
2369
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2370
|
-
vueImport$18 = Vue;
|
|
2371
|
-
}
|
|
2372
|
-
else {
|
|
2373
|
-
vueImport$18 = Vue$1;
|
|
2374
|
-
}
|
|
2375
|
-
let StockChartTrendlinesDirective =
|
|
2376
|
-
/* Start Options({
|
|
2377
|
-
inject: {
|
|
2378
|
-
custom: {
|
|
2379
|
-
default: null
|
|
2380
|
-
}
|
|
2381
|
-
}
|
|
2382
|
-
}) End */
|
|
2383
|
-
class StockChartTrendlinesDirective extends vueImport$18 {
|
|
2384
|
-
constructor() {
|
|
2385
|
-
super(arguments);
|
|
2386
|
-
}
|
|
1654
|
+
let StockChartTrendlinesDirective = vueDefineComponent({
|
|
1655
|
+
inject: { custom: { default: null } },
|
|
2387
1656
|
render(createElement) {
|
|
2388
1657
|
if (!isExecute) {
|
|
2389
1658
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2394,76 +1663,43 @@ class StockChartTrendlinesDirective extends vueImport$18 {
|
|
|
2394
1663
|
return h('div', { class: 'e-directive' }, slots);
|
|
2395
1664
|
}
|
|
2396
1665
|
return;
|
|
2397
|
-
}
|
|
1666
|
+
},
|
|
2398
1667
|
updated() {
|
|
2399
1668
|
if (!isExecute && this.custom) {
|
|
2400
1669
|
this.custom();
|
|
2401
1670
|
}
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
};
|
|
2407
|
-
StockChartTrendlinesDirective = __decorate$23([
|
|
2408
|
-
EJComponentDecorator({}, isExecute)
|
|
2409
|
-
/* Start Options({
|
|
2410
|
-
inject: {
|
|
2411
|
-
custom: {
|
|
2412
|
-
default: null
|
|
2413
|
-
}
|
|
1671
|
+
},
|
|
1672
|
+
methods: {
|
|
1673
|
+
getTag() {
|
|
1674
|
+
return 'e-trendlines';
|
|
2414
1675
|
}
|
|
2415
|
-
}
|
|
2416
|
-
|
|
1676
|
+
}
|
|
1677
|
+
});
|
|
2417
1678
|
const StockChartTrendlinesPlugin = {
|
|
2418
1679
|
name: 'e-trendlines',
|
|
2419
|
-
install(Vue
|
|
2420
|
-
Vue
|
|
1680
|
+
install(Vue) {
|
|
1681
|
+
Vue.component(StockChartTrendlinesPlugin.name, StockChartTrendlinesDirective);
|
|
2421
1682
|
}
|
|
2422
1683
|
};
|
|
2423
|
-
let StockChartTrendlineDirective =
|
|
1684
|
+
let StockChartTrendlineDirective = vueDefineComponent({
|
|
2424
1685
|
render() {
|
|
2425
1686
|
return;
|
|
1687
|
+
},
|
|
1688
|
+
methods: {
|
|
1689
|
+
getTag() {
|
|
1690
|
+
return 'e-trendline';
|
|
1691
|
+
}
|
|
2426
1692
|
}
|
|
2427
|
-
|
|
2428
|
-
return 'e-trendline';
|
|
2429
|
-
}
|
|
2430
|
-
};
|
|
2431
|
-
StockChartTrendlineDirective = __decorate$23([
|
|
2432
|
-
EJComponentDecorator({}, isExecute)
|
|
2433
|
-
], StockChartTrendlineDirective);
|
|
1693
|
+
});
|
|
2434
1694
|
const StockChartTrendlinePlugin = {
|
|
2435
1695
|
name: 'e-trendline',
|
|
2436
|
-
install(Vue
|
|
2437
|
-
Vue
|
|
1696
|
+
install(Vue) {
|
|
1697
|
+
Vue.component(StockChartTrendlinePlugin.name, StockChartTrendlineDirective);
|
|
2438
1698
|
}
|
|
2439
1699
|
};
|
|
2440
1700
|
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2444
|
-
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;
|
|
2445
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2446
|
-
};
|
|
2447
|
-
// {{VueImport}}
|
|
2448
|
-
let vueImport$19;
|
|
2449
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2450
|
-
vueImport$19 = Vue;
|
|
2451
|
-
}
|
|
2452
|
-
else {
|
|
2453
|
-
vueImport$19 = Vue$1;
|
|
2454
|
-
}
|
|
2455
|
-
let StockChartSeriesCollectionDirective =
|
|
2456
|
-
/* Start Options({
|
|
2457
|
-
inject: {
|
|
2458
|
-
custom: {
|
|
2459
|
-
default: null
|
|
2460
|
-
}
|
|
2461
|
-
}
|
|
2462
|
-
}) End */
|
|
2463
|
-
class StockChartSeriesCollectionDirective extends vueImport$19 {
|
|
2464
|
-
constructor() {
|
|
2465
|
-
super(arguments);
|
|
2466
|
-
}
|
|
1701
|
+
let StockChartSeriesCollectionDirective = vueDefineComponent({
|
|
1702
|
+
inject: { custom: { default: null } },
|
|
2467
1703
|
render(createElement) {
|
|
2468
1704
|
if (!isExecute) {
|
|
2469
1705
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2474,76 +1710,43 @@ class StockChartSeriesCollectionDirective extends vueImport$19 {
|
|
|
2474
1710
|
return h('div', { class: 'e-directive' }, slots);
|
|
2475
1711
|
}
|
|
2476
1712
|
return;
|
|
2477
|
-
}
|
|
1713
|
+
},
|
|
2478
1714
|
updated() {
|
|
2479
1715
|
if (!isExecute && this.custom) {
|
|
2480
1716
|
this.custom();
|
|
2481
1717
|
}
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
};
|
|
2487
|
-
StockChartSeriesCollectionDirective = __decorate$24([
|
|
2488
|
-
EJComponentDecorator({}, isExecute)
|
|
2489
|
-
/* Start Options({
|
|
2490
|
-
inject: {
|
|
2491
|
-
custom: {
|
|
2492
|
-
default: null
|
|
2493
|
-
}
|
|
1718
|
+
},
|
|
1719
|
+
methods: {
|
|
1720
|
+
getTag() {
|
|
1721
|
+
return 'e-stockchart-series-collection';
|
|
2494
1722
|
}
|
|
2495
|
-
}
|
|
2496
|
-
|
|
1723
|
+
}
|
|
1724
|
+
});
|
|
2497
1725
|
const StockChartSeriesCollectionPlugin = {
|
|
2498
1726
|
name: 'e-stockchart-series-collection',
|
|
2499
|
-
install(Vue
|
|
2500
|
-
Vue
|
|
1727
|
+
install(Vue) {
|
|
1728
|
+
Vue.component(StockChartSeriesCollectionPlugin.name, StockChartSeriesCollectionDirective);
|
|
2501
1729
|
}
|
|
2502
1730
|
};
|
|
2503
|
-
let StockChartSeriesDirective =
|
|
1731
|
+
let StockChartSeriesDirective = vueDefineComponent({
|
|
2504
1732
|
render() {
|
|
2505
1733
|
return;
|
|
1734
|
+
},
|
|
1735
|
+
methods: {
|
|
1736
|
+
getTag() {
|
|
1737
|
+
return 'e-stockchart-series';
|
|
1738
|
+
}
|
|
2506
1739
|
}
|
|
2507
|
-
|
|
2508
|
-
return 'e-stockchart-series';
|
|
2509
|
-
}
|
|
2510
|
-
};
|
|
2511
|
-
StockChartSeriesDirective = __decorate$24([
|
|
2512
|
-
EJComponentDecorator({}, isExecute)
|
|
2513
|
-
], StockChartSeriesDirective);
|
|
1740
|
+
});
|
|
2514
1741
|
const StockChartSeriesPlugin = {
|
|
2515
1742
|
name: 'e-stockchart-series',
|
|
2516
|
-
install(Vue
|
|
2517
|
-
Vue
|
|
1743
|
+
install(Vue) {
|
|
1744
|
+
Vue.component(StockChartSeriesPlugin.name, StockChartSeriesDirective);
|
|
2518
1745
|
}
|
|
2519
1746
|
};
|
|
2520
1747
|
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2524
|
-
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;
|
|
2525
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2526
|
-
};
|
|
2527
|
-
// {{VueImport}}
|
|
2528
|
-
let vueImport$20;
|
|
2529
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2530
|
-
vueImport$20 = Vue;
|
|
2531
|
-
}
|
|
2532
|
-
else {
|
|
2533
|
-
vueImport$20 = Vue$1;
|
|
2534
|
-
}
|
|
2535
|
-
let StockChartAxesDirective =
|
|
2536
|
-
/* Start Options({
|
|
2537
|
-
inject: {
|
|
2538
|
-
custom: {
|
|
2539
|
-
default: null
|
|
2540
|
-
}
|
|
2541
|
-
}
|
|
2542
|
-
}) End */
|
|
2543
|
-
class StockChartAxesDirective extends vueImport$20 {
|
|
2544
|
-
constructor() {
|
|
2545
|
-
super(arguments);
|
|
2546
|
-
}
|
|
1748
|
+
let StockChartAxesDirective = vueDefineComponent({
|
|
1749
|
+
inject: { custom: { default: null } },
|
|
2547
1750
|
render(createElement) {
|
|
2548
1751
|
if (!isExecute) {
|
|
2549
1752
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2554,76 +1757,43 @@ class StockChartAxesDirective extends vueImport$20 {
|
|
|
2554
1757
|
return h('div', { class: 'e-directive' }, slots);
|
|
2555
1758
|
}
|
|
2556
1759
|
return;
|
|
2557
|
-
}
|
|
1760
|
+
},
|
|
2558
1761
|
updated() {
|
|
2559
1762
|
if (!isExecute && this.custom) {
|
|
2560
1763
|
this.custom();
|
|
2561
1764
|
}
|
|
2562
|
-
}
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
};
|
|
2567
|
-
StockChartAxesDirective = __decorate$25([
|
|
2568
|
-
EJComponentDecorator({}, isExecute)
|
|
2569
|
-
/* Start Options({
|
|
2570
|
-
inject: {
|
|
2571
|
-
custom: {
|
|
2572
|
-
default: null
|
|
2573
|
-
}
|
|
1765
|
+
},
|
|
1766
|
+
methods: {
|
|
1767
|
+
getTag() {
|
|
1768
|
+
return 'e-stockchart-axes';
|
|
2574
1769
|
}
|
|
2575
|
-
}
|
|
2576
|
-
|
|
1770
|
+
}
|
|
1771
|
+
});
|
|
2577
1772
|
const StockChartAxesPlugin = {
|
|
2578
1773
|
name: 'e-stockchart-axes',
|
|
2579
|
-
install(Vue
|
|
2580
|
-
Vue
|
|
1774
|
+
install(Vue) {
|
|
1775
|
+
Vue.component(StockChartAxesPlugin.name, StockChartAxesDirective);
|
|
2581
1776
|
}
|
|
2582
1777
|
};
|
|
2583
|
-
let StockChartAxisDirective =
|
|
1778
|
+
let StockChartAxisDirective = vueDefineComponent({
|
|
2584
1779
|
render() {
|
|
2585
1780
|
return;
|
|
1781
|
+
},
|
|
1782
|
+
methods: {
|
|
1783
|
+
getTag() {
|
|
1784
|
+
return 'e-stockchart-axis';
|
|
1785
|
+
}
|
|
2586
1786
|
}
|
|
2587
|
-
|
|
2588
|
-
return 'e-stockchart-axis';
|
|
2589
|
-
}
|
|
2590
|
-
};
|
|
2591
|
-
StockChartAxisDirective = __decorate$25([
|
|
2592
|
-
EJComponentDecorator({}, isExecute)
|
|
2593
|
-
], StockChartAxisDirective);
|
|
1787
|
+
});
|
|
2594
1788
|
const StockChartAxisPlugin = {
|
|
2595
1789
|
name: 'e-stockchart-axis',
|
|
2596
|
-
install(Vue
|
|
2597
|
-
Vue
|
|
1790
|
+
install(Vue) {
|
|
1791
|
+
Vue.component(StockChartAxisPlugin.name, StockChartAxisDirective);
|
|
2598
1792
|
}
|
|
2599
1793
|
};
|
|
2600
1794
|
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2604
|
-
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;
|
|
2605
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2606
|
-
};
|
|
2607
|
-
// {{VueImport}}
|
|
2608
|
-
let vueImport$21;
|
|
2609
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2610
|
-
vueImport$21 = Vue;
|
|
2611
|
-
}
|
|
2612
|
-
else {
|
|
2613
|
-
vueImport$21 = Vue$1;
|
|
2614
|
-
}
|
|
2615
|
-
let StockChartRowsDirective =
|
|
2616
|
-
/* Start Options({
|
|
2617
|
-
inject: {
|
|
2618
|
-
custom: {
|
|
2619
|
-
default: null
|
|
2620
|
-
}
|
|
2621
|
-
}
|
|
2622
|
-
}) End */
|
|
2623
|
-
class StockChartRowsDirective extends vueImport$21 {
|
|
2624
|
-
constructor() {
|
|
2625
|
-
super(arguments);
|
|
2626
|
-
}
|
|
1795
|
+
let StockChartRowsDirective = vueDefineComponent({
|
|
1796
|
+
inject: { custom: { default: null } },
|
|
2627
1797
|
render(createElement) {
|
|
2628
1798
|
if (!isExecute) {
|
|
2629
1799
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2634,76 +1804,43 @@ class StockChartRowsDirective extends vueImport$21 {
|
|
|
2634
1804
|
return h('div', { class: 'e-directive' }, slots);
|
|
2635
1805
|
}
|
|
2636
1806
|
return;
|
|
2637
|
-
}
|
|
1807
|
+
},
|
|
2638
1808
|
updated() {
|
|
2639
1809
|
if (!isExecute && this.custom) {
|
|
2640
1810
|
this.custom();
|
|
2641
1811
|
}
|
|
2642
|
-
}
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
};
|
|
2647
|
-
StockChartRowsDirective = __decorate$26([
|
|
2648
|
-
EJComponentDecorator({}, isExecute)
|
|
2649
|
-
/* Start Options({
|
|
2650
|
-
inject: {
|
|
2651
|
-
custom: {
|
|
2652
|
-
default: null
|
|
2653
|
-
}
|
|
1812
|
+
},
|
|
1813
|
+
methods: {
|
|
1814
|
+
getTag() {
|
|
1815
|
+
return 'e-stockchart-rows';
|
|
2654
1816
|
}
|
|
2655
|
-
}
|
|
2656
|
-
|
|
1817
|
+
}
|
|
1818
|
+
});
|
|
2657
1819
|
const StockChartRowsPlugin = {
|
|
2658
1820
|
name: 'e-stockchart-rows',
|
|
2659
|
-
install(Vue
|
|
2660
|
-
Vue
|
|
1821
|
+
install(Vue) {
|
|
1822
|
+
Vue.component(StockChartRowsPlugin.name, StockChartRowsDirective);
|
|
2661
1823
|
}
|
|
2662
1824
|
};
|
|
2663
|
-
let StockChartRowDirective =
|
|
1825
|
+
let StockChartRowDirective = vueDefineComponent({
|
|
2664
1826
|
render() {
|
|
2665
1827
|
return;
|
|
1828
|
+
},
|
|
1829
|
+
methods: {
|
|
1830
|
+
getTag() {
|
|
1831
|
+
return 'e-stockchart-row';
|
|
1832
|
+
}
|
|
2666
1833
|
}
|
|
2667
|
-
|
|
2668
|
-
return 'e-stockchart-row';
|
|
2669
|
-
}
|
|
2670
|
-
};
|
|
2671
|
-
StockChartRowDirective = __decorate$26([
|
|
2672
|
-
EJComponentDecorator({}, isExecute)
|
|
2673
|
-
], StockChartRowDirective);
|
|
1834
|
+
});
|
|
2674
1835
|
const StockChartRowPlugin = {
|
|
2675
1836
|
name: 'e-stockchart-row',
|
|
2676
|
-
install(Vue
|
|
2677
|
-
Vue
|
|
1837
|
+
install(Vue) {
|
|
1838
|
+
Vue.component(StockChartRowPlugin.name, StockChartRowDirective);
|
|
2678
1839
|
}
|
|
2679
1840
|
};
|
|
2680
1841
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2684
|
-
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;
|
|
2685
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2686
|
-
};
|
|
2687
|
-
// {{VueImport}}
|
|
2688
|
-
let vueImport$22;
|
|
2689
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2690
|
-
vueImport$22 = Vue;
|
|
2691
|
-
}
|
|
2692
|
-
else {
|
|
2693
|
-
vueImport$22 = Vue$1;
|
|
2694
|
-
}
|
|
2695
|
-
let StockChartAnnotationsDirective =
|
|
2696
|
-
/* Start Options({
|
|
2697
|
-
inject: {
|
|
2698
|
-
custom: {
|
|
2699
|
-
default: null
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
}) End */
|
|
2703
|
-
class StockChartAnnotationsDirective extends vueImport$22 {
|
|
2704
|
-
constructor() {
|
|
2705
|
-
super(arguments);
|
|
2706
|
-
}
|
|
1842
|
+
let StockChartAnnotationsDirective = vueDefineComponent({
|
|
1843
|
+
inject: { custom: { default: null } },
|
|
2707
1844
|
render(createElement) {
|
|
2708
1845
|
if (!isExecute) {
|
|
2709
1846
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2714,30 +1851,22 @@ class StockChartAnnotationsDirective extends vueImport$22 {
|
|
|
2714
1851
|
return h('div', { class: 'e-directive' }, slots);
|
|
2715
1852
|
}
|
|
2716
1853
|
return;
|
|
2717
|
-
}
|
|
1854
|
+
},
|
|
2718
1855
|
updated() {
|
|
2719
1856
|
if (!isExecute && this.custom) {
|
|
2720
1857
|
this.custom();
|
|
2721
1858
|
}
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
};
|
|
2727
|
-
StockChartAnnotationsDirective = __decorate$27([
|
|
2728
|
-
EJComponentDecorator({}, isExecute)
|
|
2729
|
-
/* Start Options({
|
|
2730
|
-
inject: {
|
|
2731
|
-
custom: {
|
|
2732
|
-
default: null
|
|
2733
|
-
}
|
|
1859
|
+
},
|
|
1860
|
+
methods: {
|
|
1861
|
+
getTag() {
|
|
1862
|
+
return 'e-stockchart-annotations';
|
|
2734
1863
|
}
|
|
2735
|
-
}
|
|
2736
|
-
|
|
1864
|
+
}
|
|
1865
|
+
});
|
|
2737
1866
|
const StockChartAnnotationsPlugin = {
|
|
2738
1867
|
name: 'e-stockchart-annotations',
|
|
2739
|
-
install(Vue
|
|
2740
|
-
Vue
|
|
1868
|
+
install(Vue) {
|
|
1869
|
+
Vue.component(StockChartAnnotationsPlugin.name, StockChartAnnotationsDirective);
|
|
2741
1870
|
}
|
|
2742
1871
|
};
|
|
2743
1872
|
/**
|
|
@@ -2752,50 +1881,25 @@ const StockChartAnnotationsPlugin = {
|
|
|
2752
1881
|
* </ejs-chart>
|
|
2753
1882
|
* ```
|
|
2754
1883
|
*/
|
|
2755
|
-
let StockChartAnnotationDirective =
|
|
1884
|
+
let StockChartAnnotationDirective = vueDefineComponent({
|
|
2756
1885
|
render() {
|
|
2757
1886
|
return;
|
|
1887
|
+
},
|
|
1888
|
+
methods: {
|
|
1889
|
+
getTag() {
|
|
1890
|
+
return 'e-stockchart-annotation';
|
|
1891
|
+
}
|
|
2758
1892
|
}
|
|
2759
|
-
|
|
2760
|
-
return 'e-stockchart-annotation';
|
|
2761
|
-
}
|
|
2762
|
-
};
|
|
2763
|
-
StockChartAnnotationDirective = __decorate$27([
|
|
2764
|
-
EJComponentDecorator({}, isExecute)
|
|
2765
|
-
], StockChartAnnotationDirective);
|
|
1893
|
+
});
|
|
2766
1894
|
const StockChartAnnotationPlugin = {
|
|
2767
1895
|
name: 'e-stockchart-annotation',
|
|
2768
|
-
install(Vue
|
|
2769
|
-
Vue
|
|
1896
|
+
install(Vue) {
|
|
1897
|
+
Vue.component(StockChartAnnotationPlugin.name, StockChartAnnotationDirective);
|
|
2770
1898
|
}
|
|
2771
1899
|
};
|
|
2772
1900
|
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2776
|
-
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;
|
|
2777
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2778
|
-
};
|
|
2779
|
-
// {{VueImport}}
|
|
2780
|
-
let vueImport$23;
|
|
2781
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2782
|
-
vueImport$23 = Vue;
|
|
2783
|
-
}
|
|
2784
|
-
else {
|
|
2785
|
-
vueImport$23 = Vue$1;
|
|
2786
|
-
}
|
|
2787
|
-
let StockChartSelectedDataIndexesDirective =
|
|
2788
|
-
/* Start Options({
|
|
2789
|
-
inject: {
|
|
2790
|
-
custom: {
|
|
2791
|
-
default: null
|
|
2792
|
-
}
|
|
2793
|
-
}
|
|
2794
|
-
}) End */
|
|
2795
|
-
class StockChartSelectedDataIndexesDirective extends vueImport$23 {
|
|
2796
|
-
constructor() {
|
|
2797
|
-
super(arguments);
|
|
2798
|
-
}
|
|
1901
|
+
let StockChartSelectedDataIndexesDirective = vueDefineComponent({
|
|
1902
|
+
inject: { custom: { default: null } },
|
|
2799
1903
|
render(createElement) {
|
|
2800
1904
|
if (!isExecute) {
|
|
2801
1905
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2806,76 +1910,43 @@ class StockChartSelectedDataIndexesDirective extends vueImport$23 {
|
|
|
2806
1910
|
return h('div', { class: 'e-directive' }, slots);
|
|
2807
1911
|
}
|
|
2808
1912
|
return;
|
|
2809
|
-
}
|
|
1913
|
+
},
|
|
2810
1914
|
updated() {
|
|
2811
1915
|
if (!isExecute && this.custom) {
|
|
2812
1916
|
this.custom();
|
|
2813
1917
|
}
|
|
2814
|
-
}
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
};
|
|
2819
|
-
StockChartSelectedDataIndexesDirective = __decorate$28([
|
|
2820
|
-
EJComponentDecorator({}, isExecute)
|
|
2821
|
-
/* Start Options({
|
|
2822
|
-
inject: {
|
|
2823
|
-
custom: {
|
|
2824
|
-
default: null
|
|
2825
|
-
}
|
|
1918
|
+
},
|
|
1919
|
+
methods: {
|
|
1920
|
+
getTag() {
|
|
1921
|
+
return 'e-stockchart-selectedDataIndexes';
|
|
2826
1922
|
}
|
|
2827
|
-
}
|
|
2828
|
-
|
|
1923
|
+
}
|
|
1924
|
+
});
|
|
2829
1925
|
const StockChartSelectedDataIndexesPlugin = {
|
|
2830
1926
|
name: 'e-stockchart-selectedDataIndexes',
|
|
2831
|
-
install(Vue
|
|
2832
|
-
Vue
|
|
1927
|
+
install(Vue) {
|
|
1928
|
+
Vue.component(StockChartSelectedDataIndexesPlugin.name, StockChartSelectedDataIndexesDirective);
|
|
2833
1929
|
}
|
|
2834
1930
|
};
|
|
2835
|
-
let StockChartSelectedDataIndexDirective =
|
|
1931
|
+
let StockChartSelectedDataIndexDirective = vueDefineComponent({
|
|
2836
1932
|
render() {
|
|
2837
1933
|
return;
|
|
1934
|
+
},
|
|
1935
|
+
methods: {
|
|
1936
|
+
getTag() {
|
|
1937
|
+
return 'e-stockchart-selectedDataIndex';
|
|
1938
|
+
}
|
|
2838
1939
|
}
|
|
2839
|
-
|
|
2840
|
-
return 'e-stockchart-selectedDataIndex';
|
|
2841
|
-
}
|
|
2842
|
-
};
|
|
2843
|
-
StockChartSelectedDataIndexDirective = __decorate$28([
|
|
2844
|
-
EJComponentDecorator({}, isExecute)
|
|
2845
|
-
], StockChartSelectedDataIndexDirective);
|
|
1940
|
+
});
|
|
2846
1941
|
const StockChartSelectedDataIndexPlugin = {
|
|
2847
1942
|
name: 'e-stockchart-selectedDataIndex',
|
|
2848
|
-
install(Vue
|
|
2849
|
-
Vue
|
|
1943
|
+
install(Vue) {
|
|
1944
|
+
Vue.component(StockChartSelectedDataIndexPlugin.name, StockChartSelectedDataIndexDirective);
|
|
2850
1945
|
}
|
|
2851
1946
|
};
|
|
2852
1947
|
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2856
|
-
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;
|
|
2857
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2858
|
-
};
|
|
2859
|
-
// {{VueImport}}
|
|
2860
|
-
let vueImport$24;
|
|
2861
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2862
|
-
vueImport$24 = Vue;
|
|
2863
|
-
}
|
|
2864
|
-
else {
|
|
2865
|
-
vueImport$24 = Vue$1;
|
|
2866
|
-
}
|
|
2867
|
-
let StockChartPeriodsDirective =
|
|
2868
|
-
/* Start Options({
|
|
2869
|
-
inject: {
|
|
2870
|
-
custom: {
|
|
2871
|
-
default: null
|
|
2872
|
-
}
|
|
2873
|
-
}
|
|
2874
|
-
}) End */
|
|
2875
|
-
class StockChartPeriodsDirective extends vueImport$24 {
|
|
2876
|
-
constructor() {
|
|
2877
|
-
super(arguments);
|
|
2878
|
-
}
|
|
1948
|
+
let StockChartPeriodsDirective = vueDefineComponent({
|
|
1949
|
+
inject: { custom: { default: null } },
|
|
2879
1950
|
render(createElement) {
|
|
2880
1951
|
if (!isExecute) {
|
|
2881
1952
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2886,76 +1957,43 @@ class StockChartPeriodsDirective extends vueImport$24 {
|
|
|
2886
1957
|
return h('div', { class: 'e-directive' }, slots);
|
|
2887
1958
|
}
|
|
2888
1959
|
return;
|
|
2889
|
-
}
|
|
1960
|
+
},
|
|
2890
1961
|
updated() {
|
|
2891
1962
|
if (!isExecute && this.custom) {
|
|
2892
1963
|
this.custom();
|
|
2893
1964
|
}
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
};
|
|
2899
|
-
StockChartPeriodsDirective = __decorate$29([
|
|
2900
|
-
EJComponentDecorator({}, isExecute)
|
|
2901
|
-
/* Start Options({
|
|
2902
|
-
inject: {
|
|
2903
|
-
custom: {
|
|
2904
|
-
default: null
|
|
2905
|
-
}
|
|
1965
|
+
},
|
|
1966
|
+
methods: {
|
|
1967
|
+
getTag() {
|
|
1968
|
+
return 'e-stockchart-periods';
|
|
2906
1969
|
}
|
|
2907
|
-
}
|
|
2908
|
-
|
|
1970
|
+
}
|
|
1971
|
+
});
|
|
2909
1972
|
const StockChartPeriodsPlugin = {
|
|
2910
1973
|
name: 'e-stockchart-periods',
|
|
2911
|
-
install(Vue
|
|
2912
|
-
Vue
|
|
1974
|
+
install(Vue) {
|
|
1975
|
+
Vue.component(StockChartPeriodsPlugin.name, StockChartPeriodsDirective);
|
|
2913
1976
|
}
|
|
2914
1977
|
};
|
|
2915
|
-
let StockChartPeriodDirective =
|
|
1978
|
+
let StockChartPeriodDirective = vueDefineComponent({
|
|
2916
1979
|
render() {
|
|
2917
1980
|
return;
|
|
1981
|
+
},
|
|
1982
|
+
methods: {
|
|
1983
|
+
getTag() {
|
|
1984
|
+
return 'e-stockchart-period';
|
|
1985
|
+
}
|
|
2918
1986
|
}
|
|
2919
|
-
|
|
2920
|
-
return 'e-stockchart-period';
|
|
2921
|
-
}
|
|
2922
|
-
};
|
|
2923
|
-
StockChartPeriodDirective = __decorate$29([
|
|
2924
|
-
EJComponentDecorator({}, isExecute)
|
|
2925
|
-
], StockChartPeriodDirective);
|
|
1987
|
+
});
|
|
2926
1988
|
const StockChartPeriodPlugin = {
|
|
2927
1989
|
name: 'e-stockchart-period',
|
|
2928
|
-
install(Vue
|
|
2929
|
-
Vue
|
|
1990
|
+
install(Vue) {
|
|
1991
|
+
Vue.component(StockChartPeriodPlugin.name, StockChartPeriodDirective);
|
|
2930
1992
|
}
|
|
2931
1993
|
};
|
|
2932
1994
|
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2936
|
-
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;
|
|
2937
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2938
|
-
};
|
|
2939
|
-
// {{VueImport}}
|
|
2940
|
-
let vueImport$25;
|
|
2941
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
2942
|
-
vueImport$25 = Vue;
|
|
2943
|
-
}
|
|
2944
|
-
else {
|
|
2945
|
-
vueImport$25 = Vue$1;
|
|
2946
|
-
}
|
|
2947
|
-
let StockEventsDirective =
|
|
2948
|
-
/* Start Options({
|
|
2949
|
-
inject: {
|
|
2950
|
-
custom: {
|
|
2951
|
-
default: null
|
|
2952
|
-
}
|
|
2953
|
-
}
|
|
2954
|
-
}) End */
|
|
2955
|
-
class StockEventsDirective extends vueImport$25 {
|
|
2956
|
-
constructor() {
|
|
2957
|
-
super(arguments);
|
|
2958
|
-
}
|
|
1995
|
+
let StockEventsDirective = vueDefineComponent({
|
|
1996
|
+
inject: { custom: { default: null } },
|
|
2959
1997
|
render(createElement) {
|
|
2960
1998
|
if (!isExecute) {
|
|
2961
1999
|
let h = !isExecute ? gh : createElement;
|
|
@@ -2966,76 +2004,43 @@ class StockEventsDirective extends vueImport$25 {
|
|
|
2966
2004
|
return h('div', { class: 'e-directive' }, slots);
|
|
2967
2005
|
}
|
|
2968
2006
|
return;
|
|
2969
|
-
}
|
|
2007
|
+
},
|
|
2970
2008
|
updated() {
|
|
2971
2009
|
if (!isExecute && this.custom) {
|
|
2972
2010
|
this.custom();
|
|
2973
2011
|
}
|
|
2974
|
-
}
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
};
|
|
2979
|
-
StockEventsDirective = __decorate$30([
|
|
2980
|
-
EJComponentDecorator({}, isExecute)
|
|
2981
|
-
/* Start Options({
|
|
2982
|
-
inject: {
|
|
2983
|
-
custom: {
|
|
2984
|
-
default: null
|
|
2985
|
-
}
|
|
2012
|
+
},
|
|
2013
|
+
methods: {
|
|
2014
|
+
getTag() {
|
|
2015
|
+
return 'e-stockchart-stockevents';
|
|
2986
2016
|
}
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2017
|
+
}
|
|
2018
|
+
});
|
|
2989
2019
|
const StockEventsPlugin = {
|
|
2990
2020
|
name: 'e-stockchart-stockevents',
|
|
2991
|
-
install(Vue
|
|
2992
|
-
Vue
|
|
2021
|
+
install(Vue) {
|
|
2022
|
+
Vue.component(StockEventsPlugin.name, StockEventsDirective);
|
|
2993
2023
|
}
|
|
2994
2024
|
};
|
|
2995
|
-
let StockEventDirective =
|
|
2025
|
+
let StockEventDirective = vueDefineComponent({
|
|
2996
2026
|
render() {
|
|
2997
2027
|
return;
|
|
2028
|
+
},
|
|
2029
|
+
methods: {
|
|
2030
|
+
getTag() {
|
|
2031
|
+
return 'e-stockchart-stockevent';
|
|
2032
|
+
}
|
|
2998
2033
|
}
|
|
2999
|
-
|
|
3000
|
-
return 'e-stockchart-stockevent';
|
|
3001
|
-
}
|
|
3002
|
-
};
|
|
3003
|
-
StockEventDirective = __decorate$30([
|
|
3004
|
-
EJComponentDecorator({}, isExecute)
|
|
3005
|
-
], StockEventDirective);
|
|
2034
|
+
});
|
|
3006
2035
|
const StockEventPlugin = {
|
|
3007
2036
|
name: 'e-stockchart-stockevent',
|
|
3008
|
-
install(Vue
|
|
3009
|
-
Vue
|
|
2037
|
+
install(Vue) {
|
|
2038
|
+
Vue.component(StockEventPlugin.name, StockEventDirective);
|
|
3010
2039
|
}
|
|
3011
2040
|
};
|
|
3012
2041
|
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3016
|
-
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;
|
|
3017
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3018
|
-
};
|
|
3019
|
-
// {{VueImport}}
|
|
3020
|
-
let vueImport$26;
|
|
3021
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
3022
|
-
vueImport$26 = Vue;
|
|
3023
|
-
}
|
|
3024
|
-
else {
|
|
3025
|
-
vueImport$26 = Vue$1;
|
|
3026
|
-
}
|
|
3027
|
-
let StockChartIndicatorsDirective =
|
|
3028
|
-
/* Start Options({
|
|
3029
|
-
inject: {
|
|
3030
|
-
custom: {
|
|
3031
|
-
default: null
|
|
3032
|
-
}
|
|
3033
|
-
}
|
|
3034
|
-
}) End */
|
|
3035
|
-
class StockChartIndicatorsDirective extends vueImport$26 {
|
|
3036
|
-
constructor() {
|
|
3037
|
-
super(arguments);
|
|
3038
|
-
}
|
|
2042
|
+
let StockChartIndicatorsDirective = vueDefineComponent({
|
|
2043
|
+
inject: { custom: { default: null } },
|
|
3039
2044
|
render(createElement) {
|
|
3040
2045
|
if (!isExecute) {
|
|
3041
2046
|
let h = !isExecute ? gh : createElement;
|
|
@@ -3046,57 +2051,41 @@ class StockChartIndicatorsDirective extends vueImport$26 {
|
|
|
3046
2051
|
return h('div', { class: 'e-directive' }, slots);
|
|
3047
2052
|
}
|
|
3048
2053
|
return;
|
|
3049
|
-
}
|
|
2054
|
+
},
|
|
3050
2055
|
updated() {
|
|
3051
2056
|
if (!isExecute && this.custom) {
|
|
3052
2057
|
this.custom();
|
|
3053
2058
|
}
|
|
3054
|
-
}
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
};
|
|
3059
|
-
StockChartIndicatorsDirective = __decorate$31([
|
|
3060
|
-
EJComponentDecorator({}, isExecute)
|
|
3061
|
-
/* Start Options({
|
|
3062
|
-
inject: {
|
|
3063
|
-
custom: {
|
|
3064
|
-
default: null
|
|
3065
|
-
}
|
|
2059
|
+
},
|
|
2060
|
+
methods: {
|
|
2061
|
+
getTag() {
|
|
2062
|
+
return 'e-stockchart-indicators';
|
|
3066
2063
|
}
|
|
3067
|
-
}
|
|
3068
|
-
|
|
2064
|
+
}
|
|
2065
|
+
});
|
|
3069
2066
|
const StockChartIndicatorsPlugin = {
|
|
3070
2067
|
name: 'e-stockchart-indicators',
|
|
3071
|
-
install(Vue
|
|
3072
|
-
Vue
|
|
2068
|
+
install(Vue) {
|
|
2069
|
+
Vue.component(StockChartIndicatorsPlugin.name, StockChartIndicatorsDirective);
|
|
3073
2070
|
}
|
|
3074
2071
|
};
|
|
3075
|
-
let StockChartIndicatorDirective =
|
|
2072
|
+
let StockChartIndicatorDirective = vueDefineComponent({
|
|
3076
2073
|
render() {
|
|
3077
2074
|
return;
|
|
2075
|
+
},
|
|
2076
|
+
methods: {
|
|
2077
|
+
getTag() {
|
|
2078
|
+
return 'e-stockchart-indicator';
|
|
2079
|
+
}
|
|
3078
2080
|
}
|
|
3079
|
-
|
|
3080
|
-
return 'e-stockchart-indicator';
|
|
3081
|
-
}
|
|
3082
|
-
};
|
|
3083
|
-
StockChartIndicatorDirective = __decorate$31([
|
|
3084
|
-
EJComponentDecorator({}, isExecute)
|
|
3085
|
-
], StockChartIndicatorDirective);
|
|
2081
|
+
});
|
|
3086
2082
|
const StockChartIndicatorPlugin = {
|
|
3087
2083
|
name: 'e-stockchart-indicator',
|
|
3088
|
-
install(Vue
|
|
3089
|
-
Vue
|
|
2084
|
+
install(Vue) {
|
|
2085
|
+
Vue.component(StockChartIndicatorPlugin.name, StockChartIndicatorDirective);
|
|
3090
2086
|
}
|
|
3091
2087
|
};
|
|
3092
2088
|
|
|
3093
|
-
var __decorate$32 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3094
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3095
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3096
|
-
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;
|
|
3097
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3098
|
-
};
|
|
3099
|
-
// {{VueImport}}
|
|
3100
2089
|
const properties$5 = ['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'];
|
|
3101
2090
|
const modelProps$5 = ['dataSource'];
|
|
3102
2091
|
const testProp$5 = getProps({ props: properties$5 });
|
|
@@ -3113,28 +2102,28 @@ for (let props of modelProps$5) {
|
|
|
3113
2102
|
* <ejs-stockchart></ejs-stockchart>
|
|
3114
2103
|
* ```
|
|
3115
2104
|
*/
|
|
3116
|
-
let StockChartComponent =
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
2105
|
+
let StockChartComponent = vueDefineComponent({
|
|
2106
|
+
name: 'StockChartComponent',
|
|
2107
|
+
mixins: [ComponentBase],
|
|
2108
|
+
props: props$5,
|
|
2109
|
+
watch: watch$5,
|
|
2110
|
+
emits: emitProbs$5,
|
|
2111
|
+
model: { event: 'modelchanged' },
|
|
2112
|
+
provide() { return { custom: this.custom }; },
|
|
2113
|
+
data() {
|
|
3122
2114
|
return {
|
|
3123
|
-
|
|
2115
|
+
ej2Instances: new StockChart({}),
|
|
2116
|
+
propKeys: properties$5,
|
|
2117
|
+
models: modelProps$5,
|
|
2118
|
+
hasChildDirective: true,
|
|
2119
|
+
hasInjectedModules: true,
|
|
2120
|
+
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" },
|
|
2121
|
+
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" },
|
|
2122
|
+
isVue3: !isExecute,
|
|
2123
|
+
templateCollection: {},
|
|
3124
2124
|
};
|
|
3125
|
-
}
|
|
3126
|
-
|
|
3127
|
-
class StockChartComponent extends ComponentBase {
|
|
3128
|
-
constructor() {
|
|
3129
|
-
super(arguments);
|
|
3130
|
-
this.propKeys = properties$5;
|
|
3131
|
-
this.models = modelProps$5;
|
|
3132
|
-
this.hasChildDirective = true;
|
|
3133
|
-
this.hasInjectedModules = true;
|
|
3134
|
-
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" };
|
|
3135
|
-
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" };
|
|
3136
|
-
this.isVue3 = !isExecute;
|
|
3137
|
-
this.ej2Instances = new StockChart({});
|
|
2125
|
+
},
|
|
2126
|
+
created() {
|
|
3138
2127
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
3139
2128
|
this.ej2Instances.trigger = this.trigger;
|
|
3140
2129
|
this.bindProperties();
|
|
@@ -3142,187 +2131,147 @@ class StockChartComponent extends ComponentBase {
|
|
|
3142
2131
|
this.ej2Instances.setProperties = this.setProperties;
|
|
3143
2132
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
3144
2133
|
this.updated = this.updated;
|
|
3145
|
-
}
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
2134
|
+
},
|
|
2135
|
+
render(createElement) {
|
|
2136
|
+
let h = !isExecute ? gh : createElement;
|
|
2137
|
+
let slots = null;
|
|
2138
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
2139
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
2140
|
+
}
|
|
2141
|
+
return h('div', slots);
|
|
2142
|
+
},
|
|
2143
|
+
methods: {
|
|
2144
|
+
clearTemplate(templateNames) {
|
|
2145
|
+
if (!templateNames) {
|
|
2146
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
2147
|
+
}
|
|
2148
|
+
if (templateNames.length && this.templateCollection) {
|
|
2149
|
+
for (let tempName of templateNames) {
|
|
2150
|
+
let elementCollection = this.templateCollection[tempName];
|
|
2151
|
+
if (elementCollection && elementCollection.length) {
|
|
2152
|
+
for (let ele of elementCollection) {
|
|
2153
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
2154
|
+
if (destroy) {
|
|
2155
|
+
ele.__vue__.$destroy();
|
|
2156
|
+
}
|
|
2157
|
+
if (ele.innerHTML) {
|
|
2158
|
+
ele.innerHTML = '';
|
|
2159
|
+
}
|
|
3161
2160
|
}
|
|
2161
|
+
delete this.templateCollection[tempName];
|
|
3162
2162
|
}
|
|
3163
|
-
delete this.templateCollection[tempName];
|
|
3164
2163
|
}
|
|
3165
2164
|
}
|
|
3166
|
-
}
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
2165
|
+
},
|
|
2166
|
+
setProperties(prop, muteOnChange) {
|
|
2167
|
+
if (this.isVue3) {
|
|
2168
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2169
|
+
}
|
|
2170
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
2171
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
2172
|
+
}
|
|
2173
|
+
if (prop && this.models && this.models.length) {
|
|
2174
|
+
Object.keys(prop).map((key) => {
|
|
2175
|
+
this.models.map((model) => {
|
|
2176
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
2177
|
+
if (this.isVue3) {
|
|
2178
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
2179
|
+
}
|
|
2180
|
+
else {
|
|
2181
|
+
this.$emit('update:' + key, prop[key]);
|
|
2182
|
+
this.$emit('modelchanged', prop[key]);
|
|
2183
|
+
}
|
|
3181
2184
|
}
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
2185
|
+
});
|
|
2186
|
+
});
|
|
2187
|
+
}
|
|
2188
|
+
},
|
|
2189
|
+
trigger(eventName, eventProp, successHandler) {
|
|
2190
|
+
if (!isExecute) {
|
|
2191
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2192
|
+
}
|
|
2193
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
2194
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
2195
|
+
let propKey = key[0];
|
|
2196
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
2197
|
+
if (!isExecute) {
|
|
2198
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
2199
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
2200
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
2201
|
+
}
|
|
2202
|
+
else {
|
|
2203
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
2204
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
2205
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
3185
2206
|
}
|
|
3186
2207
|
}
|
|
3187
|
-
});
|
|
3188
|
-
});
|
|
3189
|
-
}
|
|
3190
|
-
}
|
|
3191
|
-
trigger(eventName, eventProp, successHandler) {
|
|
3192
|
-
if (!isExecute) {
|
|
3193
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
3194
|
-
}
|
|
3195
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
3196
|
-
let key = this.models.toString().match(/checked|value/) || [];
|
|
3197
|
-
let propKey = key[0];
|
|
3198
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
3199
|
-
if (!isExecute) {
|
|
3200
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
3201
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
3202
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
3203
2208
|
}
|
|
3204
|
-
|
|
3205
|
-
|
|
2209
|
+
}
|
|
2210
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
2211
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
2212
|
+
let propKey = key[0];
|
|
2213
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
2214
|
+
if (!isExecute) {
|
|
2215
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
2216
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
2217
|
+
}
|
|
2218
|
+
else {
|
|
3206
2219
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
3207
2220
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
3208
2221
|
}
|
|
3209
2222
|
}
|
|
3210
2223
|
}
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
}
|
|
3236
|
-
return h('div', slots);
|
|
3237
|
-
}
|
|
3238
|
-
custom() {
|
|
3239
|
-
this.updated();
|
|
3240
|
-
}
|
|
3241
|
-
chartModuleInjection() {
|
|
3242
|
-
return this.ej2Instances.chartModuleInjection();
|
|
3243
|
-
}
|
|
3244
|
-
findCurrentData(totalData, xName) {
|
|
3245
|
-
return this.ej2Instances.findCurrentData(totalData, xName);
|
|
3246
|
-
}
|
|
3247
|
-
rangeChanged(updatedStart, updatedEnd) {
|
|
3248
|
-
return this.ej2Instances.rangeChanged(updatedStart, updatedEnd);
|
|
3249
|
-
}
|
|
3250
|
-
renderPeriodSelector() {
|
|
3251
|
-
return this.ej2Instances.renderPeriodSelector();
|
|
3252
|
-
}
|
|
3253
|
-
stockChartDataManagerSuccess() {
|
|
3254
|
-
return this.ej2Instances.stockChartDataManagerSuccess();
|
|
3255
|
-
}
|
|
3256
|
-
};
|
|
3257
|
-
StockChartComponent = __decorate$32([
|
|
3258
|
-
EJComponentDecorator({
|
|
3259
|
-
props: properties$5,
|
|
3260
|
-
model: {
|
|
3261
|
-
event: 'modelchanged'
|
|
3262
|
-
}
|
|
3263
|
-
}, isExecute)
|
|
3264
|
-
/* Start Options({
|
|
3265
|
-
props: props,
|
|
3266
|
-
watch: watch,
|
|
3267
|
-
emits: emitProbs,
|
|
3268
|
-
provide: function provide() {
|
|
3269
|
-
return {
|
|
3270
|
-
custom: this.custom
|
|
3271
|
-
};
|
|
3272
|
-
}
|
|
3273
|
-
}) End */
|
|
3274
|
-
], StockChartComponent);
|
|
2224
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
2225
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2228
|
+
custom() {
|
|
2229
|
+
this.updated();
|
|
2230
|
+
},
|
|
2231
|
+
chartModuleInjection() {
|
|
2232
|
+
return this.ej2Instances.chartModuleInjection();
|
|
2233
|
+
},
|
|
2234
|
+
findCurrentData(totalData, xName) {
|
|
2235
|
+
return this.ej2Instances.findCurrentData(totalData, xName);
|
|
2236
|
+
},
|
|
2237
|
+
rangeChanged(updatedStart, updatedEnd) {
|
|
2238
|
+
return this.ej2Instances.rangeChanged(updatedStart, updatedEnd);
|
|
2239
|
+
},
|
|
2240
|
+
renderPeriodSelector() {
|
|
2241
|
+
return this.ej2Instances.renderPeriodSelector();
|
|
2242
|
+
},
|
|
2243
|
+
stockChartDataManagerSuccess() {
|
|
2244
|
+
return this.ej2Instances.stockChartDataManagerSuccess();
|
|
2245
|
+
},
|
|
2246
|
+
}
|
|
2247
|
+
});
|
|
3275
2248
|
const StockChartPlugin = {
|
|
3276
2249
|
name: 'ejs-stockchart',
|
|
3277
|
-
install(Vue
|
|
3278
|
-
Vue
|
|
3279
|
-
Vue
|
|
3280
|
-
Vue
|
|
3281
|
-
Vue
|
|
3282
|
-
Vue
|
|
3283
|
-
Vue
|
|
3284
|
-
Vue
|
|
3285
|
-
Vue
|
|
3286
|
-
Vue
|
|
3287
|
-
Vue
|
|
3288
|
-
Vue
|
|
3289
|
-
Vue
|
|
3290
|
-
Vue
|
|
3291
|
-
Vue
|
|
3292
|
-
Vue
|
|
3293
|
-
Vue
|
|
3294
|
-
Vue
|
|
3295
|
-
Vue
|
|
3296
|
-
Vue
|
|
2250
|
+
install(Vue) {
|
|
2251
|
+
Vue.component(StockChartPlugin.name, StockChartComponent);
|
|
2252
|
+
Vue.component(StockChartSeriesPlugin.name, StockChartSeriesDirective);
|
|
2253
|
+
Vue.component(StockChartSeriesCollectionPlugin.name, StockChartSeriesCollectionDirective);
|
|
2254
|
+
Vue.component(StockChartTrendlinePlugin.name, StockChartTrendlineDirective);
|
|
2255
|
+
Vue.component(StockChartTrendlinesPlugin.name, StockChartTrendlinesDirective);
|
|
2256
|
+
Vue.component(StockChartAxisPlugin.name, StockChartAxisDirective);
|
|
2257
|
+
Vue.component(StockChartAxesPlugin.name, StockChartAxesDirective);
|
|
2258
|
+
Vue.component(StockChartRowPlugin.name, StockChartRowDirective);
|
|
2259
|
+
Vue.component(StockChartRowsPlugin.name, StockChartRowsDirective);
|
|
2260
|
+
Vue.component(StockChartAnnotationPlugin.name, StockChartAnnotationDirective);
|
|
2261
|
+
Vue.component(StockChartAnnotationsPlugin.name, StockChartAnnotationsDirective);
|
|
2262
|
+
Vue.component(StockChartSelectedDataIndexPlugin.name, StockChartSelectedDataIndexDirective);
|
|
2263
|
+
Vue.component(StockChartSelectedDataIndexesPlugin.name, StockChartSelectedDataIndexesDirective);
|
|
2264
|
+
Vue.component(StockChartPeriodPlugin.name, StockChartPeriodDirective);
|
|
2265
|
+
Vue.component(StockChartPeriodsPlugin.name, StockChartPeriodsDirective);
|
|
2266
|
+
Vue.component(StockEventPlugin.name, StockEventDirective);
|
|
2267
|
+
Vue.component(StockEventsPlugin.name, StockEventsDirective);
|
|
2268
|
+
Vue.component(StockChartIndicatorPlugin.name, StockChartIndicatorDirective);
|
|
2269
|
+
Vue.component(StockChartIndicatorsPlugin.name, StockChartIndicatorsDirective);
|
|
3297
2270
|
}
|
|
3298
2271
|
};
|
|
3299
2272
|
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3303
|
-
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;
|
|
3304
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3305
|
-
};
|
|
3306
|
-
// {{VueImport}}
|
|
3307
|
-
let vueImport$27;
|
|
3308
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
3309
|
-
vueImport$27 = Vue;
|
|
3310
|
-
}
|
|
3311
|
-
else {
|
|
3312
|
-
vueImport$27 = Vue$1;
|
|
3313
|
-
}
|
|
3314
|
-
let BulletRangeCollectionDirective =
|
|
3315
|
-
/* Start Options({
|
|
3316
|
-
inject: {
|
|
3317
|
-
custom: {
|
|
3318
|
-
default: null
|
|
3319
|
-
}
|
|
3320
|
-
}
|
|
3321
|
-
}) End */
|
|
3322
|
-
class BulletRangeCollectionDirective extends vueImport$27 {
|
|
3323
|
-
constructor() {
|
|
3324
|
-
super(arguments);
|
|
3325
|
-
}
|
|
2273
|
+
let BulletRangeCollectionDirective = vueDefineComponent({
|
|
2274
|
+
inject: { custom: { default: null } },
|
|
3326
2275
|
render(createElement) {
|
|
3327
2276
|
if (!isExecute) {
|
|
3328
2277
|
let h = !isExecute ? gh : createElement;
|
|
@@ -3333,57 +2282,41 @@ class BulletRangeCollectionDirective extends vueImport$27 {
|
|
|
3333
2282
|
return h('div', { class: 'e-directive' }, slots);
|
|
3334
2283
|
}
|
|
3335
2284
|
return;
|
|
3336
|
-
}
|
|
2285
|
+
},
|
|
3337
2286
|
updated() {
|
|
3338
2287
|
if (!isExecute && this.custom) {
|
|
3339
2288
|
this.custom();
|
|
3340
2289
|
}
|
|
3341
|
-
}
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
};
|
|
3346
|
-
BulletRangeCollectionDirective = __decorate$33([
|
|
3347
|
-
EJComponentDecorator({}, isExecute)
|
|
3348
|
-
/* Start Options({
|
|
3349
|
-
inject: {
|
|
3350
|
-
custom: {
|
|
3351
|
-
default: null
|
|
3352
|
-
}
|
|
2290
|
+
},
|
|
2291
|
+
methods: {
|
|
2292
|
+
getTag() {
|
|
2293
|
+
return 'e-bullet-range-collection';
|
|
3353
2294
|
}
|
|
3354
|
-
}
|
|
3355
|
-
|
|
2295
|
+
}
|
|
2296
|
+
});
|
|
3356
2297
|
const BulletRangeCollectionPlugin = {
|
|
3357
2298
|
name: 'e-bullet-range-collection',
|
|
3358
|
-
install(Vue
|
|
3359
|
-
Vue
|
|
2299
|
+
install(Vue) {
|
|
2300
|
+
Vue.component(BulletRangeCollectionPlugin.name, BulletRangeCollectionDirective);
|
|
3360
2301
|
}
|
|
3361
2302
|
};
|
|
3362
|
-
let BulletRangeDirective =
|
|
2303
|
+
let BulletRangeDirective = vueDefineComponent({
|
|
3363
2304
|
render() {
|
|
3364
2305
|
return;
|
|
2306
|
+
},
|
|
2307
|
+
methods: {
|
|
2308
|
+
getTag() {
|
|
2309
|
+
return 'e-bullet-range';
|
|
2310
|
+
}
|
|
3365
2311
|
}
|
|
3366
|
-
|
|
3367
|
-
return 'e-bullet-range';
|
|
3368
|
-
}
|
|
3369
|
-
};
|
|
3370
|
-
BulletRangeDirective = __decorate$33([
|
|
3371
|
-
EJComponentDecorator({}, isExecute)
|
|
3372
|
-
], BulletRangeDirective);
|
|
2312
|
+
});
|
|
3373
2313
|
const BulletRangePlugin = {
|
|
3374
2314
|
name: 'e-bullet-range',
|
|
3375
|
-
install(Vue
|
|
3376
|
-
Vue
|
|
2315
|
+
install(Vue) {
|
|
2316
|
+
Vue.component(BulletRangePlugin.name, BulletRangeDirective);
|
|
3377
2317
|
}
|
|
3378
2318
|
};
|
|
3379
2319
|
|
|
3380
|
-
var __decorate$34 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3381
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3382
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3383
|
-
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;
|
|
3384
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3385
|
-
};
|
|
3386
|
-
// {{VueImport}}
|
|
3387
2320
|
const properties$6 = ['isLazyUpdate', 'plugins', 'animation', 'border', 'categoryField', 'categoryLabelStyle', 'dataLabel', 'dataSource', 'enableGroupSeparator', 'enablePersistence', 'enableRtl', 'height', 'interval', 'labelFormat', 'labelPosition', 'labelStyle', 'legendSettings', 'locale', 'majorTickLines', 'margin', 'maximum', 'minimum', 'minorTickLines', 'minorTicksPerInterval', 'opposedPosition', 'orientation', 'query', 'ranges', 'subtitle', 'subtitleStyle', 'tabIndex', 'targetColor', 'targetField', 'targetTypes', 'targetWidth', 'theme', 'tickPosition', 'title', 'titlePosition', 'titleStyle', 'tooltip', 'type', 'valueBorder', 'valueField', 'valueFill', 'valueHeight', 'width', 'beforePrint', 'bulletChartMouseClick', 'legendRender', 'load', 'loaded', 'tooltipRender'];
|
|
3388
2321
|
const modelProps$6 = ['dataSource'];
|
|
3389
2322
|
const testProp$6 = getProps({ props: properties$6 });
|
|
@@ -3400,28 +2333,28 @@ for (let props of modelProps$6) {
|
|
|
3400
2333
|
* <ejs-bulletchart></ejs-bulletchart>
|
|
3401
2334
|
* ```
|
|
3402
2335
|
*/
|
|
3403
|
-
let BulletChartComponent =
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
2336
|
+
let BulletChartComponent = vueDefineComponent({
|
|
2337
|
+
name: 'BulletChartComponent',
|
|
2338
|
+
mixins: [ComponentBase],
|
|
2339
|
+
props: props$6,
|
|
2340
|
+
watch: watch$6,
|
|
2341
|
+
emits: emitProbs$6,
|
|
2342
|
+
model: { event: 'modelchanged' },
|
|
2343
|
+
provide() { return { custom: this.custom }; },
|
|
2344
|
+
data() {
|
|
3409
2345
|
return {
|
|
3410
|
-
|
|
2346
|
+
ej2Instances: new BulletChart({}),
|
|
2347
|
+
propKeys: properties$6,
|
|
2348
|
+
models: modelProps$6,
|
|
2349
|
+
hasChildDirective: true,
|
|
2350
|
+
hasInjectedModules: true,
|
|
2351
|
+
tagMapper: { "e-bullet-range-collection": "e-bullet-range" },
|
|
2352
|
+
tagNameMapper: { "e-bullet-range-collection": "e-ranges" },
|
|
2353
|
+
isVue3: !isExecute,
|
|
2354
|
+
templateCollection: {},
|
|
3411
2355
|
};
|
|
3412
|
-
}
|
|
3413
|
-
|
|
3414
|
-
class BulletChartComponent extends ComponentBase {
|
|
3415
|
-
constructor() {
|
|
3416
|
-
super(arguments);
|
|
3417
|
-
this.propKeys = properties$6;
|
|
3418
|
-
this.models = modelProps$6;
|
|
3419
|
-
this.hasChildDirective = true;
|
|
3420
|
-
this.hasInjectedModules = true;
|
|
3421
|
-
this.tagMapper = { "e-bullet-range-collection": "e-bullet-range" };
|
|
3422
|
-
this.tagNameMapper = { "e-bullet-range-collection": "e-ranges" };
|
|
3423
|
-
this.isVue3 = !isExecute;
|
|
3424
|
-
this.ej2Instances = new BulletChart({});
|
|
2356
|
+
},
|
|
2357
|
+
created() {
|
|
3425
2358
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
3426
2359
|
this.ej2Instances.trigger = this.trigger;
|
|
3427
2360
|
this.bindProperties();
|
|
@@ -3429,139 +2362,123 @@ class BulletChartComponent extends ComponentBase {
|
|
|
3429
2362
|
this.ej2Instances.setProperties = this.setProperties;
|
|
3430
2363
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
3431
2364
|
this.updated = this.updated;
|
|
3432
|
-
}
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
2365
|
+
},
|
|
2366
|
+
render(createElement) {
|
|
2367
|
+
let h = !isExecute ? gh : createElement;
|
|
2368
|
+
let slots = null;
|
|
2369
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
2370
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
2371
|
+
}
|
|
2372
|
+
return h('div', slots);
|
|
2373
|
+
},
|
|
2374
|
+
methods: {
|
|
2375
|
+
clearTemplate(templateNames) {
|
|
2376
|
+
if (!templateNames) {
|
|
2377
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
2378
|
+
}
|
|
2379
|
+
if (templateNames.length && this.templateCollection) {
|
|
2380
|
+
for (let tempName of templateNames) {
|
|
2381
|
+
let elementCollection = this.templateCollection[tempName];
|
|
2382
|
+
if (elementCollection && elementCollection.length) {
|
|
2383
|
+
for (let ele of elementCollection) {
|
|
2384
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
2385
|
+
if (destroy) {
|
|
2386
|
+
ele.__vue__.$destroy();
|
|
2387
|
+
}
|
|
2388
|
+
if (ele.innerHTML) {
|
|
2389
|
+
ele.innerHTML = '';
|
|
2390
|
+
}
|
|
3448
2391
|
}
|
|
2392
|
+
delete this.templateCollection[tempName];
|
|
3449
2393
|
}
|
|
3450
|
-
delete this.templateCollection[tempName];
|
|
3451
2394
|
}
|
|
3452
2395
|
}
|
|
3453
|
-
}
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
2396
|
+
},
|
|
2397
|
+
setProperties(prop, muteOnChange) {
|
|
2398
|
+
if (this.isVue3) {
|
|
2399
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2400
|
+
}
|
|
2401
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
2402
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
2403
|
+
}
|
|
2404
|
+
if (prop && this.models && this.models.length) {
|
|
2405
|
+
Object.keys(prop).map((key) => {
|
|
2406
|
+
this.models.map((model) => {
|
|
2407
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
2408
|
+
if (this.isVue3) {
|
|
2409
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
2410
|
+
}
|
|
2411
|
+
else {
|
|
2412
|
+
this.$emit('update:' + key, prop[key]);
|
|
2413
|
+
this.$emit('modelchanged', prop[key]);
|
|
2414
|
+
}
|
|
3468
2415
|
}
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
2416
|
+
});
|
|
2417
|
+
});
|
|
2418
|
+
}
|
|
2419
|
+
},
|
|
2420
|
+
trigger(eventName, eventProp, successHandler) {
|
|
2421
|
+
if (!isExecute) {
|
|
2422
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
2423
|
+
}
|
|
2424
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
2425
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
2426
|
+
let propKey = key[0];
|
|
2427
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
2428
|
+
if (!isExecute) {
|
|
2429
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
2430
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
2431
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
2432
|
+
}
|
|
2433
|
+
else {
|
|
2434
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
2435
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
2436
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
3472
2437
|
}
|
|
3473
2438
|
}
|
|
3474
|
-
});
|
|
3475
|
-
});
|
|
3476
|
-
}
|
|
3477
|
-
}
|
|
3478
|
-
trigger(eventName, eventProp, successHandler) {
|
|
3479
|
-
if (!isExecute) {
|
|
3480
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
3481
|
-
}
|
|
3482
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
3483
|
-
let key = this.models.toString().match(/checked|value/) || [];
|
|
3484
|
-
let propKey = key[0];
|
|
3485
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
3486
|
-
if (!isExecute) {
|
|
3487
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
3488
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
3489
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
3490
2439
|
}
|
|
3491
|
-
|
|
3492
|
-
|
|
2440
|
+
}
|
|
2441
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
2442
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
2443
|
+
let propKey = key[0];
|
|
2444
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
2445
|
+
if (!isExecute) {
|
|
2446
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
2447
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
2448
|
+
}
|
|
2449
|
+
else {
|
|
3493
2450
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
3494
2451
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
3495
2452
|
}
|
|
3496
2453
|
}
|
|
3497
2454
|
}
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
let slots = null;
|
|
3520
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
3521
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
3522
|
-
}
|
|
3523
|
-
return h('div', slots);
|
|
3524
|
-
}
|
|
3525
|
-
custom() {
|
|
3526
|
-
this.updated();
|
|
3527
|
-
}
|
|
3528
|
-
createSvg(chart) {
|
|
3529
|
-
return this.ej2Instances.createSvg(chart);
|
|
3530
|
-
}
|
|
3531
|
-
export(type, fileName, orientation, controls, width, height, isVertical) {
|
|
3532
|
-
return this.ej2Instances.export(type, fileName, orientation, controls, width, height, isVertical);
|
|
3533
|
-
}
|
|
3534
|
-
print(id) {
|
|
3535
|
-
return this.ej2Instances.print(id);
|
|
3536
|
-
}
|
|
3537
|
-
removeSvg() {
|
|
3538
|
-
return this.ej2Instances.removeSvg();
|
|
3539
|
-
}
|
|
3540
|
-
};
|
|
3541
|
-
BulletChartComponent = __decorate$34([
|
|
3542
|
-
EJComponentDecorator({
|
|
3543
|
-
props: properties$6,
|
|
3544
|
-
model: {
|
|
3545
|
-
event: 'modelchanged'
|
|
3546
|
-
}
|
|
3547
|
-
}, isExecute)
|
|
3548
|
-
/* Start Options({
|
|
3549
|
-
props: props,
|
|
3550
|
-
watch: watch,
|
|
3551
|
-
emits: emitProbs,
|
|
3552
|
-
provide: function provide() {
|
|
3553
|
-
return {
|
|
3554
|
-
custom: this.custom
|
|
3555
|
-
};
|
|
3556
|
-
}
|
|
3557
|
-
}) End */
|
|
3558
|
-
], BulletChartComponent);
|
|
2455
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
2456
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
custom() {
|
|
2460
|
+
this.updated();
|
|
2461
|
+
},
|
|
2462
|
+
createSvg(chart) {
|
|
2463
|
+
return this.ej2Instances.createSvg(chart);
|
|
2464
|
+
},
|
|
2465
|
+
export(type, fileName, orientation, controls, width, height, isVertical) {
|
|
2466
|
+
return this.ej2Instances.export(type, fileName, orientation, controls, width, height, isVertical);
|
|
2467
|
+
},
|
|
2468
|
+
print(id) {
|
|
2469
|
+
return this.ej2Instances.print(id);
|
|
2470
|
+
},
|
|
2471
|
+
removeSvg() {
|
|
2472
|
+
return this.ej2Instances.removeSvg();
|
|
2473
|
+
},
|
|
2474
|
+
}
|
|
2475
|
+
});
|
|
3559
2476
|
const BulletChartPlugin = {
|
|
3560
2477
|
name: 'ejs-bulletchart',
|
|
3561
|
-
install(Vue
|
|
3562
|
-
Vue
|
|
3563
|
-
Vue
|
|
3564
|
-
Vue
|
|
2478
|
+
install(Vue) {
|
|
2479
|
+
Vue.component(BulletChartPlugin.name, BulletChartComponent);
|
|
2480
|
+
Vue.component(BulletRangePlugin.name, BulletRangeDirective);
|
|
2481
|
+
Vue.component(BulletRangeCollectionPlugin.name, BulletRangeCollectionDirective);
|
|
3565
2482
|
}
|
|
3566
2483
|
};
|
|
3567
2484
|
|