@shjjs/visual-ui 1.0.18 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/commons/core/useChart.mjs +59 -58
- package/es/commons/{core → plugins}/datasource/index.mjs +5 -5
- package/es/commons/plugins/datasource/utils/utils.d.ts +84 -0
- package/es/commons/plugins/datasource/utils/utils.mjs +156 -0
- package/es/commons/plugins/event/actions/fullScreenAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/fullScreenAction.mjs +8 -0
- package/es/commons/plugins/event/actions/invokeAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/invokeAction.mjs +10 -0
- package/es/commons/plugins/event/actions/linkAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/linkAction.mjs +7 -0
- package/es/commons/plugins/event/actions/moveAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/moveAction.mjs +15 -0
- package/es/commons/plugins/event/actions/pageAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/pageAction.mjs +14 -0
- package/es/commons/plugins/event/actions/rotateAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/rotateAction.mjs +19 -0
- package/es/commons/plugins/event/actions/scaleAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/scaleAction.mjs +24 -0
- package/es/commons/plugins/event/actions/sendApiAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/sendApiAction.mjs +16 -0
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
- package/es/commons/plugins/event/actions/updatePageAction.d.ts +8 -0
- package/es/commons/plugins/event/actions/updatePageAction.mjs +6 -0
- package/es/commons/plugins/event/actions/updateVariableAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/updateVariableAction.mjs +23 -0
- package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/updateWidgetAction.mjs +13 -0
- package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +7 -0
- package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
- package/es/commons/plugins/event/index.d.ts +202 -0
- package/es/commons/plugins/event/index.mjs +150 -0
- package/es/commons/plugins/event/utils/utils.d.ts +22 -0
- package/es/commons/plugins/event/utils/utils.mjs +52 -0
- package/es/commons/utils/getNextElement.d.ts +7 -0
- package/es/commons/utils/getNextElement.mjs +12 -0
- package/es/components/chart-bar-animation/index.vue.mjs +24 -23
- package/es/components/chart-bar-basic/index.vue.mjs +24 -23
- package/es/components/chart-bar-contrast/index.vue.mjs +32 -31
- package/es/components/chart-bar-contrast2/index.vue.mjs +23 -22
- package/es/components/chart-bar-contrast3/index.vue.mjs +25 -24
- package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +24 -23
- package/es/components/chart-bar-horizontal/index.vue.mjs +25 -24
- package/es/components/chart-bar-horizontal-stack/index.vue.mjs +25 -24
- package/es/components/chart-bar-line-bar/index.vue.mjs +23 -22
- package/es/components/chart-bar-line-bar2/index.vue.mjs +23 -22
- package/es/components/chart-bar-loop/index.vue.mjs +25 -24
- package/es/components/chart-bar-mini/index.vue.mjs +25 -24
- package/es/components/chart-bar-polar/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar-stack/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar2/index.vue.mjs +23 -22
- package/es/components/chart-bar-radius-circle/index.vue.mjs +23 -22
- package/es/components/chart-bar-rank/index.vue.mjs +25 -24
- package/es/components/chart-bar-segmented-progress/index.vue.mjs +27 -26
- package/es/components/chart-bar-spire/index.vue.mjs +30 -29
- package/es/components/chart-bar-stack/index.vue.mjs +24 -23
- package/es/components/chart-bar-stack-line/index.vue.mjs +23 -22
- package/es/components/chart-bar-stack2/index.vue.mjs +23 -22
- package/es/components/chart-bar-stack3/index.vue.mjs +23 -22
- package/es/components/chart-bar-staggered/index.vue.mjs +23 -22
- package/es/components/chart-bar-three/index.vue.mjs +21 -20
- package/es/components/chart-bar-waterfall/index.vue.mjs +30 -29
- package/es/components/chart-bar-zebra/index.vue.mjs +23 -22
- package/es/components/chart-line-area-gradient/index.vue.mjs +24 -23
- package/es/components/chart-line-area-highlight/index.vue.mjs +23 -22
- package/es/components/chart-line-area-highlight2/index.vue.mjs +23 -22
- package/es/components/chart-line-basic/index.vue.mjs +25 -24
- package/es/components/chart-line-bump/index.vue.mjs +30 -29
- package/es/components/chart-line-dashed/index.vue.mjs +24 -23
- package/es/components/chart-line-ladder/index.vue.mjs +24 -23
- package/es/components/chart-line-logarithm/index.vue.mjs +29 -28
- package/es/components/chart-line-multix/index.vue.mjs +29 -28
- package/es/components/chart-line-polar-double/index.vue.mjs +25 -24
- package/es/components/chart-line-rain-flow/index.vue.mjs +29 -28
- package/es/components/chart-line-scale/index.vue.mjs +24 -23
- package/es/components/chart-line-smooth/index.vue.mjs +24 -23
- package/es/components/chart-line-smooth-area/index.vue.mjs +29 -28
- package/es/components/chart-line-stack/index.vue.mjs +24 -23
- package/es/components/chart-line-stack-area/index.vue.mjs +24 -23
- package/es/components/chart-line-temp/index.vue.mjs +29 -28
- package/es/components/chart-line-vertical/index.vue.mjs +24 -23
- package/es/components/chart-map-basic/index.vue.mjs +29 -28
- package/es/components/chart-map-bmap-basic/index.vue.mjs +25 -24
- package/es/components/chart-map-bmap-heatmap/index.vue.mjs +24 -23
- package/es/components/chart-map-bmap-rich/index.vue.mjs +24 -23
- package/es/components/chart-map-customize/index.vue.mjs +23 -22
- package/es/components/chart-map-lines/index.vue.mjs +24 -23
- package/es/components/chart-map-scatter/index.vue.mjs +24 -23
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +25 -24
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +22 -21
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +22 -21
- package/es/components/chart-other-circular-graph/index.vue.mjs +20 -19
- package/es/components/chart-other-force/index.vue.mjs +22 -21
- package/es/components/chart-other-force2/index.vue.mjs +22 -21
- package/es/components/chart-other-funnel/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel-split/index.vue.mjs +20 -19
- package/es/components/chart-other-funnel2/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge-grade/index.vue.mjs +20 -19
- package/es/components/chart-other-gauge-stage/index.vue.mjs +20 -19
- package/es/components/chart-other-graph-basic/index.vue.mjs +21 -20
- package/es/components/chart-other-graph-basic2/index.vue.mjs +21 -20
- package/es/components/chart-other-graph-calendar/index.vue.mjs +21 -20
- package/es/components/chart-other-grid-percentage/index.vue.mjs +25 -24
- package/es/components/chart-other-heatmap/index.vue.mjs +23 -22
- package/es/components/chart-other-label-gauge/index.vue.mjs +30 -29
- package/es/components/chart-other-liquidfill/index.vue.mjs +22 -21
- package/es/components/chart-other-parallel-basic/index.vue.mjs +21 -20
- package/es/components/chart-other-parallel-mul/index.vue.mjs +30 -29
- package/es/components/chart-other-radar/index.vue.mjs +32 -31
- package/es/components/chart-other-radar-stack/index.vue.mjs +23 -22
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-book/index.vue.mjs +22 -21
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +22 -21
- package/es/components/chart-other-theme-river/index.vue.mjs +25 -24
- package/es/components/chart-other-tree/index.vue.mjs +20 -19
- package/es/components/chart-other-tree-line/index.vue.mjs +21 -20
- package/es/components/chart-other-treemap/index.vue.mjs +19 -18
- package/es/components/chart-other-treemap-basic/index.vue.mjs +20 -19
- package/es/components/chart-other-word-cloud/index.vue.mjs +18 -17
- package/es/components/chart-pie-3d/index.vue.mjs +25 -24
- package/es/components/chart-pie-basic/index.vue.mjs +23 -22
- package/es/components/chart-pie-basic2/index.vue.mjs +23 -22
- package/es/components/chart-pie-customized/index.vue.mjs +28 -27
- package/es/components/chart-pie-index/index.vue.mjs +22 -21
- package/es/components/chart-pie-interval/index.vue.mjs +22 -21
- package/es/components/chart-pie-legend-scroll/index.vue.mjs +28 -27
- package/es/components/chart-pie-radius/index.vue.mjs +22 -21
- package/es/components/chart-pie-rose/index.vue.mjs +27 -26
- package/es/components/chart-pie-round/index.vue.mjs +27 -26
- package/es/components/chart-pie-semicircle/index.vue.mjs +23 -22
- package/es/components/chart-pie-sunburst/index.vue.mjs +23 -22
- package/es/components/chart-scatter-basic/index.vue.mjs +24 -23
- package/es/components/chart-scatter-basic2/index.vue.mjs +24 -23
- package/es/components/chart-scatter-bubble/index.vue.mjs +25 -24
- package/es/components/chart-scatter-ripples/index.vue.mjs +21 -20
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +22 -21
- package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +39 -38
- package/es/components/commons-product-model/index.vue.mjs +1 -1
- package/es/components/commons-product-model/index.vue2.mjs +40 -39
- package/es/components/commons-three-loader/index.vue.mjs +2 -2
- package/es/components/commons-three-loader/index.vue2.mjs +6 -5
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +60 -59
- package/es/components/commons-weather/index.vue.mjs +2 -2
- package/es/components/commons-weather/index.vue2.mjs +45 -44
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +16 -14
- package/es/components/interaction-input/index.vue.mjs +1 -1
- package/es/components/interaction-input/index.vue2.mjs +56 -55
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +83 -82
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +45 -44
- package/es/components/interaction-switch/index.vue.mjs +2 -2
- package/es/components/interaction-switch/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs/index.vue.mjs +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +31 -30
- package/es/components/map-earth-basic/index.vue.d.ts +4 -4
- package/es/components/map-earth-basic/index.vue.mjs +30 -29
- package/es/components/map-earth-cool-tech/index.vue.d.ts +0 -2
- package/es/components/map-earth-cool-tech/index.vue.mjs +30 -29
- package/es/components/map-earth-fly-line/index.vue.d.ts +4 -2
- package/es/components/map-earth-fly-line/index.vue.mjs +34 -33
- package/es/components/map-earth-hacker/index.vue.d.ts +4 -2
- package/es/components/map-earth-hacker/index.vue.mjs +29 -28
- package/es/components/map-earth-particle/index.vue.d.ts +4 -2
- package/es/components/map-earth-particle/index.vue.mjs +30 -29
- package/es/components/media-audio/index.vue.mjs +1 -1
- package/es/components/media-audio/index.vue2.mjs +49 -48
- package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue2.mjs +58 -57
- package/es/components/media-flv/index.vue.mjs +40 -39
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +14 -13
- package/es/components/media-image-dynamic/index.vue.mjs +2 -2
- package/es/components/media-image-dynamic/index.vue2.mjs +23 -22
- package/es/components/media-m3u8/index.vue.mjs +39 -38
- package/es/components/media-m3u8-dynamic/index.vue.mjs +54 -53
- package/es/components/media-video/index.vue.mjs +1 -1
- package/es/components/media-video/index.vue2.mjs +38 -37
- package/es/components/media-video-dynamic/index.vue.mjs +1 -1
- package/es/components/media-video-dynamic/index.vue2.mjs +49 -48
- package/es/components/scene-amap2d/index.vue.mjs +1 -1
- package/es/components/scene-amap2d/index.vue2.mjs +107 -104
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +95 -92
- package/es/components/scene-default/index.d.ts +39 -0
- package/es/components/scene-default/index.mjs +7 -0
- package/es/components/scene-default/index.vue.d.ts +40 -0
- package/es/components/scene-default/index.vue.mjs +7 -0
- package/es/components/scene-default/index.vue2.mjs +35 -0
- package/es/components/scene-map3d/index.d.ts +1 -1
- package/es/components/scene-map3d/index.vue.d.ts +1 -1
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +129 -126
- package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
- package/es/components/scene-ue-iframe/index.vue2.mjs +19 -18
- package/es/components/scene-ue-shj/index.vue.mjs +1 -1
- package/es/components/scene-ue-shj/index.vue2.mjs +14 -13
- package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
- package/es/components/scene-unity-iframe/index.vue2.mjs +19 -16
- package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
- package/es/components/scene-unity-webgl/index.vue2.mjs +16 -13
- package/es/components/scene-vr/index.vue.mjs +1 -1
- package/es/components/scene-vr/index.vue2.mjs +162 -159
- package/es/components/text-count-down/index.vue.mjs +1 -1
- package/es/components/text-count-down/index.vue2.mjs +34 -33
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +49 -48
- package/es/components/text-real-time/index.vue.mjs +2 -2
- package/es/components/text-real-time/index.vue2.mjs +26 -25
- package/es/components/text-row-scroll/index.vue.mjs +1 -1
- package/es/components/text-row-scroll/index.vue2.mjs +83 -82
- package/es/components/text-table-basic/index.vue.mjs +3 -3
- package/es/components/text-table-basic/index.vue2.mjs +97 -96
- package/es/components/text-table-scroll/index.vue.mjs +1 -1
- package/es/components/text-table-scroll/index.vue2.mjs +96 -95
- package/es/components/text-text-dynamic/index.vue.mjs +1 -1
- package/es/components/text-text-dynamic/index.vue2.mjs +29 -28
- package/es/env.d.ts +0 -2
- package/es/index.d.ts +6 -1
- package/es/index.mjs +358 -346
- package/es/widgets.css +1 -1
- package/lib/commons/core/useChart.js +1 -1
- package/lib/commons/{core → plugins}/datasource/index.js +1 -1
- package/lib/commons/plugins/datasource/utils/utils.js +1 -0
- package/lib/commons/plugins/event/actions/fullScreenAction.js +1 -0
- package/lib/commons/plugins/event/actions/invokeAction.js +1 -0
- package/lib/commons/plugins/event/actions/linkAction.js +1 -0
- package/lib/commons/plugins/event/actions/moveAction.js +1 -0
- package/lib/commons/plugins/event/actions/pageAction.js +1 -0
- package/lib/commons/plugins/event/actions/rotateAction.js +1 -0
- package/lib/commons/plugins/event/actions/scaleAction.js +1 -0
- package/lib/commons/plugins/event/actions/sendApiAction.js +1 -0
- package/lib/commons/plugins/event/actions/ueCommonsWebscoketAction.js +1 -0
- package/lib/commons/plugins/event/actions/ueShjExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/unityIframeExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/unityWebglExecMethodAction.js +1 -0
- package/lib/commons/plugins/event/actions/updatePageAction.js +1 -0
- package/lib/commons/plugins/event/actions/updateVariableAction.js +1 -0
- package/lib/commons/plugins/event/actions/updateWidgetAction.js +1 -0
- package/lib/commons/plugins/event/actions/vrSceneMethodAction.js +1 -0
- package/lib/commons/plugins/event/index.js +9 -0
- package/lib/commons/plugins/event/utils/utils.js +1 -0
- package/lib/commons/utils/getNextElement.js +1 -0
- package/lib/components/chart-bar-animation/index.vue.js +1 -1
- package/lib/components/chart-bar-basic/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast2/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast3/index.vue.js +1 -1
- package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar2/index.vue.js +1 -1
- package/lib/components/chart-bar-loop/index.vue.js +1 -1
- package/lib/components/chart-bar-mini/index.vue.js +1 -1
- package/lib/components/chart-bar-polar/index.vue.js +1 -1
- package/lib/components/chart-bar-polar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-polar2/index.vue.js +1 -1
- package/lib/components/chart-bar-radius-circle/index.vue.js +1 -1
- package/lib/components/chart-bar-rank/index.vue.js +1 -1
- package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -1
- package/lib/components/chart-bar-spire/index.vue.js +1 -1
- package/lib/components/chart-bar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-stack-line/index.vue.js +1 -1
- package/lib/components/chart-bar-stack2/index.vue.js +1 -1
- package/lib/components/chart-bar-stack3/index.vue.js +1 -1
- package/lib/components/chart-bar-staggered/index.vue.js +1 -1
- package/lib/components/chart-bar-three/index.vue.js +1 -1
- package/lib/components/chart-bar-waterfall/index.vue.js +1 -1
- package/lib/components/chart-bar-zebra/index.vue.js +1 -1
- package/lib/components/chart-line-area-gradient/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight2/index.vue.js +1 -1
- package/lib/components/chart-line-basic/index.vue.js +1 -1
- package/lib/components/chart-line-bump/index.vue.js +1 -1
- package/lib/components/chart-line-dashed/index.vue.js +1 -1
- package/lib/components/chart-line-ladder/index.vue.js +1 -1
- package/lib/components/chart-line-logarithm/index.vue.js +1 -1
- package/lib/components/chart-line-multix/index.vue.js +1 -1
- package/lib/components/chart-line-polar-double/index.vue.js +1 -1
- package/lib/components/chart-line-rain-flow/index.vue.js +1 -1
- package/lib/components/chart-line-scale/index.vue.js +1 -1
- package/lib/components/chart-line-smooth/index.vue.js +1 -1
- package/lib/components/chart-line-smooth-area/index.vue.js +1 -1
- package/lib/components/chart-line-stack/index.vue.js +1 -1
- package/lib/components/chart-line-stack-area/index.vue.js +1 -1
- package/lib/components/chart-line-temp/index.vue.js +1 -1
- package/lib/components/chart-line-vertical/index.vue.js +1 -1
- package/lib/components/chart-map-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-rich/index.vue.js +1 -1
- package/lib/components/chart-map-customize/index.vue.js +1 -1
- package/lib/components/chart-map-lines/index.vue.js +1 -1
- package/lib/components/chart-map-scatter/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-basic/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-demo/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-shanghai/index.vue.js +1 -1
- package/lib/components/chart-other-circular-graph/index.vue.js +1 -1
- package/lib/components/chart-other-force/index.vue.js +1 -1
- package/lib/components/chart-other-force2/index.vue.js +1 -1
- package/lib/components/chart-other-funnel/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-contrast/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-split/index.vue.js +1 -1
- package/lib/components/chart-other-funnel2/index.vue.js +1 -1
- package/lib/components/chart-other-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-grade/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-stage/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-graph-calendar/index.vue.js +1 -1
- package/lib/components/chart-other-grid-percentage/index.vue.js +1 -1
- package/lib/components/chart-other-heatmap/index.vue.js +1 -1
- package/lib/components/chart-other-label-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-liquidfill/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-basic/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-mul/index.vue.js +1 -1
- package/lib/components/chart-other-radar/index.vue.js +1 -1
- package/lib/components/chart-other-radar-stack/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic3/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic4/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-book/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-flavors/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-radius/index.vue.js +1 -1
- package/lib/components/chart-other-theme-river/index.vue.js +1 -1
- package/lib/components/chart-other-tree/index.vue.js +1 -1
- package/lib/components/chart-other-tree-line/index.vue.js +1 -1
- package/lib/components/chart-other-treemap/index.vue.js +1 -1
- package/lib/components/chart-other-treemap-basic/index.vue.js +1 -1
- package/lib/components/chart-other-word-cloud/index.vue.js +1 -1
- package/lib/components/chart-pie-3d/index.vue.js +1 -1
- package/lib/components/chart-pie-basic/index.vue.js +1 -1
- package/lib/components/chart-pie-basic2/index.vue.js +1 -1
- package/lib/components/chart-pie-customized/index.vue.js +1 -1
- package/lib/components/chart-pie-index/index.vue.js +1 -1
- package/lib/components/chart-pie-interval/index.vue.js +1 -1
- package/lib/components/chart-pie-legend-scroll/index.vue.js +1 -1
- package/lib/components/chart-pie-radius/index.vue.js +1 -1
- package/lib/components/chart-pie-rose/index.vue.js +1 -1
- package/lib/components/chart-pie-round/index.vue.js +1 -1
- package/lib/components/chart-pie-semicircle/index.vue.js +1 -1
- package/lib/components/chart-pie-sunburst/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic2/index.vue.js +1 -1
- package/lib/components/chart-scatter-bubble/index.vue.js +1 -1
- package/lib/components/chart-scatter-ripples/index.vue.js +1 -1
- package/lib/components/commons-echarts/compileAndRunEcharts.js +6 -6
- package/lib/components/commons-loop-iterator/index.vue.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue2.js +1 -1
- package/lib/components/commons-product-model/index.vue.js +1 -1
- package/lib/components/commons-product-model/index.vue2.js +1 -1
- package/lib/components/commons-three-loader/index.vue.js +1 -1
- package/lib/components/commons-three-loader/index.vue2.js +1 -1
- package/lib/components/commons-three-loader3/index.vue.js +1 -1
- package/lib/components/commons-three-loader3/index.vue2.js +1 -1
- package/lib/components/commons-weather/index.vue.js +1 -1
- package/lib/components/commons-weather/index.vue2.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/interaction-input/index.vue.js +1 -1
- package/lib/components/interaction-input/index.vue2.js +1 -1
- package/lib/components/interaction-select/index.vue.js +1 -1
- package/lib/components/interaction-select/index.vue2.js +1 -1
- package/lib/components/interaction-slider/index.vue.js +1 -1
- package/lib/components/interaction-slider/index.vue2.js +1 -1
- package/lib/components/interaction-switch/index.vue.js +1 -1
- package/lib/components/interaction-switch/index.vue2.js +1 -1
- package/lib/components/interaction-tabs/index.vue.js +1 -1
- package/lib/components/interaction-tabs/index.vue2.js +1 -1
- package/lib/components/interaction-tabs2/index.vue.js +1 -1
- package/lib/components/interaction-tabs2/index.vue2.js +1 -1
- package/lib/components/map-earth-basic/index.vue.js +1 -1
- package/lib/components/map-earth-cool-tech/index.vue.js +1 -1
- package/lib/components/map-earth-fly-line/index.vue.js +1 -1
- package/lib/components/map-earth-hacker/index.vue.js +1 -1
- package/lib/components/map-earth-particle/index.vue.js +1 -1
- package/lib/components/media-audio/index.vue.js +1 -1
- package/lib/components/media-audio/index.vue2.js +1 -1
- package/lib/components/media-audio-dynamic/index.vue.js +1 -1
- package/lib/components/media-audio-dynamic/index.vue2.js +1 -1
- package/lib/components/media-flv/index.vue.js +1 -1
- package/lib/components/media-iframe/index.vue.js +1 -1
- package/lib/components/media-iframe/index.vue2.js +1 -1
- package/lib/components/media-image-dynamic/index.vue.js +1 -1
- package/lib/components/media-image-dynamic/index.vue2.js +1 -1
- package/lib/components/media-m3u8/index.vue.js +1 -1
- package/lib/components/media-m3u8-dynamic/index.vue.js +1 -1
- package/lib/components/media-video/index.vue.js +1 -1
- package/lib/components/media-video/index.vue2.js +1 -1
- package/lib/components/media-video-dynamic/index.vue.js +1 -1
- package/lib/components/media-video-dynamic/index.vue2.js +1 -1
- package/lib/components/scene-amap2d/index.vue.js +1 -1
- package/lib/components/scene-amap2d/index.vue2.js +1 -1
- package/lib/components/scene-amap3d/index.vue.js +1 -1
- package/lib/components/scene-amap3d/index.vue2.js +4 -4
- package/lib/components/scene-default/index.js +1 -0
- package/lib/components/scene-default/index.vue.js +1 -0
- package/lib/components/scene-default/index.vue2.js +1 -0
- package/lib/components/scene-map3d/index.vue.js +1 -1
- package/lib/components/scene-map3d/index.vue2.js +1 -1
- package/lib/components/scene-ue-iframe/index.vue.js +1 -1
- package/lib/components/scene-ue-iframe/index.vue2.js +1 -1
- package/lib/components/scene-ue-shj/index.vue.js +1 -1
- package/lib/components/scene-ue-shj/index.vue2.js +1 -1
- package/lib/components/scene-unity-iframe/index.vue.js +1 -1
- package/lib/components/scene-unity-iframe/index.vue2.js +1 -1
- package/lib/components/scene-unity-webgl/index.vue.js +1 -1
- package/lib/components/scene-unity-webgl/index.vue2.js +1 -1
- package/lib/components/scene-vr/index.vue.js +1 -1
- package/lib/components/scene-vr/index.vue2.js +2 -2
- package/lib/components/text-count-down/index.vue.js +1 -1
- package/lib/components/text-count-down/index.vue2.js +1 -1
- package/lib/components/text-over-number/index.vue.js +1 -1
- package/lib/components/text-over-number/index.vue2.js +1 -1
- package/lib/components/text-real-time/index.vue.js +1 -1
- package/lib/components/text-real-time/index.vue2.js +1 -1
- package/lib/components/text-row-scroll/index.vue.js +1 -1
- package/lib/components/text-row-scroll/index.vue2.js +1 -1
- package/lib/components/text-table-basic/index.vue.js +1 -1
- package/lib/components/text-table-basic/index.vue2.js +1 -1
- package/lib/components/text-table-scroll/index.vue.js +1 -1
- package/lib/components/text-table-scroll/index.vue2.js +1 -1
- package/lib/components/text-text-dynamic/index.vue.js +1 -1
- package/lib/components/text-text-dynamic/index.vue2.js +1 -1
- package/lib/index.js +1 -1
- package/lib/widgets.css +1 -1
- package/package.json +1 -1
- package/es/commons/core/datasource/utils/utils.d.ts +0 -50
- package/es/commons/core/datasource/utils/utils.mjs +0 -123
- package/lib/commons/core/datasource/utils/utils.js +0 -1
- /package/es/commons/{core → plugins}/datasource/index.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.mjs +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.d.ts +0 -0
- /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.mjs +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/axios.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/axios.mjs +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/request.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/request.mjs +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/wsManager.d.ts +0 -0
- /package/es/commons/{core → plugins}/datasource/utils/wsManager.mjs +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/api.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/static.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/url.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/variable.js +0 -0
- /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/ws.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/axios.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/request.js +0 -0
- /package/lib/commons/{core → plugins}/datasource/utils/wsManager.js +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { nanoid as
|
|
3
|
-
import { cloneDeep as I, isEqual as
|
|
1
|
+
import { defineComponent as B, ref as f, computed as te, onMounted as oe, watch as F, withDirectives as re, createElementBlock as s, openBlock as d, normalizeClass as y, unref as o, createElementVNode as u, createVNode as ne, normalizeStyle as h, createCommentVNode as S, toDisplayString as O, Transition as ae, withCtx as le, Fragment as ie, renderList as ce, withModifiers as se } from "vue";
|
|
2
|
+
import { nanoid as V } from "nanoid";
|
|
3
|
+
import { cloneDeep as I, isEqual as j } from "lodash";
|
|
4
4
|
import { jsonToCssStyle as r, autoInstallFont as v } from "../../commons/utils/json2css.mjs";
|
|
5
|
-
import
|
|
6
|
-
import { SHJDatasourceV2 as
|
|
7
|
-
|
|
5
|
+
import de from "../../commons/utils/clickOutSide.mjs";
|
|
6
|
+
import { SHJDatasourceV2 as ue } from "../../commons/plugins/datasource/index.mjs";
|
|
7
|
+
import { SHJParseEvent as z } from "../../commons/plugins/event/index.mjs";
|
|
8
|
+
const pe = { style: { display: "flex", "align-items": "center", gap: "4px" } }, fe = {
|
|
8
9
|
key: 1,
|
|
9
10
|
class: "zerov-widget-select__prefix"
|
|
10
|
-
},
|
|
11
|
-
...
|
|
11
|
+
}, ve = ["src"], me = ["src"], he = ["onClick"], be = ["src"], Se = { class: "zerov-widget-select__option-label" }, ge = B({ name: "zv-interaction-select" }), ze = /* @__PURE__ */ B({
|
|
12
|
+
...ge,
|
|
12
13
|
props: {
|
|
13
14
|
basicOption: {},
|
|
14
15
|
sources: {},
|
|
@@ -16,8 +17,8 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
|
|
|
16
17
|
uuid: {}
|
|
17
18
|
},
|
|
18
19
|
emits: ["update:modelValue", "on-change"],
|
|
19
|
-
setup(
|
|
20
|
-
const p =
|
|
20
|
+
setup(L, { expose: R, emit: T }) {
|
|
21
|
+
const p = L, N = () => {
|
|
21
22
|
const t = f(), c = (e) => {
|
|
22
23
|
if (t.value) {
|
|
23
24
|
v(e.fontFamily), v(e.hover.fontFamily), v(e.focus.fontFamily);
|
|
@@ -50,7 +51,7 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
|
|
|
50
51
|
padding: `${e.padding.map((a) => `${a}px`).join(" ")}`
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
|
-
},
|
|
54
|
+
}, P = (e) => {
|
|
54
55
|
if (t.value)
|
|
55
56
|
return v(e.fontFamily), {
|
|
56
57
|
padding: `${e.padding.map((n) => `${n}px`).join(" ")}`,
|
|
@@ -58,22 +59,22 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
|
|
|
58
59
|
...r(e.hover, "hover"),
|
|
59
60
|
...r(e.active, "active")
|
|
60
61
|
};
|
|
61
|
-
},
|
|
62
|
+
}, W = (e) => {
|
|
62
63
|
if (t.value)
|
|
63
64
|
return v(e.fontFamily), {
|
|
64
65
|
...r(e)
|
|
65
66
|
};
|
|
66
|
-
},
|
|
67
|
+
}, Z = (e) => {
|
|
67
68
|
if (t.value)
|
|
68
69
|
return v(e.fontFamily), {
|
|
69
70
|
...r(e),
|
|
70
71
|
...r(e, "hover"),
|
|
71
72
|
...r(e, "focus")
|
|
72
73
|
};
|
|
73
|
-
},
|
|
74
|
+
}, C = (e, n) => {
|
|
74
75
|
const a = n.find((k) => k.type === e);
|
|
75
76
|
return a ? a.url : "";
|
|
76
|
-
},
|
|
77
|
+
}, ee = (e, n) => {
|
|
77
78
|
if (t.value) {
|
|
78
79
|
const a = n.find((k) => k.type === e);
|
|
79
80
|
if (a)
|
|
@@ -81,158 +82,158 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
|
|
|
81
82
|
...r(a)
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
|
-
}, $ = f(),
|
|
85
|
+
}, $ = f(), b = f([]);
|
|
85
86
|
return {
|
|
86
87
|
key: $,
|
|
87
88
|
init: () => {
|
|
88
|
-
|
|
89
|
+
ue.parse({
|
|
89
90
|
tId: p.uuid,
|
|
90
91
|
sources: p.sources,
|
|
91
92
|
callback: (e) => {
|
|
92
93
|
try {
|
|
93
|
-
|
|
94
|
+
z.parseEvents(p.useEvents, "dataListener", b), $.value = V(), e && e.data ? b.value = I(e.data[0].data) : b.value = [];
|
|
94
95
|
} catch {
|
|
95
|
-
|
|
96
|
+
z.parseEvents(p.useEvents, "dataListener", null), $.value = V(), b.value = [];
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
});
|
|
99
100
|
},
|
|
100
|
-
options:
|
|
101
|
+
options: b,
|
|
101
102
|
selectRef: t,
|
|
102
103
|
rendererSelectInput: c,
|
|
103
|
-
rendererSelectOption:
|
|
104
|
+
rendererSelectOption: P,
|
|
104
105
|
rendererSelectDropdown: l,
|
|
105
|
-
rendererSelectSelected:
|
|
106
|
-
rendererSelectPlaceholder:
|
|
107
|
-
rendererPrefixIcon:
|
|
108
|
-
rendererPrefixIconCss:
|
|
106
|
+
rendererSelectSelected: Z,
|
|
107
|
+
rendererSelectPlaceholder: W,
|
|
108
|
+
rendererPrefixIcon: C,
|
|
109
|
+
rendererPrefixIconCss: ee
|
|
109
110
|
};
|
|
110
|
-
},
|
|
111
|
-
const t =
|
|
111
|
+
}, w = f(""), E = T, i = f(!1), g = te(() => {
|
|
112
|
+
const t = D.value.find((c) => c.value === w.value);
|
|
112
113
|
return t ? t.label : "";
|
|
113
|
-
}),
|
|
114
|
+
}), H = () => {
|
|
114
115
|
i.value = !i.value;
|
|
115
|
-
}, _ = f(""),
|
|
116
|
-
|
|
116
|
+
}, _ = f(""), J = (t) => {
|
|
117
|
+
w.value = t.value, _.value = t.type, E("update:modelValue", t.value), E("on-change", t), z.parseEvents(p.useEvents, "on-change", {
|
|
117
118
|
data: t
|
|
118
119
|
}), i.value = !1;
|
|
119
|
-
},
|
|
120
|
+
}, M = () => {
|
|
120
121
|
i.value = !1;
|
|
121
122
|
}, {
|
|
122
|
-
key:
|
|
123
|
+
key: X,
|
|
123
124
|
init: m,
|
|
124
|
-
options:
|
|
125
|
-
selectRef:
|
|
126
|
-
rendererSelectInput:
|
|
127
|
-
rendererSelectOption:
|
|
128
|
-
rendererSelectDropdown:
|
|
129
|
-
rendererSelectSelected:
|
|
130
|
-
rendererSelectPlaceholder:
|
|
131
|
-
rendererPrefixIcon:
|
|
132
|
-
rendererPrefixIconCss:
|
|
133
|
-
} =
|
|
134
|
-
return
|
|
125
|
+
options: D,
|
|
126
|
+
selectRef: Y,
|
|
127
|
+
rendererSelectInput: q,
|
|
128
|
+
rendererSelectOption: A,
|
|
129
|
+
rendererSelectDropdown: G,
|
|
130
|
+
rendererSelectSelected: K,
|
|
131
|
+
rendererSelectPlaceholder: Q,
|
|
132
|
+
rendererPrefixIcon: x,
|
|
133
|
+
rendererPrefixIconCss: U
|
|
134
|
+
} = N();
|
|
135
|
+
return oe(() => m()), F(
|
|
135
136
|
() => I(p.basicOption),
|
|
136
137
|
(t, c) => {
|
|
137
|
-
|
|
138
|
+
j(t, c) || m();
|
|
138
139
|
},
|
|
139
140
|
{ deep: !0 }
|
|
140
|
-
),
|
|
141
|
+
), F(
|
|
141
142
|
() => I(p.sources),
|
|
142
143
|
(t, c) => {
|
|
143
|
-
|
|
144
|
+
j(t, c) || m();
|
|
144
145
|
},
|
|
145
146
|
{ deep: !0 }
|
|
146
|
-
),
|
|
147
|
+
), R({
|
|
147
148
|
refresh: () => m(),
|
|
148
149
|
refreshView: () => m(),
|
|
149
150
|
refreshData: () => m()
|
|
150
|
-
}), (t, c) =>
|
|
151
|
-
key: o(
|
|
151
|
+
}), (t, c) => re((d(), s("div", {
|
|
152
|
+
key: o(X),
|
|
152
153
|
ref_key: "selectRef",
|
|
153
|
-
ref:
|
|
154
|
-
class:
|
|
155
|
-
onClick:
|
|
154
|
+
ref: Y,
|
|
155
|
+
class: y(["zerov-widget-select", { "is-open": i.value }]),
|
|
156
|
+
onClick: H
|
|
156
157
|
}, [
|
|
157
158
|
u("div", {
|
|
158
|
-
class:
|
|
159
|
+
class: y(["zerov-widget-select__trigger", { "is-active": i.value }]),
|
|
159
160
|
style: h({
|
|
160
|
-
...o(
|
|
161
|
+
...o(q)(t.basicOption.input)
|
|
161
162
|
})
|
|
162
163
|
}, [
|
|
163
|
-
u("div",
|
|
164
|
-
|
|
164
|
+
u("div", pe, [
|
|
165
|
+
g.value ? S("", !0) : (d(), s("span", {
|
|
165
166
|
key: 0,
|
|
166
167
|
class: "zerov-widget-select__placeholder",
|
|
167
168
|
style: h({
|
|
168
|
-
...o(
|
|
169
|
+
...o(Q)(t.basicOption.input.placeholder)
|
|
169
170
|
})
|
|
170
171
|
}, O(t.basicOption.input.placeholder.value), 5)),
|
|
171
|
-
|
|
172
|
+
g.value && o(x)(_.value, t.basicOption.dropdown.option.prefixs) ? (d(), s("span", fe, [
|
|
172
173
|
u("img", {
|
|
173
|
-
src: o(
|
|
174
|
+
src: o(x)(_.value, t.basicOption.dropdown.option.prefixs),
|
|
174
175
|
alt: ""
|
|
175
|
-
}, null, 8,
|
|
176
|
-
])) :
|
|
177
|
-
|
|
176
|
+
}, null, 8, ve)
|
|
177
|
+
])) : S("", !0),
|
|
178
|
+
g.value ? (d(), s("span", {
|
|
178
179
|
key: 2,
|
|
179
180
|
class: "zerov-widget-select__selected",
|
|
180
181
|
style: h({
|
|
181
|
-
...o(
|
|
182
|
+
...o(K)(t.basicOption.input.selected)
|
|
182
183
|
})
|
|
183
|
-
}, O(
|
|
184
|
+
}, O(g.value), 5)) : S("", !0)
|
|
184
185
|
]),
|
|
185
186
|
u("span", {
|
|
186
|
-
class:
|
|
187
|
+
class: y(["zerov-widget-select__arrow", { "is-open": i.value }])
|
|
187
188
|
}, [
|
|
188
189
|
u("img", {
|
|
189
190
|
src: t.basicOption.input.arrow.url,
|
|
190
191
|
alt: ""
|
|
191
|
-
}, null, 8,
|
|
192
|
+
}, null, 8, me)
|
|
192
193
|
], 2)
|
|
193
194
|
], 6),
|
|
194
|
-
|
|
195
|
-
default:
|
|
195
|
+
ne(ae, { name: "fade-in-linear" }, {
|
|
196
|
+
default: le(() => [
|
|
196
197
|
i.value ? (d(), s("div", {
|
|
197
198
|
key: 0,
|
|
198
199
|
class: "zerov-widget-select__dropdown",
|
|
199
200
|
style: h({
|
|
200
|
-
...o(
|
|
201
|
+
...o(G)(t.basicOption.dropdown)
|
|
201
202
|
})
|
|
202
203
|
}, [
|
|
203
204
|
u("ul", null, [
|
|
204
|
-
(d(!0), s(
|
|
205
|
+
(d(!0), s(ie, null, ce(o(D), (l) => (d(), s("li", {
|
|
205
206
|
key: l.value,
|
|
206
|
-
class:
|
|
207
|
+
class: y([{ "is-selected": l.value === w.value }, "zerov-widget-select__option"]),
|
|
207
208
|
style: h({
|
|
208
|
-
...o(
|
|
209
|
+
...o(A)(t.basicOption.dropdown.option)
|
|
209
210
|
}),
|
|
210
|
-
onClick:
|
|
211
|
+
onClick: se((P) => J(l), ["stop"])
|
|
211
212
|
}, [
|
|
212
|
-
o(
|
|
213
|
+
o(x)(l.type, t.basicOption.dropdown.option.prefixs) ? (d(), s("span", {
|
|
213
214
|
key: 0,
|
|
214
215
|
class: "zerov-widget-select__option-prefix",
|
|
215
216
|
style: h({
|
|
216
|
-
...o(
|
|
217
|
+
...o(U)(l.type, t.basicOption.dropdown.option.prefixs)
|
|
217
218
|
})
|
|
218
219
|
}, [
|
|
219
220
|
u("img", {
|
|
220
|
-
src: o(
|
|
221
|
+
src: o(x)(l.type, t.basicOption.dropdown.option.prefixs),
|
|
221
222
|
alt: ""
|
|
222
|
-
}, null, 8,
|
|
223
|
-
], 4)) :
|
|
223
|
+
}, null, 8, be)
|
|
224
|
+
], 4)) : S("", !0),
|
|
224
225
|
u("span", Se, O(l.label), 1)
|
|
225
|
-
], 14,
|
|
226
|
+
], 14, he))), 128))
|
|
226
227
|
])
|
|
227
|
-
], 4)) :
|
|
228
|
+
], 4)) : S("", !0)
|
|
228
229
|
]),
|
|
229
230
|
_: 1
|
|
230
231
|
})
|
|
231
232
|
], 2)), [
|
|
232
|
-
[o(
|
|
233
|
+
[o(de), M]
|
|
233
234
|
]);
|
|
234
235
|
}
|
|
235
236
|
});
|
|
236
237
|
export {
|
|
237
|
-
|
|
238
|
+
ze as default
|
|
238
239
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-18e3309e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import
|
|
4
|
-
import { SHJDatasourceV2 as
|
|
1
|
+
import { defineComponent as l, useCssVars as O, ref as h, onMounted as g, watch as n, createElementBlock as v, openBlock as E, createVNode as H, unref as T } from "vue";
|
|
2
|
+
import { cloneDeep as p, isEqual as r } from "lodash";
|
|
3
|
+
import V from "@vueform/slider";
|
|
4
|
+
import { SHJDatasourceV2 as w } from "../../commons/plugins/datasource/index.mjs";
|
|
5
5
|
import "@vueform/slider/themes/default.css";
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import { SHJParseEvent as a } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider" }), W = /* @__PURE__ */ l({
|
|
8
|
+
...B,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -12,71 +13,71 @@ const S = { class: "zerov-widget-slider" }, V = p({ name: "zv-interaction-slider
|
|
|
12
13
|
uuid: {}
|
|
13
14
|
},
|
|
14
15
|
emits: ["on-change"],
|
|
15
|
-
setup(
|
|
16
|
+
setup(d, { expose: c, emit: b }) {
|
|
16
17
|
O((s) => ({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
18
|
+
"3c5b8910": s.basicOption.css.sliderBg,
|
|
19
|
+
f3ecf0b8: s.basicOption.css.sliderConnectBg,
|
|
20
|
+
"9b89184a": s.basicOption.css.sliderHeight + "px",
|
|
21
|
+
"0446fa10": s.basicOption.css.sliderRadius + "px",
|
|
22
|
+
"7901f5d0": s.basicOption.css.sliderHandleBg,
|
|
23
|
+
bf9745cc: s.basicOption.css.sliderHandleWidth + "px",
|
|
24
|
+
"9e40ba5a": s.basicOption.css.sliderHandleHeight + "px",
|
|
25
|
+
"02eb2908": s.basicOption.css.sliderHandleRadius + "px",
|
|
26
|
+
"261491ea": s.basicOption.css.sliderHandleRingWidth + "px",
|
|
27
|
+
75889240: s.basicOption.css.sliderHandleRingColor,
|
|
28
|
+
ed677736: s.basicOption.css.sliderTooltipFontSize + "px",
|
|
29
|
+
"5cb2a3ce": s.basicOption.css.sliderTooltipFontWeight + "px",
|
|
30
|
+
de310706: s.basicOption.css.sliderTooltipBg,
|
|
31
|
+
ab3997aa: s.basicOption.css.sliderTooltipColor,
|
|
32
|
+
"3d0edefa": s.basicOption.css.sliderTooltipRadius + "px",
|
|
33
|
+
"09794f2c": s.basicOption.css.sliderTooltipPy + "px",
|
|
34
|
+
bccfbb66: s.basicOption.css.sliderTooltipPx + "px",
|
|
35
|
+
"2afba7db": s.basicOption.css.sliderTooltipArrowSize + "px",
|
|
36
|
+
"6a864c80": s.basicOption.css.sliderTooltipDistance + "px"
|
|
36
37
|
}));
|
|
37
|
-
const i =
|
|
38
|
-
|
|
38
|
+
const i = d, u = b, t = h(20), o = () => {
|
|
39
|
+
w.parse({
|
|
39
40
|
tId: i.uuid,
|
|
40
41
|
sources: i.sources,
|
|
41
42
|
callback: ({ data: s }) => {
|
|
42
43
|
try {
|
|
43
|
-
|
|
44
|
+
a.parseEvents(i.useEvents, "dataListener", s), t.value = s[0].data[0].value;
|
|
44
45
|
} catch {
|
|
45
|
-
|
|
46
|
+
a.parseEvents(i.useEvents, "dataListener", null);
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
});
|
|
49
50
|
};
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
|
|
51
|
+
g(() => o());
|
|
52
|
+
const f = (s) => {
|
|
53
|
+
u("on-change", {
|
|
53
54
|
data: s,
|
|
54
55
|
event: s
|
|
55
|
-
}),
|
|
56
|
+
}), a.parseEvents(i.useEvents, "on-change", {
|
|
56
57
|
data: s,
|
|
57
58
|
event: s
|
|
58
59
|
});
|
|
59
60
|
};
|
|
60
|
-
return
|
|
61
|
-
() =>
|
|
61
|
+
return n(
|
|
62
|
+
() => p(i.basicOption),
|
|
62
63
|
(s, e) => {
|
|
63
64
|
r(s, e) || o();
|
|
64
65
|
},
|
|
65
66
|
{ deep: !0 }
|
|
66
|
-
),
|
|
67
|
-
() =>
|
|
67
|
+
), n(
|
|
68
|
+
() => p(i.sources),
|
|
68
69
|
(s, e) => {
|
|
69
70
|
r(s, e) || o();
|
|
70
71
|
},
|
|
71
72
|
{ deep: !0 }
|
|
72
|
-
),
|
|
73
|
+
), c({
|
|
73
74
|
refresh: () => o(),
|
|
74
75
|
refreshView: () => o(),
|
|
75
76
|
refreshData: () => o()
|
|
76
|
-
}), (s, e) => (
|
|
77
|
-
|
|
77
|
+
}), (s, e) => (E(), v("div", C, [
|
|
78
|
+
H(T(V), {
|
|
78
79
|
modelValue: t.value,
|
|
79
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
80
|
+
"onUpdate:modelValue": e[0] || (e[0] = (m) => t.value = m),
|
|
80
81
|
class: "slider",
|
|
81
82
|
min: s.basicOption.slider.min,
|
|
82
83
|
max: s.basicOption.slider.max,
|
|
@@ -89,11 +90,11 @@ const S = { class: "zerov-widget-slider" }, V = p({ name: "zv-interaction-slider
|
|
|
89
90
|
suffix: s.basicOption.slider.suffix,
|
|
90
91
|
decimals: s.basicOption.slider.decimals
|
|
91
92
|
},
|
|
92
|
-
onChange:
|
|
93
|
+
onChange: f
|
|
93
94
|
}, null, 8, ["modelValue", "min", "max", "step", "tooltips", "show-tooltip", "tooltip-position", "format"])
|
|
94
95
|
]));
|
|
95
96
|
}
|
|
96
97
|
});
|
|
97
98
|
export {
|
|
98
|
-
|
|
99
|
+
W as default
|
|
99
100
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3644cf76"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as p, useCssVars as v, ref as d, watch as f, createElementBlock as b, openBlock as h, normalizeClass as O, withDirectives as m, createElementVNode as n, vModelCheckbox as w, pushScopeId as C, popScopeId as E } from "vue";
|
|
2
|
+
import { cloneDeep as V, isEqual as z } from "lodash";
|
|
3
|
+
import { SHJParseEvent as l } from "../../commons/plugins/event/index.mjs";
|
|
4
|
+
const S = (t) => (C("data-v-3644cf76"), t = t(), E(), t), _ = ["true-value", "false-value"], k = /* @__PURE__ */ S(() => /* @__PURE__ */ n("div", { class: "zv-switch__action" }, null, -1)), g = [
|
|
5
|
+
k
|
|
6
|
+
], B = p({ name: "zv-interaction-switch" }), $ = /* @__PURE__ */ p({
|
|
7
|
+
...B,
|
|
7
8
|
props: {
|
|
8
9
|
basicOption: {},
|
|
9
10
|
useEvents: {},
|
|
10
11
|
sceneOption: {}
|
|
11
12
|
},
|
|
12
13
|
emits: ["on-change", "on-open", "on-close"],
|
|
13
|
-
setup(
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
14
|
+
setup(t, { emit: u }) {
|
|
15
|
+
v((e) => ({
|
|
16
|
+
"1e49fb33": e.basicOption.css.onColor,
|
|
17
|
+
"3d1276a5": e.basicOption.css.offColor,
|
|
18
|
+
"785e8df6": e.basicOption.css.actionSize + "px",
|
|
19
|
+
af899230: e.basicOption.css.minWidth + "px",
|
|
20
|
+
"5b444888": e.basicOption.css.coreSize + "px",
|
|
21
|
+
79766582: e.basicOption.css.coreBorderRadius + "px",
|
|
22
|
+
"7e0e5188": e.basicOption.css.actionBorderRadius + "px",
|
|
23
|
+
"2e4dc5ee": e.basicOption.css.actionBackgroundColor
|
|
23
24
|
}));
|
|
24
|
-
const i =
|
|
25
|
+
const i = u, a = t, s = d(JSON.parse(a.basicOption.defaultValue)), r = (e) => {
|
|
25
26
|
s.value = !s.value;
|
|
26
27
|
const o = a.basicOption.trueValue === s.value ? "open" : "close";
|
|
27
|
-
i("on-change", s.value),
|
|
28
|
+
i("on-change", s.value), l.parseEvents(a.useEvents, "on-change", {
|
|
28
29
|
data: s.value
|
|
29
|
-
}), i(`on-${o}`, s.value),
|
|
30
|
+
}), i(`on-${o}`, s.value), l.parseEvents(a.useEvents, `on-${o}`, {
|
|
30
31
|
data: s.value
|
|
31
32
|
});
|
|
32
33
|
};
|
|
33
|
-
return
|
|
34
|
-
|
|
35
|
-
}, { deep: !0 }), (e, o) => (
|
|
36
|
-
class:
|
|
34
|
+
return f(() => V(a.basicOption), (e, o) => {
|
|
35
|
+
z(e, o) || (s.value = JSON.parse(a.basicOption.defaultValue));
|
|
36
|
+
}, { deep: !0 }), (e, o) => (h(), b("div", {
|
|
37
|
+
class: O(["zv-switch", {
|
|
37
38
|
"is-checked": s.value
|
|
38
39
|
}])
|
|
39
40
|
}, [
|
|
40
|
-
|
|
41
|
+
m(n("input", {
|
|
41
42
|
"onUpdate:modelValue": o[0] || (o[0] = (c) => s.value = c),
|
|
42
43
|
class: "zv-switch__input",
|
|
43
44
|
type: "checkbox",
|
|
44
45
|
"true-value": e.basicOption.trueValue,
|
|
45
46
|
"false-value": e.basicOption.falseValue
|
|
46
|
-
}, null, 8,
|
|
47
|
-
[
|
|
47
|
+
}, null, 8, _), [
|
|
48
|
+
[w, s.value]
|
|
48
49
|
]),
|
|
49
|
-
|
|
50
|
+
n("span", {
|
|
50
51
|
class: "zv-switch__core",
|
|
51
|
-
onClick: o[1] || (o[1] = (c) =>
|
|
52
|
-
},
|
|
52
|
+
onClick: o[1] || (o[1] = (c) => r(s.value))
|
|
53
|
+
}, g)
|
|
53
54
|
], 2));
|
|
54
55
|
}
|
|
55
56
|
});
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
$ as default
|
|
58
59
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-da6ebaec"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|