@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,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 b, createElementVNode as E, unref as _ } 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 D } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as k } 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-bar-animation" }), y = /* @__PURE__ */ u({
|
|
8
9
|
...S,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
@@ -21,25 +22,25 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-ani
|
|
|
21
22
|
"chart-mouseout",
|
|
22
23
|
"chart-contextmenu"
|
|
23
24
|
],
|
|
24
|
-
setup(
|
|
25
|
-
const e =
|
|
26
|
-
id:
|
|
25
|
+
setup(m, { expose: p, emit: d }) {
|
|
26
|
+
const e = m, l = d, {
|
|
27
|
+
id: h,
|
|
27
28
|
setOption: o,
|
|
28
|
-
chart:
|
|
29
|
+
chart: f,
|
|
29
30
|
renderChart: c,
|
|
30
31
|
renderData: a
|
|
31
|
-
} =
|
|
32
|
+
} = D({
|
|
32
33
|
basicOption: r(e.basicOption),
|
|
33
34
|
useEvents: r(e.useEvents),
|
|
34
35
|
customRenderData: (s) => {
|
|
35
|
-
s = r(s),
|
|
36
|
+
s = r(s), g.parse({
|
|
36
37
|
tId: e.uuid,
|
|
37
38
|
sources: e.sources,
|
|
38
39
|
callback: ({ data: t }) => {
|
|
39
40
|
try {
|
|
40
|
-
|
|
41
|
+
n.parseEvents(e.useEvents, "dataListener", t), s.dataset = k(r(t)), s.series = w(t, s.series), o(s);
|
|
41
42
|
} catch {
|
|
42
|
-
|
|
43
|
+
n.parseEvents(e.useEvents, "dataListener", null), o(s);
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
});
|
|
@@ -51,11 +52,11 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-ani
|
|
|
51
52
|
}, {
|
|
52
53
|
deep: !0
|
|
53
54
|
}), i(() => r(e.basicOption), (s, t) => {
|
|
54
|
-
|
|
55
|
+
O(s, t) || c(s);
|
|
55
56
|
}, {
|
|
56
57
|
deep: !0
|
|
57
|
-
}),
|
|
58
|
-
getEchartsInstance: () =>
|
|
58
|
+
}), p({
|
|
59
|
+
getEchartsInstance: () => f.value,
|
|
59
60
|
refresh: () => {
|
|
60
61
|
e.sources && e.sources.length > 0 && c(e.basicOption), a(e.basicOption);
|
|
61
62
|
},
|
|
@@ -65,14 +66,14 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-ani
|
|
|
65
66
|
refreshData: () => {
|
|
66
67
|
a(e.basicOption);
|
|
67
68
|
}
|
|
68
|
-
}), (s, t) => (b(),
|
|
69
|
-
|
|
70
|
-
id: _(
|
|
69
|
+
}), (s, t) => (b(), v("div", x, [
|
|
70
|
+
E("div", {
|
|
71
|
+
id: _(h),
|
|
71
72
|
class: "widget"
|
|
72
|
-
}, null, 8,
|
|
73
|
+
}, null, 8, C)
|
|
73
74
|
]));
|
|
74
75
|
}
|
|
75
76
|
});
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
y as default
|
|
78
79
|
};
|
|
@@ -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 b, openBlock as v, createElementVNode as E, unref as _ } 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 D } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as k } 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-bar-basic" }), y = /* @__PURE__ */ u({
|
|
8
9
|
...S,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
@@ -21,25 +22,25 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-bas
|
|
|
21
22
|
"chart-mouseout",
|
|
22
23
|
"chart-contextmenu"
|
|
23
24
|
],
|
|
24
|
-
setup(
|
|
25
|
-
const e =
|
|
26
|
-
id:
|
|
25
|
+
setup(m, { expose: p, emit: d }) {
|
|
26
|
+
const e = m, l = d, {
|
|
27
|
+
id: h,
|
|
27
28
|
setOption: o,
|
|
28
|
-
chart:
|
|
29
|
+
chart: f,
|
|
29
30
|
renderChart: c,
|
|
30
31
|
renderData: a
|
|
31
|
-
} =
|
|
32
|
+
} = D({
|
|
32
33
|
basicOption: r(e.basicOption),
|
|
33
34
|
useEvents: r(e.useEvents),
|
|
34
35
|
customRenderData: (s) => {
|
|
35
|
-
s = r(s),
|
|
36
|
+
s = r(s), g.parse({
|
|
36
37
|
tId: e.uuid,
|
|
37
38
|
sources: e.sources,
|
|
38
39
|
callback: ({ data: t }) => {
|
|
39
40
|
try {
|
|
40
|
-
|
|
41
|
+
n.parseEvents(e.useEvents, "dataListener", t), s.dataset = k(r(t)), s.series = w(t, s.series), o(s);
|
|
41
42
|
} catch {
|
|
42
|
-
|
|
43
|
+
n.parseEvents(e.useEvents, "dataListener", null), o(s);
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
});
|
|
@@ -51,11 +52,11 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-bas
|
|
|
51
52
|
}, {
|
|
52
53
|
deep: !0
|
|
53
54
|
}), i(() => r(e.basicOption), (s, t) => {
|
|
54
|
-
|
|
55
|
+
O(s, t) || c(s);
|
|
55
56
|
}, {
|
|
56
57
|
deep: !0
|
|
57
|
-
}),
|
|
58
|
-
getEchartsInstance: () =>
|
|
58
|
+
}), p({
|
|
59
|
+
getEchartsInstance: () => f.value,
|
|
59
60
|
refresh: () => {
|
|
60
61
|
e.sources && e.sources.length > 0 && c(e.basicOption), a(e.basicOption);
|
|
61
62
|
},
|
|
@@ -65,14 +66,14 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-bas
|
|
|
65
66
|
refreshData: () => {
|
|
66
67
|
a(e.basicOption);
|
|
67
68
|
}
|
|
68
|
-
}), (s, t) => (
|
|
69
|
-
|
|
70
|
-
id: _(
|
|
69
|
+
}), (s, t) => (v(), b("div", x, [
|
|
70
|
+
E("div", {
|
|
71
|
+
id: _(h),
|
|
71
72
|
class: "widget"
|
|
72
|
-
}, null, 8,
|
|
73
|
+
}, null, 8, C)
|
|
73
74
|
]));
|
|
74
75
|
}
|
|
75
76
|
});
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
y as default
|
|
78
79
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cloneDeep as c, isEqual as
|
|
3
|
-
import { SHJDatasourceV2 as
|
|
4
|
-
import { useChart as
|
|
5
|
-
import { parseDataset as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as f, watch as u, createElementBlock as x, openBlock as _, createElementVNode as O, unref as y } from "vue";
|
|
2
|
+
import { cloneDeep as c, isEqual as g } from "lodash";
|
|
3
|
+
import { SHJDatasourceV2 as D } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { useChart as k } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as w } from "../../commons/utils/parseDataset.mjs";
|
|
6
|
+
import { SHJParseEvent as l } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const A = { class: "zerov-widget" }, L = ["id"], C = f({ name: "zv-chart-bar-contrast" }), S = /* @__PURE__ */ f({
|
|
8
|
+
...C,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,37 +20,37 @@ const k = { class: "zerov-widget" }, A = ["id"], L = l({ name: "zv-chart-bar-con
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
23
|
+
setup(m, { expose: p, emit: h }) {
|
|
24
|
+
const e = m, v = h, {
|
|
24
25
|
id: d,
|
|
25
26
|
setOption: n,
|
|
26
|
-
chart:
|
|
27
|
+
chart: b,
|
|
27
28
|
renderChart: a,
|
|
28
|
-
renderData:
|
|
29
|
-
} =
|
|
29
|
+
renderData: o
|
|
30
|
+
} = k({
|
|
30
31
|
basicOption: c(e.basicOption),
|
|
31
32
|
useEvents: c(e.useEvents),
|
|
32
33
|
customRenderData: (r) => {
|
|
33
|
-
r = c(r),
|
|
34
|
+
r = c(r), D.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: t }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
l.parseEvents(e.useEvents, "dataListener", t), r.dataset = w(c(t)), E(r), n(r);
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
l.parseEvents(e.useEvents, "dataListener", null), n(r);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
44
45
|
},
|
|
45
|
-
emit:
|
|
46
|
-
}),
|
|
46
|
+
emit: v
|
|
47
|
+
}), E = (r) => {
|
|
47
48
|
try {
|
|
48
49
|
r.series.forEach((t) => {
|
|
49
50
|
t.label.formatter = (s) => {
|
|
50
|
-
for (const
|
|
51
|
-
if (typeof s.value[
|
|
52
|
-
return -s.value[
|
|
51
|
+
for (const i in s.value)
|
|
52
|
+
if (typeof s.value[i] == "number" && s.value[i] < 0)
|
|
53
|
+
return -s.value[i];
|
|
53
54
|
};
|
|
54
55
|
}), r.xAxis[0].type === "value" && r.xAxis.forEach((t) => {
|
|
55
56
|
t.axisLabel.formatter = (s) => s < 0 ? -s : s;
|
|
@@ -60,32 +61,32 @@ const k = { class: "zerov-widget" }, A = ["id"], L = l({ name: "zv-chart-bar-con
|
|
|
60
61
|
}
|
|
61
62
|
};
|
|
62
63
|
return u(() => e.sources, () => {
|
|
63
|
-
e.sources && e.sources.length > 0 &&
|
|
64
|
+
e.sources && e.sources.length > 0 && o(e.basicOption);
|
|
64
65
|
}, {
|
|
65
66
|
deep: !0
|
|
66
67
|
}), u(() => c(e.basicOption), (r, t) => {
|
|
67
|
-
|
|
68
|
+
g(r, t) || a(r);
|
|
68
69
|
}, {
|
|
69
70
|
deep: !0
|
|
70
|
-
}),
|
|
71
|
-
getEchartsInstance: () =>
|
|
71
|
+
}), p({
|
|
72
|
+
getEchartsInstance: () => b.value,
|
|
72
73
|
refresh: () => {
|
|
73
|
-
e.sources && e.sources.length > 0 && a(e.basicOption),
|
|
74
|
+
e.sources && e.sources.length > 0 && a(e.basicOption), o(e.basicOption);
|
|
74
75
|
},
|
|
75
76
|
refreshView: () => {
|
|
76
77
|
e.sources && e.sources.length > 0 && a(e.basicOption);
|
|
77
78
|
},
|
|
78
79
|
refreshData: () => {
|
|
79
|
-
|
|
80
|
+
o(e.basicOption);
|
|
80
81
|
}
|
|
81
|
-
}), (r, t) => (
|
|
82
|
-
|
|
83
|
-
id:
|
|
82
|
+
}), (r, t) => (_(), x("div", A, [
|
|
83
|
+
O("div", {
|
|
84
|
+
id: y(d),
|
|
84
85
|
class: "widget"
|
|
85
|
-
}, null, 8,
|
|
86
|
+
}, null, 8, L)
|
|
86
87
|
]));
|
|
87
88
|
}
|
|
88
89
|
});
|
|
89
90
|
export {
|
|
90
|
-
|
|
91
|
+
S as default
|
|
91
92
|
};
|
|
@@ -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
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as u, watch as n, createElementBlock as v, openBlock as b, createElementVNode as E, unref as _ } 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 D } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as k } from "../../commons/utils/parseDataset.mjs";
|
|
6
|
+
import { SHJParseEvent as i } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const w = { class: "zerov-widget" }, x = ["id"], C = u({ name: "zv-chart-bar-contrast2" }), S = /* @__PURE__ */ u({
|
|
8
|
+
...C,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
sources: {},
|
|
@@ -19,25 +20,25 @@ const D = { class: "zerov-widget" }, k = ["id"], x = i({ name: "zv-chart-bar-con
|
|
|
19
20
|
"chart-mouseout",
|
|
20
21
|
"chart-contextmenu"
|
|
21
22
|
],
|
|
22
|
-
setup(
|
|
23
|
-
const e =
|
|
24
|
-
id:
|
|
23
|
+
setup(p, { expose: d, emit: m }) {
|
|
24
|
+
const e = p, l = m, {
|
|
25
|
+
id: h,
|
|
25
26
|
setOption: o,
|
|
26
|
-
chart:
|
|
27
|
+
chart: f,
|
|
27
28
|
renderChart: c,
|
|
28
29
|
renderData: a
|
|
29
|
-
} =
|
|
30
|
+
} = D({
|
|
30
31
|
basicOption: r(e.basicOption),
|
|
31
32
|
useEvents: r(e.useEvents),
|
|
32
33
|
customRenderData: (t) => {
|
|
33
|
-
t = r(t),
|
|
34
|
+
t = r(t), g.parse({
|
|
34
35
|
tId: e.uuid,
|
|
35
36
|
sources: e.sources,
|
|
36
37
|
callback: ({ data: s }) => {
|
|
37
38
|
try {
|
|
38
|
-
|
|
39
|
+
i.parseEvents(e.useEvents, "dataListener", s), t.dataset = k(r(s)), o(t);
|
|
39
40
|
} catch {
|
|
40
|
-
|
|
41
|
+
i.parseEvents(e.useEvents, "dataListener", null), o(t);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
});
|
|
@@ -49,11 +50,11 @@ const D = { class: "zerov-widget" }, k = ["id"], x = i({ name: "zv-chart-bar-con
|
|
|
49
50
|
}, {
|
|
50
51
|
deep: !0
|
|
51
52
|
}), n(() => r(e.basicOption), (t, s) => {
|
|
52
|
-
|
|
53
|
+
O(t, s) || c(t);
|
|
53
54
|
}, {
|
|
54
55
|
deep: !0
|
|
55
56
|
}), d({
|
|
56
|
-
getEchartsInstance: () =>
|
|
57
|
+
getEchartsInstance: () => f.value,
|
|
57
58
|
refresh: () => {
|
|
58
59
|
e.sources && e.sources.length > 0 && c(e.basicOption), a(e.basicOption);
|
|
59
60
|
},
|
|
@@ -63,14 +64,14 @@ const D = { class: "zerov-widget" }, k = ["id"], x = i({ name: "zv-chart-bar-con
|
|
|
63
64
|
refreshData: () => {
|
|
64
65
|
a(e.basicOption);
|
|
65
66
|
}
|
|
66
|
-
}), (t, s) => (b(),
|
|
67
|
-
|
|
68
|
-
id: _(
|
|
67
|
+
}), (t, s) => (b(), v("div", w, [
|
|
68
|
+
E("div", {
|
|
69
|
+
id: _(h),
|
|
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
|
|
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 b, createElementVNode as E, unref as _ } from "vue";
|
|
2
|
+
import { cloneDeep as r, isEqual as O } from "lodash";
|
|
3
|
+
import { SHJDatasourceV2 as D } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { useChart as g } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as k } 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-bar-contrast3" }), y = /* @__PURE__ */ u({
|
|
8
9
|
...S,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
@@ -20,41 +21,41 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-con
|
|
|
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
|
+
} = g({
|
|
31
32
|
basicOption: r(e.basicOption),
|
|
32
33
|
useEvents: r(e.useEvents),
|
|
33
34
|
customRenderData: (s) => {
|
|
34
|
-
s = r(s),
|
|
35
|
+
s = r(s), D.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 = k(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
|
});
|
|
45
46
|
},
|
|
46
|
-
emit:
|
|
47
|
+
emit: l
|
|
47
48
|
});
|
|
48
49
|
return i(() => e.sources, () => {
|
|
49
50
|
a(e.basicOption);
|
|
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 k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-con
|
|
|
64
65
|
refreshData: () => {
|
|
65
66
|
a(e.basicOption);
|
|
66
67
|
}
|
|
67
|
-
}), (s, t) => (b(),
|
|
68
|
-
|
|
69
|
-
id: _(
|
|
68
|
+
}), (s, t) => (b(), v("div", x, [
|
|
69
|
+
E("div", {
|
|
70
|
+
id: _(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
|
|
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 b, createElementVNode as E, unref as _ } 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 D } from "../../commons/core/useChart.mjs";
|
|
5
|
+
import { parseDataset as k } 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-bar-gradient-column-chart" }), y = /* @__PURE__ */ u({
|
|
8
9
|
...S,
|
|
9
10
|
props: {
|
|
10
11
|
basicOption: {},
|
|
@@ -20,25 +21,25 @@ const k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-gra
|
|
|
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
|
+
} = D({
|
|
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 = k(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 k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-gra
|
|
|
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 k = { class: "zerov-widget" }, x = ["id"], S = n({ name: "zv-chart-bar-gra
|
|
|
64
65
|
refreshData: () => {
|
|
65
66
|
a(e.basicOption);
|
|
66
67
|
}
|
|
67
|
-
}), (s, t) => (b(),
|
|
68
|
-
|
|
69
|
-
id: _(
|
|
68
|
+
}), (s, t) => (b(), v("div", x, [
|
|
69
|
+
E("div", {
|
|
70
|
+
id: _(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
|
};
|