@shjjs/visual-ui 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/commons/core/useChart.mjs +59 -58
- package/es/commons/{core → plugins}/datasource/index.mjs +5 -5
- package/es/commons/plugins/datasource/utils/axios.d.ts +70 -0
- package/es/commons/plugins/datasource/utils/axios.mjs +134 -0
- package/es/commons/{core → plugins}/datasource/utils/request.d.ts +1 -1
- package/es/commons/plugins/datasource/utils/request.mjs +5 -0
- package/es/commons/plugins/datasource/utils/utils.d.ts +84 -0
- package/es/commons/plugins/datasource/utils/utils.mjs +156 -0
- package/es/commons/plugins/event/actions/fullScreenAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/fullScreenAction.mjs +8 -0
- package/es/commons/plugins/event/actions/invokeAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/invokeAction.mjs +10 -0
- package/es/commons/plugins/event/actions/linkAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/linkAction.mjs +7 -0
- package/es/commons/plugins/event/actions/moveAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/moveAction.mjs +15 -0
- package/es/commons/plugins/event/actions/pageAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/pageAction.mjs +14 -0
- package/es/commons/plugins/event/actions/rotateAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/rotateAction.mjs +19 -0
- package/es/commons/plugins/event/actions/scaleAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/scaleAction.mjs +24 -0
- package/es/commons/plugins/event/actions/sendApiAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/sendApiAction.mjs +16 -0
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
- package/es/commons/plugins/event/actions/updatePageAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/updatePageAction.mjs +6 -0
- package/es/commons/plugins/event/actions/updateVariableAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/updateVariableAction.mjs +23 -0
- package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/updateWidgetAction.mjs +13 -0
- package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
- package/es/commons/plugins/event/index.d.ts +202 -0
- package/es/commons/plugins/event/index.mjs +150 -0
- package/es/commons/plugins/event/utils/utils.d.ts +22 -0
- package/es/commons/plugins/event/utils/utils.mjs +52 -0
- package/es/commons/utils/getNextElement.d.ts +7 -0
- package/es/commons/utils/getNextElement.mjs +12 -0
- package/es/components/chart-bar-animation/index.vue.mjs +24 -23
- package/es/components/chart-bar-basic/index.vue.mjs +24 -23
- package/es/components/chart-bar-contrast/index.vue.mjs +32 -31
- package/es/components/chart-bar-contrast2/index.vue.mjs +23 -22
- package/es/components/chart-bar-contrast3/index.vue.mjs +25 -24
- package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +24 -23
- package/es/components/chart-bar-horizontal/index.vue.mjs +25 -24
- package/es/components/chart-bar-horizontal-stack/index.vue.mjs +25 -24
- package/es/components/chart-bar-line-bar/index.vue.mjs +23 -22
- package/es/components/chart-bar-line-bar2/index.vue.mjs +23 -22
- package/es/components/chart-bar-loop/index.vue.mjs +25 -24
- package/es/components/chart-bar-mini/index.vue.mjs +25 -24
- package/es/components/chart-bar-polar/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar-stack/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar2/index.vue.mjs +23 -22
- package/es/components/chart-bar-radius-circle/index.vue.mjs +23 -22
- package/es/components/chart-bar-rank/index.vue.mjs +25 -24
- package/es/components/chart-bar-segmented-progress/index.vue.mjs +27 -26
- package/es/components/chart-bar-spire/index.vue.mjs +30 -29
- package/es/components/chart-bar-stack/index.vue.mjs +24 -23
- package/es/components/chart-bar-stack-line/index.vue.mjs +23 -22
- package/es/components/chart-bar-stack2/index.vue.mjs +23 -22
- package/es/components/chart-bar-stack3/index.vue.mjs +23 -22
- package/es/components/chart-bar-staggered/index.vue.mjs +23 -22
- package/es/components/chart-bar-three/index.vue.mjs +21 -20
- package/es/components/chart-bar-waterfall/index.vue.mjs +30 -29
- package/es/components/chart-bar-zebra/index.vue.mjs +23 -22
- package/es/components/chart-line-area-gradient/index.vue.mjs +24 -23
- package/es/components/chart-line-area-highlight/index.vue.mjs +23 -22
- package/es/components/chart-line-area-highlight2/index.vue.mjs +23 -22
- package/es/components/chart-line-basic/index.vue.mjs +25 -24
- package/es/components/chart-line-bump/index.vue.mjs +30 -29
- package/es/components/chart-line-dashed/index.vue.mjs +24 -23
- package/es/components/chart-line-ladder/index.vue.mjs +24 -23
- package/es/components/chart-line-logarithm/index.vue.mjs +29 -28
- package/es/components/chart-line-multix/index.vue.mjs +29 -28
- package/es/components/chart-line-polar-double/index.vue.mjs +25 -24
- package/es/components/chart-line-rain-flow/index.vue.mjs +29 -28
- package/es/components/chart-line-scale/index.vue.mjs +24 -23
- package/es/components/chart-line-smooth/index.vue.mjs +24 -23
- package/es/components/chart-line-smooth-area/index.vue.mjs +29 -28
- package/es/components/chart-line-stack/index.vue.mjs +24 -23
- package/es/components/chart-line-stack-area/index.vue.mjs +24 -23
- package/es/components/chart-line-temp/index.vue.mjs +29 -28
- package/es/components/chart-line-vertical/index.vue.mjs +24 -23
- package/es/components/chart-map-basic/index.vue.mjs +29 -28
- package/es/components/chart-map-bmap-basic/index.vue.mjs +25 -24
- package/es/components/chart-map-bmap-heatmap/index.vue.mjs +24 -23
- package/es/components/chart-map-bmap-rich/index.vue.mjs +24 -23
- package/es/components/chart-map-customize/index.vue.mjs +23 -22
- package/es/components/chart-map-lines/index.vue.mjs +24 -23
- package/es/components/chart-map-scatter/index.vue.mjs +24 -23
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +25 -24
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +22 -21
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +22 -21
- package/es/components/chart-other-circular-graph/index.vue.mjs +20 -19
- package/es/components/chart-other-force/index.vue.mjs +22 -21
- package/es/components/chart-other-force2/index.vue.mjs +22 -21
- package/es/components/chart-other-funnel/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel-split/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel2/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge-grade/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge-stage/index.vue.mjs +20 -19
- package/es/components/chart-other-graph-basic/index.vue.mjs +21 -20
- package/es/components/chart-other-graph-basic2/index.vue.mjs +21 -20
- package/es/components/chart-other-graph-calendar/index.vue.mjs +21 -20
- package/es/components/chart-other-grid-percentage/index.vue.mjs +25 -24
- package/es/components/chart-other-heatmap/index.vue.mjs +23 -22
- package/es/components/chart-other-label-gauge/index.vue.mjs +30 -29
- package/es/components/chart-other-liquidfill/index.vue.mjs +22 -21
- package/es/components/chart-other-parallel-basic/index.vue.mjs +21 -20
- package/es/components/chart-other-parallel-mul/index.vue.mjs +30 -29
- package/es/components/chart-other-radar/index.vue.mjs +32 -31
- package/es/components/chart-other-radar-stack/index.vue.mjs +23 -22
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-book/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +22 -21
- package/es/components/chart-other-theme-river/index.vue.mjs +25 -24
- package/es/components/chart-other-tree/index.vue.mjs +20 -19
- package/es/components/chart-other-tree-line/index.vue.mjs +21 -20
- package/es/components/chart-other-treemap/index.vue.mjs +19 -18
- package/es/components/chart-other-treemap-basic/index.vue.mjs +20 -19
- package/es/components/chart-other-word-cloud/index.vue.mjs +18 -17
- package/es/components/chart-pie-3d/index.vue.mjs +25 -24
- package/es/components/chart-pie-basic/index.vue.mjs +23 -22
- package/es/components/chart-pie-basic2/index.vue.mjs +23 -22
- package/es/components/chart-pie-customized/index.vue.mjs +28 -27
- package/es/components/chart-pie-index/index.vue.mjs +22 -21
- package/es/components/chart-pie-interval/index.vue.mjs +22 -21
- package/es/components/chart-pie-legend-scroll/index.vue.mjs +28 -27
- package/es/components/chart-pie-radius/index.vue.mjs +22 -21
- package/es/components/chart-pie-rose/index.vue.mjs +27 -26
- package/es/components/chart-pie-round/index.vue.mjs +27 -26
- package/es/components/chart-pie-semicircle/index.vue.mjs +23 -22
- package/es/components/chart-pie-sunburst/index.vue.mjs +23 -22
- package/es/components/chart-scatter-basic/index.vue.mjs +24 -23
- package/es/components/chart-scatter-basic2/index.vue.mjs +24 -23
- package/es/components/chart-scatter-bubble/index.vue.mjs +25 -24
- package/es/components/chart-scatter-ripples/index.vue.mjs +21 -20
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +22 -21
- package/es/components/commons-gaussian-splatting-view/index.vue.mjs +2 -2
- package/es/components/commons-gaussian-splatting-view/index.vue2.mjs +45 -46
- package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +39 -38
- package/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +49 -49
- package/es/components/commons-three-loader/index.vue.mjs +1 -1
- package/es/components/commons-three-loader/index.vue2.mjs +73 -73
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +67 -67
- package/es/components/commons-weather/index.vue.mjs +2 -2
- package/es/components/commons-weather/index.vue2.mjs +45 -44
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +16 -14
- package/es/components/interaction-input/index.vue.mjs +1 -1
- package/es/components/interaction-input/index.vue2.mjs +56 -55
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +83 -82
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +45 -44
- package/es/components/interaction-switch/index.vue.mjs +2 -2
- package/es/components/interaction-switch/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs/index.vue.mjs +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +31 -30
- package/es/components/map-earth-basic/index.vue.d.ts +4 -4
- package/es/components/map-earth-basic/index.vue.mjs +30 -29
- package/es/components/map-earth-cool-tech/index.vue.d.ts +0 -2
- package/es/components/map-earth-cool-tech/index.vue.mjs +30 -29
- package/es/components/map-earth-fly-line/index.vue.d.ts +4 -2
- package/es/components/map-earth-fly-line/index.vue.mjs +34 -33
- package/es/components/map-earth-hacker/index.vue.d.ts +4 -2
- package/es/components/map-earth-hacker/index.vue.mjs +29 -28
- package/es/components/map-earth-particle/index.vue.d.ts +4 -2
- package/es/components/map-earth-particle/index.vue.mjs +30 -29
- package/es/components/media-audio/index.vue.mjs +1 -1
- package/es/components/media-audio/index.vue2.mjs +49 -48
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +58 -57
- package/es/components/media-flv/index.vue.mjs +40 -39
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +14 -13
- package/es/components/media-image-dynamic/index.vue.mjs +2 -2
- package/es/components/media-image-dynamic/index.vue2.mjs +23 -22
- package/es/components/media-m3u8/index.vue.mjs +39 -38
- package/es/components/media-m3u8-dynamic/index.vue.mjs +54 -53
- package/es/components/media-video/index.vue.mjs +1 -1
- package/es/components/media-video/index.vue2.mjs +38 -37
- package/es/components/media-video-dynamic/index.vue.mjs +1 -1
- package/es/components/media-video-dynamic/index.vue2.mjs +49 -48
- package/es/components/scene-amap2d/index.vue.mjs +1 -1
- package/es/components/scene-amap2d/index.vue2.mjs +107 -104
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +95 -92
- package/es/components/scene-default/index.d.ts +39 -0
- package/es/components/scene-default/index.mjs +7 -0
- package/es/components/scene-default/index.vue.d.ts +40 -0
- package/es/components/scene-default/index.vue.mjs +7 -0
- package/es/components/scene-default/index.vue2.mjs +35 -0
- package/es/components/scene-map3d/index.d.ts +1 -1
- package/es/components/scene-map3d/index.vue.d.ts +1 -1
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +129 -126
- package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
- package/es/components/scene-ue-iframe/index.vue2.mjs +19 -18
- package/es/components/scene-ue-shj/index.vue.mjs +1 -1
- package/es/components/scene-ue-shj/index.vue2.mjs +14 -13
- package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
- package/es/components/scene-unity-iframe/index.vue2.mjs +19 -16
- package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
- package/es/components/scene-unity-webgl/index.vue2.mjs +16 -13
- package/es/components/scene-vr/index.vue.mjs +1 -1
- package/es/components/scene-vr/index.vue2.mjs +162 -159
- package/es/components/text-count-down/index.vue.mjs +1 -1
- package/es/components/text-count-down/index.vue2.mjs +34 -33
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +49 -48
- package/es/components/text-real-time/index.vue.mjs +2 -2
- package/es/components/text-real-time/index.vue2.mjs +26 -25
- package/es/components/text-row-scroll/index.vue.mjs +1 -1
- package/es/components/text-row-scroll/index.vue2.mjs +83 -82
- package/es/components/text-table-basic/index.vue.mjs +3 -3
- package/es/components/text-table-basic/index.vue2.mjs +97 -96
- package/es/components/text-table-scroll/index.vue.mjs +1 -1
- package/es/components/text-table-scroll/index.vue2.mjs +96 -95
- package/es/components/text-text-dynamic/index.vue.mjs +1 -1
- package/es/components/text-text-dynamic/index.vue2.mjs +29 -28
- package/es/env.d.ts +0 -2
- package/es/index.d.ts +3 -1
- package/es/index.mjs +351 -345
- package/es/widgets.css +1 -1
- package/lib/commons/core/useChart.js +1 -1
- package/lib/commons/{core → plugins}/datasource/index.js +1 -1
- package/lib/commons/plugins/datasource/utils/axios.js +1 -0
- package/lib/commons/plugins/datasource/utils/request.js +1 -0
- package/lib/commons/plugins/datasource/utils/utils.js +1 -0
- package/lib/commons/plugins/event/actions/fullScreenAction.js +1 -0
- package/lib/commons/plugins/event/actions/invokeAction.js +1 -0
- package/lib/commons/plugins/event/actions/linkAction.js +1 -0
- package/lib/commons/plugins/event/actions/moveAction.js +1 -0
- package/lib/commons/plugins/event/actions/pageAction.js +1 -0
- package/lib/commons/plugins/event/actions/rotateAction.js +1 -0
- package/lib/commons/plugins/event/actions/scaleAction.js +1 -0
- package/lib/commons/plugins/event/actions/sendApiAction.js +1 -0
- package/lib/commons/plugins/event/actions/ueCommonsWebscoketAction.js +1 -0
- package/lib/commons/plugins/event/actions/ueShjExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/unityIframeExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/unityWebglExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/updatePageAction.js +1 -0
- package/lib/commons/plugins/event/actions/updateVariableAction.js +1 -0
- package/lib/commons/plugins/event/actions/updateWidgetAction.js +1 -0
- package/lib/commons/plugins/event/actions/vrSceneMethodAction.js +1 -0
- package/lib/commons/plugins/event/index.js +9 -0
- package/lib/commons/plugins/event/utils/utils.js +1 -0
- package/lib/commons/utils/getNextElement.js +1 -0
- package/lib/components/chart-bar-animation/index.vue.js +1 -1
- package/lib/components/chart-bar-basic/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast2/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast3/index.vue.js +1 -1
- package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar2/index.vue.js +1 -1
- package/lib/components/chart-bar-loop/index.vue.js +1 -1
- package/lib/components/chart-bar-mini/index.vue.js +1 -1
- package/lib/components/chart-bar-polar/index.vue.js +1 -1
- package/lib/components/chart-bar-polar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-polar2/index.vue.js +1 -1
- package/lib/components/chart-bar-radius-circle/index.vue.js +1 -1
- package/lib/components/chart-bar-rank/index.vue.js +1 -1
- package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -1
- package/lib/components/chart-bar-spire/index.vue.js +1 -1
- package/lib/components/chart-bar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-stack-line/index.vue.js +1 -1
- package/lib/components/chart-bar-stack2/index.vue.js +1 -1
- package/lib/components/chart-bar-stack3/index.vue.js +1 -1
- package/lib/components/chart-bar-staggered/index.vue.js +1 -1
- package/lib/components/chart-bar-three/index.vue.js +1 -1
- package/lib/components/chart-bar-waterfall/index.vue.js +1 -1
- package/lib/components/chart-bar-zebra/index.vue.js +1 -1
- package/lib/components/chart-line-area-gradient/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight2/index.vue.js +1 -1
- package/lib/components/chart-line-basic/index.vue.js +1 -1
- package/lib/components/chart-line-bump/index.vue.js +1 -1
- package/lib/components/chart-line-dashed/index.vue.js +1 -1
- package/lib/components/chart-line-ladder/index.vue.js +1 -1
- package/lib/components/chart-line-logarithm/index.vue.js +1 -1
- package/lib/components/chart-line-multix/index.vue.js +1 -1
- package/lib/components/chart-line-polar-double/index.vue.js +1 -1
- package/lib/components/chart-line-rain-flow/index.vue.js +1 -1
- package/lib/components/chart-line-scale/index.vue.js +1 -1
- package/lib/components/chart-line-smooth/index.vue.js +1 -1
- package/lib/components/chart-line-smooth-area/index.vue.js +1 -1
- package/lib/components/chart-line-stack/index.vue.js +1 -1
- package/lib/components/chart-line-stack-area/index.vue.js +1 -1
- package/lib/components/chart-line-temp/index.vue.js +1 -1
- package/lib/components/chart-line-vertical/index.vue.js +1 -1
- package/lib/components/chart-map-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-rich/index.vue.js +1 -1
- package/lib/components/chart-map-customize/index.vue.js +1 -1
- package/lib/components/chart-map-lines/index.vue.js +1 -1
- package/lib/components/chart-map-scatter/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-basic/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-demo/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-shanghai/index.vue.js +1 -1
- package/lib/components/chart-other-circular-graph/index.vue.js +1 -1
- package/lib/components/chart-other-force/index.vue.js +1 -1
- package/lib/components/chart-other-force2/index.vue.js +1 -1
- package/lib/components/chart-other-funnel/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-contrast/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-split/index.vue.js +1 -1
- package/lib/components/chart-other-funnel2/index.vue.js +1 -1
- package/lib/components/chart-other-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-grade/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-stage/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-graph-calendar/index.vue.js +1 -1
- package/lib/components/chart-other-grid-percentage/index.vue.js +1 -1
- package/lib/components/chart-other-heatmap/index.vue.js +1 -1
- package/lib/components/chart-other-label-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-liquidfill/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-basic/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-mul/index.vue.js +1 -1
- package/lib/components/chart-other-radar/index.vue.js +1 -1
- package/lib/components/chart-other-radar-stack/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic3/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic4/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-book/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-flavors/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-radius/index.vue.js +1 -1
- package/lib/components/chart-other-theme-river/index.vue.js +1 -1
- package/lib/components/chart-other-tree/index.vue.js +1 -1
- package/lib/components/chart-other-tree-line/index.vue.js +1 -1
- package/lib/components/chart-other-treemap/index.vue.js +1 -1
- package/lib/components/chart-other-treemap-basic/index.vue.js +1 -1
- package/lib/components/chart-other-word-cloud/index.vue.js +1 -1
- package/lib/components/chart-pie-3d/index.vue.js +1 -1
- package/lib/components/chart-pie-basic/index.vue.js +1 -1
- package/lib/components/chart-pie-basic2/index.vue.js +1 -1
- package/lib/components/chart-pie-customized/index.vue.js +1 -1
- package/lib/components/chart-pie-index/index.vue.js +1 -1
- package/lib/components/chart-pie-interval/index.vue.js +1 -1
- package/lib/components/chart-pie-legend-scroll/index.vue.js +1 -1
- package/lib/components/chart-pie-radius/index.vue.js +1 -1
- package/lib/components/chart-pie-rose/index.vue.js +1 -1
- package/lib/components/chart-pie-round/index.vue.js +1 -1
- package/lib/components/chart-pie-semicircle/index.vue.js +1 -1
- package/lib/components/chart-pie-sunburst/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic2/index.vue.js +1 -1
- package/lib/components/chart-scatter-bubble/index.vue.js +1 -1
- package/lib/components/chart-scatter-ripples/index.vue.js +1 -1
- package/lib/components/commons-echarts/compileAndRunEcharts.js +6 -6
- package/lib/components/commons-gaussian-splatting-view/index.vue.js +1 -1
- package/lib/components/commons-gaussian-splatting-view/index.vue2.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue2.js +1 -1
- package/lib/components/commons-product-model/index.vue.js +1 -1
- package/lib/components/commons-product-model/index.vue2.js +1 -1
- package/lib/components/commons-three-loader/index.vue.js +1 -1
- package/lib/components/commons-three-loader/index.vue2.js +1 -1
- package/lib/components/commons-three-loader3/index.vue.js +1 -1
- package/lib/components/commons-three-loader3/index.vue2.js +1 -1
- package/lib/components/commons-weather/index.vue.js +1 -1
- package/lib/components/commons-weather/index.vue2.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/interaction-input/index.vue.js +1 -1
- package/lib/components/interaction-input/index.vue2.js +1 -1
- package/lib/components/interaction-select/index.vue.js +1 -1
- package/lib/components/interaction-select/index.vue2.js +1 -1
- package/lib/components/interaction-slider/index.vue.js +1 -1
- package/lib/components/interaction-slider/index.vue2.js +1 -1
- package/lib/components/interaction-switch/index.vue.js +1 -1
- package/lib/components/interaction-switch/index.vue2.js +1 -1
- package/lib/components/interaction-tabs/index.vue.js +1 -1
- package/lib/components/interaction-tabs/index.vue2.js +1 -1
- package/lib/components/interaction-tabs2/index.vue.js +1 -1
- package/lib/components/interaction-tabs2/index.vue2.js +1 -1
- package/lib/components/map-earth-basic/index.vue.js +1 -1
- package/lib/components/map-earth-cool-tech/index.vue.js +1 -1
- package/lib/components/map-earth-fly-line/index.vue.js +1 -1
- package/lib/components/map-earth-hacker/index.vue.js +1 -1
- package/lib/components/map-earth-particle/index.vue.js +1 -1
- package/lib/components/media-audio/index.vue.js +1 -1
- package/lib/components/media-audio/index.vue2.js +1 -1
- package/lib/components/media-audio-dynamic/index.vue.js +1 -1
- package/lib/components/media-audio-dynamic/index.vue2.js +1 -1
- package/lib/components/media-flv/index.vue.js +1 -1
- package/lib/components/media-iframe/index.vue.js +1 -1
- package/lib/components/media-iframe/index.vue2.js +1 -1
- package/lib/components/media-image-dynamic/index.vue.js +1 -1
- package/lib/components/media-image-dynamic/index.vue2.js +1 -1
- package/lib/components/media-m3u8/index.vue.js +1 -1
- package/lib/components/media-m3u8-dynamic/index.vue.js +1 -1
- package/lib/components/media-video/index.vue.js +1 -1
- package/lib/components/media-video/index.vue2.js +1 -1
- package/lib/components/media-video-dynamic/index.vue.js +1 -1
- package/lib/components/media-video-dynamic/index.vue2.js +1 -1
- package/lib/components/scene-amap2d/index.vue.js +1 -1
- package/lib/components/scene-amap2d/index.vue2.js +1 -1
- package/lib/components/scene-amap3d/index.vue.js +1 -1
- package/lib/components/scene-amap3d/index.vue2.js +4 -4
- package/lib/components/scene-default/index.js +1 -0
- package/lib/components/scene-default/index.vue.js +1 -0
- package/lib/components/scene-default/index.vue2.js +1 -0
- package/lib/components/scene-map3d/index.vue.js +1 -1
- package/lib/components/scene-map3d/index.vue2.js +1 -1
- package/lib/components/scene-ue-iframe/index.vue.js +1 -1
- package/lib/components/scene-ue-iframe/index.vue2.js +1 -1
- package/lib/components/scene-ue-shj/index.vue.js +1 -1
- package/lib/components/scene-ue-shj/index.vue2.js +1 -1
- package/lib/components/scene-unity-iframe/index.vue.js +1 -1
- package/lib/components/scene-unity-iframe/index.vue2.js +1 -1
- package/lib/components/scene-unity-webgl/index.vue.js +1 -1
- package/lib/components/scene-unity-webgl/index.vue2.js +1 -1
- package/lib/components/scene-vr/index.vue.js +1 -1
- package/lib/components/scene-vr/index.vue2.js +2 -2
- package/lib/components/text-count-down/index.vue.js +1 -1
- package/lib/components/text-count-down/index.vue2.js +1 -1
- package/lib/components/text-over-number/index.vue.js +1 -1
- package/lib/components/text-over-number/index.vue2.js +1 -1
- package/lib/components/text-real-time/index.vue.js +1 -1
- package/lib/components/text-real-time/index.vue2.js +1 -1
- package/lib/components/text-row-scroll/index.vue.js +1 -1
- package/lib/components/text-row-scroll/index.vue2.js +1 -1
- package/lib/components/text-table-basic/index.vue.js +1 -1
- package/lib/components/text-table-basic/index.vue2.js +1 -1
- package/lib/components/text-table-scroll/index.vue.js +1 -1
- package/lib/components/text-table-scroll/index.vue2.js +1 -1
- package/lib/components/text-text-dynamic/index.vue.js +1 -1
- package/lib/components/text-text-dynamic/index.vue2.js +1 -1
- package/lib/index.js +1 -1
- package/lib/widgets.css +1 -1
- package/package.json +1 -1
- package/es/commons/core/datasource/utils/request.mjs +0 -7
- package/es/commons/core/datasource/utils/utils.d.ts +0 -50
- package/es/commons/core/datasource/utils/utils.mjs +0 -123
- package/es/commons/utils/babylon/ColorConvert.d.ts +0 -3
- package/es/commons/utils/babylon/ColorConvert.mjs +0 -21
- package/lib/commons/core/datasource/utils/request.js +0 -1
- package/lib/commons/core/datasource/utils/utils.js +0 -1
- package/lib/commons/utils/babylon/ColorConvert.js +0 -1
- /package/es/commons/{core → plugins}/datasource/index.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.mjs +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/wsManager.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/wsManager.mjs +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/api.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/static.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/url.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/variable.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/ws.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/wsManager.js +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { autoInstallFont as
|
|
4
|
-
|
|
1
|
+
import { defineComponent as g, watch as z, createElementBlock as s, openBlock as i, createCommentVNode as c, normalizeStyle as u, unref as r, toDisplayString as n, createTextVNode as R, ref as f, onMounted as W, onBeforeUnmount as B } from "vue";
|
|
2
|
+
import C from "axios";
|
|
3
|
+
import { autoInstallFont as D, jsonToCssStyle as A } from "../../commons/utils/json2css.mjs";
|
|
4
|
+
import { SHJParseEvent as v } from "../../commons/plugins/event/index.mjs";
|
|
5
|
+
const F = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "weather-temperature__suffix"
|
|
7
|
-
},
|
|
8
|
-
...
|
|
8
|
+
}, H = g({ name: "zv-commons-weather" }), P = /* @__PURE__ */ g({
|
|
9
|
+
...H,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
11
12
|
useEvents: {}
|
|
@@ -14,8 +15,8 @@ const D = {
|
|
|
14
15
|
"on-success",
|
|
15
16
|
"on-error"
|
|
16
17
|
],
|
|
17
|
-
setup(
|
|
18
|
-
const o =
|
|
18
|
+
setup(O, { emit: k }) {
|
|
19
|
+
const o = O, w = k, S = () => {
|
|
19
20
|
const t = f(), p = f({
|
|
20
21
|
city: "",
|
|
21
22
|
date: "",
|
|
@@ -30,81 +31,81 @@ const D = {
|
|
|
30
31
|
nightpower: "",
|
|
31
32
|
daytemp_float: "",
|
|
32
33
|
nighttemp_float: ""
|
|
33
|
-
}), h = f(null),
|
|
34
|
-
|
|
35
|
-
a.status === 200 && a.data.status === "1" && a.data.forecasts.length > 0 ? (
|
|
34
|
+
}), h = f(null), d = (e) => {
|
|
35
|
+
C.get(`https://restapi.amap.com/v3/weather/weatherInfo?city=${e.city}&key=${e.key}&extensions=all`).then((a) => {
|
|
36
|
+
a.status === 200 && a.data.status === "1" && a.data.forecasts.length > 0 ? (w("on-success", a), v.parseEvents(o.useEvents, "on-success", a), p.value = a.data.forecasts[0].casts[0], p.value.city = a.data.forecasts[0].city) : (w("on-error", a), v.parseEvents(o.useEvents, "on-error", a));
|
|
36
37
|
}).catch(() => {
|
|
37
|
-
|
|
38
|
+
w("on-error", null), v.parseEvents(o.useEvents, "on-error", null);
|
|
38
39
|
});
|
|
39
|
-
},
|
|
40
|
-
...
|
|
40
|
+
}, I = (e) => (e.fontFamily && D(e.fontFamily), {
|
|
41
|
+
...A(e),
|
|
41
42
|
lineHeight: `${e.lineHeight}px`,
|
|
42
43
|
transform: `translate(${e.transform.x}px, ${e.transform.y}px)`
|
|
43
|
-
}),
|
|
44
|
-
if (a.find((
|
|
45
|
-
const
|
|
44
|
+
}), T = (e, a) => {
|
|
45
|
+
if (a.find((m) => m.name === p.value.dayweather)) {
|
|
46
|
+
const m = a.find((U) => U.name === p.value.dayweather).url || "";
|
|
46
47
|
return {
|
|
47
|
-
mask: `url(${
|
|
48
|
+
mask: `url(${m}) 0px 0px / 100% 100%`,
|
|
48
49
|
width: `${e.size}px`,
|
|
49
50
|
height: `${e.size}px`,
|
|
50
|
-
background: `url(${
|
|
51
|
+
background: `url(${m}) 0px 0px / 100% 100%, ${e.color}`,
|
|
51
52
|
backgroundBlendMode: "overlay",
|
|
52
53
|
marginRight: `${e.margin.right}px`
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
return {};
|
|
56
|
-
},
|
|
57
|
-
h.value && clearInterval(h.value), e.autoUpdate !== 0 ? h.value = setInterval(() =>
|
|
57
|
+
}, b = (e) => {
|
|
58
|
+
h.value && clearInterval(h.value), e.autoUpdate !== 0 ? h.value = setInterval(() => d(e), e.autoUpdate * 1e3) : (clearInterval(h.value), d(e));
|
|
58
59
|
};
|
|
59
|
-
return
|
|
60
|
-
|
|
61
|
-
}),
|
|
60
|
+
return W(() => {
|
|
61
|
+
d(o.basicOption), b(o.basicOption);
|
|
62
|
+
}), B(() => {
|
|
62
63
|
h.value && clearInterval(h.value);
|
|
63
64
|
}), {
|
|
64
|
-
initWeatherMessage:
|
|
65
|
-
rendererDomStyle:
|
|
66
|
-
handleAutoUpdate:
|
|
67
|
-
rendererWeatherTypeStyle:
|
|
65
|
+
initWeatherMessage: d,
|
|
66
|
+
rendererDomStyle: I,
|
|
67
|
+
handleAutoUpdate: b,
|
|
68
|
+
rendererWeatherTypeStyle: T,
|
|
68
69
|
weatherRef: t,
|
|
69
70
|
weather: p
|
|
70
71
|
};
|
|
71
|
-
}, { handleAutoUpdate:
|
|
72
|
-
return
|
|
72
|
+
}, { handleAutoUpdate: $, rendererDomStyle: y, rendererWeatherTypeStyle: x, weatherRef: E, weather: l } = S();
|
|
73
|
+
return z(() => o.basicOption, () => $(o.basicOption), { deep: !0 }), (t, p) => (i(), s("div", {
|
|
73
74
|
ref_key: "weatherRef",
|
|
74
|
-
ref:
|
|
75
|
+
ref: E,
|
|
75
76
|
class: "zerov-widgets"
|
|
76
77
|
}, [
|
|
77
|
-
t.basicOption.icon.show ? (
|
|
78
|
+
t.basicOption.icon.show ? (i(), s("p", {
|
|
78
79
|
key: 0,
|
|
79
80
|
class: "weather-icon",
|
|
80
|
-
style: u(r(
|
|
81
|
+
style: u(r(x)(t.basicOption.icon, t.basicOption.icons))
|
|
81
82
|
}, null, 4)) : c("", !0),
|
|
82
|
-
t.basicOption.weather.city.show ? (
|
|
83
|
+
t.basicOption.weather.city.show ? (i(), s("p", {
|
|
83
84
|
key: 1,
|
|
84
85
|
class: "weather-city",
|
|
85
|
-
style: u(r(
|
|
86
|
+
style: u(r(y)(t.basicOption.weather.city.textStyle))
|
|
86
87
|
}, n(r(l).city), 5)) : c("", !0),
|
|
87
|
-
t.basicOption.weather.type.show ? (
|
|
88
|
+
t.basicOption.weather.type.show ? (i(), s("p", {
|
|
88
89
|
key: 2,
|
|
89
90
|
class: "weather-type",
|
|
90
|
-
style: u(r(
|
|
91
|
+
style: u(r(y)(t.basicOption.weather.type.textStyle))
|
|
91
92
|
}, n(r(l).dayweather), 5)) : c("", !0),
|
|
92
|
-
t.basicOption.weather.wind.show ? (
|
|
93
|
+
t.basicOption.weather.wind.show ? (i(), s("p", {
|
|
93
94
|
key: 3,
|
|
94
95
|
class: "weather-wind",
|
|
95
|
-
style: u(r(
|
|
96
|
+
style: u(r(y)(t.basicOption.weather.wind.textStyle))
|
|
96
97
|
}, n(r(l).daywind) + "风" + n(r(l).daypower) + "级 ", 5)) : c("", !0),
|
|
97
|
-
t.basicOption.weather.temperature.show ? (
|
|
98
|
+
t.basicOption.weather.temperature.show ? (i(), s("p", {
|
|
98
99
|
key: 4,
|
|
99
100
|
class: "weather-temperature",
|
|
100
|
-
style: u(r(
|
|
101
|
+
style: u(r(y)(t.basicOption.weather.temperature.textStyle))
|
|
101
102
|
}, [
|
|
102
|
-
|
|
103
|
-
t.basicOption.weather.temperature.suffix.show ? (
|
|
103
|
+
R(n(r(l).nighttemp) + " " + n(t.basicOption.weather.temperature.connectors) + " " + n(r(l).daytemp) + " ", 1),
|
|
104
|
+
t.basicOption.weather.temperature.suffix.show ? (i(), s("span", F, n(t.basicOption.weather.temperature.suffix.suffix), 1)) : c("", !0)
|
|
104
105
|
], 4)) : c("", !0)
|
|
105
106
|
], 512));
|
|
106
107
|
}
|
|
107
108
|
});
|
|
108
109
|
export {
|
|
109
|
-
|
|
110
|
+
P as default
|
|
110
111
|
};
|
package/es/components/index.d.ts
CHANGED
package/es/components/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ZvChartBarStack as t } from "./chart-bar-stack/index.mjs";
|
|
2
2
|
import { ZvChartBarBasic as a } from "./chart-bar-basic/index.mjs";
|
|
3
3
|
import { ZvChartBarLoop as p } from "./chart-bar-loop/index.mjs";
|
|
4
|
-
import { ZvChartBarZebra as
|
|
4
|
+
import { ZvChartBarZebra as f } from "./chart-bar-zebra/index.mjs";
|
|
5
5
|
import { ZvChartBarContrast as v } from "./chart-bar-contrast/index.mjs";
|
|
6
6
|
import { ZvChartBarContrast2 as i } from "./chart-bar-contrast2/index.mjs";
|
|
7
7
|
import { ZvChartBarLineBar as n } from "./chart-bar-line-bar/index.mjs";
|
|
@@ -28,7 +28,7 @@ import { ZvChartPieCustomized as rr } from "./chart-pie-customized/index.mjs";
|
|
|
28
28
|
import { ZvChartPieInterval as tr } from "./chart-pie-interval/index.mjs";
|
|
29
29
|
import { ZvChartPieLegendScroll as ar } from "./chart-pie-legend-scroll/index.mjs";
|
|
30
30
|
import { ZvChartLineBump as pr } from "./chart-line-bump/index.mjs";
|
|
31
|
-
import { ZvChartLineTemp as
|
|
31
|
+
import { ZvChartLineTemp as fr } from "./chart-line-temp/index.mjs";
|
|
32
32
|
import { ZvChartLineStack as vr } from "./chart-line-stack/index.mjs";
|
|
33
33
|
import { ZvChartLineSmooth as ir } from "./chart-line-smooth/index.mjs";
|
|
34
34
|
import { ZvChartLineRainFlow as nr } from "./chart-line-rain-flow/index.mjs";
|
|
@@ -55,7 +55,7 @@ import { ZvChartOtherLiquidfill as ro } from "./chart-other-liquidfill/index.mjs
|
|
|
55
55
|
import { ZvChartBarHorizontal as to } from "./chart-bar-horizontal/index.mjs";
|
|
56
56
|
import { ZvChartBarThree as ao } from "./chart-bar-three/index.mjs";
|
|
57
57
|
import { ZvChartBarRank as po } from "./chart-bar-rank/index.mjs";
|
|
58
|
-
import { ZvChartBarMini as
|
|
58
|
+
import { ZvChartBarMini as fo } from "./chart-bar-mini/index.mjs";
|
|
59
59
|
import { ZvChartLineDashed as vo } from "./chart-line-dashed/index.mjs";
|
|
60
60
|
import { ZvChartPieSemicircle as io } from "./chart-pie-semicircle/index.mjs";
|
|
61
61
|
import { ZvChartPieRose as no } from "./chart-pie-rose/index.mjs";
|
|
@@ -82,7 +82,7 @@ import { ZvChartOtherSunburstBasic4 as ot } from "./chart-other-sunburst-basic4/
|
|
|
82
82
|
import { ZvChartOtherSunburstBook as et } from "./chart-other-sunburst-book/index.mjs";
|
|
83
83
|
import { ZvChartOtherSunburstRadius as mt } from "./chart-other-sunburst-radius/index.mjs";
|
|
84
84
|
import { ZvChartOtherSunburstFlavors as xt } from "./chart-other-sunburst-flavors/index.mjs";
|
|
85
|
-
import { ZvChartOtherParallelBasic as
|
|
85
|
+
import { ZvChartOtherParallelBasic as ht } from "./chart-other-parallel-basic/index.mjs";
|
|
86
86
|
import { ZvChartOtherParallelMul as Zt } from "./chart-other-parallel-mul/index.mjs";
|
|
87
87
|
import { ZvChartLineBasic as Ct } from "./chart-line-basic/index.mjs";
|
|
88
88
|
import { ZvChartLineScale as ct } from "./chart-line-scale/index.mjs";
|
|
@@ -109,7 +109,7 @@ import { ZvChartPieRound as oe } from "./chart-pie-round/index.mjs";
|
|
|
109
109
|
import { ZvChartPieSunburst as ee } from "./chart-pie-sunburst/index.mjs";
|
|
110
110
|
import { ZvChartOtherThemeRiver as me } from "./chart-other-theme-river/index.mjs";
|
|
111
111
|
import { ZvChartOtherTree as xe } from "./chart-other-tree/index.mjs";
|
|
112
|
-
import { ZvChartOtherTreemap as
|
|
112
|
+
import { ZvChartOtherTreemap as he } from "./chart-other-treemap/index.mjs";
|
|
113
113
|
import { ZvCommonsProductModel as Ze } from "./commons-product-model/index.mjs";
|
|
114
114
|
import { ZvCommonsVrPhoto as Ce } from "./commons-vr-photo/index.mjs";
|
|
115
115
|
import { ZvCommonsVrVideo as ce } from "./commons-vr-video/index.mjs";
|
|
@@ -136,7 +136,7 @@ import { ZvMediaImage as oa } from "./media-image/index.mjs";
|
|
|
136
136
|
import { ZvTextTitle as ea } from "./text-title/index.mjs";
|
|
137
137
|
import { ZvCommonsQrcode as ma } from "./commons-qrcode/index.mjs";
|
|
138
138
|
import { ZvMediaVideo as xa } from "./media-video/index.mjs";
|
|
139
|
-
import { ZvMediaAudio as
|
|
139
|
+
import { ZvMediaAudio as ha } from "./media-audio/index.mjs";
|
|
140
140
|
import { ZvTextRealTime as Za } from "./text-real-time/index.mjs";
|
|
141
141
|
import { ZvMediaCarousel as Ca } from "./media-carousel/index.mjs";
|
|
142
142
|
import { ZvMediaCarouselSlides as ca } from "./media-carousel-slides/index.mjs";
|
|
@@ -163,13 +163,14 @@ import { ZvGraphicalPentagon as om } from "./graphical-pentagon/index.mjs";
|
|
|
163
163
|
import { ZvGraphicalRect as em } from "./graphical-rect/index.mjs";
|
|
164
164
|
import { ZvGraphicalRightTriangle as mm } from "./graphical-right-triangle/index.mjs";
|
|
165
165
|
import { ZvSceneMap3d as xm } from "./scene-map3d/index.mjs";
|
|
166
|
-
import { ZvSceneAmap2d as
|
|
166
|
+
import { ZvSceneAmap2d as hm } from "./scene-amap2d/index.mjs";
|
|
167
167
|
import { ZvSceneAmap3d as Zm } from "./scene-amap3d/index.mjs";
|
|
168
168
|
import { ZvSceneVr as Cm } from "./scene-vr/index.mjs";
|
|
169
169
|
import { ZvSceneUnityIframe as cm } from "./scene-unity-iframe/index.mjs";
|
|
170
170
|
import { ZvSceneUnityWebgl as sm } from "./scene-unity-webgl/index.mjs";
|
|
171
171
|
import { ZvSceneUeIframe as dm } from "./scene-ue-iframe/index.mjs";
|
|
172
172
|
import { ZvSceneUeShj as Sm } from "./scene-ue-shj/index.mjs";
|
|
173
|
+
import { ZvSceneDefault as Lm } from "./scene-default/index.mjs";
|
|
173
174
|
export {
|
|
174
175
|
j as ZvChartBarAnimation,
|
|
175
176
|
a as ZvChartBarBasic,
|
|
@@ -182,7 +183,7 @@ export {
|
|
|
182
183
|
n as ZvChartBarLineBar,
|
|
183
184
|
w as ZvChartBarLineBar2,
|
|
184
185
|
p as ZvChartBarLoop,
|
|
185
|
-
|
|
186
|
+
fo as ZvChartBarMini,
|
|
186
187
|
g as ZvChartBarPolar,
|
|
187
188
|
k as ZvChartBarPolarStack,
|
|
188
189
|
po as ZvChartBarRank,
|
|
@@ -194,7 +195,7 @@ export {
|
|
|
194
195
|
B as ZvChartBarStackLine,
|
|
195
196
|
G as ZvChartBarStaggered,
|
|
196
197
|
ao as ZvChartBarThree,
|
|
197
|
-
|
|
198
|
+
f as ZvChartBarZebra,
|
|
198
199
|
ur as ZvChartLineAreaGardient,
|
|
199
200
|
Or as ZvChartLineAreaHighlight,
|
|
200
201
|
Mr as ZvChartLineAreaHighlight2,
|
|
@@ -211,7 +212,7 @@ export {
|
|
|
211
212
|
Br as ZvChartLineSmoothArea,
|
|
212
213
|
vr as ZvChartLineStack,
|
|
213
214
|
lr as ZvChartLineStackArea,
|
|
214
|
-
|
|
215
|
+
fr as ZvChartLineTemp,
|
|
215
216
|
kr as ZvChartLineVertical,
|
|
216
217
|
dt as ZvChartMapBasic,
|
|
217
218
|
Rt as ZvChartMapBmapBasic,
|
|
@@ -240,7 +241,7 @@ export {
|
|
|
240
241
|
Fo as ZvChartOtherHeatmap,
|
|
241
242
|
$t as ZvChartOtherLabelGauge,
|
|
242
243
|
ro as ZvChartOtherLiquidfill,
|
|
243
|
-
|
|
244
|
+
ht as ZvChartOtherParallelBasic,
|
|
244
245
|
Zt as ZvChartOtherParallelMul,
|
|
245
246
|
Lo as ZvChartOtherRadar,
|
|
246
247
|
Qt as ZvChartOtherRadarStack,
|
|
@@ -254,7 +255,7 @@ export {
|
|
|
254
255
|
me as ZvChartOtherThemeRiver,
|
|
255
256
|
xe as ZvChartOtherTree,
|
|
256
257
|
qo as ZvChartOtherTreeLine,
|
|
257
|
-
|
|
258
|
+
he as ZvChartOtherTreemap,
|
|
258
259
|
Qo as ZvChartOtherTreemapBasic,
|
|
259
260
|
_r as ZvChartOtherWordCloud,
|
|
260
261
|
N as ZvChartPie3d,
|
|
@@ -308,7 +309,7 @@ export {
|
|
|
308
309
|
Wt as ZvMapEarthFlyLine,
|
|
309
310
|
Et as ZvMapEarthHacker,
|
|
310
311
|
Ht as ZvMapEarthParticle,
|
|
311
|
-
|
|
312
|
+
ha as ZvMediaAudio,
|
|
312
313
|
Ta as ZvMediaAudioDynamic,
|
|
313
314
|
Ca as ZvMediaCarousel,
|
|
314
315
|
ca as ZvMediaCarouselSlides,
|
|
@@ -322,8 +323,9 @@ export {
|
|
|
322
323
|
xa as ZvMediaVideo,
|
|
323
324
|
Pa as ZvMediaVideoDynamic,
|
|
324
325
|
Re as ZvMediaWavesurfer,
|
|
325
|
-
|
|
326
|
+
hm as ZvSceneAmap2d,
|
|
326
327
|
Zm as ZvSceneAmap3d,
|
|
328
|
+
Lm as ZvSceneDefault,
|
|
327
329
|
xm as ZvSceneMap3d,
|
|
328
330
|
dm as ZvSceneUeIframe,
|
|
329
331
|
Sm as ZvSceneUeShj,
|
|
@@ -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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6e7a96b6"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { nanoid as
|
|
4
|
-
import { SHJDatasourceV2 as
|
|
5
|
-
import { autoInstallFont as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as k, watch as y, withDirectives as C, createElementBlock as z, openBlock as M, withModifiers as l, normalizeStyle as H, unref as v, isRef as J, vModelDynamic as L, ref as f, onMounted as j } from "vue";
|
|
2
|
+
import { cloneDeep as h, isEqual as E } from "lodash";
|
|
3
|
+
import { nanoid as b } from "nanoid";
|
|
4
|
+
import { SHJDatasourceV2 as q } from "../../commons/plugins/datasource/index.mjs";
|
|
5
|
+
import { autoInstallFont as I, jsonToCssStyle as d } from "../../commons/utils/json2css.mjs";
|
|
6
|
+
import { SHJParseEvent as s } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const x = ["type", "placeholder"], P = k({ name: "zv-interaction-input" }), W = /* @__PURE__ */ k({
|
|
8
|
+
...P,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -12,90 +13,90 @@ const j = ["type", "placeholder"], q = S({ name: "zv-interaction-input" }), N =
|
|
|
12
13
|
uuid: {}
|
|
13
14
|
},
|
|
14
15
|
emits: ["on-blur", "on-focus", "on-input", "on-change"],
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
const e =
|
|
18
|
-
if (
|
|
16
|
+
setup(D, { expose: S, emit: V }) {
|
|
17
|
+
const n = D, r = V, g = () => {
|
|
18
|
+
const e = f(""), o = f(), p = (u) => {
|
|
19
|
+
if (I(u.fontFamily), I(u.focus.fontFamily), o.value)
|
|
19
20
|
return {
|
|
20
|
-
...
|
|
21
|
-
...
|
|
22
|
-
...
|
|
21
|
+
...d(u),
|
|
22
|
+
...d(u.focus, "focus"),
|
|
23
|
+
...d(u.placeholder, "placeholder")
|
|
23
24
|
};
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
tId:
|
|
27
|
-
sources:
|
|
25
|
+
}, c = f(), m = () => {
|
|
26
|
+
q.parse({
|
|
27
|
+
tId: n.uuid,
|
|
28
|
+
sources: n.sources,
|
|
28
29
|
callback: ({ data: u }) => {
|
|
29
30
|
try {
|
|
30
|
-
|
|
31
|
+
s.parseEvents(n.useEvents, "dataListener", u), c.value = b(), e.value = u[0].data[0].value;
|
|
31
32
|
} catch {
|
|
32
|
-
|
|
33
|
+
s.parseEvents(n.useEvents, "dataListener", null), c.value = b();
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
37
|
};
|
|
37
|
-
return
|
|
38
|
-
key:
|
|
39
|
-
init:
|
|
40
|
-
rendererDomStyle:
|
|
38
|
+
return j(() => m()), {
|
|
39
|
+
key: c,
|
|
40
|
+
init: m,
|
|
41
|
+
rendererDomStyle: p,
|
|
41
42
|
inputRef: o,
|
|
42
43
|
inputValue: e
|
|
43
44
|
};
|
|
44
|
-
}, { key:
|
|
45
|
-
|
|
46
|
-
data:
|
|
45
|
+
}, { key: _, init: a, rendererDomStyle: w, inputRef: t, inputValue: i } = g(), F = (e) => {
|
|
46
|
+
t.value && (r("on-blur", e, t.value.value), s.parseEvents(n.useEvents, "on-blur", {
|
|
47
|
+
data: t.value.value,
|
|
47
48
|
event: e
|
|
48
49
|
}));
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
data:
|
|
50
|
+
}, O = (e) => {
|
|
51
|
+
t.value && (r("on-focus", e, t.value.value), s.parseEvents(n.useEvents, "on-focus", {
|
|
52
|
+
data: t.value.value,
|
|
52
53
|
event: e
|
|
53
54
|
}));
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
data:
|
|
55
|
+
}, R = (e) => {
|
|
56
|
+
t.value && (r("on-input", e, t.value.value), s.parseEvents(n.useEvents, "on-input", {
|
|
57
|
+
data: t.value.value,
|
|
57
58
|
event: e
|
|
58
59
|
}));
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
data:
|
|
60
|
+
}, B = (e) => {
|
|
61
|
+
t.value && (r("on-change", e, t.value.value), s.parseEvents(n.useEvents, "on-change", {
|
|
62
|
+
data: t.value.value,
|
|
62
63
|
event: e
|
|
63
64
|
}));
|
|
64
65
|
};
|
|
65
|
-
return
|
|
66
|
-
() =>
|
|
66
|
+
return y(
|
|
67
|
+
() => h(n.basicOption),
|
|
67
68
|
(e, o) => {
|
|
68
|
-
|
|
69
|
+
E(e, o) || a();
|
|
69
70
|
},
|
|
70
71
|
{ deep: !0 }
|
|
71
|
-
),
|
|
72
|
-
() =>
|
|
72
|
+
), y(
|
|
73
|
+
() => h(n.sources),
|
|
73
74
|
(e, o) => {
|
|
74
|
-
|
|
75
|
+
E(e, o) || a();
|
|
75
76
|
},
|
|
76
77
|
{ deep: !0 }
|
|
77
|
-
),
|
|
78
|
+
), S({
|
|
78
79
|
refresh: () => a(),
|
|
79
80
|
refreshView: () => a(),
|
|
80
81
|
refreshData: () => a()
|
|
81
|
-
}), (e, o) =>
|
|
82
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
83
|
-
key:
|
|
82
|
+
}), (e, o) => C((M(), z("input", {
|
|
83
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => J(i) ? i.value = p : null),
|
|
84
|
+
key: v(_),
|
|
84
85
|
ref_key: "inputRef",
|
|
85
|
-
ref:
|
|
86
|
+
ref: t,
|
|
86
87
|
type: e.basicOption.css.type || "text",
|
|
87
88
|
class: "zerov-widget-input",
|
|
88
89
|
placeholder: e.basicOption.placeholderValue,
|
|
89
|
-
style:
|
|
90
|
-
onBlur:
|
|
91
|
-
onFocus:
|
|
92
|
-
onInput:
|
|
93
|
-
onChange:
|
|
94
|
-
}, null, 44,
|
|
95
|
-
[
|
|
90
|
+
style: H(v(w)(e.basicOption.css)),
|
|
91
|
+
onBlur: l(F, ["stop"]),
|
|
92
|
+
onFocus: l(O, ["stop"]),
|
|
93
|
+
onInput: l(R, ["stop"]),
|
|
94
|
+
onChange: l(B, ["stop"])
|
|
95
|
+
}, null, 44, x)), [
|
|
96
|
+
[L, v(i)]
|
|
96
97
|
]);
|
|
97
98
|
}
|
|
98
99
|
});
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
W as default
|
|
101
102
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c5a3dc95"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|