@shjjs/visual-ui 1.0.35 → 1.0.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/es/commons/core/earth/main.vue.d.ts +2 -2
- package/es/commons/core/useChart.mjs +257 -73
- package/es/components/chart/commons/components/common-chart/index.vue.mjs +213 -30
- package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +210 -27
- package/es/components/chart/commons/hooks/useChart.mjs +261 -77
- package/es/components/chart/src/map/bmap-basic/index.vue.d.ts +6 -2
- package/es/components/chart/src/map/bmap-heatmap/index.vue.d.ts +6 -2
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +212 -29
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +213 -30
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +214 -31
- package/es/components/chart-other-circular-graph/index.vue.mjs +214 -31
- package/es/components/chart-other-force/index.vue.mjs +212 -29
- package/es/components/chart-other-force2/index.vue.mjs +212 -29
- package/es/components/chart-other-funnel/index.vue.mjs +214 -31
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +214 -31
- package/es/components/chart-other-funnel-split/index.vue.mjs +214 -31
- package/es/components/chart-other-funnel2/index.vue.mjs +214 -31
- package/es/components/chart-other-gauge/index.vue.mjs +214 -31
- package/es/components/chart-other-gauge-grade/index.vue.mjs +214 -31
- package/es/components/chart-other-gauge-stage/index.vue.mjs +214 -31
- package/es/components/chart-other-graph-basic/index.vue.mjs +214 -31
- package/es/components/chart-other-graph-basic2/index.vue.mjs +214 -31
- package/es/components/chart-other-graph-calendar/index.vue.mjs +214 -31
- package/es/components/chart-other-grid-percentage/index.vue.mjs +218 -35
- package/es/components/chart-other-heatmap/index.vue.mjs +212 -29
- package/es/components/chart-other-label-gauge/index.vue.mjs +216 -33
- package/es/components/chart-other-liquidfill/index.vue.mjs +214 -31
- package/es/components/chart-other-parallel-basic/index.vue.mjs +214 -31
- package/es/components/chart-other-parallel-mul/index.vue.mjs +211 -28
- package/es/components/chart-other-radar/index.vue.mjs +224 -41
- package/es/components/chart-other-radar-stack/index.vue.mjs +211 -28
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-book/index.vue.mjs +212 -29
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +214 -31
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +212 -29
- package/es/components/chart-other-theme-river/index.vue.mjs +216 -33
- package/es/components/chart-other-tree/index.vue.mjs +214 -31
- package/es/components/chart-other-tree-line/index.vue.mjs +214 -31
- package/es/components/chart-other-treemap/index.vue.mjs +214 -31
- package/es/components/chart-other-treemap-basic/index.vue.mjs +214 -31
- package/es/components/chart-other-word-cloud/index.vue.mjs +216 -33
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +219 -35
- package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +218 -35
- package/es/components/commons-product-model/index.vue.mjs +1 -1
- package/es/components/commons-product-model/index.vue2.mjs +246 -62
- package/es/components/commons-three-loader/index.vue.mjs +1 -1
- package/es/components/commons-three-loader/index.vue2.mjs +257 -73
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +301 -117
- package/es/components/commons-weather/index.vue.mjs +1 -1
- package/es/components/commons-weather/index.vue2.mjs +233 -48
- package/es/components/commons-weather-dynamic/index.vue.mjs +2 -2
- package/es/components/commons-weather-dynamic/index.vue2.mjs +236 -52
- package/es/components/index.d.ts +112 -111
- package/es/components/index.mjs +362 -360
- package/es/components/interaction/button/index.vue.mjs +2 -2
- package/es/components/interaction/button/index.vue2.mjs +252 -68
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +2 -2
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +324 -140
- package/es/components/interaction/date-picker/src/date-picker/index.d.ts +211 -211
- package/es/components/interaction/date-picker/src/date-picker/index.vue.d.ts +211 -211
- package/es/components/interaction/date-picker/src/date-picker-range/index.d.ts +211 -211
- package/es/components/interaction/date-picker/src/date-picker-range/index.vue.d.ts +211 -211
- package/es/components/interaction/tabs/index.vue.mjs +223 -39
- package/es/components/interaction/tabs-icon/index.vue.mjs +225 -41
- package/es/components/interaction-input/index.vue.mjs +2 -2
- package/es/components/interaction-input/index.vue2.mjs +244 -61
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +269 -86
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +248 -65
- package/es/components/interaction-switch/index.vue.mjs +1 -1
- package/es/components/interaction-switch/index.vue2.mjs +217 -33
- package/es/components/interaction-tabs/index.vue.mjs +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +221 -37
- package/es/components/interaction-tabs2/index.vue.mjs +1 -1
- package/es/components/interaction-tabs2/index.vue2.mjs +219 -35
- package/es/components/map-earth-basic/index.d.ts +2 -2
- package/es/components/map-earth-basic/index.vue.d.ts +2 -2
- package/es/components/map-earth-basic/index.vue.mjs +286 -103
- package/es/components/map-earth-cool-tech/index.d.ts +2 -2
- package/es/components/map-earth-cool-tech/index.vue.d.ts +2 -2
- package/es/components/map-earth-cool-tech/index.vue.mjs +286 -103
- package/es/components/map-earth-fly-line/index.d.ts +2 -2
- package/es/components/map-earth-fly-line/index.vue.d.ts +2 -2
- package/es/components/map-earth-fly-line/index.vue.mjs +286 -103
- package/es/components/map-earth-hacker/index.d.ts +2 -2
- package/es/components/map-earth-hacker/index.vue.d.ts +2 -2
- package/es/components/map-earth-hacker/index.vue.mjs +286 -103
- package/es/components/map-earth-particle/index.d.ts +2 -2
- package/es/components/map-earth-particle/index.vue.d.ts +2 -2
- package/es/components/map-earth-particle/index.vue.mjs +286 -103
- package/es/components/media-audio/index.vue.mjs +2 -2
- package/es/components/media-audio/index.vue2.mjs +219 -35
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +233 -50
- package/es/components/media-flv/index.vue.mjs +219 -35
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +199 -15
- package/es/components/media-iframe-dynamic/index.d.ts +51 -0
- package/es/components/media-iframe-dynamic/index.mjs +7 -0
- package/es/components/media-iframe-dynamic/index.vue.d.ts +51 -0
- package/es/components/media-iframe-dynamic/index.vue.mjs +7 -0
- package/es/components/media-iframe-dynamic/index.vue2.mjs +259 -0
- package/es/components/media-image-dynamic/index.vue.mjs +2 -2
- package/es/components/media-image-dynamic/index.vue2.mjs +207 -24
- package/es/components/media-m3u8/index.vue.mjs +221 -37
- package/es/components/media-m3u8-dynamic/index.vue.mjs +228 -45
- package/es/components/media-video/index.vue.mjs +2 -2
- package/es/components/media-video/index.vue2.mjs +216 -31
- package/es/components/media-video-dynamic/index.vue.mjs +2 -2
- package/es/components/media-video-dynamic/index.vue2.mjs +223 -40
- package/es/components/scene-amap2d/index.vue.mjs +1 -1
- package/es/components/scene-amap2d/index.vue2.mjs +376 -192
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +414 -231
- package/es/components/scene-default/index.vue.mjs +2 -2
- package/es/components/scene-default/index.vue2.mjs +201 -16
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +289 -106
- package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
- package/es/components/scene-ue-iframe/index.vue2.mjs +212 -27
- package/es/components/scene-ue-shj/index.vue.mjs +2 -2
- package/es/components/scene-ue-shj/index.vue2.mjs +200 -15
- package/es/components/scene-unity-iframe/index.vue.mjs +1 -1
- package/es/components/scene-unity-iframe/index.vue2.mjs +204 -19
- package/es/components/scene-unity-webgl/index.vue.mjs +2 -2
- package/es/components/scene-unity-webgl/index.vue2.mjs +204 -19
- package/es/components/scene-vr/index.vue.mjs +2 -2
- package/es/components/scene-vr/index.vue2.mjs +302 -118
- package/es/components/text/list/index.vue.mjs +240 -56
- package/es/components/text-count-down/index.vue.mjs +2 -2
- package/es/components/text-count-down/index.vue2.mjs +245 -60
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +243 -60
- package/es/components/text-real-time/index.vue.mjs +2 -2
- package/es/components/text-real-time/index.vue2.mjs +212 -28
- package/es/components/text-row-scroll/index.vue.mjs +1 -1
- package/es/components/text-row-scroll/index.vue2.mjs +288 -105
- package/es/components/text-table-basic/index.vue.mjs +2 -2
- package/es/components/text-table-basic/index.vue2.mjs +286 -103
- package/es/components/text-table-scroll/index.vue.mjs +2 -2
- package/es/components/text-table-scroll/index.vue2.mjs +291 -108
- package/es/components/text-text-dynamic/index.vue.mjs +2 -2
- package/es/components/text-text-dynamic/index.vue2.mjs +218 -35
- package/es/index.d.ts +1 -0
- package/es/index.mjs +386 -370
- package/es/{commons/plugins → plugins}/datasource/index.mjs +217 -214
- package/es/{commons/plugins → plugins}/datasource/sources/api.mjs +32 -32
- package/es/{commons/plugins → plugins}/datasource/sources/static.mjs +17 -17
- package/es/{commons/plugins → plugins}/datasource/sources/storage.mjs +28 -28
- package/es/{commons/plugins → plugins}/datasource/sources/url.mjs +17 -17
- package/es/{commons/plugins → plugins}/datasource/sources/variable.mjs +17 -17
- package/es/{commons/plugins → plugins}/datasource/sources/ws.mjs +139 -139
- package/es/{commons/plugins → plugins}/datasource/utils/axios.mjs +134 -134
- package/es/{commons/plugins → plugins}/datasource/utils/request.mjs +5 -5
- package/es/{commons/plugins → plugins}/datasource/utils/utils.mjs +229 -229
- package/es/{commons/plugins → plugins}/datasource/utils/wsManager.mjs +78 -78
- package/es/{commons/plugins → plugins}/event/actions/fullScreenAction.mjs +8 -8
- package/es/{commons/plugins → plugins}/event/actions/invokeAction.mjs +11 -11
- package/es/{commons/plugins → plugins}/event/actions/linkAction.mjs +8 -8
- package/es/{commons/plugins → plugins}/event/actions/moveAction.mjs +15 -15
- package/es/{commons/plugins → plugins}/event/actions/refreshVariableAction.mjs +18 -18
- package/es/{commons/plugins → plugins}/event/actions/rotateAction.mjs +19 -19
- package/es/{commons/plugins → plugins}/event/actions/scaleAction.mjs +24 -24
- package/es/{commons/plugins → plugins}/event/actions/sendApiAction.mjs +16 -16
- package/es/{commons/plugins → plugins}/event/actions/ueCommonsWebscoketAction.mjs +31 -31
- package/es/{commons/plugins → plugins}/event/actions/ueShjExecMethodAction.mjs +31 -31
- package/es/{commons/plugins → plugins}/event/actions/unityIframeExecMethodAction.mjs +28 -28
- package/es/{commons/plugins → plugins}/event/actions/unityWebglExecMethodAction.mjs +28 -28
- package/es/{commons/plugins → plugins}/event/actions/updatePageAction.mjs +6 -6
- package/es/{commons/plugins → plugins}/event/actions/updateVariableAction.mjs +25 -25
- package/es/{commons/plugins → plugins}/event/actions/updateWidgetAction.mjs +14 -14
- package/es/{commons/plugins → plugins}/event/actions/vrSceneMethodAction.mjs +12 -12
- package/es/{commons/plugins → plugins}/event/index.mjs +161 -161
- package/es/{commons/plugins → plugins}/event/utils/utils.mjs +50 -50
- package/es/{commons → plugins}/utils/componentRefs.mjs +37 -37
- package/es/{commons → plugins}/utils/getNextElement.mjs +12 -12
- package/es/widgets.css +1 -1
- package/package.json +1 -1
- package/es/commons/plugins/datasource/index.d.ts +0 -73
- package/es/commons/plugins/datasource/sources/api.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/static.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/storage.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/url.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/variable.d.ts +0 -1
- package/es/commons/plugins/datasource/sources/ws.d.ts +0 -32
- package/es/commons/plugins/datasource/utils/axios.d.ts +0 -70
- package/es/commons/plugins/datasource/utils/request.d.ts +0 -3
- package/es/commons/plugins/datasource/utils/utils.d.ts +0 -115
- package/es/commons/plugins/datasource/utils/wsManager.d.ts +0 -16
- package/es/commons/plugins/event/actions/fullScreenAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/invokeAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/linkAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/moveAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/refreshVariableAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/rotateAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/scaleAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/sendApiAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/updatePageAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/updateVariableAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +0 -7
- package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +0 -7
- package/es/commons/plugins/event/index.d.ts +0 -206
- package/es/commons/plugins/event/utils/utils.d.ts +0 -22
- package/es/commons/utils/componentRefs.d.ts +0 -28
- package/es/commons/utils/getNextElement.d.ts +0 -7
|
@@ -1,9 +1,192 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as
|
|
1
|
+
import { defineComponent as a, useCssVars as O, ref as h, onMounted as g, watch as s, createElementBlock as v, openBlock as E, createVNode as H, unref as T } from "vue";
|
|
2
|
+
import { cloneDeep as e, isEqual as n } from "lodash";
|
|
3
3
|
import V from "@vueform/slider";
|
|
4
|
-
import
|
|
4
|
+
import "../text-text-basic/index.mjs";
|
|
5
|
+
import "../text-table-basic/index.mjs";
|
|
6
|
+
import "../chart-other-gauge/index.mjs";
|
|
7
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
8
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
9
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
10
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
11
|
+
import "../chart-other-funnel/index.mjs";
|
|
12
|
+
import "../chart-other-force/index.mjs";
|
|
13
|
+
import "../chart-other-radar/index.mjs";
|
|
14
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
15
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
16
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
17
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
18
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
19
|
+
import "../chart-other-heatmap/index.mjs";
|
|
20
|
+
import "../chart-other-force2/index.mjs";
|
|
21
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
22
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
23
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
24
|
+
import "../chart-other-tree-line/index.mjs";
|
|
25
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
26
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
27
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
28
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
29
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
30
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
31
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
32
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
33
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
34
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
35
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
36
|
+
import "../map-earth-basic/index.mjs";
|
|
37
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
38
|
+
import "../map-earth-particle/index.mjs";
|
|
39
|
+
import "../map-earth-hacker/index.mjs";
|
|
40
|
+
import "../map-earth-fly-line/index.mjs";
|
|
41
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
42
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
43
|
+
import "../chart-other-funnel2/index.mjs";
|
|
44
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
45
|
+
import "../chart-other-theme-river/index.mjs";
|
|
46
|
+
import "../chart-other-tree/index.mjs";
|
|
47
|
+
import "../chart-other-treemap/index.mjs";
|
|
48
|
+
import "../commons-product-model/index.mjs";
|
|
49
|
+
import "../commons-vr-photo/index.mjs";
|
|
50
|
+
import "../commons-vr-video/index.mjs";
|
|
51
|
+
import "../commons-three-loader/index.mjs";
|
|
52
|
+
import "../commons-three-loader3/index.mjs";
|
|
53
|
+
import "../commons-loop-iterator/index.mjs";
|
|
54
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
55
|
+
import "../commons-babylon/index.mjs";
|
|
56
|
+
import "../commons-svg/index.mjs";
|
|
57
|
+
import "../commons-weather/index.mjs";
|
|
58
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
59
|
+
import "../media-wavesurfer/index.mjs";
|
|
60
|
+
import "../interaction-tabs/index.mjs";
|
|
61
|
+
import "../interaction-tabs2/index.mjs";
|
|
62
|
+
import "../interaction-button/index.mjs";
|
|
63
|
+
import "../interaction-button-image/index.mjs";
|
|
64
|
+
import "../interaction-select/index.mjs";
|
|
65
|
+
import "../interaction-input/index.mjs";
|
|
66
|
+
import "../interaction-radio/index.mjs";
|
|
67
|
+
import "./index.mjs";
|
|
68
|
+
import "../interaction-switch/index.mjs";
|
|
69
|
+
import "../interaction-data-picker/index.mjs";
|
|
70
|
+
import "../interaction-button-refresh/index.mjs";
|
|
71
|
+
import "../media-image/index.mjs";
|
|
72
|
+
import "../text-title/index.mjs";
|
|
73
|
+
import "../commons-qrcode/index.mjs";
|
|
74
|
+
import "../media-video/index.mjs";
|
|
75
|
+
import "../media-audio/index.mjs";
|
|
76
|
+
import "../text-real-time/index.mjs";
|
|
77
|
+
import "../media-carousel/index.mjs";
|
|
78
|
+
import "../media-carousel-slides/index.mjs";
|
|
79
|
+
import "../media-iframe-carousel/index.mjs";
|
|
80
|
+
import "../media-iframe/index.mjs";
|
|
81
|
+
import "../media-m3u8/index.mjs";
|
|
82
|
+
import "../media-m3u8-dynamic/index.mjs";
|
|
83
|
+
import "../media-audio-dynamic/index.mjs";
|
|
84
|
+
import "../media-video-dynamic/index.mjs";
|
|
85
|
+
import "../media-image-dynamic/index.mjs";
|
|
86
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
87
|
+
import "../media-flv/index.mjs";
|
|
88
|
+
import "../commons-echarts/index.mjs";
|
|
89
|
+
import "../text-over-number/index.mjs";
|
|
90
|
+
import "../text-table-scroll/index.mjs";
|
|
91
|
+
import "../text-carousel/index.mjs";
|
|
92
|
+
import "../text-row-scroll/index.mjs";
|
|
93
|
+
import "../text-text-dynamic/index.mjs";
|
|
94
|
+
import "../text-count-down/index.mjs";
|
|
95
|
+
import "../graphical-circle/index.mjs";
|
|
96
|
+
import "../graphical-diamond/index.mjs";
|
|
97
|
+
import "../graphical-hexagon/index.mjs";
|
|
98
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
99
|
+
import "../graphical-pentagon/index.mjs";
|
|
100
|
+
import "../graphical-rect/index.mjs";
|
|
101
|
+
import "../graphical-right-triangle/index.mjs";
|
|
102
|
+
import "../scene-map3d/index.mjs";
|
|
103
|
+
import "../scene-amap2d/index.mjs";
|
|
104
|
+
import "../scene-amap3d/index.mjs";
|
|
105
|
+
import "../scene-vr/index.mjs";
|
|
106
|
+
import "../scene-unity-iframe/index.mjs";
|
|
107
|
+
import "../scene-unity-webgl/index.mjs";
|
|
108
|
+
import "../scene-ue-iframe/index.mjs";
|
|
109
|
+
import "../scene-ue-shj/index.mjs";
|
|
110
|
+
import "../scene-default/index.mjs";
|
|
111
|
+
import "../interaction/tabs/index.mjs";
|
|
112
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
113
|
+
import "../interaction/button/index.mjs";
|
|
114
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
115
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
116
|
+
import "../text/list/index.mjs";
|
|
117
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
118
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
119
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
120
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
121
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
122
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
123
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
124
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
125
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
126
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
127
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
128
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
129
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
130
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
131
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
132
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
133
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
134
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
135
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
136
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
137
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
138
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
139
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
140
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
141
|
+
import "../chart/src/bar/three/index.mjs";
|
|
142
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
143
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
144
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
145
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
146
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
147
|
+
import "../chart/src/line/basic/index.mjs";
|
|
148
|
+
import "../chart/src/line/bump/index.mjs";
|
|
149
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
150
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
151
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
152
|
+
import "../chart/src/line/multix/index.mjs";
|
|
153
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
154
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
155
|
+
import "../chart/src/line/scale/index.mjs";
|
|
156
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
157
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
158
|
+
import "../chart/src/line/stack/index.mjs";
|
|
159
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
160
|
+
import "../chart/src/line/temp/index.mjs";
|
|
161
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
162
|
+
import "../chart/src/map/basic/index.mjs";
|
|
163
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
164
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
165
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
166
|
+
import "../chart/src/map/customize/index.mjs";
|
|
167
|
+
import "../chart/src/map/lines/index.mjs";
|
|
168
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
169
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
170
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
171
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
172
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
173
|
+
import "../chart/src/pie/index/index.mjs";
|
|
174
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
175
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
176
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
177
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
178
|
+
import "../chart/src/pie/round/index.mjs";
|
|
179
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
180
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
181
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
182
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
183
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
184
|
+
/* empty css */
|
|
185
|
+
/* empty css */
|
|
186
|
+
import { SHJDatasourceV2 as w } from "../../plugins/datasource/index.mjs";
|
|
187
|
+
import { SHJParseEvent as m } from "../../plugins/event/index.mjs";
|
|
5
188
|
import "@vueform/slider/themes/default.css";
|
|
6
|
-
const C = { class: "zerov-widget-slider" }, B =
|
|
189
|
+
const C = { class: "zerov-widget-slider" }, B = a({ name: "zv-interaction-slider" }), ip = /* @__PURE__ */ a({
|
|
7
190
|
...B,
|
|
8
191
|
props: {
|
|
9
192
|
basicOption: {},
|
|
@@ -12,88 +195,88 @@ const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider
|
|
|
12
195
|
uuid: {}
|
|
13
196
|
},
|
|
14
197
|
emits: ["on-change"],
|
|
15
|
-
setup(
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
198
|
+
setup(l, { expose: d, emit: c }) {
|
|
199
|
+
O((i) => ({
|
|
200
|
+
"8ebc8968": i.basicOption.css.sliderBg,
|
|
201
|
+
"228d99e8": i.basicOption.css.sliderConnectBg,
|
|
202
|
+
"6e24c41f": i.basicOption.css.sliderHeight + "px",
|
|
203
|
+
"7f9f6b58": i.basicOption.css.sliderRadius + "px",
|
|
204
|
+
"5e64cb58": i.basicOption.css.sliderHandleBg,
|
|
205
|
+
"34b2d154": i.basicOption.css.sliderHandleWidth + "px",
|
|
206
|
+
"19b4b017": i.basicOption.css.sliderHandleHeight + "px",
|
|
207
|
+
"6bc0364c": i.basicOption.css.sliderHandleRadius + "px",
|
|
208
|
+
d1b163b4: i.basicOption.css.sliderHandleRingWidth + "px",
|
|
209
|
+
"2c120624": i.basicOption.css.sliderHandleRingColor,
|
|
210
|
+
"0b41febe": i.basicOption.css.sliderTooltipFontSize + "px",
|
|
211
|
+
"57f17dec": i.basicOption.css.sliderTooltipFontWeight + "px",
|
|
212
|
+
"2d6b8ec1": i.basicOption.css.sliderTooltipBg,
|
|
213
|
+
d0a66932: i.basicOption.css.sliderTooltipColor,
|
|
214
|
+
d975a882: i.basicOption.css.sliderTooltipRadius + "px",
|
|
215
|
+
"7d6ce868": i.basicOption.css.sliderTooltipPy + "px",
|
|
216
|
+
"158bbb89": i.basicOption.css.sliderTooltipPx + "px",
|
|
217
|
+
"477f19c2": i.basicOption.css.sliderTooltipArrowSize + "px",
|
|
218
|
+
"3bcf95fc": i.basicOption.css.sliderTooltipDistance + "px"
|
|
36
219
|
}));
|
|
37
|
-
const
|
|
220
|
+
const o = l, b = c, r = h(20), p = () => {
|
|
38
221
|
w.parse({
|
|
39
|
-
tId:
|
|
40
|
-
sources:
|
|
41
|
-
callback: ({ data:
|
|
222
|
+
tId: o.uuid,
|
|
223
|
+
sources: o.sources,
|
|
224
|
+
callback: ({ data: i }) => {
|
|
42
225
|
try {
|
|
43
|
-
|
|
226
|
+
m.parseEvents(o.useEvents, "dataListener", i), r.value = i[0].data[0].value;
|
|
44
227
|
} catch {
|
|
45
|
-
|
|
228
|
+
m.parseEvents(o.useEvents, "dataListener", null);
|
|
46
229
|
}
|
|
47
230
|
}
|
|
48
231
|
});
|
|
49
232
|
};
|
|
50
|
-
g(() =>
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
data:
|
|
54
|
-
event:
|
|
55
|
-
}),
|
|
56
|
-
data:
|
|
57
|
-
event:
|
|
233
|
+
g(() => p());
|
|
234
|
+
const u = (i) => {
|
|
235
|
+
b("on-change", {
|
|
236
|
+
data: i,
|
|
237
|
+
event: i
|
|
238
|
+
}), m.parseEvents(o.useEvents, "on-change", {
|
|
239
|
+
data: i,
|
|
240
|
+
event: i
|
|
58
241
|
});
|
|
59
242
|
};
|
|
60
|
-
return
|
|
61
|
-
() =>
|
|
62
|
-
(
|
|
63
|
-
|
|
243
|
+
return s(
|
|
244
|
+
() => e(o.basicOption),
|
|
245
|
+
(i, t) => {
|
|
246
|
+
n(i, t) || p();
|
|
64
247
|
},
|
|
65
248
|
{ deep: !0 }
|
|
66
|
-
),
|
|
67
|
-
() =>
|
|
68
|
-
(
|
|
69
|
-
|
|
249
|
+
), s(
|
|
250
|
+
() => e(o.sources),
|
|
251
|
+
(i, t) => {
|
|
252
|
+
n(i, t) || p();
|
|
70
253
|
},
|
|
71
254
|
{ deep: !0 }
|
|
72
|
-
),
|
|
73
|
-
refresh: () =>
|
|
74
|
-
refreshView: () =>
|
|
75
|
-
refreshData: () =>
|
|
76
|
-
}), (
|
|
255
|
+
), d({
|
|
256
|
+
refresh: () => p(),
|
|
257
|
+
refreshView: () => p(),
|
|
258
|
+
refreshData: () => p()
|
|
259
|
+
}), (i, t) => (E(), v("div", C, [
|
|
77
260
|
H(T(V), {
|
|
78
|
-
modelValue:
|
|
79
|
-
"onUpdate:modelValue":
|
|
261
|
+
modelValue: r.value,
|
|
262
|
+
"onUpdate:modelValue": t[0] || (t[0] = (f) => r.value = f),
|
|
80
263
|
class: "slider",
|
|
81
|
-
min:
|
|
82
|
-
max:
|
|
83
|
-
step:
|
|
84
|
-
tooltips:
|
|
85
|
-
"show-tooltip":
|
|
86
|
-
"tooltip-position":
|
|
264
|
+
min: i.basicOption.slider.min,
|
|
265
|
+
max: i.basicOption.slider.max,
|
|
266
|
+
step: i.basicOption.slider.step,
|
|
267
|
+
tooltips: i.basicOption.slider.tooltips,
|
|
268
|
+
"show-tooltip": i.basicOption.slider.showTooltip,
|
|
269
|
+
"tooltip-position": i.basicOption.slider.tooltipPosition,
|
|
87
270
|
format: {
|
|
88
|
-
prefix:
|
|
89
|
-
suffix:
|
|
90
|
-
decimals:
|
|
271
|
+
prefix: i.basicOption.slider.prefix,
|
|
272
|
+
suffix: i.basicOption.slider.suffix,
|
|
273
|
+
decimals: i.basicOption.slider.decimals
|
|
91
274
|
},
|
|
92
|
-
onChange:
|
|
275
|
+
onChange: u
|
|
93
276
|
}, null, 8, ["modelValue", "min", "max", "step", "tooltips", "show-tooltip", "tooltip-position", "format"])
|
|
94
277
|
]));
|
|
95
278
|
}
|
|
96
279
|
});
|
|
97
280
|
export {
|
|
98
|
-
|
|
281
|
+
ip as default
|
|
99
282
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-66a29e93"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,193 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as n, useCssVars as u, ref as v, watch as d, createElementBlock as b, openBlock as h, normalizeClass as O, withDirectives as f, createElementVNode as m, vModelCheckbox as w, pushScopeId as C, popScopeId as E } from "vue";
|
|
2
2
|
import { cloneDeep as V, isEqual as z } from "lodash";
|
|
3
|
-
import
|
|
4
|
-
|
|
3
|
+
import "../text-text-basic/index.mjs";
|
|
4
|
+
import "../text-table-basic/index.mjs";
|
|
5
|
+
import "../chart-other-gauge/index.mjs";
|
|
6
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
7
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
8
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
9
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
10
|
+
import "../chart-other-funnel/index.mjs";
|
|
11
|
+
import "../chart-other-force/index.mjs";
|
|
12
|
+
import "../chart-other-radar/index.mjs";
|
|
13
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
14
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
15
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
16
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
17
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
18
|
+
import "../chart-other-heatmap/index.mjs";
|
|
19
|
+
import "../chart-other-force2/index.mjs";
|
|
20
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
21
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
22
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
23
|
+
import "../chart-other-tree-line/index.mjs";
|
|
24
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
25
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
26
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
27
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
28
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
29
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
30
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
31
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
32
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
33
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
34
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
35
|
+
import "../map-earth-basic/index.mjs";
|
|
36
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
37
|
+
import "../map-earth-particle/index.mjs";
|
|
38
|
+
import "../map-earth-hacker/index.mjs";
|
|
39
|
+
import "../map-earth-fly-line/index.mjs";
|
|
40
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
41
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
42
|
+
import "../chart-other-funnel2/index.mjs";
|
|
43
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
44
|
+
import "../chart-other-theme-river/index.mjs";
|
|
45
|
+
import "../chart-other-tree/index.mjs";
|
|
46
|
+
import "../chart-other-treemap/index.mjs";
|
|
47
|
+
import "../commons-product-model/index.mjs";
|
|
48
|
+
import "../commons-vr-photo/index.mjs";
|
|
49
|
+
import "../commons-vr-video/index.mjs";
|
|
50
|
+
import "../commons-three-loader/index.mjs";
|
|
51
|
+
import "../commons-three-loader3/index.mjs";
|
|
52
|
+
import "../commons-loop-iterator/index.mjs";
|
|
53
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
54
|
+
import "../commons-babylon/index.mjs";
|
|
55
|
+
import "../commons-svg/index.mjs";
|
|
56
|
+
import "../commons-weather/index.mjs";
|
|
57
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
58
|
+
import "../media-wavesurfer/index.mjs";
|
|
59
|
+
import "../interaction-tabs/index.mjs";
|
|
60
|
+
import "../interaction-tabs2/index.mjs";
|
|
61
|
+
import "../interaction-button/index.mjs";
|
|
62
|
+
import "../interaction-button-image/index.mjs";
|
|
63
|
+
import "../interaction-select/index.mjs";
|
|
64
|
+
import "../interaction-input/index.mjs";
|
|
65
|
+
import "../interaction-radio/index.mjs";
|
|
66
|
+
import "../interaction-slider/index.mjs";
|
|
67
|
+
import "./index.mjs";
|
|
68
|
+
import "../interaction-data-picker/index.mjs";
|
|
69
|
+
import "../interaction-button-refresh/index.mjs";
|
|
70
|
+
import "../media-image/index.mjs";
|
|
71
|
+
import "../text-title/index.mjs";
|
|
72
|
+
import "../commons-qrcode/index.mjs";
|
|
73
|
+
import "../media-video/index.mjs";
|
|
74
|
+
import "../media-audio/index.mjs";
|
|
75
|
+
import "../text-real-time/index.mjs";
|
|
76
|
+
import "../media-carousel/index.mjs";
|
|
77
|
+
import "../media-carousel-slides/index.mjs";
|
|
78
|
+
import "../media-iframe-carousel/index.mjs";
|
|
79
|
+
import "../media-iframe/index.mjs";
|
|
80
|
+
import "../media-m3u8/index.mjs";
|
|
81
|
+
import "../media-m3u8-dynamic/index.mjs";
|
|
82
|
+
import "../media-audio-dynamic/index.mjs";
|
|
83
|
+
import "../media-video-dynamic/index.mjs";
|
|
84
|
+
import "../media-image-dynamic/index.mjs";
|
|
85
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
86
|
+
import "../media-flv/index.mjs";
|
|
87
|
+
import "../commons-echarts/index.mjs";
|
|
88
|
+
import "../text-over-number/index.mjs";
|
|
89
|
+
import "../text-table-scroll/index.mjs";
|
|
90
|
+
import "../text-carousel/index.mjs";
|
|
91
|
+
import "../text-row-scroll/index.mjs";
|
|
92
|
+
import "../text-text-dynamic/index.mjs";
|
|
93
|
+
import "../text-count-down/index.mjs";
|
|
94
|
+
import "../graphical-circle/index.mjs";
|
|
95
|
+
import "../graphical-diamond/index.mjs";
|
|
96
|
+
import "../graphical-hexagon/index.mjs";
|
|
97
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
98
|
+
import "../graphical-pentagon/index.mjs";
|
|
99
|
+
import "../graphical-rect/index.mjs";
|
|
100
|
+
import "../graphical-right-triangle/index.mjs";
|
|
101
|
+
import "../scene-map3d/index.mjs";
|
|
102
|
+
import "../scene-amap2d/index.mjs";
|
|
103
|
+
import "../scene-amap3d/index.mjs";
|
|
104
|
+
import "../scene-vr/index.mjs";
|
|
105
|
+
import "../scene-unity-iframe/index.mjs";
|
|
106
|
+
import "../scene-unity-webgl/index.mjs";
|
|
107
|
+
import "../scene-ue-iframe/index.mjs";
|
|
108
|
+
import "../scene-ue-shj/index.mjs";
|
|
109
|
+
import "../scene-default/index.mjs";
|
|
110
|
+
import "../interaction/tabs/index.mjs";
|
|
111
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
112
|
+
import "../interaction/button/index.mjs";
|
|
113
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
114
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
115
|
+
import "../text/list/index.mjs";
|
|
116
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
117
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
118
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
119
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
120
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
121
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
122
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
123
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
124
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
125
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
126
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
127
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
128
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
129
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
130
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
131
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
132
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
133
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
134
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
135
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
136
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
137
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
138
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
139
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
140
|
+
import "../chart/src/bar/three/index.mjs";
|
|
141
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
142
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
143
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
144
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
145
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
146
|
+
import "../chart/src/line/basic/index.mjs";
|
|
147
|
+
import "../chart/src/line/bump/index.mjs";
|
|
148
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
149
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
150
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
151
|
+
import "../chart/src/line/multix/index.mjs";
|
|
152
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
153
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
154
|
+
import "../chart/src/line/scale/index.mjs";
|
|
155
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
156
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
157
|
+
import "../chart/src/line/stack/index.mjs";
|
|
158
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
159
|
+
import "../chart/src/line/temp/index.mjs";
|
|
160
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
161
|
+
import "../chart/src/map/basic/index.mjs";
|
|
162
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
163
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
164
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
165
|
+
import "../chart/src/map/customize/index.mjs";
|
|
166
|
+
import "../chart/src/map/lines/index.mjs";
|
|
167
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
168
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
169
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
170
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
171
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
172
|
+
import "../chart/src/pie/index/index.mjs";
|
|
173
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
174
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
175
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
176
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
177
|
+
import "../chart/src/pie/round/index.mjs";
|
|
178
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
179
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
180
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
181
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
182
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
183
|
+
/* empty css */
|
|
184
|
+
/* empty css */
|
|
185
|
+
import "../../plugins/datasource/utils/request.mjs";
|
|
186
|
+
import "../../plugins/datasource/utils/wsManager.mjs";
|
|
187
|
+
import { SHJParseEvent as a } from "../../plugins/event/index.mjs";
|
|
188
|
+
const S = (r) => (C("data-v-66a29e93"), r = r(), E(), r), _ = ["true-value", "false-value"], k = /* @__PURE__ */ S(() => /* @__PURE__ */ m("div", { class: "zv-switch__action" }, null, -1)), g = [
|
|
5
189
|
k
|
|
6
|
-
], B =
|
|
190
|
+
], B = n({ name: "zv-interaction-switch" }), tp = /* @__PURE__ */ n({
|
|
7
191
|
...B,
|
|
8
192
|
props: {
|
|
9
193
|
basicOption: {},
|
|
@@ -11,49 +195,49 @@ const S = (t) => (C("data-v-7a7810a5"), t = t(), E(), t), _ = ["true-value", "fa
|
|
|
11
195
|
sceneOption: {}
|
|
12
196
|
},
|
|
13
197
|
emits: ["on-change", "on-open", "on-close"],
|
|
14
|
-
setup(
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
198
|
+
setup(r, { emit: c }) {
|
|
199
|
+
u((o) => ({
|
|
200
|
+
"69a34a81": o.basicOption.css.onColor,
|
|
201
|
+
"5ce31117": o.basicOption.css.offColor,
|
|
202
|
+
"64c1bed3": o.basicOption.css.actionSize + "px",
|
|
203
|
+
"54a14f94": o.basicOption.css.minWidth + "px",
|
|
204
|
+
"005c05ec": o.basicOption.css.coreSize + "px",
|
|
205
|
+
"3be1c08d": o.basicOption.css.coreBorderRadius + "px",
|
|
206
|
+
"433ba956": o.basicOption.css.actionBorderRadius + "px",
|
|
207
|
+
"408b34bc": o.basicOption.css.actionBackgroundColor
|
|
24
208
|
}));
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
data:
|
|
30
|
-
}),
|
|
31
|
-
data:
|
|
209
|
+
const e = c, p = r, t = v(JSON.parse(p.basicOption.defaultValue)), l = (o) => {
|
|
210
|
+
t.value = !t.value;
|
|
211
|
+
const i = p.basicOption.trueValue === t.value ? "open" : "close";
|
|
212
|
+
e("on-change", t.value), a.parseEvents(p.useEvents, "on-change", {
|
|
213
|
+
data: t.value
|
|
214
|
+
}), e(`on-${i}`, t.value), a.parseEvents(p.useEvents, `on-${i}`, {
|
|
215
|
+
data: t.value
|
|
32
216
|
});
|
|
33
217
|
};
|
|
34
|
-
return
|
|
35
|
-
z(
|
|
36
|
-
}, { deep: !0 }), (
|
|
218
|
+
return d(() => V(p.basicOption), (o, i) => {
|
|
219
|
+
z(o, i) || (t.value = JSON.parse(p.basicOption.defaultValue));
|
|
220
|
+
}, { deep: !0 }), (o, i) => (h(), b("div", {
|
|
37
221
|
class: O(["zv-switch", {
|
|
38
|
-
"is-checked":
|
|
222
|
+
"is-checked": t.value
|
|
39
223
|
}])
|
|
40
224
|
}, [
|
|
41
|
-
m(
|
|
42
|
-
"onUpdate:modelValue":
|
|
225
|
+
f(m("input", {
|
|
226
|
+
"onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
|
|
43
227
|
class: "zv-switch__input",
|
|
44
228
|
type: "checkbox",
|
|
45
|
-
"true-value":
|
|
46
|
-
"false-value":
|
|
229
|
+
"true-value": o.basicOption.trueValue,
|
|
230
|
+
"false-value": o.basicOption.falseValue
|
|
47
231
|
}, null, 8, _), [
|
|
48
|
-
[w,
|
|
232
|
+
[w, t.value]
|
|
49
233
|
]),
|
|
50
|
-
|
|
234
|
+
m("span", {
|
|
51
235
|
class: "zv-switch__core",
|
|
52
|
-
onClick:
|
|
236
|
+
onClick: i[1] || (i[1] = (s) => l(t.value))
|
|
53
237
|
}, g)
|
|
54
238
|
], 2));
|
|
55
239
|
}
|
|
56
240
|
});
|
|
57
241
|
export {
|
|
58
|
-
|
|
242
|
+
tp as default
|
|
59
243
|
};
|