@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,69 +1,70 @@
|
|
|
1
|
-
import { defineComponent as S, ref as i, watch as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as S, ref as i, watch as D, createElementBlock as c, openBlock as l, normalizeStyle as b, unref as p, Fragment as O, renderList as T, withModifiers as _, normalizeClass as R, toDisplayString as z } from "vue";
|
|
2
|
+
import { cloneDeep as B, isEqual as F, isArray as f } from "lodash";
|
|
3
|
+
import { SHJParseEvent as h } from "../../commons/plugins/event/index.mjs";
|
|
4
|
+
import { autoInstallFont as v, jsonToCssStyle as s } from "../../commons/utils/json2css.mjs";
|
|
5
|
+
const L = ["onClick"], W = S({ name: "zv-interaction-tabs" }), J = /* @__PURE__ */ S({
|
|
6
|
+
...W,
|
|
6
7
|
props: {
|
|
7
8
|
basicOption: {},
|
|
8
9
|
sceneOption: {},
|
|
9
10
|
useEvents: {}
|
|
10
11
|
},
|
|
11
12
|
emits: ["on-click-item", "on-change"],
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
13
|
+
setup(g, { emit: x }) {
|
|
14
|
+
const d = x, o = g, k = () => {
|
|
14
15
|
const t = i(), a = (e) => e && !e.startsWith("http") && !e.startsWith("//") ? "../" + e : e;
|
|
15
16
|
return {
|
|
16
17
|
rendererTabDomStyle: (e) => t.value ? {
|
|
17
|
-
...
|
|
18
|
+
...s(e)
|
|
18
19
|
} : {},
|
|
19
20
|
rendererTabItemDomStyle: (e) => {
|
|
20
21
|
if (t.value) {
|
|
21
|
-
|
|
22
|
-
const
|
|
22
|
+
v(e.fontFamily), v(e.selected.fontFamily);
|
|
23
|
+
const I = e.backgroundImage !== "" ? `url(${e.backgroundImage})` : e.backgroundColor, $ = e.selected.backgroundImage !== "" ? `url(${a(e.selected.backgroundImage)})` : e.selected.backgroundColor;
|
|
23
24
|
return {
|
|
24
|
-
...
|
|
25
|
-
...
|
|
25
|
+
...s(e),
|
|
26
|
+
...s(e.selected, "selected"),
|
|
26
27
|
...e.textShadow && e.textShadow.show ? { "--text-shadow": `${e.textShadow.x}px ${e.textShadow.y}px ${e.textShadow.value}px ${e.textShadow.color}` } : {},
|
|
27
28
|
...e.selected.textShadow && e.selected.textShadow.show ? { "--selected-text-shadow": `${e.selected.textShadow.x}px ${e.selected.textShadow.y}px ${e.selected.textShadow.value}px ${e.selected.textShadow.color}` } : {},
|
|
28
|
-
"--item-background":
|
|
29
|
-
"--selected-background":
|
|
29
|
+
"--item-background": I,
|
|
30
|
+
"--selected-background": $
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
return {};
|
|
33
34
|
},
|
|
34
35
|
tabsRef: t
|
|
35
36
|
};
|
|
36
|
-
},
|
|
37
|
-
|
|
37
|
+
}, n = i(o.basicOption.value), m = (t) => {
|
|
38
|
+
n.value.map((a) => a.selected = !1), t.selected = !0, d("on-click-item", t), o.useEvents && f(o.useEvents) && h.parseEvents(o.useEvents.filter((a) => a.clickname === t.id), "on-click-item"), d("on-change", t), o.useEvents && f(o.useEvents) && h.parseEvents(o.useEvents, "on-change", {
|
|
38
39
|
data: t.label
|
|
39
40
|
});
|
|
40
41
|
}, {
|
|
41
|
-
rendererTabDomStyle:
|
|
42
|
-
rendererTabItemDomStyle:
|
|
43
|
-
tabsRef:
|
|
44
|
-
} =
|
|
45
|
-
return
|
|
46
|
-
|
|
42
|
+
rendererTabDomStyle: y,
|
|
43
|
+
rendererTabItemDomStyle: w,
|
|
44
|
+
tabsRef: E
|
|
45
|
+
} = k();
|
|
46
|
+
return D(() => B(o.basicOption), (t, a) => {
|
|
47
|
+
F(t, a) || (n.value = o.basicOption.value);
|
|
47
48
|
}, { deep: !0 }), (t, a) => (l(), c("div", {
|
|
48
49
|
ref_key: "tabsRef",
|
|
49
|
-
ref:
|
|
50
|
+
ref: E,
|
|
50
51
|
class: "zerov-widget-tabs",
|
|
51
52
|
style: b({
|
|
52
|
-
...p(
|
|
53
|
+
...p(y)(t.basicOption.css.tab)
|
|
53
54
|
})
|
|
54
55
|
}, [
|
|
55
|
-
(l(!0), c(
|
|
56
|
+
(l(!0), c(O, null, T(n.value, (r, u) => (l(), c("div", {
|
|
56
57
|
key: u,
|
|
57
|
-
class:
|
|
58
|
+
class: R(["tab-item", { selected: r.selected }]),
|
|
58
59
|
style: b({
|
|
59
|
-
...p(
|
|
60
|
+
...p(w)(t.basicOption.css.item),
|
|
60
61
|
borderRadius: t.basicOption.css.tab.borderRadius + "px"
|
|
61
62
|
}),
|
|
62
|
-
onClick:
|
|
63
|
-
},
|
|
63
|
+
onClick: _((e) => m(r), ["stop"])
|
|
64
|
+
}, z(r.label), 15, L))), 128))
|
|
64
65
|
], 4));
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
export {
|
|
68
|
-
|
|
69
|
+
J as default
|
|
69
70
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-64e0e0c7"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { defineComponent as m, ref as u, watch as T, createElementBlock as s, openBlock as c, normalizeStyle as p, unref as b, Fragment as I, renderList as O, withModifiers as _, normalizeClass as R, toDisplayString as z } from "vue";
|
|
2
|
+
import { cloneDeep as B, isEqual as F, isArray as f } from "lodash";
|
|
3
|
+
import { SHJParseEvent as h } from "../../commons/plugins/event/index.mjs";
|
|
4
|
+
import { autoInstallFont as v, jsonToCssStyle as l } from "../../commons/utils/json2css.mjs";
|
|
5
|
+
const L = ["onClick"], W = m({ name: "zv-interaction-tabs2" }), J = /* @__PURE__ */ m({
|
|
6
|
+
...W,
|
|
6
7
|
props: {
|
|
7
8
|
basicOption: {},
|
|
8
9
|
useEvents: {},
|
|
9
10
|
sceneOption: {}
|
|
10
11
|
},
|
|
11
12
|
emits: ["on-click-item", "on-change"],
|
|
12
|
-
setup(
|
|
13
|
-
const d =
|
|
13
|
+
setup(S, { emit: x }) {
|
|
14
|
+
const d = x, a = S, y = () => {
|
|
14
15
|
const t = u(), o = (e) => !e.startsWith("http") && !e.startsWith("//") ? "../" + e : e;
|
|
15
16
|
return {
|
|
16
17
|
rendererTabDomStyle: (e) => t.value ? {
|
|
@@ -18,52 +19,52 @@ const F = ["onClick"], H = S({ name: "zv-interaction-tabs2" }), W = /* @__PURE__
|
|
|
18
19
|
} : {},
|
|
19
20
|
rendererTabItemDomStyle: (e) => {
|
|
20
21
|
if (t.value) {
|
|
21
|
-
|
|
22
|
-
const
|
|
22
|
+
v(e.fontFamily), v(e.selected.fontFamily);
|
|
23
|
+
const $ = `url(${e.backgroundImage})`, D = `url(${o(e.selected.backgroundImage)})`;
|
|
23
24
|
return {
|
|
24
25
|
...l(e),
|
|
25
26
|
...l(e.selected, "selected"),
|
|
26
27
|
...e.textShadow && e.textShadow.show ? { "--text-shadow": `${e.textShadow.x}px ${e.textShadow.y}px ${e.textShadow.value}px ${e.textShadow.color}` } : {},
|
|
27
28
|
...e.selected.textShadow && e.selected.textShadow.show ? { "--selected-text-shadow": `${e.selected.textShadow.x}px ${e.selected.textShadow.y}px ${e.selected.textShadow.value}px ${e.selected.textShadow.color}` } : {},
|
|
28
|
-
"--item-background-image":
|
|
29
|
-
"--selected-background-image":
|
|
29
|
+
"--item-background-image": $,
|
|
30
|
+
"--selected-background-image": D
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
return {};
|
|
33
34
|
},
|
|
34
35
|
tabsRef: t
|
|
35
36
|
};
|
|
36
|
-
}, r = u(a.basicOption.value),
|
|
37
|
-
r.value.map((o) => o.selected = !1), t.selected = !0, d("on-click-item", t), a.useEvents &&
|
|
37
|
+
}, r = u(a.basicOption.value), w = (t) => {
|
|
38
|
+
r.value.map((o) => o.selected = !1), t.selected = !0, d("on-click-item", t), a.useEvents && f(a.useEvents) && h.parseEvents(a.useEvents.filter((o) => o.clickname === t.id), "on-click-item"), d("on-change", t), a.useEvents && f(a.useEvents) && h.parseEvents(a.useEvents, "on-change", {
|
|
38
39
|
data: t.label
|
|
39
40
|
});
|
|
40
41
|
}, {
|
|
41
|
-
rendererTabDomStyle:
|
|
42
|
-
rendererTabItemDomStyle:
|
|
43
|
-
tabsRef:
|
|
44
|
-
} =
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
}, { deep: !0 }), (t, o) => (
|
|
42
|
+
rendererTabDomStyle: g,
|
|
43
|
+
rendererTabItemDomStyle: k,
|
|
44
|
+
tabsRef: E
|
|
45
|
+
} = y();
|
|
46
|
+
return T(() => B(a.basicOption), (t, o) => {
|
|
47
|
+
F(t, o) || (r.value = a.basicOption.value);
|
|
48
|
+
}, { deep: !0 }), (t, o) => (c(), s("div", {
|
|
48
49
|
ref_key: "tabsRef",
|
|
49
|
-
ref:
|
|
50
|
+
ref: E,
|
|
50
51
|
class: "zerov-widget-tabs",
|
|
51
|
-
style:
|
|
52
|
-
...
|
|
52
|
+
style: p({
|
|
53
|
+
...b(g)(t.basicOption.css.tab)
|
|
53
54
|
})
|
|
54
55
|
}, [
|
|
55
|
-
(
|
|
56
|
+
(c(!0), s(I, null, O(r.value, (n, i) => (c(), s("div", {
|
|
56
57
|
key: i,
|
|
57
|
-
class:
|
|
58
|
-
style:
|
|
59
|
-
...
|
|
58
|
+
class: R(["tab-item", { selected: n.selected }]),
|
|
59
|
+
style: p({
|
|
60
|
+
...b(k)(t.basicOption.css.item),
|
|
60
61
|
borderRadius: t.basicOption.css.tab.borderRadius + "px"
|
|
61
62
|
}),
|
|
62
|
-
onClick:
|
|
63
|
-
},
|
|
63
|
+
onClick: _((e) => w(n), ["stop"])
|
|
64
|
+
}, z(n.label), 15, L))), 128))
|
|
64
65
|
], 4));
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
export {
|
|
68
|
-
|
|
69
|
+
J as default
|
|
69
70
|
};
|
|
@@ -180,17 +180,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
180
180
|
required: false;
|
|
181
181
|
default: boolean;
|
|
182
182
|
};
|
|
183
|
-
/** 监听option发生改变则刷新场景 */
|
|
184
183
|
cloudCoverAnimationSpeed: {
|
|
185
184
|
type: NumberConstructor;
|
|
186
185
|
required: false;
|
|
187
186
|
default: number;
|
|
188
187
|
};
|
|
188
|
+
/** 监听option发生改变则刷新场景 */
|
|
189
189
|
starrySky: {
|
|
190
190
|
type: BooleanConstructor;
|
|
191
191
|
required: false;
|
|
192
192
|
default: boolean;
|
|
193
|
-
};
|
|
193
|
+
};
|
|
194
194
|
starrySkyTexture: {
|
|
195
195
|
type: any;
|
|
196
196
|
required: false;
|
|
@@ -644,17 +644,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
644
644
|
required: false;
|
|
645
645
|
default: boolean;
|
|
646
646
|
};
|
|
647
|
-
/** 监听option发生改变则刷新场景 */
|
|
648
647
|
cloudCoverAnimationSpeed: {
|
|
649
648
|
type: NumberConstructor;
|
|
650
649
|
required: false;
|
|
651
650
|
default: number;
|
|
652
651
|
};
|
|
652
|
+
/** 监听option发生改变则刷新场景 */
|
|
653
653
|
starrySky: {
|
|
654
654
|
type: BooleanConstructor;
|
|
655
655
|
required: false;
|
|
656
656
|
default: boolean;
|
|
657
|
-
};
|
|
657
|
+
};
|
|
658
658
|
starrySkyTexture: {
|
|
659
659
|
type: any;
|
|
660
660
|
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-basic" }), 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-bas
|
|
|
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-bas
|
|
|
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-bas
|
|
|
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
|
};
|
|
@@ -182,7 +182,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
182
182
|
};
|
|
183
183
|
cloudCoverAnimationSpeed: {
|
|
184
184
|
type: NumberConstructor;
|
|
185
|
-
/** 监听option发生改变则刷新场景 */
|
|
186
185
|
required: false;
|
|
187
186
|
default: number;
|
|
188
187
|
};
|
|
@@ -646,7 +645,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
646
645
|
};
|
|
647
646
|
cloudCoverAnimationSpeed: {
|
|
648
647
|
type: NumberConstructor;
|
|
649
|
-
/** 监听option发生改变则刷新场景 */
|
|
650
648
|
required: false;
|
|
651
649
|
default: number;
|
|
652
650
|
};
|
|
@@ -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-cool-tech" }), 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-coo
|
|
|
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-coo
|
|
|
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-coo
|
|
|
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;
|