@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,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as n, debounce as
|
|
3
|
-
import { nanoid as
|
|
4
|
-
import { SHJDatasourceV2 as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
|
+
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
|
+
import { nanoid as T } from "nanoid";
|
|
4
|
+
import { SHJDatasourceV2 as V } from "../../commons/plugins/datasource/index.mjs";
|
|
5
|
+
import { SHJParseEvent as p } from "../../commons/plugins/event/index.mjs";
|
|
6
|
+
import A from "../../commons/core/earth/main.vue.mjs";
|
|
7
|
+
import y from "../../commons/core/earth/border.vue.mjs";
|
|
8
|
+
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-fly-line" }), Y = /* @__PURE__ */ b({
|
|
9
|
+
...F,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
11
12
|
sources: {},
|
|
@@ -13,44 +14,44 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-fly
|
|
|
13
14
|
uuid: {}
|
|
14
15
|
},
|
|
15
16
|
emits: ["on-success"],
|
|
16
|
-
setup(w, { expose:
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
setup(w, { expose: B, emit: S }) {
|
|
18
|
+
const C = S, r = w, _ = T(), s = c(), m = c(!0), e = c(n(r.basicOption)), o = I((t = !1) => {
|
|
19
|
+
m.value = !0, e.value = n(r.basicOption), r.sources && r.sources.length > 0 ? V.parse({
|
|
19
20
|
tId: r.uuid,
|
|
20
21
|
sources: r.sources,
|
|
21
22
|
callback: (a) => {
|
|
22
23
|
try {
|
|
23
|
-
|
|
24
|
+
p.parseEvents(r.useEvents, "dataListener", a.data);
|
|
24
25
|
const u = e.value.lines && e.value.lines.find((i) => i._sourceId === a.id);
|
|
25
26
|
u && (u.data = a.data[0].data);
|
|
26
27
|
const h = e.value.flylines && e.value.flylines.find((i) => i._sourceId === a.id);
|
|
27
28
|
h && (h.data = a.data[0].data);
|
|
28
|
-
const
|
|
29
|
-
|
|
29
|
+
const f = e.value.lightBeams && e.value.lightBeams.find((i) => i._sourceId === a.id);
|
|
30
|
+
f && (f.data = a.data[0].data), !t && s.value.refresh();
|
|
30
31
|
} catch {
|
|
31
|
-
|
|
32
|
+
p.parseEvents(r.useEvents, "dataListener", null);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}) : !t && s.value.refresh();
|
|
35
36
|
}, 200);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}, { deep: !0 }),
|
|
39
|
-
|
|
40
|
-
}, { deep: !0 }),
|
|
37
|
+
E(() => o(!0)), k(() => n(r.basicOption), (t, a) => {
|
|
38
|
+
g(t, a) || o();
|
|
39
|
+
}, { deep: !0 }), k(() => n(r.sources), (t, a) => {
|
|
40
|
+
g(t, a) || o();
|
|
41
|
+
}, { deep: !0 }), B({
|
|
41
42
|
refresh: () => o(),
|
|
42
43
|
refreshView: () => o(),
|
|
43
44
|
refreshData: () => o()
|
|
44
45
|
});
|
|
45
|
-
const
|
|
46
|
-
|
|
46
|
+
const x = () => {
|
|
47
|
+
m.value = !1, C("on-success"), p.parseEvents(r.useEvents, "on-success", null);
|
|
47
48
|
};
|
|
48
|
-
return (t, a) => (l(),
|
|
49
|
-
|
|
50
|
-
id:
|
|
49
|
+
return (t, a) => (l(), L("div", D, [
|
|
50
|
+
O("div", {
|
|
51
|
+
id: z(_),
|
|
51
52
|
class: "widget"
|
|
52
53
|
}, [
|
|
53
|
-
|
|
54
|
+
W(A, {
|
|
54
55
|
ref_key: "earthRef",
|
|
55
56
|
ref: s,
|
|
56
57
|
style: { height: "100%" },
|
|
@@ -106,10 +107,10 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-fly
|
|
|
106
107
|
flylines: e.value.flylines,
|
|
107
108
|
lines: e.value.lines,
|
|
108
109
|
"light-beam": e.value.lightBeams,
|
|
109
|
-
onOnSuccess:
|
|
110
|
+
onOnSuccess: x
|
|
110
111
|
}, {
|
|
111
|
-
default:
|
|
112
|
-
e.value.chinaBorderShow ? (l(), d(
|
|
112
|
+
default: N(() => [
|
|
113
|
+
e.value.chinaBorderShow ? (l(), d(y, {
|
|
113
114
|
key: 0,
|
|
114
115
|
geojson: "china",
|
|
115
116
|
color: e.value.chinaBorderColor,
|
|
@@ -118,7 +119,7 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-fly
|
|
|
118
119
|
wakeline: e.value.chinaBorderWakeline,
|
|
119
120
|
"wakeline-number": e.value.chinaBorderWakelineNumber
|
|
120
121
|
}, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : v("", !0),
|
|
121
|
-
e.value.china2BorderShow ? (l(), d(
|
|
122
|
+
e.value.china2BorderShow ? (l(), d(y, {
|
|
122
123
|
key: 1,
|
|
123
124
|
geojson: "china-border",
|
|
124
125
|
color: e.value.china2BorderColor,
|
|
@@ -127,7 +128,7 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-fly
|
|
|
127
128
|
wakeline: e.value.china2BorderWakeline,
|
|
128
129
|
"wakeline-number": e.value.china2BorderWakelineNumber
|
|
129
130
|
}, null, 8, ["color", "width", "opacity", "wakeline", "wakeline-number"])) : v("", !0),
|
|
130
|
-
e.value.worldBorderShow ? (l(), d(
|
|
131
|
+
e.value.worldBorderShow ? (l(), d(y, {
|
|
131
132
|
key: 2,
|
|
132
133
|
geojson: "world",
|
|
133
134
|
color: e.value.worldBorderColor,
|
|
@@ -139,10 +140,10 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-fly
|
|
|
139
140
|
]),
|
|
140
141
|
_: 1
|
|
141
142
|
}, 8, ["background", "is-background", "fog", "fog-color", "fog-near", "fog-far", "stats", "stats-type", "radius", "subdivision", "animation", "animation-speed", "texture", "color", "opacity", "transparent", "wireframe", "label", "particle", "particle-color", "particle-size", "aperture", "aperture-color", "aperture-opacity", "aperture-transparent", "aperture-depth-write", "cloud-cover", "cloud-cover-color", "cloud-cover-opacity", "cloud-cover-transparent", "cloud-cover-animation", "cloud-cover-animation-speed", "starry-sky", "starry-sky-texture", "starry-sky-number", "starry-sky-size", "starry-sky-color", "starry-sky-opacity", "starry-sky-animation", "starry-sky-animation-speed", "ambient-light-color", "ambient-light-intensity", "directional-light-x", "directional-light-y", "directional-light-z", "directional-light-intensity", "directional-light-color", "is-composer", "composer", "flylines", "lines", "light-beam"])
|
|
142
|
-
], 8,
|
|
143
|
+
], 8, j)
|
|
143
144
|
]));
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
Y as default
|
|
148
149
|
};
|
|
@@ -185,6 +185,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
185
185
|
required: false;
|
|
186
186
|
default: number;
|
|
187
187
|
};
|
|
188
|
+
/** 监听option发生改变则刷新场景 */
|
|
188
189
|
starrySky: {
|
|
189
190
|
type: BooleanConstructor;
|
|
190
191
|
required: false;
|
|
@@ -194,7 +195,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
194
195
|
type: any;
|
|
195
196
|
required: false;
|
|
196
197
|
default: any;
|
|
197
|
-
};
|
|
198
|
+
}; /** 监听数据源 */
|
|
198
199
|
starrySkyNumber: {
|
|
199
200
|
type: NumberConstructor;
|
|
200
201
|
required: false;
|
|
@@ -648,6 +649,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
648
649
|
required: false;
|
|
649
650
|
default: number;
|
|
650
651
|
};
|
|
652
|
+
/** 监听option发生改变则刷新场景 */
|
|
651
653
|
starrySky: {
|
|
652
654
|
type: BooleanConstructor;
|
|
653
655
|
required: false;
|
|
@@ -657,7 +659,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
657
659
|
type: any;
|
|
658
660
|
required: false;
|
|
659
661
|
default: any;
|
|
660
|
-
};
|
|
662
|
+
}; /** 监听数据源 */
|
|
661
663
|
starrySkyNumber: {
|
|
662
664
|
type: NumberConstructor;
|
|
663
665
|
required: false;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as n, debounce as
|
|
3
|
-
import { nanoid as
|
|
4
|
-
import { SHJDatasourceV2 as
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
|
+
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
|
+
import { nanoid as T } from "nanoid";
|
|
4
|
+
import { SHJDatasourceV2 as V } from "../../commons/plugins/datasource/index.mjs";
|
|
5
|
+
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import p from "../../commons/core/earth/border.vue.mjs";
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { SHJParseEvent as y } from "../../commons/plugins/event/index.mjs";
|
|
8
|
+
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-hacker" }), Y = /* @__PURE__ */ b({
|
|
9
|
+
...F,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
11
12
|
sources: {},
|
|
@@ -13,44 +14,44 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-hac
|
|
|
13
14
|
uuid: {}
|
|
14
15
|
},
|
|
15
16
|
emits: ["on-success"],
|
|
16
|
-
setup(w, { expose:
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
setup(w, { expose: B, emit: S }) {
|
|
18
|
+
const C = S, r = w, _ = T(), s = c(), m = c(!0), e = c(n(r.basicOption)), o = I((t = !1) => {
|
|
19
|
+
m.value = !0, e.value = n(r.basicOption), r.sources && r.sources.length > 0 ? V.parse({
|
|
19
20
|
tId: r.uuid,
|
|
20
21
|
sources: r.sources,
|
|
21
22
|
callback: (a) => {
|
|
22
23
|
try {
|
|
23
|
-
|
|
24
|
+
y.parseEvents(r.useEvents, "dataListener", a.data);
|
|
24
25
|
const u = e.value.lines && e.value.lines.find((i) => i._sourceId === a.id);
|
|
25
26
|
u && (u.data = a.data[0].data);
|
|
26
27
|
const h = e.value.flylines && e.value.flylines.find((i) => i._sourceId === a.id);
|
|
27
28
|
h && (h.data = a.data[0].data);
|
|
28
|
-
const
|
|
29
|
-
|
|
29
|
+
const f = e.value.lightBeams && e.value.lightBeams.find((i) => i._sourceId === a.id);
|
|
30
|
+
f && (f.data = a.data[0].data), !t && s.value.refresh();
|
|
30
31
|
} catch {
|
|
31
|
-
|
|
32
|
+
y.parseEvents(r.useEvents, "dataListener", null);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}) : !t && s.value.refresh();
|
|
35
36
|
}, 200);
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
E(() => o(!0)), k(() => n(r.basicOption), (t, a) => {
|
|
38
|
+
g(t, a) || o();
|
|
38
39
|
}, { deep: !0 }), k(() => n(r.sources), (t, a) => {
|
|
39
|
-
|
|
40
|
-
}, { deep: !0 }),
|
|
40
|
+
g(t, a) || o();
|
|
41
|
+
}, { deep: !0 }), B({
|
|
41
42
|
refresh: () => o(),
|
|
42
43
|
refreshView: () => o(),
|
|
43
44
|
refreshData: () => o()
|
|
44
45
|
});
|
|
45
|
-
const
|
|
46
|
-
|
|
46
|
+
const x = () => {
|
|
47
|
+
m.value = !1, C("on-success"), y.parseEvents(r.useEvents, "on-success", null);
|
|
47
48
|
};
|
|
48
|
-
return (t, a) => (l(),
|
|
49
|
-
|
|
50
|
-
id:
|
|
49
|
+
return (t, a) => (l(), L("div", D, [
|
|
50
|
+
O("div", {
|
|
51
|
+
id: z(_),
|
|
51
52
|
class: "widget"
|
|
52
53
|
}, [
|
|
53
|
-
|
|
54
|
+
W(A, {
|
|
54
55
|
ref_key: "earthRef",
|
|
55
56
|
ref: s,
|
|
56
57
|
style: { height: "100%" },
|
|
@@ -106,9 +107,9 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-hac
|
|
|
106
107
|
flylines: e.value.flylines,
|
|
107
108
|
lines: e.value.lines,
|
|
108
109
|
"light-beam": e.value.lightBeams,
|
|
109
|
-
onOnSuccess:
|
|
110
|
+
onOnSuccess: x
|
|
110
111
|
}, {
|
|
111
|
-
default:
|
|
112
|
+
default: N(() => [
|
|
112
113
|
e.value.chinaBorderShow ? (l(), d(p, {
|
|
113
114
|
key: 0,
|
|
114
115
|
geojson: "china",
|
|
@@ -139,10 +140,10 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-hac
|
|
|
139
140
|
]),
|
|
140
141
|
_: 1
|
|
141
142
|
}, 8, ["background", "is-background", "fog", "fog-color", "fog-near", "fog-far", "stats", "stats-type", "radius", "subdivision", "animation", "animation-speed", "texture", "color", "opacity", "transparent", "wireframe", "label", "particle", "particle-color", "particle-size", "aperture", "aperture-color", "aperture-opacity", "aperture-transparent", "aperture-depth-write", "cloud-cover", "cloud-cover-color", "cloud-cover-opacity", "cloud-cover-transparent", "cloud-cover-animation", "cloud-cover-animation-speed", "starry-sky", "starry-sky-texture", "starry-sky-number", "starry-sky-size", "starry-sky-color", "starry-sky-opacity", "starry-sky-animation", "starry-sky-animation-speed", "ambient-light-color", "ambient-light-intensity", "directional-light-x", "directional-light-y", "directional-light-z", "directional-light-intensity", "directional-light-color", "is-composer", "composer", "flylines", "lines", "light-beam"])
|
|
142
|
-
], 8,
|
|
143
|
+
], 8, j)
|
|
143
144
|
]));
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
Y as default
|
|
148
149
|
};
|
|
@@ -185,17 +185,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
185
185
|
required: false;
|
|
186
186
|
default: number;
|
|
187
187
|
};
|
|
188
|
+
/** 监听option发生改变则刷新场景 */
|
|
188
189
|
starrySky: {
|
|
189
190
|
type: BooleanConstructor;
|
|
190
191
|
required: false;
|
|
191
192
|
default: boolean;
|
|
192
193
|
};
|
|
193
|
-
/** 监听数据源 */
|
|
194
194
|
starrySkyTexture: {
|
|
195
195
|
type: any;
|
|
196
196
|
required: false;
|
|
197
197
|
default: any;
|
|
198
198
|
};
|
|
199
|
+
/** 监听数据源 */
|
|
199
200
|
starrySkyNumber: {
|
|
200
201
|
type: NumberConstructor;
|
|
201
202
|
required: false;
|
|
@@ -649,17 +650,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
649
650
|
required: false;
|
|
650
651
|
default: number;
|
|
651
652
|
};
|
|
653
|
+
/** 监听option发生改变则刷新场景 */
|
|
652
654
|
starrySky: {
|
|
653
655
|
type: BooleanConstructor;
|
|
654
656
|
required: false;
|
|
655
657
|
default: boolean;
|
|
656
658
|
};
|
|
657
|
-
/** 监听数据源 */
|
|
658
659
|
starrySkyTexture: {
|
|
659
660
|
type: any;
|
|
660
661
|
required: false;
|
|
661
662
|
default: any;
|
|
662
663
|
};
|
|
664
|
+
/** 监听数据源 */
|
|
663
665
|
starrySkyNumber: {
|
|
664
666
|
type: NumberConstructor;
|
|
665
667
|
required: false;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as n, debounce as
|
|
3
|
-
import { nanoid as
|
|
4
|
-
import { SHJDatasourceV2 as
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as b, ref as c, onMounted as E, watch as k, createElementBlock as L, openBlock as l, createElementVNode as O, unref as z, createVNode as W, withCtx as N, createBlock as d, createCommentVNode as v } from "vue";
|
|
2
|
+
import { cloneDeep as n, debounce as I, isEqual as g } from "lodash";
|
|
3
|
+
import { nanoid as T } from "nanoid";
|
|
4
|
+
import { SHJDatasourceV2 as V } from "../../commons/plugins/datasource/index.mjs";
|
|
5
|
+
import A from "../../commons/core/earth/main.vue.mjs";
|
|
6
6
|
import p from "../../commons/core/earth/border.vue.mjs";
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { SHJParseEvent as y } from "../../commons/plugins/event/index.mjs";
|
|
8
|
+
const D = { class: "zerov-widget" }, j = ["id"], F = b({ name: "zv-map-earth-particle" }), Y = /* @__PURE__ */ b({
|
|
9
|
+
...F,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
11
12
|
sources: {},
|
|
@@ -13,44 +14,44 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-par
|
|
|
13
14
|
uuid: {}
|
|
14
15
|
},
|
|
15
16
|
emits: ["on-success"],
|
|
16
|
-
setup(w, { expose:
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
setup(w, { expose: B, emit: S }) {
|
|
18
|
+
const C = S, r = w, _ = T(), s = c(), m = c(!0), e = c(n(r.basicOption)), o = I((t = !1) => {
|
|
19
|
+
m.value = !0, e.value = n(r.basicOption), r.sources && r.sources.length > 0 ? V.parse({
|
|
19
20
|
tId: r.uuid,
|
|
20
21
|
sources: r.sources,
|
|
21
22
|
callback: (a) => {
|
|
22
23
|
try {
|
|
23
|
-
|
|
24
|
+
y.parseEvents(r.useEvents, "dataListener", a.data);
|
|
24
25
|
const u = e.value.lines && e.value.lines.find((i) => i._sourceId === a.id);
|
|
25
26
|
u && (u.data = a.data[0].data);
|
|
26
27
|
const h = e.value.flylines && e.value.flylines.find((i) => i._sourceId === a.id);
|
|
27
28
|
h && (h.data = a.data[0].data);
|
|
28
|
-
const
|
|
29
|
-
|
|
29
|
+
const f = e.value.lightBeams && e.value.lightBeams.find((i) => i._sourceId === a.id);
|
|
30
|
+
f && (f.data = a.data[0].data), !t && s.value.refresh();
|
|
30
31
|
} catch {
|
|
31
|
-
|
|
32
|
+
y.parseEvents(r.useEvents, "dataListener", null);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}) : !t && s.value.refresh();
|
|
35
36
|
}, 200);
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}, { deep: !0 }),
|
|
39
|
-
|
|
40
|
-
}, { deep: !0 }),
|
|
37
|
+
E(() => o(!0)), k(() => n(r.basicOption), (t, a) => {
|
|
38
|
+
g(t, a) || o();
|
|
39
|
+
}, { deep: !0 }), k(() => n(r.sources), (t, a) => {
|
|
40
|
+
g(t, a) || o();
|
|
41
|
+
}, { deep: !0 }), B({
|
|
41
42
|
refresh: () => o(),
|
|
42
43
|
refreshView: () => o(),
|
|
43
44
|
refreshData: () => o()
|
|
44
45
|
});
|
|
45
|
-
const
|
|
46
|
-
|
|
46
|
+
const x = () => {
|
|
47
|
+
m.value = !1, C("on-success"), y.parseEvents(r.useEvents, "on-success", null);
|
|
47
48
|
};
|
|
48
|
-
return (t, a) => (l(),
|
|
49
|
-
|
|
50
|
-
id:
|
|
49
|
+
return (t, a) => (l(), L("div", D, [
|
|
50
|
+
O("div", {
|
|
51
|
+
id: z(_),
|
|
51
52
|
class: "widget"
|
|
52
53
|
}, [
|
|
53
|
-
|
|
54
|
+
W(A, {
|
|
54
55
|
ref_key: "earthRef",
|
|
55
56
|
ref: s,
|
|
56
57
|
style: { height: "100%" },
|
|
@@ -106,9 +107,9 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-par
|
|
|
106
107
|
flylines: e.value.flylines,
|
|
107
108
|
lines: e.value.lines,
|
|
108
109
|
"light-beam": e.value.lightBeams,
|
|
109
|
-
onOnSuccess:
|
|
110
|
+
onOnSuccess: x
|
|
110
111
|
}, {
|
|
111
|
-
default:
|
|
112
|
+
default: N(() => [
|
|
112
113
|
e.value.chinaBorderShow ? (l(), d(p, {
|
|
113
114
|
key: 0,
|
|
114
115
|
geojson: "china",
|
|
@@ -139,10 +140,10 @@ const A = { class: "zerov-widget" }, D = ["id"], H = g({ name: "zv-map-earth-par
|
|
|
139
140
|
]),
|
|
140
141
|
_: 1
|
|
141
142
|
}, 8, ["background", "is-background", "fog", "fog-color", "fog-near", "fog-far", "stats", "stats-type", "radius", "subdivision", "animation", "animation-speed", "texture", "color", "opacity", "transparent", "wireframe", "label", "particle", "particle-color", "particle-size", "aperture", "aperture-color", "aperture-opacity", "aperture-transparent", "aperture-depth-write", "cloud-cover", "cloud-cover-color", "cloud-cover-opacity", "cloud-cover-transparent", "cloud-cover-animation", "cloud-cover-animation-speed", "starry-sky", "starry-sky-texture", "starry-sky-number", "starry-sky-size", "starry-sky-color", "starry-sky-opacity", "starry-sky-animation", "starry-sky-animation-speed", "ambient-light-color", "ambient-light-intensity", "directional-light-x", "directional-light-y", "directional-light-z", "directional-light-intensity", "directional-light-color", "is-composer", "composer", "flylines", "lines", "light-beam"])
|
|
142
|
-
], 8,
|
|
143
|
+
], 8, j)
|
|
143
144
|
]));
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
export {
|
|
147
|
-
|
|
148
|
+
Y as default
|
|
148
149
|
};
|
|
@@ -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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a535f752"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, ref as i, watch as w, createElementBlock as A, openBlock as O, withDirectives as b, createElementVNode as u, vShow as L, normalizeClass as k, createStaticVNode as F } from "vue";
|
|
2
2
|
import { nanoid as l } from "nanoid";
|
|
3
|
-
import { cloneDeep as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { cloneDeep as x, isEqual as D } from "lodash";
|
|
4
|
+
import { SHJParseEvent as a } from "../../commons/plugins/event/index.mjs";
|
|
5
|
+
const S = ["autoplay", "loop", "muted"], V = ["src"], B = /* @__PURE__ */ F('<svg width="100%" height="100%" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-a535f752><circle cx="37.5" cy="37.5" r="37.5" fill="#3D9CFF" fill-opacity="0.1" data-v-a535f752></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M51.3268 20.4054H33.1254C32.2255 20.4 31.3554 20.728 30.6832 21.3264C30.0109 21.9247 29.5841 22.7508 29.4852 23.6453L27.0161 44.2762C26.1001 43.746 25.053 43.4598 23.9763 43.4598C22.3672 43.4598 20.824 44.099 19.6862 45.2368C18.5484 46.3746 17.9092 47.9178 17.9092 49.5269C17.9092 51.136 18.5484 52.6792 19.6862 53.817C20.824 54.9548 22.3672 55.594 23.9763 55.594C25.5854 55.594 27.1286 54.9548 28.2664 53.817C29.3529 52.7305 29.9848 51.2743 30.0395 49.744L30.0555 49.746L32.361 31.3141H50.5623L48.8975 44.2994C47.9722 43.7543 46.9103 43.4598 45.818 43.4598C44.2089 43.4598 42.6657 44.099 41.5279 45.2368C40.3901 46.3746 39.7509 47.9178 39.7509 49.5269C39.7509 51.136 40.3901 52.6792 41.5279 53.817C42.6657 54.9548 44.2089 55.594 45.818 55.594C47.4271 55.594 48.9703 54.9548 50.1081 53.817C51.1946 52.7305 51.8265 51.2743 51.8812 49.744L51.8971 49.746L54.9792 24.434C55.034 23.9233 54.9801 23.4069 54.8211 22.9185C54.6621 22.4301 54.4015 21.981 54.0566 21.6005C53.7116 21.22 53.29 20.9168 52.8196 20.7108C52.3491 20.5049 51.8403 20.4008 51.3268 20.4054Z" fill="url(#paint0_linear_534:1941)" data-v-a535f752></path><defs data-v-a535f752><linearGradient id="paint0_linear_534:1941" x1="17.9092" y1="37.9996" x2="56.4836" y2="37.9996" gradientUnits="userSpaceOnUse" data-v-a535f752><stop stop-color="#3D9CFF" data-v-a535f752></stop><stop offset="1" stop-color="#43E8F3" data-v-a535f752></stop></linearGradient></defs></svg>', 1), H = [
|
|
6
|
+
B
|
|
7
|
+
], z = p({ name: "zv-media-audio" }), U = /* @__PURE__ */ p({
|
|
8
|
+
...z,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
useEvents: {}
|
|
@@ -19,73 +20,73 @@ const k = ["autoplay", "loop", "muted"], F = ["src"], x = /* @__PURE__ */ O('<sv
|
|
|
19
20
|
"on-audio-error",
|
|
20
21
|
"on-audio-volumechange"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
setup(c, { expose: v, emit: f }) {
|
|
24
|
+
const e = c, d = i(l()), n = i(!1);
|
|
25
|
+
w(() => x(e.basicOption), (s, r) => {
|
|
26
|
+
D(s, r) || (d.value = l());
|
|
26
27
|
}, {
|
|
27
28
|
deep: !0
|
|
28
29
|
});
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
}, m = () => {
|
|
32
|
-
e("on-audio-play"), window.SHJParseEvent(o.useEvents, "on-audio-play"), a.value = !0;
|
|
33
|
-
}, w = () => {
|
|
34
|
-
e("on-audio-pause"), window.SHJParseEvent(o.useEvents, "on-audio-pause"), a.value = !1;
|
|
30
|
+
const t = i(), o = f, m = () => {
|
|
31
|
+
o("on-audio-progress"), a.parseEvents(e.useEvents, "on-audio-progress"), n.value = !0;
|
|
35
32
|
}, E = () => {
|
|
36
|
-
|
|
33
|
+
o("on-audio-play"), a.parseEvents(e.useEvents, "on-audio-play"), n.value = !0;
|
|
37
34
|
}, y = () => {
|
|
38
|
-
|
|
35
|
+
o("on-audio-pause"), a.parseEvents(e.useEvents, "on-audio-pause"), n.value = !1;
|
|
39
36
|
}, C = () => {
|
|
40
|
-
|
|
37
|
+
o("on-audio-ended"), a.parseEvents(e.useEvents, "on-audio-ended"), n.value = !1;
|
|
41
38
|
}, g = () => {
|
|
42
|
-
|
|
39
|
+
o("on-audio-playing"), a.parseEvents(e.useEvents, "on-audio-playing");
|
|
43
40
|
}, h = () => {
|
|
44
|
-
|
|
41
|
+
o("on-audio-timeupdate"), a.parseEvents(e.useEvents, "on-audio-timeupdate");
|
|
42
|
+
}, _ = () => {
|
|
43
|
+
o("on-audio-error"), a.parseEvents(e.useEvents, "on-audio-error"), n.value = !1;
|
|
44
|
+
}, P = () => {
|
|
45
|
+
o("on-audio-volumechange"), a.parseEvents(e.useEvents, "on-audio-volumechange");
|
|
45
46
|
};
|
|
46
|
-
return
|
|
47
|
+
return v({
|
|
47
48
|
/** 开始播放 */
|
|
48
49
|
play: () => {
|
|
49
|
-
|
|
50
|
+
t.value && t.value.play();
|
|
50
51
|
},
|
|
51
52
|
/** 暂停播放 */
|
|
52
53
|
pause: () => {
|
|
53
|
-
|
|
54
|
+
t.value && t.value.pause();
|
|
54
55
|
}
|
|
55
|
-
}), (
|
|
56
|
+
}), (s, r) => (O(), A("div", {
|
|
56
57
|
key: d.value,
|
|
57
58
|
class: "audio"
|
|
58
59
|
}, [
|
|
59
|
-
|
|
60
|
+
b(u("audio", {
|
|
60
61
|
ref_key: "audioRef",
|
|
61
|
-
ref:
|
|
62
|
-
autoplay:
|
|
63
|
-
loop:
|
|
62
|
+
ref: t,
|
|
63
|
+
autoplay: s.basicOption.autoplay,
|
|
64
|
+
loop: s.basicOption.loop,
|
|
64
65
|
controls: !1,
|
|
65
|
-
muted:
|
|
66
|
-
onProgress:
|
|
67
|
-
onPlay:
|
|
68
|
-
onEnded:
|
|
69
|
-
onPlaying:
|
|
70
|
-
onPause:
|
|
71
|
-
onTimeupdate:
|
|
72
|
-
onError:
|
|
73
|
-
onVolumechange:
|
|
66
|
+
muted: s.basicOption.muted,
|
|
67
|
+
onProgress: m,
|
|
68
|
+
onPlay: E,
|
|
69
|
+
onEnded: C,
|
|
70
|
+
onPlaying: g,
|
|
71
|
+
onPause: y,
|
|
72
|
+
onTimeupdate: h,
|
|
73
|
+
onError: _,
|
|
74
|
+
onVolumechange: P
|
|
74
75
|
}, [
|
|
75
|
-
|
|
76
|
-
src:
|
|
77
|
-
}, null, 8,
|
|
78
|
-
], 40,
|
|
79
|
-
[
|
|
76
|
+
u("source", {
|
|
77
|
+
src: s.basicOption.src
|
|
78
|
+
}, null, 8, V)
|
|
79
|
+
], 40, S), [
|
|
80
|
+
[L, !1]
|
|
80
81
|
]),
|
|
81
|
-
|
|
82
|
-
class:
|
|
83
|
-
animation:
|
|
82
|
+
u("div", {
|
|
83
|
+
class: k(["audio-svg", {
|
|
84
|
+
animation: n.value
|
|
84
85
|
}])
|
|
85
|
-
},
|
|
86
|
+
}, H, 2)
|
|
86
87
|
]));
|
|
87
88
|
}
|
|
88
89
|
});
|
|
89
90
|
export {
|
|
90
|
-
|
|
91
|
+
U as default
|
|
91
92
|
};
|
|
@@ -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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6c497752"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|