@shjjs/visual-ui 1.0.18 → 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/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 +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/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
|
|
3
|
-
import { Vue3SeamlessScroll as
|
|
4
|
-
import { nanoid as
|
|
5
|
-
import { SHJDatasourceV2 as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as M, useCssVars as j, ref as v, onMounted as A, watch as S, createElementBlock as i, createCommentVNode as V, openBlock as r, normalizeStyle as u, createVNode as J, Fragment as O, renderList as y, normalizeClass as W, createElementVNode as T, toDisplayString as g, unref as q, withCtx as P } from "vue";
|
|
2
|
+
import { cloneDeep as k, isEqual as z } from "lodash";
|
|
3
|
+
import { Vue3SeamlessScroll as U } from "vue3-seamless-scroll";
|
|
4
|
+
import { nanoid as w } from "nanoid";
|
|
5
|
+
import { SHJDatasourceV2 as G } from "../../commons/plugins/datasource/index.mjs";
|
|
6
|
+
import { SHJParseEvent as p } from "../../commons/plugins/event/index.mjs";
|
|
7
|
+
const K = ["onClick", "onMouseenter", "onMouseout"], Q = ["onClick"], X = { key: 1 }, Y = M({ name: "zv-text-table-scroll" }), ne = /* @__PURE__ */ M({
|
|
8
|
+
...Y,
|
|
8
9
|
props: {
|
|
9
10
|
basicOption: {},
|
|
10
11
|
useEvents: {},
|
|
@@ -12,93 +13,93 @@ const G = ["onClick", "onMouseenter", "onMouseout"], K = ["onClick"], Q = { key:
|
|
|
12
13
|
uuid: {}
|
|
13
14
|
},
|
|
14
15
|
emits: ["on-click-item", "on-click-row", "on-mouseenter-row", "on-mouseout-row"],
|
|
15
|
-
setup(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
16
|
+
setup($, { expose: D, emit: F }) {
|
|
17
|
+
j((e) => ({
|
|
18
|
+
"58ba5df3": e.basicOption.css.table.borderWidth + "px",
|
|
19
|
+
"64ed3d76": e.basicOption.css.table.borderStyle,
|
|
20
|
+
"66b51a12": e.basicOption.css.table.borderColor,
|
|
21
|
+
"7b271175": e.basicOption.css.table.paddingLeft + "px",
|
|
22
|
+
"3131035b": e.basicOption.css.table.alignItems,
|
|
23
|
+
cb28d12e: e.basicOption.css.table.justifyContent,
|
|
24
|
+
"73f7a5af": e.basicOption.css.header.background,
|
|
25
|
+
"3057a165": e.basicOption.css.header.height + "px",
|
|
26
|
+
"1ea5d242": e.basicOption.css.header.color,
|
|
27
|
+
cc251c88: e.basicOption.css.header.fontSize + "px",
|
|
28
|
+
d0ce57b0: e.basicOption.css.header.fontWeight,
|
|
29
|
+
"04b29601": e.basicOption.css.header.fontStyle,
|
|
30
|
+
"13621f7a": e.basicOption.css.body.background,
|
|
31
|
+
89062386: e.basicOption.css.oddBackground,
|
|
32
|
+
"68a32597": e.basicOption.css.body.color,
|
|
33
|
+
"3ce3425e": e.basicOption.css.body.fontSize + "px",
|
|
34
|
+
"37034df3": e.basicOption.css.body.fontWeight,
|
|
35
|
+
c3079254: e.basicOption.css.body.fontStyle
|
|
35
36
|
}));
|
|
36
|
-
const b =
|
|
37
|
-
|
|
37
|
+
const b = F, h = v(w()), a = v([]), s = $, m = v(s.basicOption.scroll.start), d = () => {
|
|
38
|
+
G.parse({
|
|
38
39
|
tId: s.uuid,
|
|
39
40
|
sources: s.sources,
|
|
40
41
|
callback: (e) => {
|
|
41
42
|
try {
|
|
42
|
-
|
|
43
|
+
p.parseEvents(s.useEvents, "dataListener", a), a.value = k(e.data[0].data) || [], h.value = w(), m.value = s.basicOption.scroll.start;
|
|
43
44
|
} catch {
|
|
44
|
-
|
|
45
|
+
p.parseEvents(s.useEvents, "dataListener", null), h.value = w(), a.value = [], m.value = s.basicOption.scroll.start;
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
});
|
|
48
|
-
},
|
|
49
|
-
const
|
|
50
|
-
for (const
|
|
51
|
-
|
|
52
|
-
return
|
|
49
|
+
}, L = (e) => {
|
|
50
|
+
const t = [];
|
|
51
|
+
for (const o in e)
|
|
52
|
+
t.push(e[o]);
|
|
53
|
+
return t;
|
|
53
54
|
};
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
A(() => d()), S(() => k(s.basicOption), (e, t) => {
|
|
56
|
+
z(e, t) || d();
|
|
56
57
|
}, {
|
|
57
58
|
deep: !0
|
|
58
|
-
}), S(() =>
|
|
59
|
-
|
|
59
|
+
}), S(() => k(s.sources), (e, t) => {
|
|
60
|
+
z(e, t) || d();
|
|
60
61
|
}, {
|
|
61
62
|
deep: !0
|
|
62
|
-
}),
|
|
63
|
+
}), D({
|
|
63
64
|
refresh: () => d(),
|
|
64
65
|
refreshView: () => d(),
|
|
65
66
|
refreshData: () => d()
|
|
66
67
|
});
|
|
67
|
-
const
|
|
68
|
+
const N = (e) => {
|
|
68
69
|
if (!s.basicOption.columns)
|
|
69
70
|
return !0;
|
|
70
|
-
const
|
|
71
|
-
return
|
|
71
|
+
const t = s.basicOption.columns.find((o) => o.index === e);
|
|
72
|
+
return t ? t.font.auto : !0;
|
|
72
73
|
}, f = (e) => {
|
|
73
74
|
if (!s.basicOption.columns)
|
|
74
75
|
return null;
|
|
75
|
-
const
|
|
76
|
-
return
|
|
77
|
-
},
|
|
76
|
+
const t = s.basicOption.columns.find((o) => o.index === e);
|
|
77
|
+
return t && t.font.auto === !1 ? t.font : null;
|
|
78
|
+
}, C = (e) => {
|
|
78
79
|
if (!s.basicOption.columns)
|
|
79
80
|
return !0;
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
},
|
|
81
|
+
const t = s.basicOption.columns.find((o) => o.index === e);
|
|
82
|
+
return t ? t.width.auto : !0;
|
|
83
|
+
}, E = (e) => {
|
|
83
84
|
if (!s.basicOption.columns)
|
|
84
85
|
return null;
|
|
85
|
-
const
|
|
86
|
-
return
|
|
87
|
-
},
|
|
88
|
-
const
|
|
89
|
-
b("on-click-row",
|
|
90
|
-
},
|
|
91
|
-
const
|
|
92
|
-
b("on-mouseenter-row",
|
|
93
|
-
},
|
|
94
|
-
const
|
|
95
|
-
b("on-mouseout-row",
|
|
96
|
-
},
|
|
97
|
-
const n = { row: e, item:
|
|
98
|
-
b("on-click-item", n),
|
|
86
|
+
const t = s.basicOption.columns.find((o) => o.index === e);
|
|
87
|
+
return t && t.width.auto === !1 ? t.width.width : null;
|
|
88
|
+
}, B = (e, t) => {
|
|
89
|
+
const o = { row: e, rowIndex: t };
|
|
90
|
+
b("on-click-row", o), p.parseEvents(s.useEvents, "on-click-row", o);
|
|
91
|
+
}, H = (e, t) => {
|
|
92
|
+
const o = { row: e, rowIndex: t };
|
|
93
|
+
b("on-mouseenter-row", o), p.parseEvents(s.useEvents, "on-mouseenter-row", o);
|
|
94
|
+
}, I = (e, t) => {
|
|
95
|
+
const o = { row: e, rowIndex: t };
|
|
96
|
+
b("on-mouseout-row", o), p.parseEvents(s.useEvents, "on-mouseout-row", o);
|
|
97
|
+
}, R = (e, t, o, l) => {
|
|
98
|
+
const n = { row: e, item: t, rowIndex: o, columnIndex: l };
|
|
99
|
+
b("on-click-item", n), p.parseEvents(s.useEvents, "on-click-item", n);
|
|
99
100
|
};
|
|
100
|
-
return (e,
|
|
101
|
-
key:
|
|
101
|
+
return (e, t) => a.value.length > 0 ? (r(), i("div", {
|
|
102
|
+
key: h.value,
|
|
102
103
|
class: "table-scroll",
|
|
103
104
|
style: u({ lineHeight: e.basicOption.css.body.height + "px" })
|
|
104
105
|
}, [
|
|
@@ -109,19 +110,19 @@ const G = ["onClick", "onMouseenter", "onMouseout"], K = ["onClick"], Q = { key:
|
|
|
109
110
|
"--header-background-image": `url(${e.basicOption.css.header.backgroundImage})`
|
|
110
111
|
})
|
|
111
112
|
}, [
|
|
112
|
-
(r(!0), i(O, null,
|
|
113
|
-
key:
|
|
114
|
-
class:
|
|
115
|
-
style: u({ "--width":
|
|
113
|
+
(r(!0), i(O, null, y(Object.keys(a.value[0]), (o, l) => (r(), i("div", {
|
|
114
|
+
key: o,
|
|
115
|
+
class: W(["th", { customWidth: !C(l + 1) }]),
|
|
116
|
+
style: u({ "--width": E(l + 1) + "px" })
|
|
116
117
|
}, [
|
|
117
|
-
|
|
118
|
+
T("p", null, g(o), 1)
|
|
118
119
|
], 6))), 128))
|
|
119
|
-
], 4)) :
|
|
120
|
-
|
|
121
|
-
modelValue:
|
|
122
|
-
"onUpdate:modelValue":
|
|
120
|
+
], 4)) : V("", !0),
|
|
121
|
+
J(q(U), {
|
|
122
|
+
modelValue: m.value,
|
|
123
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => m.value = o),
|
|
123
124
|
direction: e.basicOption.scroll.direction,
|
|
124
|
-
list:
|
|
125
|
+
list: a.value,
|
|
125
126
|
"is-watch": "",
|
|
126
127
|
hover: e.basicOption.scroll.hover,
|
|
127
128
|
"limit-scroll-num": e.basicOption.scroll.limitScrollNum,
|
|
@@ -132,40 +133,40 @@ const G = ["onClick", "onMouseenter", "onMouseout"], K = ["onClick"], Q = { key:
|
|
|
132
133
|
"line-height": "36px"
|
|
133
134
|
}])
|
|
134
135
|
}, {
|
|
135
|
-
default:
|
|
136
|
-
(r(!0), i(O, null,
|
|
137
|
-
key:
|
|
136
|
+
default: P(() => [
|
|
137
|
+
(r(!0), i(O, null, y(a.value, (o, l) => (r(), i("div", {
|
|
138
|
+
key: o,
|
|
138
139
|
class: "tr",
|
|
139
140
|
style: u({
|
|
140
141
|
"--row-hover": e.basicOption.css.hoverColor
|
|
141
142
|
}),
|
|
142
|
-
onClick: (n) =>
|
|
143
|
-
onMouseenter: (n) =>
|
|
144
|
-
onMouseout: (n) =>
|
|
143
|
+
onClick: (n) => B(o, l),
|
|
144
|
+
onMouseenter: (n) => H(o, l),
|
|
145
|
+
onMouseout: (n) => I(o, l)
|
|
145
146
|
}, [
|
|
146
|
-
(r(!0), i(O, null,
|
|
147
|
+
(r(!0), i(O, null, y(L(o), (n, c) => (r(), i("div", {
|
|
147
148
|
key: n,
|
|
148
|
-
class:
|
|
149
|
-
style: u({ "--width":
|
|
150
|
-
onClick: (
|
|
149
|
+
class: W(["td", { customWidth: !C(c + 1) }]),
|
|
150
|
+
style: u({ "--width": E(c + 1) + "px" }),
|
|
151
|
+
onClick: (Z) => R(o, n, l, c)
|
|
151
152
|
}, [
|
|
152
|
-
|
|
153
|
+
N(c + 1) ? (r(), i("p", X, g(n), 1)) : (r(), i("p", {
|
|
153
154
|
key: 0,
|
|
154
155
|
class: "customFont",
|
|
155
156
|
style: u({
|
|
156
|
-
"--text-color": f(
|
|
157
|
-
"--text-font-size": f(
|
|
158
|
-
"--text-font-style": f(
|
|
157
|
+
"--text-color": f(c + 1).color,
|
|
158
|
+
"--text-font-size": f(c + 1).fontSize + "px",
|
|
159
|
+
"--text-font-style": f(c + 1).fontStyle
|
|
159
160
|
})
|
|
160
|
-
},
|
|
161
|
-
], 14,
|
|
162
|
-
], 44,
|
|
161
|
+
}, g(n), 5))
|
|
162
|
+
], 14, Q))), 128))
|
|
163
|
+
], 44, K))), 128))
|
|
163
164
|
]),
|
|
164
165
|
_: 1
|
|
165
166
|
}, 8, ["modelValue", "direction", "list", "hover", "limit-scroll-num", "single-height", "single-wait-time"])
|
|
166
|
-
], 4)) :
|
|
167
|
+
], 4)) : V("", !0);
|
|
167
168
|
}
|
|
168
169
|
});
|
|
169
170
|
export {
|
|
170
|
-
|
|
171
|
+
ne as default
|
|
171
172
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-896f9b11"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { defineComponent as f, watch as s, createElementBlock as
|
|
2
|
-
import { cloneDeep as c, isEqual as
|
|
3
|
-
import { SHJDatasourceV2 as k } from "../../commons/
|
|
4
|
-
import { autoInstallFont as
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as f, watch as s, createElementBlock as S, openBlock as g, unref as i, normalizeStyle as w, toDisplayString as _, ref as D, onMounted as E, nextTick as b } from "vue";
|
|
2
|
+
import { cloneDeep as c, isEqual as p } from "lodash";
|
|
3
|
+
import { SHJDatasourceV2 as k } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
+
import { autoInstallFont as C, jsonToCssStyle as j } from "../../commons/utils/json2css.mjs";
|
|
5
|
+
import { SHJParseEvent as d } from "../../commons/plugins/event/index.mjs";
|
|
6
|
+
const z = ["ztitle"], T = f({ name: "zv-text-text-dynamic" }), F = /* @__PURE__ */ f({
|
|
7
|
+
...T,
|
|
7
8
|
props: {
|
|
8
9
|
basicOption: {},
|
|
9
10
|
sources: {},
|
|
10
11
|
useEvents: {},
|
|
11
12
|
uuid: {}
|
|
12
13
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const o =
|
|
15
|
-
const t =
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
e.color && e.color.includes("linear-gradient") && (
|
|
19
|
-
const
|
|
14
|
+
setup(x, { expose: m }) {
|
|
15
|
+
const o = x, y = () => {
|
|
16
|
+
const t = D(""), n = (e) => {
|
|
17
|
+
C(e.fontFamily);
|
|
18
|
+
const a = {};
|
|
19
|
+
e.color && e.color.includes("linear-gradient") && (a.backgroundImage = e.color, a["-webkit-background-clip"] = "text", a.color = "transparent");
|
|
20
|
+
const v = {};
|
|
20
21
|
return e.textAlign === "left" && (e.justifyContent = "flex-start"), e.textAlign === "center" && (e.justifyContent = "center"), e.textAlign === "right" && (e.justifyContent = "flex-end"), {
|
|
21
|
-
...
|
|
22
|
-
...
|
|
23
|
-
...
|
|
22
|
+
...j(e),
|
|
23
|
+
...a,
|
|
24
|
+
...v,
|
|
24
25
|
...e.textShadow.show ? { "--text-shadow": `${e.textShadow.x}px ${e.textShadow.y}px ${e.textShadow.value}px ${e.textShadow.color}` } : {}
|
|
25
26
|
};
|
|
26
27
|
}, u = () => {
|
|
@@ -29,30 +30,30 @@ const j = ["ztitle"], z = f({ name: "zv-text-text-dynamic" }), I = /* @__PURE__
|
|
|
29
30
|
sources: o.sources,
|
|
30
31
|
callback: ({ data: e }) => {
|
|
31
32
|
try {
|
|
32
|
-
|
|
33
|
+
d.parseEvents(o.useEvents, "dataListener", e), t.value = e[0].data[0].value;
|
|
33
34
|
} catch {
|
|
34
|
-
|
|
35
|
+
d.parseEvents(o.useEvents, "dataListener", null);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
});
|
|
38
39
|
};
|
|
39
|
-
return
|
|
40
|
-
}, { rendererDomStyle:
|
|
40
|
+
return E(() => b(() => u())), { rendererDomStyle: n, init: u, value: t };
|
|
41
|
+
}, { rendererDomStyle: h, init: r, value: l } = y();
|
|
41
42
|
return s(() => c(o.basicOption), (t, n) => {
|
|
42
|
-
|
|
43
|
+
p(t, n) || r();
|
|
43
44
|
}, { deep: !0 }), s(() => c(o.sources), (t, n) => {
|
|
44
|
-
|
|
45
|
-
}, { deep: !0 }),
|
|
45
|
+
p(t, n) || r();
|
|
46
|
+
}, { deep: !0 }), m({
|
|
46
47
|
refresh: () => r(),
|
|
47
48
|
refreshView: () => r(),
|
|
48
49
|
refreshData: () => r()
|
|
49
|
-
}), (t, n) => (
|
|
50
|
+
}), (t, n) => (g(), S("p", {
|
|
50
51
|
class: "zerov-widget-text",
|
|
51
|
-
style:
|
|
52
|
-
ztitle:
|
|
53
|
-
},
|
|
52
|
+
style: w(i(h)(t.basicOption.css)),
|
|
53
|
+
ztitle: i(l)
|
|
54
|
+
}, _(i(l)), 13, z));
|
|
54
55
|
}
|
|
55
56
|
});
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
F as default
|
|
58
59
|
};
|
package/es/env.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -5,4 +5,6 @@ declare const _default: {
|
|
|
5
5
|
install: (app: App) => void;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
|
-
export * from './commons/
|
|
8
|
+
export * from './commons/plugins/datasource';
|
|
9
|
+
export * from './commons/plugins/event';
|
|
10
|
+
export * from './commons/utils/getNextElement';
|