@shjjs/visual-ui 1.0.18 → 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/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-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 +1 -1
- package/es/components/commons-product-model/index.vue2.mjs +40 -39
- package/es/components/commons-three-loader/index.vue.mjs +2 -2
- package/es/components/commons-three-loader/index.vue2.mjs +6 -5
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +60 -59
- 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/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-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/utils.d.ts +0 -50
- package/es/commons/core/datasource/utils/utils.mjs +0 -123
- package/lib/commons/core/datasource/utils/utils.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/axios.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/axios.mjs +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/request.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/request.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/axios.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/request.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/wsManager.js +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { nanoid as
|
|
5
|
-
import { debounce as
|
|
6
|
-
import { SHJDatasourceV2 as
|
|
7
|
-
|
|
1
|
+
import { defineComponent as A, watch as d, createElementBlock as X, openBlock as Y, normalizeClass as ee, unref as ae, shallowRef as L, ref as p, onMounted as te, onUnmounted as se, createElementVNode as le, pushScopeId as re, popScopeId as ne } from "vue";
|
|
2
|
+
import oe from "@amap/amap-jsapi-loader";
|
|
3
|
+
import ie from "axios";
|
|
4
|
+
import { nanoid as ce } from "nanoid";
|
|
5
|
+
import { debounce as C } from "lodash";
|
|
6
|
+
import { SHJDatasourceV2 as de } from "../../commons/plugins/datasource/index.mjs";
|
|
7
|
+
import { SHJParseEvent as u } from "../../commons/plugins/event/index.mjs";
|
|
8
|
+
const ue = (m) => (re("data-v-f5bf46c3"), m = m(), ne(), m), ye = /* @__PURE__ */ ue(() => /* @__PURE__ */ le("div", {
|
|
8
9
|
id: "zerov-amap-3d",
|
|
9
10
|
class: "zerov-amap-container"
|
|
10
|
-
}, null, -1)),
|
|
11
|
-
|
|
12
|
-
],
|
|
13
|
-
...
|
|
11
|
+
}, null, -1)), ge = [
|
|
12
|
+
ye
|
|
13
|
+
], me = A({ name: "zv-scene-amap3d" }), we = /* @__PURE__ */ A({
|
|
14
|
+
...me,
|
|
14
15
|
props: {
|
|
15
16
|
basicOption: {},
|
|
16
17
|
sources: {},
|
|
@@ -27,12 +28,14 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
27
28
|
"amap3d-scene-dragend",
|
|
28
29
|
"amap3d-scene-pulseLinkLayer"
|
|
29
30
|
],
|
|
30
|
-
setup(
|
|
31
|
-
const s =
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
setup(m, { expose: I, emit: B }) {
|
|
32
|
+
const s = m, y = B;
|
|
33
|
+
u.parseEvents(s.useEvents, "on-page-loaded", null);
|
|
34
|
+
const W = () => {
|
|
35
|
+
const n = L(), c = L(), x = p(!1), v = p(), h = p(), b = p(), k = p(), S = (a) => {
|
|
36
|
+
M(), window._AMapSecurityConfig = {
|
|
34
37
|
securityJsCode: a.basic.securityJsCode
|
|
35
|
-
},
|
|
38
|
+
}, oe.load({
|
|
36
39
|
key: a.basic.key,
|
|
37
40
|
// 申请好的Web端开发者Key,首次调用 load 时必填
|
|
38
41
|
version: "2.0",
|
|
@@ -42,7 +45,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
42
45
|
},
|
|
43
46
|
plugins: ["AMap.ControlBar", "AMap.ToolBar", "AMap.Scale", "AMap.HeatMap", "AMap.GeoJSON"]
|
|
44
47
|
}).then((e) => {
|
|
45
|
-
|
|
48
|
+
k.value = e, n.value = new e.Map("zerov-amap-3d", {
|
|
46
49
|
rotateEnable: a.config.rotateEnable,
|
|
47
50
|
// 是否开启地图旋转交互 鼠标右键 + 鼠标画圈移动 或 键盘Ctrl + 鼠标画圈移动
|
|
48
51
|
pitchEnable: a.config.pitchEnable,
|
|
@@ -69,67 +72,67 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
69
72
|
skyColor: a.config.skyColor
|
|
70
73
|
}), c.value = new window.Loca.Container({
|
|
71
74
|
map: n.value
|
|
72
|
-
}),
|
|
75
|
+
}), b.value = new k.value.Scale({
|
|
73
76
|
visible: a.config.plugin.scale.visible,
|
|
74
77
|
position: {
|
|
75
78
|
left: a.config.plugin.scale.position.left + "px",
|
|
76
79
|
bottom: a.config.plugin.scale.position.bottom + "px"
|
|
77
80
|
}
|
|
78
|
-
}), n.value.addControl(
|
|
81
|
+
}), n.value.addControl(b.value), v.value = new e.ControlBar({
|
|
79
82
|
visible: a.config.plugin.controlBar.visible,
|
|
80
83
|
showControlButton: a.config.plugin.controlBar.showControlButton,
|
|
81
84
|
position: {
|
|
82
85
|
right: a.config.plugin.controlBar.position.right + "px",
|
|
83
86
|
top: a.config.plugin.controlBar.position.top + "px"
|
|
84
87
|
}
|
|
85
|
-
}), n.value.addControl(v.value),
|
|
88
|
+
}), n.value.addControl(v.value), h.value = new e.ToolBar({
|
|
86
89
|
visible: a.config.plugin.toolBar.visible,
|
|
87
90
|
position: {
|
|
88
91
|
left: a.config.plugin.toolBar.position.left + "px",
|
|
89
92
|
top: a.config.plugin.toolBar.position.top + "px"
|
|
90
93
|
}
|
|
91
|
-
}), n.value.addControl(
|
|
94
|
+
}), n.value.addControl(h.value), O(e), n.value.on("complete", () => {
|
|
92
95
|
setTimeout(() => {
|
|
93
|
-
|
|
96
|
+
x.value = !0, y("amap3d-scene-success"), u.parseEvents(s.useEvents, "amap3d-scene-success", null);
|
|
94
97
|
}, 666);
|
|
95
98
|
}), n.value.on("zoomstart", () => {
|
|
96
|
-
|
|
99
|
+
y("amap3d-scene-zoomstart"), u.parseEvents(s.useEvents, "amap3d-scene-zoomstart", null);
|
|
97
100
|
}), n.value.on("zoomend", () => {
|
|
98
|
-
|
|
101
|
+
y("amap3d-scene-zoomend"), u.parseEvents(s.useEvents, "amap3d-scene-zoomend", null);
|
|
99
102
|
}), n.value.on("click", (t) => {
|
|
100
|
-
|
|
103
|
+
y("amap3d-scene-mapclick", t.lnglat), u.parseEvents(s.useEvents, "amap3d-scene-mapclick", t.lnglat);
|
|
101
104
|
}), n.value.on("dragstart", (t) => {
|
|
102
|
-
|
|
105
|
+
y("amap3d-scene-dragstart", t.lnglat), u.parseEvents(s.useEvents, "amap3d-scene-dragstart", t.lnglat);
|
|
103
106
|
}), n.value.on("dragend", (t) => {
|
|
104
|
-
|
|
107
|
+
y("amap3d-scene-dragend", t.lnglat), u.parseEvents(s.useEvents, "amap3d-scene-dragend", t.lnglat);
|
|
105
108
|
});
|
|
106
109
|
}).catch((e) => {
|
|
107
110
|
});
|
|
108
|
-
},
|
|
109
|
-
s.sources && s.sources.length > 0 ?
|
|
111
|
+
}, O = C((a) => {
|
|
112
|
+
s.sources && s.sources.length > 0 ? de.parse({
|
|
110
113
|
tId: s.uuid,
|
|
111
114
|
sources: s.sources,
|
|
112
115
|
callback: (e) => {
|
|
113
116
|
try {
|
|
114
117
|
const t = s.basicOption.widgets.find((l) => l._sourceId === e.id);
|
|
115
|
-
t && t.type === "heatmap" &&
|
|
118
|
+
t && t.type === "heatmap" && N(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "dotlayers" && G(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "scatter" && H(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "labelsLayer" && Z(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "signagePoints" && R(window.Loca, t, g(e.data[0].data, "Point")), t && t.type === "pulseLinkLayer" && T(window.Loca, t, g(e.data[0].data, "LineString"));
|
|
116
119
|
} catch {
|
|
117
120
|
}
|
|
118
121
|
s.basicOption.widgets.filter((t) => t.type === "boundary").forEach((t) => {
|
|
119
|
-
|
|
122
|
+
E(a, t);
|
|
120
123
|
});
|
|
121
124
|
}
|
|
122
125
|
}) : s.basicOption.widgets.filter((e) => e.type === "boundary").forEach((e) => {
|
|
123
|
-
|
|
126
|
+
E(a, e);
|
|
124
127
|
});
|
|
125
|
-
}, 200),
|
|
128
|
+
}, 200), F = (a) => {
|
|
126
129
|
const t = a.slice(a.indexOf("(") + 1, a.lastIndexOf(")")).split(",").map((r) => r.trim()), l = {};
|
|
127
130
|
for (let r = 1; r < t.length; r++) {
|
|
128
|
-
const o = t[r].split(" "), i = o[0],
|
|
129
|
-
l[
|
|
131
|
+
const o = t[r].split(" "), i = o[0], z = parseFloat(o[1]) / 100, Q = Math.round(z * 100) / 100;
|
|
132
|
+
l[Q] = i;
|
|
130
133
|
}
|
|
131
134
|
return l;
|
|
132
|
-
},
|
|
135
|
+
}, N = (a, e, t) => {
|
|
133
136
|
try {
|
|
134
137
|
const l = new a.HeatMapLayer({
|
|
135
138
|
zIndex: 10,
|
|
@@ -144,7 +147,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
144
147
|
unit: e.style.unit,
|
|
145
148
|
height: e.style.height,
|
|
146
149
|
opacity: e.style.opacity,
|
|
147
|
-
gradient:
|
|
150
|
+
gradient: F(e.style.gradient),
|
|
148
151
|
value: function(o, i) {
|
|
149
152
|
return i.coordinates[2] || 0;
|
|
150
153
|
},
|
|
@@ -155,9 +158,9 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
155
158
|
}), c.value.add(l);
|
|
156
159
|
} catch {
|
|
157
160
|
}
|
|
158
|
-
},
|
|
161
|
+
}, E = async (a, e) => {
|
|
159
162
|
try {
|
|
160
|
-
const t = await
|
|
163
|
+
const t = await ie.get(e.geojson);
|
|
161
164
|
if (t.status === 200) {
|
|
162
165
|
const l = new a.GeoJSON({
|
|
163
166
|
geoJSON: t.data,
|
|
@@ -209,7 +212,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
209
212
|
}
|
|
210
213
|
} catch {
|
|
211
214
|
}
|
|
212
|
-
},
|
|
215
|
+
}, G = (a, e, t) => {
|
|
213
216
|
try {
|
|
214
217
|
const l = new a.GeoJSONSource({
|
|
215
218
|
data: t
|
|
@@ -239,7 +242,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
239
242
|
});
|
|
240
243
|
} catch {
|
|
241
244
|
}
|
|
242
|
-
},
|
|
245
|
+
}, H = (a, e, t) => {
|
|
243
246
|
try {
|
|
244
247
|
const l = new a.GeoJSONSource({
|
|
245
248
|
data: t
|
|
@@ -260,7 +263,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
260
263
|
}), c.value.animate.start();
|
|
261
264
|
} catch {
|
|
262
265
|
}
|
|
263
|
-
},
|
|
266
|
+
}, Z = (a, e, t) => {
|
|
264
267
|
try {
|
|
265
268
|
const l = new a.GeoJSONSource({
|
|
266
269
|
data: t
|
|
@@ -304,7 +307,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
304
307
|
}), c.value.add(r);
|
|
305
308
|
} catch {
|
|
306
309
|
}
|
|
307
|
-
},
|
|
310
|
+
}, R = (a, e, t) => {
|
|
308
311
|
try {
|
|
309
312
|
const l = new a.GeoJSONSource({
|
|
310
313
|
data: t
|
|
@@ -316,7 +319,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
316
319
|
depth: !1
|
|
317
320
|
});
|
|
318
321
|
r.setSource(l), r.setStyle({
|
|
319
|
-
content: (i,
|
|
322
|
+
content: (i, z) => `<div style="
|
|
320
323
|
width: ${e.signs.style.width}px;
|
|
321
324
|
height: ${e.signs.style.height + 148}px;
|
|
322
325
|
">
|
|
@@ -332,7 +335,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
332
335
|
color:${e.signs.style.fillColor};
|
|
333
336
|
margin:0;
|
|
334
337
|
">
|
|
335
|
-
${
|
|
338
|
+
${z.properties.name}
|
|
336
339
|
</p>
|
|
337
340
|
</div>`,
|
|
338
341
|
unit: e.signs.style.unit,
|
|
@@ -349,7 +352,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
349
352
|
depth: !1
|
|
350
353
|
});
|
|
351
354
|
o.setSource(l), o.setStyle({
|
|
352
|
-
content: (i,
|
|
355
|
+
content: (i, z) => `<div style="
|
|
353
356
|
width: ${e.landmark.style.size[0]}px;
|
|
354
357
|
height: ${e.landmark.style.size[1]}px;
|
|
355
358
|
background: url(${e.landmark.style.image});
|
|
@@ -373,7 +376,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
373
376
|
}), c.value.add(o), c.value.animate.start();
|
|
374
377
|
} catch {
|
|
375
378
|
}
|
|
376
|
-
},
|
|
379
|
+
}, T = (a, e, t) => {
|
|
377
380
|
const l = new a.PulseLinkLayer({
|
|
378
381
|
zIndex: e.zIndex,
|
|
379
382
|
opacity: e.opacity,
|
|
@@ -403,9 +406,9 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
403
406
|
trailColor: e.style.trailColor
|
|
404
407
|
}), n.value.on("click", (o) => {
|
|
405
408
|
const i = l.queryFeature(o.pixel.toArray());
|
|
406
|
-
i && (
|
|
409
|
+
i && (y("amap3d-scene-pulseLinkLayer", i), u.parseEvents(s.useEvents, "amap3d-scene-pulseLinkLayer", i));
|
|
407
410
|
}), c.value.add(l), c.value.animate.start();
|
|
408
|
-
},
|
|
411
|
+
}, g = (a, e) => {
|
|
409
412
|
const t = {
|
|
410
413
|
type: "FeatureCollection",
|
|
411
414
|
features: []
|
|
@@ -413,7 +416,7 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
413
416
|
return a.forEach((l, r) => {
|
|
414
417
|
const o = {
|
|
415
418
|
type: "Feature",
|
|
416
|
-
id:
|
|
419
|
+
id: ce(),
|
|
417
420
|
properties: {
|
|
418
421
|
type: e === "Point" ? e : 0,
|
|
419
422
|
...l
|
|
@@ -425,75 +428,75 @@ const de = (g) => (le("data-v-9af4ba07"), g = g(), re(), g), ue = /* @__PURE__ *
|
|
|
425
428
|
};
|
|
426
429
|
t.features.push(o);
|
|
427
430
|
}), t;
|
|
428
|
-
},
|
|
431
|
+
}, j = (a) => {
|
|
429
432
|
n.value.setFeatures(a.config.features), n.value.setPitch(a.config.pitch), n.value.setRotation(a.config.rotation), n.value.setStatus({
|
|
430
433
|
dragEnable: a.config.dragEnable,
|
|
431
434
|
zoomEnable: a.config.zoomEnable,
|
|
432
435
|
rotateEnable: a.config.rotateEnable,
|
|
433
436
|
pitchEnable: a.config.pitchEnable
|
|
434
|
-
}), a.config.plugin.scale.visible ?
|
|
435
|
-
},
|
|
436
|
-
n.value.clearMap(), c.value.clear(),
|
|
437
|
-
}, V = (a) => {
|
|
438
|
-
n.value.setMapStyle(a.config.mapStyle);
|
|
437
|
+
}), a.config.plugin.scale.visible ? b.value.show() : b.value.hide(), a.config.plugin.toolBar.visible ? h.value.show() : h.value.hide(), a.config.plugin.controlBar.visible ? v.value.show() : v.value.hide();
|
|
438
|
+
}, V = () => {
|
|
439
|
+
n.value.clearMap(), c.value.clear(), O(k.value);
|
|
439
440
|
}, q = (a) => {
|
|
440
|
-
n.value.
|
|
441
|
+
n.value.setMapStyle(a.config.mapStyle);
|
|
441
442
|
}, U = (a) => {
|
|
443
|
+
n.value.setZoom(a.config.zoom, !1, 200);
|
|
444
|
+
}, K = (a) => {
|
|
442
445
|
n.value.setCenter(a.config.center, !1, 200);
|
|
443
|
-
},
|
|
446
|
+
}, M = () => {
|
|
444
447
|
n.value && (n.value.clearMap(), n.value.destroy(), n.value = null, c.value && (c.value.clear(), c.value.destroy(), c.value = null));
|
|
445
448
|
};
|
|
446
|
-
return
|
|
449
|
+
return te(() => {
|
|
447
450
|
setTimeout(() => {
|
|
448
|
-
|
|
451
|
+
S(s.basicOption);
|
|
449
452
|
}, 0);
|
|
450
|
-
}),
|
|
451
|
-
initAMap3d:
|
|
452
|
-
updateAMapStyle:
|
|
453
|
-
updateAMapConfig:
|
|
454
|
-
updateAMapComponents:
|
|
455
|
-
updateAMapZoom:
|
|
456
|
-
updateAMapCenter:
|
|
453
|
+
}), se(() => M()), {
|
|
454
|
+
initAMap3d: S,
|
|
455
|
+
updateAMapStyle: q,
|
|
456
|
+
updateAMapConfig: j,
|
|
457
|
+
updateAMapComponents: V,
|
|
458
|
+
updateAMapZoom: U,
|
|
459
|
+
updateAMapCenter: K,
|
|
457
460
|
amap3d: n,
|
|
458
|
-
loading:
|
|
459
|
-
AMapPrototype:
|
|
461
|
+
loading: x,
|
|
462
|
+
AMapPrototype: k
|
|
460
463
|
};
|
|
461
464
|
}, {
|
|
462
|
-
initAMap3d:
|
|
463
|
-
updateAMapStyle:
|
|
465
|
+
initAMap3d: f,
|
|
466
|
+
updateAMapStyle: P,
|
|
464
467
|
updateAMapConfig: w,
|
|
465
|
-
updateAMapComponents:
|
|
466
|
-
updateAMapZoom:
|
|
467
|
-
updateAMapCenter:
|
|
468
|
-
loading:
|
|
469
|
-
} =
|
|
468
|
+
updateAMapComponents: $,
|
|
469
|
+
updateAMapZoom: _,
|
|
470
|
+
updateAMapCenter: J,
|
|
471
|
+
loading: D
|
|
472
|
+
} = W();
|
|
470
473
|
return d(() => s.basicOption.config, () => {
|
|
471
474
|
w(s.basicOption);
|
|
472
475
|
}, { deep: !0 }), d(() => s.basicOption.config.zoom, () => {
|
|
473
|
-
|
|
476
|
+
_(s.basicOption);
|
|
474
477
|
}, { deep: !0 }), d(() => s.basicOption.config.center, () => {
|
|
475
|
-
|
|
476
|
-
}, { deep: !0 }), d(() => s.basicOption.config.floors,
|
|
477
|
-
|
|
478
|
-
}, 300), { deep: !0 }), d(() => s.basicOption.config.skyColor,
|
|
479
|
-
|
|
478
|
+
J(s.basicOption);
|
|
479
|
+
}, { deep: !0 }), d(() => s.basicOption.config.floors, C(() => {
|
|
480
|
+
f(s.basicOption);
|
|
481
|
+
}, 300), { deep: !0 }), d(() => s.basicOption.config.skyColor, C(() => {
|
|
482
|
+
f(s.basicOption);
|
|
480
483
|
}, 300), { deep: !0 }), d(() => s.basicOption.widgets, () => {
|
|
481
|
-
|
|
484
|
+
$();
|
|
482
485
|
}, { deep: !0 }), d(() => s.basicOption.config.mapStyle, () => {
|
|
483
|
-
|
|
486
|
+
P(s.basicOption);
|
|
484
487
|
}, { deep: !0 }), d(() => s.basicOption.basic, () => {
|
|
485
|
-
|
|
488
|
+
f(s.basicOption);
|
|
486
489
|
}, { deep: !0 }), d(() => s.sources, () => {
|
|
487
|
-
|
|
488
|
-
}, { deep: !0 }),
|
|
489
|
-
refresh: () =>
|
|
490
|
+
f(s.basicOption);
|
|
491
|
+
}, { deep: !0 }), I({
|
|
492
|
+
refresh: () => f(s.basicOption),
|
|
490
493
|
refreshView: () => w(s.basicOption),
|
|
491
494
|
refreshData: () => w(s.basicOption)
|
|
492
|
-
}), (n, c) => (
|
|
493
|
-
class:
|
|
494
|
-
},
|
|
495
|
+
}), (n, c) => (Y(), X("div", {
|
|
496
|
+
class: ee(["amap-3d-wrap", { show: ae(D) }])
|
|
497
|
+
}, ge, 2));
|
|
495
498
|
}
|
|
496
499
|
});
|
|
497
500
|
export {
|
|
498
|
-
|
|
501
|
+
we as default
|
|
499
502
|
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const ZvSceneDefault: import("../../commons/utils/typescript").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
basicOption: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
sources: {
|
|
7
|
+
type: any;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
useEvents: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
uuid: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
props: any;
|
|
20
|
+
handleSceneStyle: () => import("vue").StyleValue;
|
|
21
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
basicOption: {
|
|
23
|
+
type: any;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
sources: {
|
|
27
|
+
type: any;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
useEvents: {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
uuid: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
}>>, {}, {}>> & Record<string, any>;
|
|
39
|
+
export default ZvSceneDefault;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
basicOption: {
|
|
4
|
+
type: any;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
sources: {
|
|
8
|
+
type: any;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
useEvents: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
uuid: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
props: any;
|
|
21
|
+
handleSceneStyle: () => StyleValue | undefined;
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
basicOption: {
|
|
24
|
+
type: any;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
sources: {
|
|
28
|
+
type: any;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
useEvents: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
uuid: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
}>>, {}, {}>;
|
|
40
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as u, openBlock as l, normalizeStyle as p } from "vue";
|
|
2
|
+
import { SHJParseEvent as d } from "../../commons/plugins/event/index.mjs";
|
|
3
|
+
const i = r({ name: "zv-scene-default" }), k = /* @__PURE__ */ r({
|
|
4
|
+
...i,
|
|
5
|
+
props: {
|
|
6
|
+
basicOption: {},
|
|
7
|
+
sources: {},
|
|
8
|
+
useEvents: {},
|
|
9
|
+
uuid: {}
|
|
10
|
+
},
|
|
11
|
+
setup(a) {
|
|
12
|
+
const t = a;
|
|
13
|
+
d.parseEvents(t.useEvents, "on-page-loaded", null);
|
|
14
|
+
const c = () => {
|
|
15
|
+
try {
|
|
16
|
+
const e = t.basicOption, o = e.background.image, s = e.background.color, n = e.background.size;
|
|
17
|
+
return {
|
|
18
|
+
background: o ? `url('${o}')` : s,
|
|
19
|
+
backgroundSize: n,
|
|
20
|
+
backgroundPosition: n === "auto" ? "0px 0px" : "center",
|
|
21
|
+
backgroundRepeat: n === "auto" ? "repeat" : "no-repeat"
|
|
22
|
+
};
|
|
23
|
+
} catch {
|
|
24
|
+
return {};
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
return (e, o) => (l(), u("div", {
|
|
28
|
+
class: "shj-default",
|
|
29
|
+
style: p(c())
|
|
30
|
+
}, null, 4));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
k as default
|
|
35
|
+
};
|
|
@@ -16,8 +16,8 @@ export declare const ZvSceneMap3d: import("../../commons/utils/typescript").SFCW
|
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
-
emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
|
|
20
19
|
props: any;
|
|
20
|
+
emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
|
|
21
21
|
app: import("vue").Ref<any>;
|
|
22
22
|
loading: import("vue").Ref<boolean>;
|
|
23
23
|
loading2: import("vue").Ref<boolean>;
|
|
@@ -17,8 +17,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
20
|
-
emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
|
|
21
20
|
props: any;
|
|
21
|
+
emit: (event: "on-loaded" | "on-animated" | "on-drill-down" | "on-area-mouseover" | "on-area-mouseout" | "on-area-click" | "on-bar-click" | "on-scatter-click" | "on-flyline-click" | "on-return" | "on-data-change", ...args: any[]) => void;
|
|
22
22
|
app: import("vue").Ref<any>;
|
|
23
23
|
loading: import("vue").Ref<boolean>;
|
|
24
24
|
loading2: import("vue").Ref<boolean>;
|
|
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const
|
|
5
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-acc89c32"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
p as default
|
|
8
8
|
};
|