@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 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-other-tree"}),f=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:h,setOption:a,chart:p,renderChart:n,renderData:o}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.series[0].data=r.cloneDeep(c[0].data),a(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),a(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{o(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),o(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{o(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",v,[s.createElementVNode("div",{id:s.unref(h),class:"widget"},null,8,_)]))}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartOtherTreemap=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-other-treemap"}),f=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:h,setOption:o,chart:p,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.series[0].data=r.cloneDeep(c[0].data),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",v,[s.createElementVNode("div",{id:s.unref(h),class:"widget"},null,8,_)]))}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartOtherWordCloud=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),v=require("../../core/useChart.js"),m={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-other-word-cloud"}),f=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(u,{expose:d,emit:l}){const e=u,h=l,{id:p,setOption:i,chart:c,renderChart:n,renderData:o}=v.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:a})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",a),t.series[0].data=r.cloneDeep(a[0].data),i(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),i(t)}}})},emit:h});return s.watch(()=>e.sources,()=>{o(e.basicOption)},{deep:!0}),s.watch(()=>e.basicOption,t=>{c.value&&(c.value.clear(),n(r.cloneDeep(t)))},{deep:!0}),d({getEchartsInstance:()=>c.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),o(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{o(e.basicOption)}}),(t,a)=>(s.openBlock(),s.createElementBlock("div",m,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvChartPieBasic=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b={class:"zerov-widget"},f=["id"],_=s.defineComponent({name:"zv-chart-pie-basic"}),w=s.defineComponent({..._,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:a,renderData:n}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||a(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&a(e.basicOption),n(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},refreshData:()=>{n(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",b,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,f)]))}});exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieIndex=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue"),s=require("lodash"),v=require("../../core/useChart.js"),o=require("../../utils/parseDataset.js"),D={class:"zerov-widget"},f=["id"],_=r.defineComponent({name:"zv-chart-pie-index"}),b=r.defineComponent({..._,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(u,{expose:l,emit:d}){const e=u,p=d,{id:h,setOption:i,chart:m,renderChart:n,renderData:a}=v.useChart({basicOption:s.cloneDeep(e.basicOption),useEvents:s.cloneDeep(e.useEvents),customRenderData:t=>{t=s.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=o.parseDataset(s.cloneDeep(c)),t.title.text=(o.parseDataset(s.cloneDeep(c)).source[0][o.parseDataset(s.cloneDeep(c)).dimensions[1]]||0)+t.title.text,i(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),i(t)}}})},emit:p});return r.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption),(t,c)=>{s.isEqual(t,c)||n(t)},{deep:!0}),l({getEchartsInstance:()=>m.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(r.openBlock(),r.createElementBlock("div",D,[r.createElementVNode("div",{id:r.unref(h),class:"widget"},null,8,f)]))}});exports.default=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieRose=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),f={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-pie-rose"}),w=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",f,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieRound=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),f={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-pie-round"}),w=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",f,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvChartPieSemicircle=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),f={class:"zerov-widget"},_=["id"],b=s.defineComponent({name:"zv-chart-pie-semicircle"}),w=s.defineComponent({...b,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:l}){const e=i,d=l,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:d});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",f,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,_)]))}});exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvChartPieSunburst=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),r=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b={class:"zerov-widget"},f=["id"],_=s.defineComponent({name:"zv-chart-pie-sunburst"}),w=s.defineComponent({..._,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:d}){const e=i,l=d,{id:p,setOption:o,chart:h,renderChart:n,renderData:a}=m.useChart({basicOption:r.cloneDeep(e.basicOption),useEvents:r.cloneDeep(e.useEvents),customRenderData:t=>{t=r.cloneDeep(t),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:c})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",c),t.dataset=v.parseDataset(r.cloneDeep(c)),o(t)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(t)}}})},emit:l});return s.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),s.watch(()=>r.cloneDeep(e.basicOption),(t,c)=>{r.isEqual(t,c)||n(t)},{deep:!0}),u({getEchartsInstance:()=>h.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(t,c)=>(s.openBlock(),s.createElementBlock("div",b,[s.createElementVNode("div",{id:s.unref(p),class:"widget"},null,8,f)]))}});exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartScatterBasic=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b=require("../../utils/cloneSeries.js"),f={class:"zerov-widget"},_=["id"],w=t.defineComponent({name:"zv-chart-scatter-basic"}),D=t.defineComponent({...w,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:l}){const e=i,d=l,{id:h,setOption:o,chart:p,renderChart:n,renderData:a}=m.useChart({basicOption:c.cloneDeep(e.basicOption),useEvents:c.cloneDeep(e.useEvents),customRenderData:s=>{s=c.cloneDeep(s),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:r})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",r),s.dataset=v.parseDataset(c.cloneDeep(r)),s.series=b.cloneSeries(r,s.series),o(s)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(s)}}})},emit:d});return t.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),t.watch(()=>c.cloneDeep(e.basicOption),(s,r)=>{c.isEqual(s,r)||n(s)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(s,r)=>(t.openBlock(),t.createElementBlock("div",f,[t.createElementVNode("div",{id:t.unref(h),class:"widget"},null,8,_)]))}});exports.default=D;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),r=require("../../utils/install.js"),e=r.withInstall(t.default);exports.ZvChartScatterBasic2=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("lodash"),m=require("../../core/useChart.js"),v=require("../../utils/parseDataset.js"),b=require("../../utils/cloneSeries.js"),f={class:"zerov-widget"},_=["id"],w=t.defineComponent({name:"zv-chart-scatter-basic2"}),D=t.defineComponent({...w,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["chart-click","chart-dblclick","chart-mousedown","chart-mouseover","chart-mouseout","chart-contextmenu"],setup(i,{expose:u,emit:l}){const e=i,d=l,{id:h,setOption:o,chart:p,renderChart:n,renderData:a}=m.useChart({basicOption:c.cloneDeep(e.basicOption),useEvents:c.cloneDeep(e.useEvents),customRenderData:s=>{s=c.cloneDeep(s),window.SHJDatasourceV2({tId:e.uuid,sources:e.sources,callback:({data:r})=>{try{window.SHJParseEvent(e.useEvents,"dataListener",r),s.dataset=v.parseDataset(c.cloneDeep(r)),s.series=b.cloneSeries(r,s.series),o(s)}catch{window.SHJParseEvent(e.useEvents,"dataListener",null),o(s)}}})},emit:d});return t.watch(()=>e.sources,()=>{e.sources&&e.sources.length>0&&a(e.basicOption)},{deep:!0}),t.watch(()=>c.cloneDeep(e.basicOption),(s,r)=>{c.isEqual(s,r)||n(s)},{deep:!0}),u({getEchartsInstance:()=>p.value,refresh:()=>{e.sources&&e.sources.length>0&&n(e.basicOption),a(e.basicOption)},refreshView:()=>{e.sources&&e.sources.length>0&&n(e.basicOption)},refreshData:()=>{a(e.basicOption)}}),(s,r)=>(t.openBlock(),t.createElementBlock("div",f,[t.createElementVNode("div",{id:t.unref(h),class:"widget"},null,8,_)]))}});exports.default=D;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";var p=Object.defineProperty;var m=(a,i,t)=>i in a?p(a,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[i]=t;var f=(a,i,t)=>m(a,typeof i!="symbol"?i+"":i,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("@babylonjs/core");function h(a){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(i,t,s.get?s:{enumerable:!0,get:()=>a[t]})}}return i.default=a,Object.freeze(i)}const y=h(g),v=a=>{const i=l.ref(),t=l.ref(!1);class s{constructor(){f(this,"_iframe");this._iframe=i.value}fastEval(n){const e=this._iframe.contentWindow.document.getElementsByTagName("head")[0],r=this._iframe.contentWindow.document.createElement("script");r.setAttribute("type","text/javascript");const o=this._iframe.contentWindow.document.createElement("style");o.innerHTML=`
|
|
2
|
+
*{
|
|
3
|
+
margin:0;
|
|
4
|
+
padding:0;
|
|
5
|
+
}
|
|
6
|
+
body, html {
|
|
7
|
+
height:100%;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
position: relative;
|
|
11
|
+
}
|
|
12
|
+
#renderCanvas {
|
|
13
|
+
width:100%;
|
|
14
|
+
height:100%;
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
outline: none !important;
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset: 0;
|
|
19
|
+
}
|
|
20
|
+
`,r.innerHTML=`
|
|
21
|
+
try {
|
|
22
|
+
${n};
|
|
23
|
+
} catch(e) {
|
|
24
|
+
handleException(e);
|
|
25
|
+
}`,e.innerHTML="",e.appendChild(o),e.appendChild(r)}async loadScriptAsync(n){return new Promise(e=>{const r=document.createElement("script");r.src=n,r.onload=()=>{e()},document.head.appendChild(r)})}async compileAndRunAsync(n){try{if(n.includes("window.")||n.includes("parent.")||n.includes("top."))return;t.value=!0;const e=this._iframe.contentWindow;if(e.engine){try{e.engine.dispose(),e.scene.dispose()}catch{}e.engine=null,e.scene=null}delete e.engine,delete e.scene,delete e.initFunction,delete e.canvas;let r=e.document.getElementById("renderCanvas");if(r||(r=e.document.createElement("canvas"),r.id="renderCanvas",e.document.body.appendChild(r)),e.BABYLON=y,!r||(e.canvas=r,!n))return;let o="createDefaultEngine",c="";if(n.indexOf("createEngine")!==-1&&(o="createEngine"),n.indexOf("delayCreateScene")!==-1?c="delayCreateScene":n.indexOf("createScene")!==-1?c="createScene":n.indexOf("CreateScene")!==-1?c="CreateScene":n.indexOf("createscene")!==-1&&(c="createscene"),!c)t.value=!1;else{n+=`
|
|
26
|
+
window.initFunction = async function() {
|
|
27
|
+
window.engine = new BABYLON.Engine(canvas, true);
|
|
28
|
+
`,n+=`
|
|
29
|
+
|
|
30
|
+
if (!engine) throw 'engine should not be null.';`,n+=`
|
|
31
|
+
|
|
32
|
+
engine.runRenderLoop(function () {
|
|
33
|
+
if(window.scene){
|
|
34
|
+
scene.render();
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
`,n+=`\r
|
|
38
|
+
window.scene = `+c+"();",n+=`
|
|
39
|
+
|
|
40
|
+
}`;try{this.fastEval(n)}catch{}try{await e.initFunction()}catch{}if(!e.engine)return;e.scene,t.value=!1}}catch{t.value=!1}}}const u=l.ref();return l.onMounted(()=>{u.value=new s,u.value.compileAndRunAsync(a.code)}),{iframeRef:i,loadingStatus:t,renderingComponent:u}};exports.useBabaylon=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvCommonsBabylon=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("lodash"),c=require("./compileAndRunBabylon.js"),l={class:"zerov-widget"},u=e.defineComponent({name:"zv-commons-babylon"}),d=e.defineComponent({...u,props:{basicOption:{}},setup(s){const n=s,{iframeRef:a,renderingComponent:t}=c.useBabaylon(n.basicOption);return e.watch(()=>r.cloneDeep(n.basicOption),(o,i)=>{!r.isEqual(o,i)&&t.value&&t.value.compileAndRunAsync(o.code)},{deep:!0}),(o,i)=>(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("iframe",{ref_key:"iframeRef",ref:a,style:{width:"100%",height:"100%",border:"0"},sandbox:"allow-scripts allow-same-origin"},null,512)]))}});exports.default=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";var y=Object.defineProperty;var w=(n,r,o)=>r in n?y(n,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[r]=o;var p=(n,r,o)=>w(n,typeof r!="symbol"?r+"":r,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("vue"),g=require("echarts"),v=require("nanoid");function b(n){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const o in n)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(n,o);Object.defineProperty(r,o,c.get?c:{enumerable:!0,get:()=>n[o]})}}return r.default=n,Object.freeze(r)}const C=b(g),E=(n,r,o)=>{const c=d.ref(),s=d.ref(!1);class f{constructor(){p(this,"_iframe");this._iframe=c.value}fastEval(i){const t=this._iframe.contentWindow.document.getElementsByTagName("head")[0],e=this._iframe.contentWindow.document.createElement("script");e.setAttribute("type","text/javascript");const a=this._iframe.contentWindow.document.createElement("style");a.innerHTML=`
|
|
2
|
+
*{
|
|
3
|
+
margin:0;
|
|
4
|
+
padding:0;
|
|
5
|
+
}
|
|
6
|
+
body, html {
|
|
7
|
+
height:100%;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
}
|
|
11
|
+
#renderDom {
|
|
12
|
+
width:100%;
|
|
13
|
+
height:100%;
|
|
14
|
+
background-color: transparent;
|
|
15
|
+
outline: none !important;
|
|
16
|
+
}
|
|
17
|
+
`,e.innerHTML=`
|
|
18
|
+
try {
|
|
19
|
+
${i};
|
|
20
|
+
} catch(e) {
|
|
21
|
+
handleException(e);
|
|
22
|
+
}`,t.innerHTML="",t.appendChild(a),t.appendChild(e)}async loadScriptAsync(i){return new Promise(t=>{const e=document.createElement("script");e.src=i,e.onload=()=>{t()},document.head.appendChild(e)})}async compileAndRunAsync(i){try{if(i.includes("window.")||i.includes("parent.")||i.includes("top."))return;let t="";s.value=!0;const e=this._iframe.contentWindow;if(e.myChart){try{e.myChart.dispose()}catch{}e.myChart=null,e.option=null}delete e.myChart,delete e.option,delete e.renderDom,delete e.initFunction;let a=e.document.getElementById("renderDom");if(a||(a=e.document.createElement("div"),a.id="renderDom",e.document.body.appendChild(a)),e.echarts=C,!a||(e.renderDom=a,!i))return;t+=`
|
|
23
|
+
window.initFunction = async function() {
|
|
24
|
+
window.myChart = echarts.init(renderDom, null, {
|
|
25
|
+
renderer: 'svg'
|
|
26
|
+
});
|
|
27
|
+
window.option;
|
|
28
|
+
`,t+=i,t+=`
|
|
29
|
+
|
|
30
|
+
option && myChart.setOption(option);`,t+=`
|
|
31
|
+
|
|
32
|
+
}`;try{this.fastEval(t)}catch{}try{await e.initFunction()}catch{}if(!e.option)return;s.value=!1}catch{s.value=!1}}}const u=m=>{window.SHJDatasourceV2({tId:v.nanoid(),sources:r,callback:({data:i})=>{try{window.SHJParseEvent(o,"dataListener",i);const t=`var echartsData = ${JSON.stringify(i[0].data[0].echartsData)};`;l.value.compileAndRunAsync(t+`
|
|
33
|
+
`+m)}catch{window.SHJParseEvent(o,"dataListener",null)}}})},l=d.ref();return d.onMounted(()=>{l.value=new f,u(n.code)}),{iframeRef:c,loadingStatus:s,renderingComponent:l,initEcharts:u}};exports.useEcharts=E;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),s=require("../../utils/install.js"),e=s.withInstall(t.default);exports.ZvCommonsEcharts=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),c=require("lodash"),l=require("./compileAndRunEcharts.js"),d={class:"zerov-widget"},p=o.defineComponent({name:"zv-commons-echarts"}),f=o.defineComponent({...p,props:{basicOption:{},sources:{},useEvents:{}},setup(n,{expose:a}){const e=n,{iframeRef:u,renderingComponent:i,initEcharts:s}=l.useEcharts(e.basicOption,e.sources,e.useEvents);return o.watch(()=>c.cloneDeep(e.basicOption),(t,r)=>{!c.isEqual(t,r)&&i.value&&s(t.code)},{deep:!0}),o.watch(()=>c.cloneDeep(e.sources),(t,r)=>{!c.isEqual(t,r)&&i.value&&s(e.basicOption.code)},{deep:!0}),a({refreshData:()=>{s(e.basicOption.code)},refreshView:()=>{s(e.basicOption.code)},refresh:()=>{s(e.basicOption.code)}}),(t,r)=>(o.openBlock(),o.createElementBlock("div",d,[o.createElementVNode("iframe",{ref_key:"iframeRef",ref:u,style:{width:"100%",height:"100%",border:"0"},sandbox:"allow-scripts allow-same-origin"},null,512)]))}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvCommonsGaussianSplattingView=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-f24d6214"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var z=Object.defineProperty;var B=(u,i,h)=>i in u?z(u,i,{enumerable:!0,configurable:!0,writable:!0,value:h}):u[i]=h;var p=(u,i,h)=>B(u,typeof i!="symbol"?i+"":i,h);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");require("@babylonjs/loaders/glTF");const D=require("@vueuse/core"),n=require("@babylonjs/core"),c=require("lodash"),b=require("../../utils/babylon/ColorConvert.js"),x={class:"zerov-widget"},T={key:0,ref:"babylonLoadingRef",class:"babylon-loading"},_=o.defineComponent({name:"zv-commons-gaussian-splatting-view"}),q=o.defineComponent({..._,props:{basicOption:{},basicEvents:{}},setup(u){const i=u,h=(s,r)=>{const d=o.ref(),v=o.ref(!0);class R{constructor(e){p(this,"loadingUIBackgroundColor");this.loadingUIText=e}displayLoadingUI(){d.value&&(v.value=!0)}hideLoadingUI(){d.value&&(v.value=!1)}}class S{constructor(e,l,t){p(this,"scene");p(this,"engine");p(this,"gs");this.canvas=e,this.option=l,this.events=t;try{this.engine=new n.Engine(this.canvas,!0,{},!1),this.engine.loadingScreen=new R(""),window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}catch{}}createScene(){return this.engine.displayLoadingUI(),this.scene=new n.Scene(this.engine),this.option.scene.colorShow?this.scene.clearColor=b.hex2Color4(this.option.scene.color,new n.Color4(0,0,0,0)):this.scene.clearColor=new n.Color4(0,0,0,0),this.scene.fogEnabled=this.option.scene.fogEnabled,this.scene.fogMode=this.option.scene.fogMode||1,this.scene.fogColor=b.hex2Color3(this.option.scene.fogColor,new n.Color3(1,1,1)),this.scene.fogEnd=this.option.scene.fogEnd||60,this.scene.fogStart=this.option.scene.fogStart||1,this.scene.fogDensity=this.option.scene.fogDensity||.1,this.createCamera(this.option.camera,this.scene),this.gs=new n.GaussianSplattingMesh("",null,this.scene),this.gs.loadFileAsync(this.option.meshs.url).then(()=>{this.setGSSize(this.option.meshs),setTimeout(()=>{this.engine.hideLoadingUI()},100)}),this.scene}setGSSize(e){if(e.autoSize){const t=this.gs.getBoundingInfo().boundingBox,f=.7/(Math.max(t.maximumWorld.x-t.minimumWorld.x,t.maximumWorld.y-t.minimumWorld.y,t.maximumWorld.z-t.minimumWorld.z)||1);this.gs.scaling=new n.Vector3(f,f,f);const E=t.centerWorld;this.gs.position=this.gs.position.subtract(E.multiplyByFloats(f,f,f)),this.gs.rotation=new n.Vector3(0,0,0)}else{const{position:l,scaling:t,rotation:m}=e;this.gs.position.set(l[0]||0,l[1]||0,l[2]||0),this.gs.scaling.set(t[0]||1,t[1]||1,t[2]||1),this.gs.rotation=new n.Vector3(m[0]||0,m[1]||0,m[2]||0)}}updateScene(e){e.colorShow?this.scene.clearColor=b.hex2Color4(e.color,new n.Color4(1,1,1,1)):this.scene.clearColor=new n.Color4(0,0,0,0),this.scene.fogEnabled=e.fogEnabled,this.scene.fogMode=e.fogMode||1,this.scene.fogColor=b.hex2Color3(e.fogColor,new n.Color3(1,1,1)),this.scene.fogEnd=e.fogEnd||60,this.scene.fogStart=e.fogStart||1,this.scene.fogDensity=e.fogDensity||.1}createCamera(e,l){const t=new n.ArcRotateCamera("",n.Tools.ToRadians(e.alpha||90),n.Tools.ToRadians(e.beta||75),e.radius||1,new n.Vector3(...e.target),l);t.attachControl(d.value,!0),t.useAutoRotationBehavior=e.autoRotation,t.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,t.zoomToMouseLocation=e.zoomToMouseLocation,t.lowerRadiusLimit=e.lowerRadiusLimit,t.upperRadiusLimit=e.upperRadiusLimit,t.minZ=.01}updateCamera(e){const l=this.scene.activeCamera;l&&(e.radius&&(l.radius=e.radius),l.beta=n.Tools.ToRadians(e.beta),l.alpha=n.Tools.ToRadians(e.alpha),l.useAutoRotationBehavior=e.autoRotation,l.zoomToMouseLocation=e.zoomToMouseLocation,l.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,l.lowerRadiusLimit=e.lowerRadiusLimit,l.upperRadiusLimit=e.upperRadiusLimit,l.target=new n.Vector3(...e.target))}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose(),this.gs.dispose(),this.gs=null)}}const g=o.ref();return o.onMounted(()=>{s.meshs&&(g.value=new S(d.value,s,r).run(),D.useResizeObserver(d.value,y=>{g.value&&g.value.engine.resize()}))}),o.onBeforeUnmount(()=>{g.value&&g.value.dispose()}),{canvasRef:d,babylon:g,Babylon:S,babylonLoadingStatus:v}},{babylon:a,Babylon:L,canvasRef:w,babylonLoadingStatus:C}=h(i.basicOption,i.basicEvents);return o.watch(()=>c.cloneDeep(i.basicOption.scene),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.updateScene(s)},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.url),(s,r)=>{!c.isEqual(s,r)&&a.value&&(a.value.dispose(),a.value=new L(w.value,i.basicOption,i.basicEvents).run())},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.position),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&a.value.gs.position.set(s[0],s[1],s[2])},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.scaling),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&a.value.gs.scaling.set(s[0],s[1],s[2])},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.rotation),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&(a.value.gs.rotation=new n.Vector3(s[0],s[1],s[2]))},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.meshs.autoSize),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.gs&&a.value.setGSSize(i.basicOption.meshs)},{deep:!0}),o.watch(()=>c.cloneDeep(i.basicOption.camera),(s,r)=>{!c.isEqual(s,r)&&a.value&&a.value.updateCamera(s)},{deep:!0}),(s,r)=>(o.openBlock(),o.createElementBlock("div",x,[o.createElementVNode("canvas",{ref_key:"canvasRef",ref:w,class:o.normalizeClass(["widget",{show:!o.unref(C)}])},null,2),o.unref(C)?(o.openBlock(),o.createElementBlock("div",T," 正在加载模型... ",512)):o.createCommentVNode("",!0)]))}});exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsProductModel=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-4eda2982"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var B=Object.defineProperty;var M=(f,u,m)=>u in f?B(f,u,{enumerable:!0,configurable:!0,writable:!0,value:m}):f[u]=m;var c=(f,u,m)=>M(f,typeof u!="symbol"?u+"":u,m);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("vue");require("@babylonjs/loaders/glTF");const l=require("lodash"),R=require("@vueuse/core"),o=require("@babylonjs/core"),p=require("../../utils/babylon/ColorConvert.js"),F={class:"zerov-widget"},G=i.defineComponent({name:"zv-commons-product-model"}),T=i.defineComponent({...G,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(f,{expose:u,emit:m}){const L=m,r=f,A=(t,n)=>{const g=i.ref(),v=i.ref(),y=i.ref(!0);class D{constructor(e){c(this,"loadingUIBackgroundColor");this.loadingUIText=e}displayLoadingUI(){g.value&&(y.value=!0)}hideLoadingUI(){g.value&&(y.value=!1)}}class C{constructor(e,a,d){c(this,"scene");c(this,"engine");c(this,"environmentHelper");c(this,"shadowsLight");c(this,"shadowGenerator");c(this,"defaultPipeline");this.canvas=e,this.option=a,this.events=d;try{this.engine=new o.Engine(this.canvas,!0,{},!1),this.engine.loadingScreen=new D(""),window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}catch{}}createScene(){return this.engine.displayLoadingUI(),this.scene=new o.Scene(this.engine),this.option.scene.colorShow?this.scene.clearColor=p.hex2Color4(this.option.scene.color,new o.Color4(0,0,0,0)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=this.option.scene.fogEnabled,this.scene.fogMode=this.option.scene.fogMode||1,this.scene.fogColor=p.hex2Color3(this.option.scene.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=this.option.scene.fogEnd||60,this.scene.fogStart=this.option.scene.fogStart||1,this.scene.fogDensity=this.option.scene.fogDensity||.1,this.scene.createDefaultCamera(!0,!1,!0),this.updateMeshs(this.scene),this.scene}updateScenePipeline(e){this.scene.activeCamera&&e&&(e.enabled?(this.defaultPipeline||(this.defaultPipeline=new o.DefaultRenderingPipeline("defaultPipeline",!0,this.scene,[this.scene.activeCamera])),this.defaultPipeline.samples=e.samples?4:1,this.defaultPipeline.fxaaEnabled=e.fxaaEnabled,this.defaultPipeline.grainEnabled=e.grainEnabled,this.defaultPipeline.grain.intensity=e.grainIntensity,this.defaultPipeline.grain.animated=e.grainAnimated,this.defaultPipeline.bloomEnabled=e.bloomEnabled,this.defaultPipeline.bloomThreshold=e.bloomThreshold,this.defaultPipeline.bloomWeight=e.bloomWeight,this.defaultPipeline.bloomKernel=e.bloomKernel,this.defaultPipeline.bloomScale=e.bloomScale,this.defaultPipeline.depthOfFieldEnabled=e.depthOfFieldEnabled,e.depthOfFieldBlurLevel<1?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Low:e.depthOfFieldBlurLevel<2?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Medium:e.depthOfFieldBlurLevel<3&&(this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.High),this.defaultPipeline.depthOfField.focusDistance=e.depthOfFieldFocusDistance,this.defaultPipeline.depthOfField.fStop=e.depthOfFieldFStop,this.defaultPipeline.depthOfField.focalLength=e.depthOfFieldFocalLength,this.defaultPipeline.chromaticAberrationEnabled=e.chromaticAberrationEnabled,this.defaultPipeline.chromaticAberration.aberrationAmount=e.chromaticAberrationAberrationAmount,this.defaultPipeline.chromaticAberration.radialIntensity=e.chromaticAberrationRadialIntensity,e.chromaticAberrationDirection===0?(this.defaultPipeline.chromaticAberration.direction.x=0,this.defaultPipeline.chromaticAberration.direction.y=0):(this.defaultPipeline.chromaticAberration.direction.x=Math.sin(e.chromaticAberrationDirection),this.defaultPipeline.chromaticAberration.direction.y=Math.cos(e.chromaticAberrationDirection)),this.defaultPipeline.sharpenEnabled=e.sharpenEnabled,this.defaultPipeline.sharpen.edgeAmount=e.sharpenEdgeAmount,this.defaultPipeline.sharpen.colorAmount=e.sharpenColorAmount):this.defaultPipeline&&(this.defaultPipeline.dispose(),this.defaultPipeline=null))}updateScene(e){e.colorShow?this.scene.clearColor=p.hex2Color4(e.color,new o.Color4(1,1,1,1)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=e.fogEnabled,this.scene.fogMode=e.fogMode||1,this.scene.fogColor=p.hex2Color3(e.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=e.fogEnd||60,this.scene.fogStart=e.fogStart||1,this.scene.fogDensity=e.fogDensity||.1}updateShadowsLight(e){if(e.show){if(this.shadowsLight){this.shadowsLight.direction=new o.Vector3(...e.direction),this.shadowsLight.position=new o.Vector3(...e.position),this.shadowsLight.intensity=e.intensity,this.shadowsLight.diffuse=p.hex2Color3(e.diffuse,o.Color3.White()),this.shadowGenerator.mapSize=e.mapSize;return}this.shadowsLight=new o.DirectionalLight("shadowsLight",new o.Vector3(...e.direction),this.scene),this.shadowsLight.intensity=e.intensity||.6,this.shadowsLight.diffuse=p.hex2Color3(e.diffuse,o.Color3.White()),this.shadowsLight.position=new o.Vector3(...e.position),this.shadowGenerator=new o.ShadowGenerator(e.mapSize,this.shadowsLight)}else this.shadowsLight&&(this.shadowsLight.dispose(),this.shadowsLight=null)}updateCamera(e){const a=this.scene.activeCamera;a&&(e.radius&&(a.radius=e.radius),a.beta=o.Tools.ToRadians(e.beta),a.alpha=o.Tools.ToRadians(e.alpha),a.useAutoRotationBehavior=e.autoRotation,a.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,a.lowerRadiusLimit=e.lowerRadiusLimit,a.upperRadiusLimit=e.upperRadiusLimit,a.lowerBetaLimit=0,a.upperBetaLimit=Math.PI/2.1)}updateDefaultEnvironment(e){this.environmentHelper&&this.environmentHelper.dispose(),this.environmentHelper=this.scene.createDefaultEnvironment({createGround:e.createGround,groundColor:p.hex2Color3(e.groundColor,new o.Color3(1,1,1)),groundSize:e.groundSize||15,groundOpacity:e.groundOpacity||1,enableGroundShadow:e.enableGroundShadow,groundShadowLevel:e.groundShadowLevel||.5,enableGroundMirror:e.enableGroundMirror===void 0?!0:e.enableGroundMirror,groundMirrorSizeRatio:e.groundMirrorSizeRatio||.3,groundMirrorBlurKernel:e.groundMirrorBlurKernel||64,groundMirrorAmount:e.groundMirrorAmount||1,groundMirrorFresnelWeight:e.groundMirrorFresnelWeight||1,groundYBias:e.groundYBias||0,createSkybox:e.createSkybox,skyboxSize:e.skyboxSize||20,...e.skyboxTexture?{skyboxTexture:e.skyboxTexture}:{},sizeAuto:!0,...e.environmentTexture?{environmentTexture:e.environmentTexture}:{},cameraExposure:e.cameraExposure||.6,cameraContrast:e.cameraContrast||1.6}),this.environmentHelper.ground&&(this.environmentHelper.ground.position.y+=.01)}updateMeshs(e){e.meshes.forEach(a=>setTimeout(()=>a.dispose())),o.SceneLoader.ImportMeshAsync("",this.option.meshs.url,"",e,a=>{v.value=(a.loaded/a.total*100).toFixed(2)}).then(a=>{const d=a.meshes;if(this.option.animationGroups=e.animationGroups.map(h=>({uniqueId:h.uniqueId,name:h.name})),this.events&&(this.events.function[0].args[0].select=e.animationGroups.map(h=>({name:h.name,value:h.name}))),this.option.defaultAnimation&&this.option.defaultAnimation.name?this.playAnimation(this.option.defaultAnimation.name,{loop:this.option.defaultAnimation.loop,speedRatio:this.option.defaultAnimation.speedRatio}):e.animationGroups&&e.animationGroups[0]&&e.animationGroups[0].stop(),this.updateShadowsLight(this.option.shadow),e.createDefaultCamera(!0,!0,!0),this.updateCamera(this.option.camera),this.updateScenePipeline(this.option.pipelineOption),this.updateDefaultEnvironment(this.option.environment),this.option.meshs.isCasterShadow&&this.shadowGenerator){this.shadowGenerator.addShadowCaster(e.meshes[0],!0);for(let h=0;h<d.length;h++)d[h].receiveShadows=!1}d[0].position=new o.Vector3(...this.option.meshs.position),setTimeout(()=>{this.engine.hideLoadingUI(),L("on-load-success"),window.SHJParseEvent(r.useEvents,"on-load-success")},100)})}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}playAnimation(e,a={loop:!1,speedRatio:1}){if(this.scene){this.scene.stopAllAnimations();const d=this.scene.getAnimationGroupByName(e);d&&(L("on-play-animation"),window.SHJParseEvent(r.useEvents,"on-play-animation"),d.start(a.loop,a.speedRatio,d.from,d.to,!1))}}}const b=i.ref();return i.onMounted(()=>{t.meshs&&(b.value=new C(g.value,t,n).run(),R.useResizeObserver(g.value,P=>{b.value&&b.value.engine.resize()}))}),i.onBeforeUnmount(()=>{b.value&&b.value.dispose()}),{canvasRef:g,babylon:b,Babylon:C,babylonLoadingStatus:y,babylonLoadingTitle:v}},{canvasRef:w,babylon:s,Babylon:E,babylonLoadingStatus:S,babylonLoadingTitle:x}=A(r.basicOption,r.basicEvents);return u({playAnimation:(t,n)=>{const g=t[0].value,v={loop:t[1].keys[0].defaultValue,speedRatio:t[1].keys[1].defaultValue};s.value.playAnimation(g,v)}}),i.watch(()=>l.cloneDeep(r.basicOption.environment),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateDefaultEnvironment(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.shadow),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateShadowsLight(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.camera),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateCamera(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.meshs),(t,n)=>{!l.isEqual(t,n)&&s.value&&(s.value.dispose(),s.value=new E(w.value,r.basicOption,r.basicEvents).run())},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.defaultAnimation),(t,n)=>{!l.isEqual(t,n)&&s.value&&(s.value.dispose(),s.value=new E(w.value,r.basicOption,r.basicEvents).run())},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.scene),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateScene(t)},{deep:!0}),i.watch(()=>l.cloneDeep(r.basicOption.pipelineOption),(t,n)=>{!l.isEqual(t,n)&&s.value&&s.value.updateScenePipeline(t)},{deep:!0}),(t,n)=>(i.openBlock(),i.createElementBlock("div",F,[i.createElementVNode("canvas",{ref_key:"canvasRef",ref:w,class:i.normalizeClass(["widget",{show:!i.unref(S)}])},null,2),i.unref(S)?(i.openBlock(),i.createElementBlock("div",{key:0,ref:"babylonLoadingRef",class:"babylon-loading"}," 正在加载模型...("+i.toDisplayString(i.unref(x))+"%) ",513)):i.createCommentVNode("",!0)]))}});exports.default=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsQrcode=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-106420a4"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),n=require("qrcode.vue"),r=o.defineComponent({name:"zv-commons-qrcode"}),u=o.defineComponent({...r,props:{basicOption:{}},setup(a){return(e,c)=>(o.openBlock(),o.createBlock(n,{value:e.basicOption.value,class:"qrcode",level:e.basicOption.level,background:e.basicOption.background,foreground:e.basicOption.foreground,"render-as":"svg"},null,8,["value","level","background","foreground"]))}});exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),u=require("../../utils/install.js"),e=u.withInstall(t.default);exports.ZvCommonsSvg=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("xss"),o=["innerHTML"],a=e.defineComponent({name:"zv-commons-svg"}),l=e.defineComponent({...a,props:{basicOption:{}},setup(t){const s=t,i=e.computed(()=>r(s.basicOption.code,{whiteList:{svg:["width","height","viewBox","xmlns","fill","stroke","stroke-width","opacity","style","class","id","xmlns:xlink"],g:["fill","stroke","stroke-width","opacity","transform","class","id"],path:["d","fill","stroke","stroke-width","opacity","transform","class","id"],rect:["width","height","x","y","rx","ry","fill","stroke","stroke-width","opacity","transform","class","id"],circle:["cx","cy","r","fill","stroke","stroke-width","opacity","transform","class","id"],ellipse:["cx","cy","rx","ry","fill","stroke","stroke-width","opacity","transform","class","id"],line:["x1","y1","x2","y2","stroke","stroke-width","opacity","transform","class","id"],polyline:["points","fill","stroke","stroke-width","opacity","transform","class","id"],polygon:["points","fill","stroke","stroke-width","opacity","transform","class","id"],text:["x","y","dx","dy","rotate","textLength","lengthAdjust","font-size","fill","stroke","stroke-width","opacity","transform","class","id","text-anchor"],tspan:["x","y","dx","dy","rotate","textLength","lengthAdjust","font-size","fill","stroke","stroke-width","opacity","transform","class","id"],defs:["class","id"],linearGradient:["id","x1","y1","x2","y2","gradientUnits","gradientTransform","spreadMethod","class"],radialGradient:["id","cx","cy","r","fx","fy","gradientUnits","gradientTransform","spreadMethod","class"],stop:["offset","stop-color","stop-opacity","class"],clipPath:["id","class"],pattern:["id","width","height","patternUnits","patternTransform","viewBox","preserveAspectRatio","class"],use:["href","x","y","width","height","fill","stroke","stroke-width","opacity","transform","class","id"],symbol:["id","viewBox","preserveAspectRatio","class"],image:["href","x","y","width","height","preserveAspectRatio","transform","class","id"],animate:["attributeName","from","to","begin","dur","repeatCount","fill","class","id"],animateMotion:["path","keyPoints","keyTimes","rotate","from","to","begin","dur","repeatCount","fill","class","id"],animateTransform:["attributeName","type","from","to","begin","dur","repeatCount","fill","class","id"],marker:["id","viewBox","refX","refY","markerWidth","markerHeight","orient","class"],foreignObject:["x","y","width","height","class","id"],filter:["id","x","y","width","height","filterUnits","primitiveUnits","class"],feGaussianBlur:["in","stdDeviation","class"],feOffset:["in","dx","dy","result","class"],feBlend:["in","in2","mode","class"],feColorMatrix:["in","type","values","class"],feComponentTransfer:["in","class"],feComposite:["in","in2","operator","k1","k2","k3","k4","class"],feFlood:["flood-color","flood-opacity","result","class"],feImage:["href","result","preserveAspectRatio","class"],feMerge:["class"],feMergeNode:["in","class"],feMorphology:["in","operator","radius","result","class"],feSpecularLighting:["in","surfaceScale","specularConstant","specularExponent","result","class"],feTile:["in","result","class"],feTurbulence:["baseFrequency","numOctaves","seed","stitchTiles","type","class"]},stripIgnoreTag:!0,stripIgnoreTagBody:["script"]}));return(n,c)=>(e.openBlock(),e.createElementBlock("div",{innerHTML:i.value,class:"zerov-widget svg-wrap"},null,8,o))}});exports.default=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsThreeLoader=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-5f67ca98"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var T=Object.defineProperty;var F=(f,c,p)=>c in f?T(f,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[c]=p;var v=(f,c,p)=>F(f,typeof c!="symbol"?c+"":c,p);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("@babylonjs/loaders/glTF");const r=require("lodash"),o=require("@babylonjs/core"),z=require("@vueuse/core"),d=require("../../utils/babylon/ColorConvert.js"),M={class:"zerov-widget"},q=n.defineComponent({name:"zv-commons-three-loader"}),I=n.defineComponent({...q,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(f,{expose:c,emit:p}){const L=p,h=f,D=(t,l)=>{const b=n.ref(),P=n.ref(),w=n.ref(!0);class B{constructor(e){v(this,"loadingUIBackgroundColor");this.loadingUIText=e}displayLoadingUI(){b.value&&(w.value=!0)}hideLoadingUI(){b.value&&(w.value=!1)}}class A{constructor(e,s,i){v(this,"scene");v(this,"engine");v(this,"meshe");v(this,"defaultPipeline");this.canvas=e,this.option=s,this.events=i;try{this.engine=new o.Engine(this.canvas,!0,{},!1),this.engine.loadingScreen=new B(""),window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}catch{}}createScene(){return this.scene=new o.Scene(this.engine),this.option.scene.colorShow?this.scene.clearColor=d.hex2Color4(this.option.scene.color,new o.Color4(1,1,1,1)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=this.option.scene.fogEnabled,this.scene.fogMode=this.option.scene.fogMode||1,this.scene.fogColor=d.hex2Color3(this.option.scene.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=this.option.scene.fogEnd||60,this.scene.fogStart=this.option.scene.fogStart||1,this.scene.fogDensity=this.option.scene.fogDensity||.1,this.createCamera(this.option.camera,this.scene),this.createLights(this.option.lights,this.scene),this.createMeshs(this.scene),this.scene}updateScenePipeline(e){this.scene.activeCamera&&e&&(e.enabled?(this.defaultPipeline||(this.defaultPipeline=new o.DefaultRenderingPipeline("defaultPipeline",!0,this.scene,[this.scene.activeCamera])),this.defaultPipeline.samples=e.samples?4:1,this.defaultPipeline.fxaaEnabled=e.fxaaEnabled,this.defaultPipeline.grainEnabled=e.grainEnabled,this.defaultPipeline.grain.intensity=e.grainIntensity,this.defaultPipeline.grain.animated=e.grainAnimated,this.defaultPipeline.bloomEnabled=e.bloomEnabled,this.defaultPipeline.bloomThreshold=e.bloomThreshold,this.defaultPipeline.bloomWeight=e.bloomWeight,this.defaultPipeline.bloomKernel=e.bloomKernel,this.defaultPipeline.bloomScale=e.bloomScale,this.defaultPipeline.depthOfFieldEnabled=e.depthOfFieldEnabled,e.depthOfFieldBlurLevel<1?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Low:e.depthOfFieldBlurLevel<2?this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.Medium:e.depthOfFieldBlurLevel<3&&(this.defaultPipeline.depthOfFieldBlurLevel=o.DepthOfFieldEffectBlurLevel.High),this.defaultPipeline.depthOfField.focusDistance=e.depthOfFieldFocusDistance,this.defaultPipeline.depthOfField.fStop=e.depthOfFieldFStop,this.defaultPipeline.depthOfField.focalLength=e.depthOfFieldFocalLength,this.defaultPipeline.chromaticAberrationEnabled=e.chromaticAberrationEnabled,this.defaultPipeline.chromaticAberration.aberrationAmount=e.chromaticAberrationAberrationAmount,this.defaultPipeline.chromaticAberration.radialIntensity=e.chromaticAberrationRadialIntensity,e.chromaticAberrationDirection===0?(this.defaultPipeline.chromaticAberration.direction.x=0,this.defaultPipeline.chromaticAberration.direction.y=0):(this.defaultPipeline.chromaticAberration.direction.x=Math.sin(e.chromaticAberrationDirection),this.defaultPipeline.chromaticAberration.direction.y=Math.cos(e.chromaticAberrationDirection)),this.defaultPipeline.sharpenEnabled=e.sharpenEnabled,this.defaultPipeline.sharpen.edgeAmount=e.sharpenEdgeAmount,this.defaultPipeline.sharpen.colorAmount=e.sharpenColorAmount):this.defaultPipeline&&(this.defaultPipeline.dispose(),this.defaultPipeline=null))}updateScene(e){e.colorShow?this.scene.clearColor=d.hex2Color4(e.color,new o.Color4(1,1,1,1)):this.scene.clearColor=new o.Color4(0,0,0,0),this.scene.fogEnabled=e.fogEnabled,this.scene.fogMode=e.fogMode||1,this.scene.fogColor=d.hex2Color3(e.fogColor,new o.Color3(1,1,1)),this.scene.fogEnd=e.fogEnd||60,this.scene.fogStart=e.fogStart||1,this.scene.fogDensity=e.fogDensity||.1}createCamera(e,s){const i=new o.ArcRotateCamera("",o.Tools.ToRadians(e.alpha||90),o.Tools.ToRadians(e.beta||75),e.radius||1,new o.Vector3(...e.target),s);i.attachControl(b.value,!0),i.useAutoRotationBehavior=e.autoRotation,i.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,i.zoomToMouseLocation=e.zoomToMouseLocation,i.lowerRadiusLimit=e.lowerRadiusLimit,i.upperRadiusLimit=e.upperRadiusLimit,i.minZ=.01}updateCamera(e){const s=this.scene.activeCamera;s&&(e.radius&&(s.radius=e.radius),s.beta=o.Tools.ToRadians(e.beta),s.alpha=o.Tools.ToRadians(e.alpha),s.useAutoRotationBehavior=e.autoRotation,s.zoomToMouseLocation=e.zoomToMouseLocation,s.wheelDeltaPercentage=e.wheelDeltaPercentage||.01,s.lowerRadiusLimit=e.lowerRadiusLimit,s.upperRadiusLimit=e.upperRadiusLimit,s.target=new o.Vector3(...e.target))}createLights(e,s){this.scene&&this.scene.lights&&this.scene.lights.forEach((i,u)=>{setTimeout(()=>{i.dispose()})}),setTimeout(()=>{e.forEach(i=>{if(i.type==="HemisphericLight"){const u=new o.HemisphericLight("",new o.Vector3(...i.direction),s);u.intensity=i.intensity!==void 0?i.intensity:.5,u.groundColor=d.hex2Color3(i.groundColor,o.Color3.White()),u.diffuse=d.hex2Color3(i.diffuse,o.Color3.White())}if(i.type==="DirectionalLight"){const u=new o.DirectionalLight("",new o.Vector3(...i.direction),s);u.intensity=i.intensity!==void 0?i.intensity:.5,u.diffuse=d.hex2Color3(i.diffuse,o.Color3.White())}if(i.type==="PointLight"){const u=new o.PointLight("",new o.Vector3(...i.position),s);u.intensity=i.intensity!==void 0?i.intensity:.5,u.diffuse=d.hex2Color3(i.diffuse,o.Color3.White())}})})}createMeshs(e){e.meshes.forEach(s=>setTimeout(()=>s.dispose())),o.SceneLoader.ImportMeshAsync("",this.option.meshs.url,"",e,s=>{P.value=(s.loaded/s.total*100).toFixed(2)}).then(s=>{this.meshe=s.meshes,this.updateScenePipeline(this.option.pipelineOption),this.option.animationGroups=e.animationGroups.map(i=>({uniqueId:i.uniqueId,name:i.name})),this.events&&(this.events.function[0].args[0].select=e.animationGroups.map(i=>({name:i.name,value:i.name}))),this.option.defaultAnimation&&this.option.defaultAnimation.name?this.playAnimation(this.option.defaultAnimation.name,{loop:this.option.defaultAnimation.loop,speedRatio:this.option.defaultAnimation.speedRatio}):e.animationGroups&&e.animationGroups[0]&&e.animationGroups[0].stop(),this.setMeshSize(this.option.meshs),setTimeout(()=>{this.engine.hideLoadingUI(),L("on-load-success"),this.engine.hideLoadingUI()},100)})}setMeshSize(e){if(e.autoSize){const i=this.meshe[0].getBoundingInfo().boundingBox,g=.7/(Math.max(i.maximumWorld.x-i.minimumWorld.x,i.maximumWorld.y-i.minimumWorld.y,i.maximumWorld.z-i.minimumWorld.z)||1);this.meshe[0].scaling=new o.Vector3(g,g,g);const x=i.centerWorld;this.meshe[0].position=this.meshe[0].position.subtract(x.multiplyByFloats(g,g,g)),this.meshe[0].rotation=new o.Vector3(0,0,0)}else{const{position:s,scaling:i,rotation:u}=e;this.meshe[0].position.set(s[0]||0,s[1]||0,s[2]||0),this.meshe[0].scaling.set(i[0]||1,i[1]||1,i[2]||1),this.meshe[0].rotation=new o.Vector3(u[0]||0,u[1]||0,u[2]||0)}}run(){return this.engine.runRenderLoop(()=>this.scene.render()),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}playAnimation(e,s={loop:!1,speedRatio:1}){if(this.scene){this.scene.stopAllAnimations();const i=this.scene.getAnimationGroupByName(e);i&&(L("on-play-animation"),window.SHJParseEvent(h.useEvents,"on-play-animation"),i.start(s.loop,s.speedRatio,i.from,i.to,!1))}}}const m=n.ref();return n.onMounted(()=>{t.meshs&&(m.value=new A(b.value,t,l).run(),z.useResizeObserver(b.value,S=>{m.value&&m.value.engine.resize()}))}),n.onBeforeUnmount(()=>{m.value&&(m.value.dispose(),m.value.meshe=[])}),{canvasRef:b,babylon:m,Babylon:A,babylonLoadingStatus:w,babylonLoadingTitle:P}},{canvasRef:y,babylon:a,Babylon:E,babylonLoadingStatus:C,babylonLoadingTitle:R}=D(h.basicOption,h.basicEvents);return c({playAnimation:(t,l)=>{a.value.playAnimation(t,l)}}),n.watch(()=>r.cloneDeep(h.basicOption.camera),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.updateCamera(t)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.scene),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.updateScene(t)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.lights),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.createLights(t,a.value.scene)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.url),(t,l)=>{!r.isEqual(t,l)&&a.value&&(a.value.dispose(),a.value=new E(y.value,h.basicOption,h.basicEvents).run())},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.position),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&a.value.meshe[0].position.set(t[0],t[1],t[2])},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.scaling),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&a.value.meshe[0].scaling.set(t[0],t[1],t[2])},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.rotation),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&(a.value.meshe[0].rotation=new o.Vector3(t[0],t[1],t[2]))},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.meshs.autoSize),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.meshe[0]&&a.value.setMeshSize(h.basicOption.meshs)},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.defaultAnimation),(t,l)=>{!r.isEqual(t,l)&&a.value&&(a.value.dispose(),a.value=new E(y.value,h.basicOption,h.basicEvents).run())},{deep:!0}),n.watch(()=>r.cloneDeep(h.basicOption.pipelineOption),(t,l)=>{!r.isEqual(t,l)&&a.value&&a.value.updateScenePipeline(t)},{deep:!0}),(t,l)=>(n.openBlock(),n.createElementBlock("div",M,[n.createElementVNode("canvas",{ref_key:"canvasRef",ref:y,class:n.normalizeClass(["widget",{show:!n.unref(C)}])},null,2),n.unref(C)?(n.openBlock(),n.createElementBlock("div",{key:0,ref:"babylonLoadingRef",class:"babylon-loading"}," 正在加载模型...("+n.toDisplayString(n.unref(R))+"%) ",513)):n.createCommentVNode("",!0)]))}});exports.default=I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsThreeLoader3=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-1bbc8faf"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue");require("@babylonjs/loaders/glTF");const V=require("@babylonjs/core"),s=require("lodash"),T=require("../../utils/babylon/ColorConvert.js");function I(b){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(b){for(const L in b)if(L!=="default"){const e=Object.getOwnPropertyDescriptor(b,L);Object.defineProperty(x,L,e.get?e:{enumerable:!0,get:()=>b[L]})}}return x.default=b,Object.freeze(x)}const t=I(V),Z={class:"zerov-widget"},j=r.defineComponent({name:"zv-commons-three-loader3"}),H=r.defineComponent({...j,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(b,{expose:x,emit:L}){const e=b,B=L;let E,o,c,h,f,d,v,O,u,g,l,a;const D=()=>{c||(c=new t.ArcRotateCamera("Camera",e.basicOption.camera.alpha,e.basicOption.camera.beta,e.basicOption.camera.radius,new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),o)),c.alpha=e.basicOption.camera.alpha,c.beta=e.basicOption.camera.beta,c.radius=e.basicOption.camera.radius,c.target=new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),c.lowerRadiusLimit=e.basicOption.camera.lowerRadiusLimit,c.upperRadiusLimit=e.basicOption.camera.upperRadiusLimit,c.lowerBetaLimit=t.Tools.ToRadians(e.basicOption.camera.lowerBetaLimit),c.upperBetaLimit=t.Tools.ToRadians(e.basicOption.camera.upperBetaLimit),c.useBouncingBehavior=e.basicOption.camera.useBouncingBehavior,c.wheelDeltaPercentage=e.basicOption.camera.wheelDeltaPercentage||.01,c.useAutoRotationBehavior=e.basicOption.camera.autoRotation,c.attachControl(S.value,!0)},R=()=>{o||(o=new t.Scene(E)),o.environmentTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),o.environmentIntensity=e.basicOption.scene.environmentIntensity,e.basicOption.scene.colorShow?o.clearColor=T.hex2Color4(e.basicOption.scene.color,new t.Color4(1,1,1,1)):o.clearColor=new t.Color4(0,0,0,0),o.fogEnabled=e.basicOption.scene.fogEnabled,o.fogMode=e.basicOption.scene.fogMode||1,o.fogColor=T.hex2Color3(e.basicOption.scene.fogColor,new t.Color3(1,1,1)),o.fogEnd=e.basicOption.scene.fogEnd||2e3,o.fogStart=e.basicOption.scene.fogStart||1,o.fogDensity=e.basicOption.scene.fogDensity*1e-4},F=()=>{if(h||(h=new t.DirectionalLight("dirLight",new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),o)),h.direction=new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),h.position=new t.Vector3(e.basicOption.directionalLight.position[0],e.basicOption.directionalLight.position[1],e.basicOption.directionalLight.position[2]),h.diffuse=T.hex2Color3(e.basicOption.directionalLight.diffuse,new t.Color3(1,1,1)),h.intensity=e.basicOption.directionalLight.intensity,h.shadowMinZ=e.basicOption.directionalLight.shadowMinZ,h.shadowMaxZ=e.basicOption.directionalLight.shadowMaxZ,h.autoCalcShadowZBounds=e.basicOption.directionalLight.autoCalcShadowZBounds,e.basicOption.directionalLight.shadowGenerator.enable){const{mapSize:i,transparencyShadow:n,usePercentageCloserFiltering:p,bias:m}=e.basicOption.directionalLight.shadowGenerator;if(!d&&(d=new t.ShadowGenerator(i,h),l))for(let w=0;w<l.length;w++)e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[w],!0);d.mapSize=i,d.transparencyShadow=n,d.usePercentageCloserFiltering=p,d.bias=m}else d&&(d.dispose(),d=null);e.basicOption.directionalLight.lightGizmo&&e.basicOption.directionalLight.lightGizmo.enable?(f||(f=new t.LightGizmo,f.light=h),f.scaleRatio=e.basicOption.directionalLight.lightGizmo.scaleRatio):f&&(f.dispose(),f=null)},G=()=>{v||(v=new t.HemisphericLight("light",new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),o)),v.direction=new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),v.intensity=e.basicOption.hemisphericLight.intensity,v.diffuse=T.hex2Color3(e.basicOption.hemisphericLight.diffuse,new t.Color3(1,1,1)),e.basicOption.hemisphericLight.lightGizmo&&e.basicOption.hemisphericLight.lightGizmo.enable?(O||(O=new t.LightGizmo,O.light=v),O.scaleRatio=e.basicOption.hemisphericLight.lightGizmo.scaleRatio):O&&(O.dispose(),O=null)},M=()=>{if(e.basicOption.ground.enable){const{width:i,height:n,position:p,rotation:m,scaling:w,material:y,receiveShadows:q}=e.basicOption.ground;u||(u=t.MeshBuilder.CreateGround("ground",{width:i,height:n},o)),u.position=new t.Vector3(p[0],p[1],p[2]),u.rotation=new t.Vector3(t.Tools.ToRadians(m[0]),t.Tools.ToRadians(m[1]),t.Tools.ToRadians(m[2])),u.scaling=new t.Vector3(w[0],w[1],w[2]);const C=new t.StandardMaterial("",o);C.emissiveTexture=new t.Texture(y.emissiveTexture,o),C.diffuseTexture=new t.Texture(y.emissiveTexture,o),C.ambientTexture=new t.Texture(y.emissiveTexture,o),C.diffuseColor=new t.Color3(1,1,1),C.opacityTexture=new t.Texture(y.opacityTexture,o),u.material=C,u.receiveShadows=q}else u&&(u.dispose(),u=null)},k=()=>{if(e.basicOption.skybox.enable){const{size:i}=e.basicOption.skybox;g||(g=t.MeshBuilder.CreateBox("skyBox",{size:i},o));const n=new t.StandardMaterial("skyBox",o);n.backFaceCulling=!1,n.reflectionTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),n.reflectionTexture.coordinatesMode=t.Texture.SKYBOX_MODE,n.diffuseColor=new t.Color3(1,1,1),n.specularColor=new t.Color3(1,1,1),n.disableLighting=!0,g.material=n,g.isPickable=!1}else g&&(g.dispose(),g=null)},z=(i,n={loop:!1,speedRatio:1})=>{if(o){o.stopAllAnimations();const p=o.getAnimationGroupByName(i);p&&(B("on-play-animation"),window.SHJParseEvent(e.useEvents,"on-play-animation"),p.start(n.loop,n.speedRatio,p.from,p.to,!1))}},A=async()=>{l||(l=(await t.SceneLoader.ImportMeshAsync("",e.basicOption.meshes.url,"",o)).meshes),l[0].position=new t.Vector3(e.basicOption.meshes.position[0],e.basicOption.meshes.position[1],e.basicOption.meshes.position[2]),l[0].scaling=new t.Vector3(e.basicOption.meshes.scaling[0],e.basicOption.meshes.scaling[1],e.basicOption.meshes.scaling[2]),l[0].rotation=new t.Vector3(t.Tools.ToRadians(e.basicOption.meshes.rotation[0]),t.Tools.ToRadians(e.basicOption.meshes.rotation[1]),t.Tools.ToRadians(e.basicOption.meshes.rotation[2]));for(let i=0;i<l.length;i++)l[i].isPickable=!1,l[i].receiveShadows=e.basicOption.meshes.isCasterShadow,e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[i],!0);e.basicOption.animationGroups=o.animationGroups.map(i=>({uniqueId:i.uniqueId,name:i.name})),e.basicEvents&&(e.basicEvents.function[0].args[0].select=o.animationGroups.map(i=>({name:i.name,value:i.name}))),e.basicOption.defaultAnimation&&e.basicOption.defaultAnimation.name?z(e.basicOption.defaultAnimation.name,{loop:e.basicOption.defaultAnimation.loop,speedRatio:e.basicOption.defaultAnimation.speedRatio}):o.animationGroups&&o.animationGroups[0]&&o.animationGroups[0].stop()},P=()=>{const i=e.basicOption.pipelineOption;i&&i.enabled?(a||(a=new t.DefaultRenderingPipeline("defaultPipeline",!0,o,[c])),a.samples=i.samples?4:1,a.fxaaEnabled=i.fxaaEnabled,a.grainEnabled=i.grainEnabled,a.grain.intensity=i.grainIntensity,a.grain.animated=i.grainAnimated,a.bloomEnabled=i.bloomEnabled,a.bloomThreshold=i.bloomThreshold,a.bloomWeight=i.bloomWeight,a.bloomKernel=i.bloomKernel,a.bloomScale=i.bloomScale,a.depthOfFieldEnabled=i.depthOfFieldEnabled,i.depthOfFieldBlurLevel<1?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Low:i.depthOfFieldBlurLevel<2?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Medium:i.depthOfFieldBlurLevel<3&&(a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.High),a.depthOfField.focusDistance=i.depthOfFieldFocusDistance,a.depthOfField.fStop=i.depthOfFieldFStop,a.depthOfField.focalLength=i.depthOfFieldFocalLength,a.chromaticAberrationEnabled=i.chromaticAberrationEnabled,a.chromaticAberration.aberrationAmount=i.chromaticAberrationAberrationAmount,a.chromaticAberration.radialIntensity=i.chromaticAberrationRadialIntensity,i.chromaticAberrationDirection===0?(a.chromaticAberration.direction.x=0,a.chromaticAberration.direction.y=0):(a.chromaticAberration.direction.x=Math.sin(i.chromaticAberrationDirection),a.chromaticAberration.direction.y=Math.cos(i.chromaticAberrationDirection)),a.sharpenEnabled=i.sharpenEnabled,a.sharpen.edgeAmount=i.sharpenEdgeAmount,a.sharpen.colorAmount=i.sharpenColorAmount):a&&(a.dispose(),a=null)},_=function(i){R(),D(),G(),F(),M(),k(),A(),P(),B("on-load-success"),window.SHJParseEvent(e.useEvents,"on-load-success")},S=r.ref();return r.onMounted(()=>{E=new t.Engine(S.value,!0),E&&e.basicOption.meshes.url&&(_(),E.runRenderLoop(function(){o&&o.render()}))}),r.onBeforeUnmount(()=>{o.dispose(),E.dispose()}),x({playAnimation:(i,n)=>{const p=i[0].value,m={loop:i[1].keys[0].defaultValue,speedRatio:i[1].keys[1].defaultValue};z(p,m)}}),r.watch(()=>s.cloneDeep(e.basicOption.camera),(i,n)=>{!s.isEqual(i,n)&&c&&D()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.scene),(i,n)=>{!s.isEqual(i,n)&&o&&R()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.directionalLight),(i,n)=>{s.isEqual(i,n)||F()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.hemisphericLight),(i,n)=>{s.isEqual(i,n)||G()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.ground),(i,n)=>{s.isEqual(i,n)||M()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.skybox),(i,n)=>{s.isEqual(i,n)||k()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes),(i,n)=>{!s.isEqual(i,n)&&l&&i.url===n.url&&A()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes.url),(i,n)=>{s.isEqual(i,n)||(o.meshes.forEach((p,m)=>{m>1&&p.dispose()}),l=null,A())},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.pipelineOption),(i,n)=>{s.isEqual(i,n)||P()},{deep:!0}),(i,n)=>(r.openBlock(),r.createElementBlock("div",Z,[r.createElementVNode("canvas",{ref_key:"canvasRef",ref:S,class:r.normalizeClass(["widget",{show:!0}])},null,512)]))}});exports.default=H;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsVrPhoto=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var w=Object.defineProperty;var _=(o,e,s)=>e in o?w(o,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):o[e]=s;var d=(o,e,s)=>_(o,typeof e!="symbol"?e+"":e,s);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("@babylonjs/loaders/glTF");const b=require("lodash"),i=require("@babylonjs/core"),M={class:"zerov-widget"},S=t.defineComponent({name:"zv-commons-vr-photo"}),B=t.defineComponent({...S,props:{basicOption:{}},setup(o){const e=o,s=u=>{const a=t.ref(),v=t.ref();class m{constructor(r,n){d(this,"scene");d(this,"engine");this.canvas=r,this.option=n,this.engine=new i.Engine(this.canvas,!0,{},!1),v.value=!0,window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}createScene(){const r=new i.Scene(this.engine),n=new i.ArcRotateCamera("Camera",-Math.PI/2,Math.PI/2,5,i.Vector3.Zero(),r);n.attachControl(a.value,!0),n.useAutoRotationBehavior=this.option.cameraAutoRotation,n.inputs.attached.mousewheel.detachControl();const c=new i.PhotoDome("",this.option.url,{resolution:this.option.resolution||32,size:1e3,useDirectMapping:!1},r);if(this.option.isReversal&&(n.angularSensibilityX=-n.angularSensibilityX,n.angularSensibilityY=-n.angularSensibilityY),this.option.imageMode&&(c.imageMode=i.PhotoDome[this.option.imageMode]),c.fovMultiplier=this.option.defaultFov||1,this.option.isScale){let l=c.fovMultiplier;r.onPointerObservable.add(y=>{c!==void 0&&(l+=y.event.wheelDelta*-5e-4,l<0&&(l=0),l>2&&(l=2),c.fovMultiplier=l)},i.PointerEventTypes.POINTERWHEEL)}return setTimeout(()=>{v.value=!1},200),r}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}}const h=t.ref();return t.onMounted(()=>{h.value=new m(a.value,u).run()}),t.onBeforeUnmount(()=>{h.value&&h.value.dispose()}),{canvasRef:a,babylon:h,Babylon:m,loadingStatus:v}},{canvasRef:f,babylon:p,Babylon:g}=s(e.basicOption);return t.watch(()=>b.cloneDeep(e.basicOption),(u,a)=>{!b.isEqual(u,a)&&p.value&&(p.value.dispose(),p.value=new g(f.value,e.basicOption).run())},{deep:!0}),(u,a)=>(t.openBlock(),t.createElementBlock("div",M,[t.createElementVNode("canvas",{ref_key:"canvasRef",ref:f,class:"widget"},null,512)]))}});exports.default=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsVrVideo=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var M=Object.defineProperty;var w=(n,e,s)=>e in n?M(n,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[e]=s;var v=(n,e,s)=>w(n,typeof e!="symbol"?e+"":e,s);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue");require("@babylonjs/loaders/glTF");const m=require("lodash"),i=require("@babylonjs/core"),_={class:"zerov-widget"},S=o.defineComponent({name:"zv-commons-vr-video"}),P=o.defineComponent({...S,props:{basicOption:{}},setup(n){const e=n,s=u=>{const a=o.ref(),h=o.ref();class b{constructor(r,t){v(this,"scene");v(this,"engine");this.canvas=r,this.option=t,this.engine=new i.Engine(this.canvas,!0,{},!1),h.value=!0,window.addEventListener("resize",()=>{this.engine.resize()}),this.scene=this.createScene()}createScene(){const r=new i.Scene(this.engine),t=new i.ArcRotateCamera("Camera",-Math.PI/2,Math.PI/2,5,i.Vector3.Zero(),r);t.attachControl(a.value,!0),t.useAutoRotationBehavior=this.option.cameraAutoRotation,t.inputs.attached.mousewheel.detachControl();const c=new i.VideoDome("",this.option.url,{resolution:this.option.resolution||32,clickToPlay:this.option.clickToPlay,autoPlay:this.option.autoPlay,loop:this.option.loop,poster:this.option.poster,useDirectMapping:!1,halfDomeMode:this.option.halfDomeMode},r);if(this.option.isReversal&&(t.angularSensibilityX=-t.angularSensibilityX,t.angularSensibilityY=-t.angularSensibilityY),this.option.videoMode&&(c.videoMode=i.PhotoDome[this.option.videoMode]),c.fovMultiplier=this.option.defaultFov||1,this.option.isScale){let l=c.fovMultiplier;r.onPointerObservable.add(y=>{c!==void 0&&(l+=y.event.wheelDelta*-5e-4,l<0&&(l=0),l>2&&(l=2),c.fovMultiplier=l)},i.PointerEventTypes.POINTERWHEEL)}return setTimeout(()=>{h.value=!1},200),r}run(){return this.engine.runRenderLoop(()=>{this.scene.render()}),this}dispose(){this.scene&&this.engine&&(this.scene.dispose(),this.engine.dispose())}}const p=o.ref();return o.onMounted(()=>{p.value=new b(a.value,u).run()}),o.onBeforeUnmount(()=>{p.value&&p.value.dispose()}),{canvasRef:a,babylon:p,Babylon:b,loadingStatus:h}},{canvasRef:f,babylon:d,Babylon:g}=s(e.basicOption);return o.watch(()=>m.cloneDeep(e.basicOption),(u,a)=>{!m.isEqual(u,a)&&d.value&&(d.value.dispose(),d.value=new g(f.value,e.basicOption).run())},{deep:!0}),(u,a)=>(o.openBlock(),o.createElementBlock("div",_,[o.createElementVNode("canvas",{ref_key:"canvasRef",ref:f,class:"widget"},null,512)]))}});exports.default=P;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),o=require("../../utils/install.js"),e=o.withInstall(t.default);exports.ZvCommonsWeather=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-b2e25aed"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),O=require("axios"),d=require("../../utils/json2css.js"),B={key:0,class:"weather-temperature__suffix"},E=e.defineComponent({name:"zv-commons-weather"}),D=e.defineComponent({...E,props:{basicOption:{},useEvents:{}},emits:["on-success","on-error"],setup(h,{emit:m}){const n=h,u=m,w=()=>{const a=e.ref(),i=e.ref({city:"",date:"",week:"",dayweather:"",nightweather:"",daytemp:"",nighttemp:"",daywind:"",nightwind:"",daypower:"",nightpower:"",daytemp_float:"",nighttemp_float:""}),s=e.ref(null),c=t=>{O.get(`https://restapi.amap.com/v3/weather/weatherInfo?city=${t.city}&key=${t.key}&extensions=all`).then(r=>{r.status===200&&r.data.status==="1"&&r.data.forecasts.length>0?(u("on-success",r),window.SHJParseEvent(n.useEvents,"on-success",r),i.value=r.data.forecasts[0].casts[0],i.value.city=r.data.forecasts[0].city):(u("on-error",r),window.SHJParseEvent(n.useEvents,"on-error",r))}).catch(()=>{u("on-error",null),window.SHJParseEvent(n.useEvents,"on-error",null)})},S=t=>(t.fontFamily&&d.autoInstallFont(t.fontFamily),{...d.jsonToCssStyle(t),lineHeight:`${t.lineHeight}px`,transform:`translate(${t.transform.x}px, ${t.transform.y}px)`}),k=(t,r)=>{if(r.find(p=>p.name===i.value.dayweather)){const p=r.find(b=>b.name===i.value.dayweather).url||"";return{mask:`url(${p}) 0px 0px / 100% 100%`,width:`${t.size}px`,height:`${t.size}px`,background:`url(${p}) 0px 0px / 100% 100%, ${t.color}`,backgroundBlendMode:"overlay",marginRight:`${t.margin.right}px`}}return{}},y=t=>{s.value&&clearInterval(s.value),t.autoUpdate!==0?s.value=setInterval(()=>c(t),t.autoUpdate*1e3):(clearInterval(s.value),c(t))};return e.onMounted(()=>{c(n.basicOption),y(n.basicOption)}),e.onBeforeUnmount(()=>{s.value&&clearInterval(s.value)}),{initWeatherMessage:c,rendererDomStyle:S,handleAutoUpdate:y,rendererWeatherTypeStyle:k,weatherRef:a,weather:i}},{handleAutoUpdate:f,rendererDomStyle:l,rendererWeatherTypeStyle:g,weatherRef:v,weather:o}=w();return e.watch(()=>n.basicOption,()=>f(n.basicOption),{deep:!0}),(a,i)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"weatherRef",ref:v,class:"zerov-widgets"},[a.basicOption.icon.show?(e.openBlock(),e.createElementBlock("p",{key:0,class:"weather-icon",style:e.normalizeStyle(e.unref(g)(a.basicOption.icon,a.basicOption.icons))},null,4)):e.createCommentVNode("",!0),a.basicOption.weather.city.show?(e.openBlock(),e.createElementBlock("p",{key:1,class:"weather-city",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.city.textStyle))},e.toDisplayString(e.unref(o).city),5)):e.createCommentVNode("",!0),a.basicOption.weather.type.show?(e.openBlock(),e.createElementBlock("p",{key:2,class:"weather-type",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.type.textStyle))},e.toDisplayString(e.unref(o).dayweather),5)):e.createCommentVNode("",!0),a.basicOption.weather.wind.show?(e.openBlock(),e.createElementBlock("p",{key:3,class:"weather-wind",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.wind.textStyle))},e.toDisplayString(e.unref(o).daywind)+"风"+e.toDisplayString(e.unref(o).daypower)+"级 ",5)):e.createCommentVNode("",!0),a.basicOption.weather.temperature.show?(e.openBlock(),e.createElementBlock("p",{key:4,class:"weather-temperature",style:e.normalizeStyle(e.unref(l)(a.basicOption.weather.temperature.textStyle))},[e.createTextVNode(e.toDisplayString(e.unref(o).nighttemp)+" "+e.toDisplayString(a.basicOption.weather.temperature.connectors)+" "+e.toDisplayString(e.unref(o).daytemp)+" ",1),a.basicOption.weather.temperature.suffix.show?(e.openBlock(),e.createElementBlock("span",B,e.toDisplayString(a.basicOption.weather.temperature.suffix.suffix),1)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],512))}});exports.default=D;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.vue.js"),t=require("../../utils/install.js"),e=t.withInstall(l.default);exports.ZvGraphicalCircle=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-69a4bd9e"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},i=["r","stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-circle"}),r=e.defineComponent({...s,props:{basicOption:{}},setup(n){return(t,c)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("circle",{cx:"50",cy:"50",r:Math.max(10,50-t.basicOption.strokeWidth),stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,i)]))}});exports.default=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),a=require("../../utils/install.js"),e=a.withInstall(t.default);exports.ZvGraphicalDiamond=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-af886cfd"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t={viewBox:"0 0 100 100",preserveAspectRatio:"none"},n=["stroke","stroke-width","fill"],i=e.defineComponent({name:"zv-graphical-diamond"}),s=e.defineComponent({...i,props:{basicOption:{}},setup(r){return(o,l)=>(e.openBlock(),e.createElementBlock("svg",t,[e.createElementVNode("polygon",{points:"50,10 90,50 50,90 10,50",stroke:o.basicOption.stroke,"stroke-width":o.basicOption.strokeWidth,fill:o.basicOption.fill},null,8,n)]))}});exports.default=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),a=require("../../utils/install.js"),e=a.withInstall(t.default);exports.ZvGraphicalHexagon=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-dacc35e0"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t={viewBox:"0 0 100 100",preserveAspectRatio:"none"},n=["stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-hexagon"}),i=e.defineComponent({...s,props:{basicOption:{}},setup(r){return(o,l)=>(e.openBlock(),e.createElementBlock("svg",t,[e.createElementVNode("polygon",{points:"50,5 90,25 90,75 50,95 10,75 10,25",stroke:o.basicOption.stroke,"stroke-width":o.basicOption.strokeWidth,fill:o.basicOption.fill},null,8,n)]))}});exports.default=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./index.vue.js"),s=require("../../utils/install.js"),e=s.withInstall(l.default);exports.ZvGraphicalIsoscelesTriangle=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-f00dcb42"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},s=["stroke","stroke-width","fill"],i=e.defineComponent({name:"zv-graphical-isosceles-triangle"}),n=e.defineComponent({...i,props:{basicOption:{}},setup(r){return(t,l)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("polygon",{points:"50,10 90,90 10,90",stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,s)]))}});exports.default=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),a=require("../../utils/install.js"),e=a.withInstall(t.default);exports.ZvGraphicalPentagon=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-a4789139"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},n=["stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-pentagon"}),i=e.defineComponent({...s,props:{basicOption:{}},setup(r){return(t,l)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("polygon",{points:"50,5 95,30 85,85 15,85 5,30",stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,n)]))}});exports.default=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvGraphicalRect=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-1df2f161"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o={viewBox:"0 0 100 100",preserveAspectRatio:"none"},i=["stroke","stroke-width","fill"],s=e.defineComponent({name:"zv-graphical-rect"}),n=e.defineComponent({...s,props:{basicOption:{}},setup(r){return(t,c)=>(e.openBlock(),e.createElementBlock("svg",o,[e.createElementVNode("rect",{x:"0",y:"0",width:"100",height:"100",stroke:t.basicOption.stroke,"stroke-width":t.basicOption.strokeWidth,fill:t.basicOption.fill},null,8,i)]))}});exports.default=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),i=require("../../utils/install.js"),e=i.withInstall(t.default);exports.ZvGraphicalRightTriangle=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-d3292a01"]]);exports.default=u;
|