@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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const a = (i, s) => {
|
|
2
|
+
var n;
|
|
3
|
+
const { moveAction: t } = i;
|
|
4
|
+
(n = t.layerIds) != null && n.length && t.layerIds.forEach((r) => {
|
|
5
|
+
const e = document.getElementById(r);
|
|
6
|
+
e._transitionTimer && clearTimeout(e._transitionTimer), e.style.transform = `matrix(1, 0, 0, 1, ${t.x}, ${t.y}) `, e.style.transition = `transform ${t.duration}ms ${t.speed} ${t.delay}ms`;
|
|
7
|
+
const o = t.duration + t.delay;
|
|
8
|
+
e._transitionTimer = setTimeout(() => {
|
|
9
|
+
e.style.transition = "";
|
|
10
|
+
}, o);
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
a as executeMoveAction
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DataSourceUtils as o } from "../../datasource/utils/utils.mjs";
|
|
2
|
+
import { EventUtils as l } from "../utils/utils.mjs";
|
|
3
|
+
const u = (n, p) => {
|
|
4
|
+
const { pageAction: t } = n;
|
|
5
|
+
if (!t.target)
|
|
6
|
+
return;
|
|
7
|
+
const i = o.getVariableData(), a = o.replaceStringVariables(t.parameter, i), r = a ? l.urlParamToJson(a) : null, e = new URL(t.target, window.location.origin);
|
|
8
|
+
r && Object.entries(r).forEach(([c, s]) => {
|
|
9
|
+
e.searchParams.append(c, s);
|
|
10
|
+
}), window.location.href = e.toString();
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
u as executePageAction
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const d = (o, m) => {
|
|
2
|
+
var r;
|
|
3
|
+
const { rotateAction: t } = o;
|
|
4
|
+
(r = t.layerIds) != null && r.length && t.layerIds.forEach((i) => {
|
|
5
|
+
const s = document.getElementById(i), e = s.children[0];
|
|
6
|
+
e._transitionTimer && clearTimeout(e._transitionTimer);
|
|
7
|
+
const n = e.style.transform.split(" "), a = n[0] || "", c = n[1] || "";
|
|
8
|
+
if (e.style.transform = `${a} ${c} rotateX(${t.x}deg) rotateY(${t.y}deg) rotateZ(${t.z}deg)`, (t.x > 0 || t.y > 0 || t.z > 0) && (s.style.perspective = t.perspective + "px"), t.speed !== "") {
|
|
9
|
+
e.style.transition = `transform ${t.duration}ms ${t.speed} ${t.delay}ms`;
|
|
10
|
+
const l = t.duration + t.delay;
|
|
11
|
+
e._transitionTimer = setTimeout(() => {
|
|
12
|
+
e.style.transition = "";
|
|
13
|
+
}, l);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
d as executeRotateAction
|
|
19
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const y = (i, c) => {
|
|
2
|
+
var a;
|
|
3
|
+
const { scaleAction: t } = i;
|
|
4
|
+
(a = t.layerIds) != null && a.length && t.layerIds.forEach((l) => {
|
|
5
|
+
const e = document.getElementById(l).children[0], s = e.style.transform.split(" ");
|
|
6
|
+
if (e._transitionTimer && clearTimeout(e._transitionTimer), s.length >= 5) {
|
|
7
|
+
const r = s[2] || "", n = s[3] || "", o = s[4] || "";
|
|
8
|
+
e.style.transform = `scaleX(${t.x / 100}) scaleY(${t.y / 100}) ${r} ${n} ${o}`;
|
|
9
|
+
} else {
|
|
10
|
+
const r = s[0] || "", n = s[1] || "", o = s[2] || "";
|
|
11
|
+
e.style.transform = `scaleX(${t.x / 100}) scaleY(${t.y / 100}) ${r} ${n} ${o}`;
|
|
12
|
+
}
|
|
13
|
+
if (e.style.transformOrigin = t.origin, t.speed !== "") {
|
|
14
|
+
e.style.transition = `transform ${t.duration}ms ${t.speed} ${t.delay}ms`;
|
|
15
|
+
const r = t.duration + t.delay;
|
|
16
|
+
e._transitionTimer = setTimeout(() => {
|
|
17
|
+
e.style.transition = "";
|
|
18
|
+
}, r);
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
y as executeScaleAction
|
|
24
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SHJDatasourceV2 as s } from "../../datasource/index.mjs";
|
|
2
|
+
const o = (a, t) => {
|
|
3
|
+
const { sendAPIAction: e } = a;
|
|
4
|
+
e.useDataSource && s.parse({
|
|
5
|
+
sources: [e.useDataSource],
|
|
6
|
+
callback: () => {
|
|
7
|
+
},
|
|
8
|
+
isStore: !1,
|
|
9
|
+
noUseMapping: !0,
|
|
10
|
+
tId: "",
|
|
11
|
+
isInterval: !1
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
o as executeSendApiAction
|
|
16
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SHJDatasourceV2 as a } from "../../datasource/index.mjs";
|
|
2
|
+
import { EventUtils as o } from "../utils/utils.mjs";
|
|
3
|
+
const f = (r, n) => {
|
|
4
|
+
try {
|
|
5
|
+
const { ueCommonsWebscoketAction: e } = r;
|
|
6
|
+
if (e.dataType === "params") {
|
|
7
|
+
const t = o.toStringify(n);
|
|
8
|
+
e.escape ? window.SHJSceneUEIframeWebscoket.send(JSON.stringify(t)) : window.SHJSceneUEIframeWebscoket.send(t);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (!e.useDataSource)
|
|
12
|
+
return;
|
|
13
|
+
a.parse({
|
|
14
|
+
sources: [e.useDataSource],
|
|
15
|
+
isStore: !1,
|
|
16
|
+
noUseMapping: !0,
|
|
17
|
+
tId: "",
|
|
18
|
+
isInterval: !1,
|
|
19
|
+
callback: (t) => {
|
|
20
|
+
if (t && window.SHJSceneUEIframeWebscoket) {
|
|
21
|
+
const s = o.toStringify(t);
|
|
22
|
+
e.escape ? window.SHJSceneUEIframeWebscoket.send(JSON.stringify(s)) : window.SHJSceneUEIframeWebscoket.send(s);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
} catch {
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
f as executeUeCommonsWebscoketAction
|
|
31
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SHJDatasourceV2 as n } from "../../datasource/index.mjs";
|
|
2
|
+
import { EventUtils as i } from "../utils/utils.mjs";
|
|
3
|
+
const u = (r, a) => {
|
|
4
|
+
try {
|
|
5
|
+
const { ueShjExecMethodAction: e } = r;
|
|
6
|
+
if (e.dataType === "params") {
|
|
7
|
+
const t = i.toStringify(a);
|
|
8
|
+
e.escape ? window.ue5(e.functionName, JSON.stringify(t)) : window.ue5(e.functionName, t);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (!e.useDataSource)
|
|
12
|
+
return;
|
|
13
|
+
n.parse({
|
|
14
|
+
sources: [e.useDataSource],
|
|
15
|
+
isStore: !1,
|
|
16
|
+
noUseMapping: !0,
|
|
17
|
+
tId: "",
|
|
18
|
+
isInterval: !1,
|
|
19
|
+
callback: (t) => {
|
|
20
|
+
if (t) {
|
|
21
|
+
const o = i.toStringify(t);
|
|
22
|
+
e.escape ? window.ue5(e.functionName, JSON.stringify(o)) : window.ue5(e.functionName, o);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
} catch {
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
u as executeUeShjExecMethodAction
|
|
31
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SHJDatasourceV2 as o } from "../../datasource/index.mjs";
|
|
2
|
+
import { EventUtils as r } from "../utils/utils.mjs";
|
|
3
|
+
const s = (t, a) => {
|
|
4
|
+
try {
|
|
5
|
+
const { unityIframeExecMethodAction: e } = t;
|
|
6
|
+
if (e.dataType === "params") {
|
|
7
|
+
const n = r.toStringify(a);
|
|
8
|
+
window.SHJSceneUnityIframeInstance.ref && window.SHJSceneUnityIframeInstance.ref.contentWindow.postMessage({ object: e.objectName, function: e.functionName, data: n }, window.SHJSceneUnityIframeInstance.url);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (!e.useDataSource)
|
|
12
|
+
return;
|
|
13
|
+
o.parse({
|
|
14
|
+
sources: [e.useDataSource],
|
|
15
|
+
isStore: !1,
|
|
16
|
+
noUseMapping: !0,
|
|
17
|
+
tId: "",
|
|
18
|
+
isInterval: !1,
|
|
19
|
+
callback: (n) => {
|
|
20
|
+
window.SHJSceneUnityIframeInstance.ref && window.SHJSceneUnityIframeInstance.ref.contentWindow.postMessage({ object: e.objectName, function: e.functionName, data: n }, window.SHJSceneUnityIframeInstance.url);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
} catch {
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
s as executeUnityIframeExecMethodAction
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SHJDatasourceV2 as o } from "../../datasource/index.mjs";
|
|
2
|
+
import { EventUtils as c } from "../utils/utils.mjs";
|
|
3
|
+
const s = (t, a) => {
|
|
4
|
+
try {
|
|
5
|
+
const { unityWebglExecMethodAction: e } = t;
|
|
6
|
+
if (e.dataType === "params") {
|
|
7
|
+
const n = c.toStringify(a);
|
|
8
|
+
window.SHJSceneUnityIframeInstance.ref && window.SHJSceneUnityIframeInstance.ref.contentWindow.postMessage({ object: e.objectName, function: e.functionName, data: n }, window.SHJSceneUnityIframeInstance.url);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (!e.useDataSource)
|
|
12
|
+
return;
|
|
13
|
+
o.parse({
|
|
14
|
+
sources: [e.useDataSource],
|
|
15
|
+
isStore: !1,
|
|
16
|
+
noUseMapping: !0,
|
|
17
|
+
tId: "",
|
|
18
|
+
isInterval: !1,
|
|
19
|
+
callback: (n) => {
|
|
20
|
+
window.SHJSceneUnityIframeInstance.ref && window.SHJSceneUnityIframeInstance.ref.contentWindow.postMessage({ object: e.objectName, function: e.functionName, data: n }, window.SHJSceneUnityIframeInstance.url);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
} catch {
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
s as executeUnityWebglExecMethodAction
|
|
28
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SHJDatasourceV2 as n } from "../../datasource/index.mjs";
|
|
2
|
+
import { DataSourceUtils as i } from "../../datasource/utils/utils.mjs";
|
|
3
|
+
import { EventUtils as l } from "../utils/utils.mjs";
|
|
4
|
+
const b = (o, s) => {
|
|
5
|
+
const { updateVariableAction: t } = o, r = i.getVariableData(), a = r.find((e) => e.id === t.name || e.name === t.name);
|
|
6
|
+
if (o.updateVariableAction.dataType === "params") {
|
|
7
|
+
a._value = s, i.setVariableData(r), l.updateWidgetVariableData(a);
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
n.parse({
|
|
11
|
+
sources: [t.useDataSource],
|
|
12
|
+
isStore: !1,
|
|
13
|
+
noUseMapping: !0,
|
|
14
|
+
tId: "",
|
|
15
|
+
isInterval: !1,
|
|
16
|
+
callback: (e) => {
|
|
17
|
+
a._value = e, i.setVariableData(r), l.updateWidgetVariableData(a);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
b as executeUpdateVariableAction
|
|
23
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const a = (t, o) => {
|
|
2
|
+
try {
|
|
3
|
+
const { updateWidget: r } = t;
|
|
4
|
+
if (r.targetLayerId) {
|
|
5
|
+
const e = window.SHJComponentRefs.find((n) => n.layerId === r.targetLayerId);
|
|
6
|
+
e && e.ref && e.ref.refresh && e.ref.refresh();
|
|
7
|
+
}
|
|
8
|
+
} catch {
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
a as executeUpdateWidgetAction
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const t = (n, r) => {
|
|
2
|
+
try {
|
|
3
|
+
const { vrSceneMethodAction: e } = n;
|
|
4
|
+
if (!window.SHJSceneVrViewer || (e.type === "vrSceneToggle" && (window.SHJSceneVrViewer.loadScene(e.sceneId), window.SHJSceneVrViewer.stopAutoRotate()), e.type === "vrSceneToggleAngle" && (window.SHJSceneVrViewer.setHfov(e.angle.hfov), window.SHJSceneVrViewer.setYaw(e.angle.yaw), window.SHJSceneVrViewer.setPitch(e.angle.pitch)), e.type === "vrSceneStartRotate" && window.SHJSceneVrViewer.startAutoRotate(), e.type === "vrScenePausedRotate" && window.SHJSceneVrViewer.stopAutoRotate(), !window.SHJSceneVrViewer.audio))
|
|
5
|
+
return;
|
|
6
|
+
e.type === "vrScenePlayMusic" && window.SHJSceneVrViewer.audio.value.play(), e.type === "vrScenePausedMusic" && window.SHJSceneVrViewer.audio.value.pause();
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
t as executeVrSceneMethodAction
|
|
12
|
+
};
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
export interface IEvent {
|
|
2
|
+
id: string;
|
|
3
|
+
type: 'layer' | 'widget';
|
|
4
|
+
/** 事件类型 */
|
|
5
|
+
eventType: string;
|
|
6
|
+
/** 事件行为 */
|
|
7
|
+
actions?: string;
|
|
8
|
+
/** 点击某一项 */
|
|
9
|
+
clickname?: string;
|
|
10
|
+
/** 接收的方法 */
|
|
11
|
+
receivingMethod?: string;
|
|
12
|
+
/** 事件延迟 */
|
|
13
|
+
delay: number;
|
|
14
|
+
/** 页面行为 */
|
|
15
|
+
pageAction: {
|
|
16
|
+
target: string;
|
|
17
|
+
pageId: string;
|
|
18
|
+
parameter: string;
|
|
19
|
+
};
|
|
20
|
+
/** 跳转子页面行为 */
|
|
21
|
+
switchViewAction: {
|
|
22
|
+
viewId: string;
|
|
23
|
+
};
|
|
24
|
+
/** 链接行为 */
|
|
25
|
+
linkAction: {
|
|
26
|
+
target: string;
|
|
27
|
+
url: string;
|
|
28
|
+
};
|
|
29
|
+
/** 发送API数据行为 */
|
|
30
|
+
sendAPIAction: {
|
|
31
|
+
useDataSource: any;
|
|
32
|
+
};
|
|
33
|
+
/** 切换状态行为 */
|
|
34
|
+
stateAction: {
|
|
35
|
+
speed: string;
|
|
36
|
+
duration: number;
|
|
37
|
+
delay: number;
|
|
38
|
+
toggle: boolean;
|
|
39
|
+
stateList: string[];
|
|
40
|
+
};
|
|
41
|
+
/** 移动行为 */
|
|
42
|
+
moveAction: {
|
|
43
|
+
layerIds: string[];
|
|
44
|
+
x: number;
|
|
45
|
+
y: number;
|
|
46
|
+
speed: string;
|
|
47
|
+
duration: number;
|
|
48
|
+
delay: number;
|
|
49
|
+
};
|
|
50
|
+
/** 缩放行为 */
|
|
51
|
+
scaleAction: {
|
|
52
|
+
layerIds: string[];
|
|
53
|
+
origin: string;
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
speed: string;
|
|
57
|
+
duration: number;
|
|
58
|
+
delay: number;
|
|
59
|
+
};
|
|
60
|
+
/** 旋转行为 */
|
|
61
|
+
rotateAction: {
|
|
62
|
+
layerIds: string[];
|
|
63
|
+
x: number;
|
|
64
|
+
y: number;
|
|
65
|
+
z: number;
|
|
66
|
+
perspective: number;
|
|
67
|
+
speed: string;
|
|
68
|
+
duration: number;
|
|
69
|
+
delay: number;
|
|
70
|
+
};
|
|
71
|
+
/** 组件显示隐藏行为 */
|
|
72
|
+
visibledAction: {
|
|
73
|
+
status: string;
|
|
74
|
+
layerIds: string[];
|
|
75
|
+
};
|
|
76
|
+
/** 更新数据变量行为 */
|
|
77
|
+
updateVariableAction: {
|
|
78
|
+
name: string;
|
|
79
|
+
dataType: 'params' | 'custom';
|
|
80
|
+
useDataSource: any;
|
|
81
|
+
};
|
|
82
|
+
/** 全屏切换行为 */
|
|
83
|
+
fullscreenAction: {
|
|
84
|
+
status: string;
|
|
85
|
+
};
|
|
86
|
+
/** 调用方法行为 */
|
|
87
|
+
invokeAction: {
|
|
88
|
+
targetLayerId: string;
|
|
89
|
+
functionName: string;
|
|
90
|
+
functionArgs: any;
|
|
91
|
+
};
|
|
92
|
+
/** 虚幻蓝图方法行为 */
|
|
93
|
+
ueShjExecMethodAction: {
|
|
94
|
+
functionName: string;
|
|
95
|
+
dataType: 'params' | 'custom';
|
|
96
|
+
useDataSource: any;
|
|
97
|
+
escape: boolean;
|
|
98
|
+
};
|
|
99
|
+
/** 虚幻WebSocket行为 */
|
|
100
|
+
ueCommonsWebscoketAction: {
|
|
101
|
+
socketUrl: string;
|
|
102
|
+
dataType: 'params' | 'custom';
|
|
103
|
+
useDataSource: any;
|
|
104
|
+
escape: boolean;
|
|
105
|
+
};
|
|
106
|
+
/** UnityWebGl场景方法行为 */
|
|
107
|
+
unityWebglExecMethodAction: {
|
|
108
|
+
dataType: 'params' | 'custom';
|
|
109
|
+
objectName: string;
|
|
110
|
+
functionName: string;
|
|
111
|
+
useDataSource: any;
|
|
112
|
+
};
|
|
113
|
+
/** UnityIframe场景方法行为 */
|
|
114
|
+
unityIframeExecMethodAction: {
|
|
115
|
+
dataType: 'params' | 'custom';
|
|
116
|
+
objectName: string;
|
|
117
|
+
functionName: string;
|
|
118
|
+
useDataSource: any;
|
|
119
|
+
};
|
|
120
|
+
/** 更新组件行为 */
|
|
121
|
+
updateWidget: {
|
|
122
|
+
targetLayerId: string;
|
|
123
|
+
};
|
|
124
|
+
/** 切换全景场景行为 */
|
|
125
|
+
vrSceneMethodAction: {
|
|
126
|
+
type: string;
|
|
127
|
+
sceneId: string;
|
|
128
|
+
angle: {
|
|
129
|
+
pitch: number;
|
|
130
|
+
yaw: number;
|
|
131
|
+
hfov: number;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
/** 切换全景视角行为 */
|
|
135
|
+
vrSceneToggleAngleAction: {};
|
|
136
|
+
/** 动画 */
|
|
137
|
+
animations: {
|
|
138
|
+
enter: {
|
|
139
|
+
name: string;
|
|
140
|
+
duration: number;
|
|
141
|
+
delay: number;
|
|
142
|
+
count: number;
|
|
143
|
+
};
|
|
144
|
+
exit: {
|
|
145
|
+
name: string;
|
|
146
|
+
duration: number;
|
|
147
|
+
delay: number;
|
|
148
|
+
count: number;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
/** 条件 */
|
|
152
|
+
condition: {
|
|
153
|
+
type: 'and' | 'or';
|
|
154
|
+
list: {
|
|
155
|
+
id: string;
|
|
156
|
+
type: 'field' | 'custom';
|
|
157
|
+
conditionName?: string;
|
|
158
|
+
conditionExpression?: string;
|
|
159
|
+
conditionValue?: string | number;
|
|
160
|
+
customValue?: string;
|
|
161
|
+
}[];
|
|
162
|
+
};
|
|
163
|
+
/** 事件过滤器 */
|
|
164
|
+
filterCode: string;
|
|
165
|
+
}
|
|
166
|
+
export declare class SHJParseEvent {
|
|
167
|
+
/** 事件动作 */
|
|
168
|
+
private static actions;
|
|
169
|
+
/**
|
|
170
|
+
* 添加事件解析器
|
|
171
|
+
* @param type 事件类型
|
|
172
|
+
* @param parser 事件解析器
|
|
173
|
+
*/
|
|
174
|
+
static addAction(type: string, parser: Function): void;
|
|
175
|
+
/**
|
|
176
|
+
* 获取事件解析器
|
|
177
|
+
* @param type 事件类型
|
|
178
|
+
* @returns 事件解析器
|
|
179
|
+
*/
|
|
180
|
+
static getAction(type: string): Function | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* 解析事件
|
|
183
|
+
* @param events 事件
|
|
184
|
+
* @param type 事件类型
|
|
185
|
+
* @param params 参数
|
|
186
|
+
*/
|
|
187
|
+
static parseEvents(events: IEvent[], type: string, params?: any): void;
|
|
188
|
+
/**
|
|
189
|
+
* 过滤事件返回值
|
|
190
|
+
* @param event 事件
|
|
191
|
+
* @param params 参数
|
|
192
|
+
* @returns 过滤后的参数
|
|
193
|
+
*/
|
|
194
|
+
static filterEvent(event: IEvent, params: any): any;
|
|
195
|
+
/**
|
|
196
|
+
* 条件逻辑判断
|
|
197
|
+
* @param event 事件
|
|
198
|
+
* @param params 参数
|
|
199
|
+
* @returns 是否通过
|
|
200
|
+
*/
|
|
201
|
+
static conditionLogic(event: IEvent, params: any): boolean;
|
|
202
|
+
}
|