@shjjs/visual-ui 1.0.13 → 1.0.15
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/datasource/core/api.d.ts +1 -0
- package/es/commons/core/datasource/core/api.mjs +32 -0
- package/es/commons/core/datasource/core/static.d.ts +1 -0
- package/es/commons/core/datasource/core/static.mjs +16 -0
- package/es/commons/core/datasource/core/url.d.ts +1 -0
- package/es/commons/core/datasource/core/url.mjs +17 -0
- package/es/commons/core/datasource/core/variable.d.ts +1 -0
- package/es/commons/core/datasource/core/variable.mjs +17 -0
- package/es/commons/core/datasource/core/ws.d.ts +32 -0
- package/es/commons/core/datasource/core/ws.mjs +138 -0
- package/es/commons/core/datasource/index.d.ts +63 -0
- package/es/commons/core/datasource/index.mjs +191 -0
- package/es/commons/core/datasource/utils/request.d.ts +3 -0
- package/es/commons/core/datasource/utils/request.mjs +7 -0
- package/es/commons/core/datasource/utils/utils.d.ts +50 -0
- package/es/commons/core/datasource/utils/utils.mjs +123 -0
- package/es/commons/core/datasource/utils/wsManager.d.ts +16 -0
- package/es/commons/core/datasource/utils/wsManager.mjs +78 -0
- package/es/commons/core/earth/base64/Aperture.d.ts +1 -0
- package/es/commons/core/earth/base64/Aperture.mjs +4 -0
- package/es/commons/core/earth/base64/Callout.d.ts +1 -0
- package/es/commons/core/earth/base64/Callout.mjs +4 -0
- package/es/commons/core/earth/base64/CalloutAperture.d.ts +1 -0
- package/es/commons/core/earth/base64/CalloutAperture.mjs +4 -0
- package/es/commons/core/earth/base64/CloudCover.d.ts +1 -0
- package/es/commons/core/earth/base64/CloudCover.mjs +4 -0
- package/es/commons/core/earth/base64/LightColumn.d.ts +1 -0
- package/es/commons/core/earth/base64/LightColumn.mjs +4 -0
- package/es/commons/core/earth/base64/StarrySky.d.ts +1 -0
- package/es/commons/core/earth/base64/StarrySky.mjs +4 -0
- package/es/commons/core/earth/base64/rotation/innner.d.ts +1 -0
- package/es/commons/core/earth/base64/rotation/innner.mjs +4 -0
- package/es/commons/core/earth/base64/rotation/out.d.ts +1 -0
- package/es/commons/core/earth/base64/rotation/out.mjs +4 -0
- package/es/commons/core/earth/border.vue.d.ts +70 -0
- package/es/commons/core/earth/border.vue.mjs +19 -0
- package/es/commons/core/earth/border.vue2.mjs +4 -0
- package/es/commons/core/earth/geojson/china-border.d.ts +22 -0
- package/es/commons/core/earth/geojson/china-border.mjs +29305 -0
- package/es/commons/core/earth/geojson/china.d.ts +84 -0
- package/es/commons/core/earth/geojson/china.mjs +103022 -0
- package/es/commons/core/earth/geojson/world.d.ts +25 -0
- package/es/commons/core/earth/geojson/world.mjs +43220 -0
- package/es/commons/core/earth/interface.d.ts +190 -0
- package/es/commons/core/earth/main.d.ts +94 -0
- package/es/commons/core/earth/main.mjs +504 -0
- package/es/commons/core/earth/main.vue.d.ts +834 -0
- package/es/commons/core/earth/main.vue.mjs +7 -0
- package/es/commons/core/earth/main.vue2.mjs +290 -0
- package/es/commons/core/earth/types.d.ts +108 -0
- package/es/commons/core/earth/utils/GradientLine.d.ts +17 -0
- package/es/commons/core/earth/utils/GradientLine.mjs +78 -0
- package/es/commons/core/earth/utils/composer.d.ts +38 -0
- package/es/commons/core/earth/utils/composer.mjs +40 -0
- package/es/commons/core/earth/utils/controls/obt.d.ts +9 -0
- package/es/commons/core/earth/utils/controls/obt.mjs +19 -0
- package/es/commons/core/earth/utils/interface.d.ts +134 -0
- package/es/commons/core/earth/utils/label.d.ts +4 -0
- package/es/commons/core/earth/utils/label.mjs +15 -0
- package/es/commons/core/earth/utils/line2.d.ts +3 -0
- package/es/commons/core/earth/utils/line2.mjs +21 -0
- package/es/commons/core/earth/utils/scene.d.ts +28 -0
- package/es/commons/core/earth/utils/scene.mjs +120 -0
- package/es/commons/core/useChart.d.ts +15 -0
- package/es/commons/core/useChart.mjs +115 -0
- package/es/commons/utils/babylon/ColorConvert.d.ts +3 -0
- package/es/commons/utils/babylon/ColorConvert.mjs +21 -0
- package/es/commons/utils/clickOutSide.d.ts +5 -0
- package/es/commons/utils/clickOutSide.mjs +13 -0
- package/es/commons/utils/cloneSeries.d.ts +7 -0
- package/es/commons/utils/cloneSeries.mjs +12 -0
- package/es/commons/utils/hoverLoop.d.ts +10 -0
- package/es/commons/utils/hoverLoop.mjs +43 -0
- package/es/commons/utils/imgPreloader.d.ts +1 -0
- package/es/commons/utils/imgPreloader.mjs +16 -0
- package/es/commons/utils/install.d.ts +2 -0
- package/es/commons/utils/install.mjs +7 -0
- package/es/commons/utils/json2css.d.ts +3 -0
- package/es/commons/utils/json2css.mjs +31 -0
- package/es/commons/utils/parseDataset.d.ts +4 -0
- package/es/commons/utils/parseDataset.mjs +19 -0
- package/es/commons/utils/parseOtherData.d.ts +1 -0
- package/es/commons/utils/parseOtherData.mjs +10 -0
- package/es/commons/utils/parseScatterData.d.ts +3 -0
- package/es/commons/utils/parseScatterData.mjs +14 -0
- package/es/commons/utils/shj/component-refs.d.ts +6 -0
- package/es/commons/utils/shj/component-refs.mjs +10 -0
- package/es/commons/utils/typescript.d.ts +5 -0
- package/es/components/chart-bar-animation/index.d.ts +1 -1
- package/es/components/chart-bar-animation/index.mjs +1 -1
- package/es/components/chart-bar-animation/index.vue.mjs +21 -20
- package/es/components/chart-bar-basic/index.d.ts +1 -1
- package/es/components/chart-bar-basic/index.mjs +1 -1
- package/es/components/chart-bar-basic/index.vue.mjs +21 -20
- package/es/components/chart-bar-contrast/index.d.ts +1 -1
- package/es/components/chart-bar-contrast/index.mjs +1 -1
- package/es/components/chart-bar-contrast/index.vue.mjs +34 -33
- package/es/components/chart-bar-contrast2/index.d.ts +1 -1
- package/es/components/chart-bar-contrast2/index.mjs +1 -1
- package/es/components/chart-bar-contrast2/index.vue.mjs +20 -19
- package/es/components/chart-bar-contrast3/index.d.ts +1 -1
- package/es/components/chart-bar-contrast3/index.mjs +1 -1
- package/es/components/chart-bar-contrast3/index.vue.mjs +19 -18
- package/es/components/chart-bar-gradient-column-chart/index.d.ts +1 -1
- package/es/components/chart-bar-gradient-column-chart/index.mjs +1 -1
- package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +21 -20
- package/es/components/chart-bar-horizontal/index.d.ts +1 -1
- package/es/components/chart-bar-horizontal/index.mjs +1 -1
- package/es/components/chart-bar-horizontal/index.vue.mjs +21 -20
- package/es/components/chart-bar-horizontal-stack/index.d.ts +1 -1
- package/es/components/chart-bar-horizontal-stack/index.mjs +1 -1
- package/es/components/chart-bar-horizontal-stack/index.vue.mjs +21 -20
- package/es/components/chart-bar-line-bar/index.d.ts +1 -1
- package/es/components/chart-bar-line-bar/index.mjs +1 -1
- package/es/components/chart-bar-line-bar/index.vue.mjs +26 -25
- package/es/components/chart-bar-line-bar2/index.d.ts +1 -1
- package/es/components/chart-bar-line-bar2/index.mjs +1 -1
- package/es/components/chart-bar-line-bar2/index.vue.mjs +26 -25
- package/es/components/chart-bar-loop/index.d.ts +1 -1
- package/es/components/chart-bar-loop/index.mjs +1 -1
- package/es/components/chart-bar-loop/index.vue.mjs +14 -13
- package/es/components/chart-bar-mini/index.d.ts +1 -1
- package/es/components/chart-bar-mini/index.mjs +1 -1
- package/es/components/chart-bar-mini/index.vue.mjs +23 -22
- package/es/components/chart-bar-polar/index.d.ts +1 -1
- package/es/components/chart-bar-polar/index.mjs +1 -1
- package/es/components/chart-bar-polar/index.vue.mjs +20 -19
- package/es/components/chart-bar-polar-stack/index.d.ts +1 -1
- package/es/components/chart-bar-polar-stack/index.mjs +1 -1
- package/es/components/chart-bar-polar-stack/index.vue.mjs +20 -19
- package/es/components/chart-bar-polar2/index.d.ts +1 -1
- package/es/components/chart-bar-polar2/index.mjs +1 -1
- package/es/components/chart-bar-polar2/index.vue.mjs +20 -19
- package/es/components/chart-bar-radius-circle/index.d.ts +1 -1
- package/es/components/chart-bar-radius-circle/index.mjs +1 -1
- package/es/components/chart-bar-radius-circle/index.vue.mjs +20 -19
- package/es/components/chart-bar-rank/index.d.ts +1 -1
- package/es/components/chart-bar-rank/index.mjs +1 -1
- package/es/components/chart-bar-rank/index.vue.mjs +19 -18
- package/es/components/chart-bar-segmented-progress/index.d.ts +1 -1
- package/es/components/chart-bar-segmented-progress/index.mjs +1 -1
- package/es/components/chart-bar-segmented-progress/index.vue.mjs +19 -18
- package/es/components/chart-bar-spire/index.d.ts +1 -1
- package/es/components/chart-bar-spire/index.mjs +1 -1
- package/es/components/chart-bar-spire/index.vue.mjs +22 -21
- package/es/components/chart-bar-stack/index.d.ts +1 -1
- package/es/components/chart-bar-stack/index.mjs +1 -1
- package/es/components/chart-bar-stack/index.vue.mjs +21 -20
- package/es/components/chart-bar-stack-line/index.d.ts +1 -1
- package/es/components/chart-bar-stack-line/index.mjs +1 -1
- package/es/components/chart-bar-stack-line/index.vue.mjs +20 -19
- package/es/components/chart-bar-stack2/index.d.ts +1 -1
- package/es/components/chart-bar-stack2/index.mjs +1 -1
- package/es/components/chart-bar-stack2/index.vue.mjs +20 -19
- package/es/components/chart-bar-stack3/index.d.ts +1 -1
- package/es/components/chart-bar-stack3/index.mjs +1 -1
- package/es/components/chart-bar-stack3/index.vue.mjs +20 -19
- package/es/components/chart-bar-staggered/index.d.ts +1 -1
- package/es/components/chart-bar-staggered/index.mjs +1 -1
- package/es/components/chart-bar-staggered/index.vue.mjs +20 -19
- package/es/components/chart-bar-three/index.d.ts +1 -1
- package/es/components/chart-bar-three/index.mjs +1 -1
- package/es/components/chart-bar-three/index.vue.mjs +18 -17
- package/es/components/chart-bar-waterfall/index.d.ts +1 -1
- package/es/components/chart-bar-waterfall/index.mjs +1 -1
- package/es/components/chart-bar-waterfall/index.vue.mjs +18 -17
- package/es/components/chart-bar-zebra/index.d.ts +1 -1
- package/es/components/chart-bar-zebra/index.mjs +1 -1
- package/es/components/chart-bar-zebra/index.vue.mjs +20 -19
- package/es/components/chart-line-area-gradient/index.d.ts +1 -1
- package/es/components/chart-line-area-gradient/index.mjs +1 -1
- package/es/components/chart-line-area-gradient/index.vue.mjs +18 -17
- package/es/components/chart-line-area-highlight/index.d.ts +1 -1
- package/es/components/chart-line-area-highlight/index.mjs +1 -1
- package/es/components/chart-line-area-highlight/index.vue.mjs +19 -18
- package/es/components/chart-line-area-highlight2/index.d.ts +1 -1
- package/es/components/chart-line-area-highlight2/index.mjs +1 -1
- package/es/components/chart-line-area-highlight2/index.vue.mjs +19 -18
- package/es/components/chart-line-basic/index.d.ts +1 -1
- package/es/components/chart-line-basic/index.mjs +1 -1
- package/es/components/chart-line-basic/index.vue.mjs +18 -17
- package/es/components/chart-line-bump/index.d.ts +1 -1
- package/es/components/chart-line-bump/index.mjs +1 -1
- package/es/components/chart-line-bump/index.vue.mjs +17 -16
- package/es/components/chart-line-dashed/index.d.ts +1 -1
- package/es/components/chart-line-dashed/index.mjs +1 -1
- package/es/components/chart-line-dashed/index.vue.mjs +20 -19
- package/es/components/chart-line-ladder/index.d.ts +1 -1
- package/es/components/chart-line-ladder/index.mjs +1 -1
- package/es/components/chart-line-ladder/index.vue.mjs +18 -17
- package/es/components/chart-line-logarithm/index.d.ts +1 -1
- package/es/components/chart-line-logarithm/index.mjs +1 -1
- package/es/components/chart-line-logarithm/index.vue.mjs +18 -17
- package/es/components/chart-line-multix/index.d.ts +1 -1
- package/es/components/chart-line-multix/index.mjs +1 -1
- package/es/components/chart-line-multix/index.vue.mjs +18 -17
- package/es/components/chart-line-polar-double/index.d.ts +1 -1
- package/es/components/chart-line-polar-double/index.mjs +1 -1
- package/es/components/chart-line-polar-double/index.vue.mjs +14 -13
- package/es/components/chart-line-rain-flow/index.d.ts +1 -1
- package/es/components/chart-line-rain-flow/index.mjs +1 -1
- package/es/components/chart-line-rain-flow/index.vue.mjs +20 -19
- package/es/components/chart-line-scale/index.d.ts +1 -1
- package/es/components/chart-line-scale/index.mjs +1 -1
- package/es/components/chart-line-scale/index.vue.mjs +18 -17
- package/es/components/chart-line-smooth/index.d.ts +1 -1
- package/es/components/chart-line-smooth/index.mjs +1 -1
- package/es/components/chart-line-smooth/index.vue.mjs +21 -20
- package/es/components/chart-line-smooth-area/index.d.ts +1 -1
- package/es/components/chart-line-smooth-area/index.mjs +1 -1
- package/es/components/chart-line-smooth-area/index.vue.mjs +21 -20
- package/es/components/chart-line-stack/index.d.ts +1 -1
- package/es/components/chart-line-stack/index.mjs +1 -1
- package/es/components/chart-line-stack/index.vue.mjs +18 -17
- package/es/components/chart-line-stack-area/index.d.ts +1 -1
- package/es/components/chart-line-stack-area/index.mjs +1 -1
- package/es/components/chart-line-stack-area/index.vue.mjs +18 -17
- package/es/components/chart-line-temp/index.d.ts +1 -1
- package/es/components/chart-line-temp/index.mjs +1 -1
- package/es/components/chart-line-temp/index.vue.mjs +17 -16
- package/es/components/chart-line-vertical/index.d.ts +1 -1
- package/es/components/chart-line-vertical/index.mjs +1 -1
- package/es/components/chart-line-vertical/index.vue.mjs +18 -17
- package/es/components/chart-map-basic/index.d.ts +1 -1
- package/es/components/chart-map-basic/index.mjs +1 -1
- package/es/components/chart-map-basic/index.vue.mjs +18 -17
- package/es/components/chart-map-bmap-basic/index.d.ts +1 -1
- package/es/components/chart-map-bmap-basic/index.mjs +1 -1
- package/es/components/chart-map-bmap-basic/index.vue.mjs +24 -23
- package/es/components/chart-map-bmap-heatmap/index.d.ts +1 -1
- package/es/components/chart-map-bmap-heatmap/index.mjs +1 -1
- package/es/components/chart-map-bmap-heatmap/index.vue.mjs +24 -23
- package/es/components/chart-map-bmap-rich/index.d.ts +1 -1
- package/es/components/chart-map-bmap-rich/index.mjs +1 -1
- package/es/components/chart-map-bmap-rich/index.vue.mjs +24 -23
- package/es/components/chart-map-customize/index.d.ts +1 -1
- package/es/components/chart-map-customize/index.mjs +1 -1
- package/es/components/chart-map-customize/index.vue.mjs +25 -24
- package/es/components/chart-map-lines/index.d.ts +1 -1
- package/es/components/chart-map-lines/index.mjs +1 -1
- package/es/components/chart-map-lines/index.vue.mjs +23 -22
- package/es/components/chart-map-scatter/index.d.ts +1 -1
- package/es/components/chart-map-scatter/index.mjs +1 -1
- package/es/components/chart-map-scatter/index.vue.mjs +25 -24
- package/es/components/chart-other-candlestick-basic/index.d.ts +1 -1
- package/es/components/chart-other-candlestick-basic/index.mjs +1 -1
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +20 -19
- package/es/components/chart-other-candlestick-demo/index.d.ts +1 -1
- package/es/components/chart-other-candlestick-demo/index.mjs +1 -1
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +31 -30
- package/es/components/chart-other-candlestick-shanghai/index.d.ts +1 -1
- package/es/components/chart-other-candlestick-shanghai/index.mjs +1 -1
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +17 -16
- package/es/components/chart-other-circular-graph/index.d.ts +1 -1
- package/es/components/chart-other-circular-graph/index.mjs +1 -1
- package/es/components/chart-other-circular-graph/index.vue.mjs +13 -12
- package/es/components/chart-other-force/index.d.ts +1 -1
- package/es/components/chart-other-force/index.mjs +1 -1
- package/es/components/chart-other-force/index.vue.mjs +27 -26
- package/es/components/chart-other-force2/index.d.ts +1 -1
- package/es/components/chart-other-force2/index.mjs +1 -1
- package/es/components/chart-other-force2/index.vue.mjs +27 -26
- package/es/components/chart-other-funnel/index.d.ts +1 -1
- package/es/components/chart-other-funnel/index.mjs +1 -1
- package/es/components/chart-other-funnel/index.vue.mjs +25 -24
- package/es/components/chart-other-funnel-contrast/index.d.ts +1 -1
- package/es/components/chart-other-funnel-contrast/index.mjs +1 -1
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +25 -24
- package/es/components/chart-other-funnel-split/index.d.ts +1 -1
- package/es/components/chart-other-funnel-split/index.mjs +1 -1
- package/es/components/chart-other-funnel-split/index.vue.mjs +25 -24
- package/es/components/chart-other-funnel2/index.d.ts +1 -1
- package/es/components/chart-other-funnel2/index.mjs +1 -1
- package/es/components/chart-other-funnel2/index.vue.mjs +25 -24
- package/es/components/chart-other-gauge/index.d.ts +1 -1
- package/es/components/chart-other-gauge/index.mjs +1 -1
- package/es/components/chart-other-gauge/index.vue.mjs +23 -22
- package/es/components/chart-other-gauge-grade/index.d.ts +1 -1
- package/es/components/chart-other-gauge-grade/index.mjs +1 -1
- package/es/components/chart-other-gauge-grade/index.vue.mjs +24 -23
- package/es/components/chart-other-gauge-stage/index.d.ts +1 -1
- package/es/components/chart-other-gauge-stage/index.mjs +1 -1
- package/es/components/chart-other-gauge-stage/index.vue.mjs +24 -23
- package/es/components/chart-other-graph-basic/index.d.ts +1 -1
- package/es/components/chart-other-graph-basic/index.mjs +1 -1
- package/es/components/chart-other-graph-basic/index.vue.mjs +13 -12
- package/es/components/chart-other-graph-basic2/index.d.ts +1 -1
- package/es/components/chart-other-graph-basic2/index.mjs +1 -1
- package/es/components/chart-other-graph-basic2/index.vue.mjs +13 -12
- package/es/components/chart-other-graph-calendar/index.d.ts +1 -1
- package/es/components/chart-other-graph-calendar/index.mjs +1 -1
- package/es/components/chart-other-graph-calendar/index.vue.mjs +13 -12
- package/es/components/chart-other-grid-percentage/index.d.ts +1 -1
- package/es/components/chart-other-grid-percentage/index.mjs +1 -1
- package/es/components/chart-other-grid-percentage/index.vue.mjs +11 -10
- package/es/components/chart-other-heatmap/index.d.ts +1 -1
- package/es/components/chart-other-heatmap/index.mjs +1 -1
- package/es/components/chart-other-heatmap/index.vue.mjs +27 -26
- package/es/components/chart-other-label-gauge/index.d.ts +1 -1
- package/es/components/chart-other-label-gauge/index.mjs +1 -1
- package/es/components/chart-other-label-gauge/index.vue.mjs +11 -10
- package/es/components/chart-other-liquidfill/index.d.ts +1 -1
- package/es/components/chart-other-liquidfill/index.mjs +1 -1
- package/es/components/chart-other-liquidfill/index.vue.mjs +11 -10
- package/es/components/chart-other-parallel-basic/index.d.ts +1 -1
- package/es/components/chart-other-parallel-basic/index.mjs +1 -1
- package/es/components/chart-other-parallel-basic/index.vue.mjs +13 -12
- package/es/components/chart-other-parallel-mul/index.d.ts +1 -1
- package/es/components/chart-other-parallel-mul/index.mjs +1 -1
- package/es/components/chart-other-parallel-mul/index.vue.mjs +18 -17
- package/es/components/chart-other-radar/index.d.ts +1 -1
- package/es/components/chart-other-radar/index.mjs +1 -1
- package/es/components/chart-other-radar/index.vue.mjs +30 -29
- package/es/components/chart-other-radar-stack/index.d.ts +1 -1
- package/es/components/chart-other-radar-stack/index.mjs +1 -1
- package/es/components/chart-other-radar-stack/index.vue.mjs +21 -20
- package/es/components/chart-other-sunburst-basic/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-basic/index.mjs +1 -1
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-basic2/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-basic2/index.mjs +1 -1
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-basic3/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-basic3/index.mjs +1 -1
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-basic4/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-basic4/index.mjs +1 -1
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +20 -19
- package/es/components/chart-other-sunburst-book/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-book/index.mjs +1 -1
- package/es/components/chart-other-sunburst-book/index.vue.mjs +17 -16
- package/es/components/chart-other-sunburst-flavors/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-flavors/index.mjs +1 -1
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +13 -12
- package/es/components/chart-other-sunburst-radius/index.d.ts +1 -1
- package/es/components/chart-other-sunburst-radius/index.mjs +1 -1
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +27 -26
- package/es/components/chart-other-theme-river/index.d.ts +1 -1
- package/es/components/chart-other-theme-river/index.mjs +1 -1
- package/es/components/chart-other-theme-river/index.vue.mjs +23 -22
- package/es/components/chart-other-tree/index.d.ts +1 -1
- package/es/components/chart-other-tree/index.mjs +1 -1
- package/es/components/chart-other-tree/index.vue.mjs +16 -15
- package/es/components/chart-other-tree-line/index.d.ts +1 -1
- package/es/components/chart-other-tree-line/index.mjs +1 -1
- package/es/components/chart-other-tree-line/index.vue.mjs +15 -14
- package/es/components/chart-other-treemap/index.d.ts +1 -1
- package/es/components/chart-other-treemap/index.mjs +1 -1
- package/es/components/chart-other-treemap/index.vue.mjs +16 -15
- package/es/components/chart-other-treemap-basic/index.d.ts +1 -1
- package/es/components/chart-other-treemap-basic/index.mjs +1 -1
- package/es/components/chart-other-treemap-basic/index.vue.mjs +19 -18
- package/es/components/chart-other-word-cloud/index.d.ts +1 -1
- package/es/components/chart-other-word-cloud/index.mjs +1 -1
- package/es/components/chart-other-word-cloud/index.vue.mjs +15 -14
- package/es/components/chart-pie-3d/index.d.ts +1 -1
- package/es/components/chart-pie-3d/index.mjs +1 -1
- package/es/components/chart-pie-3d/index.vue.mjs +21 -20
- package/es/components/chart-pie-basic/index.d.ts +1 -1
- package/es/components/chart-pie-basic/index.mjs +1 -1
- package/es/components/chart-pie-basic/index.vue.mjs +17 -16
- package/es/components/chart-pie-basic2/index.d.ts +1 -1
- package/es/components/chart-pie-basic2/index.mjs +1 -1
- package/es/components/chart-pie-basic2/index.vue.mjs +17 -16
- package/es/components/chart-pie-customized/index.d.ts +1 -1
- package/es/components/chart-pie-customized/index.mjs +1 -1
- package/es/components/chart-pie-customized/index.vue.mjs +19 -18
- package/es/components/chart-pie-index/index.d.ts +1 -1
- package/es/components/chart-pie-index/index.mjs +1 -1
- package/es/components/chart-pie-index/index.vue.mjs +26 -25
- package/es/components/chart-pie-interval/index.d.ts +1 -1
- package/es/components/chart-pie-interval/index.mjs +1 -1
- package/es/components/chart-pie-interval/index.vue.mjs +23 -22
- package/es/components/chart-pie-legend-scroll/index.d.ts +1 -1
- package/es/components/chart-pie-legend-scroll/index.mjs +1 -1
- package/es/components/chart-pie-legend-scroll/index.vue.mjs +17 -16
- package/es/components/chart-pie-radius/index.d.ts +1 -1
- package/es/components/chart-pie-radius/index.mjs +1 -1
- package/es/components/chart-pie-radius/index.vue.mjs +17 -16
- package/es/components/chart-pie-rose/index.d.ts +1 -1
- package/es/components/chart-pie-rose/index.mjs +1 -1
- package/es/components/chart-pie-rose/index.vue.mjs +20 -19
- package/es/components/chart-pie-round/index.d.ts +1 -1
- package/es/components/chart-pie-round/index.mjs +1 -1
- package/es/components/chart-pie-round/index.vue.mjs +17 -16
- package/es/components/chart-pie-semicircle/index.d.ts +1 -1
- package/es/components/chart-pie-semicircle/index.mjs +1 -1
- package/es/components/chart-pie-semicircle/index.vue.mjs +20 -19
- package/es/components/chart-pie-sunburst/index.d.ts +1 -1
- package/es/components/chart-pie-sunburst/index.mjs +1 -1
- package/es/components/chart-pie-sunburst/index.vue.mjs +17 -16
- package/es/components/chart-scatter-basic/index.d.ts +1 -1
- package/es/components/chart-scatter-basic/index.mjs +1 -1
- package/es/components/chart-scatter-basic/index.vue.mjs +21 -20
- package/es/components/chart-scatter-basic2/index.d.ts +1 -1
- package/es/components/chart-scatter-basic2/index.mjs +1 -1
- package/es/components/chart-scatter-basic2/index.vue.mjs +21 -20
- package/es/components/chart-scatter-bubble/index.d.ts +1 -1
- package/es/components/chart-scatter-bubble/index.mjs +1 -1
- package/es/components/chart-scatter-bubble/index.vue.mjs +18 -17
- package/es/components/chart-scatter-ripples/index.d.ts +1 -1
- package/es/components/chart-scatter-ripples/index.mjs +1 -1
- package/es/components/chart-scatter-ripples/index.vue.mjs +19 -18
- package/es/components/commons-babylon/index.mjs +1 -1
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +4 -3
- package/es/components/commons-echarts/index.d.ts +1 -37
- package/es/components/commons-echarts/index.mjs +1 -1
- package/es/components/commons-gaussian-splatting-view/index.mjs +1 -1
- package/es/components/commons-gaussian-splatting-view/index.vue.mjs +2 -2
- package/es/components/commons-gaussian-splatting-view/index.vue2.mjs +1 -1
- package/es/components/commons-loop-iterator/index.d.ts +1 -1
- package/es/components/commons-loop-iterator/index.mjs +1 -1
- package/es/components/commons-loop-iterator/index.vue.mjs +1 -1
- package/es/components/commons-loop-iterator/index.vue2.mjs +28 -27
- package/es/components/commons-product-model/index.mjs +1 -1
- package/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +1 -1
- package/es/components/commons-qrcode/index.mjs +1 -1
- package/es/components/commons-svg/index.d.ts +1 -1
- package/es/components/commons-svg/index.mjs +1 -1
- package/es/components/commons-three-loader/index.mjs +1 -1
- package/es/components/commons-three-loader/index.vue.mjs +2 -2
- package/es/components/commons-three-loader/index.vue2.mjs +1 -1
- package/es/components/commons-three-loader3/index.d.ts +1 -1
- package/es/components/commons-three-loader3/index.mjs +1 -1
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +1 -1
- package/es/components/commons-vr-photo/index.mjs +1 -1
- package/es/components/commons-vr-video/index.mjs +1 -1
- package/es/components/commons-weather/index.mjs +1 -1
- package/es/components/commons-weather/index.vue.mjs +1 -1
- package/es/components/commons-weather/index.vue2.mjs +1 -1
- package/es/components/graphical-circle/index.d.ts +1 -1
- package/es/components/graphical-circle/index.mjs +1 -1
- package/es/components/graphical-diamond/index.d.ts +1 -1
- package/es/components/graphical-diamond/index.mjs +1 -1
- package/es/components/graphical-hexagon/index.d.ts +1 -1
- package/es/components/graphical-hexagon/index.mjs +1 -1
- package/es/components/graphical-isosceles-triangle/index.d.ts +1 -1
- package/es/components/graphical-isosceles-triangle/index.mjs +1 -1
- package/es/components/graphical-pentagon/index.d.ts +1 -1
- package/es/components/graphical-pentagon/index.mjs +1 -1
- package/es/components/graphical-rect/index.d.ts +1 -1
- package/es/components/graphical-rect/index.mjs +1 -1
- package/es/components/graphical-right-triangle/index.d.ts +1 -1
- package/es/components/graphical-right-triangle/index.mjs +1 -1
- package/es/components/interaction-button/index.d.ts +1 -1
- package/es/components/interaction-button/index.mjs +1 -1
- package/es/components/interaction-button/index.vue.mjs +2 -2
- package/es/components/interaction-button/index.vue2.mjs +1 -1
- package/es/components/interaction-button-image/index.d.ts +1 -1
- package/es/components/interaction-button-image/index.mjs +1 -1
- package/es/components/interaction-button-image/index.vue.mjs +2 -2
- package/es/components/interaction-button-image/index.vue2.mjs +2 -2
- package/es/components/interaction-button-refresh/index.d.ts +1 -1
- package/es/components/interaction-button-refresh/index.mjs +1 -1
- package/es/components/interaction-button-refresh/index.vue.mjs +2 -2
- package/es/components/interaction-button-refresh/index.vue2.mjs +2 -2
- package/es/components/interaction-data-picker/index.d.ts +1 -1
- package/es/components/interaction-data-picker/index.mjs +1 -1
- package/es/components/interaction-input/index.d.ts +1 -1
- package/es/components/interaction-input/index.mjs +1 -1
- package/es/components/interaction-input/index.vue.mjs +1 -1
- package/es/components/interaction-input/index.vue2.mjs +31 -30
- package/es/components/interaction-radio/index.d.ts +1 -1
- package/es/components/interaction-radio/index.mjs +1 -1
- package/es/components/interaction-select/index.d.ts +1 -1
- package/es/components/interaction-select/index.mjs +1 -1
- package/es/components/interaction-select/index.vue.mjs +2 -2
- package/es/components/interaction-select/index.vue2.mjs +27 -26
- package/es/components/interaction-slider/index.d.ts +1 -1
- package/es/components/interaction-slider/index.mjs +1 -1
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +41 -40
- package/es/components/interaction-switch/index.d.ts +1 -1
- package/es/components/interaction-switch/index.mjs +1 -1
- package/es/components/interaction-tabs/index.d.ts +1 -1
- package/es/components/interaction-tabs/index.mjs +1 -1
- package/es/components/interaction-tabs/index.vue.mjs +2 -2
- package/es/components/interaction-tabs/index.vue2.mjs +1 -1
- package/es/components/interaction-tabs2/index.d.ts +1 -1
- package/es/components/interaction-tabs2/index.mjs +1 -1
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +1 -1
- package/es/components/map-earth-basic/index.d.ts +3 -3
- package/es/components/map-earth-basic/index.mjs +1 -1
- package/es/components/map-earth-basic/index.vue.d.ts +6 -4
- package/es/components/map-earth-basic/index.vue.mjs +16 -15
- package/es/components/map-earth-cool-tech/index.d.ts +3 -3
- package/es/components/map-earth-cool-tech/index.mjs +1 -1
- package/es/components/map-earth-cool-tech/index.vue.d.ts +4 -4
- package/es/components/map-earth-cool-tech/index.vue.mjs +16 -15
- package/es/components/map-earth-fly-line/index.d.ts +3 -3
- package/es/components/map-earth-fly-line/index.mjs +1 -1
- package/es/components/map-earth-fly-line/index.vue.d.ts +4 -6
- package/es/components/map-earth-fly-line/index.vue.mjs +10 -9
- package/es/components/map-earth-hacker/index.d.ts +3 -3
- package/es/components/map-earth-hacker/index.mjs +1 -1
- package/es/components/map-earth-hacker/index.vue.d.ts +2 -6
- package/es/components/map-earth-hacker/index.vue.mjs +10 -9
- package/es/components/map-earth-particle/index.d.ts +3 -3
- package/es/components/map-earth-particle/index.mjs +1 -1
- package/es/components/map-earth-particle/index.vue.d.ts +4 -6
- package/es/components/map-earth-particle/index.vue.mjs +16 -15
- package/es/components/media-audio/index.d.ts +1 -1
- package/es/components/media-audio/index.mjs +1 -1
- package/es/components/media-audio-dynamic/index.d.ts +1 -1
- package/es/components/media-audio-dynamic/index.mjs +1 -1
- package/es/components/media-audio-dynamic/index.vue.mjs +2 -2
- package/es/components/media-audio-dynamic/index.vue2.mjs +18 -17
- package/es/components/media-carousel/index.d.ts +1 -1
- package/es/components/media-carousel/index.mjs +1 -1
- package/es/components/media-carousel-slides/index.d.ts +1 -1
- package/es/components/media-carousel-slides/index.mjs +1 -1
- package/es/components/media-flv/index.d.ts +1 -1
- package/es/components/media-flv/index.mjs +1 -1
- package/es/components/media-iframe/index.d.ts +1 -1
- package/es/components/media-iframe/index.mjs +1 -1
- package/es/components/media-iframe-carousel/index.d.ts +1 -1
- package/es/components/media-iframe-carousel/index.mjs +1 -1
- package/es/components/media-image/index.d.ts +1 -1
- package/es/components/media-image/index.mjs +1 -1
- package/es/components/media-image-dynamic/index.d.ts +1 -1
- package/es/components/media-image-dynamic/index.mjs +1 -1
- package/es/components/media-image-dynamic/index.vue.mjs +1 -1
- package/es/components/media-image-dynamic/index.vue2.mjs +14 -13
- package/es/components/media-m3u8/index.d.ts +1 -1
- package/es/components/media-m3u8/index.mjs +1 -1
- package/es/components/media-m3u8-dynamic/index.d.ts +1 -1
- package/es/components/media-m3u8-dynamic/index.mjs +1 -1
- package/es/components/media-m3u8-dynamic/index.vue.mjs +12 -11
- package/es/components/media-video/index.d.ts +1 -1
- package/es/components/media-video/index.mjs +1 -1
- package/es/components/media-video-dynamic/index.d.ts +1 -1
- package/es/components/media-video-dynamic/index.mjs +1 -1
- package/es/components/media-video-dynamic/index.vue.mjs +2 -2
- package/es/components/media-video-dynamic/index.vue2.mjs +10 -9
- package/es/components/media-wavesurfer/index.d.ts +1 -1
- package/es/components/media-wavesurfer/index.mjs +1 -1
- package/es/components/scene-amap2d/index.d.ts +1 -1
- package/es/components/scene-amap2d/index.mjs +1 -1
- package/es/components/scene-amap2d/index.vue.mjs +2 -2
- package/es/components/scene-amap2d/index.vue2.mjs +9 -8
- package/es/components/scene-amap3d/index.d.ts +1 -1
- package/es/components/scene-amap3d/index.mjs +1 -1
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +23 -22
- package/es/components/scene-map3d/index.d.ts +1 -1
- package/es/components/scene-map3d/index.mjs +1 -1
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +10 -9
- package/es/components/scene-map3d/map3d/map.mjs +1 -1
- package/es/components/scene-ue-iframe/index.d.ts +1 -1
- package/es/components/scene-ue-iframe/index.mjs +1 -1
- package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
- package/es/components/scene-ue-iframe/index.vue2.mjs +32 -23
- package/es/components/scene-ue-shj/index.d.ts +1 -1
- package/es/components/scene-ue-shj/index.mjs +1 -1
- package/es/components/scene-unity-iframe/index.d.ts +1 -1
- package/es/components/scene-unity-iframe/index.mjs +1 -1
- package/es/components/scene-unity-webgl/index.d.ts +1 -1
- package/es/components/scene-unity-webgl/index.mjs +1 -1
- package/es/components/scene-vr/index.d.ts +1 -1
- package/es/components/scene-vr/index.mjs +1 -1
- package/es/components/text-carousel/index.d.ts +1 -1
- package/es/components/text-carousel/index.mjs +1 -1
- package/es/components/text-carousel/index.vue.mjs +2 -2
- package/es/components/text-carousel/index.vue2.mjs +7 -7
- package/es/components/text-count-down/index.mjs +1 -1
- package/es/components/text-count-down/index.vue.mjs +2 -2
- package/es/components/text-count-down/index.vue2.mjs +1 -1
- package/es/components/text-over-number/index.mjs +1 -1
- package/es/components/text-over-number/index.vue.d.ts +16 -16
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +8 -7
- package/es/components/text-real-time/index.mjs +1 -1
- package/es/components/text-real-time/index.vue.mjs +1 -1
- package/es/components/text-real-time/index.vue2.mjs +1 -1
- package/es/components/text-row-scroll/index.d.ts +1 -1
- package/es/components/text-row-scroll/index.mjs +1 -1
- package/es/components/text-row-scroll/index.vue.mjs +1 -1
- package/es/components/text-row-scroll/index.vue2.mjs +45 -44
- package/es/components/text-table-basic/index.d.ts +1 -1
- package/es/components/text-table-basic/index.mjs +1 -1
- package/es/components/text-table-basic/index.vue.mjs +3 -3
- package/es/components/text-table-basic/index.vue2.mjs +69 -68
- package/es/components/text-table-scroll/index.d.ts +1 -1
- package/es/components/text-table-scroll/index.mjs +1 -1
- package/es/components/text-table-scroll/index.vue.mjs +2 -2
- package/es/components/text-table-scroll/index.vue2.mjs +36 -35
- package/es/components/text-text-basic/index.d.ts +1 -1
- package/es/components/text-text-basic/index.mjs +1 -1
- package/es/components/text-text-basic/index.vue.mjs +2 -2
- package/es/components/text-text-basic/index.vue2.mjs +1 -1
- package/es/components/text-text-dynamic/index.d.ts +1 -1
- package/es/components/text-text-dynamic/index.mjs +1 -1
- package/es/components/text-text-dynamic/index.vue.mjs +1 -1
- package/es/components/text-text-dynamic/index.vue2.mjs +26 -25
- package/es/components/text-title/index.d.ts +1 -1
- package/es/components/text-title/index.mjs +1 -1
- package/es/components/text-title/index.vue.mjs +2 -2
- package/es/components/text-title/index.vue2.mjs +1 -1
- package/es/core/datasource/core/api.d.ts +1 -0
- package/es/core/datasource/core/api.mjs +32 -0
- package/es/core/datasource/core/static.d.ts +1 -0
- package/es/core/datasource/core/static.mjs +16 -0
- package/es/core/datasource/core/url.d.ts +1 -0
- package/es/core/datasource/core/url.mjs +17 -0
- package/es/core/datasource/core/variable.d.ts +1 -0
- package/es/core/datasource/core/variable.mjs +17 -0
- package/es/core/datasource/core/ws.d.ts +32 -0
- package/es/core/datasource/core/ws.mjs +138 -0
- package/es/core/datasource/index.d.ts +63 -0
- package/es/core/datasource/index.mjs +188 -0
- package/es/core/datasource/utils/request.d.ts +3 -0
- package/es/core/datasource/utils/request.mjs +7 -0
- package/es/core/datasource/utils/useMapping.d.ts +7 -0
- package/es/core/datasource/utils/useMapping.mjs +55 -0
- package/es/core/datasource/utils/userRequest.d.ts +3 -0
- package/es/core/datasource/utils/userRequest.mjs +7 -0
- package/es/core/datasource/utils/utils.d.ts +50 -0
- package/es/core/datasource/utils/utils.mjs +123 -0
- package/es/core/datasource/utils/wsManager.d.ts +16 -0
- package/es/core/datasource/utils/wsManager.mjs +78 -0
- package/es/env.d.ts +0 -2
- package/es/index.d.ts +2 -1
- package/es/index.mjs +347 -345
- package/es/widgets.css +1 -1
- package/lib/commons/core/datasource/core/api.js +1 -0
- package/lib/commons/core/datasource/core/static.js +1 -0
- package/lib/commons/core/datasource/core/url.js +1 -0
- package/lib/commons/core/datasource/core/variable.js +1 -0
- package/lib/commons/core/datasource/core/ws.js +1 -0
- package/lib/commons/core/datasource/index.js +6 -0
- package/lib/commons/core/datasource/utils/request.js +1 -0
- package/lib/commons/core/datasource/utils/utils.js +1 -0
- package/lib/commons/core/datasource/utils/wsManager.js +1 -0
- package/lib/commons/core/earth/base64/Aperture.js +1 -0
- package/lib/commons/core/earth/base64/Callout.js +1 -0
- package/lib/commons/core/earth/base64/CalloutAperture.js +1 -0
- package/lib/commons/core/earth/base64/CloudCover.js +1 -0
- package/lib/commons/core/earth/base64/LightColumn.js +1 -0
- package/lib/commons/core/earth/base64/StarrySky.js +1 -0
- package/lib/commons/core/earth/base64/rotation/innner.js +1 -0
- package/lib/commons/core/earth/base64/rotation/out.js +1 -0
- package/lib/commons/core/earth/border.vue.js +1 -0
- package/lib/commons/core/earth/border.vue2.js +1 -0
- package/lib/commons/core/earth/geojson/china-border.js +1 -0
- package/lib/commons/core/earth/geojson/china.js +1 -0
- package/lib/commons/core/earth/geojson/world.js +1 -0
- package/lib/commons/core/earth/main.js +32 -0
- package/lib/commons/core/earth/main.vue.js +1 -0
- package/lib/commons/core/earth/main.vue2.js +1 -0
- package/lib/commons/core/earth/utils/GradientLine.js +1 -0
- package/lib/commons/core/earth/utils/composer.js +1 -0
- package/lib/commons/core/earth/utils/controls/obt.js +1 -0
- package/lib/commons/core/earth/utils/label.js +1 -0
- package/lib/commons/core/earth/utils/line2.js +1 -0
- package/lib/commons/core/earth/utils/scene.js +1 -0
- package/lib/commons/core/useChart.js +1 -0
- package/lib/commons/utils/babylon/ColorConvert.js +1 -0
- package/lib/commons/utils/clickOutSide.js +1 -0
- package/lib/commons/utils/cloneSeries.js +1 -0
- package/lib/commons/utils/hoverLoop.js +1 -0
- package/lib/commons/utils/imgPreloader.js +1 -0
- package/lib/commons/utils/install.js +1 -0
- package/lib/commons/utils/json2css.js +1 -0
- package/lib/commons/utils/parseDataset.js +1 -0
- package/lib/commons/utils/parseOtherData.js +1 -0
- package/lib/commons/utils/parseScatterData.js +1 -0
- package/lib/commons/utils/shj/component-refs.js +1 -0
- package/lib/components/chart-bar-animation/index.js +1 -1
- package/lib/components/chart-bar-animation/index.vue.js +1 -1
- package/lib/components/chart-bar-basic/index.js +1 -1
- package/lib/components/chart-bar-basic/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast/index.js +1 -1
- package/lib/components/chart-bar-contrast/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast2/index.js +1 -1
- package/lib/components/chart-bar-contrast2/index.vue.js +1 -1
- package/lib/components/chart-bar-contrast3/index.js +1 -1
- package/lib/components/chart-bar-contrast3/index.vue.js +1 -1
- package/lib/components/chart-bar-gradient-column-chart/index.js +1 -1
- package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal/index.js +1 -1
- package/lib/components/chart-bar-horizontal/index.vue.js +1 -1
- package/lib/components/chart-bar-horizontal-stack/index.js +1 -1
- package/lib/components/chart-bar-horizontal-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar/index.js +1 -1
- package/lib/components/chart-bar-line-bar/index.vue.js +1 -1
- package/lib/components/chart-bar-line-bar2/index.js +1 -1
- package/lib/components/chart-bar-line-bar2/index.vue.js +1 -1
- package/lib/components/chart-bar-loop/index.js +1 -1
- package/lib/components/chart-bar-loop/index.vue.js +1 -1
- package/lib/components/chart-bar-mini/index.js +1 -1
- package/lib/components/chart-bar-mini/index.vue.js +1 -1
- package/lib/components/chart-bar-polar/index.js +1 -1
- package/lib/components/chart-bar-polar/index.vue.js +1 -1
- package/lib/components/chart-bar-polar-stack/index.js +1 -1
- package/lib/components/chart-bar-polar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-polar2/index.js +1 -1
- package/lib/components/chart-bar-polar2/index.vue.js +1 -1
- package/lib/components/chart-bar-radius-circle/index.js +1 -1
- package/lib/components/chart-bar-radius-circle/index.vue.js +1 -1
- package/lib/components/chart-bar-rank/index.js +1 -1
- package/lib/components/chart-bar-rank/index.vue.js +1 -1
- package/lib/components/chart-bar-segmented-progress/index.js +1 -1
- package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -1
- package/lib/components/chart-bar-spire/index.js +1 -1
- package/lib/components/chart-bar-spire/index.vue.js +1 -1
- package/lib/components/chart-bar-stack/index.js +1 -1
- package/lib/components/chart-bar-stack/index.vue.js +1 -1
- package/lib/components/chart-bar-stack-line/index.js +1 -1
- package/lib/components/chart-bar-stack-line/index.vue.js +1 -1
- package/lib/components/chart-bar-stack2/index.js +1 -1
- package/lib/components/chart-bar-stack2/index.vue.js +1 -1
- package/lib/components/chart-bar-stack3/index.js +1 -1
- package/lib/components/chart-bar-stack3/index.vue.js +1 -1
- package/lib/components/chart-bar-staggered/index.js +1 -1
- package/lib/components/chart-bar-staggered/index.vue.js +1 -1
- package/lib/components/chart-bar-three/index.js +1 -1
- package/lib/components/chart-bar-three/index.vue.js +1 -1
- package/lib/components/chart-bar-waterfall/index.js +1 -1
- package/lib/components/chart-bar-waterfall/index.vue.js +1 -1
- package/lib/components/chart-bar-zebra/index.js +1 -1
- package/lib/components/chart-bar-zebra/index.vue.js +1 -1
- package/lib/components/chart-line-area-gradient/index.js +1 -1
- package/lib/components/chart-line-area-gradient/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight/index.js +1 -1
- package/lib/components/chart-line-area-highlight/index.vue.js +1 -1
- package/lib/components/chart-line-area-highlight2/index.js +1 -1
- package/lib/components/chart-line-area-highlight2/index.vue.js +1 -1
- package/lib/components/chart-line-basic/index.js +1 -1
- package/lib/components/chart-line-basic/index.vue.js +1 -1
- package/lib/components/chart-line-bump/index.js +1 -1
- package/lib/components/chart-line-bump/index.vue.js +1 -1
- package/lib/components/chart-line-dashed/index.js +1 -1
- package/lib/components/chart-line-dashed/index.vue.js +1 -1
- package/lib/components/chart-line-ladder/index.js +1 -1
- package/lib/components/chart-line-ladder/index.vue.js +1 -1
- package/lib/components/chart-line-logarithm/index.js +1 -1
- package/lib/components/chart-line-logarithm/index.vue.js +1 -1
- package/lib/components/chart-line-multix/index.js +1 -1
- package/lib/components/chart-line-multix/index.vue.js +1 -1
- package/lib/components/chart-line-polar-double/index.js +1 -1
- package/lib/components/chart-line-polar-double/index.vue.js +1 -1
- package/lib/components/chart-line-rain-flow/index.js +1 -1
- package/lib/components/chart-line-rain-flow/index.vue.js +1 -1
- package/lib/components/chart-line-scale/index.js +1 -1
- package/lib/components/chart-line-scale/index.vue.js +1 -1
- package/lib/components/chart-line-smooth/index.js +1 -1
- package/lib/components/chart-line-smooth/index.vue.js +1 -1
- package/lib/components/chart-line-smooth-area/index.js +1 -1
- package/lib/components/chart-line-smooth-area/index.vue.js +1 -1
- package/lib/components/chart-line-stack/index.js +1 -1
- package/lib/components/chart-line-stack/index.vue.js +1 -1
- package/lib/components/chart-line-stack-area/index.js +1 -1
- package/lib/components/chart-line-stack-area/index.vue.js +1 -1
- package/lib/components/chart-line-temp/index.js +1 -1
- package/lib/components/chart-line-temp/index.vue.js +1 -1
- package/lib/components/chart-line-vertical/index.js +1 -1
- package/lib/components/chart-line-vertical/index.vue.js +1 -1
- package/lib/components/chart-map-basic/index.js +1 -1
- package/lib/components/chart-map-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-basic/index.js +1 -1
- package/lib/components/chart-map-bmap-basic/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-heatmap/index.js +1 -1
- package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -1
- package/lib/components/chart-map-bmap-rich/index.js +1 -1
- package/lib/components/chart-map-bmap-rich/index.vue.js +1 -1
- package/lib/components/chart-map-customize/index.js +1 -1
- package/lib/components/chart-map-customize/index.vue.js +1 -1
- package/lib/components/chart-map-lines/index.js +1 -1
- package/lib/components/chart-map-lines/index.vue.js +1 -1
- package/lib/components/chart-map-scatter/index.js +1 -1
- package/lib/components/chart-map-scatter/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-basic/index.js +1 -1
- package/lib/components/chart-other-candlestick-basic/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-demo/index.js +1 -1
- package/lib/components/chart-other-candlestick-demo/index.vue.js +1 -1
- package/lib/components/chart-other-candlestick-shanghai/index.js +1 -1
- package/lib/components/chart-other-candlestick-shanghai/index.vue.js +1 -1
- package/lib/components/chart-other-circular-graph/index.js +1 -1
- package/lib/components/chart-other-circular-graph/index.vue.js +1 -1
- package/lib/components/chart-other-force/index.js +1 -1
- package/lib/components/chart-other-force/index.vue.js +1 -1
- package/lib/components/chart-other-force2/index.js +1 -1
- package/lib/components/chart-other-force2/index.vue.js +1 -1
- package/lib/components/chart-other-funnel/index.js +1 -1
- package/lib/components/chart-other-funnel/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-contrast/index.js +1 -1
- package/lib/components/chart-other-funnel-contrast/index.vue.js +1 -1
- package/lib/components/chart-other-funnel-split/index.js +1 -1
- package/lib/components/chart-other-funnel-split/index.vue.js +1 -1
- package/lib/components/chart-other-funnel2/index.js +1 -1
- package/lib/components/chart-other-funnel2/index.vue.js +1 -1
- package/lib/components/chart-other-gauge/index.js +1 -1
- package/lib/components/chart-other-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-grade/index.js +1 -1
- package/lib/components/chart-other-gauge-grade/index.vue.js +1 -1
- package/lib/components/chart-other-gauge-stage/index.js +1 -1
- package/lib/components/chart-other-gauge-stage/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic/index.js +1 -1
- package/lib/components/chart-other-graph-basic/index.vue.js +1 -1
- package/lib/components/chart-other-graph-basic2/index.js +1 -1
- package/lib/components/chart-other-graph-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-graph-calendar/index.js +1 -1
- package/lib/components/chart-other-graph-calendar/index.vue.js +1 -1
- package/lib/components/chart-other-grid-percentage/index.js +1 -1
- package/lib/components/chart-other-grid-percentage/index.vue.js +1 -1
- package/lib/components/chart-other-heatmap/index.js +1 -1
- package/lib/components/chart-other-heatmap/index.vue.js +1 -1
- package/lib/components/chart-other-label-gauge/index.js +1 -1
- package/lib/components/chart-other-label-gauge/index.vue.js +1 -1
- package/lib/components/chart-other-liquidfill/index.js +1 -1
- package/lib/components/chart-other-liquidfill/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-basic/index.js +1 -1
- package/lib/components/chart-other-parallel-basic/index.vue.js +1 -1
- package/lib/components/chart-other-parallel-mul/index.js +1 -1
- package/lib/components/chart-other-parallel-mul/index.vue.js +1 -1
- package/lib/components/chart-other-radar/index.js +1 -1
- package/lib/components/chart-other-radar/index.vue.js +1 -1
- package/lib/components/chart-other-radar-stack/index.js +1 -1
- package/lib/components/chart-other-radar-stack/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic/index.js +1 -1
- package/lib/components/chart-other-sunburst-basic/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic2/index.js +1 -1
- package/lib/components/chart-other-sunburst-basic2/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic3/index.js +1 -1
- package/lib/components/chart-other-sunburst-basic3/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-basic4/index.js +1 -1
- package/lib/components/chart-other-sunburst-basic4/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-book/index.js +1 -1
- package/lib/components/chart-other-sunburst-book/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-flavors/index.js +1 -1
- package/lib/components/chart-other-sunburst-flavors/index.vue.js +1 -1
- package/lib/components/chart-other-sunburst-radius/index.js +1 -1
- package/lib/components/chart-other-sunburst-radius/index.vue.js +1 -1
- package/lib/components/chart-other-theme-river/index.js +1 -1
- package/lib/components/chart-other-theme-river/index.vue.js +1 -1
- package/lib/components/chart-other-tree/index.js +1 -1
- package/lib/components/chart-other-tree/index.vue.js +1 -1
- package/lib/components/chart-other-tree-line/index.js +1 -1
- package/lib/components/chart-other-tree-line/index.vue.js +1 -1
- package/lib/components/chart-other-treemap/index.js +1 -1
- package/lib/components/chart-other-treemap/index.vue.js +1 -1
- package/lib/components/chart-other-treemap-basic/index.js +1 -1
- package/lib/components/chart-other-treemap-basic/index.vue.js +1 -1
- package/lib/components/chart-other-word-cloud/index.js +1 -1
- package/lib/components/chart-other-word-cloud/index.vue.js +1 -1
- package/lib/components/chart-pie-3d/index.js +1 -1
- package/lib/components/chart-pie-3d/index.vue.js +1 -1
- package/lib/components/chart-pie-basic/index.js +1 -1
- package/lib/components/chart-pie-basic/index.vue.js +1 -1
- package/lib/components/chart-pie-basic2/index.js +1 -1
- package/lib/components/chart-pie-basic2/index.vue.js +1 -1
- package/lib/components/chart-pie-customized/index.js +1 -1
- package/lib/components/chart-pie-customized/index.vue.js +1 -1
- package/lib/components/chart-pie-index/index.js +1 -1
- package/lib/components/chart-pie-index/index.vue.js +1 -1
- package/lib/components/chart-pie-interval/index.js +1 -1
- package/lib/components/chart-pie-interval/index.vue.js +1 -1
- package/lib/components/chart-pie-legend-scroll/index.js +1 -1
- package/lib/components/chart-pie-legend-scroll/index.vue.js +1 -1
- package/lib/components/chart-pie-radius/index.js +1 -1
- package/lib/components/chart-pie-radius/index.vue.js +1 -1
- package/lib/components/chart-pie-rose/index.js +1 -1
- package/lib/components/chart-pie-rose/index.vue.js +1 -1
- package/lib/components/chart-pie-round/index.js +1 -1
- package/lib/components/chart-pie-round/index.vue.js +1 -1
- package/lib/components/chart-pie-semicircle/index.js +1 -1
- package/lib/components/chart-pie-semicircle/index.vue.js +1 -1
- package/lib/components/chart-pie-sunburst/index.js +1 -1
- package/lib/components/chart-pie-sunburst/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic/index.js +1 -1
- package/lib/components/chart-scatter-basic/index.vue.js +1 -1
- package/lib/components/chart-scatter-basic2/index.js +1 -1
- package/lib/components/chart-scatter-basic2/index.vue.js +1 -1
- package/lib/components/chart-scatter-bubble/index.js +1 -1
- package/lib/components/chart-scatter-bubble/index.vue.js +1 -1
- package/lib/components/chart-scatter-ripples/index.js +1 -1
- package/lib/components/chart-scatter-ripples/index.vue.js +1 -1
- package/lib/components/commons-babylon/index.js +1 -1
- package/lib/components/commons-echarts/compileAndRunEcharts.js +4 -4
- package/lib/components/commons-echarts/index.js +1 -1
- package/lib/components/commons-gaussian-splatting-view/index.js +1 -1
- package/lib/components/commons-gaussian-splatting-view/index.vue.js +1 -1
- package/lib/components/commons-gaussian-splatting-view/index.vue2.js +1 -1
- package/lib/components/commons-loop-iterator/index.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue.js +1 -1
- package/lib/components/commons-loop-iterator/index.vue2.js +1 -1
- package/lib/components/commons-product-model/index.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-qrcode/index.js +1 -1
- package/lib/components/commons-svg/index.js +1 -1
- package/lib/components/commons-three-loader/index.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.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-vr-photo/index.js +1 -1
- package/lib/components/commons-vr-video/index.js +1 -1
- package/lib/components/commons-weather/index.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/graphical-circle/index.js +1 -1
- package/lib/components/graphical-diamond/index.js +1 -1
- package/lib/components/graphical-hexagon/index.js +1 -1
- package/lib/components/graphical-isosceles-triangle/index.js +1 -1
- package/lib/components/graphical-pentagon/index.js +1 -1
- package/lib/components/graphical-rect/index.js +1 -1
- package/lib/components/graphical-right-triangle/index.js +1 -1
- package/lib/components/interaction-button/index.js +1 -1
- package/lib/components/interaction-button/index.vue.js +1 -1
- package/lib/components/interaction-button/index.vue2.js +1 -1
- package/lib/components/interaction-button-image/index.js +1 -1
- package/lib/components/interaction-button-image/index.vue.js +1 -1
- package/lib/components/interaction-button-image/index.vue2.js +1 -1
- package/lib/components/interaction-button-refresh/index.js +1 -1
- package/lib/components/interaction-button-refresh/index.vue.js +1 -1
- package/lib/components/interaction-button-refresh/index.vue2.js +1 -1
- package/lib/components/interaction-data-picker/index.js +1 -1
- package/lib/components/interaction-input/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-radio/index.js +1 -1
- package/lib/components/interaction-select/index.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.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.js +1 -1
- package/lib/components/interaction-tabs/index.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.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.js +1 -1
- package/lib/components/map-earth-basic/index.vue.js +1 -1
- package/lib/components/map-earth-cool-tech/index.js +1 -1
- package/lib/components/map-earth-cool-tech/index.vue.js +1 -1
- package/lib/components/map-earth-fly-line/index.js +1 -1
- package/lib/components/map-earth-fly-line/index.vue.js +1 -1
- package/lib/components/map-earth-hacker/index.js +1 -1
- package/lib/components/map-earth-hacker/index.vue.js +1 -1
- package/lib/components/map-earth-particle/index.js +1 -1
- package/lib/components/map-earth-particle/index.vue.js +1 -1
- package/lib/components/media-audio/index.js +1 -1
- package/lib/components/media-audio-dynamic/index.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-carousel/index.js +1 -1
- package/lib/components/media-carousel-slides/index.js +1 -1
- package/lib/components/media-flv/index.js +1 -1
- package/lib/components/media-iframe/index.js +1 -1
- package/lib/components/media-iframe-carousel/index.js +1 -1
- package/lib/components/media-image/index.js +1 -1
- package/lib/components/media-image-dynamic/index.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.js +1 -1
- package/lib/components/media-m3u8-dynamic/index.js +1 -1
- package/lib/components/media-m3u8-dynamic/index.vue.js +1 -1
- package/lib/components/media-video/index.js +1 -1
- package/lib/components/media-video-dynamic/index.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/media-wavesurfer/index.js +1 -1
- package/lib/components/scene-amap2d/index.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.js +1 -1
- package/lib/components/scene-amap3d/index.vue.js +1 -1
- package/lib/components/scene-amap3d/index.vue2.js +2 -2
- package/lib/components/scene-map3d/index.js +1 -1
- package/lib/components/scene-map3d/index.vue.js +1 -1
- package/lib/components/scene-map3d/index.vue2.js +1 -1
- package/lib/components/scene-map3d/map3d/map.js +1 -1
- package/lib/components/scene-ue-iframe/index.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.js +1 -1
- package/lib/components/scene-unity-iframe/index.js +1 -1
- package/lib/components/scene-unity-webgl/index.js +1 -1
- package/lib/components/scene-vr/index.js +1 -1
- package/lib/components/text-carousel/index.js +1 -1
- package/lib/components/text-carousel/index.vue.js +1 -1
- package/lib/components/text-carousel/index.vue2.js +1 -1
- package/lib/components/text-count-down/index.js +1 -1
- 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.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.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.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.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.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-basic/index.js +1 -1
- package/lib/components/text-text-basic/index.vue.js +1 -1
- package/lib/components/text-text-basic/index.vue2.js +1 -1
- package/lib/components/text-text-dynamic/index.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/components/text-title/index.js +1 -1
- package/lib/components/text-title/index.vue.js +1 -1
- package/lib/components/text-title/index.vue2.js +1 -1
- package/lib/core/datasource/core/api.js +1 -0
- package/lib/core/datasource/core/static.js +1 -0
- package/lib/core/datasource/core/url.js +1 -0
- package/lib/core/datasource/core/variable.js +1 -0
- package/lib/core/datasource/core/ws.js +1 -0
- package/lib/core/datasource/index.js +6 -0
- package/lib/core/datasource/utils/request.js +1 -0
- package/lib/core/datasource/utils/useMapping.js +1 -0
- package/lib/core/datasource/utils/userRequest.js +1 -0
- package/lib/core/datasource/utils/utils.js +1 -0
- package/lib/core/datasource/utils/wsManager.js +1 -0
- package/lib/index.js +1 -1
- package/lib/widgets.css +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
var x = Object.defineProperty;
|
|
2
|
+
var A = (h, a, t) => a in h ? x(h, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[a] = t;
|
|
3
|
+
var T = (h, a, t) => A(h, typeof a != "symbol" ? a + "" : a, t);
|
|
4
|
+
import { isArray as V, isString as K, cloneDeep as P } from "lodash";
|
|
5
|
+
import { parseStaticData as U } from "./core/static.mjs";
|
|
6
|
+
import { parseUrlData as j } from "./core/url.mjs";
|
|
7
|
+
import { parseVariableData as v } from "./core/variable.mjs";
|
|
8
|
+
import { parseAPIPort as E } from "./core/api.mjs";
|
|
9
|
+
import { parseWebSocket as F } from "./core/ws.mjs";
|
|
10
|
+
import { DataSourceUtils as g } from "./utils/utils.mjs";
|
|
11
|
+
const D = class D {
|
|
12
|
+
static addParser(a, t) {
|
|
13
|
+
this.parsers.add({ type: a, parser: t });
|
|
14
|
+
}
|
|
15
|
+
static getParser(a) {
|
|
16
|
+
const t = Array.from(this.parsers).find((e) => e.type === a);
|
|
17
|
+
return t == null ? void 0 : t.parser;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 解析数据源
|
|
21
|
+
* @param sources 数据源
|
|
22
|
+
* @param callback 回调函数
|
|
23
|
+
* @param tId 组件id
|
|
24
|
+
* @param isStore 是否存储
|
|
25
|
+
* @param noUseMapping 是否不使用映射
|
|
26
|
+
* @param isInterval 是否开启定时任务
|
|
27
|
+
* @returns
|
|
28
|
+
*/
|
|
29
|
+
static parse({ sources: a, callback: t, tId: e, isStore: s = !1, noUseMapping: n = !1, isInterval: i = !0 }) {
|
|
30
|
+
return window.SHJDatasourceV2Timer ?? (window.SHJDatasourceV2Timer = []), t ?? (t = () => {
|
|
31
|
+
}), a && V(a) && a.length > 0 ? new Promise((p, o) => {
|
|
32
|
+
g.cleanupPreviousWebSockets(this.wsInstances, a.map((r) => r.id), e);
|
|
33
|
+
const c = /* @__PURE__ */ new Set(), m = this.wsInstances.get(e) || /* @__PURE__ */ new Set();
|
|
34
|
+
a.forEach((r) => {
|
|
35
|
+
var S;
|
|
36
|
+
if (i) {
|
|
37
|
+
const { source: f } = r, d = `${e}-${r.id}`, y = window.SHJDatasourceV2Timer.findIndex((w) => w.id === d);
|
|
38
|
+
if (y !== -1 && (clearInterval(window.SHJDatasourceV2Timer[y].timer), window.SHJDatasourceV2Timer.splice(y, 1)), f.isAutoUpdate) {
|
|
39
|
+
const w = setInterval(() => {
|
|
40
|
+
var l;
|
|
41
|
+
(l = this.task(r, s, n, e, (u) => t(u))) == null || l.then((u) => p(u));
|
|
42
|
+
}, f.autoUpdateTime * 1e3);
|
|
43
|
+
window.SHJDatasourceV2Timer.push({ id: d, timer: w });
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
if (r.source.type !== "ws") {
|
|
47
|
+
(S = this.task(r, s, n, e, (f) => t(f))) == null || S.then((f) => p(f));
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (g.hasValidWebSocket(this.wsInstances, e, r.id))
|
|
51
|
+
m.forEach((f) => {
|
|
52
|
+
f.getId() === r.id && c.add(f);
|
|
53
|
+
});
|
|
54
|
+
else {
|
|
55
|
+
const f = F(r, r.id, n, e, (d) => {
|
|
56
|
+
p(d), t({ data: [{ data: d.finalUserData.data }] });
|
|
57
|
+
});
|
|
58
|
+
c.add(f);
|
|
59
|
+
}
|
|
60
|
+
}), c.size > 0 && this.wsInstances.set(e, c);
|
|
61
|
+
}) : (t([]), Promise.resolve([]));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 执行数据源任务
|
|
65
|
+
* @param sources 数据源
|
|
66
|
+
* @param isStore 是否存储
|
|
67
|
+
* @param noUseMapping 是否不使用映射
|
|
68
|
+
* @param tId 组件id
|
|
69
|
+
* @param callback 回调函数
|
|
70
|
+
* @returns
|
|
71
|
+
*/
|
|
72
|
+
static task(a, t = !1, e = !1, s, n = () => {
|
|
73
|
+
}) {
|
|
74
|
+
return a ? new Promise((i, p) => {
|
|
75
|
+
let o = null;
|
|
76
|
+
const { source: c } = a, m = this.getParser(c.type);
|
|
77
|
+
m && (o = m(a, a.id, e)), o.then((r) => {
|
|
78
|
+
n(e ? r.noMappingData : r.finalKeyData), i(r);
|
|
79
|
+
});
|
|
80
|
+
}) : (n([]), Promise.resolve([]));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* 过滤数据
|
|
84
|
+
* @param filter 过滤器
|
|
85
|
+
* @param data 数据
|
|
86
|
+
* @returns
|
|
87
|
+
*/
|
|
88
|
+
static filterData(a, t) {
|
|
89
|
+
return new Promise((e, s) => {
|
|
90
|
+
if (K(a))
|
|
91
|
+
try {
|
|
92
|
+
const n = g.getVariableData();
|
|
93
|
+
let i = `
|
|
94
|
+
${a}
|
|
95
|
+
|
|
96
|
+
// 在这里调用 filter 函数,并传递 data 参数
|
|
97
|
+
return filter(data);
|
|
98
|
+
`;
|
|
99
|
+
i = i.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, ""), i = g.replaceStringVariables(i, n);
|
|
100
|
+
const p = new Function("data", i);
|
|
101
|
+
e(p(t));
|
|
102
|
+
} catch {
|
|
103
|
+
e(null);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* 处理数据
|
|
109
|
+
* @param filter 过滤器
|
|
110
|
+
* @param data 数据
|
|
111
|
+
* @param mappings 映射
|
|
112
|
+
* @param id 组件id
|
|
113
|
+
* @param dynamicMapping 是否动态映射
|
|
114
|
+
* @param noUseMapping 是否不使用映射
|
|
115
|
+
* @returns
|
|
116
|
+
*/
|
|
117
|
+
static processData(a, t, e, s, n, i) {
|
|
118
|
+
return new Promise(function(p) {
|
|
119
|
+
const o = P({ id: s, data: t });
|
|
120
|
+
D.filterData(a, t).then((c) => {
|
|
121
|
+
const m = P({ id: s, data: c });
|
|
122
|
+
if (i)
|
|
123
|
+
p({
|
|
124
|
+
id: s,
|
|
125
|
+
finalKeyData: [],
|
|
126
|
+
finalUserData: { id: s, data: c },
|
|
127
|
+
filteredData: m,
|
|
128
|
+
rawData: o,
|
|
129
|
+
noMappingData: c
|
|
130
|
+
});
|
|
131
|
+
else {
|
|
132
|
+
let r = [];
|
|
133
|
+
V(c) && (r = c.map((d, y) => {
|
|
134
|
+
const w = {};
|
|
135
|
+
if (n && n && y === 0) {
|
|
136
|
+
const l = [];
|
|
137
|
+
for (const u in d) {
|
|
138
|
+
const I = e.find((b) => b.name === u);
|
|
139
|
+
I ? l.push({ alias: I.alias, name: u, type: "any", label: u, mapping: I.mapping, status: !0 }) : l.push({ alias: u, name: u, type: "any", label: u, mapping: u, status: !0 });
|
|
140
|
+
}
|
|
141
|
+
e.splice(0, e.length), e.push(...l);
|
|
142
|
+
}
|
|
143
|
+
return e.forEach((l) => {
|
|
144
|
+
l.alias ? w[l.alias] = d[l.mapping] : w[l.name] = d[l.mapping];
|
|
145
|
+
}), w;
|
|
146
|
+
}));
|
|
147
|
+
const S = P({ id: s, data: r }), f = P({ id: s, data: D.parseMappedData(r, e, s) });
|
|
148
|
+
p({
|
|
149
|
+
id: s,
|
|
150
|
+
finalKeyData: r.length === 0 ? { id: s, data: c } : f,
|
|
151
|
+
finalUserData: r.length === 0 ? { id: s, data: c } : S,
|
|
152
|
+
filteredData: m,
|
|
153
|
+
rawData: o,
|
|
154
|
+
noMappingData: []
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* 解析数据为Key、Data格式
|
|
162
|
+
* @param data 数据
|
|
163
|
+
* @param mappings 映射
|
|
164
|
+
* @param id 组件id
|
|
165
|
+
* @returns
|
|
166
|
+
*/
|
|
167
|
+
static parseMappedData(a, t, e) {
|
|
168
|
+
return a.reduce(
|
|
169
|
+
(s, n) => {
|
|
170
|
+
let i = "系列一";
|
|
171
|
+
t && t.find((o) => o.name === "series") && (i = n[t.find((o) => o.name === "series").name], delete n[t.find((o) => o.name === "series").name]);
|
|
172
|
+
const p = s.find((o) => o.key === i);
|
|
173
|
+
return p ? p.data.push(n) : s.push({ key: i, data: [n] }), s;
|
|
174
|
+
},
|
|
175
|
+
[]
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
T(D, "wsInstances", /* @__PURE__ */ new Map()), T(D, "parsers", /* @__PURE__ */ new Set([
|
|
180
|
+
{ type: "url", parser: j },
|
|
181
|
+
{ type: "static", parser: U },
|
|
182
|
+
{ type: "variable", parser: v },
|
|
183
|
+
{ type: "api", parser: E }
|
|
184
|
+
]));
|
|
185
|
+
let k = D;
|
|
186
|
+
export {
|
|
187
|
+
k as SHJDatasourceV2
|
|
188
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** 映射关系处理 */
|
|
2
|
+
export declare const useProcessData: (filter: any, data: any, mappings: any[], id: string, dynamicMapping?: boolean, noUseMapping?: boolean) => Promise<unknown>;
|
|
3
|
+
/** 解析数据为Key、Data格式 */
|
|
4
|
+
export declare const parseMappedData: (data: any[], mappings: any[], id: string) => {
|
|
5
|
+
key: string;
|
|
6
|
+
data: any[];
|
|
7
|
+
}[];
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { cloneDeep as u, isArray as b } from "lodash";
|
|
2
|
+
import { SHJDatasourceV2 as g } from "../index.mjs";
|
|
3
|
+
const P = (D, n, r, a, s, i) => new Promise(function(o) {
|
|
4
|
+
const t = u({ id: a, data: n });
|
|
5
|
+
g.filterData(D, n).then((l) => {
|
|
6
|
+
const p = u({ id: a, data: l });
|
|
7
|
+
if (i)
|
|
8
|
+
o({
|
|
9
|
+
id: a,
|
|
10
|
+
finalKeyData: [],
|
|
11
|
+
finalUserData: { id: a, data: l },
|
|
12
|
+
filteredData: p,
|
|
13
|
+
rawData: t,
|
|
14
|
+
noMappingData: l
|
|
15
|
+
});
|
|
16
|
+
else {
|
|
17
|
+
let c = [];
|
|
18
|
+
b(l) && (c = l.map((y, w) => {
|
|
19
|
+
const h = {};
|
|
20
|
+
if (s && s && w === 0) {
|
|
21
|
+
const e = [];
|
|
22
|
+
for (const f in y) {
|
|
23
|
+
const m = r.find((K) => K.name === f);
|
|
24
|
+
m ? e.push({ alias: m.alias, name: f, type: "any", label: f, mapping: m.mapping, status: !0 }) : e.push({ alias: f, name: f, type: "any", label: f, mapping: f, status: !0 });
|
|
25
|
+
}
|
|
26
|
+
r.splice(0, r.length), r.push(...e);
|
|
27
|
+
}
|
|
28
|
+
return r.forEach((e) => {
|
|
29
|
+
e.alias ? h[e.alias] = y[e.mapping] : h[e.name] = y[e.mapping];
|
|
30
|
+
}), h;
|
|
31
|
+
}));
|
|
32
|
+
const d = u({ id: a, data: c }), k = u({ id: a, data: x(c, r) });
|
|
33
|
+
o({
|
|
34
|
+
id: a,
|
|
35
|
+
finalKeyData: c.length === 0 ? { id: a, data: l } : k,
|
|
36
|
+
finalUserData: c.length === 0 ? { id: a, data: l } : d,
|
|
37
|
+
filteredData: p,
|
|
38
|
+
rawData: t,
|
|
39
|
+
noMappingData: []
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}), x = (D, n, r) => D.reduce(
|
|
44
|
+
(a, s) => {
|
|
45
|
+
let i = "系列一";
|
|
46
|
+
n && n.find((t) => t.name === "series") && (i = s[n.find((t) => t.name === "series").name], delete s[n.find((t) => t.name === "series").name]);
|
|
47
|
+
const o = a.find((t) => t.key === i);
|
|
48
|
+
return o ? o.data.push(s) : a.push({ key: i, data: [s] }), a;
|
|
49
|
+
},
|
|
50
|
+
[]
|
|
51
|
+
);
|
|
52
|
+
export {
|
|
53
|
+
x as parseMappedData,
|
|
54
|
+
P as useProcessData
|
|
55
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare class DataSourceUtils {
|
|
2
|
+
/**
|
|
3
|
+
* 解析URL中是否包含全局变量
|
|
4
|
+
* 包含 则解析全局变量
|
|
5
|
+
* 不包含 则忽略
|
|
6
|
+
*/
|
|
7
|
+
static replaceURLVariables(url: string, variableData: any[]): string;
|
|
8
|
+
/**
|
|
9
|
+
* 解析对象中是否包含全局变量
|
|
10
|
+
* 包含 则解析全局变量
|
|
11
|
+
* 不包含 则忽略
|
|
12
|
+
*/
|
|
13
|
+
static replaceObjectVariables(obj: any, variableData: any[]): any;
|
|
14
|
+
/**
|
|
15
|
+
* 解析字符串中是否包含全局变量
|
|
16
|
+
* 包含 则解析全局变量
|
|
17
|
+
* 不包含 则忽略
|
|
18
|
+
*/
|
|
19
|
+
static replaceStringVariables(str: string, variableData: any[]): string;
|
|
20
|
+
/**
|
|
21
|
+
* 解析环境变量
|
|
22
|
+
* 包含 则解析环境变量
|
|
23
|
+
* 不包含 则忽略
|
|
24
|
+
*/
|
|
25
|
+
static replaceEnvVariables(url: string, environments: any[]): string;
|
|
26
|
+
/**
|
|
27
|
+
* 返回空数据
|
|
28
|
+
*/
|
|
29
|
+
static noneData(id: string): {
|
|
30
|
+
id: string;
|
|
31
|
+
finalKeyData: any[];
|
|
32
|
+
finalUserData: {
|
|
33
|
+
id: string;
|
|
34
|
+
data: any[];
|
|
35
|
+
};
|
|
36
|
+
filteredData: any[];
|
|
37
|
+
rawData: any[];
|
|
38
|
+
noMappingData: any[];
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 获取环境变量
|
|
42
|
+
*/
|
|
43
|
+
static getEnvironments(): any;
|
|
44
|
+
/**
|
|
45
|
+
* 获取变量数据
|
|
46
|
+
*/
|
|
47
|
+
static getVariableData(): any;
|
|
48
|
+
static hasValidWebSocket(wsInstances: any, tId: string, sourceId: string): boolean;
|
|
49
|
+
static cleanupPreviousWebSockets(wsInstances: any, sourceIds: string[], tId: string): void;
|
|
50
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { isArray as i } from "lodash";
|
|
2
|
+
class f {
|
|
3
|
+
/**
|
|
4
|
+
* 解析URL中是否包含全局变量
|
|
5
|
+
* 包含 则解析全局变量
|
|
6
|
+
* 不包含 则忽略
|
|
7
|
+
*/
|
|
8
|
+
static replaceURLVariables(e, l) {
|
|
9
|
+
try {
|
|
10
|
+
const r = e.match(/\${(.*?)}/g);
|
|
11
|
+
if (r)
|
|
12
|
+
for (let t = 0; t < r.length; t++) {
|
|
13
|
+
const a = l.filter((n) => n.name === r[t].substring(2, r[t].length - 1));
|
|
14
|
+
a && i(a) && a.length > 0 && (e = e.replaceAll(r[t], a[0]._value));
|
|
15
|
+
}
|
|
16
|
+
return e;
|
|
17
|
+
} catch {
|
|
18
|
+
return e;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 解析对象中是否包含全局变量
|
|
23
|
+
* 包含 则解析全局变量
|
|
24
|
+
* 不包含 则忽略
|
|
25
|
+
*/
|
|
26
|
+
static replaceObjectVariables(e, l) {
|
|
27
|
+
try {
|
|
28
|
+
let r = JSON.stringify(e);
|
|
29
|
+
const t = r.match(/\$g{(.*?)}/g);
|
|
30
|
+
if (t) {
|
|
31
|
+
for (let a = 0; a < t.length; a++) {
|
|
32
|
+
const n = l.filter((c) => c.name === t[a].substring(3, t[a].length - 1));
|
|
33
|
+
n && i(n) && n.length > 0 && (r = r.replaceAll(t[a], n[0]._value));
|
|
34
|
+
}
|
|
35
|
+
return JSON.parse(r);
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
} catch {
|
|
39
|
+
return e;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 解析字符串中是否包含全局变量
|
|
44
|
+
* 包含 则解析全局变量
|
|
45
|
+
* 不包含 则忽略
|
|
46
|
+
*/
|
|
47
|
+
static replaceStringVariables(e, l) {
|
|
48
|
+
try {
|
|
49
|
+
const r = e.match(/\$g{(.*?)}/g);
|
|
50
|
+
if (r)
|
|
51
|
+
for (let t = 0; t < r.length; t++) {
|
|
52
|
+
const a = l.filter((n) => n.name === r[t].substring(3, r[t].length - 1));
|
|
53
|
+
a && i(a) && a.length > 0 && (e = e.replaceAll(r[t], a[0]._value));
|
|
54
|
+
}
|
|
55
|
+
return e;
|
|
56
|
+
} catch {
|
|
57
|
+
return e;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 解析环境变量
|
|
62
|
+
* 包含 则解析环境变量
|
|
63
|
+
* 不包含 则忽略
|
|
64
|
+
*/
|
|
65
|
+
static replaceEnvVariables(e, l) {
|
|
66
|
+
try {
|
|
67
|
+
let r = "";
|
|
68
|
+
if (!e.includes("http") && l) {
|
|
69
|
+
const t = l.filter((a) => a.selected);
|
|
70
|
+
t && i(t) && t.length > 0 && (r = t[0].envBaseUrl || "");
|
|
71
|
+
}
|
|
72
|
+
return r;
|
|
73
|
+
} catch {
|
|
74
|
+
return "";
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* 返回空数据
|
|
79
|
+
*/
|
|
80
|
+
static noneData(e) {
|
|
81
|
+
return {
|
|
82
|
+
id: e,
|
|
83
|
+
finalKeyData: [],
|
|
84
|
+
finalUserData: { id: e, data: [] },
|
|
85
|
+
filteredData: [],
|
|
86
|
+
rawData: [],
|
|
87
|
+
noMappingData: []
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 获取环境变量
|
|
92
|
+
*/
|
|
93
|
+
static getEnvironments() {
|
|
94
|
+
let e = localStorage.getItem("currentApiEnvironments");
|
|
95
|
+
return e && (e = JSON.parse(e)), e;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 获取变量数据
|
|
99
|
+
*/
|
|
100
|
+
static getVariableData() {
|
|
101
|
+
let e = localStorage.getItem("currentVariableData");
|
|
102
|
+
return e && (e = JSON.parse(e)), e;
|
|
103
|
+
}
|
|
104
|
+
// 新增:检查 WebSocket 是否已存在且有效
|
|
105
|
+
static hasValidWebSocket(e, l, r) {
|
|
106
|
+
const t = e.get(l);
|
|
107
|
+
if (!t) return !1;
|
|
108
|
+
for (const a of t)
|
|
109
|
+
if (a.getId() === r && a.isConnected())
|
|
110
|
+
return !0;
|
|
111
|
+
return !1;
|
|
112
|
+
}
|
|
113
|
+
// 优化:只在必要时清理 WebSocket 连接
|
|
114
|
+
static cleanupPreviousWebSockets(e, l, r) {
|
|
115
|
+
const t = e.get(r);
|
|
116
|
+
t && (t.forEach((a) => {
|
|
117
|
+
l.includes(a.getId()) || (a.disconnect(), t.delete(a));
|
|
118
|
+
}), t.size === 0 && e.delete(r));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
export {
|
|
122
|
+
f as DataSourceUtils
|
|
123
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare class WebSocketManager {
|
|
2
|
+
private static instance;
|
|
3
|
+
private connections;
|
|
4
|
+
static getInstance(): WebSocketManager;
|
|
5
|
+
add(ws: WebSocket, componentId: string): void;
|
|
6
|
+
closeByComponentIds(componentIds: string | string[]): void;
|
|
7
|
+
private removeAllListeners;
|
|
8
|
+
closeAll(): void;
|
|
9
|
+
private setupAutoRemove;
|
|
10
|
+
getConnectionsInfo(): {
|
|
11
|
+
componentId: string;
|
|
12
|
+
readyState: number;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
export declare const wsManager: WebSocketManager;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var h = (s, e, o) => e in s ? d(s, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[e] = o;
|
|
3
|
+
var r = (s, e, o) => h(s, typeof e != "symbol" ? e + "" : e, o);
|
|
4
|
+
const n = class n {
|
|
5
|
+
constructor() {
|
|
6
|
+
r(this, "connections", /* @__PURE__ */ new Set());
|
|
7
|
+
}
|
|
8
|
+
// 单例模式
|
|
9
|
+
static getInstance() {
|
|
10
|
+
return n.instance || (n.instance = new n()), n.instance;
|
|
11
|
+
}
|
|
12
|
+
// 添加 WebSocket 连接
|
|
13
|
+
add(e, o) {
|
|
14
|
+
Array.from(this.connections).filter((t) => t.componentId === o).forEach((t) => {
|
|
15
|
+
if (this.removeAllListeners(t.ws), t.ws.readyState !== WebSocket.CLOSED)
|
|
16
|
+
try {
|
|
17
|
+
t.ws.close(1e3, `Replacing connection for component ${o}`);
|
|
18
|
+
} catch {
|
|
19
|
+
}
|
|
20
|
+
this.connections.delete(t);
|
|
21
|
+
});
|
|
22
|
+
const c = { ws: e, componentId: o };
|
|
23
|
+
this.connections.add(c), this.setupAutoRemove(e, c);
|
|
24
|
+
}
|
|
25
|
+
// 改进点:更彻底的连接关闭 + 内存泄漏防护
|
|
26
|
+
closeByComponentIds(e) {
|
|
27
|
+
const o = Array.isArray(e) ? e : [e], i = new Set(o);
|
|
28
|
+
Array.from(this.connections).filter(
|
|
29
|
+
(t) => i.has(t.componentId) && t.ws.readyState !== WebSocket.CLOSED
|
|
30
|
+
).forEach((t) => {
|
|
31
|
+
this.removeAllListeners(t.ws);
|
|
32
|
+
try {
|
|
33
|
+
t.ws.close(1e3, `Component ${t.componentId} unmounted`);
|
|
34
|
+
} catch {
|
|
35
|
+
}
|
|
36
|
+
this.connections.delete(t);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
// 辅助方法:清理事件监听器
|
|
40
|
+
removeAllListeners(e) {
|
|
41
|
+
const o = () => {
|
|
42
|
+
};
|
|
43
|
+
e.onopen = o, e.onmessage = o, e.onerror = o, e.onclose = o, "removeAllListeners" in e && e.removeAllListeners();
|
|
44
|
+
}
|
|
45
|
+
// 关闭所有连接
|
|
46
|
+
closeAll() {
|
|
47
|
+
this.connections.forEach((e) => {
|
|
48
|
+
if (e.ws.readyState === WebSocket.OPEN || e.ws.readyState === WebSocket.CONNECTING)
|
|
49
|
+
try {
|
|
50
|
+
e.ws.close(1e3, "All connections closed");
|
|
51
|
+
} catch {
|
|
52
|
+
}
|
|
53
|
+
}), this.connections.clear();
|
|
54
|
+
}
|
|
55
|
+
// 自动移除已关闭的连接
|
|
56
|
+
setupAutoRemove(e, o) {
|
|
57
|
+
const i = e.close.bind(e);
|
|
58
|
+
e.close = (c, t) => {
|
|
59
|
+
this.connections.delete(o), i(c, t);
|
|
60
|
+
}, e.onclose = () => {
|
|
61
|
+
this.connections.delete(o);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
// 用于调试的方法
|
|
65
|
+
getConnectionsInfo() {
|
|
66
|
+
return Array.from(this.connections).map((e) => ({
|
|
67
|
+
componentId: e.componentId,
|
|
68
|
+
readyState: e.ws.readyState
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
// eslint-disable-next-line no-use-before-define
|
|
73
|
+
r(n, "instance");
|
|
74
|
+
let a = n;
|
|
75
|
+
const A = a.getInstance();
|
|
76
|
+
export {
|
|
77
|
+
A as wsManager
|
|
78
|
+
};
|
package/es/env.d.ts
CHANGED
|
@@ -20,8 +20,6 @@ declare interface Window {
|
|
|
20
20
|
url: string
|
|
21
21
|
ref: any
|
|
22
22
|
};
|
|
23
|
-
// 全局数据源函数
|
|
24
|
-
SHJDatasourceV2: ({ sources, callback, tId, isStore, noUseMapping, isInterval }: { sources: IDataSource[], callback?: Function, tId: string, isStore?: boolean, noUseMapping?: boolean, isInterval?: boolean }) => void;
|
|
25
23
|
SHJDatasourceV2Timer: {
|
|
26
24
|
id: string
|
|
27
25
|
timer: any
|
package/es/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
export * from './components/index';
|
|
3
|
-
export * from './utils/shj/component-refs';
|
|
3
|
+
export * from './commons/utils/shj/component-refs';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
install: (app: App) => void;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
|
+
export * from './commons/core/datasource';
|