@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,10 +1,9 @@
|
|
|
1
|
-
import { defineComponent as P, ref as
|
|
2
|
-
import { cloneDeep as
|
|
1
|
+
import { defineComponent as P, ref as f, onMounted as Q, onBeforeUnmount as X, computed as Y, watch as h, createElementBlock as c, openBlock as u, normalizeClass as L, createCommentVNode as E, normalizeStyle as y, Fragment as R, renderList as T, createElementVNode as I, toDisplayString as w, unref as Z } from "vue";
|
|
2
|
+
import { cloneDeep as d, isEqual as k } from "lodash";
|
|
3
3
|
import $ from "gsap";
|
|
4
4
|
import { useFps as x } from "@vueuse/core";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { initWatch as ae } from "./watch.mjs";
|
|
5
|
+
import { World as ee } from "./map3d/map.mjs";
|
|
6
|
+
import { initWatch as te } from "./watch.mjs";
|
|
8
7
|
import "three";
|
|
9
8
|
import "d3-geo";
|
|
10
9
|
import "three/examples/jsm/controls/OrbitControls";
|
|
@@ -14,12 +13,196 @@ import { createHistory as oe } from "./map3d/mini3d/utils/CreateHistory.mjs";
|
|
|
14
13
|
import "three/examples/jsm/libs/lil-gui.module.min";
|
|
15
14
|
import "three/examples/jsm/utils/BufferGeometryUtils";
|
|
16
15
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
16
|
+
import "../text-text-basic/index.mjs";
|
|
17
|
+
import "../text-table-basic/index.mjs";
|
|
18
|
+
import "../chart-other-gauge/index.mjs";
|
|
19
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
20
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
21
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
22
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
23
|
+
import "../chart-other-funnel/index.mjs";
|
|
24
|
+
import "../chart-other-force/index.mjs";
|
|
25
|
+
import "../chart-other-radar/index.mjs";
|
|
26
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
27
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
28
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
29
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
30
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
31
|
+
import "../chart-other-heatmap/index.mjs";
|
|
32
|
+
import "../chart-other-force2/index.mjs";
|
|
33
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
34
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
35
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
36
|
+
import "../chart-other-tree-line/index.mjs";
|
|
37
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
38
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
39
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
40
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
41
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
42
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
43
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
44
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
45
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
46
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
47
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
48
|
+
import "../map-earth-basic/index.mjs";
|
|
49
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
50
|
+
import "../map-earth-particle/index.mjs";
|
|
51
|
+
import "../map-earth-hacker/index.mjs";
|
|
52
|
+
import "../map-earth-fly-line/index.mjs";
|
|
53
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
54
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
55
|
+
import "../chart-other-funnel2/index.mjs";
|
|
56
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
57
|
+
import "../chart-other-theme-river/index.mjs";
|
|
58
|
+
import "../chart-other-tree/index.mjs";
|
|
59
|
+
import "../chart-other-treemap/index.mjs";
|
|
60
|
+
import "../commons-product-model/index.mjs";
|
|
61
|
+
import "../commons-vr-photo/index.mjs";
|
|
62
|
+
import "../commons-vr-video/index.mjs";
|
|
63
|
+
import "../commons-three-loader/index.mjs";
|
|
64
|
+
import "../commons-three-loader3/index.mjs";
|
|
65
|
+
import "../commons-loop-iterator/index.mjs";
|
|
66
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
67
|
+
import "../commons-babylon/index.mjs";
|
|
68
|
+
import "../commons-svg/index.mjs";
|
|
69
|
+
import "../commons-weather/index.mjs";
|
|
70
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
71
|
+
import "../media-wavesurfer/index.mjs";
|
|
72
|
+
import "../interaction-tabs/index.mjs";
|
|
73
|
+
import "../interaction-tabs2/index.mjs";
|
|
74
|
+
import "../interaction-button/index.mjs";
|
|
75
|
+
import "../interaction-button-image/index.mjs";
|
|
76
|
+
import "../interaction-select/index.mjs";
|
|
77
|
+
import "../interaction-input/index.mjs";
|
|
78
|
+
import "../interaction-radio/index.mjs";
|
|
79
|
+
import "../interaction-slider/index.mjs";
|
|
80
|
+
import "../interaction-switch/index.mjs";
|
|
81
|
+
import "../interaction-data-picker/index.mjs";
|
|
82
|
+
import "../interaction-button-refresh/index.mjs";
|
|
83
|
+
import "../media-image/index.mjs";
|
|
84
|
+
import "../text-title/index.mjs";
|
|
85
|
+
import "../commons-qrcode/index.mjs";
|
|
86
|
+
import "../media-video/index.mjs";
|
|
87
|
+
import "../media-audio/index.mjs";
|
|
88
|
+
import "../text-real-time/index.mjs";
|
|
89
|
+
import "../media-carousel/index.mjs";
|
|
90
|
+
import "../media-carousel-slides/index.mjs";
|
|
91
|
+
import "../media-iframe-carousel/index.mjs";
|
|
92
|
+
import "../media-iframe/index.mjs";
|
|
93
|
+
import "../media-m3u8/index.mjs";
|
|
94
|
+
import "../media-m3u8-dynamic/index.mjs";
|
|
95
|
+
import "../media-audio-dynamic/index.mjs";
|
|
96
|
+
import "../media-video-dynamic/index.mjs";
|
|
97
|
+
import "../media-image-dynamic/index.mjs";
|
|
98
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
99
|
+
import "../media-flv/index.mjs";
|
|
100
|
+
import "../commons-echarts/index.mjs";
|
|
101
|
+
import "../text-over-number/index.mjs";
|
|
102
|
+
import "../text-table-scroll/index.mjs";
|
|
103
|
+
import "../text-carousel/index.mjs";
|
|
104
|
+
import "../text-row-scroll/index.mjs";
|
|
105
|
+
import "../text-text-dynamic/index.mjs";
|
|
106
|
+
import "../text-count-down/index.mjs";
|
|
107
|
+
import "../graphical-circle/index.mjs";
|
|
108
|
+
import "../graphical-diamond/index.mjs";
|
|
109
|
+
import "../graphical-hexagon/index.mjs";
|
|
110
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
111
|
+
import "../graphical-pentagon/index.mjs";
|
|
112
|
+
import "../graphical-rect/index.mjs";
|
|
113
|
+
import "../graphical-right-triangle/index.mjs";
|
|
114
|
+
import "./index.mjs";
|
|
115
|
+
import "../scene-amap2d/index.mjs";
|
|
116
|
+
import "../scene-amap3d/index.mjs";
|
|
117
|
+
import "../scene-vr/index.mjs";
|
|
118
|
+
import "../scene-unity-iframe/index.mjs";
|
|
119
|
+
import "../scene-unity-webgl/index.mjs";
|
|
120
|
+
import "../scene-ue-iframe/index.mjs";
|
|
121
|
+
import "../scene-ue-shj/index.mjs";
|
|
122
|
+
import "../scene-default/index.mjs";
|
|
123
|
+
import "../interaction/tabs/index.mjs";
|
|
124
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
125
|
+
import "../interaction/button/index.mjs";
|
|
126
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
127
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
128
|
+
import "../text/list/index.mjs";
|
|
129
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
130
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
131
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
132
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
133
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
134
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
135
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
136
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
137
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
138
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
139
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
140
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
141
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
142
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
143
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
144
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
145
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
146
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
147
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
148
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
149
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
150
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
151
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
152
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
153
|
+
import "../chart/src/bar/three/index.mjs";
|
|
154
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
155
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
156
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
157
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
158
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
159
|
+
import "../chart/src/line/basic/index.mjs";
|
|
160
|
+
import "../chart/src/line/bump/index.mjs";
|
|
161
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
162
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
163
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
164
|
+
import "../chart/src/line/multix/index.mjs";
|
|
165
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
166
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
167
|
+
import "../chart/src/line/scale/index.mjs";
|
|
168
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
169
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
170
|
+
import "../chart/src/line/stack/index.mjs";
|
|
171
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
172
|
+
import "../chart/src/line/temp/index.mjs";
|
|
173
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
174
|
+
import "../chart/src/map/basic/index.mjs";
|
|
175
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
176
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
177
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
178
|
+
import "../chart/src/map/customize/index.mjs";
|
|
179
|
+
import "../chart/src/map/lines/index.mjs";
|
|
180
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
181
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
182
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
183
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
184
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
185
|
+
import "../chart/src/pie/index/index.mjs";
|
|
186
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
187
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
188
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
189
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
190
|
+
import "../chart/src/pie/round/index.mjs";
|
|
191
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
192
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
193
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
194
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
195
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
196
|
+
/* empty css */
|
|
197
|
+
/* empty css */
|
|
198
|
+
import { SHJDatasourceV2 as re } from "../../plugins/datasource/index.mjs";
|
|
199
|
+
import { SHJParseEvent as n } from "../../plugins/event/index.mjs";
|
|
17
200
|
import { autoInstallFont as H, jsonToCssStyle as O } from "../../commons/utils/json2css.mjs";
|
|
18
|
-
const
|
|
201
|
+
const ie = { class: "value" }, ae = ["onClick"], le = {
|
|
19
202
|
key: 3,
|
|
20
203
|
class: "fps"
|
|
21
|
-
},
|
|
22
|
-
...
|
|
204
|
+
}, ne = P({ name: "zv-scene-map3d" }), Gr = /* @__PURE__ */ P({
|
|
205
|
+
...ne,
|
|
23
206
|
props: {
|
|
24
207
|
basicOption: {},
|
|
25
208
|
sources: {},
|
|
@@ -40,18 +223,18 @@ const le = { class: "value" }, ne = ["onClick"], re = {
|
|
|
40
223
|
"on-data-change"
|
|
41
224
|
],
|
|
42
225
|
setup(V, { expose: N, emit: j }) {
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
tId:
|
|
48
|
-
sources:
|
|
49
|
-
callback: (
|
|
226
|
+
const r = V, p = j;
|
|
227
|
+
n.parseEvents(r.useEvents, "on-page-loaded", null);
|
|
228
|
+
const i = f(), C = f(!1), B = f(!1), S = "zerov-map3d-scene", A = "zerov-map3d-scene-wrap", a = new oe(), v = f(!1), b = (e = !0) => {
|
|
229
|
+
i.value.cleanAllBar(), i.value.cleanAllScatter(), i.value.cleanAllFlyLine(), i.value.createAllRegionalLevel(), r.sources && r.sources.length > 0 && re.parse({
|
|
230
|
+
tId: r.uuid,
|
|
231
|
+
sources: r.sources,
|
|
232
|
+
callback: (o) => {
|
|
50
233
|
try {
|
|
51
|
-
const t =
|
|
52
|
-
t && t.type === "bar" &&
|
|
234
|
+
const t = r.basicOption.widgets && r.basicOption.widgets.find((s) => s._sourceId === o.id);
|
|
235
|
+
t && t.type === "bar" && i.value.createBar(t, o.data[0].data, !0, e), t && t.type === "scatter" && i.value.createScatter(t, o.data[0].data, !0, e), t && t.type === "flyline" && i.value.createFlyLine(t, o.data[0].data, !0, e), t && t.type === "regionalLevel" && i.value.createRegionalLevel(t, o.data[0].data, !0, e), e && (i.value.createBarTimeLine(), i.value.createScatterTimeLine(), i.value.createFlyLineTimeLine(), i.value.createRegionalLevelTimeLine()), p("on-data-change", o), n.parseEvents(r.useEvents, "on-data-change", o);
|
|
53
236
|
} catch {
|
|
54
|
-
|
|
237
|
+
p("on-data-change", null), n.parseEvents(r.useEvents, "on-data-change", null);
|
|
55
238
|
}
|
|
56
239
|
}
|
|
57
240
|
});
|
|
@@ -59,63 +242,63 @@ const le = { class: "value" }, ne = ["onClick"], re = {
|
|
|
59
242
|
document.getElementById(S) && document.getElementById(A).removeChild(document.getElementById(S));
|
|
60
243
|
const e = document.createElement("canvas");
|
|
61
244
|
e.id = S, e.className = "zerov-map-3d", e.style.width = "100%", e.style.height = "100%", document.getElementById(A).appendChild(e);
|
|
62
|
-
},
|
|
245
|
+
}, g = (e) => (C.value = !1, B.value = !1, i.value && (i.value.destroy(), i.value = null), D(), new ee(document.getElementById(S), { geoProjectionCenter: [108.55, 36.32] }, e, {
|
|
63
246
|
onAreaMouseover: (t) => {
|
|
64
|
-
|
|
247
|
+
p("on-area-mouseover", t), n.parseEvents(r.useEvents, "on-area-mouseover", t);
|
|
65
248
|
},
|
|
66
249
|
onAreaMouseout: (t) => {
|
|
67
|
-
|
|
250
|
+
p("on-area-mouseout", t), n.parseEvents(r.useEvents, "on-area-mouseout", t);
|
|
68
251
|
},
|
|
69
252
|
onLoadChild: (t) => {
|
|
70
|
-
if (
|
|
71
|
-
|
|
72
|
-
const
|
|
73
|
-
|
|
253
|
+
if (p("on-area-click", t), n.parseEvents(r.useEvents, "on-area-click", t), t.adcode !== a.present && r.basicOption.scene.isDrilling && r.basicOption.scene.defaultMapAdcode !== 1) {
|
|
254
|
+
p("on-drill-down", t), n.parseEvents(r.useEvents, "on-drill-down", t);
|
|
255
|
+
const s = d(r.basicOption);
|
|
256
|
+
s.scene.defaultMapAdcode = t.adcode, i.value = g(s), a.push(t.adcode), a.past.length <= 0 ? v.value = !1 : v.value = !0;
|
|
74
257
|
}
|
|
75
258
|
},
|
|
76
259
|
onMapSuccess: () => {
|
|
77
|
-
C.value = !0,
|
|
260
|
+
C.value = !0, p("on-loaded"), n.parseEvents(r.useEvents, "on-loaded", null);
|
|
78
261
|
},
|
|
79
262
|
onMapAnimationSuccess: () => {
|
|
80
|
-
b(), B.value = !0,
|
|
263
|
+
b(), B.value = !0, p("on-animated"), n.parseEvents(r.useEvents, "on-animated", null);
|
|
81
264
|
},
|
|
82
265
|
onClickBar: (t) => {
|
|
83
|
-
|
|
266
|
+
p("on-bar-click", t), n.parseEvents(r.useEvents, "on-bar-click", t);
|
|
84
267
|
},
|
|
85
268
|
onClickScatter: (t) => {
|
|
86
|
-
|
|
269
|
+
p("on-scatter-click", t), n.parseEvents(r.useEvents, "on-scatter-click", t);
|
|
87
270
|
},
|
|
88
271
|
onClickFlyline: (t) => {
|
|
89
|
-
|
|
272
|
+
p("on-flyline-click", t), n.parseEvents(r.useEvents, "on-flyline-click", t);
|
|
90
273
|
}
|
|
91
274
|
}));
|
|
92
275
|
Q(() => {
|
|
93
276
|
setTimeout(() => {
|
|
94
|
-
|
|
277
|
+
i.value = g(r.basicOption), a.push(r.basicOption.scene.defaultMapAdcode), te(r, i, g, b, J);
|
|
95
278
|
}, 0), window.addEventListener("resize", () => {
|
|
96
|
-
|
|
279
|
+
i.value = g(r.basicOption);
|
|
97
280
|
});
|
|
98
281
|
}), X(() => {
|
|
99
|
-
|
|
282
|
+
i.value && i.value.destroy();
|
|
100
283
|
});
|
|
101
284
|
const F = () => {
|
|
102
|
-
|
|
103
|
-
parentAdcode:
|
|
104
|
-
adcode:
|
|
105
|
-
}),
|
|
106
|
-
parentAdcode:
|
|
107
|
-
adcode:
|
|
108
|
-
}),
|
|
109
|
-
const e =
|
|
110
|
-
e.scene.defaultMapAdcode =
|
|
285
|
+
p("on-return", {
|
|
286
|
+
parentAdcode: a.past[a.past.length - 1],
|
|
287
|
+
adcode: a.present
|
|
288
|
+
}), n.parseEvents(r.useEvents, "on-return", {
|
|
289
|
+
parentAdcode: a.past[a.past.length - 1],
|
|
290
|
+
adcode: a.present
|
|
291
|
+
}), a.undo();
|
|
292
|
+
const e = d(r.basicOption);
|
|
293
|
+
e.scene.defaultMapAdcode = a.present, i.value = g(e), a.past.length <= 0 ? v.value = !1 : v.value = !0;
|
|
111
294
|
}, J = () => {
|
|
112
|
-
|
|
113
|
-
}, U = (e,
|
|
114
|
-
$.timeline().add($.to(
|
|
295
|
+
a.empty(), a.push(r.basicOption.scene.defaultMapAdcode), i.value = g(r.basicOption), a.past.length <= 0 ? v.value = !1 : v.value = !0;
|
|
296
|
+
}, U = (e, o, t) => {
|
|
297
|
+
$.timeline().add($.to(i.value.camera.instance.position, {
|
|
115
298
|
duration: 2,
|
|
116
299
|
delay: 0,
|
|
117
300
|
x: e,
|
|
118
|
-
y:
|
|
301
|
+
y: o,
|
|
119
302
|
z: t,
|
|
120
303
|
ease: "circ.out"
|
|
121
304
|
}));
|
|
@@ -127,66 +310,66 @@ const le = { class: "value" }, ne = ["onClick"], re = {
|
|
|
127
310
|
// 返回上一级
|
|
128
311
|
goBack: () => F(),
|
|
129
312
|
// 更新相机位置
|
|
130
|
-
setCameraPosition: (e,
|
|
313
|
+
setCameraPosition: (e, o, t) => U(e, o, t)
|
|
131
314
|
});
|
|
132
|
-
const _ = x(), W =
|
|
315
|
+
const _ = x(), W = f(), q = (e) => {
|
|
133
316
|
if (W.value && e) {
|
|
134
|
-
H(
|
|
135
|
-
const
|
|
317
|
+
H(r.basicOption.backButtonCss.fontFamily);
|
|
318
|
+
const o = `url(${e.backgroundImage})`;
|
|
136
319
|
return {
|
|
137
320
|
...O(e),
|
|
138
|
-
left:
|
|
139
|
-
bottom:
|
|
140
|
-
"background-image":
|
|
321
|
+
left: r.basicOption.backButtonLeft + "%",
|
|
322
|
+
bottom: r.basicOption.backButtonBottom + "%",
|
|
323
|
+
"background-image": o
|
|
141
324
|
};
|
|
142
325
|
}
|
|
143
326
|
return {};
|
|
144
|
-
},
|
|
327
|
+
}, m = f(d(r.basicOption.widgets)), l = Y(() => {
|
|
145
328
|
try {
|
|
146
|
-
const e =
|
|
329
|
+
const e = m.value.filter((o) => o.type === "regionalLevel");
|
|
147
330
|
return e.length > 0 ? (H(e[0].labelStyle.fontFamily), e[0].isHide ? null : e[0]) : null;
|
|
148
331
|
} catch {
|
|
149
332
|
return null;
|
|
150
333
|
}
|
|
151
334
|
});
|
|
152
|
-
h(() =>
|
|
335
|
+
h(() => d(r.basicOption.widgets), (e, o) => {
|
|
153
336
|
try {
|
|
154
|
-
!k(e,
|
|
337
|
+
!k(e, o) && i.value && (m.value = d(r.basicOption.widgets));
|
|
155
338
|
} catch {
|
|
156
339
|
}
|
|
157
340
|
}, {
|
|
158
341
|
deep: !0
|
|
159
|
-
}), h(() =>
|
|
342
|
+
}), h(() => d(m.value.filter((e) => e.type === "bar")), (e, o) => {
|
|
160
343
|
try {
|
|
161
|
-
!k(e,
|
|
162
|
-
|
|
344
|
+
!k(e, o) && i.value && e.length === o.length && e.forEach((t) => {
|
|
345
|
+
i.value.createBar(t, void 0, !1);
|
|
163
346
|
});
|
|
164
347
|
} catch {
|
|
165
348
|
}
|
|
166
349
|
}, {
|
|
167
350
|
deep: !0
|
|
168
|
-
}), h(() =>
|
|
351
|
+
}), h(() => d(m.value.filter((e) => e.type === "scatter")), (e, o) => {
|
|
169
352
|
try {
|
|
170
|
-
!k(e,
|
|
171
|
-
|
|
353
|
+
!k(e, o) && i.value && e.length === o.length && e.forEach((t) => {
|
|
354
|
+
i.value.createScatter(t, void 0, !1);
|
|
172
355
|
});
|
|
173
356
|
} catch {
|
|
174
357
|
}
|
|
175
358
|
}, {
|
|
176
359
|
deep: !0
|
|
177
|
-
}), h(() =>
|
|
360
|
+
}), h(() => d(m.value.filter((e) => e.type === "flyline")), (e, o) => {
|
|
178
361
|
try {
|
|
179
|
-
!k(e,
|
|
180
|
-
|
|
362
|
+
!k(e, o) && i.value && e.length === o.length && e.forEach((t) => {
|
|
363
|
+
i.value.createFlyLine(t, void 0, !1);
|
|
181
364
|
});
|
|
182
365
|
} catch {
|
|
183
366
|
}
|
|
184
367
|
}, {
|
|
185
368
|
deep: !0
|
|
186
|
-
}), h(() =>
|
|
369
|
+
}), h(() => d(m.value.filter((e) => e.type === "regionalLevel")), (e, o) => {
|
|
187
370
|
try {
|
|
188
|
-
!k(e,
|
|
189
|
-
|
|
371
|
+
!k(e, o) && i.value && e.length === o.length && e.forEach((t) => {
|
|
372
|
+
i.value.createRegionalLevel(t, void 0, !1);
|
|
190
373
|
});
|
|
191
374
|
} catch {
|
|
192
375
|
}
|
|
@@ -200,66 +383,66 @@ const le = { class: "value" }, ne = ["onClick"], re = {
|
|
|
200
383
|
}
|
|
201
384
|
}, K = () => {
|
|
202
385
|
try {
|
|
203
|
-
const e =
|
|
204
|
-
|
|
386
|
+
const e = m.value.every((o) => !o.isHide);
|
|
387
|
+
m.value.forEach((o) => o.isHide = e);
|
|
205
388
|
} catch {
|
|
206
389
|
}
|
|
207
390
|
}, z = (e) => {
|
|
208
|
-
H(
|
|
209
|
-
const
|
|
391
|
+
H(r.basicOption.widgetControlStyle.fontFamily);
|
|
392
|
+
const o = `url(${e.backgroundImage})`, t = `url(${M(e.hover.backgroundImage)})`, s = `url(${M(e.active.backgroundImage)})`;
|
|
210
393
|
return {
|
|
211
394
|
...O(e),
|
|
212
395
|
...O(e.hover, "hover"),
|
|
213
396
|
...O(e.active, "active"),
|
|
214
|
-
"background-image":
|
|
397
|
+
"background-image": o,
|
|
215
398
|
"--hover-background-image": t,
|
|
216
|
-
"--active-background-image":
|
|
399
|
+
"--active-background-image": s
|
|
217
400
|
};
|
|
218
401
|
}, M = (e) => !e.startsWith("http") && !e.startsWith("//") ? "../" + e : e;
|
|
219
|
-
return (e,
|
|
402
|
+
return (e, o) => (u(), c("div", {
|
|
220
403
|
id: "zerov-map3d-scene-wrap",
|
|
221
404
|
class: L(["map-3d-wrap", { show: C.value }])
|
|
222
405
|
}, [
|
|
223
|
-
B.value &&
|
|
406
|
+
B.value && v.value && e.basicOption.backButton ? (u(), c("div", {
|
|
224
407
|
key: 0,
|
|
225
408
|
ref_key: "buttonRef",
|
|
226
409
|
ref: W,
|
|
227
410
|
class: "return-btn",
|
|
228
|
-
style:
|
|
411
|
+
style: y(q(e.basicOption.backButtonCss)),
|
|
229
412
|
onClick: F
|
|
230
413
|
}, " 返回上一级 ", 4)) : E("", !0),
|
|
231
|
-
|
|
414
|
+
l.value ? (u(), c("div", {
|
|
232
415
|
key: 1,
|
|
233
416
|
class: "regional-level",
|
|
234
|
-
style:
|
|
235
|
-
left:
|
|
236
|
-
top:
|
|
237
|
-
flexDirection:
|
|
238
|
-
gap:
|
|
239
|
-
fontSize:
|
|
240
|
-
fontFamily:
|
|
241
|
-
fontStyle:
|
|
242
|
-
color:
|
|
243
|
-
"--color-width":
|
|
244
|
-
"--color-height":
|
|
245
|
-
"--color-borderRadius":
|
|
417
|
+
style: y({
|
|
418
|
+
left: l.value.labelStyle.left + "%",
|
|
419
|
+
top: l.value.labelStyle.top + "%",
|
|
420
|
+
flexDirection: l.value.labelStyle.direction,
|
|
421
|
+
gap: l.value.labelStyle.gap + "px",
|
|
422
|
+
fontSize: l.value.labelStyle.fontSize + "px",
|
|
423
|
+
fontFamily: l.value.labelStyle.fontFamily,
|
|
424
|
+
fontStyle: l.value.labelStyle.fontStyle,
|
|
425
|
+
color: l.value.labelStyle.color,
|
|
426
|
+
"--color-width": l.value.labelStyle.colorStyle.width + "px",
|
|
427
|
+
"--color-height": l.value.labelStyle.colorStyle.height + "px",
|
|
428
|
+
"--color-borderRadius": l.value.labelStyle.colorStyle.borderRadius + "px"
|
|
246
429
|
})
|
|
247
430
|
}, [
|
|
248
|
-
(
|
|
249
|
-
key:
|
|
431
|
+
(u(!0), c(R, null, T(l.value.rules, (t, s) => (u(), c("div", {
|
|
432
|
+
key: s,
|
|
250
433
|
class: "item"
|
|
251
434
|
}, [
|
|
252
435
|
I("div", {
|
|
253
436
|
class: "color",
|
|
254
|
-
style:
|
|
437
|
+
style: y({ backgroundColor: t.color })
|
|
255
438
|
}, null, 4),
|
|
256
|
-
I("span",
|
|
439
|
+
I("span", ie, w(t.label), 1)
|
|
257
440
|
]))), 128))
|
|
258
441
|
], 4)) : E("", !0),
|
|
259
|
-
e.basicOption.widgets.length > 0 && e.basicOption.widgetControlStyle && e.basicOption.widgetControlStyle.show ? (
|
|
442
|
+
e.basicOption.widgets.length > 0 && e.basicOption.widgetControlStyle && e.basicOption.widgetControlStyle.show ? (u(), c("div", {
|
|
260
443
|
key: 2,
|
|
261
444
|
class: "widget-control",
|
|
262
|
-
style:
|
|
445
|
+
style: y({
|
|
263
446
|
left: e.basicOption.widgetControlStyle.left + "%",
|
|
264
447
|
top: e.basicOption.widgetControlStyle.top + "%",
|
|
265
448
|
flexDirection: e.basicOption.widgetControlStyle.direction,
|
|
@@ -270,24 +453,24 @@ const le = { class: "value" }, ne = ["onClick"], re = {
|
|
|
270
453
|
}, [
|
|
271
454
|
I("div", {
|
|
272
455
|
class: L(["control-button", {
|
|
273
|
-
active:
|
|
456
|
+
active: m.value.every((t) => !t.isHide)
|
|
274
457
|
}]),
|
|
275
|
-
style:
|
|
458
|
+
style: y(z(e.basicOption.widgetControlStyle)),
|
|
276
459
|
onClick: K
|
|
277
|
-
}, w(
|
|
278
|
-
(
|
|
460
|
+
}, w(m.value.every((t) => !t.isHide) ? "隐藏" : "显示") + "/全部 ", 7),
|
|
461
|
+
(u(!0), c(R, null, T(m.value, (t) => (u(), c("div", {
|
|
279
462
|
key: t.id,
|
|
280
463
|
class: L(["control-button", {
|
|
281
464
|
active: !t.isHide
|
|
282
465
|
}]),
|
|
283
|
-
style:
|
|
284
|
-
onClick: (
|
|
285
|
-
}, w(t.name || "-"), 15,
|
|
466
|
+
style: y(z(e.basicOption.widgetControlStyle)),
|
|
467
|
+
onClick: (s) => G(t)
|
|
468
|
+
}, w(t.name || "-"), 15, ae))), 128))
|
|
286
469
|
], 4)) : E("", !0),
|
|
287
|
-
e.basicOption.debugger ? (
|
|
470
|
+
e.basicOption.debugger ? (u(), c("div", le, " fps:" + w(Z(_)), 1)) : E("", !0)
|
|
288
471
|
], 2));
|
|
289
472
|
}
|
|
290
473
|
});
|
|
291
474
|
export {
|
|
292
|
-
|
|
475
|
+
Gr as default
|
|
293
476
|
};
|
|
@@ -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
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0d90d2cb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|