@shjjs/visual-ui 1.0.0
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/README.en.md +0 -0
- package/README.md +0 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/components/chart-bar-basic/index.d.ts +52 -0
- package/es/components/chart-bar-basic/index.mjs +7 -0
- package/es/components/chart-bar-basic/index.vue.d.ts +52 -0
- package/es/components/chart-bar-basic/index.vue.mjs +77 -0
- package/es/components/chart-bar-basic/index.vue2.mjs +4 -0
- package/es/components/chart-bar-contrast/index.d.ts +52 -0
- package/es/components/chart-bar-contrast/index.mjs +7 -0
- package/es/components/chart-bar-contrast/index.vue.d.ts +52 -0
- package/es/components/chart-bar-contrast/index.vue.mjs +90 -0
- package/es/components/chart-bar-contrast/index.vue2.mjs +4 -0
- package/es/components/chart-bar-gradient-column-chart/index.d.ts +51 -0
- package/es/components/chart-bar-gradient-column-chart/index.mjs +7 -0
- package/es/components/chart-bar-gradient-column-chart/index.vue.d.ts +51 -0
- package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +76 -0
- package/es/components/chart-bar-gradient-column-chart/index.vue2.mjs +4 -0
- package/es/components/chart-bar-horizontal/index.d.ts +51 -0
- package/es/components/chart-bar-horizontal/index.mjs +7 -0
- package/es/components/chart-bar-horizontal/index.vue.d.ts +51 -0
- package/es/components/chart-bar-horizontal/index.vue.mjs +76 -0
- package/es/components/chart-bar-horizontal/index.vue2.mjs +4 -0
- package/es/components/chart-bar-line-bar/index.d.ts +51 -0
- package/es/components/chart-bar-line-bar/index.mjs +7 -0
- package/es/components/chart-bar-line-bar/index.vue.d.ts +51 -0
- package/es/components/chart-bar-line-bar/index.vue.mjs +75 -0
- package/es/components/chart-bar-line-bar/index.vue2.mjs +4 -0
- package/es/components/chart-bar-loop/index.d.ts +51 -0
- package/es/components/chart-bar-loop/index.mjs +7 -0
- package/es/components/chart-bar-loop/index.vue.d.ts +51 -0
- package/es/components/chart-bar-loop/index.vue.mjs +76 -0
- package/es/components/chart-bar-loop/index.vue2.mjs +4 -0
- package/es/components/chart-bar-mini/index.d.ts +51 -0
- package/es/components/chart-bar-mini/index.mjs +7 -0
- package/es/components/chart-bar-mini/index.vue.d.ts +51 -0
- package/es/components/chart-bar-mini/index.vue.mjs +76 -0
- package/es/components/chart-bar-mini/index.vue2.mjs +4 -0
- package/es/components/chart-bar-rank/index.d.ts +51 -0
- package/es/components/chart-bar-rank/index.mjs +7 -0
- package/es/components/chart-bar-rank/index.vue.d.ts +51 -0
- package/es/components/chart-bar-rank/index.vue.mjs +76 -0
- package/es/components/chart-bar-rank/index.vue2.mjs +4 -0
- package/es/components/chart-bar-segmented-progress/index.d.ts +51 -0
- package/es/components/chart-bar-segmented-progress/index.mjs +7 -0
- package/es/components/chart-bar-segmented-progress/index.vue.d.ts +51 -0
- package/es/components/chart-bar-segmented-progress/index.vue.mjs +75 -0
- package/es/components/chart-bar-segmented-progress/index.vue2.mjs +4 -0
- package/es/components/chart-bar-spire/index.d.ts +51 -0
- package/es/components/chart-bar-spire/index.mjs +7 -0
- package/es/components/chart-bar-spire/index.vue.d.ts +51 -0
- package/es/components/chart-bar-spire/index.vue.mjs +75 -0
- package/es/components/chart-bar-spire/index.vue2.mjs +4 -0
- package/es/components/chart-bar-stack/index.d.ts +51 -0
- package/es/components/chart-bar-stack/index.mjs +7 -0
- package/es/components/chart-bar-stack/index.vue.d.ts +51 -0
- package/es/components/chart-bar-stack/index.vue.mjs +76 -0
- package/es/components/chart-bar-stack/index.vue2.mjs +4 -0
- package/es/components/chart-bar-stack-line/index.d.ts +51 -0
- package/es/components/chart-bar-stack-line/index.mjs +7 -0
- package/es/components/chart-bar-stack-line/index.vue.d.ts +51 -0
- package/es/components/chart-bar-stack-line/index.vue.mjs +75 -0
- package/es/components/chart-bar-stack-line/index.vue2.mjs +4 -0
- package/es/components/chart-bar-stack2/index.d.ts +51 -0
- package/es/components/chart-bar-stack2/index.mjs +7 -0
- package/es/components/chart-bar-stack2/index.vue.d.ts +51 -0
- package/es/components/chart-bar-stack2/index.vue.mjs +75 -0
- package/es/components/chart-bar-stack2/index.vue2.mjs +4 -0
- package/es/components/chart-bar-three/index.d.ts +51 -0
- package/es/components/chart-bar-three/index.mjs +7 -0
- package/es/components/chart-bar-three/index.vue.d.ts +51 -0
- package/es/components/chart-bar-three/index.vue.mjs +75 -0
- package/es/components/chart-bar-three/index.vue2.mjs +4 -0
- package/es/components/chart-bar-zebra/index.d.ts +51 -0
- package/es/components/chart-bar-zebra/index.mjs +7 -0
- package/es/components/chart-bar-zebra/index.vue.d.ts +51 -0
- package/es/components/chart-bar-zebra/index.vue.mjs +75 -0
- package/es/components/chart-bar-zebra/index.vue2.mjs +4 -0
- package/es/components/chart-line-basic/index.d.ts +51 -0
- package/es/components/chart-line-basic/index.mjs +7 -0
- package/es/components/chart-line-basic/index.vue.d.ts +51 -0
- package/es/components/chart-line-basic/index.vue.mjs +76 -0
- package/es/components/chart-line-basic/index.vue2.mjs +4 -0
- package/es/components/chart-line-dashed/index.d.ts +51 -0
- package/es/components/chart-line-dashed/index.mjs +7 -0
- package/es/components/chart-line-dashed/index.vue.d.ts +51 -0
- package/es/components/chart-line-dashed/index.vue.mjs +76 -0
- package/es/components/chart-line-dashed/index.vue2.mjs +4 -0
- package/es/components/chart-line-scale/index.d.ts +51 -0
- package/es/components/chart-line-scale/index.mjs +7 -0
- package/es/components/chart-line-scale/index.vue.d.ts +51 -0
- package/es/components/chart-line-scale/index.vue.mjs +76 -0
- package/es/components/chart-line-scale/index.vue2.mjs +4 -0
- package/es/components/chart-line-smooth/index.d.ts +51 -0
- package/es/components/chart-line-smooth/index.mjs +7 -0
- package/es/components/chart-line-smooth/index.vue.d.ts +51 -0
- package/es/components/chart-line-smooth/index.vue.mjs +76 -0
- package/es/components/chart-line-smooth/index.vue2.mjs +4 -0
- package/es/components/chart-line-smooth-area/index.d.ts +51 -0
- package/es/components/chart-line-smooth-area/index.mjs +7 -0
- package/es/components/chart-line-smooth-area/index.vue.d.ts +51 -0
- package/es/components/chart-line-smooth-area/index.vue.mjs +76 -0
- package/es/components/chart-line-smooth-area/index.vue2.mjs +4 -0
- package/es/components/chart-map-basic/index.d.ts +51 -0
- package/es/components/chart-map-basic/index.mjs +7 -0
- package/es/components/chart-map-basic/index.vue.d.ts +51 -0
- package/es/components/chart-map-basic/index.vue.mjs +76 -0
- package/es/components/chart-map-basic/index.vue2.mjs +4 -0
- package/es/components/chart-map-bmap-basic/index.d.ts +51 -0
- package/es/components/chart-map-bmap-basic/index.mjs +7 -0
- package/es/components/chart-map-bmap-basic/index.vue.d.ts +51 -0
- package/es/components/chart-map-bmap-basic/index.vue.mjs +76 -0
- package/es/components/chart-map-bmap-basic/index.vue2.mjs +4 -0
- package/es/components/chart-map-bmap-heatmap/index.d.ts +51 -0
- package/es/components/chart-map-bmap-heatmap/index.mjs +7 -0
- package/es/components/chart-map-bmap-heatmap/index.vue.d.ts +51 -0
- package/es/components/chart-map-bmap-heatmap/index.vue.mjs +76 -0
- package/es/components/chart-map-bmap-heatmap/index.vue2.mjs +4 -0
- package/es/components/chart-map-bmap-rich/index.d.ts +51 -0
- package/es/components/chart-map-bmap-rich/index.mjs +7 -0
- package/es/components/chart-map-bmap-rich/index.vue.d.ts +51 -0
- package/es/components/chart-map-bmap-rich/index.vue.mjs +76 -0
- package/es/components/chart-map-bmap-rich/index.vue2.mjs +4 -0
- package/es/components/chart-map-customize/index.d.ts +51 -0
- package/es/components/chart-map-customize/index.mjs +7 -0
- package/es/components/chart-map-customize/index.vue.d.ts +51 -0
- package/es/components/chart-map-customize/index.vue.mjs +76 -0
- package/es/components/chart-map-customize/index.vue2.mjs +4 -0
- package/es/components/chart-map-lines/index.d.ts +51 -0
- package/es/components/chart-map-lines/index.mjs +7 -0
- package/es/components/chart-map-lines/index.vue.d.ts +51 -0
- package/es/components/chart-map-lines/index.vue.mjs +76 -0
- package/es/components/chart-map-lines/index.vue2.mjs +4 -0
- package/es/components/chart-map-scatter/index.d.ts +51 -0
- package/es/components/chart-map-scatter/index.mjs +7 -0
- package/es/components/chart-map-scatter/index.vue.d.ts +51 -0
- package/es/components/chart-map-scatter/index.vue.mjs +76 -0
- package/es/components/chart-map-scatter/index.vue2.mjs +4 -0
- package/es/components/chart-other-circular-graph/index.d.ts +51 -0
- package/es/components/chart-other-circular-graph/index.mjs +7 -0
- package/es/components/chart-other-circular-graph/index.vue.d.ts +51 -0
- package/es/components/chart-other-circular-graph/index.vue.mjs +75 -0
- package/es/components/chart-other-circular-graph/index.vue2.mjs +4 -0
- package/es/components/chart-other-force/index.d.ts +51 -0
- package/es/components/chart-other-force/index.mjs +7 -0
- package/es/components/chart-other-force/index.vue.d.ts +51 -0
- package/es/components/chart-other-force/index.vue.mjs +75 -0
- package/es/components/chart-other-force/index.vue2.mjs +4 -0
- package/es/components/chart-other-funnel/index.d.ts +51 -0
- package/es/components/chart-other-funnel/index.mjs +7 -0
- package/es/components/chart-other-funnel/index.vue.d.ts +51 -0
- package/es/components/chart-other-funnel/index.vue.mjs +75 -0
- package/es/components/chart-other-funnel/index.vue2.mjs +4 -0
- package/es/components/chart-other-funnel2/index.d.ts +51 -0
- package/es/components/chart-other-funnel2/index.mjs +7 -0
- package/es/components/chart-other-funnel2/index.vue.d.ts +51 -0
- package/es/components/chart-other-funnel2/index.vue.mjs +75 -0
- package/es/components/chart-other-funnel2/index.vue2.mjs +4 -0
- package/es/components/chart-other-gauge/index.d.ts +51 -0
- package/es/components/chart-other-gauge/index.mjs +7 -0
- package/es/components/chart-other-gauge/index.vue.d.ts +51 -0
- package/es/components/chart-other-gauge/index.vue.mjs +75 -0
- package/es/components/chart-other-gauge/index.vue2.mjs +4 -0
- package/es/components/chart-other-grid-percentage/index.d.ts +51 -0
- package/es/components/chart-other-grid-percentage/index.mjs +7 -0
- package/es/components/chart-other-grid-percentage/index.vue.d.ts +51 -0
- package/es/components/chart-other-grid-percentage/index.vue.mjs +81 -0
- package/es/components/chart-other-grid-percentage/index.vue2.mjs +4 -0
- package/es/components/chart-other-label-gauge/index.d.ts +51 -0
- package/es/components/chart-other-label-gauge/index.mjs +7 -0
- package/es/components/chart-other-label-gauge/index.vue.d.ts +51 -0
- package/es/components/chart-other-label-gauge/index.vue.mjs +77 -0
- package/es/components/chart-other-label-gauge/index.vue2.mjs +4 -0
- package/es/components/chart-other-liquidfill/index.d.ts +51 -0
- package/es/components/chart-other-liquidfill/index.mjs +7 -0
- package/es/components/chart-other-liquidfill/index.vue.d.ts +51 -0
- package/es/components/chart-other-liquidfill/index.vue.mjs +74 -0
- package/es/components/chart-other-liquidfill/index.vue2.mjs +4 -0
- package/es/components/chart-other-radar/index.d.ts +51 -0
- package/es/components/chart-other-radar/index.mjs +7 -0
- package/es/components/chart-other-radar/index.vue.d.ts +51 -0
- package/es/components/chart-other-radar/index.vue.mjs +96 -0
- package/es/components/chart-other-radar/index.vue2.mjs +4 -0
- package/es/components/chart-other-radar-stack/index.d.ts +51 -0
- package/es/components/chart-other-radar-stack/index.mjs +7 -0
- package/es/components/chart-other-radar-stack/index.vue.d.ts +51 -0
- package/es/components/chart-other-radar-stack/index.vue.mjs +76 -0
- package/es/components/chart-other-radar-stack/index.vue2.mjs +4 -0
- package/es/components/chart-other-theme-river/index.d.ts +51 -0
- package/es/components/chart-other-theme-river/index.mjs +7 -0
- package/es/components/chart-other-theme-river/index.vue.d.ts +51 -0
- package/es/components/chart-other-theme-river/index.vue.mjs +80 -0
- package/es/components/chart-other-theme-river/index.vue2.mjs +4 -0
- package/es/components/chart-other-tree/index.d.ts +51 -0
- package/es/components/chart-other-tree/index.mjs +7 -0
- package/es/components/chart-other-tree/index.vue.d.ts +51 -0
- package/es/components/chart-other-tree/index.vue.mjs +74 -0
- package/es/components/chart-other-tree/index.vue2.mjs +4 -0
- package/es/components/chart-other-treemap/index.d.ts +51 -0
- package/es/components/chart-other-treemap/index.mjs +7 -0
- package/es/components/chart-other-treemap/index.vue.d.ts +51 -0
- package/es/components/chart-other-treemap/index.vue.mjs +74 -0
- package/es/components/chart-other-treemap/index.vue2.mjs +4 -0
- package/es/components/chart-other-word-cloud/index.d.ts +51 -0
- package/es/components/chart-other-word-cloud/index.mjs +7 -0
- package/es/components/chart-other-word-cloud/index.vue.d.ts +51 -0
- package/es/components/chart-other-word-cloud/index.vue.mjs +74 -0
- package/es/components/chart-other-word-cloud/index.vue2.mjs +4 -0
- package/es/components/chart-pie-basic/index.d.ts +51 -0
- package/es/components/chart-pie-basic/index.mjs +7 -0
- package/es/components/chart-pie-basic/index.vue.d.ts +51 -0
- package/es/components/chart-pie-basic/index.vue.mjs +75 -0
- package/es/components/chart-pie-basic/index.vue2.mjs +4 -0
- package/es/components/chart-pie-index/index.d.ts +51 -0
- package/es/components/chart-pie-index/index.mjs +7 -0
- package/es/components/chart-pie-index/index.vue.d.ts +51 -0
- package/es/components/chart-pie-index/index.vue.mjs +75 -0
- package/es/components/chart-pie-index/index.vue2.mjs +4 -0
- package/es/components/chart-pie-rose/index.d.ts +51 -0
- package/es/components/chart-pie-rose/index.mjs +7 -0
- package/es/components/chart-pie-rose/index.vue.d.ts +51 -0
- package/es/components/chart-pie-rose/index.vue.mjs +75 -0
- package/es/components/chart-pie-rose/index.vue2.mjs +4 -0
- package/es/components/chart-pie-round/index.d.ts +51 -0
- package/es/components/chart-pie-round/index.mjs +7 -0
- package/es/components/chart-pie-round/index.vue.d.ts +51 -0
- package/es/components/chart-pie-round/index.vue.mjs +75 -0
- package/es/components/chart-pie-round/index.vue2.mjs +4 -0
- package/es/components/chart-pie-semicircle/index.d.ts +51 -0
- package/es/components/chart-pie-semicircle/index.mjs +7 -0
- package/es/components/chart-pie-semicircle/index.vue.d.ts +51 -0
- package/es/components/chart-pie-semicircle/index.vue.mjs +75 -0
- package/es/components/chart-pie-semicircle/index.vue2.mjs +4 -0
- package/es/components/chart-pie-sunburst/index.d.ts +51 -0
- package/es/components/chart-pie-sunburst/index.mjs +7 -0
- package/es/components/chart-pie-sunburst/index.vue.d.ts +51 -0
- package/es/components/chart-pie-sunburst/index.vue.mjs +75 -0
- package/es/components/chart-pie-sunburst/index.vue2.mjs +4 -0
- package/es/components/chart-scatter-basic/index.d.ts +51 -0
- package/es/components/chart-scatter-basic/index.mjs +7 -0
- package/es/components/chart-scatter-basic/index.vue.d.ts +51 -0
- package/es/components/chart-scatter-basic/index.vue.mjs +76 -0
- package/es/components/chart-scatter-basic/index.vue2.mjs +4 -0
- package/es/components/chart-scatter-basic2/index.d.ts +51 -0
- package/es/components/chart-scatter-basic2/index.mjs +7 -0
- package/es/components/chart-scatter-basic2/index.vue.d.ts +51 -0
- package/es/components/chart-scatter-basic2/index.vue.mjs +76 -0
- package/es/components/chart-scatter-basic2/index.vue2.mjs +4 -0
- package/es/components/commons-babylon/compileAndRunBabylon.d.ts +11 -0
- package/es/components/commons-babylon/compileAndRunBabylon.mjs +112 -0
- package/es/components/commons-babylon/index.d.ts +21 -0
- package/es/components/commons-babylon/index.mjs +7 -0
- package/es/components/commons-babylon/index.vue.d.ts +21 -0
- package/es/components/commons-babylon/index.vue.mjs +27 -0
- package/es/components/commons-babylon/index.vue2.mjs +4 -0
- package/es/components/commons-echarts/compileAndRunEcharts.d.ts +12 -0
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +116 -0
- package/es/components/commons-echarts/index.d.ts +38 -0
- package/es/components/commons-echarts/index.mjs +7 -0
- package/es/components/commons-echarts/index.vue.d.ts +38 -0
- package/es/components/commons-echarts/index.vue.mjs +41 -0
- package/es/components/commons-echarts/index.vue2.mjs +4 -0
- package/es/components/commons-gaussian-splatting-view/index.d.ts +92 -0
- package/es/components/commons-gaussian-splatting-view/index.mjs +7 -0
- package/es/components/commons-gaussian-splatting-view/index.vue.d.ts +93 -0
- package/es/components/commons-gaussian-splatting-view/index.vue.mjs +7 -0
- package/es/components/commons-gaussian-splatting-view/index.vue2.mjs +146 -0
- package/es/components/commons-product-model/index.d.ts +142 -0
- package/es/components/commons-product-model/index.mjs +7 -0
- package/es/components/commons-product-model/index.vue.d.ts +143 -0
- package/es/components/commons-product-model/index.vue.mjs +7 -0
- package/es/components/commons-product-model/index.vue2.mjs +239 -0
- package/es/components/commons-qrcode/index.d.ts +2 -0
- package/es/components/commons-qrcode/index.mjs +7 -0
- package/es/components/commons-qrcode/index.vue.d.ts +90 -0
- package/es/components/commons-qrcode/index.vue.mjs +7 -0
- package/es/components/commons-qrcode/index.vue2.mjs +21 -0
- package/es/components/commons-svg/index.d.ts +15 -0
- package/es/components/commons-svg/index.mjs +7 -0
- package/es/components/commons-svg/index.vue.d.ts +15 -0
- package/es/components/commons-svg/index.vue.mjs +67 -0
- package/es/components/commons-svg/index.vue2.mjs +4 -0
- package/es/components/commons-three-loader/index.d.ts +138 -0
- package/es/components/commons-three-loader/index.mjs +7 -0
- package/es/components/commons-three-loader/index.vue.d.ts +139 -0
- package/es/components/commons-three-loader/index.vue.mjs +7 -0
- package/es/components/commons-three-loader/index.vue2.mjs +221 -0
- package/es/components/commons-three-loader3/index.d.ts +60 -0
- package/es/components/commons-three-loader3/index.mjs +7 -0
- package/es/components/commons-three-loader3/index.vue.d.ts +61 -0
- package/es/components/commons-three-loader3/index.vue.mjs +7 -0
- package/es/components/commons-three-loader3/index.vue2.mjs +202 -0
- package/es/components/commons-vr-photo/index.d.ts +59 -0
- package/es/components/commons-vr-photo/index.mjs +7 -0
- package/es/components/commons-vr-photo/index.vue.d.ts +60 -0
- package/es/components/commons-vr-photo/index.vue.mjs +76 -0
- package/es/components/commons-vr-photo/index.vue2.mjs +4 -0
- package/es/components/commons-vr-video/index.d.ts +59 -0
- package/es/components/commons-vr-video/index.mjs +7 -0
- package/es/components/commons-vr-video/index.vue.d.ts +60 -0
- package/es/components/commons-vr-video/index.vue.mjs +86 -0
- package/es/components/commons-vr-video/index.vue2.mjs +4 -0
- package/es/components/commons-weather/index.d.ts +2 -0
- package/es/components/commons-weather/index.mjs +7 -0
- package/es/components/commons-weather/index.vue.d.ts +123 -0
- package/es/components/commons-weather/index.vue.mjs +7 -0
- package/es/components/commons-weather/index.vue2.mjs +110 -0
- package/es/components/graphical-circle/index.d.ts +12 -0
- package/es/components/graphical-circle/index.mjs +7 -0
- package/es/components/graphical-circle/index.vue.d.ts +12 -0
- package/es/components/graphical-circle/index.vue.mjs +7 -0
- package/es/components/graphical-circle/index.vue2.mjs +25 -0
- package/es/components/graphical-diamond/index.d.ts +12 -0
- package/es/components/graphical-diamond/index.mjs +7 -0
- package/es/components/graphical-diamond/index.vue.d.ts +12 -0
- package/es/components/graphical-diamond/index.vue.mjs +7 -0
- package/es/components/graphical-diamond/index.vue2.mjs +23 -0
- package/es/components/graphical-hexagon/index.d.ts +12 -0
- package/es/components/graphical-hexagon/index.mjs +7 -0
- package/es/components/graphical-hexagon/index.vue.d.ts +12 -0
- package/es/components/graphical-hexagon/index.vue.mjs +7 -0
- package/es/components/graphical-hexagon/index.vue2.mjs +23 -0
- package/es/components/graphical-isosceles-triangle/index.d.ts +12 -0
- package/es/components/graphical-isosceles-triangle/index.mjs +7 -0
- package/es/components/graphical-isosceles-triangle/index.vue.d.ts +12 -0
- package/es/components/graphical-isosceles-triangle/index.vue.mjs +7 -0
- package/es/components/graphical-isosceles-triangle/index.vue2.mjs +23 -0
- package/es/components/graphical-pentagon/index.d.ts +12 -0
- package/es/components/graphical-pentagon/index.mjs +7 -0
- package/es/components/graphical-pentagon/index.vue.d.ts +12 -0
- package/es/components/graphical-pentagon/index.vue.mjs +7 -0
- package/es/components/graphical-pentagon/index.vue2.mjs +23 -0
- package/es/components/graphical-rect/index.d.ts +12 -0
- package/es/components/graphical-rect/index.mjs +7 -0
- package/es/components/graphical-rect/index.vue.d.ts +12 -0
- package/es/components/graphical-rect/index.vue.mjs +7 -0
- package/es/components/graphical-rect/index.vue2.mjs +26 -0
- package/es/components/graphical-right-triangle/index.d.ts +12 -0
- package/es/components/graphical-right-triangle/index.mjs +7 -0
- package/es/components/graphical-right-triangle/index.vue.d.ts +12 -0
- package/es/components/graphical-right-triangle/index.vue.mjs +7 -0
- package/es/components/graphical-right-triangle/index.vue2.mjs +23 -0
- package/es/components/index.d.ts +115 -0
- package/es/components/index.mjs +220 -0
- package/es/components/interaction-button/index.d.ts +19 -0
- package/es/components/interaction-button/index.mjs +7 -0
- package/es/components/interaction-button/index.vue.d.ts +19 -0
- package/es/components/interaction-button/index.vue.mjs +7 -0
- package/es/components/interaction-button/index.vue2.mjs +28 -0
- package/es/components/interaction-button-image/index.d.ts +22 -0
- package/es/components/interaction-button-image/index.mjs +7 -0
- package/es/components/interaction-button-image/index.vue.d.ts +22 -0
- package/es/components/interaction-button-image/index.vue.mjs +7 -0
- package/es/components/interaction-button-image/index.vue2.mjs +49 -0
- package/es/components/interaction-button-refresh/index.d.ts +24 -0
- package/es/components/interaction-button-refresh/index.mjs +7 -0
- package/es/components/interaction-button-refresh/index.vue.d.ts +24 -0
- package/es/components/interaction-button-refresh/index.vue.mjs +7 -0
- package/es/components/interaction-button-refresh/index.vue2.mjs +53 -0
- package/es/components/interaction-data-picker/index.d.ts +14 -0
- package/es/components/interaction-data-picker/index.mjs +7 -0
- package/es/components/interaction-data-picker/index.vue.d.ts +14 -0
- package/es/components/interaction-data-picker/index.vue.mjs +13 -0
- package/es/components/interaction-data-picker/index.vue2.mjs +4 -0
- package/es/components/interaction-input/index.d.ts +54 -0
- package/es/components/interaction-input/index.mjs +7 -0
- package/es/components/interaction-input/index.vue.d.ts +54 -0
- package/es/components/interaction-input/index.vue.mjs +7 -0
- package/es/components/interaction-input/index.vue2.mjs +62 -0
- package/es/components/interaction-radio/index.d.ts +14 -0
- package/es/components/interaction-radio/index.mjs +7 -0
- package/es/components/interaction-radio/index.vue.d.ts +14 -0
- package/es/components/interaction-radio/index.vue.mjs +13 -0
- package/es/components/interaction-radio/index.vue2.mjs +4 -0
- package/es/components/interaction-select/index.d.ts +19 -0
- package/es/components/interaction-select/index.mjs +7 -0
- package/es/components/interaction-select/index.vue.d.ts +19 -0
- package/es/components/interaction-select/index.vue.mjs +13 -0
- package/es/components/interaction-select/index.vue2.mjs +4 -0
- package/es/components/interaction-slider/index.d.ts +28 -0
- package/es/components/interaction-slider/index.mjs +7 -0
- package/es/components/interaction-slider/index.vue.d.ts +29 -0
- package/es/components/interaction-slider/index.vue.mjs +7 -0
- package/es/components/interaction-slider/index.vue2.mjs +64 -0
- package/es/components/interaction-switch/index.d.ts +37 -0
- package/es/components/interaction-switch/index.mjs +7 -0
- package/es/components/interaction-switch/index.vue.d.ts +37 -0
- package/es/components/interaction-switch/index.vue.mjs +7 -0
- package/es/components/interaction-switch/index.vue2.mjs +58 -0
- package/es/components/interaction-tabs/index.d.ts +60 -0
- package/es/components/interaction-tabs/index.mjs +7 -0
- package/es/components/interaction-tabs/index.vue.d.ts +60 -0
- package/es/components/interaction-tabs/index.vue.mjs +7 -0
- package/es/components/interaction-tabs/index.vue2.mjs +69 -0
- package/es/components/interaction-tabs2/index.d.ts +60 -0
- package/es/components/interaction-tabs2/index.mjs +7 -0
- package/es/components/interaction-tabs2/index.vue.d.ts +60 -0
- package/es/components/interaction-tabs2/index.vue.mjs +7 -0
- package/es/components/interaction-tabs2/index.vue2.mjs +69 -0
- package/es/components/map-earth-basic/index.d.ts +941 -0
- package/es/components/map-earth-basic/index.mjs +7 -0
- package/es/components/map-earth-basic/index.vue.d.ts +945 -0
- package/es/components/map-earth-basic/index.vue.mjs +147 -0
- package/es/components/map-earth-basic/index.vue2.mjs +4 -0
- package/es/components/map-earth-cool-tech/index.d.ts +941 -0
- package/es/components/map-earth-cool-tech/index.mjs +7 -0
- package/es/components/map-earth-cool-tech/index.vue.d.ts +943 -0
- package/es/components/map-earth-cool-tech/index.vue.mjs +147 -0
- package/es/components/map-earth-cool-tech/index.vue2.mjs +4 -0
- package/es/components/map-earth-fly-line/index.d.ts +941 -0
- package/es/components/map-earth-fly-line/index.mjs +7 -0
- package/es/components/map-earth-fly-line/index.vue.d.ts +941 -0
- package/es/components/map-earth-fly-line/index.vue.mjs +147 -0
- package/es/components/map-earth-fly-line/index.vue2.mjs +4 -0
- package/es/components/map-earth-hacker/index.d.ts +941 -0
- package/es/components/map-earth-hacker/index.mjs +7 -0
- package/es/components/map-earth-hacker/index.vue.d.ts +945 -0
- package/es/components/map-earth-hacker/index.vue.mjs +147 -0
- package/es/components/map-earth-hacker/index.vue2.mjs +4 -0
- package/es/components/map-earth-particle/index.d.ts +941 -0
- package/es/components/map-earth-particle/index.mjs +7 -0
- package/es/components/map-earth-particle/index.vue.d.ts +941 -0
- package/es/components/map-earth-particle/index.vue.mjs +147 -0
- package/es/components/map-earth-particle/index.vue2.mjs +4 -0
- package/es/components/media-audio/index.d.ts +43 -0
- package/es/components/media-audio/index.mjs +7 -0
- package/es/components/media-audio/index.vue.d.ts +43 -0
- package/es/components/media-audio/index.vue.mjs +7 -0
- package/es/components/media-audio/index.vue2.mjs +91 -0
- package/es/components/media-audio-dynamic/index.d.ts +67 -0
- package/es/components/media-audio-dynamic/index.mjs +7 -0
- package/es/components/media-audio-dynamic/index.vue.d.ts +67 -0
- package/es/components/media-audio-dynamic/index.vue.mjs +7 -0
- package/es/components/media-audio-dynamic/index.vue2.mjs +111 -0
- package/es/components/media-carousel/index.d.ts +15 -0
- package/es/components/media-carousel/index.mjs +7 -0
- package/es/components/media-carousel/index.vue.d.ts +15 -0
- package/es/components/media-carousel/index.vue.mjs +7 -0
- package/es/components/media-carousel/index.vue2.mjs +59 -0
- package/es/components/media-carousel-slides/index.d.ts +15 -0
- package/es/components/media-carousel-slides/index.mjs +7 -0
- package/es/components/media-carousel-slides/index.vue.d.ts +15 -0
- package/es/components/media-carousel-slides/index.vue.mjs +7 -0
- package/es/components/media-carousel-slides/index.vue2.mjs +59 -0
- package/es/components/media-flv/index.d.ts +54 -0
- package/es/components/media-flv/index.mjs +7 -0
- package/es/components/media-flv/index.vue.d.ts +54 -0
- package/es/components/media-flv/index.vue.mjs +87 -0
- package/es/components/media-flv/index.vue2.mjs +4 -0
- package/es/components/media-iframe/index.d.ts +34 -0
- package/es/components/media-iframe/index.mjs +7 -0
- package/es/components/media-iframe/index.vue.d.ts +34 -0
- package/es/components/media-iframe/index.vue.mjs +7 -0
- package/es/components/media-iframe/index.vue2.mjs +30 -0
- package/es/components/media-iframe-carousel/index.d.ts +14 -0
- package/es/components/media-iframe-carousel/index.mjs +7 -0
- package/es/components/media-iframe-carousel/index.vue.d.ts +14 -0
- package/es/components/media-iframe-carousel/index.vue.mjs +7 -0
- package/es/components/media-iframe-carousel/index.vue2.mjs +50 -0
- package/es/components/media-image/index.d.ts +14 -0
- package/es/components/media-image/index.mjs +7 -0
- package/es/components/media-image/index.vue.d.ts +14 -0
- package/es/components/media-image/index.vue.mjs +7 -0
- package/es/components/media-image/index.vue2.mjs +26 -0
- package/es/components/media-image-dynamic/index.d.ts +44 -0
- package/es/components/media-image-dynamic/index.mjs +7 -0
- package/es/components/media-image-dynamic/index.vue.d.ts +44 -0
- package/es/components/media-image-dynamic/index.vue.mjs +7 -0
- package/es/components/media-image-dynamic/index.vue2.mjs +51 -0
- package/es/components/media-m3u8/index.d.ts +54 -0
- package/es/components/media-m3u8/index.mjs +7 -0
- package/es/components/media-m3u8/index.vue.d.ts +54 -0
- package/es/components/media-m3u8/index.vue.mjs +85 -0
- package/es/components/media-m3u8/index.vue2.mjs +4 -0
- package/es/components/media-video/index.d.ts +50 -0
- package/es/components/media-video/index.mjs +7 -0
- package/es/components/media-video/index.vue.d.ts +50 -0
- package/es/components/media-video/index.vue.mjs +7 -0
- package/es/components/media-video/index.vue2.mjs +71 -0
- package/es/components/media-video-dynamic/index.d.ts +65 -0
- package/es/components/media-video-dynamic/index.mjs +7 -0
- package/es/components/media-video-dynamic/index.vue.d.ts +65 -0
- package/es/components/media-video-dynamic/index.vue.mjs +7 -0
- package/es/components/media-video-dynamic/index.vue2.mjs +95 -0
- package/es/components/media-wavesurfer/index.d.ts +26 -0
- package/es/components/media-wavesurfer/index.mjs +7 -0
- package/es/components/media-wavesurfer/index.vue.d.ts +26 -0
- package/es/components/media-wavesurfer/index.vue.mjs +7 -0
- package/es/components/media-wavesurfer/index.vue2.mjs +57 -0
- package/es/components/scene-amap2d/index.d.ts +66 -0
- package/es/components/scene-amap2d/index.mjs +7 -0
- package/es/components/scene-amap2d/index.vue.d.ts +66 -0
- package/es/components/scene-amap2d/index.vue.mjs +7 -0
- package/es/components/scene-amap2d/index.vue2.mjs +374 -0
- package/es/components/scene-amap3d/index.d.ts +67 -0
- package/es/components/scene-amap3d/index.mjs +7 -0
- package/es/components/scene-amap3d/index.vue.d.ts +67 -0
- package/es/components/scene-amap3d/index.vue.mjs +7 -0
- package/es/components/scene-amap3d/index.vue2.mjs +492 -0
- package/es/components/scene-map3d/index.d.ts +84 -0
- package/es/components/scene-map3d/index.mjs +7 -0
- package/es/components/scene-map3d/index.vue.d.ts +85 -0
- package/es/components/scene-map3d/index.vue.mjs +8 -0
- package/es/components/scene-map3d/index.vue2.mjs +282 -0
- package/es/components/scene-map3d/map3d/map/DiffuseShader.d.ts +28 -0
- package/es/components/scene-map3d/map3d/map/DiffuseShader.mjs +143 -0
- package/es/components/scene-map3d/map3d/map/Reflector.d.ts +10 -0
- package/es/components/scene-map3d/map3d/map/Reflector.mjs +135 -0
- package/es/components/scene-map3d/map3d/map/assets/texture/bg.png.mjs +4 -0
- package/es/components/scene-map3d/map3d/map/assets/texture/flyLine2.png.mjs +4 -0
- package/es/components/scene-map3d/map3d/map/assets/texture/gaoguang1.png.mjs +4 -0
- package/es/components/scene-map3d/map3d/map/assets/texture/guangquan01.png.mjs +4 -0
- package/es/components/scene-map3d/map3d/map/assets/texture/guangquan02.png.mjs +4 -0
- package/es/components/scene-map3d/map3d/map/assets/texture/huiguang.png.mjs +4 -0
- package/es/components/scene-map3d/map3d/map/assets.d.ts +8 -0
- package/es/components/scene-map3d/map3d/map/assets.mjs +52 -0
- package/es/components/scene-map3d/map3d/map/extrudeMap.d.ts +19 -0
- package/es/components/scene-map3d/map3d/map/extrudeMap.mjs +118 -0
- package/es/components/scene-map3d/map3d/map/utils.d.ts +17 -0
- package/es/components/scene-map3d/map3d/map/utils.mjs +76 -0
- package/es/components/scene-map3d/map3d/map.d.ts +152 -0
- package/es/components/scene-map3d/map3d/map.mjs +853 -0
- package/es/components/scene-map3d/map3d/module/Environment.d.ts +5 -0
- package/es/components/scene-map3d/map3d/module/Environment.mjs +65 -0
- package/es/components/scene-map3d/map3d/module/FloorGaoGuang.d.ts +1 -0
- package/es/components/scene-map3d/map3d/module/FloorGaoGuang.mjs +17 -0
- package/es/components/scene-map3d/map3d/module/FloorGridRipple.d.ts +1 -0
- package/es/components/scene-map3d/map3d/module/FloorGridRipple.mjs +36 -0
- package/es/components/scene-map3d/map3d/module/FloorRotateBorder.d.ts +1 -0
- package/es/components/scene-map3d/map3d/module/FloorRotateBorder.mjs +50 -0
- package/es/components/scene-map3d/map3d/module/MapMirror.d.ts +1 -0
- package/es/components/scene-map3d/map3d/module/MapMirror.mjs +81 -0
- package/es/components/scene-map3d/map3d/module/Particles.d.ts +1 -0
- package/es/components/scene-map3d/map3d/module/Particles.mjs +36 -0
- package/es/components/scene-map3d/map3d/module/Timeline.d.ts +1 -0
- package/es/components/scene-map3d/map3d/module/Timeline.mjs +83 -0
- package/es/components/scene-map3d/watch.d.ts +1 -0
- package/es/components/scene-map3d/watch.mjs +344 -0
- package/es/components/text-carousel/index.d.ts +25 -0
- package/es/components/text-carousel/index.mjs +7 -0
- package/es/components/text-carousel/index.vue.d.ts +25 -0
- package/es/components/text-carousel/index.vue.mjs +7 -0
- package/es/components/text-carousel/index.vue2.mjs +38 -0
- package/es/components/text-count-down/index.d.ts +2 -0
- package/es/components/text-count-down/index.mjs +7 -0
- package/es/components/text-count-down/index.vue.d.ts +43 -0
- package/es/components/text-count-down/index.vue.mjs +7 -0
- package/es/components/text-count-down/index.vue2.mjs +94 -0
- package/es/components/text-over-number/index.d.ts +2 -0
- package/es/components/text-over-number/index.mjs +7 -0
- package/es/components/text-over-number/index.vue.d.ts +255 -0
- package/es/components/text-over-number/index.vue.mjs +7 -0
- package/es/components/text-over-number/index.vue2.mjs +101 -0
- package/es/components/text-real-time/index.d.ts +2 -0
- package/es/components/text-real-time/index.mjs +7 -0
- package/es/components/text-real-time/index.vue.d.ts +41 -0
- package/es/components/text-real-time/index.vue.mjs +7 -0
- package/es/components/text-real-time/index.vue2.mjs +55 -0
- package/es/components/text-row-scroll/index.d.ts +58 -0
- package/es/components/text-row-scroll/index.mjs +7 -0
- package/es/components/text-row-scroll/index.vue.d.ts +58 -0
- package/es/components/text-row-scroll/index.vue.mjs +7 -0
- package/es/components/text-row-scroll/index.vue2.mjs +167 -0
- package/es/components/text-table-basic/index.d.ts +56 -0
- package/es/components/text-table-basic/index.mjs +7 -0
- package/es/components/text-table-basic/index.vue.d.ts +56 -0
- package/es/components/text-table-basic/index.vue.mjs +7 -0
- package/es/components/text-table-basic/index.vue2.mjs +152 -0
- package/es/components/text-table-scroll/index.d.ts +58 -0
- package/es/components/text-table-scroll/index.mjs +7 -0
- package/es/components/text-table-scroll/index.vue.d.ts +58 -0
- package/es/components/text-table-scroll/index.vue.mjs +7 -0
- package/es/components/text-table-scroll/index.vue2.mjs +167 -0
- package/es/components/text-text-basic/index.d.ts +17 -0
- package/es/components/text-text-basic/index.mjs +7 -0
- package/es/components/text-text-basic/index.vue.d.ts +17 -0
- package/es/components/text-text-basic/index.vue.mjs +7 -0
- package/es/components/text-text-basic/index.vue2.mjs +30 -0
- package/es/components/text-text-dynamic/index.d.ts +46 -0
- package/es/components/text-text-dynamic/index.mjs +7 -0
- package/es/components/text-text-dynamic/index.vue.d.ts +46 -0
- package/es/components/text-text-dynamic/index.vue.mjs +7 -0
- package/es/components/text-text-dynamic/index.vue2.mjs +57 -0
- package/es/components/text-title/index.d.ts +25 -0
- package/es/components/text-title/index.mjs +7 -0
- package/es/components/text-title/index.vue.d.ts +25 -0
- package/es/components/text-title/index.vue.mjs +7 -0
- package/es/components/text-title/index.vue2.mjs +36 -0
- package/es/core/earth/base64/Aperture.d.ts +1 -0
- package/es/core/earth/base64/Aperture.mjs +4 -0
- package/es/core/earth/base64/Callout.d.ts +1 -0
- package/es/core/earth/base64/Callout.mjs +4 -0
- package/es/core/earth/base64/CalloutAperture.d.ts +1 -0
- package/es/core/earth/base64/CalloutAperture.mjs +4 -0
- package/es/core/earth/base64/CloudCover.d.ts +1 -0
- package/es/core/earth/base64/CloudCover.mjs +4 -0
- package/es/core/earth/base64/LightColumn.d.ts +1 -0
- package/es/core/earth/base64/LightColumn.mjs +4 -0
- package/es/core/earth/base64/StarrySky.d.ts +1 -0
- package/es/core/earth/base64/StarrySky.mjs +4 -0
- package/es/core/earth/base64/rotation/innner.d.ts +1 -0
- package/es/core/earth/base64/rotation/innner.mjs +4 -0
- package/es/core/earth/base64/rotation/out.d.ts +1 -0
- package/es/core/earth/base64/rotation/out.mjs +4 -0
- package/es/core/earth/border.vue.d.ts +70 -0
- package/es/core/earth/border.vue.mjs +19 -0
- package/es/core/earth/border.vue2.mjs +4 -0
- package/es/core/earth/geojson/china-border.d.ts +22 -0
- package/es/core/earth/geojson/china-border.mjs +29305 -0
- package/es/core/earth/geojson/china.d.ts +84 -0
- package/es/core/earth/geojson/china.mjs +103022 -0
- package/es/core/earth/geojson/world.d.ts +25 -0
- package/es/core/earth/geojson/world.mjs +43220 -0
- package/es/core/earth/interface.d.ts +190 -0
- package/es/core/earth/main.d.ts +94 -0
- package/es/core/earth/main.mjs +504 -0
- package/es/core/earth/main.vue.d.ts +827 -0
- package/es/core/earth/main.vue.mjs +7 -0
- package/es/core/earth/main.vue2.mjs +290 -0
- package/es/core/earth/types.d.ts +108 -0
- package/es/core/earth/utils/GradientLine.d.ts +17 -0
- package/es/core/earth/utils/GradientLine.mjs +78 -0
- package/es/core/earth/utils/composer.d.ts +38 -0
- package/es/core/earth/utils/composer.mjs +40 -0
- package/es/core/earth/utils/controls/obt.d.ts +9 -0
- package/es/core/earth/utils/controls/obt.mjs +19 -0
- package/es/core/earth/utils/interface.d.ts +134 -0
- package/es/core/earth/utils/label.d.ts +4 -0
- package/es/core/earth/utils/label.mjs +15 -0
- package/es/core/earth/utils/line2.d.ts +3 -0
- package/es/core/earth/utils/line2.mjs +21 -0
- package/es/core/earth/utils/scene.d.ts +28 -0
- package/es/core/earth/utils/scene.mjs +120 -0
- package/es/core/useChart.d.ts +15 -0
- package/es/core/useChart.mjs +111 -0
- package/es/env.d.ts +55 -0
- package/es/index.d.ts +7 -0
- package/es/index.mjs +231 -0
- package/es/style.css +1 -0
- package/es/utils/babylon/ColorConvert.d.ts +3 -0
- package/es/utils/babylon/ColorConvert.mjs +21 -0
- package/es/utils/cloneSeries.d.ts +7 -0
- package/es/utils/cloneSeries.mjs +12 -0
- package/es/utils/hoverLoop.d.ts +10 -0
- package/es/utils/hoverLoop.mjs +43 -0
- package/es/utils/imgPreloader.d.ts +1 -0
- package/es/utils/imgPreloader.mjs +16 -0
- package/es/utils/install.d.ts +2 -0
- package/es/utils/install.mjs +7 -0
- package/es/utils/json2css.d.ts +3 -0
- package/es/utils/json2css.mjs +31 -0
- package/es/utils/mini3d/components/FlyLine.mjs +65 -0
- package/es/utils/mini3d/components/Label3d.mjs +70 -0
- package/es/utils/mini3d/components/Particles.mjs +78 -0
- package/es/utils/mini3d/components/PathLine.mjs +60 -0
- package/es/utils/mini3d/components/Plane.mjs +34 -0
- package/es/utils/mini3d/components/ToastLoading.mjs +26 -0
- package/es/utils/mini3d/core/Camera.mjs +26 -0
- package/es/utils/mini3d/core/Renderer.mjs +25 -0
- package/es/utils/mini3d/core/index.d.ts +7 -0
- package/es/utils/mini3d/core/index.mjs +71 -0
- package/es/utils/mini3d/utils/CreateHistory.mjs +32 -0
- package/es/utils/mini3d/utils/EventEmitter.mjs +28 -0
- package/es/utils/mini3d/utils/Resource.mjs +113 -0
- package/es/utils/mini3d/utils/Sizes.mjs +17 -0
- package/es/utils/mini3d/utils/Time.mjs +25 -0
- package/es/utils/mini3d/utils/utils.mjs +45 -0
- package/es/utils/parseDataset.d.ts +4 -0
- package/es/utils/parseDataset.mjs +19 -0
- package/es/utils/parseOtherData.d.ts +1 -0
- package/es/utils/parseOtherData.mjs +10 -0
- package/es/utils/shj/component-refs.d.ts +6 -0
- package/es/utils/shj/component-refs.mjs +10 -0
- package/es/utils/typescript.d.ts +5 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/components/chart-bar-basic/index.js +1 -0
- package/lib/components/chart-bar-basic/index.vue.js +1 -0
- package/lib/components/chart-bar-basic/index.vue2.js +1 -0
- package/lib/components/chart-bar-contrast/index.js +1 -0
- package/lib/components/chart-bar-contrast/index.vue.js +1 -0
- package/lib/components/chart-bar-contrast/index.vue2.js +1 -0
- package/lib/components/chart-bar-gradient-column-chart/index.js +1 -0
- package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -0
- package/lib/components/chart-bar-gradient-column-chart/index.vue2.js +1 -0
- package/lib/components/chart-bar-horizontal/index.js +1 -0
- package/lib/components/chart-bar-horizontal/index.vue.js +1 -0
- package/lib/components/chart-bar-horizontal/index.vue2.js +1 -0
- package/lib/components/chart-bar-line-bar/index.js +1 -0
- package/lib/components/chart-bar-line-bar/index.vue.js +1 -0
- package/lib/components/chart-bar-line-bar/index.vue2.js +1 -0
- package/lib/components/chart-bar-loop/index.js +1 -0
- package/lib/components/chart-bar-loop/index.vue.js +1 -0
- package/lib/components/chart-bar-loop/index.vue2.js +1 -0
- package/lib/components/chart-bar-mini/index.js +1 -0
- package/lib/components/chart-bar-mini/index.vue.js +1 -0
- package/lib/components/chart-bar-mini/index.vue2.js +1 -0
- package/lib/components/chart-bar-rank/index.js +1 -0
- package/lib/components/chart-bar-rank/index.vue.js +1 -0
- package/lib/components/chart-bar-rank/index.vue2.js +1 -0
- package/lib/components/chart-bar-segmented-progress/index.js +1 -0
- package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -0
- package/lib/components/chart-bar-segmented-progress/index.vue2.js +1 -0
- package/lib/components/chart-bar-spire/index.js +1 -0
- package/lib/components/chart-bar-spire/index.vue.js +1 -0
- package/lib/components/chart-bar-spire/index.vue2.js +1 -0
- package/lib/components/chart-bar-stack/index.js +1 -0
- package/lib/components/chart-bar-stack/index.vue.js +1 -0
- package/lib/components/chart-bar-stack/index.vue2.js +1 -0
- package/lib/components/chart-bar-stack-line/index.js +1 -0
- package/lib/components/chart-bar-stack-line/index.vue.js +1 -0
- package/lib/components/chart-bar-stack-line/index.vue2.js +1 -0
- package/lib/components/chart-bar-stack2/index.js +1 -0
- package/lib/components/chart-bar-stack2/index.vue.js +1 -0
- package/lib/components/chart-bar-stack2/index.vue2.js +1 -0
- package/lib/components/chart-bar-three/index.js +1 -0
- package/lib/components/chart-bar-three/index.vue.js +1 -0
- package/lib/components/chart-bar-three/index.vue2.js +1 -0
- package/lib/components/chart-bar-zebra/index.js +1 -0
- package/lib/components/chart-bar-zebra/index.vue.js +1 -0
- package/lib/components/chart-bar-zebra/index.vue2.js +1 -0
- package/lib/components/chart-line-basic/index.js +1 -0
- package/lib/components/chart-line-basic/index.vue.js +1 -0
- package/lib/components/chart-line-basic/index.vue2.js +1 -0
- package/lib/components/chart-line-dashed/index.js +1 -0
- package/lib/components/chart-line-dashed/index.vue.js +1 -0
- package/lib/components/chart-line-dashed/index.vue2.js +1 -0
- package/lib/components/chart-line-scale/index.js +1 -0
- package/lib/components/chart-line-scale/index.vue.js +1 -0
- package/lib/components/chart-line-scale/index.vue2.js +1 -0
- package/lib/components/chart-line-smooth/index.js +1 -0
- package/lib/components/chart-line-smooth/index.vue.js +1 -0
- package/lib/components/chart-line-smooth/index.vue2.js +1 -0
- package/lib/components/chart-line-smooth-area/index.js +1 -0
- package/lib/components/chart-line-smooth-area/index.vue.js +1 -0
- package/lib/components/chart-line-smooth-area/index.vue2.js +1 -0
- package/lib/components/chart-map-basic/index.js +1 -0
- package/lib/components/chart-map-basic/index.vue.js +1 -0
- package/lib/components/chart-map-basic/index.vue2.js +1 -0
- package/lib/components/chart-map-bmap-basic/index.js +1 -0
- package/lib/components/chart-map-bmap-basic/index.vue.js +1 -0
- package/lib/components/chart-map-bmap-basic/index.vue2.js +1 -0
- package/lib/components/chart-map-bmap-heatmap/index.js +1 -0
- package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -0
- package/lib/components/chart-map-bmap-heatmap/index.vue2.js +1 -0
- package/lib/components/chart-map-bmap-rich/index.js +1 -0
- package/lib/components/chart-map-bmap-rich/index.vue.js +1 -0
- package/lib/components/chart-map-bmap-rich/index.vue2.js +1 -0
- package/lib/components/chart-map-customize/index.js +1 -0
- package/lib/components/chart-map-customize/index.vue.js +1 -0
- package/lib/components/chart-map-customize/index.vue2.js +1 -0
- package/lib/components/chart-map-lines/index.js +1 -0
- package/lib/components/chart-map-lines/index.vue.js +1 -0
- package/lib/components/chart-map-lines/index.vue2.js +1 -0
- package/lib/components/chart-map-scatter/index.js +1 -0
- package/lib/components/chart-map-scatter/index.vue.js +1 -0
- package/lib/components/chart-map-scatter/index.vue2.js +1 -0
- package/lib/components/chart-other-circular-graph/index.js +1 -0
- package/lib/components/chart-other-circular-graph/index.vue.js +1 -0
- package/lib/components/chart-other-circular-graph/index.vue2.js +1 -0
- package/lib/components/chart-other-force/index.js +1 -0
- package/lib/components/chart-other-force/index.vue.js +1 -0
- package/lib/components/chart-other-force/index.vue2.js +1 -0
- package/lib/components/chart-other-funnel/index.js +1 -0
- package/lib/components/chart-other-funnel/index.vue.js +1 -0
- package/lib/components/chart-other-funnel/index.vue2.js +1 -0
- package/lib/components/chart-other-funnel2/index.js +1 -0
- package/lib/components/chart-other-funnel2/index.vue.js +1 -0
- package/lib/components/chart-other-funnel2/index.vue2.js +1 -0
- package/lib/components/chart-other-gauge/index.js +1 -0
- package/lib/components/chart-other-gauge/index.vue.js +1 -0
- package/lib/components/chart-other-gauge/index.vue2.js +1 -0
- package/lib/components/chart-other-grid-percentage/index.js +1 -0
- package/lib/components/chart-other-grid-percentage/index.vue.js +1 -0
- package/lib/components/chart-other-grid-percentage/index.vue2.js +1 -0
- package/lib/components/chart-other-label-gauge/index.js +1 -0
- package/lib/components/chart-other-label-gauge/index.vue.js +1 -0
- package/lib/components/chart-other-label-gauge/index.vue2.js +1 -0
- package/lib/components/chart-other-liquidfill/index.js +1 -0
- package/lib/components/chart-other-liquidfill/index.vue.js +1 -0
- package/lib/components/chart-other-liquidfill/index.vue2.js +1 -0
- package/lib/components/chart-other-radar/index.js +1 -0
- package/lib/components/chart-other-radar/index.vue.js +1 -0
- package/lib/components/chart-other-radar/index.vue2.js +1 -0
- package/lib/components/chart-other-radar-stack/index.js +1 -0
- package/lib/components/chart-other-radar-stack/index.vue.js +1 -0
- package/lib/components/chart-other-radar-stack/index.vue2.js +1 -0
- package/lib/components/chart-other-theme-river/index.js +1 -0
- package/lib/components/chart-other-theme-river/index.vue.js +1 -0
- package/lib/components/chart-other-theme-river/index.vue2.js +1 -0
- package/lib/components/chart-other-tree/index.js +1 -0
- package/lib/components/chart-other-tree/index.vue.js +1 -0
- package/lib/components/chart-other-tree/index.vue2.js +1 -0
- package/lib/components/chart-other-treemap/index.js +1 -0
- package/lib/components/chart-other-treemap/index.vue.js +1 -0
- package/lib/components/chart-other-treemap/index.vue2.js +1 -0
- package/lib/components/chart-other-word-cloud/index.js +1 -0
- package/lib/components/chart-other-word-cloud/index.vue.js +1 -0
- package/lib/components/chart-other-word-cloud/index.vue2.js +1 -0
- package/lib/components/chart-pie-basic/index.js +1 -0
- package/lib/components/chart-pie-basic/index.vue.js +1 -0
- package/lib/components/chart-pie-basic/index.vue2.js +1 -0
- package/lib/components/chart-pie-index/index.js +1 -0
- package/lib/components/chart-pie-index/index.vue.js +1 -0
- package/lib/components/chart-pie-index/index.vue2.js +1 -0
- package/lib/components/chart-pie-rose/index.js +1 -0
- package/lib/components/chart-pie-rose/index.vue.js +1 -0
- package/lib/components/chart-pie-rose/index.vue2.js +1 -0
- package/lib/components/chart-pie-round/index.js +1 -0
- package/lib/components/chart-pie-round/index.vue.js +1 -0
- package/lib/components/chart-pie-round/index.vue2.js +1 -0
- package/lib/components/chart-pie-semicircle/index.js +1 -0
- package/lib/components/chart-pie-semicircle/index.vue.js +1 -0
- package/lib/components/chart-pie-semicircle/index.vue2.js +1 -0
- package/lib/components/chart-pie-sunburst/index.js +1 -0
- package/lib/components/chart-pie-sunburst/index.vue.js +1 -0
- package/lib/components/chart-pie-sunburst/index.vue2.js +1 -0
- package/lib/components/chart-scatter-basic/index.js +1 -0
- package/lib/components/chart-scatter-basic/index.vue.js +1 -0
- package/lib/components/chart-scatter-basic/index.vue2.js +1 -0
- package/lib/components/chart-scatter-basic2/index.js +1 -0
- package/lib/components/chart-scatter-basic2/index.vue.js +1 -0
- package/lib/components/chart-scatter-basic2/index.vue2.js +1 -0
- package/lib/components/commons-babylon/compileAndRunBabylon.js +40 -0
- package/lib/components/commons-babylon/index.js +1 -0
- package/lib/components/commons-babylon/index.vue.js +1 -0
- package/lib/components/commons-babylon/index.vue2.js +1 -0
- package/lib/components/commons-echarts/compileAndRunEcharts.js +33 -0
- package/lib/components/commons-echarts/index.js +1 -0
- package/lib/components/commons-echarts/index.vue.js +1 -0
- package/lib/components/commons-echarts/index.vue2.js +1 -0
- package/lib/components/commons-gaussian-splatting-view/index.js +1 -0
- package/lib/components/commons-gaussian-splatting-view/index.vue.js +1 -0
- package/lib/components/commons-gaussian-splatting-view/index.vue2.js +1 -0
- package/lib/components/commons-product-model/index.js +1 -0
- package/lib/components/commons-product-model/index.vue.js +1 -0
- package/lib/components/commons-product-model/index.vue2.js +1 -0
- package/lib/components/commons-qrcode/index.js +1 -0
- package/lib/components/commons-qrcode/index.vue.js +1 -0
- package/lib/components/commons-qrcode/index.vue2.js +1 -0
- package/lib/components/commons-svg/index.js +1 -0
- package/lib/components/commons-svg/index.vue.js +1 -0
- package/lib/components/commons-svg/index.vue2.js +1 -0
- package/lib/components/commons-three-loader/index.js +1 -0
- package/lib/components/commons-three-loader/index.vue.js +1 -0
- package/lib/components/commons-three-loader/index.vue2.js +1 -0
- package/lib/components/commons-three-loader3/index.js +1 -0
- package/lib/components/commons-three-loader3/index.vue.js +1 -0
- package/lib/components/commons-three-loader3/index.vue2.js +1 -0
- package/lib/components/commons-vr-photo/index.js +1 -0
- package/lib/components/commons-vr-photo/index.vue.js +1 -0
- package/lib/components/commons-vr-photo/index.vue2.js +1 -0
- package/lib/components/commons-vr-video/index.js +1 -0
- package/lib/components/commons-vr-video/index.vue.js +1 -0
- package/lib/components/commons-vr-video/index.vue2.js +1 -0
- package/lib/components/commons-weather/index.js +1 -0
- package/lib/components/commons-weather/index.vue.js +1 -0
- package/lib/components/commons-weather/index.vue2.js +1 -0
- package/lib/components/graphical-circle/index.js +1 -0
- package/lib/components/graphical-circle/index.vue.js +1 -0
- package/lib/components/graphical-circle/index.vue2.js +1 -0
- package/lib/components/graphical-diamond/index.js +1 -0
- package/lib/components/graphical-diamond/index.vue.js +1 -0
- package/lib/components/graphical-diamond/index.vue2.js +1 -0
- package/lib/components/graphical-hexagon/index.js +1 -0
- package/lib/components/graphical-hexagon/index.vue.js +1 -0
- package/lib/components/graphical-hexagon/index.vue2.js +1 -0
- package/lib/components/graphical-isosceles-triangle/index.js +1 -0
- package/lib/components/graphical-isosceles-triangle/index.vue.js +1 -0
- package/lib/components/graphical-isosceles-triangle/index.vue2.js +1 -0
- package/lib/components/graphical-pentagon/index.js +1 -0
- package/lib/components/graphical-pentagon/index.vue.js +1 -0
- package/lib/components/graphical-pentagon/index.vue2.js +1 -0
- package/lib/components/graphical-rect/index.js +1 -0
- package/lib/components/graphical-rect/index.vue.js +1 -0
- package/lib/components/graphical-rect/index.vue2.js +1 -0
- package/lib/components/graphical-right-triangle/index.js +1 -0
- package/lib/components/graphical-right-triangle/index.vue.js +1 -0
- package/lib/components/graphical-right-triangle/index.vue2.js +1 -0
- package/lib/components/index.js +1 -0
- package/lib/components/interaction-button/index.js +1 -0
- package/lib/components/interaction-button/index.vue.js +1 -0
- package/lib/components/interaction-button/index.vue2.js +1 -0
- package/lib/components/interaction-button-image/index.js +1 -0
- package/lib/components/interaction-button-image/index.vue.js +1 -0
- package/lib/components/interaction-button-image/index.vue2.js +1 -0
- package/lib/components/interaction-button-refresh/index.js +1 -0
- package/lib/components/interaction-button-refresh/index.vue.js +1 -0
- package/lib/components/interaction-button-refresh/index.vue2.js +1 -0
- package/lib/components/interaction-data-picker/index.js +1 -0
- package/lib/components/interaction-data-picker/index.vue.js +1 -0
- package/lib/components/interaction-data-picker/index.vue2.js +1 -0
- package/lib/components/interaction-input/index.js +1 -0
- package/lib/components/interaction-input/index.vue.js +1 -0
- package/lib/components/interaction-input/index.vue2.js +1 -0
- package/lib/components/interaction-radio/index.js +1 -0
- package/lib/components/interaction-radio/index.vue.js +1 -0
- package/lib/components/interaction-radio/index.vue2.js +1 -0
- package/lib/components/interaction-select/index.js +1 -0
- package/lib/components/interaction-select/index.vue.js +1 -0
- package/lib/components/interaction-select/index.vue2.js +1 -0
- package/lib/components/interaction-slider/index.js +1 -0
- package/lib/components/interaction-slider/index.vue.js +1 -0
- package/lib/components/interaction-slider/index.vue2.js +1 -0
- package/lib/components/interaction-switch/index.js +1 -0
- package/lib/components/interaction-switch/index.vue.js +1 -0
- package/lib/components/interaction-switch/index.vue2.js +1 -0
- package/lib/components/interaction-tabs/index.js +1 -0
- package/lib/components/interaction-tabs/index.vue.js +1 -0
- package/lib/components/interaction-tabs/index.vue2.js +1 -0
- package/lib/components/interaction-tabs2/index.js +1 -0
- package/lib/components/interaction-tabs2/index.vue.js +1 -0
- package/lib/components/interaction-tabs2/index.vue2.js +1 -0
- package/lib/components/map-earth-basic/index.js +1 -0
- package/lib/components/map-earth-basic/index.vue.js +1 -0
- package/lib/components/map-earth-basic/index.vue2.js +1 -0
- package/lib/components/map-earth-cool-tech/index.js +1 -0
- package/lib/components/map-earth-cool-tech/index.vue.js +1 -0
- package/lib/components/map-earth-cool-tech/index.vue2.js +1 -0
- package/lib/components/map-earth-fly-line/index.js +1 -0
- package/lib/components/map-earth-fly-line/index.vue.js +1 -0
- package/lib/components/map-earth-fly-line/index.vue2.js +1 -0
- package/lib/components/map-earth-hacker/index.js +1 -0
- package/lib/components/map-earth-hacker/index.vue.js +1 -0
- package/lib/components/map-earth-hacker/index.vue2.js +1 -0
- package/lib/components/map-earth-particle/index.js +1 -0
- package/lib/components/map-earth-particle/index.vue.js +1 -0
- package/lib/components/map-earth-particle/index.vue2.js +1 -0
- package/lib/components/media-audio/index.js +1 -0
- package/lib/components/media-audio/index.vue.js +1 -0
- package/lib/components/media-audio/index.vue2.js +1 -0
- package/lib/components/media-audio-dynamic/index.js +1 -0
- package/lib/components/media-audio-dynamic/index.vue.js +1 -0
- package/lib/components/media-audio-dynamic/index.vue2.js +1 -0
- package/lib/components/media-carousel/index.js +1 -0
- package/lib/components/media-carousel/index.vue.js +1 -0
- package/lib/components/media-carousel/index.vue2.js +1 -0
- package/lib/components/media-carousel-slides/index.js +1 -0
- package/lib/components/media-carousel-slides/index.vue.js +1 -0
- package/lib/components/media-carousel-slides/index.vue2.js +1 -0
- package/lib/components/media-flv/index.js +1 -0
- package/lib/components/media-flv/index.vue.js +1 -0
- package/lib/components/media-flv/index.vue2.js +1 -0
- package/lib/components/media-iframe/index.js +1 -0
- package/lib/components/media-iframe/index.vue.js +1 -0
- package/lib/components/media-iframe/index.vue2.js +1 -0
- package/lib/components/media-iframe-carousel/index.js +1 -0
- package/lib/components/media-iframe-carousel/index.vue.js +1 -0
- package/lib/components/media-iframe-carousel/index.vue2.js +1 -0
- package/lib/components/media-image/index.js +1 -0
- package/lib/components/media-image/index.vue.js +1 -0
- package/lib/components/media-image/index.vue2.js +1 -0
- package/lib/components/media-image-dynamic/index.js +1 -0
- package/lib/components/media-image-dynamic/index.vue.js +1 -0
- package/lib/components/media-image-dynamic/index.vue2.js +1 -0
- package/lib/components/media-m3u8/index.js +1 -0
- package/lib/components/media-m3u8/index.vue.js +1 -0
- package/lib/components/media-m3u8/index.vue2.js +1 -0
- package/lib/components/media-video/index.js +1 -0
- package/lib/components/media-video/index.vue.js +1 -0
- package/lib/components/media-video/index.vue2.js +1 -0
- package/lib/components/media-video-dynamic/index.js +1 -0
- package/lib/components/media-video-dynamic/index.vue.js +1 -0
- package/lib/components/media-video-dynamic/index.vue2.js +1 -0
- package/lib/components/media-wavesurfer/index.js +1 -0
- package/lib/components/media-wavesurfer/index.vue.js +1 -0
- package/lib/components/media-wavesurfer/index.vue2.js +1 -0
- package/lib/components/scene-amap2d/index.js +1 -0
- package/lib/components/scene-amap2d/index.vue.js +1 -0
- package/lib/components/scene-amap2d/index.vue2.js +1 -0
- package/lib/components/scene-amap3d/index.js +1 -0
- package/lib/components/scene-amap3d/index.vue.js +1 -0
- package/lib/components/scene-amap3d/index.vue2.js +25 -0
- package/lib/components/scene-map3d/index.js +1 -0
- package/lib/components/scene-map3d/index.vue.js +1 -0
- package/lib/components/scene-map3d/index.vue2.js +1 -0
- package/lib/components/scene-map3d/map3d/map/DiffuseShader.js +57 -0
- package/lib/components/scene-map3d/map3d/map/Reflector.js +45 -0
- package/lib/components/scene-map3d/map3d/map/assets/texture/bg.png.js +1 -0
- package/lib/components/scene-map3d/map3d/map/assets/texture/flyLine2.png.js +1 -0
- package/lib/components/scene-map3d/map3d/map/assets/texture/gaoguang1.png.js +1 -0
- package/lib/components/scene-map3d/map3d/map/assets/texture/guangquan01.png.js +1 -0
- package/lib/components/scene-map3d/map3d/map/assets/texture/guangquan02.png.js +1 -0
- package/lib/components/scene-map3d/map3d/map/assets/texture/huiguang.png.js +1 -0
- package/lib/components/scene-map3d/map3d/map/assets.js +1 -0
- package/lib/components/scene-map3d/map3d/map/extrudeMap.js +1 -0
- package/lib/components/scene-map3d/map3d/map/utils.js +1 -0
- package/lib/components/scene-map3d/map3d/map.js +9 -0
- package/lib/components/scene-map3d/map3d/module/Environment.js +1 -0
- package/lib/components/scene-map3d/map3d/module/FloorGaoGuang.js +1 -0
- package/lib/components/scene-map3d/map3d/module/FloorGridRipple.js +1 -0
- package/lib/components/scene-map3d/map3d/module/FloorRotateBorder.js +1 -0
- package/lib/components/scene-map3d/map3d/module/MapMirror.js +45 -0
- package/lib/components/scene-map3d/map3d/module/Particles.js +1 -0
- package/lib/components/scene-map3d/map3d/module/Timeline.js +1 -0
- package/lib/components/scene-map3d/watch.js +1 -0
- package/lib/components/text-carousel/index.js +1 -0
- package/lib/components/text-carousel/index.vue.js +1 -0
- package/lib/components/text-carousel/index.vue2.js +1 -0
- package/lib/components/text-count-down/index.js +1 -0
- package/lib/components/text-count-down/index.vue.js +1 -0
- package/lib/components/text-count-down/index.vue2.js +1 -0
- package/lib/components/text-over-number/index.js +1 -0
- package/lib/components/text-over-number/index.vue.js +1 -0
- package/lib/components/text-over-number/index.vue2.js +1 -0
- package/lib/components/text-real-time/index.js +1 -0
- package/lib/components/text-real-time/index.vue.js +1 -0
- package/lib/components/text-real-time/index.vue2.js +1 -0
- package/lib/components/text-row-scroll/index.js +1 -0
- package/lib/components/text-row-scroll/index.vue.js +1 -0
- package/lib/components/text-row-scroll/index.vue2.js +1 -0
- package/lib/components/text-table-basic/index.js +1 -0
- package/lib/components/text-table-basic/index.vue.js +1 -0
- package/lib/components/text-table-basic/index.vue2.js +1 -0
- package/lib/components/text-table-scroll/index.js +1 -0
- package/lib/components/text-table-scroll/index.vue.js +1 -0
- package/lib/components/text-table-scroll/index.vue2.js +1 -0
- package/lib/components/text-text-basic/index.js +1 -0
- package/lib/components/text-text-basic/index.vue.js +1 -0
- package/lib/components/text-text-basic/index.vue2.js +1 -0
- package/lib/components/text-text-dynamic/index.js +1 -0
- package/lib/components/text-text-dynamic/index.vue.js +1 -0
- package/lib/components/text-text-dynamic/index.vue2.js +1 -0
- package/lib/components/text-title/index.js +1 -0
- package/lib/components/text-title/index.vue.js +1 -0
- package/lib/components/text-title/index.vue2.js +1 -0
- package/lib/core/earth/base64/Aperture.js +1 -0
- package/lib/core/earth/base64/Callout.js +1 -0
- package/lib/core/earth/base64/CalloutAperture.js +1 -0
- package/lib/core/earth/base64/CloudCover.js +1 -0
- package/lib/core/earth/base64/LightColumn.js +1 -0
- package/lib/core/earth/base64/StarrySky.js +1 -0
- package/lib/core/earth/base64/rotation/innner.js +1 -0
- package/lib/core/earth/base64/rotation/out.js +1 -0
- package/lib/core/earth/border.vue.js +1 -0
- package/lib/core/earth/border.vue2.js +1 -0
- package/lib/core/earth/geojson/china-border.js +1 -0
- package/lib/core/earth/geojson/china.js +1 -0
- package/lib/core/earth/geojson/world.js +1 -0
- package/lib/core/earth/main.js +32 -0
- package/lib/core/earth/main.vue.js +1 -0
- package/lib/core/earth/main.vue2.js +1 -0
- package/lib/core/earth/utils/GradientLine.js +1 -0
- package/lib/core/earth/utils/composer.js +1 -0
- package/lib/core/earth/utils/controls/obt.js +1 -0
- package/lib/core/earth/utils/label.js +1 -0
- package/lib/core/earth/utils/line2.js +1 -0
- package/lib/core/earth/utils/scene.js +1 -0
- package/lib/core/useChart.js +1 -0
- package/lib/index.js +1 -0
- package/lib/style.css +1 -0
- package/lib/utils/babylon/ColorConvert.js +1 -0
- package/lib/utils/cloneSeries.js +1 -0
- package/lib/utils/hoverLoop.js +1 -0
- package/lib/utils/imgPreloader.js +1 -0
- package/lib/utils/install.js +1 -0
- package/lib/utils/json2css.js +1 -0
- package/lib/utils/mini3d/components/FlyLine.js +1 -0
- package/lib/utils/mini3d/components/Label3d.js +1 -0
- package/lib/utils/mini3d/components/Particles.js +1 -0
- package/lib/utils/mini3d/components/PathLine.js +1 -0
- package/lib/utils/mini3d/components/Plane.js +1 -0
- package/lib/utils/mini3d/components/ToastLoading.js +5 -0
- package/lib/utils/mini3d/core/Camera.js +1 -0
- package/lib/utils/mini3d/core/Renderer.js +1 -0
- package/lib/utils/mini3d/core/index.js +1 -0
- package/lib/utils/mini3d/utils/CreateHistory.js +1 -0
- package/lib/utils/mini3d/utils/EventEmitter.js +1 -0
- package/lib/utils/mini3d/utils/Resource.js +1 -0
- package/lib/utils/mini3d/utils/Sizes.js +1 -0
- package/lib/utils/mini3d/utils/Time.js +1 -0
- package/lib/utils/mini3d/utils/utils.js +1 -0
- package/lib/utils/parseDataset.js +1 -0
- package/lib/utils/parseOtherData.js +1 -0
- package/lib/utils/shj/component-refs.js +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,853 @@
|
|
|
1
|
+
var W = Object.defineProperty;
|
|
2
|
+
var U = (A, B, e) => B in A ? W(A, B, { enumerable: !0, configurable: !0, writable: !0, value: e }) : A[B] = e;
|
|
3
|
+
var l = (A, B, e) => U(A, typeof B != "symbol" ? B + "" : B, e);
|
|
4
|
+
import { BufferGeometry as $, Mesh as S, Sprite as X, Color as M, AxesHelper as Y, Raycaster as q, Vector2 as H, Group as L, PlaneGeometry as z, TextureLoader as R, MeshBasicMaterial as v, AdditiveBlending as D, DoubleSide as C, RepeatWrapping as T, Vector3 as j, MeshStandardMaterial as O, BoxGeometry as _, NearestFilter as V, Shape as J, ShapeGeometry as Z, LineBasicMaterial as K, Box3Helper as ee } from "three";
|
|
5
|
+
import { computeBoundsTree as te, disposeBoundsTree as ae, acceleratedRaycast as E } from "three-mesh-bvh";
|
|
6
|
+
import { pinyin as ie } from "pinyin-pro";
|
|
7
|
+
import { Mini3d as se } from "../../../utils/mini3d/core/index.mjs";
|
|
8
|
+
import "three/examples/jsm/loaders/GLTFLoader";
|
|
9
|
+
import "three/examples/jsm/loaders/DRACOLoader.js";
|
|
10
|
+
import { getBoundBox as N, transfromMapGeoJSON as re } from "../../../utils/mini3d/utils/utils.mjs";
|
|
11
|
+
import "three/examples/jsm/libs/lil-gui.module.min";
|
|
12
|
+
import "three/examples/jsm/utils/BufferGeometryUtils";
|
|
13
|
+
import { Label3d as oe } from "../../../utils/mini3d/components/Label3d.mjs";
|
|
14
|
+
import { FlyLine as le } from "../../../utils/mini3d/components/FlyLine.mjs";
|
|
15
|
+
import { ToastLoading as ne } from "../../../utils/mini3d/components/ToastLoading.mjs";
|
|
16
|
+
import { PathLine as ce } from "../../../utils/mini3d/components/PathLine.mjs";
|
|
17
|
+
import { Assets as he } from "./map/assets.mjs";
|
|
18
|
+
import { ExtrudeMap as pe } from "./map/extrudeMap.mjs";
|
|
19
|
+
import m from "gsap";
|
|
20
|
+
import { isEmpty as Q, isArray as F, isNumber as ue, cloneDeep as de } from "lodash";
|
|
21
|
+
import { autoInstallFont as k } from "../../../utils/json2css.mjs";
|
|
22
|
+
import { createFloorGaoGuang as me } from "./module/FloorGaoGuang.mjs";
|
|
23
|
+
import { createFloorRotateBorder as fe } from "./module/FloorRotateBorder.mjs";
|
|
24
|
+
import { createFloorGridRipple as be } from "./module/FloorGridRipple.mjs";
|
|
25
|
+
import { createMirror as ye } from "./module/MapMirror.mjs";
|
|
26
|
+
import { createTimeLine as ge } from "./module/Timeline.mjs";
|
|
27
|
+
import { createParticles as Me } from "./module/Particles.mjs";
|
|
28
|
+
import { getMapDataByAdcode as Le, getMapDataByUrl as Ge, getTextureResource as I, getMapDataByAdcode2 as xe, setScaleArea as we, calcUv2 as Be } from "./map/utils.mjs";
|
|
29
|
+
import { createEnvironment as ve } from "./module/Environment.mjs";
|
|
30
|
+
$.prototype.computeBoundsTree = te;
|
|
31
|
+
$.prototype.disposeBoundsTree = ae;
|
|
32
|
+
S.prototype.raycast = E;
|
|
33
|
+
X.prototype.raycast = E;
|
|
34
|
+
class Ke extends se {
|
|
35
|
+
constructor(e, t, a, r) {
|
|
36
|
+
super(e, t, a);
|
|
37
|
+
l(this, "pointCenter");
|
|
38
|
+
l(this, "depth");
|
|
39
|
+
l(this, "toastLoading");
|
|
40
|
+
l(this, "sceneGroup");
|
|
41
|
+
l(this, "assets");
|
|
42
|
+
l(this, "mainSceneGroup");
|
|
43
|
+
l(this, "childSceneGroup");
|
|
44
|
+
l(this, "allAreaLabel");
|
|
45
|
+
l(this, "areaLabelGroup");
|
|
46
|
+
l(this, "label3d");
|
|
47
|
+
l(this, "rotateBorder1");
|
|
48
|
+
l(this, "rotateBorder2");
|
|
49
|
+
l(this, "mapBoxHelper");
|
|
50
|
+
l(this, "quan");
|
|
51
|
+
l(this, "areaMapGroup");
|
|
52
|
+
l(this, "provinceMesh");
|
|
53
|
+
l(this, "provinceLineMaterial");
|
|
54
|
+
l(this, "areaMapTopMaterial");
|
|
55
|
+
l(this, "areaMapSideMaterial");
|
|
56
|
+
l(this, "childMap");
|
|
57
|
+
l(this, "groundMirror");
|
|
58
|
+
l(this, "particles");
|
|
59
|
+
l(this, "barGroup");
|
|
60
|
+
l(this, "barGuangQuanGroup");
|
|
61
|
+
l(this, "allBar");
|
|
62
|
+
l(this, "allBarMaterial");
|
|
63
|
+
l(this, "allBarGuangquan");
|
|
64
|
+
l(this, "allBarLabel");
|
|
65
|
+
l(this, "allScatterLabel");
|
|
66
|
+
l(this, "barLabelGroup");
|
|
67
|
+
l(this, "scatterLabelGroup");
|
|
68
|
+
l(this, "pathLine");
|
|
69
|
+
l(this, "pathLineTexture");
|
|
70
|
+
l(this, "gaoguangMesh");
|
|
71
|
+
l(this, "gridRippleGroup");
|
|
72
|
+
l(this, "diffuseShader");
|
|
73
|
+
l(this, "scale", 1);
|
|
74
|
+
l(this, "datasource", {});
|
|
75
|
+
l(this, "flyLineGroup");
|
|
76
|
+
l(this, "allFlyLine");
|
|
77
|
+
l(this, "hoverAreaMap");
|
|
78
|
+
l(this, "raycasterMousemove");
|
|
79
|
+
l(this, "clientRect");
|
|
80
|
+
l(this, "mouse");
|
|
81
|
+
l(this, "isMousedown");
|
|
82
|
+
l(this, "isMapAnimationSuccess");
|
|
83
|
+
l(this, "mapBackgroundImgMesh");
|
|
84
|
+
l(this, "mapBackgroundImgMaterial");
|
|
85
|
+
l(this, "mapJsonData");
|
|
86
|
+
l(this, "allRegionalLevel");
|
|
87
|
+
l(this, "axesHelper");
|
|
88
|
+
this.option = a, this.onCallBack = r, this.pointCenter = t.geoProjectionCenter, this.depth = this.option.map.depth, this.scene.background = new M(this.option.scene.background || "#000000"), this.camera.instance.position.set(
|
|
89
|
+
this.option.camera.position.x + (a.scene.translateX || 0),
|
|
90
|
+
this.option.camera.position.y + (a.scene.translateY || 0) + 200,
|
|
91
|
+
this.option.camera.position.z + (a.scene.translateZ || 0)
|
|
92
|
+
), this.camera.instance.near = 1, this.camera.instance.far = 1e4, this.camera.instance.updateProjectionMatrix(), this.option.camera.target && this.camera.controls.target.set(
|
|
93
|
+
this.option.camera.target[0] + (a.scene.translateX || 0),
|
|
94
|
+
this.option.camera.target[1] + (a.scene.translateY || 0),
|
|
95
|
+
this.option.camera.target[2] + (a.scene.translateZ || 0)
|
|
96
|
+
), this.hoverAreaMap = null, this.clickMapObj = null, this.axesHelper = new Y(100), this.axesHelper.visible = this.option.debugger, this.scene.add(this.axesHelper), this.raycasterMousemove = new q(), this.clientRect = this.renderer.instance.domElement.getBoundingClientRect(), this.mouse = new H(), this.isMousedown = !1, this.isMapAnimationSuccess = !1, ve(this, this.option.light, this.option.debugger), this.toastLoading = new ne(), this.assets = new he(() => {
|
|
97
|
+
this.mapBoxHelper = null, this.sceneGroup = new L(), this.mainSceneGroup = new L(), this.childSceneGroup = new L(), this.mapTitleLabel = null, this.mapTitleLableGroup = new L(), this.areaMapGroup = new L(), this.allAreaLabel = [], this.areaLabelGroup = new L(), this.allBar = [], this.allBarLabel = [], this.allBarMaterial = [], this.allBarGuangquan = [], this.barGroup = new L(), this.barLabelGroup = new L(), this.barGuangQuanGroup = new L(), this.allScatterLabel = [], this.scatterLabelGroup = new L(), this.flyLineGroup = new L(), this.flyLineLabelGroup = new L(), this.allFlyLine = [], this.allFlyLineLabel = [], this.allRegionalLevel = [], this.label3d = new oe(this), this.mainSceneGroup.rotateX(-Math.PI / 2), this.mainSceneGroup.add(this.areaLabelGroup, this.areaMapGroup, this.mapTitleLableGroup), this.sceneGroup.add(this.mainSceneGroup, this.childSceneGroup), this.scene.add(this.sceneGroup), this.createAreaMapModel(() => {
|
|
98
|
+
this.createAreaMapStorke(this.option.map.storkeAnimation, !0).then(() => {
|
|
99
|
+
this.time.on("tick", (i) => {
|
|
100
|
+
this.pathLineTexture && (this.pathLineTexture.offset.x += this.option.map.storkeAnimation.speed * i);
|
|
101
|
+
}), Me(this, this.option.particle), me(this, this.option.floor.gaoguang, this.option.floor.quan), fe(this, this.option.floor.rotateBorder), be(this, this.option.floor.gridRipple), this.createMapBackgroundImg(), this.time.on("tick", (i) => {
|
|
102
|
+
this.diffuseShader.pointShader && (this.diffuseShader.pointShader.uniforms.uTime.value += i, this.diffuseShader.pointShader.uniforms.uTime.value > 600 / this.option.floor.gridRipple.diffuseSpeed && (this.diffuseShader.pointShader.uniforms.uTime.value = 0));
|
|
103
|
+
}), this.canvas.addEventListener("mousemove", this.handleHoverAreaMap.bind(this), !1), this.canvas.addEventListener("mousedown", this.handleMapMousedown.bind(this), !1), this.canvas.addEventListener("mouseup", this.handleMapMouseup.bind(this), !1);
|
|
104
|
+
try {
|
|
105
|
+
this.onCallBack.onMapSuccess();
|
|
106
|
+
} catch {
|
|
107
|
+
}
|
|
108
|
+
ge(this, this.option);
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
}, {
|
|
112
|
+
topMap: this.option.map.topMaterial.map,
|
|
113
|
+
topNormal: this.option.map.topMaterial.normalMap,
|
|
114
|
+
sideMap: this.option.map.sideMaterial.map,
|
|
115
|
+
pathLine: this.option.map.storkeAnimation.texture,
|
|
116
|
+
gridRippleMap: this.option.floor.gridRipple.map,
|
|
117
|
+
gridRippleAlphaMap: this.option.floor.gridRipple.alphaMap,
|
|
118
|
+
rotateBorder1Map: this.option.floor.rotateBorder.rotateBorder1.map,
|
|
119
|
+
rotateBorder2Map: this.option.floor.rotateBorder.rotateBorder2.map
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
createMapBackgroundImg() {
|
|
123
|
+
try {
|
|
124
|
+
const e = this.scene.getObjectByName("MapBackgroundImgMesh");
|
|
125
|
+
if (e && this.scene.remove(e), this.option.map.backgroundImg && this.option.map.backgroundImg.show) {
|
|
126
|
+
const { src: t, alphaMap: a, color: r, opacity: i, rotation: s, position: o, scale: h } = this.option.map.backgroundImg, n = new z(500, 500), c = new R().load(t), p = t ? { map: c } : {}, u = new R().load(a), d = a ? { alphaMap: u } : {};
|
|
127
|
+
this.mapBackgroundImgMaterial = new v({
|
|
128
|
+
...p,
|
|
129
|
+
...d,
|
|
130
|
+
color: r,
|
|
131
|
+
transparent: !0,
|
|
132
|
+
opacity: i,
|
|
133
|
+
blending: D,
|
|
134
|
+
side: C
|
|
135
|
+
}), c.wrapS = c.wrapT = T, this.mapBackgroundImgMesh = new S(n, this.mapBackgroundImgMaterial), this.mapBackgroundImgMesh.rotation.x = s[0] * (Math.PI / 180), this.mapBackgroundImgMesh.rotation.y = s[1] * (Math.PI / 180), this.mapBackgroundImgMesh.rotation.z = s[2] * (Math.PI / 180), this.mapBackgroundImgMesh.position.x = o[0], this.mapBackgroundImgMesh.position.y = o[1], this.mapBackgroundImgMesh.position.z = o[2], this.mapBackgroundImgMesh.scale.x = h[0], this.mapBackgroundImgMesh.scale.y = h[1], this.mapBackgroundImgMesh.scale.z = h[2], this.mapBackgroundImgMesh.name = "MapBackgroundImgMesh", this.scene.add(this.mapBackgroundImgMesh);
|
|
136
|
+
}
|
|
137
|
+
} catch {
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
/** 模型区域地图渲染 */
|
|
141
|
+
createAreaMapModel(e) {
|
|
142
|
+
this.createArea((t) => {
|
|
143
|
+
this.provinceMesh = t, this.createMapTitleLabel(this.mapTitleLableGroup), t.setParent(this.areaMapGroup), this.areaMapGroup.position.set(0, 0, -5), this.areaMapGroup.scale.set(1, 1, 0), this.areaMapGroup.visible = !1, this.createAreaLabel(this.areaData, this.areaLabelGroup), ye(this), e(!0);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/** 创建区域 */
|
|
147
|
+
createArea(e) {
|
|
148
|
+
const t = (a) => {
|
|
149
|
+
this.mapJsonData = a, this.provinceLineMaterial = new K({
|
|
150
|
+
color: new M(this.option.map.lineColor || "#000000"),
|
|
151
|
+
transparent: !0
|
|
152
|
+
});
|
|
153
|
+
let [r, i] = this.createProvinceMaterial(this.option.map.topMaterial, this.option.map.sideMaterial);
|
|
154
|
+
this.areaMapTopMaterial = r, this.areaMapSideMaterial = i;
|
|
155
|
+
let s = new pe(this, {
|
|
156
|
+
center: this.pointCenter,
|
|
157
|
+
position: new j(0, 0, 0.06),
|
|
158
|
+
data: a,
|
|
159
|
+
depth: this.depth,
|
|
160
|
+
topFaceMaterial: this.areaMapTopMaterial,
|
|
161
|
+
sideMaterial: this.areaMapSideMaterial,
|
|
162
|
+
lineMaterial: this.provinceLineMaterial,
|
|
163
|
+
renderOrder: 9
|
|
164
|
+
});
|
|
165
|
+
this.option.scene.defaultMapAdcode !== 1e5 && we(this, s), this.areaData = s.coordinates, this.time.on("tick", () => {
|
|
166
|
+
i.map && (i.map.offset.y += 2e-3);
|
|
167
|
+
});
|
|
168
|
+
const o = N(s.mapGroup);
|
|
169
|
+
this.mapBoxHelper = new ee(o.box3, new M("#ffffff")), this.mapBoxHelper.rotation.x = Math.PI / 2, this.mapBoxHelper.visible = this.option.debugger, this.mapBoxHelper.name = "mapBoxHelper", this.scene.add(this.mapBoxHelper), s.mapGroup.children.map((h, n) => {
|
|
170
|
+
h.children.map((c) => {
|
|
171
|
+
c.type === "Mesh" && Be(c.geometry, o.boxSize.x, o.boxSize.y, o.box3.min.x, o.box3.min.y);
|
|
172
|
+
});
|
|
173
|
+
}), e && e(s);
|
|
174
|
+
};
|
|
175
|
+
this.option.scene.defaultMapAdcode && this.option.scene.defaultMapAdcode !== 1 && Le(this.option.scene.defaultMapAdcode, (a) => t(a)), this.option.scene.defaultMapAdcode && this.option.scene.defaultMapAdcode === 1 && this.option.scene.geojson && Ge(this.option.scene.geojson, (a) => t(a));
|
|
176
|
+
}
|
|
177
|
+
/** 创建轮廓 */
|
|
178
|
+
createAreaMapStorke(e, t = !0) {
|
|
179
|
+
return new Promise((a, r) => {
|
|
180
|
+
if (this.option.scene.defaultMapAdcode === 1) {
|
|
181
|
+
a(!0);
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
try {
|
|
185
|
+
const i = this.mainSceneGroup.getObjectByName("PathLine");
|
|
186
|
+
i && this.mainSceneGroup.remove(i);
|
|
187
|
+
let s = I(this, "pathLine", e.texture, "texture");
|
|
188
|
+
if (Q(s))
|
|
189
|
+
a(!0);
|
|
190
|
+
else {
|
|
191
|
+
let o = s.texture;
|
|
192
|
+
o.wrapS = o.wrapT = T, o.repeat.set(1, 1), this.pathLineTexture = o, xe(this.option.scene.defaultMapAdcode, (h) => {
|
|
193
|
+
try {
|
|
194
|
+
if (h) {
|
|
195
|
+
h = JSON.parse(h);
|
|
196
|
+
let n = h.features.map((u) => ({ geometry: u.geometry })), c = new ce(this, {
|
|
197
|
+
data: n,
|
|
198
|
+
texture: o,
|
|
199
|
+
renderOrder: 21,
|
|
200
|
+
speed: e.speed,
|
|
201
|
+
radius: e.radius / this.scale,
|
|
202
|
+
segments: e.segments || 2560,
|
|
203
|
+
radialSegments: 4,
|
|
204
|
+
material: new v({
|
|
205
|
+
color: new M(e.color || "#2bc4dc"),
|
|
206
|
+
map: o,
|
|
207
|
+
alphaMap: o,
|
|
208
|
+
fog: !1,
|
|
209
|
+
transparent: !0,
|
|
210
|
+
opacity: t ? 0 : 1,
|
|
211
|
+
blending: D
|
|
212
|
+
})
|
|
213
|
+
});
|
|
214
|
+
c.instance.name = "PathLine";
|
|
215
|
+
const p = this.mainSceneGroup.getObjectByName("PathLine");
|
|
216
|
+
if (p && this.mainSceneGroup.remove(p), c.setParent(this.mainSceneGroup), this.boundBox) {
|
|
217
|
+
c.instance.scale.set(this.scale, this.scale, this.scale);
|
|
218
|
+
const u = this.boundBox;
|
|
219
|
+
c.instance.position.x = -u.center.x, c.instance.position.y = -u.center.y;
|
|
220
|
+
}
|
|
221
|
+
c.instance.position.z = this.depth + 0.38 + (e.top || 0), this.pathLine = c;
|
|
222
|
+
}
|
|
223
|
+
} catch {
|
|
224
|
+
} finally {
|
|
225
|
+
a(!0);
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
} catch {
|
|
230
|
+
a(!0);
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/** 创建地图区域标签 */
|
|
235
|
+
createAreaLabel(e, t) {
|
|
236
|
+
const a = (r, i, s) => {
|
|
237
|
+
let o = this.label3d.create("", "area-label", !0);
|
|
238
|
+
return o.init(`<p class="label">${r.name}</p>`, s), this.label3d.setLabelStyle(o, 0.08 / this.scale, "x"), o.setParent(t), o.userData.adcode = r.adcode, o.userData.position = [s.x, s.y, s.z], o;
|
|
239
|
+
};
|
|
240
|
+
e.map((r, i) => {
|
|
241
|
+
if (r.name && r.centroid && r.adcode) {
|
|
242
|
+
let [s, o] = this.geoProjection(r.centroid), h = a(r, i, new j(s, -o, this.depth + 2));
|
|
243
|
+
this.allAreaLabel.push(h);
|
|
244
|
+
}
|
|
245
|
+
}), this.option.scene.defaultMapAdcode !== 1e5 && this.setAreaLabelScale(), this.setAreaLabelStyle(this.option.map.arealabel);
|
|
246
|
+
}
|
|
247
|
+
/** 创建地图标题标签 */
|
|
248
|
+
createMapTitleLabel(e) {
|
|
249
|
+
if (this.option.scene.defaultMapAdcode !== 1e5 && this.option.scene.defaultMapAdcode !== 1) {
|
|
250
|
+
let t = N(this.provinceMesh.mapGroup);
|
|
251
|
+
const a = this.option.map.titleLabel && this.option.map.titleLabel.gaodeAPI || "", r = `https://restapi.amap.com/v3/config/district?keywords=${this.option.scene.defaultMapAdcode}&subdistrict=0&key=${a}`;
|
|
252
|
+
fetch(r).then((i) => i.text()).then((i) => {
|
|
253
|
+
try {
|
|
254
|
+
const s = JSON.parse(i);
|
|
255
|
+
if (s.status === "1" && s.districts.length > 0) {
|
|
256
|
+
const o = this.option.map.titleLabel && this.option.map.titleLabel.offsetX || 0, h = this.option.map.titleLabel && this.option.map.titleLabel.offsetY || 2, n = (u) => {
|
|
257
|
+
let d = this.label3d.create("", "map-label", !1);
|
|
258
|
+
return d.init(
|
|
259
|
+
`<div class="other-label"><span class="title">${u.name}</span><span>${u.enName}</span></div>`,
|
|
260
|
+
new j(t.center.x / this.scale + o, (t.center.y - t.boxSize.y / 2 - h) / this.scale, 0.4)
|
|
261
|
+
), this.label3d.setLabelStyle(d, 0.115 / this.scale, "x"), d.setParent(e), d;
|
|
262
|
+
}, c = ie(s.districts[0].name.slice(0, -1), { toneType: "none", separator: "" }).toUpperCase();
|
|
263
|
+
this.mapTitleLabel = n({ name: s.districts[0].name, enName: c + " " + s.districts[0].level.toUpperCase() }), this.mapTitleLableGroup.scale.set(this.scale, this.scale, this.scale);
|
|
264
|
+
let p = (this.depth + 0.4) / this.scale;
|
|
265
|
+
this.mapTitleLabel.position.z = p, this.mapTitleLabel.position.y -= 1.5 / this.scale, this.setMapTitleLabelStyle(this.option.map.titleLabel);
|
|
266
|
+
}
|
|
267
|
+
} catch {
|
|
268
|
+
}
|
|
269
|
+
}).catch((i) => {
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
/**设置地图标题标签样式 */
|
|
274
|
+
setMapTitleLabelStyle(e) {
|
|
275
|
+
if (e) {
|
|
276
|
+
k(e.fontFamily);
|
|
277
|
+
const t = this.mapTitleLabel.element.querySelector(".map-label>.other-label");
|
|
278
|
+
e.show ? t.style.opacity = 1 : t.style.opacity = 0, t.style.fontSize = e.fontSize + "px", t.style.fontFamily = e.fontFamily, t.style.color = e.color;
|
|
279
|
+
} else
|
|
280
|
+
this.mapTitleLabel.element.style.opacity = 0;
|
|
281
|
+
}
|
|
282
|
+
/** 设置地图区域标签缩放 */
|
|
283
|
+
setAreaLabelScale() {
|
|
284
|
+
this.areaLabelGroup.scale.set(this.scale, this.scale, this.scale);
|
|
285
|
+
const e = this.boundBox;
|
|
286
|
+
this.areaLabelGroup.position.x = -e.center.x, this.areaLabelGroup.position.y = -e.center.y, this.allAreaLabel.map((t) => {
|
|
287
|
+
let a = (this.depth + 0.4) / this.scale;
|
|
288
|
+
t.position.z = a, t.position.y -= 1.5 / this.scale, t.userData.position = [t.position.x, t.position.y, t.position.z];
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
/** 设置地图区域标签的样式 */
|
|
292
|
+
setAreaLabelStyle(e) {
|
|
293
|
+
e && (k(e.fontFamily), this.allAreaLabel.map((t, a) => {
|
|
294
|
+
const r = t.element.querySelector(".area-label>p.label");
|
|
295
|
+
e.show ? r.style.opacity = 1 : r.style.opacity = 0, r.style.fontSize = e.fontSize + "px", r.style.fontFamily = e.fontFamily, r.style.color = e.color;
|
|
296
|
+
}));
|
|
297
|
+
}
|
|
298
|
+
/** 设置地图区域标签移动 */
|
|
299
|
+
setAreaLabelMove(e, t = "up") {
|
|
300
|
+
this.allAreaLabel.map((a) => {
|
|
301
|
+
if (a.userData.adcode === e) {
|
|
302
|
+
const r = a.userData.position[2] + (this.depth / 2 + 0.3) / this.scale, i = a.userData.position[2];
|
|
303
|
+
m.to(a.position, {
|
|
304
|
+
duration: 0.3,
|
|
305
|
+
z: t === "up" ? r : i
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
/** 创建省份材质 */
|
|
311
|
+
createProvinceMaterial(e, t) {
|
|
312
|
+
let a = I(this, "topMap", e.map, "map"), r = I(this, "topNormal", e.normalMap, "normalMap"), i = new O({
|
|
313
|
+
...a,
|
|
314
|
+
...r,
|
|
315
|
+
color: new M(e.color || "#061e47"),
|
|
316
|
+
emissive: new M(e.emissive || "#000000"),
|
|
317
|
+
transparent: !0,
|
|
318
|
+
opacity: e.opacity
|
|
319
|
+
}), s = I(this, "sideMap", t.map, "map");
|
|
320
|
+
Q(s) || (s.map.repeat.set(1, 0.2), s.map.offset.y += 0.01);
|
|
321
|
+
let o = new O({
|
|
322
|
+
...s,
|
|
323
|
+
color: new M(t.color || "#061e47"),
|
|
324
|
+
transparent: !0,
|
|
325
|
+
opacity: t.opacity,
|
|
326
|
+
side: C
|
|
327
|
+
});
|
|
328
|
+
return [i, o];
|
|
329
|
+
}
|
|
330
|
+
/** 创建柱状图 */
|
|
331
|
+
createBar(e, t, a = !0, r = !1) {
|
|
332
|
+
if (!(!a && (t = this.datasource[e._sourceId], !t)) && (a || (this.barGroup.remove(...this.barGroup.children.filter((i) => i.name === "bar-" + e.id)), this.barGuangQuanGroup.remove(...this.barGuangQuanGroup.children.filter((i) => i.name === "bar-" + e.id)), this.barLabelGroup.remove(...this.barLabelGroup.children.filter((i) => i.name === "bar-" + e.id)), this.allBar = this.allBar.filter((i) => i.name !== "bar-" + e.id), this.allBarLabel = this.allBarLabel.filter((i) => i.name !== "bar-" + e.id), this.allBarMaterial = this.allBarMaterial.filter((i) => i.name !== "bar-" + e.id), this.allBarGuangquan = this.allBarGuangquan.filter((i) => i.name !== "bar-" + e.id)), t && F(t) && t.length > 0))
|
|
333
|
+
try {
|
|
334
|
+
if (this.datasource[e._sourceId] = t, !e.isHide) {
|
|
335
|
+
const i = (n, c, p) => {
|
|
336
|
+
let u = e.format;
|
|
337
|
+
try {
|
|
338
|
+
const g = e.format.match(/\{(.*?)}/g);
|
|
339
|
+
if (g)
|
|
340
|
+
for (let b = 0; b < g.length; b++)
|
|
341
|
+
u = u.replaceAll(g[b], n[g[b].slice(1, -1)]);
|
|
342
|
+
} catch {
|
|
343
|
+
}
|
|
344
|
+
let d = this.label3d.create("", "bar-label bar-" + e.id, !0);
|
|
345
|
+
return d.init(`
|
|
346
|
+
<div class="wrap">
|
|
347
|
+
<span class="label">${u}</span>
|
|
348
|
+
<span class="unit">${e.label.unit || ""}</span>
|
|
349
|
+
</div>
|
|
350
|
+
`, p), this.label3d.setLabelStyle(d, 0.08 / this.scale, "x"), d.name = "bar-" + e.id, d.setParent(this.barLabelGroup), d.userData.adcode = n.adcode, d.userData.value = n.value, d.userData.name = n.name, d.userData.position = [p.x, p.y, p.z], d;
|
|
351
|
+
}, s = e.width || 7, o = e.height || 7, h = Math.max.apply(Math, t.map((n) => n.value));
|
|
352
|
+
t.map((n, c) => {
|
|
353
|
+
if (ue(n.value)) {
|
|
354
|
+
let p = n.value <= 0 ? 0.1 : o * (n.value / h), u = new v({
|
|
355
|
+
color: new M(e.color || "#ffffff"),
|
|
356
|
+
transparent: !0,
|
|
357
|
+
opacity: r ? 0 : e.opacity,
|
|
358
|
+
depthTest: !1,
|
|
359
|
+
fog: !1
|
|
360
|
+
});
|
|
361
|
+
u.name = "bar-" + e.id, u.userData.opacity = e.opacity;
|
|
362
|
+
const d = new _(0.05 * s, 0.05 * s, p);
|
|
363
|
+
d.translate(0, 0, p / 2);
|
|
364
|
+
const g = new S(d, u);
|
|
365
|
+
g.renderOrder = 22, g.geometry.computeBoundsTree();
|
|
366
|
+
let b = g, [x, w] = this.geoProjection(n.coords);
|
|
367
|
+
b.position.set(x, -w, (this.depth + 0.46) / this.scale), r ? b.scale.set(1 / this.scale, 1 / this.scale, 0) : b.scale.set(1 / this.scale, 1 / this.scale, 1 / this.scale), b.userData.name = n.name, b.userData.adcode = n.adcode, b.userData.value = n.value, b.userData.position = [x, -w, (this.depth + 0.46) / this.scale];
|
|
368
|
+
let G = this.createBarGuangQuan(e.bottom, r);
|
|
369
|
+
if (G.position.set(x, -w, (this.depth + 0.46) / this.scale), G.userData.name = n.name, G.userData.adcode = n.adcode, G.userData.position = [x, -w, (this.depth + 0.46) / this.scale], G.name = "bar-" + e.id, this.barGuangQuanGroup.add(G), e.huiguang.show && p > 0) {
|
|
370
|
+
let f = this.createBarHUIGUANG(p, e.huiguang);
|
|
371
|
+
b.add(...f);
|
|
372
|
+
}
|
|
373
|
+
b.name = "bar-" + e.id, this.barGroup.add(b);
|
|
374
|
+
let y = i(n, c, new j(x, -w, (this.depth + 0.9 + p) / this.scale));
|
|
375
|
+
this.allBar.push(b), this.allBarMaterial.push(u), this.allBarGuangquan.push(G), this.allBarLabel.push(y);
|
|
376
|
+
}
|
|
377
|
+
}), this.setBarLabelStyle(e.label, e.id), this.barGroup.scale.set(this.scale, this.scale, this.scale), this.barGuangQuanGroup.scale.set(this.scale, this.scale, this.scale), this.barLabelGroup.scale.set(this.scale, this.scale, this.scale), this.mainSceneGroup.add(this.barGroup), this.mainSceneGroup.add(this.barGuangQuanGroup), this.mainSceneGroup.add(this.barLabelGroup), this.option.scene.defaultMapAdcode !== 1e5 && this.setBarScale();
|
|
378
|
+
}
|
|
379
|
+
} catch {
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
cleanAllBar() {
|
|
383
|
+
for (; this.barGroup.children.length; )
|
|
384
|
+
this.barGroup.remove(this.barGroup.children[0]);
|
|
385
|
+
for (; this.barGuangQuanGroup.children.length; )
|
|
386
|
+
this.barGuangQuanGroup.remove(this.barGuangQuanGroup.children[0]);
|
|
387
|
+
for (; this.barLabelGroup.children.length; )
|
|
388
|
+
this.barLabelGroup.remove(this.barLabelGroup.children[0]);
|
|
389
|
+
this.allBar = [], this.allBarLabel = [], this.allBarMaterial = [], this.allBarGuangquan = [];
|
|
390
|
+
}
|
|
391
|
+
createBarTimeLine() {
|
|
392
|
+
const e = m.timeline();
|
|
393
|
+
this.allBar.map((t, a) => {
|
|
394
|
+
e.add(
|
|
395
|
+
m.to(t.scale, {
|
|
396
|
+
duration: 1,
|
|
397
|
+
delay: 0.05 * a,
|
|
398
|
+
x: 1 / this.scale,
|
|
399
|
+
y: 1 / this.scale,
|
|
400
|
+
z: 1 / this.scale,
|
|
401
|
+
ease: "circ.out"
|
|
402
|
+
}),
|
|
403
|
+
"bar"
|
|
404
|
+
);
|
|
405
|
+
}), this.allBarMaterial.map((t, a) => {
|
|
406
|
+
e.add(
|
|
407
|
+
m.to(t, {
|
|
408
|
+
duration: 0.5,
|
|
409
|
+
delay: 0.05 * a,
|
|
410
|
+
opacity: t.userData.opacity,
|
|
411
|
+
ease: "circ.out"
|
|
412
|
+
}),
|
|
413
|
+
"bar"
|
|
414
|
+
);
|
|
415
|
+
}), this.allBarGuangquan.map((t, a) => {
|
|
416
|
+
e.add(
|
|
417
|
+
m.to(t.children[0].scale, {
|
|
418
|
+
duration: 0.5,
|
|
419
|
+
delay: 0.05 * a,
|
|
420
|
+
x: 1 / this.scale,
|
|
421
|
+
y: 1 / this.scale,
|
|
422
|
+
z: 1 / this.scale,
|
|
423
|
+
ease: "circ.out"
|
|
424
|
+
}),
|
|
425
|
+
"bar"
|
|
426
|
+
), e.add(
|
|
427
|
+
m.to(t.children[1].scale, {
|
|
428
|
+
duration: 0.5,
|
|
429
|
+
delay: 0.05 * a,
|
|
430
|
+
x: 1 / this.scale,
|
|
431
|
+
y: 1 / this.scale,
|
|
432
|
+
z: 1 / this.scale,
|
|
433
|
+
ease: "circ.out"
|
|
434
|
+
}),
|
|
435
|
+
"bar"
|
|
436
|
+
);
|
|
437
|
+
}), this.allBarLabel.map((t) => {
|
|
438
|
+
const a = t.element.querySelector(".bar-label .wrap");
|
|
439
|
+
a.style.opacity = 0;
|
|
440
|
+
}), this.allBarLabel.map((t, a) => {
|
|
441
|
+
const r = t.element.querySelector(".bar-label .label"), i = t.element.querySelector(".bar-label .wrap"), s = Number(r.innerText), o = { score: 0 };
|
|
442
|
+
if (e.add(
|
|
443
|
+
m.to(r, {
|
|
444
|
+
duration: 0.5,
|
|
445
|
+
delay: 0.05 * a,
|
|
446
|
+
opacity: 1,
|
|
447
|
+
ease: "circ.out"
|
|
448
|
+
}),
|
|
449
|
+
"bar"
|
|
450
|
+
), e.add(
|
|
451
|
+
m.to(i, {
|
|
452
|
+
duration: 0.5,
|
|
453
|
+
delay: 0.05 * a,
|
|
454
|
+
opacity: 1,
|
|
455
|
+
ease: "circ.out"
|
|
456
|
+
}),
|
|
457
|
+
"bar"
|
|
458
|
+
), s) {
|
|
459
|
+
let h = function() {
|
|
460
|
+
r.innerText = o.score.toFixed(0);
|
|
461
|
+
};
|
|
462
|
+
const n = m.to(o, {
|
|
463
|
+
duration: 2,
|
|
464
|
+
delay: 0.05 * a,
|
|
465
|
+
score: s,
|
|
466
|
+
onUpdate: h
|
|
467
|
+
});
|
|
468
|
+
e.add(n, "bar");
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
setBarLabelStyle(e, t) {
|
|
473
|
+
e && (k(e.fontFamily), k(e.unitStyle.fontFamily), this.allBarLabel.map((a, r) => {
|
|
474
|
+
if (a.name === "bar-" + t) {
|
|
475
|
+
const i = a.element.querySelector(".bar-label.bar-" + t + " .wrap");
|
|
476
|
+
e.show ? i.style.opacity = 1 : i.style.opacity = 0, i && (i.style.backgroundColor = e.bg.color, i.style.padding = `${e.bg.paddingW}px ${e.bg.paddingH}px`, i.style.borderRadius = e.bg.borderRadius + "px", i.style.borderWidth = e.bg.borderWidth + "px", i.style.borderColor = e.bg.borderColor, i.style.borderStyle = e.bg.borderStyle);
|
|
477
|
+
const s = a.element.querySelector(".bar-label.bar-" + t + " .label");
|
|
478
|
+
e.show ? s.innerText = s.innerText : s.innerText = "", s.style.fontSize = e.fontSize + "px", s.style.fontFamily = e.fontFamily, s.style.color = e.color;
|
|
479
|
+
const o = a.element.querySelector(".bar-label.bar-" + t + " .unit");
|
|
480
|
+
e.show && e.unitStyle.show ? o.innerText = o.innerText : o.innerText = "", o.style.fontSize = e.unitStyle.fontSize + "px", o.style.fontFamily = e.unitStyle.fontFamily, o.style.color = e.unitStyle.color;
|
|
481
|
+
}
|
|
482
|
+
}));
|
|
483
|
+
}
|
|
484
|
+
/** 柱状图缩放 */
|
|
485
|
+
setBarScale() {
|
|
486
|
+
const e = this.boundBox;
|
|
487
|
+
this.barGroup.position.x = -e.center.x, this.barGroup.position.y = -e.center.y, this.barGuangQuanGroup.position.x = -e.center.x, this.barGuangQuanGroup.position.y = -e.center.y, this.barLabelGroup.position.x = -e.center.x, this.barLabelGroup.position.y = -e.center.y;
|
|
488
|
+
}
|
|
489
|
+
/** 创建柱状图辉光效果 */
|
|
490
|
+
createBarHUIGUANG(e, t) {
|
|
491
|
+
let a = new z(t.size, e);
|
|
492
|
+
a.translate(0, e / 2, 0);
|
|
493
|
+
const r = this.assets.instance.getResource("huiguang");
|
|
494
|
+
r.colorSpace = "srgb", r.wrapS = T, r.wrapT = T;
|
|
495
|
+
let i = new v({
|
|
496
|
+
color: new M(t.color || "#ffffff"),
|
|
497
|
+
map: r,
|
|
498
|
+
transparent: !0,
|
|
499
|
+
opacity: t.opacity,
|
|
500
|
+
depthWrite: !1,
|
|
501
|
+
side: C,
|
|
502
|
+
blending: D
|
|
503
|
+
}), s = new S(a, i);
|
|
504
|
+
s.renderOrder = 23, s.rotateX(Math.PI / 2);
|
|
505
|
+
let o = s.clone(), h = s.clone();
|
|
506
|
+
return o.rotateY(Math.PI / 180 * 60), h.rotateY(Math.PI / 180 * 120), [s, o, h];
|
|
507
|
+
}
|
|
508
|
+
/** 创建柱状图底部光圈 */
|
|
509
|
+
createBarGuangQuan(e, t) {
|
|
510
|
+
const a = this.assets.instance.getResource("guangquan1"), r = this.assets.instance.getResource("guangquan2");
|
|
511
|
+
let i = new z(e.width, e.height), s = new v({
|
|
512
|
+
color: new M(e.color || "#ffffff"),
|
|
513
|
+
map: a,
|
|
514
|
+
alphaMap: a,
|
|
515
|
+
opacity: e.opacity,
|
|
516
|
+
transparent: !0,
|
|
517
|
+
depthTest: !1,
|
|
518
|
+
fog: !1,
|
|
519
|
+
blending: D
|
|
520
|
+
}), o = new v({
|
|
521
|
+
color: new M(e.color || "#ffffff"),
|
|
522
|
+
map: r,
|
|
523
|
+
alphaMap: r,
|
|
524
|
+
opacity: e.opacity,
|
|
525
|
+
transparent: !0,
|
|
526
|
+
depthTest: !1,
|
|
527
|
+
fog: !1,
|
|
528
|
+
blending: D
|
|
529
|
+
}), h = new S(i, s), n = new S(i, o);
|
|
530
|
+
h.renderOrder = 24, n.renderOrder = 24, n.position.z -= 1e-3, t ? (h.scale.set(0, 0, 0), n.scale.set(0, 0, 0)) : (h.scale.set(1 / this.scale, 1 / this.scale, 1 / this.scale), n.scale.set(1 / this.scale, 1 / this.scale, 1 / this.scale));
|
|
531
|
+
const c = new L();
|
|
532
|
+
return c.add(h, n), this.time.on("tick", (p) => {
|
|
533
|
+
h.rotation.z += p * 2;
|
|
534
|
+
}), c;
|
|
535
|
+
}
|
|
536
|
+
/** 设置柱状图移动 */
|
|
537
|
+
setBarMove(e, t = "up") {
|
|
538
|
+
this.allBar.map((a) => {
|
|
539
|
+
a.userData.adcode === e && m.to(a.position, {
|
|
540
|
+
duration: 0.3,
|
|
541
|
+
z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
|
|
542
|
+
});
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
/** 设置柱状图光圈移动 */
|
|
546
|
+
setBarGuangQuanMove(e, t = "up") {
|
|
547
|
+
this.allBarGuangquan.map((a) => {
|
|
548
|
+
a.userData.adcode === e && m.to(a.position, {
|
|
549
|
+
duration: 0.3,
|
|
550
|
+
z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
|
|
551
|
+
});
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
/** 设置柱状图标签移动 */
|
|
555
|
+
setBarLabelMove(e, t = "up") {
|
|
556
|
+
this.allBarLabel.map((a) => {
|
|
557
|
+
a.userData.adcode === e && m.to(a.position, {
|
|
558
|
+
duration: 0.3,
|
|
559
|
+
z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
|
|
560
|
+
});
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
/** 创建散点图 */
|
|
564
|
+
createScatter(e, t = [], a = !0, r = !1) {
|
|
565
|
+
if (!(!a && (t = this.datasource[e._sourceId], !t)) && (a || (this.scatterLabelGroup.remove(...this.scatterLabelGroup.children.filter((i) => i.name === "scatter-" + e.id)), this.allScatterLabel = this.allScatterLabel.filter((i) => i.name !== "scatter-" + e.id)), t && F(t) && t.length > 0))
|
|
566
|
+
try {
|
|
567
|
+
if (this.datasource[e._sourceId] = t, !e.isHide) {
|
|
568
|
+
const i = (s, o, h) => {
|
|
569
|
+
let n = e.format;
|
|
570
|
+
try {
|
|
571
|
+
const p = e.format.match(/\{(.*?)}/g);
|
|
572
|
+
if (p)
|
|
573
|
+
for (let u = 0; u < p.length; u++)
|
|
574
|
+
n = n.replaceAll(p[u], s[p[u].slice(1, -1)]);
|
|
575
|
+
} catch {
|
|
576
|
+
}
|
|
577
|
+
let c = this.label3d.create("", "scatter-label scatter-" + e.id, e.follow);
|
|
578
|
+
return c.init(
|
|
579
|
+
`<div class="wrap">
|
|
580
|
+
<span class="label">${n}</span>
|
|
581
|
+
<img src="${e.map}" style="width:${e.width}px; height:${e.height}px;" >
|
|
582
|
+
</div>`,
|
|
583
|
+
h
|
|
584
|
+
), this.label3d.setLabelStyle(c, 0.08 / this.scale, "x"), e.rotation && (c.rotation.x = e.rotation[0] * (Math.PI / 180), c.rotation.y = e.rotation[1] * (Math.PI / 180), c.rotation.z = e.rotation[2] * (Math.PI / 180)), c.name = "scatter-" + e.id, c.setParent(this.scatterLabelGroup), c.userData.adcode = s.adcode, c.userData.scale = s, c.userData.name = s.name, c.userData.labelShow = e.label.show, c.userData.value = s.value, c.userData.position = [h.x, h.y, h.z], c;
|
|
585
|
+
};
|
|
586
|
+
t.map((s, o) => {
|
|
587
|
+
let [h, n] = this.geoProjection([s.lng, s.lat]), c = i(s, o, new j(h, -n, this.depth / this.scale));
|
|
588
|
+
this.allScatterLabel.push(c);
|
|
589
|
+
}), this.setScatterLabelStyle(e.label, e.id), this.mainSceneGroup.add(this.scatterLabelGroup), this.scatterLabelGroup.scale.set(this.scale, this.scale, this.scale), this.option.scene.defaultMapAdcode !== 1e5 && this.setScatterScale();
|
|
590
|
+
}
|
|
591
|
+
} catch {
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
setScatterLabelStyle(e, t) {
|
|
595
|
+
e && (k(e.fontFamily), this.allScatterLabel.map((a, r) => {
|
|
596
|
+
if (a.name === "scatter-" + t) {
|
|
597
|
+
const i = a.element.querySelector(".scatter-label.scatter-" + t + " .wrap");
|
|
598
|
+
e.show ? i.style.opacity = 1 : i.style.opacity = 0;
|
|
599
|
+
const s = a.element.querySelector(".scatter-label.scatter-" + t + " .label");
|
|
600
|
+
e.show ? s.innerText = s.innerText : s.innerText = "", s.style.left = e.left + "px", s.style.top = e.top + "px", s.style.fontSize = e.fontSize + "px", s.style.fontFamily = e.fontFamily, s.style.color = e.color, s.style.backgroundColor = e.bg.color, s.style.padding = `${e.bg.paddingW}px ${e.bg.paddingH}px`, s.style.borderRadius = e.bg.borderRadius + "px", s.style.borderWidth = e.bg.borderWidth + "px", s.style.borderColor = e.bg.borderColor, s.style.borderStyle = e.bg.borderStyle;
|
|
601
|
+
}
|
|
602
|
+
}));
|
|
603
|
+
}
|
|
604
|
+
setScatterScale() {
|
|
605
|
+
const e = this.boundBox;
|
|
606
|
+
this.scatterLabelGroup.position.x = -e.center.x, this.scatterLabelGroup.position.y = -e.center.y;
|
|
607
|
+
}
|
|
608
|
+
createScatterTimeLine() {
|
|
609
|
+
const e = m.timeline();
|
|
610
|
+
this.allScatterLabel.map((t) => {
|
|
611
|
+
const a = t.element.querySelector(".scatter-label .wrap");
|
|
612
|
+
a.style.opacity = 0;
|
|
613
|
+
}), this.allScatterLabel.map((t, a) => {
|
|
614
|
+
if (t.userData.labelShow) {
|
|
615
|
+
const r = t.element.querySelector(".scatter-label .wrap");
|
|
616
|
+
e.add(
|
|
617
|
+
m.to(r, {
|
|
618
|
+
duration: 0.5,
|
|
619
|
+
delay: 0.05 * a,
|
|
620
|
+
opacity: 1,
|
|
621
|
+
ease: "circ.out"
|
|
622
|
+
}),
|
|
623
|
+
"scatter"
|
|
624
|
+
);
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
}
|
|
628
|
+
cleanAllScatter() {
|
|
629
|
+
for (; this.scatterLabelGroup.children.length; )
|
|
630
|
+
this.scatterLabelGroup.remove(this.scatterLabelGroup.children[0]);
|
|
631
|
+
this.allScatterLabel = [];
|
|
632
|
+
}
|
|
633
|
+
/** 设置柱状图标签移动 */
|
|
634
|
+
setScatterLabelMove(e, t = "up") {
|
|
635
|
+
this.allScatterLabel.map((a) => {
|
|
636
|
+
a.userData.adcode === e && m.to(a.position, {
|
|
637
|
+
duration: 0.3,
|
|
638
|
+
z: t === "up" ? a.userData.position[2] + this.depth / 2 + 0.3 : a.userData.position[2]
|
|
639
|
+
});
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
// 创建飞线
|
|
643
|
+
createFlyLine(e, t, a = !0, r = !1) {
|
|
644
|
+
if (!(!a && (t = this.datasource[e._sourceId], !t)) && (a || (this.flyLineGroup.remove(...this.flyLineGroup.children.filter((i) => i.name === "flyline-" + e.id)), this.flyLineLabelGroup.remove(...this.flyLineLabelGroup.children.filter((i) => i.name === "flyline-" + e.id)), this.allFlyLine = this.allFlyLine.filter((i) => i.name !== "flyline-" + e.id), this.allFlyLineLabel = this.allFlyLineLabel.filter((i) => i.name !== "flyline-" + e.id)), t && F(t) && t.length > 0))
|
|
645
|
+
try {
|
|
646
|
+
if (this.datasource[e._sourceId] = t, !e.isHide) {
|
|
647
|
+
const i = new R().load(e.texture);
|
|
648
|
+
i.wrapS = i.wrapT = T, i.generateMipmaps = !1, i.magFilter = V, i.repeat.set(0.5, 1);
|
|
649
|
+
let s = new le(this, {
|
|
650
|
+
data: t,
|
|
651
|
+
option: e,
|
|
652
|
+
texture: i,
|
|
653
|
+
radius: e.radius / this.scale,
|
|
654
|
+
speed: e.speed,
|
|
655
|
+
middleHeight: e.middleHeight / this.scale,
|
|
656
|
+
segments: e.segments,
|
|
657
|
+
radialSegments: e.radialSegments,
|
|
658
|
+
allFlyLine: this.allFlyLine,
|
|
659
|
+
material: new v({
|
|
660
|
+
map: i,
|
|
661
|
+
alphaMap: i,
|
|
662
|
+
color: new M(e.material.color),
|
|
663
|
+
transparent: !0,
|
|
664
|
+
opacity: r ? 0 : e.material.opacity,
|
|
665
|
+
fog: !1,
|
|
666
|
+
depthTest: !1,
|
|
667
|
+
blending: D
|
|
668
|
+
})
|
|
669
|
+
});
|
|
670
|
+
s.instance.name = "flyline-" + e.id, s.instance.position.z = (this.depth + 0.4) / this.scale, this.flyLineGroup.add(s.instance), this.setFlylineLabelStyle(e.label, e.id), this.flyLineGroup.scale.set(this.scale, this.scale, this.scale), this.flyLineLabelGroup.scale.set(this.scale, this.scale, this.scale), this.mainSceneGroup.add(this.flyLineGroup), this.mainSceneGroup.add(this.flyLineLabelGroup), this.option.scene.defaultMapAdcode !== 1e5 && this.setFlylineScale();
|
|
671
|
+
}
|
|
672
|
+
} catch {
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
setFlylineLabelStyle(e, t) {
|
|
676
|
+
e && (k(e.fontFamily), this.allFlyLineLabel.map((a, r) => {
|
|
677
|
+
if (a.name === "flyline-" + t) {
|
|
678
|
+
const i = a.element.querySelector(".flyline-label.flyline-" + t + " .wrap");
|
|
679
|
+
e.show ? i.style.opacity = 1 : i.style.opacity = 0, i && (i.style.backgroundColor = e.bg.color, i.style.padding = `${e.bg.paddingW}px ${e.bg.paddingH}px`, i.style.borderRadius = e.bg.borderRadius + "px", i.style.borderWidth = e.bg.borderWidth + "px", i.style.borderColor = e.bg.borderColor, i.style.borderStyle = e.bg.borderStyle);
|
|
680
|
+
const s = a.element.querySelector(".flyline-label.flyline-" + t + " .label");
|
|
681
|
+
e.show ? s.innerText = s.innerText : s.innerText = "", s.style.fontSize = e.fontSize + "px", s.style.fontFamily = e.fontFamily, s.style.color = e.color;
|
|
682
|
+
}
|
|
683
|
+
}));
|
|
684
|
+
}
|
|
685
|
+
setFlylineScale() {
|
|
686
|
+
const e = this.boundBox;
|
|
687
|
+
this.flyLineGroup.position.x = -e.center.x, this.flyLineGroup.position.y = -e.center.y, this.flyLineLabelGroup.position.x = -e.center.x, this.flyLineLabelGroup.position.y = -e.center.y;
|
|
688
|
+
}
|
|
689
|
+
cleanAllFlyLine() {
|
|
690
|
+
for (; this.flyLineGroup.children.length; )
|
|
691
|
+
this.flyLineGroup.remove(this.flyLineGroup.children[0]);
|
|
692
|
+
for (; this.flyLineLabelGroup.children.length; )
|
|
693
|
+
this.flyLineLabelGroup.remove(this.flyLineLabelGroup.children[0]);
|
|
694
|
+
this.allFlyLine = [], this.allFlyLineLabel = [];
|
|
695
|
+
}
|
|
696
|
+
createFlyLineTimeLine() {
|
|
697
|
+
const e = m.timeline();
|
|
698
|
+
this.allFlyLine.map((t, a) => {
|
|
699
|
+
e.add(
|
|
700
|
+
m.to(t.material, {
|
|
701
|
+
duration: 0.2,
|
|
702
|
+
opacity: 1,
|
|
703
|
+
ease: "circ.out"
|
|
704
|
+
}),
|
|
705
|
+
"flyLine"
|
|
706
|
+
);
|
|
707
|
+
}), this.allFlyLineLabel.map((t) => {
|
|
708
|
+
const a = t.element.querySelector(".flyline-label .wrap");
|
|
709
|
+
a.style.opacity = 0;
|
|
710
|
+
}), this.allFlyLineLabel.map((t, a) => {
|
|
711
|
+
const r = t.element.querySelector(".flyline-label .wrap");
|
|
712
|
+
e.add(
|
|
713
|
+
m.to(r, {
|
|
714
|
+
duration: 0.5,
|
|
715
|
+
delay: 0.05 * a,
|
|
716
|
+
opacity: 1,
|
|
717
|
+
ease: "circ.out"
|
|
718
|
+
}),
|
|
719
|
+
"flyline"
|
|
720
|
+
);
|
|
721
|
+
});
|
|
722
|
+
}
|
|
723
|
+
createRegionalLevel(e, t, a = !0, r = !1) {
|
|
724
|
+
try {
|
|
725
|
+
if (!a && (t = this.datasource[e._sourceId], !t))
|
|
726
|
+
return;
|
|
727
|
+
a || this.areaMapGroup.children[0].children.forEach((i) => {
|
|
728
|
+
i.remove(...i.children.filter((s) => s.name === "shapeGroup-" + e.id));
|
|
729
|
+
}), t && F(t) && t.length > 0 && (this.datasource[e._sourceId] = t, e.isHide || re(this.mapJsonData).features.forEach((s, o) => {
|
|
730
|
+
const { name: h, adcode: n, parent: c } = s.properties, p = new L();
|
|
731
|
+
p.name = "shapeGroup-" + e.id, s.geometry.coordinates.forEach((d) => {
|
|
732
|
+
d.forEach((g, b) => {
|
|
733
|
+
const x = new J();
|
|
734
|
+
for (let y = 0; y < g.length; y++) {
|
|
735
|
+
if (!g[y][0] || !g[y][1])
|
|
736
|
+
return !1;
|
|
737
|
+
const [f, P] = this.geoProjection(g[y]);
|
|
738
|
+
y === 0 && x.moveTo(f, -P), x.lineTo(f, -P);
|
|
739
|
+
}
|
|
740
|
+
const w = t.find((y) => y.name === h);
|
|
741
|
+
let G = e.defaultColor;
|
|
742
|
+
if (w)
|
|
743
|
+
for (let y = 0; y < e.rules.length; y++) {
|
|
744
|
+
const f = e.rules[y];
|
|
745
|
+
w.value >= f.min && w.value <= f.max && (G = f.color || e.defaultColor);
|
|
746
|
+
}
|
|
747
|
+
try {
|
|
748
|
+
const y = new Z(de(x)), f = new S(y, new O({
|
|
749
|
+
color: new M(G),
|
|
750
|
+
transparent: !0,
|
|
751
|
+
opacity: r ? 0 : e.opacity
|
|
752
|
+
}));
|
|
753
|
+
f.userData.depth = this.depth, f.userData.name = h, f.userData.adcode = n, f.userData.parent = c, f.userData.opacity = e.opacity, f.renderOrder = 20, f.name = "shapeArea", this.allRegionalLevel.push(f), p.add(f);
|
|
754
|
+
} catch {
|
|
755
|
+
}
|
|
756
|
+
});
|
|
757
|
+
}), p.position.set(0, 0, this.depth + 0.2);
|
|
758
|
+
const u = this.areaMapGroup.getObjectByName("meshGroup" + o);
|
|
759
|
+
if (u && u.children.length > 1) {
|
|
760
|
+
const d = this.areaMapGroup.getObjectByName("meshGroup" + o);
|
|
761
|
+
d && d.add(p);
|
|
762
|
+
}
|
|
763
|
+
}));
|
|
764
|
+
} catch {
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
createAllRegionalLevel() {
|
|
768
|
+
this.areaMapGroup.children[0].children.forEach((e) => {
|
|
769
|
+
e.remove(...e.children.filter((t) => t.name.includes("shapeGroup-")));
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
createRegionalLevelTimeLine() {
|
|
773
|
+
const e = m.timeline();
|
|
774
|
+
this.allRegionalLevel.map((t, a) => {
|
|
775
|
+
e.add(
|
|
776
|
+
m.to(t.material, {
|
|
777
|
+
duration: 0.5,
|
|
778
|
+
delay: 2e-3 * a,
|
|
779
|
+
opacity: t.userData.opacity,
|
|
780
|
+
ease: "circ.out"
|
|
781
|
+
}),
|
|
782
|
+
"RegionalLevel"
|
|
783
|
+
);
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
handleMapMousedown(e) {
|
|
787
|
+
if (e.preventDefault(), this.isMousedown = !0, !this.isMapAnimationSuccess) return;
|
|
788
|
+
const t = new q(), a = new H(), r = this.renderer.instance.domElement.getBoundingClientRect();
|
|
789
|
+
a.x = (e.clientX - r.left) / r.width * 2 - 1, a.y = -((e.clientY - r.top) / r.height) * 2 + 1, t.setFromCamera(a, this.camera.instance);
|
|
790
|
+
let i = t.intersectObjects(this.scene.children, !0);
|
|
791
|
+
i = i.filter((s) => s.object.name.includes("scatter-") || s.object.name.includes("bar-") || s.object.name.includes("flyline-") || s.object.name.includes("mapArea-")), i.length > 0 && i[0] ? this.clickMapObj = i[0] : this.clickMapObj = null;
|
|
792
|
+
}
|
|
793
|
+
handleMapMouseup(e) {
|
|
794
|
+
if (e.preventDefault(), this.isMousedown = !1, !!this.isMapAnimationSuccess && this.clickMapObj) {
|
|
795
|
+
if (this.clickMapObj.object.name.includes("scatter-") && this.clickMapObj.object.visible && this.onCallBack.onClickScatter(this.clickMapObj.object.userData), this.clickMapObj.object.name.includes("bar-") && this.clickMapObj.object.visible && this.onCallBack.onClickBar(this.clickMapObj.object.userData), this.clickMapObj.object.name.includes("flyline-") && this.clickMapObj.object.visible && this.onCallBack.onClickFlyline(this.clickMapObj.object.userData), this.clickMapObj.object.name.includes("mapArea-")) {
|
|
796
|
+
let t = this.clickMapObj.object.userData;
|
|
797
|
+
this.onCallBack.onLoadChild(t);
|
|
798
|
+
}
|
|
799
|
+
this.clickMapObj = null;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
handleHoverAreaMap(e) {
|
|
803
|
+
if (e.preventDefault(), this.clickMapObj = null, !this.isMapAnimationSuccess) return;
|
|
804
|
+
if (this.isMousedown) {
|
|
805
|
+
this.hoverAreaMap && this.reset(this.hoverAreaMap.parent);
|
|
806
|
+
return;
|
|
807
|
+
}
|
|
808
|
+
this.mouse.x = (e.clientX - this.clientRect.left) / this.clientRect.width * 2 - 1, this.mouse.y = -((e.clientY - this.clientRect.top) / this.clientRect.height) * 2 + 1, this.raycasterMousemove.setFromCamera(this.mouse, this.camera.instance);
|
|
809
|
+
let t = this.raycasterMousemove.intersectObjects(this.areaMapGroup.children, !0);
|
|
810
|
+
if (t = t.filter((a) => a.object.name.includes("mapArea-")), t.length > 0 && t[0] && t[0].object.name.includes("mapArea-")) {
|
|
811
|
+
if (this.hoverAreaMap === null) {
|
|
812
|
+
this.move(t[0].object.parent, t[0].object);
|
|
813
|
+
return;
|
|
814
|
+
}
|
|
815
|
+
this.hoverAreaMap.name !== t[0].object.name && (this.reset(this.hoverAreaMap.parent), this.move(t[0].object.parent, t[0].object));
|
|
816
|
+
} else
|
|
817
|
+
this.hoverAreaMap && this.reset(this.hoverAreaMap.parent);
|
|
818
|
+
}
|
|
819
|
+
move(e, t) {
|
|
820
|
+
try {
|
|
821
|
+
const a = this.areaMapTopMaterial.clone();
|
|
822
|
+
a.opacity = this.option.map.topMaterial.hoverOpacity || 1, e.children[0].material[0] = a;
|
|
823
|
+
const r = e.getObjectByName("lineGroup");
|
|
824
|
+
if (r && r.children && r.children[0]) {
|
|
825
|
+
const i = this.provinceLineMaterial.clone();
|
|
826
|
+
i.color = new M(this.option.map.hoverLineColor || this.option.map.lineColor || "#000000"), r.children[0].material = i;
|
|
827
|
+
}
|
|
828
|
+
} catch {
|
|
829
|
+
}
|
|
830
|
+
m.to(e.scale, { duration: 0.3, z: this.option.map.hoverDepth || 1.5 }), this.setAreaLabelMove(e.userData.adcode), this.setBarMove(e.userData.adcode), this.setBarGuangQuanMove(e.userData.adcode), this.setBarLabelMove(e.userData.adcode), this.setScatterLabelMove(e.userData.adcode), this.onCallBack.onAreaMouseover(t.userData), this.hoverAreaMap = t;
|
|
831
|
+
}
|
|
832
|
+
reset(e) {
|
|
833
|
+
try {
|
|
834
|
+
e.children[0].material[0] = this.areaMapTopMaterial;
|
|
835
|
+
const t = e.getObjectByName("lineGroup");
|
|
836
|
+
t && t.children && t.children[0] && (t.children[0].material = this.provinceLineMaterial);
|
|
837
|
+
} catch {
|
|
838
|
+
}
|
|
839
|
+
m.to(e.scale, { duration: 0.3, z: 1 }), this.setAreaLabelMove(e.userData.adcode, "down"), this.setBarMove(e.userData.adcode, "down"), this.setBarGuangQuanMove(e.userData.adcode, "down"), this.setBarLabelMove(e.userData.adcode, "down"), this.setScatterLabelMove(e.userData.adcode, "down"), this.onCallBack.onAreaMouseout(this.hoverAreaMap.userData), this.hoverAreaMap = null;
|
|
840
|
+
}
|
|
841
|
+
update() {
|
|
842
|
+
super.update();
|
|
843
|
+
}
|
|
844
|
+
destroy() {
|
|
845
|
+
try {
|
|
846
|
+
super.destroy(), this.canvas.removeEventListener("mousedown", this.handleMapMousedown.bind(this), !1), this.canvas.removeEventListener("mouseup", this.handleMapMouseup.bind(this), !1), this.canvas.removeEventListener("mousemove", this.handleHoverAreaMap.bind(this), !1), this.label3d && this.label3d.destroy(), this.groundMirror && this.groundMirror.dispose(), this.toastLoading && this.toastLoading.destroy(), this.childMap && this.childMap.destroy();
|
|
847
|
+
} catch {
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
export {
|
|
852
|
+
Ke as World
|
|
853
|
+
};
|