@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,134 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export interface BorderParameter {
|
|
3
|
+
color: number | undefined;
|
|
4
|
+
lineWidth: number;
|
|
5
|
+
opacity: number;
|
|
6
|
+
wakeline?: boolean;
|
|
7
|
+
wakelineNumber?: number;
|
|
8
|
+
wakelineColors?: Array<string>;
|
|
9
|
+
}
|
|
10
|
+
export interface SceneParameter {
|
|
11
|
+
isBackground: boolean;
|
|
12
|
+
background: string;
|
|
13
|
+
fog: boolean;
|
|
14
|
+
fogColor: string;
|
|
15
|
+
fogNear: number;
|
|
16
|
+
fogFar: number;
|
|
17
|
+
stats: boolean;
|
|
18
|
+
statsType: number;
|
|
19
|
+
}
|
|
20
|
+
export interface AmbientLightParameter {
|
|
21
|
+
color: string;
|
|
22
|
+
intensity?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface DirectionalLightParameter {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
z: number;
|
|
28
|
+
color: string;
|
|
29
|
+
intensity?: number;
|
|
30
|
+
}
|
|
31
|
+
export interface GridHelperParameter {
|
|
32
|
+
show: boolean;
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
color: string;
|
|
36
|
+
}
|
|
37
|
+
export interface AxesHelperParameter {
|
|
38
|
+
show: boolean;
|
|
39
|
+
size: number;
|
|
40
|
+
}
|
|
41
|
+
export interface SceneInterface {
|
|
42
|
+
/**
|
|
43
|
+
* Camera 场景
|
|
44
|
+
* @default null
|
|
45
|
+
*/
|
|
46
|
+
scene: THREE.Scene;
|
|
47
|
+
/**
|
|
48
|
+
* Camera 相机
|
|
49
|
+
* @default null
|
|
50
|
+
*/
|
|
51
|
+
camera: THREE.Camera;
|
|
52
|
+
/**
|
|
53
|
+
* Camera WebGL渲染器
|
|
54
|
+
* @default null
|
|
55
|
+
*/
|
|
56
|
+
webGlRenderer: THREE.WebGLRenderer;
|
|
57
|
+
/**
|
|
58
|
+
* stats 性能监听器
|
|
59
|
+
* @default null
|
|
60
|
+
*/
|
|
61
|
+
stats: any;
|
|
62
|
+
/**
|
|
63
|
+
* 创建场景
|
|
64
|
+
* @param sceneParameter 场景参数
|
|
65
|
+
* @returns 场景
|
|
66
|
+
*/
|
|
67
|
+
createScene(sceneParameter: SceneParameter): THREE.Scene;
|
|
68
|
+
/**
|
|
69
|
+
* 创建相机
|
|
70
|
+
* @param element 容器
|
|
71
|
+
* @returns 相机
|
|
72
|
+
*/
|
|
73
|
+
createCamera(element: HTMLElement): THREE.Camera;
|
|
74
|
+
/**
|
|
75
|
+
* 创建WebGL渲染器
|
|
76
|
+
* @param element 容器
|
|
77
|
+
* @returns WebGL渲染器
|
|
78
|
+
*/
|
|
79
|
+
createWebGLRenderer(element: HTMLElement): THREE.WebGLRenderer;
|
|
80
|
+
/**
|
|
81
|
+
* 创建环境光
|
|
82
|
+
* @param option 参数
|
|
83
|
+
* @returns 环境光
|
|
84
|
+
*/
|
|
85
|
+
createAmbientLight(option: AmbientLightParameter): THREE.AmbientLight;
|
|
86
|
+
/**
|
|
87
|
+
* 创建平行光
|
|
88
|
+
* @param option 参数
|
|
89
|
+
* @returns 平行光
|
|
90
|
+
*/
|
|
91
|
+
createDirectionalLight(option: DirectionalLightParameter): THREE.DirectionalLight;
|
|
92
|
+
/**
|
|
93
|
+
* 创建Grid辅助线
|
|
94
|
+
* @returns GridHelper
|
|
95
|
+
*/
|
|
96
|
+
createGridHelper(option: GridHelperParameter): THREE.GridHelper;
|
|
97
|
+
/**
|
|
98
|
+
* 创建Axes辅助线
|
|
99
|
+
* @returns AxesHelper
|
|
100
|
+
*/
|
|
101
|
+
createAxesHelper(option: AxesHelperParameter): THREE.AxesHelper;
|
|
102
|
+
/**
|
|
103
|
+
* 创建性能监测器
|
|
104
|
+
* @param sceneParameter 场景参数
|
|
105
|
+
*/
|
|
106
|
+
createStats(sceneParameter: SceneParameter): any;
|
|
107
|
+
/**
|
|
108
|
+
* 添加物体
|
|
109
|
+
* @param object Object3D
|
|
110
|
+
* @returns void
|
|
111
|
+
*/
|
|
112
|
+
add(...object: THREE.Object3D[] | undefined): void;
|
|
113
|
+
/**
|
|
114
|
+
* 重置大小
|
|
115
|
+
* @returns void
|
|
116
|
+
*/
|
|
117
|
+
resize(): void;
|
|
118
|
+
/**
|
|
119
|
+
* 渲染器
|
|
120
|
+
* @returns void
|
|
121
|
+
*/
|
|
122
|
+
render(): void;
|
|
123
|
+
/**
|
|
124
|
+
* 销毁实例
|
|
125
|
+
* @returns void
|
|
126
|
+
*/
|
|
127
|
+
dispose(): void;
|
|
128
|
+
/**
|
|
129
|
+
* 容器发生改变时
|
|
130
|
+
* @param element
|
|
131
|
+
* @returns void
|
|
132
|
+
*/
|
|
133
|
+
onWindowResize(element: HTMLElement): void;
|
|
134
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSS2DObject as o, CSS2DRenderer as s } from "three/examples/jsm/renderers/CSS2DRenderer";
|
|
2
|
+
function d(t) {
|
|
3
|
+
const e = document.createElement("div");
|
|
4
|
+
e.innerHTML = t, e.classList.add("tag");
|
|
5
|
+
const n = new o(e);
|
|
6
|
+
return e.style.pointerEvents = "none", n;
|
|
7
|
+
}
|
|
8
|
+
function r(t) {
|
|
9
|
+
const e = new s();
|
|
10
|
+
return e.setSize(t.offsetWidth, t.offsetHeight), e.domElement.style.position = "absolute", e.domElement.style.top = "0px", e.domElement.style.left = "0px", e.domElement.style.pointerEvents = "none", t.appendChild(e.domElement), e;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
r as labelRenderer,
|
|
14
|
+
d as tag2D
|
|
15
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Line2 as s } from "three/examples/jsm/lines/Line2";
|
|
2
|
+
import { LineGeometry as c } from "three/examples/jsm/lines/LineGeometry";
|
|
3
|
+
import { LineMaterial as m } from "three/examples/jsm/lines/LineMaterial";
|
|
4
|
+
const u = (o, e) => {
|
|
5
|
+
const r = [];
|
|
6
|
+
o.forEach(({ x: n, y: a, z: l }) => r.push(n, a, l));
|
|
7
|
+
const t = new c();
|
|
8
|
+
t.setPositions(r);
|
|
9
|
+
const i = new m({
|
|
10
|
+
transparent: !0,
|
|
11
|
+
color: e.color,
|
|
12
|
+
linewidth: e.lineWidth * 0.01,
|
|
13
|
+
opacity: e.opacity,
|
|
14
|
+
worldUnits: !0,
|
|
15
|
+
alphaToCoverage: !0
|
|
16
|
+
});
|
|
17
|
+
return new s(t, i);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
u as DrawLine
|
|
21
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { CSS2DRenderer } from 'three/examples/jsm/renderers/CSS2DRenderer';
|
|
3
|
+
import { SceneInterface, SceneParameter, AmbientLightParameter, GridHelperParameter, AxesHelperParameter, DirectionalLightParameter } from './interface';
|
|
4
|
+
export declare class Scene implements SceneInterface {
|
|
5
|
+
stats: any;
|
|
6
|
+
scene: THREE.Scene;
|
|
7
|
+
camera: THREE.PerspectiveCamera;
|
|
8
|
+
webGlRenderer: THREE.WebGLRenderer;
|
|
9
|
+
labelRenderer: CSS2DRenderer;
|
|
10
|
+
element: HTMLElement;
|
|
11
|
+
animationFrameId: number;
|
|
12
|
+
textures: any;
|
|
13
|
+
constructor(element: HTMLElement, sceneParameter: SceneParameter);
|
|
14
|
+
createScene(sceneParameter: SceneParameter): THREE.Scene;
|
|
15
|
+
createCamera(element: HTMLElement): THREE.PerspectiveCamera;
|
|
16
|
+
createWebGLRenderer(element: HTMLElement): THREE.WebGLRenderer;
|
|
17
|
+
createAmbientLight(option: AmbientLightParameter): THREE.AmbientLight;
|
|
18
|
+
createDirectionalLight(option: DirectionalLightParameter): THREE.DirectionalLight;
|
|
19
|
+
createGridHelper(option: GridHelperParameter): THREE.GridHelper | undefined;
|
|
20
|
+
createAxesHelper(option: AxesHelperParameter): THREE.AxesHelper | undefined;
|
|
21
|
+
createStats(sceneParameter: SceneParameter): any;
|
|
22
|
+
resize(): void;
|
|
23
|
+
render(): void;
|
|
24
|
+
add(...object: THREE.Object3D[] | undefined): void;
|
|
25
|
+
dispose(): void;
|
|
26
|
+
onWindowResize(element: HTMLElement): void;
|
|
27
|
+
loadTextures(texturePaths: any, callback: any): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var c = (s, e, t) => e in s ? d(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
+
var i = (s, e, t) => c(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import * as r from "three";
|
|
5
|
+
import f from "stats.js";
|
|
6
|
+
import { labelRenderer as m } from "./label.mjs";
|
|
7
|
+
class b {
|
|
8
|
+
constructor(e, t) {
|
|
9
|
+
i(this, "stats");
|
|
10
|
+
i(this, "scene");
|
|
11
|
+
i(this, "camera");
|
|
12
|
+
i(this, "webGlRenderer");
|
|
13
|
+
i(this, "labelRenderer");
|
|
14
|
+
i(this, "element");
|
|
15
|
+
i(this, "animationFrameId", 0);
|
|
16
|
+
i(this, "textures", {});
|
|
17
|
+
this.element = e, this.scene = this.createScene(t), this.stats = this.createStats(t), this.camera = this.createCamera(this.element), this.webGlRenderer = this.createWebGLRenderer(this.element), window.addEventListener("resize", () => this.onWindowResize(this.element));
|
|
18
|
+
}
|
|
19
|
+
createScene(e) {
|
|
20
|
+
const t = new r.Scene();
|
|
21
|
+
return e.isBackground ? t.background = new r.Color(e.background) : t.background = null, e.fog && (t.fog = new r.Fog(e.fogColor, e.fogNear, e.fogFar)), t;
|
|
22
|
+
}
|
|
23
|
+
createCamera(e) {
|
|
24
|
+
const t = new r.PerspectiveCamera(45, e.offsetWidth / e.offsetHeight, 0.1, 1e4);
|
|
25
|
+
return t.position.set(10, 10, 10), t.lookAt(0, 0, 0), t;
|
|
26
|
+
}
|
|
27
|
+
createWebGLRenderer(e) {
|
|
28
|
+
const t = new r.WebGLRenderer({
|
|
29
|
+
preserveDrawingBuffer: !0,
|
|
30
|
+
// 开启缓冲区保护
|
|
31
|
+
antialias: !0,
|
|
32
|
+
alpha: !0
|
|
33
|
+
});
|
|
34
|
+
return t.setClearAlpha(0), t.setPixelRatio(window.devicePixelRatio), t.autoClear = !1, t.clearColor(), t.setSize(e.offsetWidth, e.offsetHeight), e.appendChild(t.domElement), this.labelRenderer = m(e), t;
|
|
35
|
+
}
|
|
36
|
+
createAmbientLight(e) {
|
|
37
|
+
return new r.AmbientLight(
|
|
38
|
+
new r.Color(e.color),
|
|
39
|
+
e.intensity
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
createDirectionalLight(e) {
|
|
43
|
+
const t = new r.DirectionalLight(
|
|
44
|
+
new r.Color(e.color),
|
|
45
|
+
e.intensity
|
|
46
|
+
);
|
|
47
|
+
return t.position.set(
|
|
48
|
+
e.x,
|
|
49
|
+
e.y,
|
|
50
|
+
e.z
|
|
51
|
+
), t.lookAt(0, 0, 0), t;
|
|
52
|
+
}
|
|
53
|
+
createGridHelper(e) {
|
|
54
|
+
if (e.show)
|
|
55
|
+
return new r.GridHelper(
|
|
56
|
+
e.width,
|
|
57
|
+
e.height,
|
|
58
|
+
new r.Color(e.color),
|
|
59
|
+
new r.Color(e.color)
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
createAxesHelper(e) {
|
|
63
|
+
if (e.show)
|
|
64
|
+
return new r.AxesHelper(e.size);
|
|
65
|
+
}
|
|
66
|
+
createStats(e) {
|
|
67
|
+
if (e.stats) {
|
|
68
|
+
const t = new f();
|
|
69
|
+
return t.domElement.style.position = "absolute", t.domElement.style.top = "5px", t.domElement.style.left = "5px", t.showPanel(e.statsType), this.element.appendChild(t.dom), t;
|
|
70
|
+
}
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
resize() {
|
|
74
|
+
this.webGlRenderer.setSize(this.element.offsetWidth, this.element.offsetHeight), this.camera.aspect = this.element.offsetWidth / this.element.offsetHeight, this.camera.updateProjectionMatrix();
|
|
75
|
+
}
|
|
76
|
+
render() {
|
|
77
|
+
this.animationFrameId = requestAnimationFrame(() => {
|
|
78
|
+
this.stats && this.stats.update(), this.render(), this.webGlRenderer.clear(), this.webGlRenderer.render(this.scene, this.camera);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
add(...e) {
|
|
82
|
+
e.forEach((t) => {
|
|
83
|
+
t && this.scene.add(t);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
dispose() {
|
|
87
|
+
try {
|
|
88
|
+
cancelAnimationFrame(this.animationFrameId), this.element.innerHTML = "", this.camera.clear(), this.webGlRenderer.forceContextLoss(), this.webGlRenderer.dispose(), this.scene.clear();
|
|
89
|
+
} catch {
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
onWindowResize(e) {
|
|
93
|
+
const t = e.offsetWidth, o = e.offsetHeight;
|
|
94
|
+
this.webGlRenderer.setSize(t, o), this.camera.aspect = t / o, this.camera.updateProjectionMatrix();
|
|
95
|
+
}
|
|
96
|
+
loadTextures(e, t) {
|
|
97
|
+
const o = new r.TextureLoader();
|
|
98
|
+
let n = 0;
|
|
99
|
+
const a = () => {
|
|
100
|
+
if (n < e.length) {
|
|
101
|
+
const l = e[n].value;
|
|
102
|
+
l ? o.load(
|
|
103
|
+
l,
|
|
104
|
+
(h) => {
|
|
105
|
+
this.textures[e[n].key] = h, n++, a();
|
|
106
|
+
},
|
|
107
|
+
void 0,
|
|
108
|
+
function(h) {
|
|
109
|
+
n++, a();
|
|
110
|
+
}
|
|
111
|
+
) : (n++, a());
|
|
112
|
+
} else
|
|
113
|
+
t(this.textures);
|
|
114
|
+
};
|
|
115
|
+
a();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export {
|
|
119
|
+
b as Scene
|
|
120
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as echarts from 'echarts';
|
|
2
|
+
export interface IUseChart {
|
|
3
|
+
basicOption: any;
|
|
4
|
+
useEvents: any[];
|
|
5
|
+
customRenderData: Function;
|
|
6
|
+
emit: any;
|
|
7
|
+
}
|
|
8
|
+
export declare const useChart: ({ basicOption, useEvents, customRenderData, emit }: IUseChart) => {
|
|
9
|
+
id: string;
|
|
10
|
+
status: import("vue").Ref<boolean>;
|
|
11
|
+
chart: import("vue").ShallowRef<echarts.ECharts>;
|
|
12
|
+
setOption: (optionParams: any, type?: any) => void;
|
|
13
|
+
renderChart: import("lodash").DebouncedFunc<(option: echarts.EChartsOption) => void>;
|
|
14
|
+
renderData: Function;
|
|
15
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { ref as m, shallowRef as L, onMounted as P, onBeforeUnmount as Z } from "vue";
|
|
2
|
+
import { useResizeObserver as I } from "@vueuse/core";
|
|
3
|
+
import { debounce as O, cloneDeep as S, isArray as n } from "lodash";
|
|
4
|
+
import b from "is-electron";
|
|
5
|
+
import * as f from "echarts";
|
|
6
|
+
import { nanoid as k } from "nanoid";
|
|
7
|
+
import { HoverLoop as V } from "../utils/hoverLoop.mjs";
|
|
8
|
+
import "echarts-wordcloud";
|
|
9
|
+
import "echarts-liquidfill";
|
|
10
|
+
const D = (l) => {
|
|
11
|
+
const e = [];
|
|
12
|
+
l.geo && (n(l.geo) ? e.push(...l.geo.map((r) => r.map)) : e.push(l.geo.map)), l.series && n(l.series) && l.series.forEach((r) => {
|
|
13
|
+
r.map && e.push(r.map);
|
|
14
|
+
});
|
|
15
|
+
const d = e.map((r) => {
|
|
16
|
+
if (r === "customize")
|
|
17
|
+
if (n(l.geo)) {
|
|
18
|
+
const c = JSON.parse(l.geo.find((h) => h.map === "customize").geoData);
|
|
19
|
+
return f.registerMap(r, c);
|
|
20
|
+
} else {
|
|
21
|
+
const c = JSON.parse(l.geo.geoData);
|
|
22
|
+
return f.registerMap(r, c);
|
|
23
|
+
}
|
|
24
|
+
else
|
|
25
|
+
return fetch((b() ? "gismap/" : "/gismap/") + r + ".json").then((c) => c.json()).then((c) => {
|
|
26
|
+
f.registerMap(r, c);
|
|
27
|
+
}).catch((c) => {
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
return Promise.all(d);
|
|
31
|
+
}, M = async (l) => {
|
|
32
|
+
l.bmap && await import(
|
|
33
|
+
/* @vite-ignore */
|
|
34
|
+
"echarts/extension/bmap/bmap"
|
|
35
|
+
);
|
|
36
|
+
}, A = ({ basicOption: l, useEvents: e, customRenderData: d, emit: r }) => {
|
|
37
|
+
const c = k(), h = m(!0), t = L(null), v = d, u = m(null), i = m(null), y = (s, g) => {
|
|
38
|
+
try {
|
|
39
|
+
t.value || (t.value = f.init(document.getElementById(c), null, { renderer: g || "svg" }));
|
|
40
|
+
const o = S(s);
|
|
41
|
+
if (o) {
|
|
42
|
+
if (t.value.setOption(o, !0), o.hoverLoop)
|
|
43
|
+
if (i.value && clearInterval(i.value), u.value && u.value.closeSwitchTooltip(), o.hoverLoop.type === "方式二") {
|
|
44
|
+
let a = 0;
|
|
45
|
+
o.dataset && o.dataset.source && (a = o.dataset.source.length), o.series[0] && o.series[0].data && (a = o.series[0].data.length);
|
|
46
|
+
const J = o.dataZoom[0].endValue, H = o.dataZoom[0].startValue, w = () => {
|
|
47
|
+
i.value = setInterval(() => {
|
|
48
|
+
o.dataZoom[0].endValue > a - 2 ? (o.dataZoom[0].endValue = J, o.dataZoom[0].startValue = H) : (o.dataZoom[0].endValue = o.dataZoom[0].endValue + 1, o.dataZoom[0].startValue = o.dataZoom[0].startValue + 1), t.value.setOption(o);
|
|
49
|
+
}, o.hoverLoop.delay2);
|
|
50
|
+
};
|
|
51
|
+
t.value.on("mousemove", function() {
|
|
52
|
+
i.value && clearInterval(i.value);
|
|
53
|
+
}), t.value.on("mouseout", function() {
|
|
54
|
+
i.value && clearInterval(i.value), w();
|
|
55
|
+
}), w();
|
|
56
|
+
} else o.hoverLoop.type === "方式一" && (t.value.on("mousemove", function() {
|
|
57
|
+
u.value && u.value.closeSwitchTooltip();
|
|
58
|
+
}), t.value.on("mouseout", function() {
|
|
59
|
+
u.value && u.value.closeSwitchTooltip(), u.value = new V(t.value, o);
|
|
60
|
+
}), u.value = new V(t.value, o));
|
|
61
|
+
else
|
|
62
|
+
i.value && clearInterval(i.value), u.value && u.value.closeSwitchTooltip();
|
|
63
|
+
t.value.on("click", (a) => {
|
|
64
|
+
e && n(e) && e.length > 0 && (r("chart-click", a), window.SHJParseEvent(e, "chart-click", a));
|
|
65
|
+
}), t.value.on("dblclick", (a) => {
|
|
66
|
+
e && n(e) && e.length > 0 && (r("chart-dblclick", a), window.SHJParseEvent(e, "chart-dblclick", a));
|
|
67
|
+
}), t.value.on("mousedown", (a) => {
|
|
68
|
+
e && n(e) && e.length > 0 && (r("chart-mousedown", a), window.SHJParseEvent(e, "chart-mousedown", a));
|
|
69
|
+
}), t.value.on("mouseup", (a) => {
|
|
70
|
+
e && n(e) && e.length > 0 && (r("chart-mouseup", a), window.SHJParseEvent(e, "chart-mouseup", a));
|
|
71
|
+
}), t.value.on("mouseover", (a) => {
|
|
72
|
+
e && n(e) && e.length > 0 && (r("chart-mouseover", a), window.SHJParseEvent(e, "chart-mouseover", a));
|
|
73
|
+
}), t.value.on("mouseout", (a) => {
|
|
74
|
+
e && n(e) && e.length > 0 && (r("chart-mouseout", a), window.SHJParseEvent(e, "chart-mouseout", a));
|
|
75
|
+
}), t.value.on("contextmenu", (a) => {
|
|
76
|
+
e && n(e) && e.length > 0 && (r("chart-contextmenu", a), window.SHJParseEvent(e, "chart-contextmenu", a));
|
|
77
|
+
}), h.value = !1;
|
|
78
|
+
}
|
|
79
|
+
} catch {
|
|
80
|
+
try {
|
|
81
|
+
t.value.dispose();
|
|
82
|
+
} catch {
|
|
83
|
+
}
|
|
84
|
+
t.value = null;
|
|
85
|
+
}
|
|
86
|
+
}, p = O((s) => {
|
|
87
|
+
h.value = !0, s = S(s), D(s).then(() => {
|
|
88
|
+
M(s).then(() => {
|
|
89
|
+
v(s);
|
|
90
|
+
});
|
|
91
|
+
}).catch((g) => {
|
|
92
|
+
});
|
|
93
|
+
}, 100);
|
|
94
|
+
return P(() => {
|
|
95
|
+
p(l), I(document.getElementById(c), (s) => {
|
|
96
|
+
t.value && t.value.resize();
|
|
97
|
+
});
|
|
98
|
+
}), Z(() => {
|
|
99
|
+
u.value && u.value.closeSwitchTooltip(), i.value && clearInterval(i.value);
|
|
100
|
+
try {
|
|
101
|
+
t.value && t.value.dispose();
|
|
102
|
+
} catch {
|
|
103
|
+
}
|
|
104
|
+
}), {
|
|
105
|
+
id: c,
|
|
106
|
+
status: h,
|
|
107
|
+
chart: t,
|
|
108
|
+
setOption: y,
|
|
109
|
+
renderChart: p,
|
|
110
|
+
renderData: v
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
export {
|
|
114
|
+
A as useChart
|
|
115
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Color4 as f, Color3 as o } from "@babylonjs/core";
|
|
2
|
+
import { hex2rgb as i } from "@swiftcarrot/color-fns";
|
|
3
|
+
const p = (t, n) => {
|
|
4
|
+
if (t && t.startsWith("#")) {
|
|
5
|
+
const { r, g: s, b: e } = i(t);
|
|
6
|
+
return new o(r / 255, s / 255, e / 255);
|
|
7
|
+
}
|
|
8
|
+
return n;
|
|
9
|
+
}, x = (t, n) => {
|
|
10
|
+
if (t && t.startsWith("#")) {
|
|
11
|
+
let r = 1;
|
|
12
|
+
t.length === 9 && (r = parseInt(t.slice(7, 9), 16) / 255);
|
|
13
|
+
const { r: s, g: e, b: h } = i(t);
|
|
14
|
+
return new f(s / 255, e / 255, h / 255, r);
|
|
15
|
+
}
|
|
16
|
+
return n;
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
p as hex2Color3,
|
|
20
|
+
x as hex2Color4
|
|
21
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const i = {
|
|
2
|
+
beforeMount(t, c) {
|
|
3
|
+
t.clickOutsideEvent = (e) => {
|
|
4
|
+
t === e.target || t.contains(e.target) || c.value(e);
|
|
5
|
+
}, document.addEventListener("click", t.clickOutsideEvent);
|
|
6
|
+
},
|
|
7
|
+
unmounted(t) {
|
|
8
|
+
document.removeEventListener("click", t.clickOutsideEvent);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
i as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class HoverLoop {
|
|
2
|
+
private myChart;
|
|
3
|
+
private option;
|
|
4
|
+
timer: any;
|
|
5
|
+
currentIndex: number;
|
|
6
|
+
currentSeriesIndex: number;
|
|
7
|
+
constructor(myChart: any, option: any);
|
|
8
|
+
switchTooltip(myChart: any, option: any): void;
|
|
9
|
+
closeSwitchTooltip(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var h = Object.defineProperty;
|
|
2
|
+
var d = (s, t, e) => t in s ? h(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
|
+
var i = (s, t, e) => d(s, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
class n {
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
i(this, "timer");
|
|
7
|
+
i(this, "currentIndex", -1);
|
|
8
|
+
i(this, "currentSeriesIndex", -1);
|
|
9
|
+
this.myChart = t, this.option = e, this.timer = setInterval(() => {
|
|
10
|
+
this.switchTooltip(this.myChart, this.option);
|
|
11
|
+
}, e.hoverLoop.delay);
|
|
12
|
+
}
|
|
13
|
+
switchTooltip(t, e) {
|
|
14
|
+
try {
|
|
15
|
+
if (e.dataset && e.dataset.source || e.series[0].data) {
|
|
16
|
+
t.dispatchAction({
|
|
17
|
+
type: "downplay",
|
|
18
|
+
seriesIndex: this.currentSeriesIndex,
|
|
19
|
+
dataIndex: this.currentIndex
|
|
20
|
+
}), this.currentSeriesIndex = (this.currentSeriesIndex + 1) % e.series.length;
|
|
21
|
+
let r = 0;
|
|
22
|
+
e.dataset && e.dataset.source && (r = e.dataset.source.length), e.series[this.currentSeriesIndex] && e.series[this.currentSeriesIndex].data && (r = e.series[this.currentSeriesIndex].data.length), this.currentSeriesIndex === 0 && (this.currentIndex = (this.currentIndex + 1) % r), e.hoverLoop.highlight && t && t.dispatchAction({
|
|
23
|
+
type: "highlight",
|
|
24
|
+
seriesIndex: this.currentSeriesIndex,
|
|
25
|
+
dataIndex: this.currentIndex
|
|
26
|
+
}), e.hoverLoop.showTip && t && t.dispatchAction({
|
|
27
|
+
type: "showTip",
|
|
28
|
+
seriesIndex: this.currentSeriesIndex,
|
|
29
|
+
dataIndex: this.currentIndex
|
|
30
|
+
});
|
|
31
|
+
} else
|
|
32
|
+
this.closeSwitchTooltip();
|
|
33
|
+
} catch {
|
|
34
|
+
this.closeSwitchTooltip();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
closeSwitchTooltip() {
|
|
38
|
+
clearInterval(this.timer), this.timer = void 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
n as HoverLoop
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const imgsPreloader: (imgs: string[]) => Promise<boolean[]>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const t = (e) => new Promise((r, o) => {
|
|
2
|
+
const n = new Image();
|
|
3
|
+
n.onload = () => {
|
|
4
|
+
r(!0);
|
|
5
|
+
}, n.onerror = (s) => {
|
|
6
|
+
o(s);
|
|
7
|
+
}, n.src = e;
|
|
8
|
+
}), a = (e) => {
|
|
9
|
+
const r = [];
|
|
10
|
+
return e.forEach((o) => {
|
|
11
|
+
r.push(t(o));
|
|
12
|
+
}), Promise.all(r);
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
a as imgsPreloader
|
|
16
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { isObject as i, isNumber as r } from "lodash";
|
|
2
|
+
function d(t, c) {
|
|
3
|
+
const e = {};
|
|
4
|
+
for (const s in t)
|
|
5
|
+
if (!i(t[s])) {
|
|
6
|
+
const n = a(s);
|
|
7
|
+
["fontSize", "width", "height", "borderWidth", "borderRadius", "gap", "-webkit-text-stroke-width", "letterSpacing", "maxHeight", "marginRight"].includes(s) && r(t[s]) ? e[(c ? `--${c}-` : "") + n] = `${t[s]}px` : e[(c ? `--${c}-` : "") + n] = t[s];
|
|
8
|
+
}
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
function a(t) {
|
|
12
|
+
return t.replace(/([a-zA-Z])(?=[A-Z])/g, "$1-").toLowerCase();
|
|
13
|
+
}
|
|
14
|
+
const h = (t) => {
|
|
15
|
+
if (t && t.startsWith("SHJ-")) {
|
|
16
|
+
let c = !1;
|
|
17
|
+
if (document.fonts.forEach((e) => {
|
|
18
|
+
e.family === t && (c = !0);
|
|
19
|
+
}), !c) {
|
|
20
|
+
const e = t.slice(4, t.lastIndexOf("-")), s = e.slice(0, e.lastIndexOf("-")), n = t.slice(t.lastIndexOf("-") + 1, t.length), o = new FontFace(t, `url(https://lganv-1304359499.cos.ap-beijing.myqcloud.com/lg_cos_static/fonts/${s}/${e}.${n})`);
|
|
21
|
+
document.fonts.add(o), o.load().then(() => {
|
|
22
|
+
}).catch(() => {
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
h as autoInstallFont,
|
|
29
|
+
a as camelCaseToDash,
|
|
30
|
+
d as jsonToCssStyle
|
|
31
|
+
};
|