@syncfusion/ej2-vue-charts 24.2.9 → 25.1.37
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 +38 -0
- package/circularchart3d.d.ts +4 -0
- package/circularchart3d.js +4 -0
- 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 +261 -3
- package/dist/es6/ej2-vue-charts.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-charts.es5.js +265 -3
- package/dist/es6/ej2-vue-charts.es5.js.map +1 -1
- package/dist/global/ej2-vue-charts.min.js +2 -2
- package/package.json +11 -10
- package/src/accumulation-chart/accumulationchart.component.d.ts +24 -3
- package/src/bullet-chart/bulletchart.component.d.ts +23 -3
- package/src/chart/chart.component.d.ts +36 -3
- package/src/chart3d/chart3d.component.d.ts +26 -3
- package/src/chart3d/chart3d.component.js +1 -1
- package/src/circularchart3d/circularchart3d.component.d.ts +37 -0
- package/src/circularchart3d/circularchart3d.component.js +171 -0
- package/src/circularchart3d/index.d.ts +3 -0
- package/src/circularchart3d/index.js +3 -0
- package/src/circularchart3d/selecteddataindexes.directive.d.ts +12 -0
- package/src/circularchart3d/selecteddataindexes.directive.js +48 -0
- package/src/circularchart3d/series.directive.d.ts +12 -0
- package/src/circularchart3d/series.directive.js +48 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
- package/src/range-navigator/rangenavigator.component.d.ts +23 -3
- package/src/smithchart/smithchart.component.d.ts +25 -3
- package/src/sparkline/sparkline.component.d.ts +20 -3
- package/src/stock-chart/stockchart.component.d.ts +24 -3
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-charts@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-charts@
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-charts@25.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-VD9TG9hS8FmfQP1JQwnOispsQaIJURDDVpAI9FmZNzK2WMU9fPx6XEhGY8/arq7SjYK+V+RtuzHFAPLtEilZOw==",
|
|
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-charts/-/ej2-vue-charts-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-charts/-/ej2-vue-charts-25.1.35.tgz",
|
|
23
|
+
"_shasum": "9d35f932b4427bb2363def78ca0bcfe5a115cde3",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-charts@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_25.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": "~25.1.35",
|
|
35
|
+
"@syncfusion/ej2-charts": "25.1.37",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~25.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",
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
"vue-smith-chart",
|
|
55
55
|
"vue-bullet-chart",
|
|
56
56
|
"vue-bullet-graph",
|
|
57
|
-
"vue-chart3d"
|
|
57
|
+
"vue-chart3d",
|
|
58
|
+
"vue-circularchart3d"
|
|
58
59
|
],
|
|
59
60
|
"license": "SEE LICENSE IN license",
|
|
60
61
|
"main": "./dist/ej2-vue-charts.umd.min.js",
|
|
@@ -68,6 +69,6 @@
|
|
|
68
69
|
"ci-publish": "gulp ci-publish",
|
|
69
70
|
"compile": "gulp ci-compile && gulp vue-global-script"
|
|
70
71
|
},
|
|
71
|
-
"version": "
|
|
72
|
+
"version": "25.1.37",
|
|
72
73
|
"sideEffects": false
|
|
73
74
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
-
import { AccumulationChartModel } from '@syncfusion/ej2-charts';
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { AccumulationChart, AccumulationChartModel } from '@syncfusion/ej2-charts';
|
|
3
3
|
export declare const properties: string[];
|
|
4
4
|
export declare const modelProps: string[];
|
|
5
5
|
export declare const testProp: any;
|
|
@@ -11,7 +11,28 @@ export declare const props: any, watch: any, emitProbs: any;
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare let AccumulationChartComponent: DefineVueComponent<AccumulationChartModel>;
|
|
14
|
-
export declare type AccumulationChartComponent =
|
|
14
|
+
export declare type AccumulationChartComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: AccumulationChart;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
calculateBounds(): void;
|
|
31
|
+
export(type: Object, fileName: string): void;
|
|
32
|
+
print(id?: string[] | string | Object): void;
|
|
33
|
+
setAnnotationValue(annotationIndex: number, content: string): void;
|
|
34
|
+
titleTooltip(event: Object, x: number, y: number, isTouch?: boolean): void;
|
|
35
|
+
};
|
|
15
36
|
export declare const AccumulationChartPlugin: {
|
|
16
37
|
name: string;
|
|
17
38
|
install(Vue: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
-
import { BulletChartModel } from '@syncfusion/ej2-charts';
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { BulletChart, BulletChartModel } from '@syncfusion/ej2-charts';
|
|
3
3
|
export declare const properties: string[];
|
|
4
4
|
export declare const modelProps: string[];
|
|
5
5
|
export declare const testProp: any;
|
|
@@ -11,7 +11,27 @@ export declare const props: any, watch: any, emitProbs: any;
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare let BulletChartComponent: DefineVueComponent<BulletChartModel>;
|
|
14
|
-
export declare type BulletChartComponent =
|
|
14
|
+
export declare type BulletChartComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: BulletChart;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
createSvg(chart: Object): void;
|
|
31
|
+
export(type: Object, fileName: string, orientation?: Object, controls?: undefined[], width?: number, height?: number, isVertical?: boolean): void;
|
|
32
|
+
print(id?: string[] | string | Object): void;
|
|
33
|
+
removeSvg(): void;
|
|
34
|
+
};
|
|
15
35
|
export declare const BulletChartPlugin: {
|
|
16
36
|
name: string;
|
|
17
37
|
install(Vue: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
-
import { ChartModel } from '@syncfusion/ej2-charts';
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { Chart, ChartModel } from '@syncfusion/ej2-charts';
|
|
3
3
|
export declare const properties: string[];
|
|
4
4
|
export declare const modelProps: string[];
|
|
5
5
|
export declare const testProp: any;
|
|
@@ -11,7 +11,40 @@ export declare const props: any, watch: any, emitProbs: any;
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare let ChartComponent: DefineVueComponent<ChartModel>;
|
|
14
|
-
export declare type ChartComponent =
|
|
14
|
+
export declare type ChartComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: Chart;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
addAxes(axisCollection: Object[]): void;
|
|
31
|
+
addSeries(seriesCollection: Object[]): void;
|
|
32
|
+
clearSeries(): void;
|
|
33
|
+
createChartSvg(): void;
|
|
34
|
+
export(type: Object, fileName: string): void;
|
|
35
|
+
getLocalizedLabel(key: string): string;
|
|
36
|
+
hideCrosshair(): void;
|
|
37
|
+
hideTooltip(): void;
|
|
38
|
+
isSecondaryAxis(axis: Object): boolean;
|
|
39
|
+
print(id?: string[] | string | Object): void;
|
|
40
|
+
processData(render: boolean): void;
|
|
41
|
+
refreshLiveData(): void;
|
|
42
|
+
removeAxis(index: number): void;
|
|
43
|
+
removeSeries(index: number): void;
|
|
44
|
+
setAnnotationValue(annotationIndex: number, content: string): void;
|
|
45
|
+
showCrosshair(x: number, y: number): void;
|
|
46
|
+
showTooltip(x: number | string | Object, y: number, isPoint: boolean): void;
|
|
47
|
+
};
|
|
15
48
|
export declare const ChartPlugin: {
|
|
16
49
|
name: string;
|
|
17
50
|
install(Vue: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
-
import { Chart3DModel } from '@syncfusion/ej2-charts';
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { Chart3D, Chart3DModel } from '@syncfusion/ej2-charts';
|
|
3
3
|
export declare const properties: string[];
|
|
4
4
|
export declare const modelProps: string[];
|
|
5
5
|
export declare const testProp: any;
|
|
@@ -11,7 +11,30 @@ export declare const props: any, watch: any, emitProbs: any;
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare let Chart3DComponent: DefineVueComponent<Chart3DModel>;
|
|
14
|
-
export declare type Chart3DComponent =
|
|
14
|
+
export declare type Chart3DComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: Chart3D;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
addSeries(seriesCollection: Object[]): void;
|
|
31
|
+
createChartSvg(): void;
|
|
32
|
+
export(type: Object, fileName: string): void;
|
|
33
|
+
highlightAnimation(element: Object, index: number, duration: number, startOpacity: number): void;
|
|
34
|
+
print(id?: string[] | string | Object): void;
|
|
35
|
+
removeSeries(index: number): void;
|
|
36
|
+
stopElementAnimation(element: Object, index: number): void;
|
|
37
|
+
};
|
|
15
38
|
export declare const Chart3DPlugin: {
|
|
16
39
|
name: string;
|
|
17
40
|
install(Vue: any): void;
|
|
@@ -7,7 +7,7 @@ import { Chart3DAxesDirective, Chart3DAxisDirective, Chart3DAxesPlugin, Chart3DA
|
|
|
7
7
|
import { Chart3DRowsDirective, Chart3DRowDirective, Chart3DRowsPlugin, Chart3DRowPlugin } from './rows.directive';
|
|
8
8
|
import { Chart3DColumnsDirective, Chart3DColumnDirective, Chart3DColumnsPlugin, Chart3DColumnPlugin } from './columns.directive';
|
|
9
9
|
import { Chart3DSelectedDataIndexesDirective, Chart3DSelectedDataIndexDirective, Chart3DSelectedDataIndexesPlugin, Chart3DSelectedDataIndexPlugin } from './selecteddataindexes.directive';
|
|
10
|
-
export var properties = ['isLazyUpdate', 'plugins', 'axes', 'background', 'backgroundImage', 'border', 'columns', 'currencyCode', 'dataSource', 'depth', 'description', 'enablePersistence', 'enableRotation', 'enableRtl', 'enableSideBySidePlacement', 'height', 'highlightColor', 'highlightMode', 'highlightPattern', 'isMultiSelect', 'isTransposed', 'legendSettings', 'locale', 'margin', 'palettes', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rows', 'selectedDataIndexes', 'selectionMode', 'selectionPattern', 'series', 'subTitle', 'subTitleStyle', 'theme', 'tilt', 'title', 'titleStyle', 'tooltip', 'useGroupingSeparator', 'wallColor', 'wallSize', 'width', 'afterExport', 'axisLabelRender', 'beforeExport', 'beforePrint', 'beforeResize', 'chart3DMouseClick', 'chart3DMouseDown', 'chart3DMouseLeave', 'chart3DMouseMove', 'chart3DMouseUp', 'legendClick', 'legendRender', 'load', 'loaded', 'pointClick', 'pointMove', 'pointRender', 'resized', 'selectionComplete', 'seriesRender', 'textRender', 'tooltipRender'];
|
|
10
|
+
export var properties = ['isLazyUpdate', 'plugins', 'axes', 'background', 'backgroundImage', 'border', 'columns', 'currencyCode', 'dataSource', 'depth', 'description', 'enableExport', 'enablePersistence', 'enableRotation', 'enableRtl', 'enableSideBySidePlacement', 'height', 'highlightColor', 'highlightMode', 'highlightPattern', 'isMultiSelect', 'isTransposed', 'legendSettings', 'locale', 'margin', 'palettes', 'perspectiveAngle', 'primaryXAxis', 'primaryYAxis', 'rotation', 'rows', 'selectedDataIndexes', 'selectionMode', 'selectionPattern', 'series', 'subTitle', 'subTitleStyle', 'theme', 'tilt', 'title', 'titleStyle', 'tooltip', 'useGroupingSeparator', 'wallColor', 'wallSize', 'width', 'afterExport', 'axisLabelRender', 'beforeExport', 'beforePrint', 'beforeResize', 'chart3DMouseClick', 'chart3DMouseDown', 'chart3DMouseLeave', 'chart3DMouseMove', 'chart3DMouseUp', 'legendClick', 'legendRender', 'load', 'loaded', 'pointClick', 'pointMove', 'pointRender', 'resized', 'selectionComplete', 'seriesRender', 'textRender', 'tooltipRender'];
|
|
11
11
|
export var modelProps = ['dataSource'];
|
|
12
12
|
export var testProp = getProps({ props: properties });
|
|
13
13
|
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { CircularChart3D, CircularChart3DModel } from '@syncfusion/ej2-charts';
|
|
3
|
+
export declare const properties: string[];
|
|
4
|
+
export declare const modelProps: string[];
|
|
5
|
+
export declare const testProp: any;
|
|
6
|
+
export declare const props: any, watch: any, emitProbs: any;
|
|
7
|
+
/**
|
|
8
|
+
* Represents Vuejs Circular 3D Chart Component
|
|
9
|
+
* ```vue
|
|
10
|
+
* <ejs-circularchart3d></ejs-circularchart3d>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare let CircularChart3DComponent: DefineVueComponent<CircularChart3DModel>;
|
|
14
|
+
export declare type CircularChart3DComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: CircularChart3D;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
export(type: Object, fileName: string): void;
|
|
31
|
+
pdfExport(fileName: string, orientation?: Object, controls?: Object[], width?: number, height?: number, isVertical?: boolean, header?: Object, footer?: Object, exportToMultiplePage?: boolean): void;
|
|
32
|
+
print(id?: string[] | string | Object): void;
|
|
33
|
+
};
|
|
34
|
+
export declare const CircularChart3DPlugin: {
|
|
35
|
+
name: string;
|
|
36
|
+
install(Vue: any): void;
|
|
37
|
+
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
3
|
+
import { isUndefined } from '@syncfusion/ej2-base';
|
|
4
|
+
import { CircularChart3D } from '@syncfusion/ej2-charts';
|
|
5
|
+
import { CircularChart3DSeriesCollectionDirective, CircularChart3DSeriesDirective, CircularChart3DSeriesCollectionPlugin, CircularChart3DSeriesPlugin } from './series.directive';
|
|
6
|
+
import { CircularChart3DSelectedDataIndexesDirective, CircularChart3DSelectedDataIndexDirective, CircularChart3DSelectedDataIndexesPlugin, CircularChart3DSelectedDataIndexPlugin } from './selecteddataindexes.directive';
|
|
7
|
+
export var properties = ['isLazyUpdate', 'plugins', 'background', 'backgroundImage', 'border', 'dataSource', 'depth', 'enableAnimation', 'enableExport', 'enablePersistence', 'enableRotation', 'enableRtl', 'height', 'highlightColor', 'highlightMode', 'highlightPattern', 'isMultiSelect', 'legendSettings', 'locale', 'margin', 'rotation', 'selectedDataIndexes', 'selectionMode', 'selectionPattern', 'series', 'subTitle', 'subTitleStyle', 'theme', 'tilt', 'title', 'titleStyle', 'tooltip', 'useGroupingSeparator', 'width', 'afterExport', 'beforeExport', 'beforePrint', 'beforeResize', 'circularChart3DMouseClick', 'circularChart3DMouseDown', 'circularChart3DMouseLeave', 'circularChart3DMouseMove', 'circularChart3DMouseUp', 'legendClick', 'legendRender', 'load', 'loaded', 'pointClick', 'pointMove', 'pointRender', 'resized', 'selectionComplete', 'seriesRender', 'textRender', 'tooltipRender'];
|
|
8
|
+
export var modelProps = ['dataSource'];
|
|
9
|
+
export var testProp = getProps({ props: properties });
|
|
10
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
11
|
+
emitProbs.push('modelchanged', 'update:modelValue');
|
|
12
|
+
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
13
|
+
var props_1 = modelProps_1[_i];
|
|
14
|
+
emitProbs.push('update:' + props_1);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Represents Vuejs Circular 3D Chart Component
|
|
18
|
+
* ```vue
|
|
19
|
+
* <ejs-circularchart3d></ejs-circularchart3d>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export var CircularChart3DComponent = vueDefineComponent({
|
|
23
|
+
name: 'CircularChart3DComponent',
|
|
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 CircularChart3D({}),
|
|
33
|
+
propKeys: properties,
|
|
34
|
+
models: modelProps,
|
|
35
|
+
hasChildDirective: true,
|
|
36
|
+
hasInjectedModules: true,
|
|
37
|
+
tagMapper: { "e-circularchart3d-series-collection": "e-circularchart3d-series", "e-circularchart3d-selecteddataindexes": "e-circularchart3d-selecteddataindex" },
|
|
38
|
+
tagNameMapper: { "e-circularchart3d-series-collection": "e-series", "e-circularchart3d-selecteddataindexes": "e-selectedDataIndexes" },
|
|
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;
|
|
57
|
+
}
|
|
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
|
+
}
|
|
79
|
+
}
|
|
80
|
+
delete this.templateCollection[tempName];
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
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
|
+
}
|
|
104
|
+
}
|
|
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]);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
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 {
|
|
139
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
140
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
145
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
custom: function () {
|
|
149
|
+
this.updated();
|
|
150
|
+
},
|
|
151
|
+
export: function (type, fileName) {
|
|
152
|
+
return this.ej2Instances.export(type, fileName);
|
|
153
|
+
},
|
|
154
|
+
pdfExport: function (fileName, orientation, controls, width, height, isVertical, header, footer, exportToMultiplePage) {
|
|
155
|
+
return this.ej2Instances.pdfExport(fileName, orientation, controls, width, height, isVertical, header, footer, exportToMultiplePage);
|
|
156
|
+
},
|
|
157
|
+
print: function (id) {
|
|
158
|
+
return this.ej2Instances.print(id);
|
|
159
|
+
},
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
export var CircularChart3DPlugin = {
|
|
163
|
+
name: 'ejs-circularchart3d',
|
|
164
|
+
install: function (Vue) {
|
|
165
|
+
Vue.component(CircularChart3DPlugin.name, CircularChart3DComponent);
|
|
166
|
+
Vue.component(CircularChart3DSeriesPlugin.name, CircularChart3DSeriesDirective);
|
|
167
|
+
Vue.component(CircularChart3DSeriesCollectionPlugin.name, CircularChart3DSeriesCollectionDirective);
|
|
168
|
+
Vue.component(CircularChart3DSelectedDataIndexPlugin.name, CircularChart3DSelectedDataIndexDirective);
|
|
169
|
+
Vue.component(CircularChart3DSelectedDataIndexesPlugin.name, CircularChart3DSelectedDataIndexesDirective);
|
|
170
|
+
}
|
|
171
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CircularChart3DSeriesCollectionDirective, CircularChart3DSeriesDirective, CircularChart3DSeriesCollectionPlugin, CircularChart3DSeriesPlugin } from './series.directive';
|
|
2
|
+
export { CircularChart3DSelectedDataIndexesDirective, CircularChart3DSelectedDataIndexDirective, CircularChart3DSelectedDataIndexesPlugin, CircularChart3DSelectedDataIndexPlugin } from './selecteddataindexes.directive';
|
|
3
|
+
export { CircularChart3DComponent, CircularChart3DPlugin } from './circularchart3d.component';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CircularChart3DSeriesCollectionDirective, CircularChart3DSeriesDirective, CircularChart3DSeriesCollectionPlugin, CircularChart3DSeriesPlugin } from './series.directive';
|
|
2
|
+
export { CircularChart3DSelectedDataIndexesDirective, CircularChart3DSelectedDataIndexDirective, CircularChart3DSelectedDataIndexesPlugin, CircularChart3DSelectedDataIndexPlugin } from './selecteddataindexes.directive';
|
|
3
|
+
export { CircularChart3DComponent, CircularChart3DPlugin } from './circularchart3d.component';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefineVueDirective } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { IndexesModel } from '@syncfusion/ej2-charts';
|
|
3
|
+
export declare let CircularChart3DSelectedDataIndexesDirective: any;
|
|
4
|
+
export declare const CircularChart3DSelectedDataIndexesPlugin: {
|
|
5
|
+
name: string;
|
|
6
|
+
install(Vue: any): void;
|
|
7
|
+
};
|
|
8
|
+
export declare let CircularChart3DSelectedDataIndexDirective: DefineVueDirective<IndexesModel>;
|
|
9
|
+
export declare const CircularChart3DSelectedDataIndexPlugin: {
|
|
10
|
+
name: string;
|
|
11
|
+
install(Vue: any): void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
3
|
+
export var CircularChart3DSelectedDataIndexesDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
6
|
+
if (!isExecute) {
|
|
7
|
+
var h = !isExecute ? gh : createElement;
|
|
8
|
+
var slots = null;
|
|
9
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
10
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
11
|
+
}
|
|
12
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
13
|
+
}
|
|
14
|
+
return;
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
17
|
+
if (!isExecute && this.custom) {
|
|
18
|
+
this.custom();
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-circularchart3d-selecteddataindexes';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export var CircularChart3DSelectedDataIndexesPlugin = {
|
|
28
|
+
name: 'e-circularchart3d-selecteddataindexes',
|
|
29
|
+
install: function (Vue) {
|
|
30
|
+
Vue.component(CircularChart3DSelectedDataIndexesPlugin.name, CircularChart3DSelectedDataIndexesDirective);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export var CircularChart3DSelectedDataIndexDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
35
|
+
return;
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-circularchart3d-selecteddataindex';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export var CircularChart3DSelectedDataIndexPlugin = {
|
|
44
|
+
name: 'e-circularchart3d-selecteddataindex',
|
|
45
|
+
install: function (Vue) {
|
|
46
|
+
Vue.component(CircularChart3DSelectedDataIndexPlugin.name, CircularChart3DSelectedDataIndexDirective);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefineVueDirective } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { CircularChart3DSeriesModel } from '@syncfusion/ej2-charts';
|
|
3
|
+
export declare let CircularChart3DSeriesCollectionDirective: any;
|
|
4
|
+
export declare const CircularChart3DSeriesCollectionPlugin: {
|
|
5
|
+
name: string;
|
|
6
|
+
install(Vue: any): void;
|
|
7
|
+
};
|
|
8
|
+
export declare let CircularChart3DSeriesDirective: DefineVueDirective<CircularChart3DSeriesModel>;
|
|
9
|
+
export declare const CircularChart3DSeriesPlugin: {
|
|
10
|
+
name: string;
|
|
11
|
+
install(Vue: any): void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
3
|
+
export var CircularChart3DSeriesCollectionDirective = vueDefineComponent({
|
|
4
|
+
inject: { custom: { default: null } },
|
|
5
|
+
render: function (createElement) {
|
|
6
|
+
if (!isExecute) {
|
|
7
|
+
var h = !isExecute ? gh : createElement;
|
|
8
|
+
var slots = null;
|
|
9
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
10
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
11
|
+
}
|
|
12
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
13
|
+
}
|
|
14
|
+
return;
|
|
15
|
+
},
|
|
16
|
+
updated: function () {
|
|
17
|
+
if (!isExecute && this.custom) {
|
|
18
|
+
this.custom();
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
getTag: function () {
|
|
23
|
+
return 'e-circularchart3d-series-collection';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export var CircularChart3DSeriesCollectionPlugin = {
|
|
28
|
+
name: 'e-circularchart3d-series-collection',
|
|
29
|
+
install: function (Vue) {
|
|
30
|
+
Vue.component(CircularChart3DSeriesCollectionPlugin.name, CircularChart3DSeriesCollectionDirective);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export var CircularChart3DSeriesDirective = vueDefineComponent({
|
|
34
|
+
render: function () {
|
|
35
|
+
return;
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getTag: function () {
|
|
39
|
+
return 'e-circularchart3d-series';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export var CircularChart3DSeriesPlugin = {
|
|
44
|
+
name: 'e-circularchart3d-series',
|
|
45
|
+
install: function (Vue) {
|
|
46
|
+
Vue.component(CircularChart3DSeriesPlugin.name, CircularChart3DSeriesDirective);
|
|
47
|
+
}
|
|
48
|
+
};
|
package/src/index.d.ts
CHANGED
|
@@ -40,3 +40,6 @@ export { Chart3DRowsDirective, Chart3DRowDirective, Chart3DRowsPlugin, Chart3DRo
|
|
|
40
40
|
export { Chart3DColumnsDirective, Chart3DColumnDirective, Chart3DColumnsPlugin, Chart3DColumnPlugin } from './chart3d/columns.directive';
|
|
41
41
|
export { Chart3DSelectedDataIndexesDirective, Chart3DSelectedDataIndexDirective, Chart3DSelectedDataIndexesPlugin, Chart3DSelectedDataIndexPlugin } from './chart3d/selecteddataindexes.directive';
|
|
42
42
|
export { Chart3DComponent, Chart3DPlugin } from './chart3d/chart3d.component';
|
|
43
|
+
export { CircularChart3DSeriesCollectionDirective, CircularChart3DSeriesDirective, CircularChart3DSeriesCollectionPlugin, CircularChart3DSeriesPlugin } from './circularchart3d/series.directive';
|
|
44
|
+
export { CircularChart3DSelectedDataIndexesDirective, CircularChart3DSelectedDataIndexDirective, CircularChart3DSelectedDataIndexesPlugin, CircularChart3DSelectedDataIndexPlugin } from './circularchart3d/selecteddataindexes.directive';
|
|
45
|
+
export { CircularChart3DComponent, CircularChart3DPlugin } from './circularchart3d/circularchart3d.component';
|
package/src/index.js
CHANGED
|
@@ -40,3 +40,6 @@ export { Chart3DRowsDirective, Chart3DRowDirective, Chart3DRowsPlugin, Chart3DRo
|
|
|
40
40
|
export { Chart3DColumnsDirective, Chart3DColumnDirective, Chart3DColumnsPlugin, Chart3DColumnPlugin } from './chart3d/columns.directive';
|
|
41
41
|
export { Chart3DSelectedDataIndexesDirective, Chart3DSelectedDataIndexDirective, Chart3DSelectedDataIndexesPlugin, Chart3DSelectedDataIndexPlugin } from './chart3d/selecteddataindexes.directive';
|
|
42
42
|
export { Chart3DComponent, Chart3DPlugin } from './chart3d/chart3d.component';
|
|
43
|
+
export { CircularChart3DSeriesCollectionDirective, CircularChart3DSeriesDirective, CircularChart3DSeriesCollectionPlugin, CircularChart3DSeriesPlugin } from './circularchart3d/series.directive';
|
|
44
|
+
export { CircularChart3DSelectedDataIndexesDirective, CircularChart3DSelectedDataIndexDirective, CircularChart3DSelectedDataIndexesPlugin, CircularChart3DSelectedDataIndexPlugin } from './circularchart3d/selecteddataindexes.directive';
|
|
45
|
+
export { CircularChart3DComponent, CircularChart3DPlugin } from './circularchart3d/circularchart3d.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
-
import { RangeNavigatorModel } from '@syncfusion/ej2-charts';
|
|
1
|
+
import { ComponentBase, DefineVueComponent } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { RangeNavigator, RangeNavigatorModel } from '@syncfusion/ej2-charts';
|
|
3
3
|
export declare const properties: string[];
|
|
4
4
|
export declare const modelProps: string[];
|
|
5
5
|
export declare const testProp: any;
|
|
@@ -11,7 +11,27 @@ export declare const props: any, watch: any, emitProbs: any;
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export declare let RangeNavigatorComponent: DefineVueComponent<RangeNavigatorModel>;
|
|
14
|
-
export declare type RangeNavigatorComponent =
|
|
14
|
+
export declare type RangeNavigatorComponent = typeof ComponentBase & {
|
|
15
|
+
ej2Instances: RangeNavigator;
|
|
16
|
+
isVue3: boolean;
|
|
17
|
+
isLazyUpdate: Boolean;
|
|
18
|
+
plugins: any[];
|
|
19
|
+
propKeys: string[];
|
|
20
|
+
models: string[];
|
|
21
|
+
hasChildDirective: boolean;
|
|
22
|
+
tagMapper: {
|
|
23
|
+
[key: string]: Object;
|
|
24
|
+
};
|
|
25
|
+
tagNameMapper: Object;
|
|
26
|
+
setProperties(prop: any, muteOnChange: boolean): void;
|
|
27
|
+
trigger(eventName: string, eventProp: {
|
|
28
|
+
[key: string]: Object;
|
|
29
|
+
}, successHandler?: Function): void;
|
|
30
|
+
createSecondaryElement(): void;
|
|
31
|
+
export(type: Object, fileName: string, orientation?: Object, controls?: undefined[], width?: number, height?: number, isVertical?: boolean): void;
|
|
32
|
+
print(id?: string[] | string | Object): void;
|
|
33
|
+
renderChart(resize: boolean): void;
|
|
34
|
+
};
|
|
15
35
|
export declare const RangeNavigatorPlugin: {
|
|
16
36
|
name: string;
|
|
17
37
|
install(Vue: any): void;
|