@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
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-charts@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-charts@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-charts@20.9.12",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-pI9o1LHe1RGrvzGvc9ViFZRLqWNT6+xkOogT+RmtBFz2tndhVbdJAem5B8+vx20FJjVbIHB7tfuR7Exlz6AMZQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-charts",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-charts/-/ej2-vue-charts-20.9.12.tgz",
|
|
23
|
+
"_shasum": "70ec4a3c141f6fe236ad1e03a4790e22fff5b793",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-charts@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-charts": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.35",
|
|
35
|
+
"@syncfusion/ej2-charts": "21.1.35",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~21.1.35"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for Vue",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"scripts": {
|
|
67
67
|
"postinstall": "node ../ej2-vue-base/postinstall.js"
|
|
68
68
|
},
|
|
69
|
-
"version": "
|
|
69
|
+
"version": "21.1.35",
|
|
70
70
|
"sideEffects": false
|
|
71
71
|
}
|
|
@@ -1,41 +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 AccumulationChart Component
|
|
10
7
|
* ```vue
|
|
11
8
|
* <ejs-accumulationchart></ejs-accumulationchart>
|
|
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
|
-
trigger(eventName: string, eventProp: {
|
|
30
|
-
[key: string]: Object;
|
|
31
|
-
}, successHandler?: Function): void;
|
|
32
|
-
render(createElement: any): any;
|
|
33
|
-
custom(): void;
|
|
34
|
-
export(type: Object, fileName: string): void;
|
|
35
|
-
print(id?: string[] | string | Object): void;
|
|
36
|
-
setAnnotationValue(annotationIndex: number, content: string): void;
|
|
37
|
-
titleTooltip(event: Object, x: number, y: number, isTouch?: boolean): void;
|
|
38
|
-
}
|
|
11
|
+
export declare let AccumulationChartComponent: any;
|
|
12
|
+
export declare type AccumulationChartComponent = InstanceType<typeof AccumulationChartComponent>;
|
|
39
13
|
export declare const AccumulationChartPlugin: {
|
|
40
14
|
name: string;
|
|
41
15
|
install(Vue: any): void;
|
|
@@ -1,35 +1,13 @@
|
|
|
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 { AccumulationChart } from '@syncfusion/ej2-charts';
|
|
24
5
|
import { AccumulationSeriesCollectionDirective, AccumulationSeriesDirective, AccumulationSeriesCollectionPlugin, AccumulationSeriesPlugin } from './series.directive';
|
|
25
6
|
import { AccumulationAnnotationsDirective, AccumulationAnnotationDirective, AccumulationAnnotationsPlugin, AccumulationAnnotationPlugin } from './annotations.directive';
|
|
26
|
-
|
|
27
|
-
export var properties = ['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'];
|
|
7
|
+
export var properties = ['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'];
|
|
28
8
|
export var modelProps = ['dataSource'];
|
|
29
9
|
export var testProp = getProps({ props: properties });
|
|
30
|
-
export var props = testProp[0];
|
|
31
|
-
export var watch = testProp[1];
|
|
32
|
-
export var emitProbs = Object.keys(watch);
|
|
10
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
33
11
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
34
12
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
35
13
|
var props_1 = modelProps_1[_i];
|
|
@@ -41,158 +19,149 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
41
19
|
* <ejs-accumulationchart></ejs-accumulationchart>
|
|
42
20
|
* ```
|
|
43
21
|
*/
|
|
44
|
-
var AccumulationChartComponent =
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
22
|
+
export var AccumulationChartComponent = vueDefineComponent({
|
|
23
|
+
name: 'AccumulationChartComponent',
|
|
24
|
+
mixins: [ComponentBase],
|
|
25
|
+
props: props,
|
|
26
|
+
watch: watch,
|
|
27
|
+
emits: emitProbs,
|
|
28
|
+
model: { event: 'modelchanged' },
|
|
29
|
+
provide: function () { return { custom: this.custom }; },
|
|
30
|
+
data: function () {
|
|
31
|
+
return {
|
|
32
|
+
ej2Instances: new AccumulationChart({}),
|
|
33
|
+
propKeys: properties,
|
|
34
|
+
models: modelProps,
|
|
35
|
+
hasChildDirective: true,
|
|
36
|
+
hasInjectedModules: true,
|
|
37
|
+
tagMapper: { "e-accumulation-series-collection": "e-accumulation-series", "e-accumulation-annotations": "e-accumulation-annotation" },
|
|
38
|
+
tagNameMapper: { "e-accumulation-series-collection": "e-series", "e-accumulation-annotations": "e-annotations" },
|
|
39
|
+
isVue3: !isExecute,
|
|
40
|
+
templateCollection: {},
|
|
41
|
+
};
|
|
42
|
+
},
|
|
43
|
+
created: function () {
|
|
44
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
45
|
+
this.ej2Instances.trigger = this.trigger;
|
|
46
|
+
this.bindProperties();
|
|
47
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
48
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
49
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
50
|
+
this.updated = this.updated;
|
|
51
|
+
},
|
|
52
|
+
render: function (createElement) {
|
|
53
|
+
var h = !isExecute ? gh : createElement;
|
|
54
|
+
var slots = null;
|
|
55
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
56
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
68
57
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
58
|
+
return h('div', slots);
|
|
59
|
+
},
|
|
60
|
+
methods: {
|
|
61
|
+
clearTemplate: function (templateNames) {
|
|
62
|
+
if (!templateNames) {
|
|
63
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
64
|
+
}
|
|
65
|
+
if (templateNames.length && this.templateCollection) {
|
|
66
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
67
|
+
var tempName = templateNames_1[_i];
|
|
68
|
+
var elementCollection = this.templateCollection[tempName];
|
|
69
|
+
if (elementCollection && elementCollection.length) {
|
|
70
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
71
|
+
var ele = elementCollection_1[_a];
|
|
72
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
73
|
+
if (destroy) {
|
|
74
|
+
ele.__vue__.$destroy();
|
|
75
|
+
}
|
|
76
|
+
if (ele.innerHTML) {
|
|
77
|
+
ele.innerHTML = '';
|
|
78
|
+
}
|
|
82
79
|
}
|
|
80
|
+
delete this.templateCollection[tempName];
|
|
83
81
|
}
|
|
84
|
-
delete this.templateCollection[tempName];
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
84
|
+
},
|
|
85
|
+
setProperties: function (prop, muteOnChange) {
|
|
86
|
+
var _this = this;
|
|
87
|
+
if (this.isVue3) {
|
|
88
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
89
|
+
}
|
|
90
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
91
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
92
|
+
}
|
|
93
|
+
if (prop && this.models && this.models.length) {
|
|
94
|
+
Object.keys(prop).map(function (key) {
|
|
95
|
+
_this.models.map(function (model) {
|
|
96
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
97
|
+
if (_this.isVue3) {
|
|
98
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
_this.$emit('update:' + key, prop[key]);
|
|
102
|
+
_this.$emit('modelchanged', prop[key]);
|
|
103
|
+
}
|
|
103
104
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
trigger: function (eventName, eventProp, successHandler) {
|
|
110
|
+
if (!isExecute) {
|
|
111
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
112
|
+
}
|
|
113
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
114
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
115
|
+
var propKey = key[0];
|
|
116
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
117
|
+
if (!isExecute) {
|
|
118
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
119
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
120
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
124
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
125
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
107
126
|
}
|
|
108
127
|
}
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
AccumulationChartComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
114
|
-
if (!isExecute) {
|
|
115
|
-
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
116
|
-
}
|
|
117
|
-
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
118
|
-
var key = this.models.toString().match(/checked|value/) || [];
|
|
119
|
-
var propKey = key[0];
|
|
120
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
121
|
-
if (!isExecute) {
|
|
122
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
123
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
124
|
-
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
125
128
|
}
|
|
126
|
-
|
|
127
|
-
|
|
129
|
+
}
|
|
130
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
131
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
132
|
+
var propKey = key[0];
|
|
133
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
134
|
+
if (!isExecute) {
|
|
135
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
136
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
128
139
|
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
129
140
|
this.$emit('modelchanged', eventProp[propKey]);
|
|
130
141
|
}
|
|
131
142
|
}
|
|
132
143
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
136
|
-
var propKey = key[0];
|
|
137
|
-
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
138
|
-
if (!isExecute) {
|
|
139
|
-
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
140
|
-
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
144
|
-
this.$emit('modelchanged', eventProp[propKey]);
|
|
145
|
-
}
|
|
144
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
145
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
this.
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
};
|
|
166
|
-
AccumulationChartComponent.prototype.print = function (id) {
|
|
167
|
-
return this.ej2Instances.print(id);
|
|
168
|
-
};
|
|
169
|
-
AccumulationChartComponent.prototype.setAnnotationValue = function (annotationIndex, content) {
|
|
170
|
-
return this.ej2Instances.setAnnotationValue(annotationIndex, content);
|
|
171
|
-
};
|
|
172
|
-
AccumulationChartComponent.prototype.titleTooltip = function (event, x, y, isTouch) {
|
|
173
|
-
return this.ej2Instances.titleTooltip(event, x, y, isTouch);
|
|
174
|
-
};
|
|
175
|
-
AccumulationChartComponent = __decorate([
|
|
176
|
-
EJComponentDecorator({
|
|
177
|
-
props: properties,
|
|
178
|
-
model: {
|
|
179
|
-
event: 'modelchanged'
|
|
180
|
-
}
|
|
181
|
-
}, isExecute)
|
|
182
|
-
,Options({
|
|
183
|
-
props: props,
|
|
184
|
-
watch: watch,
|
|
185
|
-
emits: emitProbs,
|
|
186
|
-
provide: function provide() {
|
|
187
|
-
return {
|
|
188
|
-
custom: this.custom
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
})
|
|
192
|
-
], AccumulationChartComponent);
|
|
193
|
-
return AccumulationChartComponent;
|
|
194
|
-
}(ComponentBase));
|
|
195
|
-
export { AccumulationChartComponent };
|
|
147
|
+
},
|
|
148
|
+
custom: function () {
|
|
149
|
+
this.updated();
|
|
150
|
+
},
|
|
151
|
+
export: function (type, fileName) {
|
|
152
|
+
return this.ej2Instances.export(type, fileName);
|
|
153
|
+
},
|
|
154
|
+
print: function (id) {
|
|
155
|
+
return this.ej2Instances.print(id);
|
|
156
|
+
},
|
|
157
|
+
setAnnotationValue: function (annotationIndex, content) {
|
|
158
|
+
return this.ej2Instances.setAnnotationValue(annotationIndex, content);
|
|
159
|
+
},
|
|
160
|
+
titleTooltip: function (event, x, y, isTouch) {
|
|
161
|
+
return this.ej2Instances.titleTooltip(event, x, y, isTouch);
|
|
162
|
+
},
|
|
163
|
+
}
|
|
164
|
+
});
|
|
196
165
|
export var AccumulationChartPlugin = {
|
|
197
166
|
name: 'ejs-accumulationchart',
|
|
198
167
|
install: function (Vue) {
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class AccumulationAnnotationsDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let AccumulationAnnotationsDirective: any;
|
|
8
2
|
export declare const AccumulationAnnotationsPlugin: {
|
|
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 AccumulationAnnotationDirective: any;
|
|
16
7
|
export declare const AccumulationAnnotationPlugin: {
|
|
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 AccumulationAnnotationsDirective = /** @class */ (function (_super) {
|
|
33
|
-
__extends(AccumulationAnnotationsDirective, _super);
|
|
34
|
-
function AccumulationAnnotationsDirective() {
|
|
35
|
-
return _super.call(this, arguments) || this;
|
|
36
|
-
}
|
|
37
|
-
AccumulationAnnotationsDirective.prototype.render = function (createElement) {
|
|
3
|
+
export var AccumulationAnnotationsDirective = 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 AccumulationAnnotationsDirective = /** @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
|
-
], AccumulationAnnotationsDirective);
|
|
66
|
-
return AccumulationAnnotationsDirective;
|
|
67
|
-
}(vueImport));
|
|
68
|
-
export { AccumulationAnnotationsDirective };
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-accumulation-annotations';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
69
27
|
export var AccumulationAnnotationsPlugin = {
|
|
70
28
|
name: 'e-accumulation-annotations',
|
|
71
29
|
install: function (Vue) {
|
|
72
30
|
Vue.component(AccumulationAnnotationsPlugin.name, AccumulationAnnotationsDirective);
|
|
73
31
|
}
|
|
74
32
|
};
|
|
75
|
-
var AccumulationAnnotationDirective =
|
|
76
|
-
|
|
77
|
-
function AccumulationAnnotationDirective() {
|
|
78
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
79
|
-
}
|
|
80
|
-
AccumulationAnnotationDirective.prototype.render = function () {
|
|
33
|
+
export var AccumulationAnnotationDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
81
35
|
return;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return AccumulationAnnotationDirective;
|
|
90
|
-
}(vueImport));
|
|
91
|
-
export { AccumulationAnnotationDirective };
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-accumulation-annotation';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
92
43
|
export var AccumulationAnnotationPlugin = {
|
|
93
44
|
name: 'e-accumulation-annotation',
|
|
94
45
|
install: function (Vue) {
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
export declare class AccumulationSeriesCollectionDirective extends vueImport {
|
|
3
|
-
constructor();
|
|
4
|
-
render(createElement: any): void;
|
|
5
|
-
updated(): void;
|
|
6
|
-
getTag(): string;
|
|
7
|
-
}
|
|
1
|
+
export declare let AccumulationSeriesCollectionDirective: any;
|
|
8
2
|
export declare const AccumulationSeriesCollectionPlugin: {
|
|
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 AccumulationSeriesDirective: any;
|
|
16
7
|
export declare const AccumulationSeriesPlugin: {
|
|
17
8
|
name: string;
|
|
18
9
|
install(Vue: any): void;
|
|
19
10
|
};
|
|
20
|
-
export {};
|