@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,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as r, isEqual as
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { parseOtherData as
|
|
5
|
-
import { useChart as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as p, watch as i, createElementBlock as E, openBlock as _, createElementVNode as b, unref as O } from "vue";
|
|
2
|
+
import { cloneDeep as r, isEqual as g } from "lodash";
|
|
3
|
+
import { SHJDatasourceV2 as k } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { parseOtherData as D } from "../../commons/utils/parseOtherData.mjs";
|
|
5
|
+
import { useChart as w } from "../../commons/core/useChart.mjs";
|
|
6
|
+
import { SHJParseEvent as u } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const x = { class: "zerov-widget" }, C = ["id"], V = p({ name: "zv-chart-other-parallel-mul" }), L = /* @__PURE__ */ p({
|
|
8
|
+
...V,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,58 +20,58 @@ const D = { class: "zerov-widget" }, x = ["id"], C = u({ name: "zv-chart-other-p
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
24
|
-
id:
|
|
23
|
+
setup(l, { expose: m, emit: d }) {
|
|
24
|
+
const e = l, h = d, {
|
|
25
|
+
id: f,
|
|
25
26
|
setOption: o,
|
|
26
|
-
chart:
|
|
27
|
-
renderChart:
|
|
28
|
-
renderData:
|
|
29
|
-
} =
|
|
27
|
+
chart: v,
|
|
28
|
+
renderChart: a,
|
|
29
|
+
renderData: c
|
|
30
|
+
} = w({
|
|
30
31
|
basicOption: r(e.basicOption),
|
|
31
32
|
useEvents: r(e.useEvents),
|
|
32
33
|
customRenderData: (t) => {
|
|
33
|
-
t = r(t),
|
|
34
|
+
t = r(t), k.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: s }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
u.parseEvents(e.useEvents, "dataListener", s), t.legend.data = s.map((n) => n.key), o(D(r(s), t));
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
u.parseEvents(e.useEvents, "dataListener", null), o(t);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
44
45
|
},
|
|
45
|
-
emit:
|
|
46
|
+
emit: h
|
|
46
47
|
});
|
|
47
48
|
return i(() => e.sources, () => {
|
|
48
|
-
|
|
49
|
+
c(e.basicOption);
|
|
49
50
|
}, {
|
|
50
51
|
deep: !0
|
|
51
52
|
}), i(() => r(e.basicOption), (t, s) => {
|
|
52
|
-
|
|
53
|
+
g(t, s) || a(t);
|
|
53
54
|
}, {
|
|
54
55
|
deep: !0
|
|
55
|
-
}),
|
|
56
|
-
getEchartsInstance: () =>
|
|
56
|
+
}), m({
|
|
57
|
+
getEchartsInstance: () => v.value,
|
|
57
58
|
refresh: () => {
|
|
58
|
-
e.sources && e.sources.length > 0 &&
|
|
59
|
+
e.sources && e.sources.length > 0 && a(e.basicOption), c(e.basicOption);
|
|
59
60
|
},
|
|
60
61
|
refreshView: () => {
|
|
61
|
-
e.sources && e.sources.length > 0 &&
|
|
62
|
+
e.sources && e.sources.length > 0 && a(e.basicOption);
|
|
62
63
|
},
|
|
63
64
|
refreshData: () => {
|
|
64
|
-
|
|
65
|
+
c(e.basicOption);
|
|
65
66
|
}
|
|
66
|
-
}), (t, s) => (_(),
|
|
67
|
+
}), (t, s) => (_(), E("div", x, [
|
|
67
68
|
b("div", {
|
|
68
|
-
id:
|
|
69
|
+
id: O(f),
|
|
69
70
|
class: "widget"
|
|
70
|
-
}, null, 8,
|
|
71
|
+
}, null, 8, C)
|
|
71
72
|
]));
|
|
72
73
|
}
|
|
73
74
|
});
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
L as default
|
|
76
77
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as o, isEqual as
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { useChart as
|
|
1
|
+
import { defineComponent as E, watch as l, createElementBlock as k, openBlock as w, createElementVNode as D, unref as y } from "vue";
|
|
2
|
+
import { cloneDeep as o, isEqual as V } from "lodash";
|
|
3
|
+
import { SHJDatasourceV2 as C } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { useChart as N } from "../../commons/core/useChart.mjs";
|
|
5
5
|
import { parseDataset as f } from "../../commons/utils/parseDataset.mjs";
|
|
6
|
-
import { cloneSeries as
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { cloneSeries as S } from "../../commons/utils/cloneSeries.mjs";
|
|
7
|
+
import { SHJParseEvent as p } from "../../commons/plugins/event/index.mjs";
|
|
8
|
+
const q = { class: "zerov-widget" }, z = ["id"], B = E({ name: "zv-chart-other-radar" }), R = /* @__PURE__ */ E({
|
|
9
|
+
...B,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
11
12
|
sources: {},
|
|
@@ -20,18 +21,18 @@ const H = { class: "zerov-widget" }, J = ["id"], N = p({ name: "zv-chart-other-r
|
|
|
20
21
|
"chart-mouseout",
|
|
21
22
|
"chart-contextmenu"
|
|
22
23
|
],
|
|
23
|
-
setup(b, { expose:
|
|
24
|
-
const e = b,
|
|
25
|
-
id:
|
|
26
|
-
setOption:
|
|
27
|
-
chart:
|
|
24
|
+
setup(b, { expose: O, emit: _ }) {
|
|
25
|
+
const e = b, v = _, {
|
|
26
|
+
id: x,
|
|
27
|
+
setOption: m,
|
|
28
|
+
chart: g,
|
|
28
29
|
renderChart: n,
|
|
29
30
|
renderData: i
|
|
30
|
-
} =
|
|
31
|
+
} = N({
|
|
31
32
|
basicOption: o(e.basicOption),
|
|
32
33
|
useEvents: o(e.useEvents),
|
|
33
34
|
customRenderData: (s) => {
|
|
34
|
-
s = o(s),
|
|
35
|
+
s = o(s), C.parse({
|
|
35
36
|
tId: e.uuid,
|
|
36
37
|
sources: e.sources,
|
|
37
38
|
callback: ({ data: c }) => {
|
|
@@ -39,13 +40,13 @@ const H = { class: "zerov-widget" }, J = ["id"], N = p({ name: "zv-chart-other-r
|
|
|
39
40
|
let u = function(r) {
|
|
40
41
|
return r.reduce((t, a) => t.includes(a) ? t : [...t, a], []);
|
|
41
42
|
};
|
|
42
|
-
|
|
43
|
-
const d = [],
|
|
43
|
+
p.parseEvents(e.useEvents, "dataListener", c), s.dataset = f(o(c)), s.series = S(c, s.series);
|
|
44
|
+
const d = [], h = [];
|
|
44
45
|
s.dataset.source.forEach((r) => {
|
|
45
46
|
for (const t in r)
|
|
46
47
|
if (Object.prototype.hasOwnProperty.call(r, t)) {
|
|
47
48
|
const a = r[t];
|
|
48
|
-
Number(a) && (
|
|
49
|
+
Number(a) && (h.push(Number(a)), d.push(t));
|
|
49
50
|
}
|
|
50
51
|
}), s.radar.indicator = [], u(d).forEach((r) => {
|
|
51
52
|
s.radar.indicator.push(
|
|
@@ -55,26 +56,26 @@ const H = { class: "zerov-widget" }, J = ["id"], N = p({ name: "zv-chart-other-r
|
|
|
55
56
|
}
|
|
56
57
|
);
|
|
57
58
|
}), s.radar.indicator.forEach((r) => {
|
|
58
|
-
r.max =
|
|
59
|
-
}), s.dataset = f(o(c), u(d)),
|
|
59
|
+
r.max = h.sort((t, a) => a - t)[0];
|
|
60
|
+
}), s.dataset = f(o(c), u(d)), m(s);
|
|
60
61
|
} catch {
|
|
61
|
-
|
|
62
|
+
p.parseEvents(e.useEvents, "dataListener", null), m(s);
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
});
|
|
65
66
|
},
|
|
66
|
-
emit:
|
|
67
|
+
emit: v
|
|
67
68
|
});
|
|
68
|
-
return
|
|
69
|
+
return l(() => e.sources, () => {
|
|
69
70
|
e.sources && e.sources.length > 0 && i(e.basicOption);
|
|
70
71
|
}, {
|
|
71
72
|
deep: !0
|
|
72
|
-
}),
|
|
73
|
-
|
|
73
|
+
}), l(() => o(e.basicOption), (s, c) => {
|
|
74
|
+
V(s, c) || n(s);
|
|
74
75
|
}, {
|
|
75
76
|
deep: !0
|
|
76
|
-
}),
|
|
77
|
-
getEchartsInstance: () =>
|
|
77
|
+
}), O({
|
|
78
|
+
getEchartsInstance: () => g.value,
|
|
78
79
|
refresh: () => {
|
|
79
80
|
e.sources && e.sources.length > 0 && n(e.basicOption), i(e.basicOption);
|
|
80
81
|
},
|
|
@@ -84,14 +85,14 @@ const H = { class: "zerov-widget" }, J = ["id"], N = p({ name: "zv-chart-other-r
|
|
|
84
85
|
refreshData: () => {
|
|
85
86
|
i(e.basicOption);
|
|
86
87
|
}
|
|
87
|
-
}), (s, c) => (
|
|
88
|
-
|
|
89
|
-
id:
|
|
88
|
+
}), (s, c) => (w(), k("div", q, [
|
|
89
|
+
D("div", {
|
|
90
|
+
id: y(x),
|
|
90
91
|
class: "widget"
|
|
91
|
-
}, null, 8,
|
|
92
|
+
}, null, 8, z)
|
|
92
93
|
]));
|
|
93
94
|
}
|
|
94
95
|
});
|
|
95
96
|
export {
|
|
96
|
-
|
|
97
|
+
R as default
|
|
97
98
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as r, isEqual as
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { useChart as
|
|
5
|
-
import { parseDataset as
|
|
6
|
-
import { cloneSeries as
|
|
7
|
-
|
|
1
|
+
import { defineComponent as u, watch as i, createElementBlock as v, openBlock as E, createElementVNode as _, unref as b } from "vue";
|
|
2
|
+
import { cloneDeep as r, isEqual as O } from "lodash";
|
|
3
|
+
import { SHJDatasourceV2 as g } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { useChart as k } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as D } from "../../commons/utils/parseDataset.mjs";
|
|
6
|
+
import { cloneSeries as w } from "../../commons/utils/cloneSeries.mjs";
|
|
7
|
+
import { SHJParseEvent as n } from "../../commons/plugins/event/index.mjs";
|
|
8
|
+
const x = { class: "zerov-widget" }, C = ["id"], S = u({ name: "zv-chart-other-radar-stack" }), y = /* @__PURE__ */ u({
|
|
8
9
|
...S,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
@@ -20,25 +21,25 @@ const D = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-other-r
|
|
|
20
21
|
"chart-mouseout",
|
|
21
22
|
"chart-contextmenu"
|
|
22
23
|
],
|
|
23
|
-
setup(
|
|
24
|
-
const e =
|
|
25
|
-
id:
|
|
24
|
+
setup(m, { expose: p, emit: d }) {
|
|
25
|
+
const e = m, l = d, {
|
|
26
|
+
id: h,
|
|
26
27
|
setOption: o,
|
|
27
|
-
chart:
|
|
28
|
+
chart: f,
|
|
28
29
|
renderChart: c,
|
|
29
30
|
renderData: a
|
|
30
|
-
} =
|
|
31
|
+
} = k({
|
|
31
32
|
basicOption: r(e.basicOption),
|
|
32
33
|
useEvents: r(e.useEvents),
|
|
33
34
|
customRenderData: (s) => {
|
|
34
|
-
s = r(s),
|
|
35
|
+
s = r(s), g.parse({
|
|
35
36
|
tId: e.uuid,
|
|
36
37
|
sources: e.sources,
|
|
37
38
|
callback: ({ data: t }) => {
|
|
38
39
|
try {
|
|
39
|
-
|
|
40
|
+
n.parseEvents(e.useEvents, "dataListener", t), s.dataset = D(r(t)), s.series = w(t, s.series), o(s);
|
|
40
41
|
} catch {
|
|
41
|
-
|
|
42
|
+
n.parseEvents(e.useEvents, "dataListener", null), o(s);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
});
|
|
@@ -50,11 +51,11 @@ const D = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-other-r
|
|
|
50
51
|
}, {
|
|
51
52
|
deep: !0
|
|
52
53
|
}), i(() => r(e.basicOption), (s, t) => {
|
|
53
|
-
|
|
54
|
+
O(s, t) || c(s);
|
|
54
55
|
}, {
|
|
55
56
|
deep: !0
|
|
56
|
-
}),
|
|
57
|
-
getEchartsInstance: () =>
|
|
57
|
+
}), p({
|
|
58
|
+
getEchartsInstance: () => f.value,
|
|
58
59
|
refresh: () => {
|
|
59
60
|
e.sources && e.sources.length > 0 && c(e.basicOption), a(e.basicOption);
|
|
60
61
|
},
|
|
@@ -64,14 +65,14 @@ const D = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-other-r
|
|
|
64
65
|
refreshData: () => {
|
|
65
66
|
a(e.basicOption);
|
|
66
67
|
}
|
|
67
|
-
}), (s, t) => (
|
|
68
|
+
}), (s, t) => (E(), v("div", x, [
|
|
68
69
|
_("div", {
|
|
69
|
-
id: b(
|
|
70
|
+
id: b(h),
|
|
70
71
|
class: "widget"
|
|
71
|
-
}, null, 8,
|
|
72
|
+
}, null, 8, C)
|
|
72
73
|
]));
|
|
73
74
|
}
|
|
74
75
|
});
|
|
75
76
|
export {
|
|
76
|
-
|
|
77
|
+
y as default
|
|
77
78
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, watch as i, createElementBlock as b, openBlock as v, createElementVNode as E, unref as O } from "vue";
|
|
2
2
|
import { cloneDeep as r, isEqual as _ } from "lodash";
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { parseOtherData as
|
|
5
|
-
import { useChart as
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { SHJDatasourceV2 as D } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { parseOtherData as g } from "../../commons/utils/parseOtherData.mjs";
|
|
5
|
+
import { useChart as k } from "../../commons/core/useChart.mjs";
|
|
6
|
+
import { SHJParseEvent as n } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const w = { class: "zerov-widget" }, x = ["id"], C = u({ name: "zv-chart-other-sunburst-basic" }), S = /* @__PURE__ */ u({
|
|
8
|
+
...C,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,25 +20,25 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
24
|
-
id:
|
|
23
|
+
setup(p, { expose: m, emit: d }) {
|
|
24
|
+
const e = p, h = d, {
|
|
25
|
+
id: l,
|
|
25
26
|
setOption: a,
|
|
26
|
-
chart:
|
|
27
|
+
chart: f,
|
|
27
28
|
renderChart: c,
|
|
28
29
|
renderData: o
|
|
29
|
-
} =
|
|
30
|
+
} = k({
|
|
30
31
|
basicOption: r(e.basicOption),
|
|
31
32
|
useEvents: r(e.useEvents),
|
|
32
33
|
customRenderData: (t) => {
|
|
33
|
-
t = r(t),
|
|
34
|
+
t = r(t), D.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: s }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
n.parseEvents(e.useEvents, "dataListener", s), a(g(r(s), e.basicOption));
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
n.parseEvents(e.useEvents, "dataListener", null), a(t);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
@@ -52,8 +53,8 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
52
53
|
_(t, s) || c(t);
|
|
53
54
|
}, {
|
|
54
55
|
deep: !0
|
|
55
|
-
}),
|
|
56
|
-
getEchartsInstance: () =>
|
|
56
|
+
}), m({
|
|
57
|
+
getEchartsInstance: () => f.value,
|
|
57
58
|
refresh: () => {
|
|
58
59
|
e.sources && e.sources.length > 0 && c(e.basicOption), o(e.basicOption);
|
|
59
60
|
},
|
|
@@ -63,14 +64,14 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
63
64
|
refreshData: () => {
|
|
64
65
|
o(e.basicOption);
|
|
65
66
|
}
|
|
66
|
-
}), (t, s) => (
|
|
67
|
-
|
|
68
|
-
id: O(
|
|
67
|
+
}), (t, s) => (v(), b("div", w, [
|
|
68
|
+
E("div", {
|
|
69
|
+
id: O(l),
|
|
69
70
|
class: "widget"
|
|
70
|
-
}, null, 8,
|
|
71
|
+
}, null, 8, x)
|
|
71
72
|
]));
|
|
72
73
|
}
|
|
73
74
|
});
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
S as default
|
|
76
77
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, watch as i, createElementBlock as b, openBlock as v, createElementVNode as E, unref as O } from "vue";
|
|
2
2
|
import { cloneDeep as r, isEqual as _ } from "lodash";
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { parseOtherData as
|
|
5
|
-
import { useChart as
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { SHJDatasourceV2 as D } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { parseOtherData as g } from "../../commons/utils/parseOtherData.mjs";
|
|
5
|
+
import { useChart as k } from "../../commons/core/useChart.mjs";
|
|
6
|
+
import { SHJParseEvent as n } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const w = { class: "zerov-widget" }, x = ["id"], C = u({ name: "zv-chart-other-sunburst-basic2" }), S = /* @__PURE__ */ u({
|
|
8
|
+
...C,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,25 +20,25 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
24
|
-
id:
|
|
23
|
+
setup(p, { expose: m, emit: d }) {
|
|
24
|
+
const e = p, h = d, {
|
|
25
|
+
id: l,
|
|
25
26
|
setOption: a,
|
|
26
|
-
chart:
|
|
27
|
+
chart: f,
|
|
27
28
|
renderChart: c,
|
|
28
29
|
renderData: o
|
|
29
|
-
} =
|
|
30
|
+
} = k({
|
|
30
31
|
basicOption: r(e.basicOption),
|
|
31
32
|
useEvents: r(e.useEvents),
|
|
32
33
|
customRenderData: (t) => {
|
|
33
|
-
t = r(t),
|
|
34
|
+
t = r(t), D.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: s }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
n.parseEvents(e.useEvents, "dataListener", s), a(g(r(s), e.basicOption));
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
n.parseEvents(e.useEvents, "dataListener", null), a(t);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
@@ -52,8 +53,8 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
52
53
|
_(t, s) || c(t);
|
|
53
54
|
}, {
|
|
54
55
|
deep: !0
|
|
55
|
-
}),
|
|
56
|
-
getEchartsInstance: () =>
|
|
56
|
+
}), m({
|
|
57
|
+
getEchartsInstance: () => f.value,
|
|
57
58
|
refresh: () => {
|
|
58
59
|
e.sources && e.sources.length > 0 && c(e.basicOption), o(e.basicOption);
|
|
59
60
|
},
|
|
@@ -63,14 +64,14 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
63
64
|
refreshData: () => {
|
|
64
65
|
o(e.basicOption);
|
|
65
66
|
}
|
|
66
|
-
}), (t, s) => (
|
|
67
|
-
|
|
68
|
-
id: O(
|
|
67
|
+
}), (t, s) => (v(), b("div", w, [
|
|
68
|
+
E("div", {
|
|
69
|
+
id: O(l),
|
|
69
70
|
class: "widget"
|
|
70
|
-
}, null, 8,
|
|
71
|
+
}, null, 8, x)
|
|
71
72
|
]));
|
|
72
73
|
}
|
|
73
74
|
});
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
S as default
|
|
76
77
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, watch as i, createElementBlock as b, openBlock as v, createElementVNode as E, unref as O } from "vue";
|
|
2
2
|
import { cloneDeep as r, isEqual as _ } from "lodash";
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { parseOtherData as
|
|
5
|
-
import { useChart as
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { SHJDatasourceV2 as D } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { parseOtherData as g } from "../../commons/utils/parseOtherData.mjs";
|
|
5
|
+
import { useChart as k } from "../../commons/core/useChart.mjs";
|
|
6
|
+
import { SHJParseEvent as n } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const w = { class: "zerov-widget" }, x = ["id"], C = u({ name: "zv-chart-other-sunburst-basic3" }), S = /* @__PURE__ */ u({
|
|
8
|
+
...C,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,25 +20,25 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
24
|
-
id:
|
|
23
|
+
setup(p, { expose: m, emit: d }) {
|
|
24
|
+
const e = p, h = d, {
|
|
25
|
+
id: l,
|
|
25
26
|
setOption: a,
|
|
26
|
-
chart:
|
|
27
|
+
chart: f,
|
|
27
28
|
renderChart: c,
|
|
28
29
|
renderData: o
|
|
29
|
-
} =
|
|
30
|
+
} = k({
|
|
30
31
|
basicOption: r(e.basicOption),
|
|
31
32
|
useEvents: r(e.useEvents),
|
|
32
33
|
customRenderData: (t) => {
|
|
33
|
-
t = r(t),
|
|
34
|
+
t = r(t), D.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: s }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
n.parseEvents(e.useEvents, "dataListener", s), a(g(r(s), e.basicOption));
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
n.parseEvents(e.useEvents, "dataListener", null), a(t);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
@@ -52,8 +53,8 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
52
53
|
_(t, s) || c(t);
|
|
53
54
|
}, {
|
|
54
55
|
deep: !0
|
|
55
|
-
}),
|
|
56
|
-
getEchartsInstance: () =>
|
|
56
|
+
}), m({
|
|
57
|
+
getEchartsInstance: () => f.value,
|
|
57
58
|
refresh: () => {
|
|
58
59
|
e.sources && e.sources.length > 0 && c(e.basicOption), o(e.basicOption);
|
|
59
60
|
},
|
|
@@ -63,14 +64,14 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
63
64
|
refreshData: () => {
|
|
64
65
|
o(e.basicOption);
|
|
65
66
|
}
|
|
66
|
-
}), (t, s) => (
|
|
67
|
-
|
|
68
|
-
id: O(
|
|
67
|
+
}), (t, s) => (v(), b("div", w, [
|
|
68
|
+
E("div", {
|
|
69
|
+
id: O(l),
|
|
69
70
|
class: "widget"
|
|
70
|
-
}, null, 8,
|
|
71
|
+
}, null, 8, x)
|
|
71
72
|
]));
|
|
72
73
|
}
|
|
73
74
|
});
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
S as default
|
|
76
77
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, watch as i, createElementBlock as b, openBlock as v, createElementVNode as E, unref as O } from "vue";
|
|
2
2
|
import { cloneDeep as r, isEqual as _ } from "lodash";
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { parseOtherData as
|
|
5
|
-
import { useChart as
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { SHJDatasourceV2 as D } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { parseOtherData as g } from "../../commons/utils/parseOtherData.mjs";
|
|
5
|
+
import { useChart as k } from "../../commons/core/useChart.mjs";
|
|
6
|
+
import { SHJParseEvent as n } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const w = { class: "zerov-widget" }, x = ["id"], C = u({ name: "zv-chart-other-sunburst-basic4" }), S = /* @__PURE__ */ u({
|
|
8
|
+
...C,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,25 +20,25 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
24
|
-
id:
|
|
23
|
+
setup(p, { expose: m, emit: d }) {
|
|
24
|
+
const e = p, h = d, {
|
|
25
|
+
id: l,
|
|
25
26
|
setOption: a,
|
|
26
|
-
chart:
|
|
27
|
+
chart: f,
|
|
27
28
|
renderChart: c,
|
|
28
29
|
renderData: o
|
|
29
|
-
} =
|
|
30
|
+
} = k({
|
|
30
31
|
basicOption: r(e.basicOption),
|
|
31
32
|
useEvents: r(e.useEvents),
|
|
32
33
|
customRenderData: (t) => {
|
|
33
|
-
t = r(t),
|
|
34
|
+
t = r(t), D.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: s }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
n.parseEvents(e.useEvents, "dataListener", s), a(g(r(s), e.basicOption));
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
n.parseEvents(e.useEvents, "dataListener", null), a(t);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
@@ -52,8 +53,8 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
52
53
|
_(t, s) || c(t);
|
|
53
54
|
}, {
|
|
54
55
|
deep: !0
|
|
55
|
-
}),
|
|
56
|
-
getEchartsInstance: () =>
|
|
56
|
+
}), m({
|
|
57
|
+
getEchartsInstance: () => f.value,
|
|
57
58
|
refresh: () => {
|
|
58
59
|
e.sources && e.sources.length > 0 && c(e.basicOption), o(e.basicOption);
|
|
59
60
|
},
|
|
@@ -63,14 +64,14 @@ const g = { class: "zerov-widget" }, k = ["id"], x = n({ name: "zv-chart-other-s
|
|
|
63
64
|
refreshData: () => {
|
|
64
65
|
o(e.basicOption);
|
|
65
66
|
}
|
|
66
|
-
}), (t, s) => (
|
|
67
|
-
|
|
68
|
-
id: O(
|
|
67
|
+
}), (t, s) => (v(), b("div", w, [
|
|
68
|
+
E("div", {
|
|
69
|
+
id: O(l),
|
|
69
70
|
class: "widget"
|
|
70
|
-
}, null, 8,
|
|
71
|
+
}, null, 8, x)
|
|
71
72
|
]));
|
|
72
73
|
}
|
|
73
74
|
});
|
|
74
75
|
export {
|
|
75
|
-
|
|
76
|
+
S as default
|
|
76
77
|
};
|