@shjjs/visual-ui 1.0.37 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/commons/components/text.vue.d.ts +4 -4
- package/es/commons/core/earth/border.vue.d.ts +4 -4
- package/es/commons/core/earth/main.vue.d.ts +6 -6
- package/es/commons/core/useChart.d.ts +2 -2
- package/es/commons/core/useChart.mjs +3 -2
- package/es/components/chart/commons/components/common-chart/index.vue.d.ts +7 -7
- package/es/components/chart/commons/components/common-chart/index.vue.mjs +3 -2
- package/es/components/chart/commons/components/common-chart-map/index.vue.d.ts +6 -6
- package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +3 -2
- package/es/components/chart/commons/hooks/useChart.d.ts +2 -2
- package/es/components/chart/commons/hooks/useChart.mjs +3 -2
- package/es/components/chart/src/bar/animation/index.d.ts +12 -12
- package/es/components/chart/src/bar/animation/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/basic/index.d.ts +12 -12
- package/es/components/chart/src/bar/basic/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/contrast/index.d.ts +12 -12
- package/es/components/chart/src/bar/contrast/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/contrast2/index.d.ts +12 -12
- package/es/components/chart/src/bar/contrast2/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/contrast3/index.d.ts +12 -12
- package/es/components/chart/src/bar/contrast3/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/gradient-column-chart/index.d.ts +12 -12
- package/es/components/chart/src/bar/gradient-column-chart/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/horizontal/index.d.ts +12 -12
- package/es/components/chart/src/bar/horizontal/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/horizontal-stack/index.d.ts +12 -12
- package/es/components/chart/src/bar/horizontal-stack/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/line-bar/index.d.ts +12 -12
- package/es/components/chart/src/bar/line-bar/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/line-bar2/index.d.ts +12 -12
- package/es/components/chart/src/bar/line-bar2/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/loop/index.d.ts +12 -12
- package/es/components/chart/src/bar/loop/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/mini/index.d.ts +12 -12
- package/es/components/chart/src/bar/mini/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/polar/index.d.ts +12 -12
- package/es/components/chart/src/bar/polar/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/polar-stack/index.d.ts +12 -12
- package/es/components/chart/src/bar/polar-stack/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/polar2/index.d.ts +12 -12
- package/es/components/chart/src/bar/polar2/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/radius-circle/index.d.ts +12 -12
- package/es/components/chart/src/bar/radius-circle/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/rank/index.d.ts +12 -12
- package/es/components/chart/src/bar/rank/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/segmented-progress/index.d.ts +12 -12
- package/es/components/chart/src/bar/segmented-progress/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/spire/index.d.ts +12 -12
- package/es/components/chart/src/bar/spire/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/stack/index.d.ts +12 -12
- package/es/components/chart/src/bar/stack/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/stack-line/index.d.ts +12 -12
- package/es/components/chart/src/bar/stack-line/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/stack2/index.d.ts +12 -12
- package/es/components/chart/src/bar/stack2/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/stack3/index.d.ts +12 -12
- package/es/components/chart/src/bar/stack3/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/staggered/index.d.ts +12 -12
- package/es/components/chart/src/bar/staggered/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/three/index.d.ts +12 -12
- package/es/components/chart/src/bar/three/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/waterfall/index.d.ts +12 -12
- package/es/components/chart/src/bar/waterfall/index.vue.d.ts +12 -12
- package/es/components/chart/src/bar/zebra/index.d.ts +12 -12
- package/es/components/chart/src/bar/zebra/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/area-gradient/index.d.ts +12 -12
- package/es/components/chart/src/line/area-gradient/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/area-highlight/index.d.ts +12 -12
- package/es/components/chart/src/line/area-highlight/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/area-highlight2/index.d.ts +12 -12
- package/es/components/chart/src/line/area-highlight2/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/basic/index.d.ts +12 -12
- package/es/components/chart/src/line/basic/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/bump/index.d.ts +12 -12
- package/es/components/chart/src/line/bump/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/dashed/index.d.ts +12 -12
- package/es/components/chart/src/line/dashed/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/ladder/index.d.ts +12 -12
- package/es/components/chart/src/line/ladder/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/logarithm/index.d.ts +12 -12
- package/es/components/chart/src/line/logarithm/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/multix/index.d.ts +12 -12
- package/es/components/chart/src/line/multix/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/polar-double/index.d.ts +12 -12
- package/es/components/chart/src/line/polar-double/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/rain-flow/index.d.ts +12 -12
- package/es/components/chart/src/line/rain-flow/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/scale/index.d.ts +12 -12
- package/es/components/chart/src/line/scale/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/smooth/index.d.ts +12 -12
- package/es/components/chart/src/line/smooth/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/smooth-area/index.d.ts +12 -12
- package/es/components/chart/src/line/smooth-area/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/stack/index.d.ts +12 -12
- package/es/components/chart/src/line/stack/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/stack-area/index.d.ts +12 -12
- package/es/components/chart/src/line/stack-area/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/temp/index.d.ts +12 -12
- package/es/components/chart/src/line/temp/index.vue.d.ts +12 -12
- package/es/components/chart/src/line/vertical/index.d.ts +12 -12
- package/es/components/chart/src/line/vertical/index.vue.d.ts +12 -12
- package/es/components/chart/src/map/basic/index.d.ts +11 -11
- package/es/components/chart/src/map/basic/index.vue.d.ts +11 -11
- package/es/components/chart/src/map/bmap-basic/index.d.ts +11 -11
- package/es/components/chart/src/map/bmap-basic/index.vue.d.ts +11 -11
- package/es/components/chart/src/map/bmap-heatmap/index.d.ts +11 -11
- package/es/components/chart/src/map/bmap-heatmap/index.vue.d.ts +11 -11
- package/es/components/chart/src/map/bmap-rich/index.d.ts +11 -11
- package/es/components/chart/src/map/bmap-rich/index.vue.d.ts +11 -11
- package/es/components/chart/src/map/customize/index.d.ts +11 -11
- package/es/components/chart/src/map/customize/index.vue.d.ts +11 -11
- package/es/components/chart/src/map/lines/index.d.ts +11 -11
- package/es/components/chart/src/map/lines/index.vue.d.ts +11 -11
- package/es/components/chart/src/map/scatter/index.d.ts +11 -11
- package/es/components/chart/src/map/scatter/index.vue.d.ts +11 -11
- package/es/components/chart/src/pie/3d/index.d.ts +12 -12
- package/es/components/chart/src/pie/3d/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/basic/index.d.ts +12 -12
- package/es/components/chart/src/pie/basic/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/basic2/index.d.ts +12 -12
- package/es/components/chart/src/pie/basic2/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/customized/index.d.ts +12 -12
- package/es/components/chart/src/pie/customized/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/index/index.d.ts +12 -12
- package/es/components/chart/src/pie/index/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/interval/index.d.ts +12 -12
- package/es/components/chart/src/pie/interval/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/legend-scroll/index.d.ts +12 -12
- package/es/components/chart/src/pie/legend-scroll/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/radius/index.d.ts +12 -12
- package/es/components/chart/src/pie/radius/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/rose/index.d.ts +12 -12
- package/es/components/chart/src/pie/rose/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/round/index.d.ts +12 -12
- package/es/components/chart/src/pie/round/index.vue.d.ts +12 -12
- package/es/components/chart/src/pie/sunburst/index.d.ts +12 -12
- package/es/components/chart/src/pie/sunburst/index.vue.d.ts +12 -12
- package/es/components/chart/src/scatter/basic/index.d.ts +12 -12
- package/es/components/chart/src/scatter/basic/index.vue.d.ts +12 -12
- package/es/components/chart/src/scatter/basic2/index.d.ts +12 -12
- package/es/components/chart/src/scatter/basic2/index.vue.d.ts +12 -12
- package/es/components/chart/src/scatter/bubble/index.d.ts +12 -12
- package/es/components/chart/src/scatter/bubble/index.vue.d.ts +12 -12
- package/es/components/chart/src/scatter/ripples/index.d.ts +12 -12
- package/es/components/chart/src/scatter/ripples/index.vue.d.ts +12 -12
- package/es/components/chart-other-candlestick-basic/index.d.ts +6 -6
- package/es/components/chart-other-candlestick-basic/index.vue.d.ts +6 -6
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +3 -2
- package/es/components/chart-other-candlestick-demo/index.d.ts +6 -6
- package/es/components/chart-other-candlestick-demo/index.vue.d.ts +6 -6
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +3 -2
- package/es/components/chart-other-candlestick-shanghai/index.d.ts +6 -6
- package/es/components/chart-other-candlestick-shanghai/index.vue.d.ts +6 -6
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +3 -2
- package/es/components/chart-other-circular-graph/index.d.ts +6 -6
- package/es/components/chart-other-circular-graph/index.vue.d.ts +6 -6
- package/es/components/chart-other-circular-graph/index.vue.mjs +3 -2
- package/es/components/chart-other-force/index.d.ts +6 -6
- package/es/components/chart-other-force/index.vue.d.ts +6 -6
- package/es/components/chart-other-force/index.vue.mjs +3 -2
- package/es/components/chart-other-force2/index.d.ts +6 -6
- package/es/components/chart-other-force2/index.vue.d.ts +6 -6
- package/es/components/chart-other-force2/index.vue.mjs +3 -2
- package/es/components/chart-other-funnel/index.d.ts +6 -6
- package/es/components/chart-other-funnel/index.vue.d.ts +6 -6
- package/es/components/chart-other-funnel/index.vue.mjs +3 -2
- package/es/components/chart-other-funnel-contrast/index.d.ts +6 -6
- package/es/components/chart-other-funnel-contrast/index.vue.d.ts +6 -6
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +3 -2
- package/es/components/chart-other-funnel-split/index.d.ts +6 -6
- package/es/components/chart-other-funnel-split/index.vue.d.ts +6 -6
- package/es/components/chart-other-funnel-split/index.vue.mjs +3 -2
- package/es/components/chart-other-funnel2/index.d.ts +6 -6
- package/es/components/chart-other-funnel2/index.vue.d.ts +6 -6
- package/es/components/chart-other-funnel2/index.vue.mjs +3 -2
- package/es/components/chart-other-gauge/index.d.ts +6 -6
- package/es/components/chart-other-gauge/index.vue.d.ts +6 -6
- package/es/components/chart-other-gauge/index.vue.mjs +3 -2
- package/es/components/chart-other-gauge-grade/index.d.ts +6 -6
- package/es/components/chart-other-gauge-grade/index.vue.d.ts +6 -6
- package/es/components/chart-other-gauge-grade/index.vue.mjs +3 -2
- package/es/components/chart-other-gauge-stage/index.d.ts +6 -6
- package/es/components/chart-other-gauge-stage/index.vue.d.ts +6 -6
- package/es/components/chart-other-gauge-stage/index.vue.mjs +3 -2
- package/es/components/chart-other-graph-basic/index.d.ts +6 -6
- package/es/components/chart-other-graph-basic/index.vue.d.ts +6 -6
- package/es/components/chart-other-graph-basic/index.vue.mjs +3 -2
- package/es/components/chart-other-graph-basic2/index.d.ts +6 -6
- package/es/components/chart-other-graph-basic2/index.vue.d.ts +6 -6
- package/es/components/chart-other-graph-basic2/index.vue.mjs +3 -2
- package/es/components/chart-other-graph-calendar/index.d.ts +6 -6
- package/es/components/chart-other-graph-calendar/index.vue.d.ts +6 -6
- package/es/components/chart-other-graph-calendar/index.vue.mjs +3 -2
- package/es/components/chart-other-grid-percentage/index.d.ts +6 -6
- package/es/components/chart-other-grid-percentage/index.vue.d.ts +6 -6
- package/es/components/chart-other-grid-percentage/index.vue.mjs +3 -2
- package/es/components/chart-other-heatmap/index.d.ts +6 -6
- package/es/components/chart-other-heatmap/index.vue.d.ts +6 -6
- package/es/components/chart-other-heatmap/index.vue.mjs +3 -2
- package/es/components/chart-other-label-gauge/index.d.ts +6 -6
- package/es/components/chart-other-label-gauge/index.vue.d.ts +6 -6
- package/es/components/chart-other-label-gauge/index.vue.mjs +3 -2
- package/es/components/chart-other-liquidfill/index.d.ts +6 -6
- package/es/components/chart-other-liquidfill/index.vue.d.ts +6 -6
- package/es/components/chart-other-liquidfill/index.vue.mjs +3 -2
- package/es/components/chart-other-parallel-basic/index.d.ts +6 -6
- package/es/components/chart-other-parallel-basic/index.vue.d.ts +6 -6
- package/es/components/chart-other-parallel-basic/index.vue.mjs +3 -2
- package/es/components/chart-other-parallel-mul/index.d.ts +6 -6
- package/es/components/chart-other-parallel-mul/index.vue.d.ts +6 -6
- package/es/components/chart-other-parallel-mul/index.vue.mjs +3 -2
- package/es/components/chart-other-radar/index.d.ts +6 -6
- package/es/components/chart-other-radar/index.vue.d.ts +6 -6
- package/es/components/chart-other-radar/index.vue.mjs +3 -2
- package/es/components/chart-other-radar-stack/index.d.ts +6 -6
- package/es/components/chart-other-radar-stack/index.vue.d.ts +6 -6
- package/es/components/chart-other-radar-stack/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-basic/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-basic2/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic2/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-basic3/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic3/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-basic4/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic4/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-book/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-book/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-book/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-flavors/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-flavors/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +3 -2
- package/es/components/chart-other-sunburst-radius/index.d.ts +6 -6
- package/es/components/chart-other-sunburst-radius/index.vue.d.ts +6 -6
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +3 -2
- package/es/components/chart-other-theme-river/index.d.ts +6 -6
- package/es/components/chart-other-theme-river/index.vue.d.ts +6 -6
- package/es/components/chart-other-theme-river/index.vue.mjs +3 -2
- package/es/components/chart-other-tree/index.d.ts +6 -6
- package/es/components/chart-other-tree/index.vue.d.ts +6 -6
- package/es/components/chart-other-tree/index.vue.mjs +3 -2
- package/es/components/chart-other-tree-line/index.d.ts +6 -6
- package/es/components/chart-other-tree-line/index.vue.d.ts +6 -6
- package/es/components/chart-other-tree-line/index.vue.mjs +3 -2
- package/es/components/chart-other-treemap/index.d.ts +6 -6
- package/es/components/chart-other-treemap/index.vue.d.ts +6 -6
- package/es/components/chart-other-treemap/index.vue.mjs +3 -2
- package/es/components/chart-other-treemap-basic/index.d.ts +6 -6
- package/es/components/chart-other-treemap-basic/index.vue.d.ts +6 -6
- package/es/components/chart-other-treemap-basic/index.vue.mjs +3 -2
- package/es/components/chart-other-word-cloud/index.d.ts +6 -6
- package/es/components/chart-other-word-cloud/index.vue.d.ts +6 -6
- package/es/components/chart-other-word-cloud/index.vue.mjs +3 -2
- package/es/components/commons/custom-component-render/hooks/useCustomComponentRenderWatch.d.ts +5 -0
- package/es/components/commons/custom-component-render/hooks/useCustomComponentRenderWatch.mjs +15 -0
- package/es/components/commons/custom-component-render/index.d.ts +76 -0
- package/es/components/commons/custom-component-render/index.mjs +7 -0
- package/es/components/commons/custom-component-render/index.vue.d.ts +76 -0
- package/es/components/commons/custom-component-render/index.vue.mjs +7 -0
- package/es/components/commons/custom-component-render/index.vue2.mjs +280 -0
- package/es/components/commons/custom-component-render/types.d.ts +6 -0
- package/es/components/commons/index.d.ts +1 -0
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +3 -2
- package/es/components/commons-loop-iterator/index.d.ts +9 -9
- package/es/components/commons-loop-iterator/index.vue.d.ts +9 -9
- package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
- package/es/components/commons-loop-iterator/index.vue2.mjs +3 -2
- package/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +3 -2
- package/es/components/commons-qrcode/index.vue.d.ts +5 -5
- package/es/components/commons-svg/index.d.ts +4 -4
- package/es/components/commons-svg/index.vue.d.ts +4 -4
- package/es/components/commons-three-loader/index.vue.mjs +2 -2
- package/es/components/commons-three-loader/index.vue2.mjs +33 -32
- package/es/components/commons-three-loader3/index.d.ts +6 -6
- package/es/components/commons-three-loader3/index.vue.d.ts +6 -6
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +3 -2
- package/es/components/commons-weather/index.vue.d.ts +63 -7
- package/es/components/commons-weather/index.vue.mjs +1 -1
- package/es/components/commons-weather/index.vue2.mjs +3 -2
- package/es/components/commons-weather-dynamic/index.vue.d.ts +63 -7
- package/es/components/commons-weather-dynamic/index.vue.mjs +1 -1
- package/es/components/commons-weather-dynamic/index.vue2.mjs +3 -2
- package/es/components/graphical-circle/index.d.ts +3 -3
- package/es/components/graphical-circle/index.vue.d.ts +3 -3
- package/es/components/graphical-diamond/index.d.ts +3 -3
- package/es/components/graphical-diamond/index.vue.d.ts +3 -3
- package/es/components/graphical-hexagon/index.d.ts +3 -3
- package/es/components/graphical-hexagon/index.vue.d.ts +3 -3
- package/es/components/graphical-isosceles-triangle/index.d.ts +3 -3
- package/es/components/graphical-isosceles-triangle/index.vue.d.ts +3 -3
- package/es/components/graphical-pentagon/index.d.ts +3 -3
- package/es/components/graphical-pentagon/index.vue.d.ts +3 -3
- package/es/components/graphical-rect/index.d.ts +3 -3
- package/es/components/graphical-rect/index.vue.d.ts +3 -3
- package/es/components/graphical-right-triangle/index.d.ts +3 -3
- package/es/components/graphical-right-triangle/index.vue.d.ts +3 -3
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +24 -22
- package/es/components/interaction/button/index.d.ts +6 -6
- package/es/components/interaction/button/index.vue.d.ts +6 -6
- package/es/components/interaction/button/index.vue2.mjs +3 -2
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.d.ts +15 -40
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +2 -2
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +129 -118
- package/es/components/interaction/date-picker/components/common-date-picker/types.d.ts +4 -0
- package/es/components/interaction/date-picker/src/date-picker/index.d.ts +20 -45
- package/es/components/interaction/date-picker/src/date-picker/index.vue.d.ts +20 -45
- package/es/components/interaction/date-picker/src/date-picker-range/index.d.ts +20 -45
- package/es/components/interaction/date-picker/src/date-picker-range/index.vue.d.ts +20 -45
- package/es/components/interaction/tabs/index.d.ts +74 -0
- package/es/components/interaction/tabs/index.vue.d.ts +75 -0
- package/es/components/interaction/tabs/index.vue.mjs +3 -2
- package/es/components/interaction/tabs-icon/index.d.ts +74 -0
- package/es/components/interaction/tabs-icon/index.vue.d.ts +75 -0
- package/es/components/interaction/tabs-icon/index.vue.mjs +3 -2
- package/es/components/interaction-button/index.d.ts +6 -6
- package/es/components/interaction-button/index.vue.d.ts +6 -6
- package/es/components/interaction-button-image/index.d.ts +8 -8
- package/es/components/interaction-button-image/index.vue.d.ts +8 -8
- package/es/components/interaction-button-refresh/index.d.ts +8 -8
- package/es/components/interaction-button-refresh/index.vue.d.ts +8 -8
- package/es/components/interaction-data-picker/index.d.ts +6 -6
- package/es/components/interaction-data-picker/index.vue.d.ts +6 -6
- package/es/components/interaction-data-picker/index.vue.mjs +2 -2
- package/es/components/interaction-data-picker/index.vue2.mjs +100 -100
- package/es/components/interaction-input/index.d.ts +11 -11
- package/es/components/interaction-input/index.vue.d.ts +11 -11
- package/es/components/interaction-input/index.vue2.mjs +3 -2
- package/es/components/interaction-radio/index.d.ts +4 -4
- package/es/components/interaction-radio/index.vue.d.ts +4 -4
- package/es/components/interaction-select/index.d.ts +20 -12
- package/es/components/interaction-select/index.vue.d.ts +20 -12
- package/es/components/interaction-select/index.vue.mjs +1 -1
- package/es/components/interaction-select/index.vue2.mjs +3 -2
- package/es/components/interaction-slider/index.d.ts +6 -6
- package/es/components/interaction-slider/index.vue.d.ts +6 -6
- package/es/components/interaction-slider/index.vue.mjs +2 -2
- package/es/components/interaction-slider/index.vue2.mjs +26 -25
- package/es/components/interaction-switch/index.d.ts +6 -6
- package/es/components/interaction-switch/index.vue.d.ts +6 -6
- package/es/components/interaction-switch/index.vue.mjs +2 -2
- package/es/components/interaction-switch/index.vue2.mjs +31 -30
- package/es/components/interaction-tabs/index.d.ts +8 -8
- package/es/components/interaction-tabs/index.vue.d.ts +8 -8
- package/es/components/interaction-tabs/index.vue.mjs +1 -1
- package/es/components/interaction-tabs/index.vue2.mjs +3 -2
- package/es/components/interaction-tabs2/index.d.ts +8 -8
- package/es/components/interaction-tabs2/index.vue.d.ts +8 -8
- package/es/components/interaction-tabs2/index.vue.mjs +2 -2
- package/es/components/interaction-tabs2/index.vue2.mjs +3 -2
- package/es/components/map-earth-basic/index.d.ts +18 -18
- package/es/components/map-earth-basic/index.vue.d.ts +18 -18
- package/es/components/map-earth-basic/index.vue.mjs +3 -2
- package/es/components/map-earth-cool-tech/index.d.ts +18 -18
- package/es/components/map-earth-cool-tech/index.vue.d.ts +18 -18
- package/es/components/map-earth-cool-tech/index.vue.mjs +3 -2
- package/es/components/map-earth-fly-line/index.d.ts +18 -18
- package/es/components/map-earth-fly-line/index.vue.d.ts +18 -18
- package/es/components/map-earth-fly-line/index.vue.mjs +3 -2
- package/es/components/map-earth-hacker/index.d.ts +18 -18
- package/es/components/map-earth-hacker/index.vue.d.ts +18 -18
- package/es/components/map-earth-hacker/index.vue.mjs +3 -2
- package/es/components/map-earth-particle/index.d.ts +18 -18
- package/es/components/map-earth-particle/index.vue.d.ts +18 -18
- package/es/components/map-earth-particle/index.vue.mjs +3 -2
- package/es/components/media-audio/index.d.ts +8 -8
- package/es/components/media-audio/index.vue.d.ts +8 -8
- package/es/components/media-audio/index.vue.mjs +2 -2
- package/es/components/media-audio/index.vue2.mjs +31 -30
- package/es/components/media-audio-dynamic/index.d.ts +12 -12
- package/es/components/media-audio-dynamic/index.vue.d.ts +12 -12
- package/es/components/media-audio-dynamic/index.vue.mjs +2 -2
- package/es/components/media-audio-dynamic/index.vue2.mjs +36 -35
- package/es/components/media-carousel/index.d.ts +5 -5
- package/es/components/media-carousel/index.vue.d.ts +5 -5
- package/es/components/media-carousel-slides/index.d.ts +5 -5
- package/es/components/media-carousel-slides/index.vue.d.ts +5 -5
- package/es/components/media-flv/index.d.ts +8 -7
- package/es/components/media-flv/index.vue.d.ts +8 -7
- package/es/components/media-flv/index.vue.mjs +54 -42
- package/es/components/media-iframe/index.d.ts +6 -6
- package/es/components/media-iframe/index.vue.d.ts +6 -6
- package/es/components/media-iframe/index.vue.mjs +2 -2
- package/es/components/media-iframe/index.vue2.mjs +11 -9
- package/es/components/media-iframe-carousel/index.d.ts +4 -4
- package/es/components/media-iframe-carousel/index.vue.d.ts +4 -4
- package/es/components/media-iframe-dynamic/index.d.ts +9 -9
- package/es/components/media-iframe-dynamic/index.vue.d.ts +9 -9
- package/es/components/media-iframe-dynamic/index.vue.mjs +2 -2
- package/es/components/media-iframe-dynamic/index.vue2.mjs +27 -25
- package/es/components/media-image/index.d.ts +4 -4
- package/es/components/media-image/index.vue.d.ts +4 -4
- package/es/components/media-image-dynamic/index.d.ts +6 -6
- package/es/components/media-image-dynamic/index.vue.d.ts +6 -6
- package/es/components/media-image-dynamic/index.vue.mjs +1 -1
- package/es/components/media-image-dynamic/index.vue2.mjs +3 -2
- package/es/components/media-m3u8/index.d.ts +7 -7
- package/es/components/media-m3u8/index.vue.d.ts +7 -7
- package/es/components/media-m3u8/index.vue.mjs +81 -49
- package/es/components/media-m3u8-dynamic/index.d.ts +9 -9
- package/es/components/media-m3u8-dynamic/index.vue.d.ts +9 -9
- package/es/components/media-m3u8-dynamic/index.vue.mjs +94 -62
- package/es/components/media-video/index.d.ts +7 -7
- package/es/components/media-video/index.vue.d.ts +7 -7
- package/es/components/media-video/index.vue.mjs +1 -1
- package/es/components/media-video/index.vue2.mjs +3 -2
- package/es/components/media-video-dynamic/index.d.ts +10 -10
- package/es/components/media-video-dynamic/index.vue.d.ts +10 -10
- package/es/components/media-video-dynamic/index.vue.mjs +2 -2
- package/es/components/media-video-dynamic/index.vue2.mjs +3 -2
- package/es/components/media-wavesurfer/index.d.ts +11 -11
- package/es/components/media-wavesurfer/index.vue.d.ts +11 -11
- package/es/components/scene-amap2d/index.d.ts +10 -10
- package/es/components/scene-amap2d/index.vue.d.ts +10 -10
- package/es/components/scene-amap2d/index.vue.mjs +1 -1
- package/es/components/scene-amap2d/index.vue2.mjs +120 -119
- package/es/components/scene-amap3d/index.d.ts +10 -10
- package/es/components/scene-amap3d/index.vue.d.ts +10 -10
- package/es/components/scene-amap3d/index.vue.mjs +1 -1
- package/es/components/scene-amap3d/index.vue2.mjs +136 -135
- package/es/components/scene-default/index.d.ts +4 -4
- package/es/components/scene-default/index.vue.d.ts +4 -4
- package/es/components/scene-default/index.vue.mjs +2 -2
- package/es/components/scene-default/index.vue2.mjs +3 -2
- package/es/components/scene-map3d/index.d.ts +12 -12
- package/es/components/scene-map3d/index.vue.d.ts +12 -12
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +21 -17
- package/es/components/scene-ue-iframe/index.d.ts +5 -5
- package/es/components/scene-ue-iframe/index.vue.d.ts +5 -5
- package/es/components/scene-ue-iframe/index.vue.mjs +1 -1
- package/es/components/scene-ue-iframe/index.vue2.mjs +3 -2
- package/es/components/scene-ue-shj/index.d.ts +5 -5
- package/es/components/scene-ue-shj/index.vue.d.ts +5 -5
- package/es/components/scene-ue-shj/index.vue.mjs +2 -2
- package/es/components/scene-ue-shj/index.vue2.mjs +3 -2
- package/es/components/scene-unity-iframe/index.d.ts +7 -7
- package/es/components/scene-unity-iframe/index.vue.d.ts +7 -7
- package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
- package/es/components/scene-unity-iframe/index.vue2.mjs +3 -2
- package/es/components/scene-unity-webgl/index.d.ts +7 -7
- package/es/components/scene-unity-webgl/index.vue.d.ts +7 -7
- package/es/components/scene-unity-webgl/index.vue.mjs +2 -2
- package/es/components/scene-unity-webgl/index.vue2.mjs +3 -2
- package/es/components/scene-vr/index.d.ts +19 -14
- package/es/components/scene-vr/index.vue.d.ts +20 -14
- package/es/components/scene-vr/index.vue.mjs +1 -1
- package/es/components/scene-vr/index.vue2.mjs +220 -219
- package/es/components/text/list/index.d.ts +12 -12
- package/es/components/text/list/index.vue.d.ts +12 -12
- package/es/components/text/list/index.vue.mjs +3 -2
- package/es/components/text-carousel/index.d.ts +4 -4
- package/es/components/text-carousel/index.vue.d.ts +4 -4
- package/es/components/text-count-down/index.vue.d.ts +7 -7
- package/es/components/text-count-down/index.vue.mjs +2 -2
- package/es/components/text-count-down/index.vue2.mjs +3 -2
- package/es/components/text-over-number/index.vue.d.ts +15 -51
- package/es/components/text-over-number/index.vue.mjs +2 -2
- package/es/components/text-over-number/index.vue2.mjs +3 -2
- package/es/components/text-real-time/index.vue.d.ts +7 -7
- package/es/components/text-real-time/index.vue2.mjs +3 -2
- package/es/components/text-row-scroll/index.d.ts +9 -9
- package/es/components/text-row-scroll/index.vue.d.ts +9 -9
- package/es/components/text-row-scroll/index.vue.mjs +2 -2
- package/es/components/text-row-scroll/index.vue2.mjs +30 -29
- package/es/components/text-table-basic/index.d.ts +7 -7
- package/es/components/text-table-basic/index.vue.d.ts +7 -7
- package/es/components/text-table-basic/index.vue.mjs +3 -3
- package/es/components/text-table-basic/index.vue2.mjs +21 -20
- package/es/components/text-table-scroll/index.d.ts +9 -9
- package/es/components/text-table-scroll/index.vue.d.ts +9 -9
- package/es/components/text-table-scroll/index.vue.mjs +1 -1
- package/es/components/text-table-scroll/index.vue2.mjs +29 -28
- package/es/components/text-text-basic/index.d.ts +4 -4
- package/es/components/text-text-basic/index.vue.d.ts +4 -4
- package/es/components/text-text-dynamic/index.d.ts +6 -6
- package/es/components/text-text-dynamic/index.vue.d.ts +6 -6
- package/es/components/text-text-dynamic/index.vue.mjs +2 -2
- package/es/components/text-text-dynamic/index.vue2.mjs +3 -2
- package/es/components/text-title/index.d.ts +4 -4
- package/es/components/text-title/index.vue.d.ts +4 -4
- package/es/index.mjs +22 -20
- package/es/plugins/datasource/index.mjs +46 -47
- package/es/widgets.css +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as M, ref as c, computed as _, watch as ie, onMounted as re, resolveComponent as A, createElementBlock as n, openBlock as s, createCommentVNode as l, createElementVNode as a, Fragment as L, withDirectives as P, vShow as j, normalizeStyle as E, createVNode as z, withCtx as D, renderList as ne, toDisplayString as se, createStaticVNode as ae, nextTick as pe } from "vue";
|
|
2
|
+
import le from "./resources/zv-vr-select.svg.mjs";
|
|
3
3
|
import H from "./resources/zv-return.svg.mjs";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { isArray as
|
|
11
|
-
import { useRoute as
|
|
4
|
+
import ce from "./resources/zv-add.svg.mjs";
|
|
5
|
+
import me from "./resources/zv-reduce.svg.mjs";
|
|
6
|
+
import ue from "./resources/zv-play.svg.mjs";
|
|
7
|
+
import de from "./resources/zv-pause.svg.mjs";
|
|
8
|
+
import ve from "./resources/zv-refresh.svg.mjs";
|
|
9
|
+
import T from "hls.js";
|
|
10
|
+
import { isArray as we, debounce as fe, cloneDeep as I } from "lodash";
|
|
11
|
+
import { useRoute as Se } from "vue-router";
|
|
12
12
|
import "../text-text-basic/index.mjs";
|
|
13
13
|
import "../text-table-basic/index.mjs";
|
|
14
14
|
import "../chart-other-gauge/index.mjs";
|
|
@@ -189,75 +189,26 @@ import "../chart/src/scatter/basic/index.mjs";
|
|
|
189
189
|
import "../chart/src/scatter/basic2/index.mjs";
|
|
190
190
|
import "../chart/src/scatter/bubble/index.mjs";
|
|
191
191
|
import "../chart/src/scatter/ripples/index.mjs";
|
|
192
|
+
import "../commons/custom-component-render/index.mjs";
|
|
192
193
|
/* empty css */
|
|
193
194
|
/* empty css */
|
|
194
195
|
import "../../plugins/datasource/utils/request.mjs";
|
|
195
196
|
import "../../plugins/datasource/utils/wsManager.mjs";
|
|
196
|
-
import { SHJParseEvent as
|
|
197
|
-
const
|
|
197
|
+
import { SHJParseEvent as f } from "../../plugins/event/index.mjs";
|
|
198
|
+
const Ve = { class: "vr-scene-wrap" }, be = {
|
|
198
199
|
id: "panorama",
|
|
199
200
|
class: "vr-scene"
|
|
200
|
-
},
|
|
201
|
+
}, ye = {
|
|
201
202
|
id: "panorama-video-wrap",
|
|
202
203
|
class: "vr-scene-main"
|
|
203
|
-
},
|
|
204
|
+
}, ge = {
|
|
204
205
|
key: 1,
|
|
205
206
|
class: "vr-scene-controls"
|
|
206
|
-
}, He =
|
|
207
|
-
src: ue,
|
|
208
|
-
alt: ""
|
|
209
|
-
}, null, -1)), ke = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
210
|
-
src: H,
|
|
211
|
-
alt: ""
|
|
212
|
-
}, null, -1)), Je = [
|
|
213
|
-
ke
|
|
214
|
-
], Ee = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
215
|
-
src: H,
|
|
216
|
-
alt: ""
|
|
217
|
-
}, null, -1)), Te = [
|
|
218
|
-
Ee
|
|
219
|
-
], Ce = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
220
|
-
src: H,
|
|
221
|
-
alt: ""
|
|
222
|
-
}, null, -1)), Re = [
|
|
223
|
-
Ce
|
|
224
|
-
], Ae = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
225
|
-
src: H,
|
|
226
|
-
alt: ""
|
|
227
|
-
}, null, -1)), Le = [
|
|
228
|
-
Ae
|
|
229
|
-
], Pe = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
230
|
-
src: de,
|
|
231
|
-
alt: ""
|
|
232
|
-
}, null, -1)), Ie = [
|
|
233
|
-
Pe
|
|
234
|
-
], je = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
235
|
-
src: ve,
|
|
236
|
-
alt: ""
|
|
237
|
-
}, null, -1)), ze = [
|
|
238
|
-
je
|
|
239
|
-
], De = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
240
|
-
src: we,
|
|
241
|
-
alt: ""
|
|
242
|
-
}, null, -1)), Me = [
|
|
243
|
-
De
|
|
244
|
-
], Be = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
245
|
-
src: fe,
|
|
246
|
-
alt: ""
|
|
247
|
-
}, null, -1)), Ne = [
|
|
248
|
-
Be
|
|
249
|
-
], Ge = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", {
|
|
250
|
-
src: Se,
|
|
251
|
-
alt: ""
|
|
252
|
-
}, null, -1)), We = [
|
|
253
|
-
Ge
|
|
254
|
-
], Ye = { class: "scene-list" }, Ue = ["onClick"], $e = ["src"], Fe = { class: "label" }, Ze = ["autoplay", "loop", "volume"], Ke = ["src"], qe = {
|
|
207
|
+
}, Oe = { class: "scene-list" }, He = ["onClick"], ke = ["src"], Je = { class: "label" }, he = ["autoplay", "loop", "volume"], Ee = ["src"], Te = {
|
|
255
208
|
key: 3,
|
|
256
209
|
class: "mouse-tip"
|
|
257
|
-
},
|
|
258
|
-
|
|
259
|
-
], xe = N({ name: "zv-scene-vr" }), jr = /* @__PURE__ */ N({
|
|
260
|
-
...xe,
|
|
210
|
+
}, Ce = M({ name: "zv-scene-vr" }), dr = /* @__PURE__ */ M({
|
|
211
|
+
...Ce,
|
|
261
212
|
props: {
|
|
262
213
|
basicOption: {},
|
|
263
214
|
sources: {},
|
|
@@ -271,16 +222,16 @@ const m = (V) => (le("data-v-e9509435"), V = V(), me(), V), _e = { class: "vr-sc
|
|
|
271
222
|
"on-scene-zooming",
|
|
272
223
|
"on-scene-hotClick"
|
|
273
224
|
],
|
|
274
|
-
setup(
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
const
|
|
225
|
+
setup(B, { emit: N }) {
|
|
226
|
+
const G = Se(), t = B, S = N;
|
|
227
|
+
f.parseEvents(t.useEvents, "on-page-loaded", null);
|
|
228
|
+
const m = c(), u = c({ src: "", autoplay: !0, loop: !0, volume: 50 }), v = c(null), W = c(t.basicOption.default.firstScene), w = c(W.value), i = _(() => {
|
|
278
229
|
try {
|
|
279
|
-
return
|
|
230
|
+
return t.basicOption.scenes[w.value];
|
|
280
231
|
} catch {
|
|
281
232
|
return null;
|
|
282
233
|
}
|
|
283
|
-
}),
|
|
234
|
+
}), C = {
|
|
284
235
|
bylineLabel: "来自 %s",
|
|
285
236
|
noPanoramaError: "未指定全景图像。",
|
|
286
237
|
fileAccessError: "The file %s could not be accessed.",
|
|
@@ -289,17 +240,17 @@ const m = (V) => (le("data-v-e9509435"), V = V(), me(), V), _e = { class: "vr-sc
|
|
|
289
240
|
genericWebGLError: "您的浏览器没有显示此全景图所需的WebGL支持。",
|
|
290
241
|
textureSizeError: "This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",
|
|
291
242
|
unknownError: "未知错误。检查开发人员控制台。"
|
|
292
|
-
},
|
|
293
|
-
const
|
|
243
|
+
}, Y = () => {
|
|
244
|
+
const o = t.basicOption;
|
|
294
245
|
window.SHJSceneVrViewer = window.pannellum.viewer("panorama", {
|
|
295
|
-
...
|
|
296
|
-
default: Object.assign(
|
|
297
|
-
strings:
|
|
246
|
+
...o,
|
|
247
|
+
default: Object.assign(I(o.default), { firstScene: w.value }),
|
|
248
|
+
strings: C
|
|
298
249
|
});
|
|
299
|
-
},
|
|
300
|
-
const
|
|
301
|
-
const
|
|
302
|
-
|
|
250
|
+
}, U = () => {
|
|
251
|
+
const o = () => {
|
|
252
|
+
const p = document.getElementById("panorama-video-wrap");
|
|
253
|
+
p.innerHTML = `
|
|
303
254
|
<video
|
|
304
255
|
id="panorama-video"
|
|
305
256
|
autoplay
|
|
@@ -311,232 +262,282 @@ const m = (V) => (le("data-v-e9509435"), V = V(), me(), V), _e = { class: "vr-sc
|
|
|
311
262
|
</video>
|
|
312
263
|
`;
|
|
313
264
|
};
|
|
314
|
-
|
|
315
|
-
const
|
|
316
|
-
if (
|
|
265
|
+
v.value && (v.value.dispose(), v.value = null, o()), v.value || o();
|
|
266
|
+
const e = document.getElementById("panorama-video"), r = t.basicOption;
|
|
267
|
+
if (v.value = window.videojs(e, {
|
|
317
268
|
loop: !0,
|
|
318
269
|
autoplay: !0,
|
|
319
270
|
plugins: {
|
|
320
271
|
pannellum: {
|
|
321
|
-
...
|
|
322
|
-
default: Object.assign(
|
|
323
|
-
strings:
|
|
272
|
+
...t.basicOption,
|
|
273
|
+
default: Object.assign(I(r.default), { firstScene: w.value }),
|
|
274
|
+
strings: C
|
|
324
275
|
}
|
|
325
276
|
}
|
|
326
|
-
}), window.SHJSceneVrViewer =
|
|
327
|
-
if (
|
|
328
|
-
const
|
|
329
|
-
|
|
330
|
-
|
|
277
|
+
}), window.SHJSceneVrViewer = v.value.pnlmViewer, i.value.sceneType === "video" && (e.src = i.value.panorama), i.value.sceneType === "hls")
|
|
278
|
+
if (T.isSupported()) {
|
|
279
|
+
const p = new T();
|
|
280
|
+
p.loadSource(i.value.panorama), p.attachMedia(e), p.on(T.Events.MANIFEST_PARSED, () => {
|
|
281
|
+
e.play();
|
|
331
282
|
});
|
|
332
|
-
} else
|
|
333
|
-
},
|
|
334
|
-
if (window.pannellum &&
|
|
335
|
-
window.SHJSceneVrViewer && (window.SHJSceneVrViewer.destroy(), window.SHJSceneVrViewer = null),
|
|
283
|
+
} else e.canPlayType("application/vnd.apple.mpegurl") && (e.src = i.value.panorama);
|
|
284
|
+
}, V = G.path.includes("designer-vr"), k = () => {
|
|
285
|
+
if (window.pannellum && t.basicOption) {
|
|
286
|
+
window.SHJSceneVrViewer && (window.SHJSceneVrViewer.destroy(), window.SHJSceneVrViewer = null), i.value.sceneType === "image" ? Y() : U();
|
|
336
287
|
try {
|
|
337
|
-
|
|
338
|
-
|
|
288
|
+
t.basicOption.scenes[window.SHJSceneVrViewer.getScene()] && (u.value = t.basicOption.default.audio, m.value && u.value && (window.SHJSceneVrViewer.audio = m, m.value.src = u.value.src, setTimeout(() => {
|
|
289
|
+
m.value && (y.value = m.value.paused);
|
|
339
290
|
}, 500)));
|
|
340
291
|
} catch {
|
|
341
292
|
}
|
|
342
293
|
window.SHJSceneVrViewer.on("load", () => {
|
|
343
|
-
|
|
344
|
-
}),
|
|
294
|
+
S("on-scene-loaded", i.value), f.parseEvents(t.useEvents, "on-scene-loaded", i.value);
|
|
295
|
+
}), V || t.basicOption.default.autoRotate === 0 ? window.SHJSceneVrViewer.stopAutoRotate() : window.SHJSceneVrViewer.startAutoRotate();
|
|
345
296
|
try {
|
|
346
297
|
window.SHJSceneVrViewer && async function() {
|
|
347
|
-
for (const
|
|
348
|
-
Object.prototype.hasOwnProperty.call(
|
|
298
|
+
for (const o in t.basicOption.scenes)
|
|
299
|
+
Object.prototype.hasOwnProperty.call(t.basicOption.scenes, o) && t.basicOption.scenes[o].hotSpots.forEach(async (r) => {
|
|
349
300
|
await setTimeout(() => {
|
|
350
|
-
r.draggable =
|
|
301
|
+
r.draggable = V, window.SHJSceneVrViewer.removeHotSpot(r.id, o), window.SHJSceneVrViewer.addHotSpot(r, o);
|
|
351
302
|
}, 100);
|
|
352
303
|
});
|
|
353
304
|
}();
|
|
354
305
|
} catch {
|
|
355
306
|
}
|
|
356
|
-
window.SHJSceneVrViewer.on("scenechange", (
|
|
357
|
-
const
|
|
358
|
-
if (
|
|
307
|
+
window.SHJSceneVrViewer.on("scenechange", (o) => {
|
|
308
|
+
const e = document.getElementsByTagName("video");
|
|
309
|
+
if (we(e) && e.length > 0 && e.forEach((r) => {
|
|
359
310
|
r && r.pause();
|
|
360
|
-
}),
|
|
361
|
-
const r =
|
|
362
|
-
|
|
363
|
-
const
|
|
311
|
+
}), i.value) {
|
|
312
|
+
const r = i.value.sceneType;
|
|
313
|
+
w.value = o;
|
|
314
|
+
const p = i.value.sceneType;
|
|
364
315
|
setTimeout(() => {
|
|
365
|
-
(
|
|
366
|
-
}),
|
|
316
|
+
(p !== "image" || r !== "image" && p === "image") && k(), g.value = w.value, S("on-scene-scenechange", i.value), f.parseEvents(t.useEvents, "on-scene-scenechange", i.value);
|
|
317
|
+
}), V ? window.SHJSceneVrViewer.stopAutoRotate() : window.SHJSceneVrViewer.startAutoRotate();
|
|
367
318
|
} else
|
|
368
|
-
|
|
369
|
-
k(),
|
|
319
|
+
w.value = t.basicOption.default.firstScene, pe(() => {
|
|
320
|
+
k(), S("on-scene-scenechange", i.value), f.parseEvents(t.useEvents, "on-scene-scenechange", i.value);
|
|
370
321
|
});
|
|
371
|
-
}), window.SHJSceneVrViewer.on("zoomchange",
|
|
372
|
-
|
|
373
|
-
}, 300)), window.SHJSceneVrViewer.on("hot-click", (
|
|
374
|
-
|
|
322
|
+
}), window.SHJSceneVrViewer.on("zoomchange", fe((o) => {
|
|
323
|
+
S("on-scene-zooming", i.value), f.parseEvents(t.useEvents, "on-scene-zooming", i.value);
|
|
324
|
+
}, 300)), window.SHJSceneVrViewer.on("hot-click", (o) => {
|
|
325
|
+
S("on-scene-hotClick", o), f.parseEvents(t.useEvents, "on-scene-hotClick", o);
|
|
375
326
|
});
|
|
376
327
|
}
|
|
377
|
-
}, g =
|
|
378
|
-
const
|
|
379
|
-
if (
|
|
380
|
-
const
|
|
381
|
-
for (const r in
|
|
382
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
383
|
-
const
|
|
384
|
-
|
|
328
|
+
}, g = c(t.basicOption.default.firstScene), $ = _(() => {
|
|
329
|
+
const o = [];
|
|
330
|
+
if (t.basicOption) {
|
|
331
|
+
const e = t.basicOption.scenes;
|
|
332
|
+
for (const r in e)
|
|
333
|
+
if (Object.prototype.hasOwnProperty.call(e, r)) {
|
|
334
|
+
const p = e[r];
|
|
335
|
+
o.push({ label: p.label, value: r, thumbnail: p.cover });
|
|
385
336
|
}
|
|
386
337
|
}
|
|
387
|
-
return
|
|
388
|
-
const
|
|
389
|
-
return
|
|
338
|
+
return o.sort((e, r) => {
|
|
339
|
+
const p = parseInt(e.value.replace("scene", "")), d = parseInt(r.value.replace("scene", ""));
|
|
340
|
+
return p - d;
|
|
390
341
|
});
|
|
391
342
|
});
|
|
392
|
-
|
|
393
|
-
|
|
343
|
+
ie(() => t.basicOption.default, () => {
|
|
344
|
+
V ? window.SHJSceneVrViewer.stopAutoRotate() : window.SHJSceneVrViewer.startAutoRotate();
|
|
394
345
|
}, { deep: !0 });
|
|
395
|
-
const
|
|
396
|
-
window.SHJSceneVrViewer && g.value !==
|
|
397
|
-
}, J =
|
|
398
|
-
|
|
346
|
+
const F = (o) => {
|
|
347
|
+
window.SHJSceneVrViewer && g.value !== o && (g.value = o, window.SHJSceneVrViewer.isLoaded() && (window.SHJSceneVrViewer.loadScene(o), V ? window.SHJSceneVrViewer.stopAutoRotate() : window.SHJSceneVrViewer.startAutoRotate()));
|
|
348
|
+
}, J = c(), b = c(!0), Z = () => {
|
|
349
|
+
b.value ? J.value.style.bottom = "-999px" : J.value.style.bottom = "80px", b.value = !b.value;
|
|
399
350
|
};
|
|
400
|
-
|
|
401
|
-
|
|
351
|
+
re(() => {
|
|
352
|
+
t.basicOption && (t.basicOption.default.controls === void 0 && (t.basicOption.default.controls = i.value.controls), t.basicOption.default.audio === void 0 && (t.basicOption.default.audio = i.value.audio)), k(), te();
|
|
402
353
|
});
|
|
403
|
-
const
|
|
354
|
+
const K = () => {
|
|
404
355
|
window.SHJSceneVrViewer.setPitch(window.SHJSceneVrViewer.getPitch() + 10);
|
|
405
|
-
},
|
|
356
|
+
}, q = () => {
|
|
406
357
|
window.SHJSceneVrViewer.setPitch(window.SHJSceneVrViewer.getPitch() - 10);
|
|
407
|
-
},
|
|
358
|
+
}, Q = () => {
|
|
408
359
|
window.SHJSceneVrViewer.setYaw(window.SHJSceneVrViewer.getYaw() - 10);
|
|
409
|
-
},
|
|
360
|
+
}, X = () => {
|
|
410
361
|
window.SHJSceneVrViewer.setYaw(window.SHJSceneVrViewer.getYaw() + 10);
|
|
411
|
-
},
|
|
362
|
+
}, x = () => {
|
|
412
363
|
window.SHJSceneVrViewer.setHfov(window.SHJSceneVrViewer.getHfov() - 10);
|
|
413
|
-
},
|
|
364
|
+
}, ee = () => {
|
|
414
365
|
window.SHJSceneVrViewer.setHfov(window.SHJSceneVrViewer.getHfov() + 10);
|
|
415
|
-
}, y =
|
|
416
|
-
|
|
417
|
-
},
|
|
366
|
+
}, y = c(!1), R = (o) => {
|
|
367
|
+
m.value && (o === "play" ? (m.value.play(), y.value = !1) : (m.value.pause(), y.value = !0));
|
|
368
|
+
}, oe = () => {
|
|
418
369
|
window.SHJSceneVrViewer.startAutoRotate();
|
|
419
370
|
};
|
|
420
|
-
let
|
|
421
|
-
const O =
|
|
422
|
-
|
|
371
|
+
let h;
|
|
372
|
+
const O = c(!1), te = () => {
|
|
373
|
+
t.basicOption.default.controls ? O.value = t.basicOption.default.controls.mouseTipShow : O.value = !0, h && clearTimeout(h), h = setTimeout(() => {
|
|
423
374
|
O.value = !1;
|
|
424
375
|
}, 3500);
|
|
425
376
|
};
|
|
426
|
-
return (
|
|
427
|
-
const r =
|
|
428
|
-
return s(), n("div",
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
[
|
|
377
|
+
return (o, e) => {
|
|
378
|
+
const r = A("el-tooltip"), p = A("el-scrollbar");
|
|
379
|
+
return s(), n("div", Ve, [
|
|
380
|
+
i.value ? (s(), n(L, { key: 0 }, [
|
|
381
|
+
P(a("div", be, null, 512), [
|
|
382
|
+
[j, i.value.sceneType === "image"]
|
|
432
383
|
]),
|
|
433
|
-
|
|
434
|
-
[
|
|
384
|
+
P(a("div", ye, null, 512), [
|
|
385
|
+
[j, i.value.sceneType !== "image"]
|
|
435
386
|
])
|
|
436
|
-
], 64)) :
|
|
437
|
-
|
|
438
|
-
|
|
387
|
+
], 64)) : l("", !0),
|
|
388
|
+
o.basicOption.default.controls ? (s(), n("div", ge, [
|
|
389
|
+
o.basicOption.default.controls.scene ? (s(), n("div", {
|
|
439
390
|
key: 0,
|
|
440
391
|
class: "btn-icon left",
|
|
441
|
-
style:
|
|
442
|
-
onClick:
|
|
392
|
+
style: E({ borderColor: b.value ? "#ff7d00" : "#ffffff3d" }),
|
|
393
|
+
onClick: Z
|
|
443
394
|
}, [
|
|
444
|
-
|
|
445
|
-
default:
|
|
446
|
-
|
|
447
|
-
|
|
395
|
+
z(r, { content: "场景选择" }, {
|
|
396
|
+
default: D(() => e[2] || (e[2] = [
|
|
397
|
+
a("img", {
|
|
398
|
+
src: le,
|
|
399
|
+
alt: ""
|
|
400
|
+
}, null, -1)
|
|
401
|
+
])),
|
|
448
402
|
_: 1
|
|
449
403
|
})
|
|
450
|
-
], 4)) :
|
|
451
|
-
|
|
404
|
+
], 4)) : l("", !0),
|
|
405
|
+
o.basicOption.default.controls.left ? (s(), n("div", {
|
|
452
406
|
key: 1,
|
|
453
407
|
class: "btn-icon left",
|
|
454
|
-
onClick:
|
|
455
|
-
},
|
|
456
|
-
|
|
408
|
+
onClick: Q
|
|
409
|
+
}, e[3] || (e[3] = [
|
|
410
|
+
a("img", {
|
|
411
|
+
src: H,
|
|
412
|
+
alt: ""
|
|
413
|
+
}, null, -1)
|
|
414
|
+
]))) : l("", !0),
|
|
415
|
+
o.basicOption.default.controls.right ? (s(), n("div", {
|
|
457
416
|
key: 2,
|
|
458
417
|
class: "btn-icon right",
|
|
459
|
-
onClick:
|
|
460
|
-
},
|
|
461
|
-
|
|
418
|
+
onClick: X
|
|
419
|
+
}, e[4] || (e[4] = [
|
|
420
|
+
a("img", {
|
|
421
|
+
src: H,
|
|
422
|
+
alt: ""
|
|
423
|
+
}, null, -1)
|
|
424
|
+
]))) : l("", !0),
|
|
425
|
+
o.basicOption.default.controls.top ? (s(), n("div", {
|
|
462
426
|
key: 3,
|
|
463
427
|
class: "btn-icon up",
|
|
464
|
-
onClick:
|
|
465
|
-
},
|
|
466
|
-
|
|
428
|
+
onClick: K
|
|
429
|
+
}, e[5] || (e[5] = [
|
|
430
|
+
a("img", {
|
|
431
|
+
src: H,
|
|
432
|
+
alt: ""
|
|
433
|
+
}, null, -1)
|
|
434
|
+
]))) : l("", !0),
|
|
435
|
+
o.basicOption.default.controls.bottom ? (s(), n("div", {
|
|
467
436
|
key: 4,
|
|
468
437
|
class: "btn-icon down",
|
|
469
|
-
onClick:
|
|
470
|
-
},
|
|
471
|
-
|
|
438
|
+
onClick: q
|
|
439
|
+
}, e[6] || (e[6] = [
|
|
440
|
+
a("img", {
|
|
441
|
+
src: H,
|
|
442
|
+
alt: ""
|
|
443
|
+
}, null, -1)
|
|
444
|
+
]))) : l("", !0),
|
|
445
|
+
o.basicOption.default.controls.magnify ? (s(), n("div", {
|
|
472
446
|
key: 5,
|
|
473
447
|
class: "btn-icon",
|
|
474
|
-
onClick:
|
|
475
|
-
},
|
|
476
|
-
|
|
448
|
+
onClick: x
|
|
449
|
+
}, e[7] || (e[7] = [
|
|
450
|
+
a("img", {
|
|
451
|
+
src: ce,
|
|
452
|
+
alt: ""
|
|
453
|
+
}, null, -1)
|
|
454
|
+
]))) : l("", !0),
|
|
455
|
+
o.basicOption.default.controls.shrink ? (s(), n("div", {
|
|
477
456
|
key: 6,
|
|
478
457
|
class: "btn-icon",
|
|
479
|
-
onClick:
|
|
480
|
-
},
|
|
481
|
-
|
|
458
|
+
onClick: ee
|
|
459
|
+
}, e[8] || (e[8] = [
|
|
460
|
+
a("img", {
|
|
461
|
+
src: me,
|
|
462
|
+
alt: ""
|
|
463
|
+
}, null, -1)
|
|
464
|
+
]))) : l("", !0),
|
|
465
|
+
y.value && u.value.src && o.basicOption.default.audio ? (s(), n("div", {
|
|
482
466
|
key: 7,
|
|
483
467
|
class: "btn-icon",
|
|
484
|
-
onClick:
|
|
485
|
-
},
|
|
486
|
-
|
|
468
|
+
onClick: e[0] || (e[0] = (d) => R("play"))
|
|
469
|
+
}, e[9] || (e[9] = [
|
|
470
|
+
a("img", {
|
|
471
|
+
src: ue,
|
|
472
|
+
alt: ""
|
|
473
|
+
}, null, -1)
|
|
474
|
+
]))) : l("", !0),
|
|
475
|
+
!y.value && u.value.src && o.basicOption.default.audio ? (s(), n("div", {
|
|
487
476
|
key: 8,
|
|
488
477
|
class: "btn-icon",
|
|
489
|
-
onClick:
|
|
490
|
-
},
|
|
491
|
-
|
|
478
|
+
onClick: e[1] || (e[1] = (d) => R("pause"))
|
|
479
|
+
}, e[10] || (e[10] = [
|
|
480
|
+
a("img", {
|
|
481
|
+
src: de,
|
|
482
|
+
alt: ""
|
|
483
|
+
}, null, -1)
|
|
484
|
+
]))) : l("", !0),
|
|
485
|
+
o.basicOption.default.controls.rotate ? (s(), n("div", {
|
|
492
486
|
key: 9,
|
|
493
487
|
class: "btn-icon",
|
|
494
|
-
onClick:
|
|
495
|
-
},
|
|
496
|
-
|
|
497
|
-
|
|
488
|
+
onClick: oe
|
|
489
|
+
}, e[11] || (e[11] = [
|
|
490
|
+
a("img", {
|
|
491
|
+
src: ve,
|
|
492
|
+
alt: ""
|
|
493
|
+
}, null, -1)
|
|
494
|
+
]))) : l("", !0)
|
|
495
|
+
])) : l("", !0),
|
|
496
|
+
o.basicOption.default.controls ? (s(), n("div", {
|
|
498
497
|
key: 2,
|
|
499
498
|
ref_key: "sceneMenuRef",
|
|
500
499
|
ref: J,
|
|
501
500
|
class: "scene-menu",
|
|
502
|
-
style:
|
|
501
|
+
style: E({ bottom: b.value && o.basicOption.default.controls.scene ? "80px" : "-9999999999999px" })
|
|
503
502
|
}, [
|
|
504
|
-
|
|
505
|
-
default:
|
|
506
|
-
a("div",
|
|
507
|
-
(s(!0), n(
|
|
508
|
-
key:
|
|
503
|
+
z(p, null, {
|
|
504
|
+
default: D(() => [
|
|
505
|
+
a("div", Oe, [
|
|
506
|
+
(s(!0), n(L, null, ne($.value, (d) => (s(), n("div", {
|
|
507
|
+
key: d.value,
|
|
509
508
|
class: "scene-item",
|
|
510
|
-
style:
|
|
511
|
-
onClick: (
|
|
509
|
+
style: E({ borderColor: g.value === d.value ? "#ff7d00" : "#fff" }),
|
|
510
|
+
onClick: (Re) => F(d.value)
|
|
512
511
|
}, [
|
|
513
512
|
a("img", {
|
|
514
513
|
class: "thumbnail",
|
|
515
|
-
src:
|
|
516
|
-
}, null, 8,
|
|
517
|
-
a("p",
|
|
518
|
-
], 12,
|
|
514
|
+
src: d.thumbnail
|
|
515
|
+
}, null, 8, ke),
|
|
516
|
+
a("p", Je, se(d.label), 1)
|
|
517
|
+
], 12, He))), 128))
|
|
519
518
|
])
|
|
520
519
|
]),
|
|
521
520
|
_: 1
|
|
522
521
|
})
|
|
523
|
-
], 4)) :
|
|
522
|
+
], 4)) : l("", !0),
|
|
524
523
|
a("audio", {
|
|
525
524
|
ref_key: "audioRef",
|
|
526
|
-
ref:
|
|
527
|
-
autoplay:
|
|
528
|
-
loop:
|
|
529
|
-
volume:
|
|
525
|
+
ref: m,
|
|
526
|
+
autoplay: u.value.autoplay,
|
|
527
|
+
loop: u.value.loop,
|
|
528
|
+
volume: u.value.volume
|
|
530
529
|
}, [
|
|
531
530
|
a("source", {
|
|
532
|
-
src:
|
|
533
|
-
}, null, 8,
|
|
534
|
-
], 8,
|
|
535
|
-
O.value ? (s(), n("div",
|
|
531
|
+
src: u.value.src
|
|
532
|
+
}, null, 8, Ee)
|
|
533
|
+
], 8, he),
|
|
534
|
+
O.value ? (s(), n("div", Te, e[12] || (e[12] = [
|
|
535
|
+
ae('<div class="icon-wrap" data-v-40ea83da><div class="left" data-v-40ea83da><i class="iconfont zv-drop-down" data-v-40ea83da></i></div><i class="iconfont zv-mouse" data-v-40ea83da></i><div class="right" data-v-40ea83da><i class="iconfont zv-drop-down" data-v-40ea83da></i></div></div><p class="title" data-v-40ea83da>左右拖动 更多精彩</p>', 2)
|
|
536
|
+
]))) : l("", !0)
|
|
536
537
|
]);
|
|
537
538
|
};
|
|
538
539
|
}
|
|
539
540
|
});
|
|
540
541
|
export {
|
|
541
|
-
|
|
542
|
+
dr as default
|
|
542
543
|
};
|