@shjjs/visual-ui 1.0.2 → 1.0.4
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/es/components/chart-bar-contrast2/index.d.ts +51 -0
- package/es/components/chart-bar-contrast2/index.mjs +7 -0
- package/es/components/chart-bar-contrast2/index.vue.d.ts +51 -0
- package/es/components/chart-bar-contrast2/index.vue.mjs +75 -0
- package/es/components/chart-bar-contrast2/index.vue2.mjs +4 -0
- package/es/components/chart-line-rain-flow/index.d.ts +51 -0
- package/es/components/chart-line-rain-flow/index.mjs +7 -0
- package/es/components/chart-line-rain-flow/index.vue.d.ts +51 -0
- package/es/components/chart-line-rain-flow/index.vue.mjs +76 -0
- package/es/components/chart-line-rain-flow/index.vue2.mjs +4 -0
- package/es/components/index.d.ts +2 -0
- package/es/components/index.mjs +222 -218
- package/es/components/interaction-data-picker/index.d.ts +14 -12
- package/es/components/interaction-data-picker/index.mjs +2 -2
- package/es/components/interaction-data-picker/index.vue.d.ts +14 -12
- package/es/components/interaction-data-picker/index.vue.mjs +5 -11
- package/es/components/interaction-data-picker/index.vue2.mjs +130 -2
- package/es/components/interaction-input/index.d.ts +25 -5
- package/es/components/interaction-input/index.vue.d.ts +25 -5
- package/es/components/interaction-input/index.vue.mjs +2 -2
- package/es/components/interaction-input/index.vue2.mjs +67 -36
- package/es/components/interaction-slider/index.d.ts +22 -5
- package/es/components/interaction-slider/index.vue.d.ts +22 -5
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +84 -50
- package/es/components/scene-ue-iframe/index.d.ts +3 -3
- package/es/components/scene-ue-iframe/index.vue.d.ts +3 -3
- package/es/components/scene-ue-iframe/index.vue.mjs +1 -1
- package/es/components/scene-ue-iframe/index.vue2.mjs +9 -11
- package/es/components/scene-ue-shj/index.d.ts +3 -3
- package/es/components/scene-ue-shj/index.vue.d.ts +3 -3
- package/es/components/scene-ue-shj/index.vue.mjs +2 -2
- package/es/components/scene-ue-shj/index.vue2.mjs +4 -6
- package/es/components/scene-unity-iframe/index.d.ts +3 -3
- package/es/components/scene-unity-iframe/index.vue.d.ts +3 -3
- package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
- package/es/components/scene-unity-iframe/index.vue2.mjs +10 -12
- package/es/components/scene-unity-webgl/index.d.ts +3 -3
- package/es/components/scene-unity-webgl/index.vue.d.ts +3 -3
- package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
- package/es/components/scene-unity-webgl/index.vue2.mjs +12 -12
- package/es/env.d.ts +4 -1
- package/es/index.mjs +222 -218
- package/es/style.css +1 -1
- package/es/utils/parseDataset.mjs +12 -12
- package/lib/components/chart-bar-contrast2/index.js +1 -0
- package/lib/components/chart-bar-contrast2/index.vue.js +1 -0
- package/lib/components/chart-bar-contrast2/index.vue2.js +1 -0
- package/lib/components/chart-line-rain-flow/index.js +1 -0
- package/lib/components/chart-line-rain-flow/index.vue.js +1 -0
- package/lib/components/chart-line-rain-flow/index.vue2.js +1 -0
- package/lib/components/index.js +1 -1
- package/lib/components/interaction-data-picker/index.js +1 -1
- package/lib/components/interaction-data-picker/index.vue.js +1 -1
- package/lib/components/interaction-data-picker/index.vue2.js +1 -1
- package/lib/components/interaction-input/index.vue.js +1 -1
- package/lib/components/interaction-input/index.vue2.js +1 -1
- package/lib/components/interaction-slider/index.vue.js +1 -1
- package/lib/components/interaction-slider/index.vue2.js +1 -1
- package/lib/components/scene-ue-iframe/index.vue.js +1 -1
- package/lib/components/scene-ue-iframe/index.vue2.js +1 -1
- package/lib/components/scene-ue-shj/index.vue.js +1 -1
- package/lib/components/scene-ue-shj/index.vue2.js +1 -1
- package/lib/components/scene-unity-iframe/index.vue.js +1 -1
- package/lib/components/scene-unity-iframe/index.vue2.js +1 -1
- package/lib/components/scene-unity-webgl/index.vue.js +1 -1
- package/lib/components/scene-unity-webgl/index.vue2.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/lib/utils/parseDataset.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const ZvChartBarContrast2: import("../../utils/typescript").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
basicOption: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
sources: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
useEvents: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
uuid: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
props: any;
|
|
20
|
+
emit: (event: "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", ...args: any[]) => void;
|
|
21
|
+
id: string;
|
|
22
|
+
setOption: (optionParams: any) => void;
|
|
23
|
+
chart: import("vue").ShallowRef<import("echarts/types/dist/echarts").ECharts>;
|
|
24
|
+
renderChart: import("lodash").DebouncedFunc<(option: import("echarts/types/dist/echarts").EChartsOption) => void>;
|
|
25
|
+
renderData: Function;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu")[], "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
basicOption: {
|
|
28
|
+
type: any;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
sources: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
useEvents: {
|
|
36
|
+
type: ArrayConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
uuid: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onChart-click"?: (...args: any[]) => any;
|
|
45
|
+
"onChart-dblclick"?: (...args: any[]) => any;
|
|
46
|
+
"onChart-mousedown"?: (...args: any[]) => any;
|
|
47
|
+
"onChart-mouseover"?: (...args: any[]) => any;
|
|
48
|
+
"onChart-mouseout"?: (...args: any[]) => any;
|
|
49
|
+
"onChart-contextmenu"?: (...args: any[]) => any;
|
|
50
|
+
}, {}, {}>> & Record<string, any>;
|
|
51
|
+
export default ZvChartBarContrast2;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
basicOption: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
sources: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
useEvents: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
uuid: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
props: any;
|
|
20
|
+
emit: (event: "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", ...args: any[]) => void;
|
|
21
|
+
id: string;
|
|
22
|
+
setOption: (optionParams: any) => void;
|
|
23
|
+
chart: import("vue").ShallowRef<import("echarts/types/dist/echarts").ECharts>;
|
|
24
|
+
renderChart: import("lodash").DebouncedFunc<(option: import("echarts/types/dist/echarts").EChartsOption) => void>;
|
|
25
|
+
renderData: Function;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu")[], "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
basicOption: {
|
|
28
|
+
type: any;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
sources: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
useEvents: {
|
|
36
|
+
type: ArrayConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
uuid: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onChart-click"?: (...args: any[]) => any;
|
|
45
|
+
"onChart-dblclick"?: (...args: any[]) => any;
|
|
46
|
+
"onChart-mousedown"?: (...args: any[]) => any;
|
|
47
|
+
"onChart-mouseover"?: (...args: any[]) => any;
|
|
48
|
+
"onChart-mouseout"?: (...args: any[]) => any;
|
|
49
|
+
"onChart-contextmenu"?: (...args: any[]) => any;
|
|
50
|
+
}, {}, {}>;
|
|
51
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { defineComponent as i, watch as n, openBlock as f, createElementBlock as b, createElementVNode as v, unref as _ } from "vue";
|
|
2
|
+
import { cloneDeep as r, isEqual as w } from "lodash";
|
|
3
|
+
import { useChart as E } from "../../core/useChart.mjs";
|
|
4
|
+
import { parseDataset as O } from "../../utils/parseDataset.mjs";
|
|
5
|
+
const g = { class: "zerov-widget" }, D = ["id"], k = i({ name: "zv-chart-bar-contrast2" }), V = /* @__PURE__ */ i({
|
|
6
|
+
...k,
|
|
7
|
+
props: {
|
|
8
|
+
basicOption: {},
|
|
9
|
+
sources: {},
|
|
10
|
+
useEvents: {},
|
|
11
|
+
uuid: {}
|
|
12
|
+
},
|
|
13
|
+
emits: [
|
|
14
|
+
"chart-click",
|
|
15
|
+
"chart-dblclick",
|
|
16
|
+
"chart-mousedown",
|
|
17
|
+
"chart-mouseover",
|
|
18
|
+
"chart-mouseout",
|
|
19
|
+
"chart-contextmenu"
|
|
20
|
+
],
|
|
21
|
+
setup(u, { expose: d, emit: l }) {
|
|
22
|
+
const e = u, p = l, {
|
|
23
|
+
id: h,
|
|
24
|
+
setOption: o,
|
|
25
|
+
chart: m,
|
|
26
|
+
renderChart: c,
|
|
27
|
+
renderData: a
|
|
28
|
+
} = E({
|
|
29
|
+
basicOption: r(e.basicOption),
|
|
30
|
+
useEvents: r(e.useEvents),
|
|
31
|
+
customRenderData: (t) => {
|
|
32
|
+
t = r(t), window.SHJDatasourceV2({
|
|
33
|
+
tId: e.uuid,
|
|
34
|
+
sources: e.sources,
|
|
35
|
+
callback: ({ data: s }) => {
|
|
36
|
+
try {
|
|
37
|
+
window.SHJParseEvent(e.useEvents, "dataListener", s), t.dataset = O(r(s)), o(t);
|
|
38
|
+
} catch {
|
|
39
|
+
window.SHJParseEvent(e.useEvents, "dataListener", null), o(t);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
},
|
|
44
|
+
emit: p
|
|
45
|
+
});
|
|
46
|
+
return n(() => e.sources, () => {
|
|
47
|
+
e.sources && e.sources.length > 0 && a(e.basicOption);
|
|
48
|
+
}, {
|
|
49
|
+
deep: !0
|
|
50
|
+
}), n(() => r(e.basicOption), (t, s) => {
|
|
51
|
+
w(t, s) || c(t);
|
|
52
|
+
}, {
|
|
53
|
+
deep: !0
|
|
54
|
+
}), d({
|
|
55
|
+
getEchartsInstance: () => m.value,
|
|
56
|
+
refresh: () => {
|
|
57
|
+
e.sources && e.sources.length > 0 && c(e.basicOption), a(e.basicOption);
|
|
58
|
+
},
|
|
59
|
+
refreshView: () => {
|
|
60
|
+
e.sources && e.sources.length > 0 && c(e.basicOption);
|
|
61
|
+
},
|
|
62
|
+
refreshData: () => {
|
|
63
|
+
a(e.basicOption);
|
|
64
|
+
}
|
|
65
|
+
}), (t, s) => (f(), b("div", g, [
|
|
66
|
+
v("div", {
|
|
67
|
+
id: _(h),
|
|
68
|
+
class: "widget"
|
|
69
|
+
}, null, 8, D)
|
|
70
|
+
]));
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
export {
|
|
74
|
+
V as default
|
|
75
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const ZvChartLineRainFlow: import("../../utils/typescript").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
basicOption: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
sources: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
useEvents: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
uuid: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
props: any;
|
|
20
|
+
emit: (event: "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", ...args: any[]) => void;
|
|
21
|
+
id: string;
|
|
22
|
+
setOption: (optionParams: any) => void;
|
|
23
|
+
chart: import("vue").ShallowRef<import("echarts/types/dist/echarts").ECharts>;
|
|
24
|
+
renderChart: import("lodash").DebouncedFunc<(option: import("echarts/types/dist/echarts").EChartsOption) => void>;
|
|
25
|
+
renderData: Function;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu")[], "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
basicOption: {
|
|
28
|
+
type: any;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
sources: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
useEvents: {
|
|
36
|
+
type: ArrayConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
uuid: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onChart-click"?: (...args: any[]) => any;
|
|
45
|
+
"onChart-dblclick"?: (...args: any[]) => any;
|
|
46
|
+
"onChart-mousedown"?: (...args: any[]) => any;
|
|
47
|
+
"onChart-mouseover"?: (...args: any[]) => any;
|
|
48
|
+
"onChart-mouseout"?: (...args: any[]) => any;
|
|
49
|
+
"onChart-contextmenu"?: (...args: any[]) => any;
|
|
50
|
+
}, {}, {}>> & Record<string, any>;
|
|
51
|
+
export default ZvChartLineRainFlow;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
basicOption: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
sources: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
useEvents: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
uuid: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
props: any;
|
|
20
|
+
emit: (event: "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", ...args: any[]) => void;
|
|
21
|
+
id: string;
|
|
22
|
+
setOption: (optionParams: any) => void;
|
|
23
|
+
chart: import("vue").ShallowRef<import("echarts/types/dist/echarts").ECharts>;
|
|
24
|
+
renderChart: import("lodash").DebouncedFunc<(option: import("echarts/types/dist/echarts").EChartsOption) => void>;
|
|
25
|
+
renderData: Function;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu")[], "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
basicOption: {
|
|
28
|
+
type: any;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
sources: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
useEvents: {
|
|
36
|
+
type: ArrayConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
uuid: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onChart-click"?: (...args: any[]) => any;
|
|
45
|
+
"onChart-dblclick"?: (...args: any[]) => any;
|
|
46
|
+
"onChart-mousedown"?: (...args: any[]) => any;
|
|
47
|
+
"onChart-mouseover"?: (...args: any[]) => any;
|
|
48
|
+
"onChart-mouseout"?: (...args: any[]) => any;
|
|
49
|
+
"onChart-contextmenu"?: (...args: any[]) => any;
|
|
50
|
+
}, {}, {}>;
|
|
51
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as n, watch as i, openBlock as f, createElementBlock as v, createElementVNode as w, unref as _ } from "vue";
|
|
2
|
+
import { cloneDeep as r, isEqual as b } from "lodash";
|
|
3
|
+
import { useChart as E } from "../../core/useChart.mjs";
|
|
4
|
+
import { parseDataset as O } from "../../utils/parseDataset.mjs";
|
|
5
|
+
import { cloneSeries as g } from "../../utils/cloneSeries.mjs";
|
|
6
|
+
const D = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-line-rain-flow" }), B = /* @__PURE__ */ n({
|
|
7
|
+
...x,
|
|
8
|
+
props: {
|
|
9
|
+
basicOption: {},
|
|
10
|
+
sources: {},
|
|
11
|
+
useEvents: {},
|
|
12
|
+
uuid: {}
|
|
13
|
+
},
|
|
14
|
+
emits: [
|
|
15
|
+
"chart-click",
|
|
16
|
+
"chart-dblclick",
|
|
17
|
+
"chart-mousedown",
|
|
18
|
+
"chart-mouseover",
|
|
19
|
+
"chart-mouseout",
|
|
20
|
+
"chart-contextmenu"
|
|
21
|
+
],
|
|
22
|
+
setup(u, { expose: d, emit: l }) {
|
|
23
|
+
const e = u, m = l, {
|
|
24
|
+
id: h,
|
|
25
|
+
setOption: a,
|
|
26
|
+
chart: p,
|
|
27
|
+
renderChart: c,
|
|
28
|
+
renderData: o
|
|
29
|
+
} = E({
|
|
30
|
+
basicOption: r(e.basicOption),
|
|
31
|
+
useEvents: r(e.useEvents),
|
|
32
|
+
customRenderData: (s) => {
|
|
33
|
+
s = r(s), window.SHJDatasourceV2({
|
|
34
|
+
tId: e.uuid,
|
|
35
|
+
sources: e.sources,
|
|
36
|
+
callback: ({ data: t }) => {
|
|
37
|
+
try {
|
|
38
|
+
window.SHJParseEvent(e.useEvents, "dataListener", t), s.dataset = O(r(t)), s.series = g(t, s.series), a(s);
|
|
39
|
+
} catch {
|
|
40
|
+
window.SHJParseEvent(e.useEvents, "dataListener", null), a(s);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
emit: m
|
|
46
|
+
});
|
|
47
|
+
return i(() => e.sources, () => {
|
|
48
|
+
e.sources && e.sources.length > 0 && o(e.basicOption);
|
|
49
|
+
}, {
|
|
50
|
+
deep: !0
|
|
51
|
+
}), i(() => r(e.basicOption), (s, t) => {
|
|
52
|
+
b(s, t) || c(s);
|
|
53
|
+
}, {
|
|
54
|
+
deep: !0
|
|
55
|
+
}), d({
|
|
56
|
+
getEchartsInstance: () => p.value,
|
|
57
|
+
refresh: () => {
|
|
58
|
+
e.sources && e.sources.length > 0 && c(e.basicOption), o(e.basicOption);
|
|
59
|
+
},
|
|
60
|
+
refreshView: () => {
|
|
61
|
+
e.sources && e.sources.length > 0 && c(e.basicOption);
|
|
62
|
+
},
|
|
63
|
+
refreshData: () => {
|
|
64
|
+
o(e.basicOption);
|
|
65
|
+
}
|
|
66
|
+
}), (s, t) => (f(), v("div", D, [
|
|
67
|
+
w("div", {
|
|
68
|
+
id: _(h),
|
|
69
|
+
class: "widget"
|
|
70
|
+
}, null, 8, k)
|
|
71
|
+
]));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
B as default
|
|
76
|
+
};
|
package/es/components/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './chart-bar-basic';
|
|
|
4
4
|
export * from './chart-bar-loop';
|
|
5
5
|
export * from './chart-bar-zebra';
|
|
6
6
|
export * from './chart-bar-contrast';
|
|
7
|
+
export * from './chart-bar-contrast2';
|
|
7
8
|
export * from './chart-bar-line-bar';
|
|
8
9
|
export * from './chart-bar-stack2';
|
|
9
10
|
export * from './chart-bar-stack-line';
|
|
@@ -14,6 +15,7 @@ export * from './chart-pie-basic';
|
|
|
14
15
|
/** 折线图 */
|
|
15
16
|
export * from './chart-line-smooth';
|
|
16
17
|
export * from './chart-line-smooth-area';
|
|
18
|
+
export * from './chart-line-rain-flow';
|
|
17
19
|
/** 散点图 */
|
|
18
20
|
export * from './chart-scatter-basic';
|
|
19
21
|
/** 文本 */
|