@syncfusion/ej2-vue-charts 20.4.53 → 21.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -1
- package/dist/ej2-vue-charts.umd.min.js +2 -2
- package/dist/ej2-vue-charts.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-charts.es2015.js +1413 -2496
- package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-charts.es5.js +1639 -3093
- package/dist/es6/ej2-vue-charts.es5.js.map +1 -1
- package/dist/global/ej2-vue-charts.min.js +2 -2
- package/package.json +9 -9
- package/src/accumulation-chart/accumulationchart.component.d.ts +3 -29
- package/src/accumulation-chart/accumulationchart.component.js +132 -163
- package/src/accumulation-chart/annotations.directive.d.ts +2 -12
- package/src/accumulation-chart/annotations.directive.js +22 -71
- package/src/accumulation-chart/series.directive.d.ts +2 -12
- package/src/accumulation-chart/series.directive.js +22 -71
- package/src/bullet-chart/bulletchart.component.d.ts +3 -29
- package/src/bullet-chart/bulletchart.component.js +131 -162
- package/src/bullet-chart/ranges.directive.d.ts +2 -12
- package/src/bullet-chart/ranges.directive.js +22 -71
- package/src/chart/annotations.directive.d.ts +2 -12
- package/src/chart/annotations.directive.js +22 -71
- package/src/chart/axes.directive.d.ts +2 -12
- package/src/chart/axes.directive.js +22 -71
- package/src/chart/categories.directive.d.ts +2 -12
- package/src/chart/categories.directive.js +22 -71
- package/src/chart/chart.component.d.ts +3 -38
- package/src/chart/chart.component.js +158 -189
- package/src/chart/columns.directive.d.ts +2 -12
- package/src/chart/columns.directive.js +22 -71
- package/src/chart/indicators.directive.d.ts +2 -12
- package/src/chart/indicators.directive.js +22 -71
- package/src/chart/multilevellabels.directive.d.ts +2 -12
- package/src/chart/multilevellabels.directive.js +22 -71
- package/src/chart/rangecolorsettings.directive.d.ts +2 -12
- package/src/chart/rangecolorsettings.directive.js +22 -71
- package/src/chart/rows.directive.d.ts +2 -12
- package/src/chart/rows.directive.js +22 -71
- package/src/chart/segments.directive.d.ts +2 -12
- package/src/chart/segments.directive.js +22 -71
- package/src/chart/selecteddataindexes.directive.d.ts +2 -12
- package/src/chart/selecteddataindexes.directive.js +22 -71
- package/src/chart/series.directive.d.ts +2 -12
- package/src/chart/series.directive.js +22 -71
- package/src/chart/striplines.directive.d.ts +2 -12
- package/src/chart/striplines.directive.js +22 -71
- package/src/chart/trendlines.directive.d.ts +2 -12
- package/src/chart/trendlines.directive.js +22 -71
- package/src/range-navigator/rangenavigator.component.d.ts +3 -29
- package/src/range-navigator/rangenavigator.component.js +131 -162
- package/src/range-navigator/series.directive.d.ts +2 -12
- package/src/range-navigator/series.directive.js +22 -71
- package/src/smithchart/series.directive.d.ts +2 -12
- package/src/smithchart/series.directive.js +22 -71
- package/src/smithchart/smithchart.component.d.ts +3 -28
- package/src/smithchart/smithchart.component.js +101 -130
- package/src/sparkline/rangebandsettings.directive.d.ts +2 -12
- package/src/sparkline/rangebandsettings.directive.js +22 -71
- package/src/sparkline/sparkline.component.d.ts +3 -23
- package/src/sparkline/sparkline.component.js +86 -115
- package/src/stock-chart/annotations.directive.d.ts +2 -12
- package/src/stock-chart/annotations.directive.js +22 -71
- package/src/stock-chart/axes.directive.d.ts +2 -12
- package/src/stock-chart/axes.directive.js +22 -71
- package/src/stock-chart/indicators.directive.d.ts +2 -12
- package/src/stock-chart/indicators.directive.js +22 -71
- package/src/stock-chart/periods.directive.d.ts +2 -12
- package/src/stock-chart/periods.directive.js +22 -71
- package/src/stock-chart/rows.directive.d.ts +2 -12
- package/src/stock-chart/rows.directive.js +22 -71
- package/src/stock-chart/selecteddataindexes.directive.d.ts +2 -12
- package/src/stock-chart/selecteddataindexes.directive.js +22 -71
- package/src/stock-chart/series.directive.d.ts +2 -12
- package/src/stock-chart/series.directive.js +22 -71
- package/src/stock-chart/stockchart.component.d.ts +3 -30
- package/src/stock-chart/stockchart.component.js +134 -165
- package/src/stock-chart/stockevents.directive.d.ts +2 -12
- package/src/stock-chart/stockevents.directive.js +22 -71
- package/src/stock-chart/trendlines.directive.d.ts +2 -12
- package/src/stock-chart/trendlines.directive.js +22 -71
|
@@ -1,34 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { isUndefined } from '@syncfusion/ej2-base';
|
|
21
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
22
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
3
|
+
import { isUndefined } from '@syncfusion/ej2-base';
|
|
23
4
|
import { RangeNavigator } from '@syncfusion/ej2-charts';
|
|
24
5
|
import { RangenavigatorSeriesCollectionDirective, RangenavigatorSeriesDirective, RangenavigatorSeriesCollectionPlugin, RangenavigatorSeriesPlugin } from './series.directive';
|
|
25
|
-
import { Options } from 'vue-class-component';
|
|
26
6
|
export var properties = ['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'];
|
|
27
7
|
export var modelProps = ['dataSource'];
|
|
28
8
|
export var testProp = getProps({ props: properties });
|
|
29
|
-
export var props = testProp[0];
|
|
30
|
-
export var watch = testProp[1];
|
|
31
|
-
export var emitProbs = Object.keys(watch);
|
|
9
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
32
10
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
33
11
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
34
12
|
var props_1 = modelProps_1[_i];
|
|
@@ -40,158 +18,149 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
40
18
|
* <ejs-rangenavigator></ejs-rangenavigator>
|
|
41
19
|
* ```
|
|
42
20
|
*/
|
|
43
|
-
var RangeNavigatorComponent =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
21
|
+
export var RangeNavigatorComponent = vueDefineComponent({
|
|
22
|
+
name: 'RangeNavigatorComponent',
|
|
23
|
+
mixins: [ComponentBase],
|
|
24
|
+
props: props,
|
|
25
|
+
watch: watch,
|
|
26
|
+
emits: emitProbs,
|
|
27
|
+
model: { event: 'modelchanged' },
|
|
28
|
+
provide: function () { return { custom: this.custom }; },
|
|
29
|
+
data: function () {
|
|
30
|
+
return {
|
|
31
|
+
ej2Instances: new RangeNavigator({}),
|
|
32
|
+
propKeys: properties,
|
|
33
|
+
models: modelProps,
|
|
34
|
+
hasChildDirective: true,
|
|
35
|
+
hasInjectedModules: true,
|
|
36
|
+
tagMapper: { "e-rangenavigator-series-collection": "e-rangenavigator-series" },
|
|
37
|
+
tagNameMapper: { "e-rangenavigator-series-collection": "e-series" },
|
|
38
|
+
isVue3: !isExecute,
|
|
39
|
+
templateCollection: {},
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
created: function () {
|
|
43
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
44
|
+
this.ej2Instances.trigger = this.trigger;
|
|
45
|
+
this.bindProperties();
|
|
46
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
47
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
48
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
49
|
+
this.updated = this.updated;
|
|
50
|
+
},
|
|
51
|
+
render: function (createElement) {
|
|
52
|
+
var h = !isExecute ? gh : createElement;
|
|
53
|
+
var slots = null;
|
|
54
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
55
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
67
56
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
57
|
+
return h('div', slots);
|
|
58
|
+
},
|
|
59
|
+
methods: {
|
|
60
|
+
clearTemplate: function (templateNames) {
|
|
61
|
+
if (!templateNames) {
|
|
62
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
63
|
+
}
|
|
64
|
+
if (templateNames.length && this.templateCollection) {
|
|
65
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
66
|
+
var tempName = templateNames_1[_i];
|
|
67
|
+
var elementCollection = this.templateCollection[tempName];
|
|
68
|
+
if (elementCollection && elementCollection.length) {
|
|
69
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
70
|
+
var ele = elementCollection_1[_a];
|
|
71
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
72
|
+
if (destroy) {
|
|
73
|
+
ele.__vue__.$destroy();
|
|
74
|
+
}
|
|
75
|
+
if (ele.innerHTML) {
|
|
76
|
+
ele.innerHTML = '';
|
|
77
|
+
}
|
|
81
78
|
}
|
|
79
|
+
delete this.templateCollection[tempName];
|
|
82
80
|
}
|
|
83
|
-
delete this.templateCollection[tempName];
|
|
84
81
|
}
|
|
85
82
|
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
83
|
+
},
|
|
84
|
+
setProperties: function (prop, muteOnChange) {
|
|
85
|
+
var _this = this;
|
|
86
|
+
if (this.isVue3) {
|
|
87
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
88
|
+
}
|
|
89
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
90
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
91
|
+
}
|
|
92
|
+
if (prop && this.models && this.models.length) {
|
|
93
|
+
Object.keys(prop).map(function (key) {
|
|
94
|
+
_this.models.map(function (model) {
|
|
95
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
96
|
+
if (_this.isVue3) {
|
|
97
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
_this.$emit('update:' + key, prop[key]);
|
|
101
|
+
_this.$emit('modelchanged', prop[key]);
|
|
102
|
+
}
|
|
102
103
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
trigger: function (eventName, eventProp, successHandler) {
|
|
109
|
+
if (!isExecute) {
|
|
110
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
111
|
+
}
|
|
112
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
113
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
114
|
+
var propKey = key[0];
|
|
115
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
116
|
+
if (!isExecute) {
|
|
117
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
118
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
119
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
123
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
124
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
106
125
|
}
|
|
107
126
|
}
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
RangeNavigatorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
113
|
-
if (!isExecute) {
|
|
114
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
115
|
-
}
|
|
116
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
117
|
-
var key = this.models.toString().match(/checked|value/) || [];
|
|
118
|
-
var propKey = key[0];
|
|
119
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
120
|
-
if (!isExecute) {
|
|
121
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
122
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
123
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
124
127
|
}
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
}
|
|
129
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
130
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
131
|
+
var propKey = key[0];
|
|
132
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
133
|
+
if (!isExecute) {
|
|
134
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
135
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
127
138
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
128
139
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
129
140
|
}
|
|
130
141
|
}
|
|
131
142
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
135
|
-
var propKey = key[0];
|
|
136
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
137
|
-
if (!isExecute) {
|
|
138
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
139
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
140
|
-
}
|
|
141
|
-
else {
|
|
142
|
-
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
143
|
-
this.$emit('modelchanged', eventProp[propKey]);
|
|
144
|
-
}
|
|
143
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
144
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
145
145
|
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
this.
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
};
|
|
165
|
-
RangeNavigatorComponent.prototype.export = function (type, fileName, orientation, controls, width, height, isVertical) {
|
|
166
|
-
return this.ej2Instances.export(type, fileName, orientation, controls, width, height, isVertical);
|
|
167
|
-
};
|
|
168
|
-
RangeNavigatorComponent.prototype.print = function (id) {
|
|
169
|
-
return this.ej2Instances.print(id);
|
|
170
|
-
};
|
|
171
|
-
RangeNavigatorComponent.prototype.renderChart = function (resize) {
|
|
172
|
-
return this.ej2Instances.renderChart(resize);
|
|
173
|
-
};
|
|
174
|
-
RangeNavigatorComponent = __decorate([
|
|
175
|
-
EJComponentDecorator({
|
|
176
|
-
props: properties,
|
|
177
|
-
model: {
|
|
178
|
-
event: 'modelchanged'
|
|
179
|
-
}
|
|
180
|
-
}, isExecute)
|
|
181
|
-
,Options({
|
|
182
|
-
props: props,
|
|
183
|
-
watch: watch,
|
|
184
|
-
emits: emitProbs,
|
|
185
|
-
provide: function provide() {
|
|
186
|
-
return {
|
|
187
|
-
custom: this.custom
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
})
|
|
191
|
-
], RangeNavigatorComponent);
|
|
192
|
-
return RangeNavigatorComponent;
|
|
193
|
-
}(ComponentBase));
|
|
194
|
-
export { RangeNavigatorComponent };
|
|
146
|
+
},
|
|
147
|
+
custom: function () {
|
|
148
|
+
this.updated();
|
|
149
|
+
},
|
|
150
|
+
createSecondaryElement: function () {
|
|
151
|
+
return this.ej2Instances.createSecondaryElement();
|
|
152
|
+
},
|
|
153
|
+
export: function (type, fileName, orientation, controls, width, height, isVertical) {
|
|
154
|
+
return this.ej2Instances.export(type, fileName, orientation, controls, width, height, isVertical);
|
|
155
|
+
},
|
|
156
|
+
print: function (id) {
|
|
157
|
+
return this.ej2Instances.print(id);
|
|
158
|
+
},
|
|
159
|
+
renderChart: function (resize) {
|
|
160
|
+
return this.ej2Instances.renderChart(resize);
|
|
161
|
+
},
|
|
162
|
+
}
|
|
163
|
+
});
|
|
195
164
|
export var RangeNavigatorPlugin = {
|
|
196
165
|
name: 'ejs-rangenavigator',
|
|
197
166
|
install: function (Vue) {
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class RangenavigatorSeriesCollectionDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let RangenavigatorSeriesCollectionDirective: any;
|
|
8
2
|
export declare const RangenavigatorSeriesCollectionPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
11
5
|
};
|
|
12
|
-
export declare
|
|
13
|
-
render(): void;
|
|
14
|
-
getTag(): string;
|
|
15
|
-
}
|
|
6
|
+
export declare let RangenavigatorSeriesDirective: any;
|
|
16
7
|
export declare const RangenavigatorSeriesPlugin: {
|
|
17
8
|
name: string;
|
|
18
9
|
install(Vue: any): void;
|
|
19
10
|
};
|
|
20
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
|
-
import * as Vue3 from 'vue-class-component';
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
22
2
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var RangenavigatorSeriesCollectionDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(RangenavigatorSeriesCollectionDirective, _super);
|
|
34
|
-
function RangenavigatorSeriesCollectionDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
RangenavigatorSeriesCollectionDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var RangenavigatorSeriesCollectionDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
38
6
|
if (!isExecute) {
|
|
39
7
|
var h = !isExecute ? gh : createElement;
|
|
40
8
|
var slots = null;
|
|
@@ -44,51 +12,34 @@ var RangenavigatorSeriesCollectionDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], RangenavigatorSeriesCollectionDirective);
|
|
66
|
-
return RangenavigatorSeriesCollectionDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { RangenavigatorSeriesCollectionDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-rangenavigator-series-collection';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var RangenavigatorSeriesCollectionPlugin = {
|
|
70
28
|
name: 'e-rangenavigator-series-collection',
|
|
71
29
|
install: function (Vue) {
|
|
72
30
|
Vue.component(RangenavigatorSeriesCollectionPlugin.name, RangenavigatorSeriesCollectionDirective);
|
|
73
31
|
}
|
|
74
32
|
};
|
|
75
|
-
var RangenavigatorSeriesDirective =
|
|
76
|
-
|
|
77
|
-
function RangenavigatorSeriesDirective() {
|
|
78
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
79
|
-
}
|
|
80
|
-
RangenavigatorSeriesDirective.prototype.render = function () {
|
|
33
|
+
export var RangenavigatorSeriesDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
81
35
|
return;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return RangenavigatorSeriesDirective;
|
|
90
|
-
}(vueImport));
|
|
91
|
-
export { RangenavigatorSeriesDirective };
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-rangenavigator-series';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
92
43
|
export var RangenavigatorSeriesPlugin = {
|
|
93
44
|
name: 'e-rangenavigator-series',
|
|
94
45
|
install: function (Vue) {
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class SmithchartSeriesCollectionDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let SmithchartSeriesCollectionDirective: any;
|
|
8
2
|
export declare const SmithchartSeriesCollectionPlugin: {
|
|
9
3
|
name: string;
|
|
10
4
|
install(Vue: any): void;
|
|
11
5
|
};
|
|
12
|
-
export declare
|
|
13
|
-
render(): void;
|
|
14
|
-
getTag(): string;
|
|
15
|
-
}
|
|
6
|
+
export declare let SmithchartSeriesDirective: any;
|
|
16
7
|
export declare const SmithchartSeriesPlugin: {
|
|
17
8
|
name: string;
|
|
18
9
|
install(Vue: any): void;
|
|
19
10
|
};
|
|
20
|
-
export {};
|
|
@@ -1,40 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { EJComponentDecorator, allVue, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
21
|
-
import * as Vue3 from 'vue-class-component';
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
22
2
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
27
|
-
vueImport = Vue3.Vue;
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
vueImport = Vue;
|
|
31
|
-
}
|
|
32
|
-
var SmithchartSeriesCollectionDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(SmithchartSeriesCollectionDirective, _super);
|
|
34
|
-
function SmithchartSeriesCollectionDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
SmithchartSeriesCollectionDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var SmithchartSeriesCollectionDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
38
6
|
if (!isExecute) {
|
|
39
7
|
var h = !isExecute ? gh : createElement;
|
|
40
8
|
var slots = null;
|
|
@@ -44,51 +12,34 @@ var SmithchartSeriesCollectionDirective = /** @class */ (function (_super) {
|
|
|
44
12
|
return h('div', { class: 'e-directive' }, slots);
|
|
45
13
|
}
|
|
46
14
|
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
49
17
|
if (!isExecute && this.custom) {
|
|
50
18
|
this.custom();
|
|
51
19
|
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
inject: {
|
|
60
|
-
custom: {
|
|
61
|
-
default: null
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
], SmithchartSeriesCollectionDirective);
|
|
66
|
-
return SmithchartSeriesCollectionDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { SmithchartSeriesCollectionDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-seriesCollection';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var SmithchartSeriesCollectionPlugin = {
|
|
70
28
|
name: 'e-seriesCollection',
|
|
71
29
|
install: function (Vue) {
|
|
72
30
|
Vue.component(SmithchartSeriesCollectionPlugin.name, SmithchartSeriesCollectionDirective);
|
|
73
31
|
}
|
|
74
32
|
};
|
|
75
|
-
var SmithchartSeriesDirective =
|
|
76
|
-
|
|
77
|
-
function SmithchartSeriesDirective() {
|
|
78
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
79
|
-
}
|
|
80
|
-
SmithchartSeriesDirective.prototype.render = function () {
|
|
33
|
+
export var SmithchartSeriesDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
81
35
|
return;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return SmithchartSeriesDirective;
|
|
90
|
-
}(vueImport));
|
|
91
|
-
export { SmithchartSeriesDirective };
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-series';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
92
43
|
export var SmithchartSeriesPlugin = {
|
|
93
44
|
name: 'e-series',
|
|
94
45
|
install: function (Vue) {
|
|
@@ -1,40 +1,15 @@
|
|
|
1
|
-
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
|
2
1
|
export declare const properties: string[];
|
|
3
2
|
export declare const modelProps: string[];
|
|
4
3
|
export declare const testProp: any;
|
|
5
|
-
export declare const props: any;
|
|
6
|
-
export declare const watch: any;
|
|
7
|
-
export declare const emitProbs: any;
|
|
4
|
+
export declare const props: any, watch: any, emitProbs: any;
|
|
8
5
|
/**
|
|
9
6
|
* Represents Vuejs Smithchart Component
|
|
10
7
|
* ```vue
|
|
11
8
|
* <ejs-smithchart></ejs-smithchart>
|
|
12
9
|
* ```
|
|
13
10
|
*/
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
propKeys: string[];
|
|
17
|
-
models: string[];
|
|
18
|
-
hasChildDirective: boolean;
|
|
19
|
-
protected hasInjectedModules: boolean;
|
|
20
|
-
tagMapper: {
|
|
21
|
-
[key: string]: Object;
|
|
22
|
-
};
|
|
23
|
-
tagNameMapper: Object;
|
|
24
|
-
isVue3: boolean;
|
|
25
|
-
templateCollection: any;
|
|
26
|
-
constructor();
|
|
27
|
-
clearTemplate(templateNames?: string[]): any;
|
|
28
|
-
setProperties(prop: any, muteOnChange: boolean): void;
|
|
29
|
-
render(createElement: any): any;
|
|
30
|
-
custom(): void;
|
|
31
|
-
export(type: Object, fileName: string, orientation?: Object): void;
|
|
32
|
-
mouseEnd(e: Object): void;
|
|
33
|
-
mouseMove(e: Object): void;
|
|
34
|
-
print(id?: string[] | string | Object): void;
|
|
35
|
-
smithchartOnClick(e: Object): void;
|
|
36
|
-
smithchartOnResize(): boolean;
|
|
37
|
-
}
|
|
11
|
+
export declare let SmithchartComponent: any;
|
|
12
|
+
export declare type SmithchartComponent = InstanceType<typeof SmithchartComponent>;
|
|
38
13
|
export declare const SmithchartPlugin: {
|
|
39
14
|
name: string;
|
|
40
15
|
install(Vue: any): void;
|