@shjjs/visual-ui 1.0.17 → 1.0.19
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/useChart.mjs +59 -58
- package/es/commons/{core → plugins}/datasource/index.mjs +5 -5
- package/es/commons/plugins/datasource/utils/axios.d.ts +70 -0
- package/es/commons/plugins/datasource/utils/axios.mjs +134 -0
- package/es/commons/{core → plugins}/datasource/utils/request.d.ts +1 -1
- package/es/commons/plugins/datasource/utils/request.mjs +5 -0
- package/es/commons/plugins/datasource/utils/utils.d.ts +84 -0
- package/es/commons/plugins/datasource/utils/utils.mjs +156 -0
- package/es/commons/plugins/event/actions/fullScreenAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/fullScreenAction.mjs +8 -0
- package/es/commons/plugins/event/actions/invokeAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/invokeAction.mjs +10 -0
- package/es/commons/plugins/event/actions/linkAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/linkAction.mjs +7 -0
- package/es/commons/plugins/event/actions/moveAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/moveAction.mjs +15 -0
- package/es/commons/plugins/event/actions/pageAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/pageAction.mjs +14 -0
- package/es/commons/plugins/event/actions/rotateAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/rotateAction.mjs +19 -0
- package/es/commons/plugins/event/actions/scaleAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/scaleAction.mjs +24 -0
- package/es/commons/plugins/event/actions/sendApiAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/sendApiAction.mjs +16 -0
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
- package/es/commons/plugins/event/actions/updatePageAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/updatePageAction.mjs +6 -0
- package/es/commons/plugins/event/actions/updateVariableAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/updateVariableAction.mjs +23 -0
- package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/updateWidgetAction.mjs +13 -0
- package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
- package/es/commons/plugins/event/index.d.ts +202 -0
- package/es/commons/plugins/event/index.mjs +150 -0
- package/es/commons/plugins/event/utils/utils.d.ts +22 -0
- package/es/commons/plugins/event/utils/utils.mjs +52 -0
- package/es/commons/utils/getNextElement.d.ts +7 -0
- package/es/commons/utils/getNextElement.mjs +12 -0
- package/es/components/chart-bar-animation/index.vue.mjs +24 -23
- package/es/components/chart-bar-basic/index.vue.mjs +24 -23
- package/es/components/chart-bar-contrast/index.vue.mjs +32 -31
- package/es/components/chart-bar-contrast2/index.vue.mjs +23 -22
- package/es/components/chart-bar-contrast3/index.vue.mjs +25 -24
- package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +24 -23
- package/es/components/chart-bar-horizontal/index.vue.mjs +25 -24
- package/es/components/chart-bar-horizontal-stack/index.vue.mjs +25 -24
- package/es/components/chart-bar-line-bar/index.vue.mjs +23 -22
- package/es/components/chart-bar-line-bar2/index.vue.mjs +23 -22
- package/es/components/chart-bar-loop/index.vue.mjs +25 -24
- package/es/components/chart-bar-mini/index.vue.mjs +25 -24
- package/es/components/chart-bar-polar/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar-stack/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar2/index.vue.mjs +23 -22
- package/es/components/chart-bar-radius-circle/index.vue.mjs +23 -22
- package/es/components/chart-bar-rank/index.vue.mjs +25 -24
- package/es/components/chart-bar-segmented-progress/index.vue.mjs +27 -26
- package/es/components/chart-bar-spire/index.vue.mjs +30 -29
- package/es/components/chart-bar-stack/index.vue.mjs +24 -23
- package/es/components/chart-bar-stack-line/index.vue.mjs +23 -22
- package/es/components/chart-bar-stack2/index.vue.mjs +23 -22
- package/es/components/chart-bar-stack3/index.vue.mjs +23 -22
- package/es/components/chart-bar-staggered/index.vue.mjs +23 -22
- package/es/components/chart-bar-three/index.vue.mjs +21 -20
- package/es/components/chart-bar-waterfall/index.vue.mjs +30 -29
- package/es/components/chart-bar-zebra/index.vue.mjs +23 -22
- package/es/components/chart-line-area-gradient/index.vue.mjs +24 -23
- package/es/components/chart-line-area-highlight/index.vue.mjs +23 -22
- package/es/components/chart-line-area-highlight2/index.vue.mjs +23 -22
- package/es/components/chart-line-basic/index.vue.mjs +25 -24
- package/es/components/chart-line-bump/index.vue.mjs +30 -29
- package/es/components/chart-line-dashed/index.vue.mjs +24 -23
- package/es/components/chart-line-ladder/index.vue.mjs +24 -23
- package/es/components/chart-line-logarithm/index.vue.mjs +29 -28
- package/es/components/chart-line-multix/index.vue.mjs +29 -28
- package/es/components/chart-line-polar-double/index.vue.mjs +25 -24
- package/es/components/chart-line-rain-flow/index.vue.mjs +29 -28
- package/es/components/chart-line-scale/index.vue.mjs +24 -23
- package/es/components/chart-line-smooth/index.vue.mjs +24 -23
- package/es/components/chart-line-smooth-area/index.vue.mjs +29 -28
- package/es/components/chart-line-stack/index.vue.mjs +24 -23
- package/es/components/chart-line-stack-area/index.vue.mjs +24 -23
- package/es/components/chart-line-temp/index.vue.mjs +29 -28
- package/es/components/chart-line-vertical/index.vue.mjs +24 -23
- package/es/components/chart-map-basic/index.vue.mjs +29 -28
- package/es/components/chart-map-bmap-basic/index.vue.mjs +25 -24
- package/es/components/chart-map-bmap-heatmap/index.vue.mjs +24 -23
- package/es/components/chart-map-bmap-rich/index.vue.mjs +24 -23
- package/es/components/chart-map-customize/index.vue.mjs +23 -22
- package/es/components/chart-map-lines/index.vue.mjs +24 -23
- package/es/components/chart-map-scatter/index.vue.mjs +24 -23
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +25 -24
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +22 -21
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +22 -21
- package/es/components/chart-other-circular-graph/index.vue.mjs +20 -19
- package/es/components/chart-other-force/index.vue.mjs +22 -21
- package/es/components/chart-other-force2/index.vue.mjs +22 -21
- package/es/components/chart-other-funnel/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel-split/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel2/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge-grade/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge-stage/index.vue.mjs +20 -19
- package/es/components/chart-other-graph-basic/index.vue.mjs +21 -20
- package/es/components/chart-other-graph-basic2/index.vue.mjs +21 -20
- package/es/components/chart-other-graph-calendar/index.vue.mjs +21 -20
- package/es/components/chart-other-grid-percentage/index.vue.mjs +25 -24
- package/es/components/chart-other-heatmap/index.vue.mjs +23 -22
- package/es/components/chart-other-label-gauge/index.vue.mjs +30 -29
- package/es/components/chart-other-liquidfill/index.vue.mjs +22 -21
- package/es/components/chart-other-parallel-basic/index.vue.mjs +21 -20
- package/es/components/chart-other-parallel-mul/index.vue.mjs +30 -29
- package/es/components/chart-other-radar/index.vue.mjs +32 -31
- package/es/components/chart-other-radar-stack/index.vue.mjs +23 -22
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-book/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +22 -21
- package/es/components/chart-other-theme-river/index.vue.mjs +25 -24
- package/es/components/chart-other-tree/index.vue.mjs +20 -19
- package/es/components/chart-other-tree-line/index.vue.mjs +21 -20
- package/es/components/chart-other-treemap/index.vue.mjs +19 -18
- package/es/components/chart-other-treemap-basic/index.vue.mjs +20 -19
- package/es/components/chart-other-word-cloud/index.vue.mjs +18 -17
- package/es/components/chart-pie-3d/index.vue.mjs +25 -24
- package/es/components/chart-pie-basic/index.vue.mjs +23 -22
- package/es/components/chart-pie-basic2/index.vue.mjs +23 -22
- package/es/components/chart-pie-customized/index.vue.mjs +28 -27
- package/es/components/chart-pie-index/index.vue.mjs +22 -21
- package/es/components/chart-pie-interval/index.vue.mjs +22 -21
- package/es/components/chart-pie-legend-scroll/index.vue.mjs +28 -27
- package/es/components/chart-pie-radius/index.vue.mjs +22 -21
- package/es/components/chart-pie-rose/index.vue.mjs +27 -26
- package/es/components/chart-pie-round/index.vue.mjs +27 -26
- package/es/components/chart-pie-semicircle/index.vue.mjs +23 -22
- package/es/components/chart-pie-sunburst/index.vue.mjs +23 -22
- package/es/components/chart-scatter-basic/index.vue.mjs +24 -23
- package/es/components/chart-scatter-basic2/index.vue.mjs +24 -23
- package/es/components/chart-scatter-bubble/index.vue.mjs +25 -24
- package/es/components/chart-scatter-ripples/index.vue.mjs +21 -20
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +22 -21
- package/es/components/commons-gaussian-splatting-view/index.vue.mjs +2 -2
- package/es/components/commons-gaussian-splatting-view/index.vue2.mjs +45 -46
- package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +39 -38
- package/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +49 -49
- package/es/components/commons-three-loader/index.vue.mjs +1 -1
- package/es/components/commons-three-loader/index.vue2.mjs +73 -73
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +67 -67
- package/es/components/commons-weather/index.vue.mjs +2 -2
- package/es/components/commons-weather/index.vue2.mjs +45 -44
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +16 -14
- package/es/components/interaction-input/index.vue.mjs +1 -1
- package/es/components/interaction-input/index.vue2.mjs +56 -55
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +83 -82
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +45 -44
- package/es/components/interaction-switch/index.vue.mjs +2 -2
- package/es/components/interaction-switch/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs/index.vue.mjs +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +31 -30
- package/es/components/map-earth-basic/index.vue.d.ts +4 -4
- package/es/components/map-earth-basic/index.vue.mjs +30 -29
- package/es/components/map-earth-cool-tech/index.vue.d.ts +0 -2
- package/es/components/map-earth-cool-tech/index.vue.mjs +30 -29
- package/es/components/map-earth-fly-line/index.vue.d.ts +4 -2
- package/es/components/map-earth-fly-line/index.vue.mjs +34 -33
- package/es/components/map-earth-hacker/index.vue.d.ts +4 -2
- package/es/components/map-earth-hacker/index.vue.mjs +29 -28
- package/es/components/map-earth-particle/index.vue.d.ts +4 -2
- package/es/components/map-earth-particle/index.vue.mjs +30 -29
- package/es/components/media-audio/index.vue.mjs +1 -1
- package/es/components/media-audio/index.vue2.mjs +49 -48
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +58 -57
- package/es/components/media-flv/index.vue.mjs +40 -39
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +14 -13
- package/es/components/media-image-dynamic/index.vue.mjs +2 -2
- package/es/components/media-image-dynamic/index.vue2.mjs +23 -22
- package/es/components/media-m3u8/index.vue.mjs +39 -38
- package/es/components/media-m3u8-dynamic/index.vue.mjs +54 -53
- package/es/components/media-video/index.vue.mjs +1 -1
- package/es/components/media-video/index.vue2.mjs +38 -37
- package/es/components/media-video-dynamic/index.vue.mjs +1 -1
- package/es/components/media-video-dynamic/index.vue2.mjs +49 -48
- package/es/components/scene-amap2d/index.vue.mjs +1 -1
- package/es/components/scene-amap2d/index.vue2.mjs +107 -104
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +95 -92
- package/es/components/scene-default/index.d.ts +39 -0
- package/es/components/scene-default/index.mjs +7 -0
- package/es/components/scene-default/index.vue.d.ts +40 -0
- package/es/components/scene-default/index.vue.mjs +7 -0
- package/es/components/scene-default/index.vue2.mjs +35 -0
- package/es/components/scene-map3d/index.d.ts +1 -1
- package/es/components/scene-map3d/index.vue.d.ts +1 -1
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +129 -126
- package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
- package/es/components/scene-ue-iframe/index.vue2.mjs +19 -18
- package/es/components/scene-ue-shj/index.vue.mjs +1 -1
- package/es/components/scene-ue-shj/index.vue2.mjs +14 -13
- package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
- package/es/components/scene-unity-iframe/index.vue2.mjs +19 -16
- package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
- package/es/components/scene-unity-webgl/index.vue2.mjs +16 -13
- package/es/components/scene-vr/index.vue.mjs +1 -1
- package/es/components/scene-vr/index.vue2.mjs +162 -159
- package/es/components/text-count-down/index.vue.mjs +1 -1
- package/es/components/text-count-down/index.vue2.mjs +34 -33
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +49 -48
- package/es/components/text-real-time/index.vue.mjs +2 -2
- package/es/components/text-real-time/index.vue2.mjs +26 -25
- package/es/components/text-row-scroll/index.vue.mjs +1 -1
- package/es/components/text-row-scroll/index.vue2.mjs +83 -82
- package/es/components/text-table-basic/index.vue.mjs +3 -3
- package/es/components/text-table-basic/index.vue2.mjs +97 -96
- package/es/components/text-table-scroll/index.vue.mjs +1 -1
- package/es/components/text-table-scroll/index.vue2.mjs +96 -95
- package/es/components/text-text-dynamic/index.vue.mjs +1 -1
- package/es/components/text-text-dynamic/index.vue2.mjs +29 -28
- package/es/env.d.ts +0 -2
- package/es/index.d.ts +3 -1
- package/es/index.mjs +351 -345
- package/es/widgets.css +1 -1
- package/lib/commons/core/useChart.js +1 -1
- package/lib/commons/{core → plugins}/datasource/index.js +1 -1
- package/lib/commons/plugins/datasource/utils/axios.js +1 -0
- package/lib/commons/plugins/datasource/utils/request.js +1 -0
- package/lib/commons/plugins/datasource/utils/utils.js +1 -0
- package/lib/commons/plugins/event/actions/fullScreenAction.js +1 -0
- package/lib/commons/plugins/event/actions/invokeAction.js +1 -0
- package/lib/commons/plugins/event/actions/linkAction.js +1 -0
- package/lib/commons/plugins/event/actions/moveAction.js +1 -0
- package/lib/commons/plugins/event/actions/pageAction.js +1 -0
- package/lib/commons/plugins/event/actions/rotateAction.js +1 -0
- package/lib/commons/plugins/event/actions/scaleAction.js +1 -0
- package/lib/commons/plugins/event/actions/sendApiAction.js +1 -0
- package/lib/commons/plugins/event/actions/ueCommonsWebscoketAction.js +1 -0
- package/lib/commons/plugins/event/actions/ueShjExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/unityIframeExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/unityWebglExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/updatePageAction.js +1 -0
- package/lib/commons/plugins/event/actions/updateVariableAction.js +1 -0
- package/lib/commons/plugins/event/actions/updateWidgetAction.js +1 -0
- package/lib/commons/plugins/event/actions/vrSceneMethodAction.js +1 -0
- package/lib/commons/plugins/event/index.js +9 -0
- package/lib/commons/plugins/event/utils/utils.js +1 -0
- package/lib/commons/utils/getNextElement.js +1 -0
- package/lib/components/chart-bar-animation/index.vue.js +1 -1
- package/lib/components/chart-bar-basic/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast2/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast3/index.vue.js +1 -1
- package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar2/index.vue.js +1 -1
- package/lib/components/chart-bar-loop/index.vue.js +1 -1
- package/lib/components/chart-bar-mini/index.vue.js +1 -1
- package/lib/components/chart-bar-polar/index.vue.js +1 -1
- package/lib/components/chart-bar-polar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-polar2/index.vue.js +1 -1
- package/lib/components/chart-bar-radius-circle/index.vue.js +1 -1
- package/lib/components/chart-bar-rank/index.vue.js +1 -1
- package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -1
- package/lib/components/chart-bar-spire/index.vue.js +1 -1
- package/lib/components/chart-bar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-stack-line/index.vue.js +1 -1
- package/lib/components/chart-bar-stack2/index.vue.js +1 -1
- package/lib/components/chart-bar-stack3/index.vue.js +1 -1
- package/lib/components/chart-bar-staggered/index.vue.js +1 -1
- package/lib/components/chart-bar-three/index.vue.js +1 -1
- package/lib/components/chart-bar-waterfall/index.vue.js +1 -1
- package/lib/components/chart-bar-zebra/index.vue.js +1 -1
- package/lib/components/chart-line-area-gradient/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight2/index.vue.js +1 -1
- package/lib/components/chart-line-basic/index.vue.js +1 -1
- package/lib/components/chart-line-bump/index.vue.js +1 -1
- package/lib/components/chart-line-dashed/index.vue.js +1 -1
- package/lib/components/chart-line-ladder/index.vue.js +1 -1
- package/lib/components/chart-line-logarithm/index.vue.js +1 -1
- package/lib/components/chart-line-multix/index.vue.js +1 -1
- package/lib/components/chart-line-polar-double/index.vue.js +1 -1
- package/lib/components/chart-line-rain-flow/index.vue.js +1 -1
- package/lib/components/chart-line-scale/index.vue.js +1 -1
- package/lib/components/chart-line-smooth/index.vue.js +1 -1
- package/lib/components/chart-line-smooth-area/index.vue.js +1 -1
- package/lib/components/chart-line-stack/index.vue.js +1 -1
- package/lib/components/chart-line-stack-area/index.vue.js +1 -1
- package/lib/components/chart-line-temp/index.vue.js +1 -1
- package/lib/components/chart-line-vertical/index.vue.js +1 -1
- package/lib/components/chart-map-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-rich/index.vue.js +1 -1
- package/lib/components/chart-map-customize/index.vue.js +1 -1
- package/lib/components/chart-map-lines/index.vue.js +1 -1
- package/lib/components/chart-map-scatter/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-basic/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-demo/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-shanghai/index.vue.js +1 -1
- package/lib/components/chart-other-circular-graph/index.vue.js +1 -1
- package/lib/components/chart-other-force/index.vue.js +1 -1
- package/lib/components/chart-other-force2/index.vue.js +1 -1
- package/lib/components/chart-other-funnel/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-contrast/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-split/index.vue.js +1 -1
- package/lib/components/chart-other-funnel2/index.vue.js +1 -1
- package/lib/components/chart-other-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-grade/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-stage/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-graph-calendar/index.vue.js +1 -1
- package/lib/components/chart-other-grid-percentage/index.vue.js +1 -1
- package/lib/components/chart-other-heatmap/index.vue.js +1 -1
- package/lib/components/chart-other-label-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-liquidfill/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-basic/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-mul/index.vue.js +1 -1
- package/lib/components/chart-other-radar/index.vue.js +1 -1
- package/lib/components/chart-other-radar-stack/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic3/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic4/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-book/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-flavors/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-radius/index.vue.js +1 -1
- package/lib/components/chart-other-theme-river/index.vue.js +1 -1
- package/lib/components/chart-other-tree/index.vue.js +1 -1
- package/lib/components/chart-other-tree-line/index.vue.js +1 -1
- package/lib/components/chart-other-treemap/index.vue.js +1 -1
- package/lib/components/chart-other-treemap-basic/index.vue.js +1 -1
- package/lib/components/chart-other-word-cloud/index.vue.js +1 -1
- package/lib/components/chart-pie-3d/index.vue.js +1 -1
- package/lib/components/chart-pie-basic/index.vue.js +1 -1
- package/lib/components/chart-pie-basic2/index.vue.js +1 -1
- package/lib/components/chart-pie-customized/index.vue.js +1 -1
- package/lib/components/chart-pie-index/index.vue.js +1 -1
- package/lib/components/chart-pie-interval/index.vue.js +1 -1
- package/lib/components/chart-pie-legend-scroll/index.vue.js +1 -1
- package/lib/components/chart-pie-radius/index.vue.js +1 -1
- package/lib/components/chart-pie-rose/index.vue.js +1 -1
- package/lib/components/chart-pie-round/index.vue.js +1 -1
- package/lib/components/chart-pie-semicircle/index.vue.js +1 -1
- package/lib/components/chart-pie-sunburst/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic2/index.vue.js +1 -1
- package/lib/components/chart-scatter-bubble/index.vue.js +1 -1
- package/lib/components/chart-scatter-ripples/index.vue.js +1 -1
- package/lib/components/commons-echarts/compileAndRunEcharts.js +6 -6
- package/lib/components/commons-gaussian-splatting-view/index.vue.js +1 -1
- package/lib/components/commons-gaussian-splatting-view/index.vue2.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue2.js +1 -1
- package/lib/components/commons-product-model/index.vue.js +1 -1
- package/lib/components/commons-product-model/index.vue2.js +1 -1
- package/lib/components/commons-three-loader/index.vue.js +1 -1
- package/lib/components/commons-three-loader/index.vue2.js +1 -1
- package/lib/components/commons-three-loader3/index.vue.js +1 -1
- package/lib/components/commons-three-loader3/index.vue2.js +1 -1
- package/lib/components/commons-weather/index.vue.js +1 -1
- package/lib/components/commons-weather/index.vue2.js +1 -1
- package/lib/components/index.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-select/index.vue.js +1 -1
- package/lib/components/interaction-select/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/interaction-switch/index.vue.js +1 -1
- package/lib/components/interaction-switch/index.vue2.js +1 -1
- package/lib/components/interaction-tabs/index.vue.js +1 -1
- package/lib/components/interaction-tabs/index.vue2.js +1 -1
- package/lib/components/interaction-tabs2/index.vue.js +1 -1
- package/lib/components/interaction-tabs2/index.vue2.js +1 -1
- package/lib/components/map-earth-basic/index.vue.js +1 -1
- package/lib/components/map-earth-cool-tech/index.vue.js +1 -1
- package/lib/components/map-earth-fly-line/index.vue.js +1 -1
- package/lib/components/map-earth-hacker/index.vue.js +1 -1
- package/lib/components/map-earth-particle/index.vue.js +1 -1
- package/lib/components/media-audio/index.vue.js +1 -1
- package/lib/components/media-audio/index.vue2.js +1 -1
- package/lib/components/media-audio-dynamic/index.vue.js +1 -1
- package/lib/components/media-audio-dynamic/index.vue2.js +1 -1
- package/lib/components/media-flv/index.vue.js +1 -1
- package/lib/components/media-iframe/index.vue.js +1 -1
- package/lib/components/media-iframe/index.vue2.js +1 -1
- package/lib/components/media-image-dynamic/index.vue.js +1 -1
- package/lib/components/media-image-dynamic/index.vue2.js +1 -1
- package/lib/components/media-m3u8/index.vue.js +1 -1
- package/lib/components/media-m3u8-dynamic/index.vue.js +1 -1
- package/lib/components/media-video/index.vue.js +1 -1
- package/lib/components/media-video/index.vue2.js +1 -1
- package/lib/components/media-video-dynamic/index.vue.js +1 -1
- package/lib/components/media-video-dynamic/index.vue2.js +1 -1
- package/lib/components/scene-amap2d/index.vue.js +1 -1
- package/lib/components/scene-amap2d/index.vue2.js +1 -1
- package/lib/components/scene-amap3d/index.vue.js +1 -1
- package/lib/components/scene-amap3d/index.vue2.js +4 -4
- package/lib/components/scene-default/index.js +1 -0
- package/lib/components/scene-default/index.vue.js +1 -0
- package/lib/components/scene-default/index.vue2.js +1 -0
- package/lib/components/scene-map3d/index.vue.js +1 -1
- package/lib/components/scene-map3d/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/components/scene-vr/index.vue.js +1 -1
- package/lib/components/scene-vr/index.vue2.js +2 -2
- package/lib/components/text-count-down/index.vue.js +1 -1
- package/lib/components/text-count-down/index.vue2.js +1 -1
- package/lib/components/text-over-number/index.vue.js +1 -1
- package/lib/components/text-over-number/index.vue2.js +1 -1
- package/lib/components/text-real-time/index.vue.js +1 -1
- package/lib/components/text-real-time/index.vue2.js +1 -1
- package/lib/components/text-row-scroll/index.vue.js +1 -1
- package/lib/components/text-row-scroll/index.vue2.js +1 -1
- package/lib/components/text-table-basic/index.vue.js +1 -1
- package/lib/components/text-table-basic/index.vue2.js +1 -1
- package/lib/components/text-table-scroll/index.vue.js +1 -1
- package/lib/components/text-table-scroll/index.vue2.js +1 -1
- package/lib/components/text-text-dynamic/index.vue.js +1 -1
- package/lib/components/text-text-dynamic/index.vue2.js +1 -1
- package/lib/index.js +1 -1
- package/lib/widgets.css +1 -1
- package/package.json +1 -1
- package/es/commons/core/datasource/utils/request.mjs +0 -7
- package/es/commons/core/datasource/utils/utils.d.ts +0 -50
- package/es/commons/core/datasource/utils/utils.mjs +0 -123
- package/es/commons/utils/babylon/ColorConvert.d.ts +0 -3
- package/es/commons/utils/babylon/ColorConvert.mjs +0 -21
- package/lib/commons/core/datasource/utils/request.js +0 -1
- package/lib/commons/core/datasource/utils/utils.js +0 -1
- package/lib/commons/utils/babylon/ColorConvert.js +0 -1
- /package/es/commons/{core → plugins}/datasource/index.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.mjs +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/wsManager.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/wsManager.mjs +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/api.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/static.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/url.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/variable.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/ws.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/wsManager.js +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as M, watch as d, createElementBlock as K, openBlock as Q, normalizeClass as X, unref as Y, shallowRef as E, ref as y, onMounted as $, onUnmounted as ee, createElementVNode as ae, pushScopeId as te, popScopeId as se } from "vue";
|
|
2
2
|
import oe from "@amap/amap-jsapi-loader";
|
|
3
|
-
import
|
|
4
|
-
import { nanoid as
|
|
5
|
-
import { SHJDatasourceV2 as
|
|
6
|
-
|
|
3
|
+
import le from "axios";
|
|
4
|
+
import { nanoid as re } from "nanoid";
|
|
5
|
+
import { SHJDatasourceV2 as ne } from "../../commons/plugins/datasource/index.mjs";
|
|
6
|
+
import { SHJParseEvent as u } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const ce = (m) => (te("data-v-67e74be1"), m = m(), se(), m), ie = /* @__PURE__ */ ce(() => /* @__PURE__ */ ae("div", {
|
|
7
8
|
id: "zerov-amap-2d",
|
|
8
9
|
class: "zerov-amap-container"
|
|
9
|
-
}, null, -1)),
|
|
10
|
-
|
|
11
|
-
],
|
|
12
|
-
...
|
|
10
|
+
}, null, -1)), de = [
|
|
11
|
+
ie
|
|
12
|
+
], ue = M({ name: "zv-scene-amap2d" }), be = /* @__PURE__ */ M({
|
|
13
|
+
...ue,
|
|
13
14
|
props: {
|
|
14
15
|
basicOption: {},
|
|
15
16
|
sources: {},
|
|
@@ -25,10 +26,12 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
25
26
|
"amap2d-scene-dragging",
|
|
26
27
|
"amap2d-scene-dragend"
|
|
27
28
|
],
|
|
28
|
-
setup(m, { expose:
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
setup(m, { expose: A, emit: B }) {
|
|
30
|
+
const s = m, p = B;
|
|
31
|
+
u.parseEvents(s.useEvents, "on-page-loaded", null);
|
|
32
|
+
const W = () => {
|
|
33
|
+
const o = E(), n = E(), w = y(!1), g = y(), f = y(), v = y(), b = y(), O = (a) => {
|
|
34
|
+
x(), window._AMapSecurityConfig = {
|
|
32
35
|
securityJsCode: a.basic.securityJsCode
|
|
33
36
|
}, oe.load({
|
|
34
37
|
key: a.basic.key,
|
|
@@ -40,7 +43,7 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
40
43
|
},
|
|
41
44
|
plugins: ["AMap.ControlBar", "AMap.ToolBar", "AMap.Scale", "AMap.HeatMap", "AMap.GeoJSON"]
|
|
42
45
|
}).then((e) => {
|
|
43
|
-
|
|
46
|
+
b.value = e, o.value = new e.Map("zerov-amap-2d", {
|
|
44
47
|
rotateEnable: a.config.rotateEnable,
|
|
45
48
|
// 是否开启地图旋转交互 鼠标右键 + 鼠标画圈移动 或 键盘Ctrl + 鼠标画圈移动
|
|
46
49
|
pitchEnable: a.config.pitchEnable,
|
|
@@ -59,70 +62,70 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
59
62
|
mapStyle: a.config.mapStyle,
|
|
60
63
|
features: a.config.features
|
|
61
64
|
}), n.value = new window.Loca.Container({
|
|
62
|
-
map:
|
|
63
|
-
}),
|
|
65
|
+
map: o.value
|
|
66
|
+
}), v.value = new b.value.Scale({
|
|
64
67
|
visible: a.config.plugin.scale.visible,
|
|
65
68
|
position: {
|
|
66
69
|
left: a.config.plugin.scale.position.left + "px",
|
|
67
70
|
bottom: a.config.plugin.scale.position.bottom + "px"
|
|
68
71
|
}
|
|
69
|
-
}),
|
|
72
|
+
}), o.value.addControl(v.value), g.value = new e.ControlBar({
|
|
70
73
|
visible: a.config.plugin.controlBar.visible,
|
|
71
74
|
showControlButton: a.config.plugin.controlBar.showControlButton,
|
|
72
75
|
position: {
|
|
73
76
|
right: a.config.plugin.controlBar.position.right + "px",
|
|
74
77
|
top: a.config.plugin.controlBar.position.top + "px"
|
|
75
78
|
}
|
|
76
|
-
}),
|
|
79
|
+
}), o.value.addControl(g.value), f.value = new e.ToolBar({
|
|
77
80
|
visible: a.config.plugin.toolBar.visible,
|
|
78
81
|
position: {
|
|
79
82
|
left: a.config.plugin.toolBar.position.left + "px",
|
|
80
83
|
top: a.config.plugin.toolBar.position.top + "px"
|
|
81
84
|
}
|
|
82
|
-
}),
|
|
85
|
+
}), o.value.addControl(f.value), S(e), o.value.on("complete", () => {
|
|
83
86
|
setTimeout(() => {
|
|
84
|
-
|
|
87
|
+
w.value = !0, p("amap2d-scene-success"), u.parseEvents(s.useEvents, "amap2d-scene-success", null);
|
|
85
88
|
}, 666);
|
|
86
|
-
}),
|
|
87
|
-
|
|
88
|
-
}),
|
|
89
|
-
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
}),
|
|
93
|
-
|
|
94
|
-
}),
|
|
95
|
-
|
|
89
|
+
}), o.value.on("zoomstart", () => {
|
|
90
|
+
p("amap2d-scene-zoomstart"), u.parseEvents(s.useEvents, "amap2d-scene-zoomstart", null);
|
|
91
|
+
}), o.value.on("zoomend", () => {
|
|
92
|
+
p("amap2d-scene-zoomend"), u.parseEvents(s.useEvents, "amap2d-scene-zoomend", null);
|
|
93
|
+
}), o.value.on("click", (t) => {
|
|
94
|
+
p("amap2d-scene-mapclick", t.lnglat), u.parseEvents(s.useEvents, "amap2d-scene-mapclick", t.lnglat);
|
|
95
|
+
}), o.value.on("dragstart", (t) => {
|
|
96
|
+
p("amap2d-scene-dragstart", t.lnglat), u.parseEvents(s.useEvents, "amap2d-scene-dragstart", t.lnglat);
|
|
97
|
+
}), o.value.on("dragend", (t) => {
|
|
98
|
+
p("amap2d-scene-dragend", t.lnglat), u.parseEvents(s.useEvents, "amap2d-scene-dragend", t.lnglat);
|
|
96
99
|
});
|
|
97
100
|
}).catch((e) => {
|
|
98
101
|
});
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
tId:
|
|
102
|
-
sources:
|
|
102
|
+
}, S = (a) => {
|
|
103
|
+
s.sources && s.sources.length > 0 ? ne.parse({
|
|
104
|
+
tId: s.uuid,
|
|
105
|
+
sources: s.sources,
|
|
103
106
|
callback: (e) => {
|
|
104
107
|
try {
|
|
105
|
-
const t =
|
|
106
|
-
t && t.type === "heatmap" &&
|
|
108
|
+
const t = s.basicOption.widgets.find((r) => r._sourceId === e.id);
|
|
109
|
+
t && t.type === "heatmap" && N(a, t, e.data[0].data), t && t.type === "dotlayers" && F(window.Loca, t, z(e.data[0].data)), t && t.type === "scatter" && G(window.Loca, t, z(e.data[0].data)), t && t.type === "labelsLayer" && H(window.Loca, t, z(e.data[0].data));
|
|
107
110
|
} catch {
|
|
108
111
|
}
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
s.basicOption.widgets.filter((t) => t.type === "boundary").forEach((t) => {
|
|
113
|
+
k(a, t);
|
|
111
114
|
});
|
|
112
115
|
}
|
|
113
|
-
}) :
|
|
114
|
-
|
|
116
|
+
}) : s.basicOption.widgets.filter((e) => e.type === "boundary").forEach((e) => {
|
|
117
|
+
k(a, e);
|
|
115
118
|
});
|
|
116
119
|
}, P = (a) => {
|
|
117
120
|
const t = a.slice(a.indexOf("(") + 1, a.lastIndexOf(")")).split(",").map((l) => l.trim()), r = {};
|
|
118
121
|
for (let l = 1; l < t.length; l++) {
|
|
119
|
-
const i = t[l].split(" "), c = i[0],
|
|
120
|
-
r[
|
|
122
|
+
const i = t[l].split(" "), c = i[0], U = parseFloat(i[1]) / 100, q = Math.round(U * 100) / 100;
|
|
123
|
+
r[q] = c;
|
|
121
124
|
}
|
|
122
125
|
return r;
|
|
123
|
-
},
|
|
126
|
+
}, N = (a, e, t) => {
|
|
124
127
|
try {
|
|
125
|
-
const r = new a.HeatMap(
|
|
128
|
+
const r = new a.HeatMap(o.value, {
|
|
126
129
|
radius: e.radius,
|
|
127
130
|
// 给定半径
|
|
128
131
|
opacity: e.opacity,
|
|
@@ -136,9 +139,9 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
136
139
|
}, 0);
|
|
137
140
|
} catch {
|
|
138
141
|
}
|
|
139
|
-
},
|
|
142
|
+
}, k = async (a, e) => {
|
|
140
143
|
try {
|
|
141
|
-
const t = await
|
|
144
|
+
const t = await le.get(e.geojson);
|
|
142
145
|
if (t.status === 200) {
|
|
143
146
|
const r = new a.GeoJSON({
|
|
144
147
|
geoJSON: t.data,
|
|
@@ -186,11 +189,11 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
186
189
|
}), c;
|
|
187
190
|
}
|
|
188
191
|
});
|
|
189
|
-
|
|
192
|
+
o.value.add(r);
|
|
190
193
|
}
|
|
191
194
|
} catch {
|
|
192
195
|
}
|
|
193
|
-
},
|
|
196
|
+
}, F = (a, e, t) => {
|
|
194
197
|
try {
|
|
195
198
|
const r = new a.GeoJSONSource({
|
|
196
199
|
data: t
|
|
@@ -220,7 +223,7 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
220
223
|
});
|
|
221
224
|
} catch {
|
|
222
225
|
}
|
|
223
|
-
},
|
|
226
|
+
}, G = (a, e, t) => {
|
|
224
227
|
try {
|
|
225
228
|
const r = new a.GeoJSONSource({
|
|
226
229
|
data: t
|
|
@@ -241,7 +244,7 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
241
244
|
}), n.value.animate.start();
|
|
242
245
|
} catch {
|
|
243
246
|
}
|
|
244
|
-
},
|
|
247
|
+
}, H = (a, e, t) => {
|
|
245
248
|
try {
|
|
246
249
|
const r = new a.GeoJSONSource({
|
|
247
250
|
data: t
|
|
@@ -285,7 +288,7 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
285
288
|
}), n.value.add(l);
|
|
286
289
|
} catch {
|
|
287
290
|
}
|
|
288
|
-
},
|
|
291
|
+
}, z = (a) => {
|
|
289
292
|
const e = {
|
|
290
293
|
type: "FeatureCollection",
|
|
291
294
|
features: []
|
|
@@ -293,7 +296,7 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
293
296
|
return a.forEach((t, r) => {
|
|
294
297
|
const l = {
|
|
295
298
|
type: "Feature",
|
|
296
|
-
id:
|
|
299
|
+
id: re(),
|
|
297
300
|
properties: {
|
|
298
301
|
name: t.name || "",
|
|
299
302
|
_draw_type: "point"
|
|
@@ -305,70 +308,70 @@ const ne = (m) => (ae("data-v-83f29823"), m = m(), te(), m), ce = /* @__PURE__ *
|
|
|
305
308
|
};
|
|
306
309
|
e.features.push(l);
|
|
307
310
|
}), e;
|
|
308
|
-
},
|
|
309
|
-
|
|
311
|
+
}, T = (a) => {
|
|
312
|
+
o.value.setFeatures(a.config.features), o.value.setStatus({
|
|
310
313
|
dragEnable: a.config.dragEnable,
|
|
311
314
|
zoomEnable: a.config.zoomEnable,
|
|
312
315
|
rotateEnable: a.config.rotateEnable
|
|
313
|
-
}), a.config.plugin.scale.visible ?
|
|
314
|
-
},
|
|
315
|
-
|
|
316
|
-
}, Z = (a) => {
|
|
317
|
-
s.value.setMapStyle(a.config.mapStyle);
|
|
316
|
+
}), a.config.plugin.scale.visible ? v.value.show() : v.value.hide(), a.config.plugin.toolBar.visible ? f.value.show() : f.value.hide(), a.config.plugin.controlBar.visible ? g.value.show() : g.value.hide();
|
|
317
|
+
}, Z = () => {
|
|
318
|
+
o.value.clearMap(), n.value.clear(), S(b.value);
|
|
318
319
|
}, j = (a) => {
|
|
319
|
-
|
|
320
|
+
o.value.setMapStyle(a.config.mapStyle);
|
|
320
321
|
}, R = (a) => {
|
|
321
|
-
|
|
322
|
-
},
|
|
323
|
-
|
|
322
|
+
o.value.setZoom(a.config.zoom, !1, 200);
|
|
323
|
+
}, V = (a) => {
|
|
324
|
+
o.value.setCenter(a.config.center, !1, 200);
|
|
325
|
+
}, x = () => {
|
|
326
|
+
o.value && (o.value.clearMap(), o.value.destroy(), o.value = null, n.value && (n.value.clear(), n.value.destroy(), n.value = null));
|
|
324
327
|
};
|
|
325
|
-
return
|
|
328
|
+
return $(() => {
|
|
326
329
|
setTimeout(() => {
|
|
327
|
-
|
|
330
|
+
O(s.basicOption);
|
|
328
331
|
}, 0);
|
|
329
|
-
}),
|
|
330
|
-
initAMap2d:
|
|
331
|
-
updateAMapStyle:
|
|
332
|
-
updateAMapConfig:
|
|
333
|
-
updateAMapComponents:
|
|
334
|
-
updateAMapZoom:
|
|
335
|
-
updateAMapCenter:
|
|
336
|
-
amap2d:
|
|
337
|
-
loading:
|
|
338
|
-
AMapPrototype:
|
|
332
|
+
}), ee(() => x()), {
|
|
333
|
+
initAMap2d: O,
|
|
334
|
+
updateAMapStyle: j,
|
|
335
|
+
updateAMapConfig: T,
|
|
336
|
+
updateAMapComponents: Z,
|
|
337
|
+
updateAMapZoom: R,
|
|
338
|
+
updateAMapCenter: V,
|
|
339
|
+
amap2d: o,
|
|
340
|
+
loading: w,
|
|
341
|
+
AMapPrototype: b
|
|
339
342
|
};
|
|
340
343
|
}, {
|
|
341
|
-
initAMap2d:
|
|
342
|
-
updateAMapStyle:
|
|
343
|
-
updateAMapConfig:
|
|
344
|
-
updateAMapComponents:
|
|
345
|
-
updateAMapZoom:
|
|
346
|
-
updateAMapCenter:
|
|
344
|
+
initAMap2d: h,
|
|
345
|
+
updateAMapStyle: L,
|
|
346
|
+
updateAMapConfig: C,
|
|
347
|
+
updateAMapComponents: _,
|
|
348
|
+
updateAMapZoom: I,
|
|
349
|
+
updateAMapCenter: D,
|
|
347
350
|
loading: J
|
|
348
|
-
} =
|
|
349
|
-
return d(() =>
|
|
350
|
-
|
|
351
|
-
}, { deep: !0 }), d(() =>
|
|
352
|
-
|
|
353
|
-
}, { deep: !0 }), d(() =>
|
|
354
|
-
|
|
355
|
-
}, { deep: !0 }), d(() =>
|
|
356
|
-
|
|
357
|
-
}, { deep: !0 }), d(() =>
|
|
358
|
-
|
|
359
|
-
}, { deep: !0 }), d(() =>
|
|
360
|
-
|
|
361
|
-
}, { deep: !0 }), d(() =>
|
|
362
|
-
|
|
363
|
-
}, { deep: !0 }),
|
|
364
|
-
refresh: () =>
|
|
365
|
-
refreshView: () =>
|
|
366
|
-
refreshData: () =>
|
|
367
|
-
}), (
|
|
368
|
-
class:
|
|
369
|
-
},
|
|
351
|
+
} = W();
|
|
352
|
+
return d(() => s.basicOption.config, () => {
|
|
353
|
+
C(s.basicOption);
|
|
354
|
+
}, { deep: !0 }), d(() => s.basicOption.config.zoom, () => {
|
|
355
|
+
I(s.basicOption);
|
|
356
|
+
}, { deep: !0 }), d(() => s.basicOption.config.center, () => {
|
|
357
|
+
D(s.basicOption);
|
|
358
|
+
}, { deep: !0 }), d(() => s.basicOption.widgets, () => {
|
|
359
|
+
_();
|
|
360
|
+
}, { deep: !0 }), d(() => s.basicOption.config.mapStyle, () => {
|
|
361
|
+
L(s.basicOption);
|
|
362
|
+
}, { deep: !0 }), d(() => s.basicOption.basic, () => {
|
|
363
|
+
h(s.basicOption);
|
|
364
|
+
}, { deep: !0 }), d(() => s.sources, () => {
|
|
365
|
+
h(s.basicOption);
|
|
366
|
+
}, { deep: !0 }), A({
|
|
367
|
+
refresh: () => h(s.basicOption),
|
|
368
|
+
refreshView: () => C(s.basicOption),
|
|
369
|
+
refreshData: () => C(s.basicOption)
|
|
370
|
+
}), (o, n) => (Q(), K("div", {
|
|
371
|
+
class: X(["amap-2d-wrap", { show: Y(J) }])
|
|
372
|
+
}, de, 2));
|
|
370
373
|
}
|
|
371
374
|
});
|
|
372
375
|
export {
|
|
373
|
-
|
|
376
|
+
be as default
|
|
374
377
|
};
|
|
@@ -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 c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f5bf46c3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|