@shjjs/visual-ui 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/commons/core/earth/main.vue.mjs +7 -7
- package/es/commons/core/useChart.mjs +301 -301
- package/es/commons/utils/parseDataset.mjs +19 -19
- package/es/commons/utils/typescript.d.ts +5 -5
- package/es/components/chart/commons/components/common-chart/index.vue.mjs +269 -269
- package/es/components/chart/commons/components/common-chart-map/index.vue.mjs +247 -247
- package/es/components/chart/commons/hooks/useChart.mjs +316 -316
- package/es/components/chart-other-candlestick-basic/index.vue.mjs +261 -261
- package/es/components/chart-other-candlestick-demo/index.vue.mjs +260 -260
- package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +260 -260
- package/es/components/chart-other-circular-graph/index.vue.mjs +260 -260
- package/es/components/chart-other-force/index.vue.mjs +260 -260
- package/es/components/chart-other-force2/index.vue.mjs +260 -260
- package/es/components/chart-other-funnel/index.vue.mjs +260 -260
- package/es/components/chart-other-funnel-contrast/index.vue.mjs +260 -260
- package/es/components/chart-other-funnel-split/index.vue.mjs +260 -260
- package/es/components/chart-other-funnel2/index.vue.mjs +260 -260
- package/es/components/chart-other-gauge/index.vue.mjs +260 -260
- package/es/components/chart-other-gauge-grade/index.vue.mjs +260 -260
- package/es/components/chart-other-gauge-stage/index.vue.mjs +260 -260
- package/es/components/chart-other-graph-basic/index.vue.mjs +260 -260
- package/es/components/chart-other-graph-basic2/index.vue.mjs +260 -260
- package/es/components/chart-other-graph-calendar/index.vue.mjs +260 -260
- package/es/components/chart-other-grid-percentage/index.vue.mjs +266 -266
- package/es/components/chart-other-heatmap/index.vue.mjs +260 -260
- package/es/components/chart-other-label-gauge/index.vue.mjs +262 -262
- package/es/components/chart-other-liquidfill/index.vue.mjs +259 -259
- package/es/components/chart-other-parallel-basic/index.vue.mjs +260 -260
- package/es/components/chart-other-parallel-mul/index.vue.mjs +260 -260
- package/es/components/chart-other-radar/index.vue.mjs +281 -281
- package/es/components/chart-other-radar-stack/index.vue.mjs +261 -261
- package/es/components/chart-other-sunburst-basic/index.vue.mjs +260 -260
- package/es/components/chart-other-sunburst-basic2/index.vue.mjs +260 -260
- package/es/components/chart-other-sunburst-basic3/index.vue.mjs +260 -260
- package/es/components/chart-other-sunburst-basic4/index.vue.mjs +260 -260
- package/es/components/chart-other-sunburst-book/index.vue.mjs +260 -260
- package/es/components/chart-other-sunburst-flavors/index.vue.mjs +260 -260
- package/es/components/chart-other-sunburst-radius/index.vue.mjs +260 -260
- package/es/components/chart-other-theme-river/index.vue.mjs +265 -265
- package/es/components/chart-other-tree/index.vue.mjs +259 -259
- package/es/components/chart-other-tree-line/index.vue.mjs +259 -259
- package/es/components/chart-other-treemap/index.vue.mjs +259 -259
- package/es/components/chart-other-treemap-basic/index.vue.mjs +259 -259
- package/es/components/chart-other-word-cloud/index.vue.mjs +259 -259
- package/es/components/commons/custom-component-render/index.d.ts +76 -76
- package/es/components/commons/custom-component-render/index.vue.d.ts +76 -76
- package/es/components/commons/custom-component-render/index.vue.mjs +7 -7
- package/es/components/commons/custom-component-render/index.vue2.mjs +280 -280
- package/es/components/commons-echarts/compileAndRunEcharts.mjs +279 -279
- package/es/components/commons-gaussian-splatting-view/index.vue.mjs +7 -7
- package/es/components/commons-loop-iterator/index.vue.mjs +7 -7
- package/es/components/commons-loop-iterator/index.vue2.mjs +315 -315
- package/es/components/commons-product-model/index.vue.mjs +7 -7
- package/es/components/commons-product-model/index.vue2.mjs +424 -424
- package/es/components/commons-qrcode/index.vue.d.ts +90 -90
- package/es/components/commons-qrcode/index.vue.mjs +7 -7
- package/es/components/commons-three-loader/index.vue.mjs +7 -7
- package/es/components/commons-three-loader/index.vue2.mjs +410 -410
- package/es/components/commons-three-loader3/index.vue.mjs +7 -7
- package/es/components/commons-three-loader3/index.vue2.mjs +387 -387
- package/es/components/commons-weather/index.vue.mjs +7 -7
- package/es/components/commons-weather/index.vue2.mjs +297 -297
- package/es/components/commons-weather-dynamic/index.vue.mjs +7 -7
- package/es/components/commons-weather-dynamic/index.vue2.mjs +305 -305
- package/es/components/graphical-circle/index.vue.mjs +7 -7
- package/es/components/graphical-diamond/index.vue.mjs +7 -7
- package/es/components/graphical-hexagon/index.vue.mjs +7 -7
- package/es/components/graphical-isosceles-triangle/index.vue.mjs +7 -7
- package/es/components/graphical-pentagon/index.vue.mjs +7 -7
- package/es/components/graphical-rect/index.vue.mjs +7 -7
- package/es/components/graphical-right-triangle/index.vue.mjs +7 -7
- package/es/components/index.d.ts +113 -113
- package/es/components/index.mjs +364 -364
- package/es/components/interaction/button/index.vue.mjs +7 -7
- package/es/components/interaction/button/index.vue2.mjs +280 -280
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue.mjs +7 -7
- package/es/components/interaction/date-picker/components/common-date-picker/index.vue2.mjs +409 -409
- package/es/components/interaction/date-picker/src/date-picker/index.d.ts +186 -186
- package/es/components/interaction/date-picker/src/date-picker/index.vue.d.ts +186 -186
- package/es/components/interaction/date-picker/src/date-picker-range/index.d.ts +186 -186
- package/es/components/interaction/date-picker/src/date-picker-range/index.vue.d.ts +186 -186
- package/es/components/interaction/tabs/index.vue.mjs +272 -272
- package/es/components/interaction/tabs-icon/index.vue.mjs +277 -277
- package/es/components/interaction-button/index.vue.mjs +7 -7
- package/es/components/interaction-button-image/index.vue.mjs +7 -7
- package/es/components/interaction-button-refresh/index.vue.mjs +7 -7
- package/es/components/interaction-data-picker/index.vue.mjs +7 -7
- package/es/components/interaction-input/index.vue.mjs +7 -7
- package/es/components/interaction-input/index.vue2.mjs +286 -286
- package/es/components/interaction-select/index.vue.mjs +7 -7
- package/es/components/interaction-select/index.vue2.mjs +422 -422
- package/es/components/interaction-slider/index.vue.mjs +7 -7
- package/es/components/interaction-slider/index.vue2.mjs +283 -283
- package/es/components/interaction-switch/index.vue.mjs +7 -7
- package/es/components/interaction-switch/index.vue2.mjs +244 -244
- package/es/components/interaction-tabs/index.vue.mjs +7 -7
- package/es/components/interaction-tabs/index.vue2.mjs +255 -255
- package/es/components/interaction-tabs2/index.vue.mjs +7 -7
- package/es/components/interaction-tabs2/index.vue2.mjs +255 -255
- package/es/components/map-earth-basic/index.vue.mjs +332 -332
- package/es/components/map-earth-cool-tech/index.vue.mjs +332 -332
- package/es/components/map-earth-fly-line/index.vue.mjs +332 -332
- package/es/components/map-earth-hacker/index.vue.mjs +332 -332
- package/es/components/map-earth-particle/index.vue.mjs +332 -332
- package/es/components/media-audio/index.vue.mjs +7 -7
- package/es/components/media-audio/index.vue2.mjs +277 -277
- package/es/components/media-audio-dynamic/index.vue.mjs +7 -7
- package/es/components/media-audio-dynamic/index.vue2.mjs +296 -296
- package/es/components/media-carousel/index.vue.mjs +7 -7
- package/es/components/media-carousel-slides/index.vue.mjs +7 -7
- package/es/components/media-flv/index.vue.mjs +284 -284
- package/es/components/media-iframe/index.vue.mjs +7 -7
- package/es/components/media-iframe/index.vue2.mjs +217 -217
- package/es/components/media-iframe-carousel/index.vue.mjs +7 -7
- package/es/components/media-iframe-dynamic/index.vue.mjs +7 -7
- package/es/components/media-iframe-dynamic/index.vue2.mjs +261 -261
- package/es/components/media-image/index.vue.mjs +7 -7
- package/es/components/media-image-dynamic/index.vue.mjs +7 -7
- package/es/components/media-image-dynamic/index.vue2.mjs +236 -236
- package/es/components/media-m3u8/index.vue.mjs +302 -302
- package/es/components/media-m3u8-dynamic/index.vue.mjs +319 -319
- package/es/components/media-video/index.vue.mjs +7 -7
- package/es/components/media-video/index.vue2.mjs +258 -258
- package/es/components/media-video-dynamic/index.vue.mjs +7 -7
- package/es/components/media-video-dynamic/index.vue2.mjs +280 -280
- package/es/components/media-wavesurfer/index.vue.mjs +7 -7
- package/es/components/scene-amap2d/index.vue.mjs +7 -7
- package/es/components/scene-amap2d/index.vue2.mjs +627 -627
- package/es/components/scene-amap3d/index.vue.mjs +7 -7
- package/es/components/scene-amap3d/index.vue2.mjs +752 -752
- package/es/components/scene-default/index.vue.mjs +7 -7
- package/es/components/scene-default/index.vue2.mjs +221 -221
- package/es/components/scene-map3d/index.vue.mjs +8 -8
- package/es/components/scene-map3d/index.vue2.mjs +480 -480
- package/es/components/scene-ue-iframe/index.vue.mjs +7 -7
- package/es/components/scene-ue-iframe/index.vue2.mjs +242 -242
- package/es/components/scene-ue-shj/index.vue.mjs +7 -7
- package/es/components/scene-ue-shj/index.vue2.mjs +219 -219
- package/es/components/scene-unity-iframe/index.vue.mjs +7 -7
- package/es/components/scene-unity-iframe/index.vue2.mjs +224 -224
- package/es/components/scene-unity-webgl/index.vue.mjs +7 -7
- package/es/components/scene-unity-webgl/index.vue2.mjs +226 -226
- package/es/components/scene-vr/index.d.ts +101 -101
- package/es/components/scene-vr/index.vue.d.ts +102 -102
- package/es/components/scene-vr/index.vue.mjs +7 -7
- package/es/components/scene-vr/index.vue2.mjs +543 -543
- package/es/components/text/list/index.vue.mjs +295 -295
- package/es/components/text-carousel/index.vue.mjs +7 -7
- package/es/components/text-count-down/index.vue.mjs +7 -7
- package/es/components/text-count-down/index.vue2.mjs +284 -284
- package/es/components/text-over-number/index.vue.mjs +7 -7
- package/es/components/text-over-number/index.vue2.mjs +286 -286
- package/es/components/text-real-time/index.vue.mjs +7 -7
- package/es/components/text-real-time/index.vue2.mjs +241 -241
- package/es/components/text-row-scroll/index.vue.mjs +7 -7
- package/es/components/text-row-scroll/index.vue2.mjs +352 -352
- package/es/components/text-table-basic/index.vue.mjs +7 -7
- package/es/components/text-table-basic/index.vue2.mjs +366 -366
- package/es/components/text-table-scroll/index.vue.mjs +7 -7
- package/es/components/text-table-scroll/index.vue2.mjs +356 -356
- package/es/components/text-text-basic/index.vue.mjs +7 -7
- package/es/components/text-text-dynamic/index.vue.mjs +7 -7
- package/es/components/text-text-dynamic/index.vue2.mjs +242 -242
- package/es/components/text-title/index.vue.mjs +7 -7
- package/es/index.mjs +388 -388
- package/es/plugins/datasource/index.mjs +216 -216
- package/es/widgets.css +1 -1
- package/package.json +2 -2
- package/umd/index.js +33660 -0
- package/umd/widgets.css +1 -0
|
@@ -1,387 +1,387 @@
|
|
|
1
|
-
import { defineComponent as z, ref as Z, onMounted as q, onBeforeUnmount as K, watch as h, createElementBlock as N, openBlock as W, createElementVNode as Y, normalizeClass as J } from "vue";
|
|
2
|
-
import "@babylonjs/loaders/glTF";
|
|
3
|
-
import * as t from "@babylonjs/core";
|
|
4
|
-
import { cloneDeep as b, isEqual as f } from "lodash";
|
|
5
|
-
import "../text-text-basic/index.mjs";
|
|
6
|
-
import "../text-table-basic/index.mjs";
|
|
7
|
-
import "../chart-other-gauge/index.mjs";
|
|
8
|
-
import "../chart-other-gauge-stage/index.mjs";
|
|
9
|
-
import "../chart-other-gauge-grade/index.mjs";
|
|
10
|
-
import "../chart-other-word-cloud/index.mjs";
|
|
11
|
-
import "../chart-other-liquidfill/index.mjs";
|
|
12
|
-
import "../chart-other-funnel/index.mjs";
|
|
13
|
-
import "../chart-other-force/index.mjs";
|
|
14
|
-
import "../chart-other-radar/index.mjs";
|
|
15
|
-
import "../chart-other-funnel-split/index.mjs";
|
|
16
|
-
import "../chart-other-funnel-contrast/index.mjs";
|
|
17
|
-
import "../chart-other-candlestick-basic/index.mjs";
|
|
18
|
-
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
19
|
-
import "../chart-other-candlestick-demo/index.mjs";
|
|
20
|
-
import "../chart-other-heatmap/index.mjs";
|
|
21
|
-
import "../chart-other-force2/index.mjs";
|
|
22
|
-
import "../chart-other-graph-basic/index.mjs";
|
|
23
|
-
import "../chart-other-graph-basic2/index.mjs";
|
|
24
|
-
import "../chart-other-graph-calendar/index.mjs";
|
|
25
|
-
import "../chart-other-tree-line/index.mjs";
|
|
26
|
-
import "../chart-other-treemap-basic/index.mjs";
|
|
27
|
-
import "../chart-other-sunburst-basic/index.mjs";
|
|
28
|
-
import "../chart-other-sunburst-basic2/index.mjs";
|
|
29
|
-
import "../chart-other-sunburst-basic3/index.mjs";
|
|
30
|
-
import "../chart-other-sunburst-basic4/index.mjs";
|
|
31
|
-
import "../chart-other-sunburst-book/index.mjs";
|
|
32
|
-
import "../chart-other-sunburst-radius/index.mjs";
|
|
33
|
-
import "../chart-other-sunburst-flavors/index.mjs";
|
|
34
|
-
import "../chart-other-parallel-basic/index.mjs";
|
|
35
|
-
import "../chart-other-parallel-mul/index.mjs";
|
|
36
|
-
import "../chart-other-circular-graph/index.mjs";
|
|
37
|
-
import "../map-earth-basic/index.mjs";
|
|
38
|
-
import "../map-earth-cool-tech/index.mjs";
|
|
39
|
-
import "../map-earth-particle/index.mjs";
|
|
40
|
-
import "../map-earth-hacker/index.mjs";
|
|
41
|
-
import "../map-earth-fly-line/index.mjs";
|
|
42
|
-
import "../chart-other-grid-percentage/index.mjs";
|
|
43
|
-
import "../chart-other-radar-stack/index.mjs";
|
|
44
|
-
import "../chart-other-funnel2/index.mjs";
|
|
45
|
-
import "../chart-other-label-gauge/index.mjs";
|
|
46
|
-
import "../chart-other-theme-river/index.mjs";
|
|
47
|
-
import "../chart-other-tree/index.mjs";
|
|
48
|
-
import "../chart-other-treemap/index.mjs";
|
|
49
|
-
import "../commons-product-model/index.mjs";
|
|
50
|
-
import "../commons-vr-photo/index.mjs";
|
|
51
|
-
import "../commons-vr-video/index.mjs";
|
|
52
|
-
import "../commons-three-loader/index.mjs";
|
|
53
|
-
import "./index.mjs";
|
|
54
|
-
import "../commons-loop-iterator/index.mjs";
|
|
55
|
-
import "../commons-gaussian-splatting-view/index.mjs";
|
|
56
|
-
import "../commons-babylon/index.mjs";
|
|
57
|
-
import "../commons-svg/index.mjs";
|
|
58
|
-
import "../commons-weather/index.mjs";
|
|
59
|
-
import "../commons-weather-dynamic/index.mjs";
|
|
60
|
-
import "../media-wavesurfer/index.mjs";
|
|
61
|
-
import "../interaction-tabs/index.mjs";
|
|
62
|
-
import "../interaction-tabs2/index.mjs";
|
|
63
|
-
import "../interaction-button/index.mjs";
|
|
64
|
-
import "../interaction-button-image/index.mjs";
|
|
65
|
-
import "../interaction-select/index.mjs";
|
|
66
|
-
import "../interaction-input/index.mjs";
|
|
67
|
-
import "../interaction-radio/index.mjs";
|
|
68
|
-
import "../interaction-slider/index.mjs";
|
|
69
|
-
import "../interaction-switch/index.mjs";
|
|
70
|
-
import "../interaction-data-picker/index.mjs";
|
|
71
|
-
import "../interaction-button-refresh/index.mjs";
|
|
72
|
-
import "../media-image/index.mjs";
|
|
73
|
-
import "../text-title/index.mjs";
|
|
74
|
-
import "../commons-qrcode/index.mjs";
|
|
75
|
-
import "../media-video/index.mjs";
|
|
76
|
-
import "../media-audio/index.mjs";
|
|
77
|
-
import "../text-real-time/index.mjs";
|
|
78
|
-
import "../media-carousel/index.mjs";
|
|
79
|
-
import "../media-carousel-slides/index.mjs";
|
|
80
|
-
import "../media-iframe-carousel/index.mjs";
|
|
81
|
-
import "../media-iframe/index.mjs";
|
|
82
|
-
import "../media-m3u8/index.mjs";
|
|
83
|
-
import "../media-m3u8-dynamic/index.mjs";
|
|
84
|
-
import "../media-audio-dynamic/index.mjs";
|
|
85
|
-
import "../media-video-dynamic/index.mjs";
|
|
86
|
-
import "../media-image-dynamic/index.mjs";
|
|
87
|
-
import "../media-iframe-dynamic/index.mjs";
|
|
88
|
-
import "../media-flv/index.mjs";
|
|
89
|
-
import "../commons-echarts/index.mjs";
|
|
90
|
-
import "../text-over-number/index.mjs";
|
|
91
|
-
import "../text-table-scroll/index.mjs";
|
|
92
|
-
import "../text-carousel/index.mjs";
|
|
93
|
-
import "../text-row-scroll/index.mjs";
|
|
94
|
-
import "../text-text-dynamic/index.mjs";
|
|
95
|
-
import "../text-count-down/index.mjs";
|
|
96
|
-
import "../graphical-circle/index.mjs";
|
|
97
|
-
import "../graphical-diamond/index.mjs";
|
|
98
|
-
import "../graphical-hexagon/index.mjs";
|
|
99
|
-
import "../graphical-isosceles-triangle/index.mjs";
|
|
100
|
-
import "../graphical-pentagon/index.mjs";
|
|
101
|
-
import "../graphical-rect/index.mjs";
|
|
102
|
-
import "../graphical-right-triangle/index.mjs";
|
|
103
|
-
import "../scene-map3d/index.mjs";
|
|
104
|
-
import "../scene-amap2d/index.mjs";
|
|
105
|
-
import "../scene-amap3d/index.mjs";
|
|
106
|
-
import "../scene-vr/index.mjs";
|
|
107
|
-
import "../scene-unity-iframe/index.mjs";
|
|
108
|
-
import "../scene-unity-webgl/index.mjs";
|
|
109
|
-
import "../scene-ue-iframe/index.mjs";
|
|
110
|
-
import "../scene-ue-shj/index.mjs";
|
|
111
|
-
import "../scene-default/index.mjs";
|
|
112
|
-
import "../interaction/tabs/index.mjs";
|
|
113
|
-
import "../interaction/tabs-icon/index.mjs";
|
|
114
|
-
import "../interaction/button/index.mjs";
|
|
115
|
-
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
116
|
-
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
117
|
-
import "../text/list/index.mjs";
|
|
118
|
-
import "../chart/src/bar/basic/index.mjs";
|
|
119
|
-
import "../chart/src/bar/animation/index.mjs";
|
|
120
|
-
import "../chart/src/bar/contrast/index.mjs";
|
|
121
|
-
import "../chart/src/bar/contrast2/index.mjs";
|
|
122
|
-
import "../chart/src/bar/contrast3/index.mjs";
|
|
123
|
-
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
124
|
-
import "../chart/src/bar/horizontal/index.mjs";
|
|
125
|
-
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
126
|
-
import "../chart/src/bar/line-bar/index.mjs";
|
|
127
|
-
import "../chart/src/bar/line-bar2/index.mjs";
|
|
128
|
-
import "../chart/src/bar/loop/index.mjs";
|
|
129
|
-
import "../chart/src/bar/mini/index.mjs";
|
|
130
|
-
import "../chart/src/bar/polar/index.mjs";
|
|
131
|
-
import "../chart/src/bar/polar-stack/index.mjs";
|
|
132
|
-
import "../chart/src/bar/polar2/index.mjs";
|
|
133
|
-
import "../chart/src/bar/radius-circle/index.mjs";
|
|
134
|
-
import "../chart/src/bar/rank/index.mjs";
|
|
135
|
-
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
136
|
-
import "../chart/src/bar/spire/index.mjs";
|
|
137
|
-
import "../chart/src/bar/stack/index.mjs";
|
|
138
|
-
import "../chart/src/bar/stack-line/index.mjs";
|
|
139
|
-
import "../chart/src/bar/stack2/index.mjs";
|
|
140
|
-
import "../chart/src/bar/stack3/index.mjs";
|
|
141
|
-
import "../chart/src/bar/staggered/index.mjs";
|
|
142
|
-
import "../chart/src/bar/three/index.mjs";
|
|
143
|
-
import "../chart/src/bar/waterfall/index.mjs";
|
|
144
|
-
import "../chart/src/bar/zebra/index.mjs";
|
|
145
|
-
import "../chart/src/line/area-gradient/index.mjs";
|
|
146
|
-
import "../chart/src/line/area-highlight/index.mjs";
|
|
147
|
-
import "../chart/src/line/area-highlight2/index.mjs";
|
|
148
|
-
import "../chart/src/line/basic/index.mjs";
|
|
149
|
-
import "../chart/src/line/bump/index.mjs";
|
|
150
|
-
import "../chart/src/line/dashed/index.mjs";
|
|
151
|
-
import "../chart/src/line/ladder/index.mjs";
|
|
152
|
-
import "../chart/src/line/logarithm/index.mjs";
|
|
153
|
-
import "../chart/src/line/multix/index.mjs";
|
|
154
|
-
import "../chart/src/line/polar-double/index.mjs";
|
|
155
|
-
import "../chart/src/line/rain-flow/index.mjs";
|
|
156
|
-
import "../chart/src/line/scale/index.mjs";
|
|
157
|
-
import "../chart/src/line/smooth/index.mjs";
|
|
158
|
-
import "../chart/src/line/smooth-area/index.mjs";
|
|
159
|
-
import "../chart/src/line/stack/index.mjs";
|
|
160
|
-
import "../chart/src/line/stack-area/index.mjs";
|
|
161
|
-
import "../chart/src/line/temp/index.mjs";
|
|
162
|
-
import "../chart/src/line/vertical/index.mjs";
|
|
163
|
-
import "../chart/src/map/basic/index.mjs";
|
|
164
|
-
import "../chart/src/map/bmap-basic/index.mjs";
|
|
165
|
-
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
166
|
-
import "../chart/src/map/bmap-rich/index.mjs";
|
|
167
|
-
import "../chart/src/map/customize/index.mjs";
|
|
168
|
-
import "../chart/src/map/lines/index.mjs";
|
|
169
|
-
import "../chart/src/map/scatter/index.mjs";
|
|
170
|
-
import "../chart/src/pie/3d/index.mjs";
|
|
171
|
-
import "../chart/src/pie/basic/index.mjs";
|
|
172
|
-
import "../chart/src/pie/basic2/index.mjs";
|
|
173
|
-
import "../chart/src/pie/customized/index.mjs";
|
|
174
|
-
import "../chart/src/pie/index/index.mjs";
|
|
175
|
-
import "../chart/src/pie/interval/index.mjs";
|
|
176
|
-
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
177
|
-
import "../chart/src/pie/radius/index.mjs";
|
|
178
|
-
import "../chart/src/pie/rose/index.mjs";
|
|
179
|
-
import "../chart/src/pie/round/index.mjs";
|
|
180
|
-
import "../chart/src/pie/sunburst/index.mjs";
|
|
181
|
-
import "../chart/src/scatter/basic/index.mjs";
|
|
182
|
-
import "../chart/src/scatter/basic2/index.mjs";
|
|
183
|
-
import "../chart/src/scatter/bubble/index.mjs";
|
|
184
|
-
import "../chart/src/scatter/ripples/index.mjs";
|
|
185
|
-
import "../commons/custom-component-render/index.mjs";
|
|
186
|
-
/* empty css */
|
|
187
|
-
/* empty css */
|
|
188
|
-
import "../../plugins/datasource/utils/request.mjs";
|
|
189
|
-
import "../../plugins/datasource/utils/wsManager.mjs";
|
|
190
|
-
import { SHJParseEvent as k } from "../../plugins/event/index.mjs";
|
|
191
|
-
const U = { class: "zerov-widget" }, X = z({ name: "zv-commons-three-loader3" }), To = /* @__PURE__ */ z({
|
|
192
|
-
...X,
|
|
193
|
-
props: {
|
|
194
|
-
basicOption: {},
|
|
195
|
-
basicEvents: {},
|
|
196
|
-
useEvents: {}
|
|
197
|
-
},
|
|
198
|
-
emits: [
|
|
199
|
-
"on-load-success",
|
|
200
|
-
"on-play-animation"
|
|
201
|
-
],
|
|
202
|
-
setup(V, { expose: P, emit: _ }) {
|
|
203
|
-
const i = V, S = _;
|
|
204
|
-
let v, o, n, c, u, m, w, g, l, O, s, a;
|
|
205
|
-
const A = () => {
|
|
206
|
-
n || (n = new t.ArcRotateCamera(
|
|
207
|
-
"Camera",
|
|
208
|
-
i.basicOption.camera.alpha,
|
|
209
|
-
i.basicOption.camera.beta,
|
|
210
|
-
i.basicOption.camera.radius,
|
|
211
|
-
new t.Vector3(
|
|
212
|
-
i.basicOption.camera.target[0],
|
|
213
|
-
i.basicOption.camera.target[1],
|
|
214
|
-
i.basicOption.camera.target[2]
|
|
215
|
-
),
|
|
216
|
-
o
|
|
217
|
-
)), n.alpha = i.basicOption.camera.alpha, n.beta = i.basicOption.camera.beta, n.radius = i.basicOption.camera.radius, n.target = new t.Vector3(
|
|
218
|
-
i.basicOption.camera.target[0],
|
|
219
|
-
i.basicOption.camera.target[1],
|
|
220
|
-
i.basicOption.camera.target[2]
|
|
221
|
-
), n.lowerRadiusLimit = i.basicOption.camera.lowerRadiusLimit, n.upperRadiusLimit = i.basicOption.camera.upperRadiusLimit, n.lowerBetaLimit = t.Tools.ToRadians(i.basicOption.camera.lowerBetaLimit), n.upperBetaLimit = t.Tools.ToRadians(i.basicOption.camera.upperBetaLimit), n.useBouncingBehavior = i.basicOption.camera.useBouncingBehavior, n.wheelDeltaPercentage = i.basicOption.camera.wheelDeltaPercentage || 0.01, n.useAutoRotationBehavior = i.basicOption.camera.autoRotation, n.panningSensibility = 1 / (i.basicOption.camera.panningSensibility || 0.01), n.attachControl(T.value, !0);
|
|
222
|
-
}, E = () => {
|
|
223
|
-
o || (o = new t.Scene(v)), o.environmentTexture = t.CubeTexture.CreateFromPrefilteredData(i.basicOption.scene.environmentTexture, o), o.environmentIntensity = i.basicOption.scene.environmentIntensity, i.basicOption.scene.colorShow ? o.clearColor = t.Color4.FromHexString(i.basicOption.scene.color || "#000000") : o.clearColor = new t.Color4(0, 0, 0, 0), o.fogEnabled = i.basicOption.scene.fogEnabled, o.fogMode = i.basicOption.scene.fogMode || 1, o.fogColor = t.Color3.FromHexString(i.basicOption.scene.fogColor || "#ffffff"), o.fogEnd = i.basicOption.scene.fogEnd || 2e3, o.fogStart = i.basicOption.scene.fogStart || 1, o.fogDensity = i.basicOption.scene.fogDensity * 1e-4;
|
|
224
|
-
}, B = () => {
|
|
225
|
-
if (c || (c = new t.DirectionalLight("dirLight", new t.Vector3(
|
|
226
|
-
i.basicOption.directionalLight.direction[0],
|
|
227
|
-
i.basicOption.directionalLight.direction[1],
|
|
228
|
-
i.basicOption.directionalLight.direction[2]
|
|
229
|
-
), o)), c.direction = new t.Vector3(
|
|
230
|
-
i.basicOption.directionalLight.direction[0],
|
|
231
|
-
i.basicOption.directionalLight.direction[1],
|
|
232
|
-
i.basicOption.directionalLight.direction[2]
|
|
233
|
-
), c.position = new t.Vector3(
|
|
234
|
-
i.basicOption.directionalLight.position[0],
|
|
235
|
-
i.basicOption.directionalLight.position[1],
|
|
236
|
-
i.basicOption.directionalLight.position[2]
|
|
237
|
-
), c.diffuse = t.Color3.FromHexString(i.basicOption.directionalLight.diffuse || "#ffffff"), c.intensity = i.basicOption.directionalLight.intensity, c.shadowMinZ = i.basicOption.directionalLight.shadowMinZ, c.shadowMaxZ = i.basicOption.directionalLight.shadowMaxZ, c.autoCalcShadowZBounds = i.basicOption.directionalLight.autoCalcShadowZBounds, i.basicOption.directionalLight.shadowGenerator.enable) {
|
|
238
|
-
const { mapSize: e, transparencyShadow: r, usePercentageCloserFiltering: p, bias: d } = i.basicOption.directionalLight.shadowGenerator;
|
|
239
|
-
if (!m && (m = new t.ShadowGenerator(e, c), s))
|
|
240
|
-
for (let L = 0; L < s.length; L++)
|
|
241
|
-
i.basicOption.meshes.isCasterShadow && m && m.addShadowCaster(s[L], !0);
|
|
242
|
-
m.mapSize = e, m.transparencyShadow = r, m.usePercentageCloserFiltering = p, m.bias = d;
|
|
243
|
-
} else
|
|
244
|
-
m && (m.dispose(), m = null);
|
|
245
|
-
i.basicOption.directionalLight.lightGizmo && i.basicOption.directionalLight.lightGizmo.enable ? (u || (u = new t.LightGizmo(), u.light = c), u.scaleRatio = i.basicOption.directionalLight.lightGizmo.scaleRatio) : u && (u.dispose(), u = null);
|
|
246
|
-
}, F = () => {
|
|
247
|
-
w || (w = new t.HemisphericLight("light", new t.Vector3(
|
|
248
|
-
i.basicOption.hemisphericLight.direction[0],
|
|
249
|
-
i.basicOption.hemisphericLight.direction[1],
|
|
250
|
-
i.basicOption.hemisphericLight.direction[2]
|
|
251
|
-
), o)), w.direction = new t.Vector3(
|
|
252
|
-
i.basicOption.hemisphericLight.direction[0],
|
|
253
|
-
i.basicOption.hemisphericLight.direction[1],
|
|
254
|
-
i.basicOption.hemisphericLight.direction[2]
|
|
255
|
-
), w.intensity = i.basicOption.hemisphericLight.intensity, w.diffuse = t.Color3.FromHexString(i.basicOption.hemisphericLight.diffuse || "#ffffff"), i.basicOption.hemisphericLight.lightGizmo && i.basicOption.hemisphericLight.lightGizmo.enable ? (g || (g = new t.LightGizmo(), g.light = w), g.scaleRatio = i.basicOption.hemisphericLight.lightGizmo.scaleRatio) : g && (g.dispose(), g = null);
|
|
256
|
-
}, R = () => {
|
|
257
|
-
if (i.basicOption.ground.enable) {
|
|
258
|
-
const { width: e, height: r, position: p, rotation: d, scaling: L, material: y, receiveShadows: I } = i.basicOption.ground;
|
|
259
|
-
l || (l = t.MeshBuilder.CreateGround("ground", { width: e, height: r }, o)), l.position = new t.Vector3(
|
|
260
|
-
p[0],
|
|
261
|
-
p[1],
|
|
262
|
-
p[2]
|
|
263
|
-
), l.rotation = new t.Vector3(
|
|
264
|
-
t.Tools.ToRadians(d[0]),
|
|
265
|
-
t.Tools.ToRadians(d[1]),
|
|
266
|
-
t.Tools.ToRadians(d[2])
|
|
267
|
-
), l.scaling = new t.Vector3(
|
|
268
|
-
L[0],
|
|
269
|
-
L[1],
|
|
270
|
-
L[2]
|
|
271
|
-
);
|
|
272
|
-
const x = new t.StandardMaterial("", o);
|
|
273
|
-
x.emissiveTexture = new t.Texture(y.emissiveTexture, o), x.diffuseTexture = new t.Texture(y.emissiveTexture, o), x.ambientTexture = new t.Texture(y.emissiveTexture, o), x.diffuseColor = new t.Color3(1, 1, 1), x.opacityTexture = new t.Texture(y.opacityTexture, o), l.material = x, l.receiveShadows = I;
|
|
274
|
-
} else
|
|
275
|
-
l && (l.dispose(), l = null);
|
|
276
|
-
}, G = () => {
|
|
277
|
-
if (i.basicOption.skybox.enable) {
|
|
278
|
-
const { size: e } = i.basicOption.skybox;
|
|
279
|
-
O || (O = t.MeshBuilder.CreateBox("skyBox", { size: e }, o));
|
|
280
|
-
const r = new t.StandardMaterial("skyBox", o);
|
|
281
|
-
r.backFaceCulling = !1, r.reflectionTexture = t.CubeTexture.CreateFromPrefilteredData(i.basicOption.scene.environmentTexture, o), r.reflectionTexture.coordinatesMode = t.Texture.SKYBOX_MODE, r.diffuseColor = new t.Color3(1, 1, 1), r.specularColor = new t.Color3(1, 1, 1), r.disableLighting = !0, O.material = r, O.isPickable = !1;
|
|
282
|
-
} else
|
|
283
|
-
O && (O.dispose(), O = null);
|
|
284
|
-
}, M = (e, r = {
|
|
285
|
-
loop: !1,
|
|
286
|
-
speedRatio: 1
|
|
287
|
-
}) => {
|
|
288
|
-
if (o) {
|
|
289
|
-
o.stopAllAnimations();
|
|
290
|
-
const p = o.getAnimationGroupByName(e);
|
|
291
|
-
p && (S("on-play-animation"), k.parseEvents(i.useEvents, "on-play-animation"), p.start(r.loop, r.speedRatio, p.from, p.to, !1));
|
|
292
|
-
}
|
|
293
|
-
}, C = async () => {
|
|
294
|
-
s || (s = (await t.SceneLoader.ImportMeshAsync("", i.basicOption.meshes.url, "", o)).meshes), s[0].position = new t.Vector3(
|
|
295
|
-
i.basicOption.meshes.position[0],
|
|
296
|
-
i.basicOption.meshes.position[1],
|
|
297
|
-
i.basicOption.meshes.position[2]
|
|
298
|
-
), s[0].scaling = new t.Vector3(
|
|
299
|
-
i.basicOption.meshes.scaling[0],
|
|
300
|
-
i.basicOption.meshes.scaling[1],
|
|
301
|
-
i.basicOption.meshes.scaling[2]
|
|
302
|
-
), s[0].rotation = new t.Vector3(
|
|
303
|
-
t.Tools.ToRadians(i.basicOption.meshes.rotation[0]),
|
|
304
|
-
t.Tools.ToRadians(i.basicOption.meshes.rotation[1]),
|
|
305
|
-
t.Tools.ToRadians(i.basicOption.meshes.rotation[2])
|
|
306
|
-
);
|
|
307
|
-
for (let e = 0; e < s.length; e++)
|
|
308
|
-
s[e].isPickable = !1, s[e].receiveShadows = i.basicOption.meshes.isCasterShadow, i.basicOption.meshes.isCasterShadow && m && m.addShadowCaster(s[e], !0);
|
|
309
|
-
i.basicOption.animationGroups = o.animationGroups.map((e) => ({ uniqueId: e.uniqueId, name: e.name })), i.basicEvents && (i.basicEvents.function[0].args[0].select = o.animationGroups.map((e) => ({ name: e.name, value: e.name }))), i.basicOption.defaultAnimation && i.basicOption.defaultAnimation.name ? M(i.basicOption.defaultAnimation.name, {
|
|
310
|
-
loop: i.basicOption.defaultAnimation.loop,
|
|
311
|
-
speedRatio: i.basicOption.defaultAnimation.speedRatio
|
|
312
|
-
}) : o.animationGroups && o.animationGroups[0] && o.animationGroups[0].stop();
|
|
313
|
-
}, D = () => {
|
|
314
|
-
const e = i.basicOption.pipelineOption;
|
|
315
|
-
e && e.enabled ? (a || (a = new t.DefaultRenderingPipeline(
|
|
316
|
-
"defaultPipeline",
|
|
317
|
-
!0,
|
|
318
|
-
o,
|
|
319
|
-
[n]
|
|
320
|
-
)), a.samples = e.samples ? 4 : 1, a.fxaaEnabled = e.fxaaEnabled, a.grainEnabled = e.grainEnabled, a.grain.intensity = e.grainIntensity, a.grain.animated = e.grainAnimated, a.bloomEnabled = e.bloomEnabled, a.bloomThreshold = e.bloomThreshold, a.bloomWeight = e.bloomWeight, a.bloomKernel = e.bloomKernel, a.bloomScale = e.bloomScale, a.depthOfFieldEnabled = e.depthOfFieldEnabled, e.depthOfFieldBlurLevel < 1 ? a.depthOfFieldBlurLevel = t.DepthOfFieldEffectBlurLevel.Low : e.depthOfFieldBlurLevel < 2 ? a.depthOfFieldBlurLevel = t.DepthOfFieldEffectBlurLevel.Medium : e.depthOfFieldBlurLevel < 3 && (a.depthOfFieldBlurLevel = t.DepthOfFieldEffectBlurLevel.High), a.depthOfField.focusDistance = e.depthOfFieldFocusDistance, a.depthOfField.fStop = e.depthOfFieldFStop, a.depthOfField.focalLength = e.depthOfFieldFocalLength, a.chromaticAberrationEnabled = e.chromaticAberrationEnabled, a.chromaticAberration.aberrationAmount = e.chromaticAberrationAberrationAmount, a.chromaticAberration.radialIntensity = e.chromaticAberrationRadialIntensity, e.chromaticAberrationDirection === 0 ? (a.chromaticAberration.direction.x = 0, a.chromaticAberration.direction.y = 0) : (a.chromaticAberration.direction.x = Math.sin(e.chromaticAberrationDirection), a.chromaticAberration.direction.y = Math.cos(e.chromaticAberrationDirection)), a.sharpenEnabled = e.sharpenEnabled, a.sharpen.edgeAmount = e.sharpenEdgeAmount, a.sharpen.colorAmount = e.sharpenColorAmount) : a && (a.dispose(), a = null);
|
|
321
|
-
}, H = function(e) {
|
|
322
|
-
E(), A(), F(), B(), R(), G(), C(), D(), S("on-load-success"), k.parseEvents(i.useEvents, "on-load-success");
|
|
323
|
-
}, T = Z();
|
|
324
|
-
return q(() => {
|
|
325
|
-
v = new t.Engine(T.value, !0), v && i.basicOption.meshes.url && (H(), v.runRenderLoop(function() {
|
|
326
|
-
o && o.render();
|
|
327
|
-
}));
|
|
328
|
-
}), K(() => {
|
|
329
|
-
o.dispose(), v.dispose();
|
|
330
|
-
}), P({
|
|
331
|
-
playAnimation: (e, r) => {
|
|
332
|
-
const p = r[0].value, d = {
|
|
333
|
-
loop: r[1].keys[0].defaultValue,
|
|
334
|
-
speedRatio: r[1].keys[1].defaultValue
|
|
335
|
-
};
|
|
336
|
-
M(p, d);
|
|
337
|
-
}
|
|
338
|
-
}), h(() => b(i.basicOption.camera), (e, r) => {
|
|
339
|
-
!f(e, r) && n && A();
|
|
340
|
-
}, {
|
|
341
|
-
deep: !0
|
|
342
|
-
}), h(() => b(i.basicOption.scene), (e, r) => {
|
|
343
|
-
!f(e, r) && o && E();
|
|
344
|
-
}, {
|
|
345
|
-
deep: !0
|
|
346
|
-
}), h(() => b(i.basicOption.directionalLight), (e, r) => {
|
|
347
|
-
f(e, r) || B();
|
|
348
|
-
}, {
|
|
349
|
-
deep: !0
|
|
350
|
-
}), h(() => b(i.basicOption.hemisphericLight), (e, r) => {
|
|
351
|
-
f(e, r) || F();
|
|
352
|
-
}, {
|
|
353
|
-
deep: !0
|
|
354
|
-
}), h(() => b(i.basicOption.ground), (e, r) => {
|
|
355
|
-
f(e, r) || R();
|
|
356
|
-
}, {
|
|
357
|
-
deep: !0
|
|
358
|
-
}), h(() => b(i.basicOption.skybox), (e, r) => {
|
|
359
|
-
f(e, r) || G();
|
|
360
|
-
}, {
|
|
361
|
-
deep: !0
|
|
362
|
-
}), h(() => b(i.basicOption.meshes), (e, r) => {
|
|
363
|
-
!f(e, r) && s && e.url === r.url && C();
|
|
364
|
-
}, {
|
|
365
|
-
deep: !0
|
|
366
|
-
}), h(() => b(i.basicOption.meshes.url), (e, r) => {
|
|
367
|
-
f(e, r) || (o.meshes.forEach((p, d) => {
|
|
368
|
-
d > 1 && p.dispose();
|
|
369
|
-
}), s = null, C());
|
|
370
|
-
}, {
|
|
371
|
-
deep: !0
|
|
372
|
-
}), h(() => b(i.basicOption.pipelineOption), (e, r) => {
|
|
373
|
-
f(e, r) || D();
|
|
374
|
-
}, {
|
|
375
|
-
deep: !0
|
|
376
|
-
}), (e, r) => (W(), N("div", U, [
|
|
377
|
-
Y("canvas", {
|
|
378
|
-
ref_key: "canvasRef",
|
|
379
|
-
ref: T,
|
|
380
|
-
class: J(["widget", { show: !0 }])
|
|
381
|
-
}, null, 512)
|
|
382
|
-
]));
|
|
383
|
-
}
|
|
384
|
-
});
|
|
385
|
-
export {
|
|
386
|
-
To as default
|
|
387
|
-
};
|
|
1
|
+
import { defineComponent as z, ref as Z, onMounted as q, onBeforeUnmount as K, watch as h, createElementBlock as N, openBlock as W, createElementVNode as Y, normalizeClass as J } from "vue";
|
|
2
|
+
import "@babylonjs/loaders/glTF";
|
|
3
|
+
import * as t from "@babylonjs/core";
|
|
4
|
+
import { cloneDeep as b, isEqual as f } from "lodash";
|
|
5
|
+
import "../text-text-basic/index.mjs";
|
|
6
|
+
import "../text-table-basic/index.mjs";
|
|
7
|
+
import "../chart-other-gauge/index.mjs";
|
|
8
|
+
import "../chart-other-gauge-stage/index.mjs";
|
|
9
|
+
import "../chart-other-gauge-grade/index.mjs";
|
|
10
|
+
import "../chart-other-word-cloud/index.mjs";
|
|
11
|
+
import "../chart-other-liquidfill/index.mjs";
|
|
12
|
+
import "../chart-other-funnel/index.mjs";
|
|
13
|
+
import "../chart-other-force/index.mjs";
|
|
14
|
+
import "../chart-other-radar/index.mjs";
|
|
15
|
+
import "../chart-other-funnel-split/index.mjs";
|
|
16
|
+
import "../chart-other-funnel-contrast/index.mjs";
|
|
17
|
+
import "../chart-other-candlestick-basic/index.mjs";
|
|
18
|
+
import "../chart-other-candlestick-shanghai/index.mjs";
|
|
19
|
+
import "../chart-other-candlestick-demo/index.mjs";
|
|
20
|
+
import "../chart-other-heatmap/index.mjs";
|
|
21
|
+
import "../chart-other-force2/index.mjs";
|
|
22
|
+
import "../chart-other-graph-basic/index.mjs";
|
|
23
|
+
import "../chart-other-graph-basic2/index.mjs";
|
|
24
|
+
import "../chart-other-graph-calendar/index.mjs";
|
|
25
|
+
import "../chart-other-tree-line/index.mjs";
|
|
26
|
+
import "../chart-other-treemap-basic/index.mjs";
|
|
27
|
+
import "../chart-other-sunburst-basic/index.mjs";
|
|
28
|
+
import "../chart-other-sunburst-basic2/index.mjs";
|
|
29
|
+
import "../chart-other-sunburst-basic3/index.mjs";
|
|
30
|
+
import "../chart-other-sunburst-basic4/index.mjs";
|
|
31
|
+
import "../chart-other-sunburst-book/index.mjs";
|
|
32
|
+
import "../chart-other-sunburst-radius/index.mjs";
|
|
33
|
+
import "../chart-other-sunburst-flavors/index.mjs";
|
|
34
|
+
import "../chart-other-parallel-basic/index.mjs";
|
|
35
|
+
import "../chart-other-parallel-mul/index.mjs";
|
|
36
|
+
import "../chart-other-circular-graph/index.mjs";
|
|
37
|
+
import "../map-earth-basic/index.mjs";
|
|
38
|
+
import "../map-earth-cool-tech/index.mjs";
|
|
39
|
+
import "../map-earth-particle/index.mjs";
|
|
40
|
+
import "../map-earth-hacker/index.mjs";
|
|
41
|
+
import "../map-earth-fly-line/index.mjs";
|
|
42
|
+
import "../chart-other-grid-percentage/index.mjs";
|
|
43
|
+
import "../chart-other-radar-stack/index.mjs";
|
|
44
|
+
import "../chart-other-funnel2/index.mjs";
|
|
45
|
+
import "../chart-other-label-gauge/index.mjs";
|
|
46
|
+
import "../chart-other-theme-river/index.mjs";
|
|
47
|
+
import "../chart-other-tree/index.mjs";
|
|
48
|
+
import "../chart-other-treemap/index.mjs";
|
|
49
|
+
import "../commons-product-model/index.mjs";
|
|
50
|
+
import "../commons-vr-photo/index.mjs";
|
|
51
|
+
import "../commons-vr-video/index.mjs";
|
|
52
|
+
import "../commons-three-loader/index.mjs";
|
|
53
|
+
import "./index.mjs";
|
|
54
|
+
import "../commons-loop-iterator/index.mjs";
|
|
55
|
+
import "../commons-gaussian-splatting-view/index.mjs";
|
|
56
|
+
import "../commons-babylon/index.mjs";
|
|
57
|
+
import "../commons-svg/index.mjs";
|
|
58
|
+
import "../commons-weather/index.mjs";
|
|
59
|
+
import "../commons-weather-dynamic/index.mjs";
|
|
60
|
+
import "../media-wavesurfer/index.mjs";
|
|
61
|
+
import "../interaction-tabs/index.mjs";
|
|
62
|
+
import "../interaction-tabs2/index.mjs";
|
|
63
|
+
import "../interaction-button/index.mjs";
|
|
64
|
+
import "../interaction-button-image/index.mjs";
|
|
65
|
+
import "../interaction-select/index.mjs";
|
|
66
|
+
import "../interaction-input/index.mjs";
|
|
67
|
+
import "../interaction-radio/index.mjs";
|
|
68
|
+
import "../interaction-slider/index.mjs";
|
|
69
|
+
import "../interaction-switch/index.mjs";
|
|
70
|
+
import "../interaction-data-picker/index.mjs";
|
|
71
|
+
import "../interaction-button-refresh/index.mjs";
|
|
72
|
+
import "../media-image/index.mjs";
|
|
73
|
+
import "../text-title/index.mjs";
|
|
74
|
+
import "../commons-qrcode/index.mjs";
|
|
75
|
+
import "../media-video/index.mjs";
|
|
76
|
+
import "../media-audio/index.mjs";
|
|
77
|
+
import "../text-real-time/index.mjs";
|
|
78
|
+
import "../media-carousel/index.mjs";
|
|
79
|
+
import "../media-carousel-slides/index.mjs";
|
|
80
|
+
import "../media-iframe-carousel/index.mjs";
|
|
81
|
+
import "../media-iframe/index.mjs";
|
|
82
|
+
import "../media-m3u8/index.mjs";
|
|
83
|
+
import "../media-m3u8-dynamic/index.mjs";
|
|
84
|
+
import "../media-audio-dynamic/index.mjs";
|
|
85
|
+
import "../media-video-dynamic/index.mjs";
|
|
86
|
+
import "../media-image-dynamic/index.mjs";
|
|
87
|
+
import "../media-iframe-dynamic/index.mjs";
|
|
88
|
+
import "../media-flv/index.mjs";
|
|
89
|
+
import "../commons-echarts/index.mjs";
|
|
90
|
+
import "../text-over-number/index.mjs";
|
|
91
|
+
import "../text-table-scroll/index.mjs";
|
|
92
|
+
import "../text-carousel/index.mjs";
|
|
93
|
+
import "../text-row-scroll/index.mjs";
|
|
94
|
+
import "../text-text-dynamic/index.mjs";
|
|
95
|
+
import "../text-count-down/index.mjs";
|
|
96
|
+
import "../graphical-circle/index.mjs";
|
|
97
|
+
import "../graphical-diamond/index.mjs";
|
|
98
|
+
import "../graphical-hexagon/index.mjs";
|
|
99
|
+
import "../graphical-isosceles-triangle/index.mjs";
|
|
100
|
+
import "../graphical-pentagon/index.mjs";
|
|
101
|
+
import "../graphical-rect/index.mjs";
|
|
102
|
+
import "../graphical-right-triangle/index.mjs";
|
|
103
|
+
import "../scene-map3d/index.mjs";
|
|
104
|
+
import "../scene-amap2d/index.mjs";
|
|
105
|
+
import "../scene-amap3d/index.mjs";
|
|
106
|
+
import "../scene-vr/index.mjs";
|
|
107
|
+
import "../scene-unity-iframe/index.mjs";
|
|
108
|
+
import "../scene-unity-webgl/index.mjs";
|
|
109
|
+
import "../scene-ue-iframe/index.mjs";
|
|
110
|
+
import "../scene-ue-shj/index.mjs";
|
|
111
|
+
import "../scene-default/index.mjs";
|
|
112
|
+
import "../interaction/tabs/index.mjs";
|
|
113
|
+
import "../interaction/tabs-icon/index.mjs";
|
|
114
|
+
import "../interaction/button/index.mjs";
|
|
115
|
+
import "../interaction/date-picker/src/date-picker/index.mjs";
|
|
116
|
+
import "../interaction/date-picker/src/date-picker-range/index.mjs";
|
|
117
|
+
import "../text/list/index.mjs";
|
|
118
|
+
import "../chart/src/bar/basic/index.mjs";
|
|
119
|
+
import "../chart/src/bar/animation/index.mjs";
|
|
120
|
+
import "../chart/src/bar/contrast/index.mjs";
|
|
121
|
+
import "../chart/src/bar/contrast2/index.mjs";
|
|
122
|
+
import "../chart/src/bar/contrast3/index.mjs";
|
|
123
|
+
import "../chart/src/bar/gradient-column-chart/index.mjs";
|
|
124
|
+
import "../chart/src/bar/horizontal/index.mjs";
|
|
125
|
+
import "../chart/src/bar/horizontal-stack/index.mjs";
|
|
126
|
+
import "../chart/src/bar/line-bar/index.mjs";
|
|
127
|
+
import "../chart/src/bar/line-bar2/index.mjs";
|
|
128
|
+
import "../chart/src/bar/loop/index.mjs";
|
|
129
|
+
import "../chart/src/bar/mini/index.mjs";
|
|
130
|
+
import "../chart/src/bar/polar/index.mjs";
|
|
131
|
+
import "../chart/src/bar/polar-stack/index.mjs";
|
|
132
|
+
import "../chart/src/bar/polar2/index.mjs";
|
|
133
|
+
import "../chart/src/bar/radius-circle/index.mjs";
|
|
134
|
+
import "../chart/src/bar/rank/index.mjs";
|
|
135
|
+
import "../chart/src/bar/segmented-progress/index.mjs";
|
|
136
|
+
import "../chart/src/bar/spire/index.mjs";
|
|
137
|
+
import "../chart/src/bar/stack/index.mjs";
|
|
138
|
+
import "../chart/src/bar/stack-line/index.mjs";
|
|
139
|
+
import "../chart/src/bar/stack2/index.mjs";
|
|
140
|
+
import "../chart/src/bar/stack3/index.mjs";
|
|
141
|
+
import "../chart/src/bar/staggered/index.mjs";
|
|
142
|
+
import "../chart/src/bar/three/index.mjs";
|
|
143
|
+
import "../chart/src/bar/waterfall/index.mjs";
|
|
144
|
+
import "../chart/src/bar/zebra/index.mjs";
|
|
145
|
+
import "../chart/src/line/area-gradient/index.mjs";
|
|
146
|
+
import "../chart/src/line/area-highlight/index.mjs";
|
|
147
|
+
import "../chart/src/line/area-highlight2/index.mjs";
|
|
148
|
+
import "../chart/src/line/basic/index.mjs";
|
|
149
|
+
import "../chart/src/line/bump/index.mjs";
|
|
150
|
+
import "../chart/src/line/dashed/index.mjs";
|
|
151
|
+
import "../chart/src/line/ladder/index.mjs";
|
|
152
|
+
import "../chart/src/line/logarithm/index.mjs";
|
|
153
|
+
import "../chart/src/line/multix/index.mjs";
|
|
154
|
+
import "../chart/src/line/polar-double/index.mjs";
|
|
155
|
+
import "../chart/src/line/rain-flow/index.mjs";
|
|
156
|
+
import "../chart/src/line/scale/index.mjs";
|
|
157
|
+
import "../chart/src/line/smooth/index.mjs";
|
|
158
|
+
import "../chart/src/line/smooth-area/index.mjs";
|
|
159
|
+
import "../chart/src/line/stack/index.mjs";
|
|
160
|
+
import "../chart/src/line/stack-area/index.mjs";
|
|
161
|
+
import "../chart/src/line/temp/index.mjs";
|
|
162
|
+
import "../chart/src/line/vertical/index.mjs";
|
|
163
|
+
import "../chart/src/map/basic/index.mjs";
|
|
164
|
+
import "../chart/src/map/bmap-basic/index.mjs";
|
|
165
|
+
import "../chart/src/map/bmap-heatmap/index.mjs";
|
|
166
|
+
import "../chart/src/map/bmap-rich/index.mjs";
|
|
167
|
+
import "../chart/src/map/customize/index.mjs";
|
|
168
|
+
import "../chart/src/map/lines/index.mjs";
|
|
169
|
+
import "../chart/src/map/scatter/index.mjs";
|
|
170
|
+
import "../chart/src/pie/3d/index.mjs";
|
|
171
|
+
import "../chart/src/pie/basic/index.mjs";
|
|
172
|
+
import "../chart/src/pie/basic2/index.mjs";
|
|
173
|
+
import "../chart/src/pie/customized/index.mjs";
|
|
174
|
+
import "../chart/src/pie/index/index.mjs";
|
|
175
|
+
import "../chart/src/pie/interval/index.mjs";
|
|
176
|
+
import "../chart/src/pie/legend-scroll/index.mjs";
|
|
177
|
+
import "../chart/src/pie/radius/index.mjs";
|
|
178
|
+
import "../chart/src/pie/rose/index.mjs";
|
|
179
|
+
import "../chart/src/pie/round/index.mjs";
|
|
180
|
+
import "../chart/src/pie/sunburst/index.mjs";
|
|
181
|
+
import "../chart/src/scatter/basic/index.mjs";
|
|
182
|
+
import "../chart/src/scatter/basic2/index.mjs";
|
|
183
|
+
import "../chart/src/scatter/bubble/index.mjs";
|
|
184
|
+
import "../chart/src/scatter/ripples/index.mjs";
|
|
185
|
+
import "../commons/custom-component-render/index.mjs";
|
|
186
|
+
/* empty css */
|
|
187
|
+
/* empty css */
|
|
188
|
+
import "../../plugins/datasource/utils/request.mjs";
|
|
189
|
+
import "../../plugins/datasource/utils/wsManager.mjs";
|
|
190
|
+
import { SHJParseEvent as k } from "../../plugins/event/index.mjs";
|
|
191
|
+
const U = { class: "zerov-widget" }, X = z({ name: "zv-commons-three-loader3" }), To = /* @__PURE__ */ z({
|
|
192
|
+
...X,
|
|
193
|
+
props: {
|
|
194
|
+
basicOption: {},
|
|
195
|
+
basicEvents: {},
|
|
196
|
+
useEvents: {}
|
|
197
|
+
},
|
|
198
|
+
emits: [
|
|
199
|
+
"on-load-success",
|
|
200
|
+
"on-play-animation"
|
|
201
|
+
],
|
|
202
|
+
setup(V, { expose: P, emit: _ }) {
|
|
203
|
+
const i = V, S = _;
|
|
204
|
+
let v, o, n, c, u, m, w, g, l, O, s, a;
|
|
205
|
+
const A = () => {
|
|
206
|
+
n || (n = new t.ArcRotateCamera(
|
|
207
|
+
"Camera",
|
|
208
|
+
i.basicOption.camera.alpha,
|
|
209
|
+
i.basicOption.camera.beta,
|
|
210
|
+
i.basicOption.camera.radius,
|
|
211
|
+
new t.Vector3(
|
|
212
|
+
i.basicOption.camera.target[0],
|
|
213
|
+
i.basicOption.camera.target[1],
|
|
214
|
+
i.basicOption.camera.target[2]
|
|
215
|
+
),
|
|
216
|
+
o
|
|
217
|
+
)), n.alpha = i.basicOption.camera.alpha, n.beta = i.basicOption.camera.beta, n.radius = i.basicOption.camera.radius, n.target = new t.Vector3(
|
|
218
|
+
i.basicOption.camera.target[0],
|
|
219
|
+
i.basicOption.camera.target[1],
|
|
220
|
+
i.basicOption.camera.target[2]
|
|
221
|
+
), n.lowerRadiusLimit = i.basicOption.camera.lowerRadiusLimit, n.upperRadiusLimit = i.basicOption.camera.upperRadiusLimit, n.lowerBetaLimit = t.Tools.ToRadians(i.basicOption.camera.lowerBetaLimit), n.upperBetaLimit = t.Tools.ToRadians(i.basicOption.camera.upperBetaLimit), n.useBouncingBehavior = i.basicOption.camera.useBouncingBehavior, n.wheelDeltaPercentage = i.basicOption.camera.wheelDeltaPercentage || 0.01, n.useAutoRotationBehavior = i.basicOption.camera.autoRotation, n.panningSensibility = 1 / (i.basicOption.camera.panningSensibility || 0.01), n.attachControl(T.value, !0);
|
|
222
|
+
}, E = () => {
|
|
223
|
+
o || (o = new t.Scene(v)), o.environmentTexture = t.CubeTexture.CreateFromPrefilteredData(i.basicOption.scene.environmentTexture, o), o.environmentIntensity = i.basicOption.scene.environmentIntensity, i.basicOption.scene.colorShow ? o.clearColor = t.Color4.FromHexString(i.basicOption.scene.color || "#000000") : o.clearColor = new t.Color4(0, 0, 0, 0), o.fogEnabled = i.basicOption.scene.fogEnabled, o.fogMode = i.basicOption.scene.fogMode || 1, o.fogColor = t.Color3.FromHexString(i.basicOption.scene.fogColor || "#ffffff"), o.fogEnd = i.basicOption.scene.fogEnd || 2e3, o.fogStart = i.basicOption.scene.fogStart || 1, o.fogDensity = i.basicOption.scene.fogDensity * 1e-4;
|
|
224
|
+
}, B = () => {
|
|
225
|
+
if (c || (c = new t.DirectionalLight("dirLight", new t.Vector3(
|
|
226
|
+
i.basicOption.directionalLight.direction[0],
|
|
227
|
+
i.basicOption.directionalLight.direction[1],
|
|
228
|
+
i.basicOption.directionalLight.direction[2]
|
|
229
|
+
), o)), c.direction = new t.Vector3(
|
|
230
|
+
i.basicOption.directionalLight.direction[0],
|
|
231
|
+
i.basicOption.directionalLight.direction[1],
|
|
232
|
+
i.basicOption.directionalLight.direction[2]
|
|
233
|
+
), c.position = new t.Vector3(
|
|
234
|
+
i.basicOption.directionalLight.position[0],
|
|
235
|
+
i.basicOption.directionalLight.position[1],
|
|
236
|
+
i.basicOption.directionalLight.position[2]
|
|
237
|
+
), c.diffuse = t.Color3.FromHexString(i.basicOption.directionalLight.diffuse || "#ffffff"), c.intensity = i.basicOption.directionalLight.intensity, c.shadowMinZ = i.basicOption.directionalLight.shadowMinZ, c.shadowMaxZ = i.basicOption.directionalLight.shadowMaxZ, c.autoCalcShadowZBounds = i.basicOption.directionalLight.autoCalcShadowZBounds, i.basicOption.directionalLight.shadowGenerator.enable) {
|
|
238
|
+
const { mapSize: e, transparencyShadow: r, usePercentageCloserFiltering: p, bias: d } = i.basicOption.directionalLight.shadowGenerator;
|
|
239
|
+
if (!m && (m = new t.ShadowGenerator(e, c), s))
|
|
240
|
+
for (let L = 0; L < s.length; L++)
|
|
241
|
+
i.basicOption.meshes.isCasterShadow && m && m.addShadowCaster(s[L], !0);
|
|
242
|
+
m.mapSize = e, m.transparencyShadow = r, m.usePercentageCloserFiltering = p, m.bias = d;
|
|
243
|
+
} else
|
|
244
|
+
m && (m.dispose(), m = null);
|
|
245
|
+
i.basicOption.directionalLight.lightGizmo && i.basicOption.directionalLight.lightGizmo.enable ? (u || (u = new t.LightGizmo(), u.light = c), u.scaleRatio = i.basicOption.directionalLight.lightGizmo.scaleRatio) : u && (u.dispose(), u = null);
|
|
246
|
+
}, F = () => {
|
|
247
|
+
w || (w = new t.HemisphericLight("light", new t.Vector3(
|
|
248
|
+
i.basicOption.hemisphericLight.direction[0],
|
|
249
|
+
i.basicOption.hemisphericLight.direction[1],
|
|
250
|
+
i.basicOption.hemisphericLight.direction[2]
|
|
251
|
+
), o)), w.direction = new t.Vector3(
|
|
252
|
+
i.basicOption.hemisphericLight.direction[0],
|
|
253
|
+
i.basicOption.hemisphericLight.direction[1],
|
|
254
|
+
i.basicOption.hemisphericLight.direction[2]
|
|
255
|
+
), w.intensity = i.basicOption.hemisphericLight.intensity, w.diffuse = t.Color3.FromHexString(i.basicOption.hemisphericLight.diffuse || "#ffffff"), i.basicOption.hemisphericLight.lightGizmo && i.basicOption.hemisphericLight.lightGizmo.enable ? (g || (g = new t.LightGizmo(), g.light = w), g.scaleRatio = i.basicOption.hemisphericLight.lightGizmo.scaleRatio) : g && (g.dispose(), g = null);
|
|
256
|
+
}, R = () => {
|
|
257
|
+
if (i.basicOption.ground.enable) {
|
|
258
|
+
const { width: e, height: r, position: p, rotation: d, scaling: L, material: y, receiveShadows: I } = i.basicOption.ground;
|
|
259
|
+
l || (l = t.MeshBuilder.CreateGround("ground", { width: e, height: r }, o)), l.position = new t.Vector3(
|
|
260
|
+
p[0],
|
|
261
|
+
p[1],
|
|
262
|
+
p[2]
|
|
263
|
+
), l.rotation = new t.Vector3(
|
|
264
|
+
t.Tools.ToRadians(d[0]),
|
|
265
|
+
t.Tools.ToRadians(d[1]),
|
|
266
|
+
t.Tools.ToRadians(d[2])
|
|
267
|
+
), l.scaling = new t.Vector3(
|
|
268
|
+
L[0],
|
|
269
|
+
L[1],
|
|
270
|
+
L[2]
|
|
271
|
+
);
|
|
272
|
+
const x = new t.StandardMaterial("", o);
|
|
273
|
+
x.emissiveTexture = new t.Texture(y.emissiveTexture, o), x.diffuseTexture = new t.Texture(y.emissiveTexture, o), x.ambientTexture = new t.Texture(y.emissiveTexture, o), x.diffuseColor = new t.Color3(1, 1, 1), x.opacityTexture = new t.Texture(y.opacityTexture, o), l.material = x, l.receiveShadows = I;
|
|
274
|
+
} else
|
|
275
|
+
l && (l.dispose(), l = null);
|
|
276
|
+
}, G = () => {
|
|
277
|
+
if (i.basicOption.skybox.enable) {
|
|
278
|
+
const { size: e } = i.basicOption.skybox;
|
|
279
|
+
O || (O = t.MeshBuilder.CreateBox("skyBox", { size: e }, o));
|
|
280
|
+
const r = new t.StandardMaterial("skyBox", o);
|
|
281
|
+
r.backFaceCulling = !1, r.reflectionTexture = t.CubeTexture.CreateFromPrefilteredData(i.basicOption.scene.environmentTexture, o), r.reflectionTexture.coordinatesMode = t.Texture.SKYBOX_MODE, r.diffuseColor = new t.Color3(1, 1, 1), r.specularColor = new t.Color3(1, 1, 1), r.disableLighting = !0, O.material = r, O.isPickable = !1;
|
|
282
|
+
} else
|
|
283
|
+
O && (O.dispose(), O = null);
|
|
284
|
+
}, M = (e, r = {
|
|
285
|
+
loop: !1,
|
|
286
|
+
speedRatio: 1
|
|
287
|
+
}) => {
|
|
288
|
+
if (o) {
|
|
289
|
+
o.stopAllAnimations();
|
|
290
|
+
const p = o.getAnimationGroupByName(e);
|
|
291
|
+
p && (S("on-play-animation"), k.parseEvents(i.useEvents, "on-play-animation"), p.start(r.loop, r.speedRatio, p.from, p.to, !1));
|
|
292
|
+
}
|
|
293
|
+
}, C = async () => {
|
|
294
|
+
s || (s = (await t.SceneLoader.ImportMeshAsync("", i.basicOption.meshes.url, "", o)).meshes), s[0].position = new t.Vector3(
|
|
295
|
+
i.basicOption.meshes.position[0],
|
|
296
|
+
i.basicOption.meshes.position[1],
|
|
297
|
+
i.basicOption.meshes.position[2]
|
|
298
|
+
), s[0].scaling = new t.Vector3(
|
|
299
|
+
i.basicOption.meshes.scaling[0],
|
|
300
|
+
i.basicOption.meshes.scaling[1],
|
|
301
|
+
i.basicOption.meshes.scaling[2]
|
|
302
|
+
), s[0].rotation = new t.Vector3(
|
|
303
|
+
t.Tools.ToRadians(i.basicOption.meshes.rotation[0]),
|
|
304
|
+
t.Tools.ToRadians(i.basicOption.meshes.rotation[1]),
|
|
305
|
+
t.Tools.ToRadians(i.basicOption.meshes.rotation[2])
|
|
306
|
+
);
|
|
307
|
+
for (let e = 0; e < s.length; e++)
|
|
308
|
+
s[e].isPickable = !1, s[e].receiveShadows = i.basicOption.meshes.isCasterShadow, i.basicOption.meshes.isCasterShadow && m && m.addShadowCaster(s[e], !0);
|
|
309
|
+
i.basicOption.animationGroups = o.animationGroups.map((e) => ({ uniqueId: e.uniqueId, name: e.name })), i.basicEvents && (i.basicEvents.function[0].args[0].select = o.animationGroups.map((e) => ({ name: e.name, value: e.name }))), i.basicOption.defaultAnimation && i.basicOption.defaultAnimation.name ? M(i.basicOption.defaultAnimation.name, {
|
|
310
|
+
loop: i.basicOption.defaultAnimation.loop,
|
|
311
|
+
speedRatio: i.basicOption.defaultAnimation.speedRatio
|
|
312
|
+
}) : o.animationGroups && o.animationGroups[0] && o.animationGroups[0].stop();
|
|
313
|
+
}, D = () => {
|
|
314
|
+
const e = i.basicOption.pipelineOption;
|
|
315
|
+
e && e.enabled ? (a || (a = new t.DefaultRenderingPipeline(
|
|
316
|
+
"defaultPipeline",
|
|
317
|
+
!0,
|
|
318
|
+
o,
|
|
319
|
+
[n]
|
|
320
|
+
)), a.samples = e.samples ? 4 : 1, a.fxaaEnabled = e.fxaaEnabled, a.grainEnabled = e.grainEnabled, a.grain.intensity = e.grainIntensity, a.grain.animated = e.grainAnimated, a.bloomEnabled = e.bloomEnabled, a.bloomThreshold = e.bloomThreshold, a.bloomWeight = e.bloomWeight, a.bloomKernel = e.bloomKernel, a.bloomScale = e.bloomScale, a.depthOfFieldEnabled = e.depthOfFieldEnabled, e.depthOfFieldBlurLevel < 1 ? a.depthOfFieldBlurLevel = t.DepthOfFieldEffectBlurLevel.Low : e.depthOfFieldBlurLevel < 2 ? a.depthOfFieldBlurLevel = t.DepthOfFieldEffectBlurLevel.Medium : e.depthOfFieldBlurLevel < 3 && (a.depthOfFieldBlurLevel = t.DepthOfFieldEffectBlurLevel.High), a.depthOfField.focusDistance = e.depthOfFieldFocusDistance, a.depthOfField.fStop = e.depthOfFieldFStop, a.depthOfField.focalLength = e.depthOfFieldFocalLength, a.chromaticAberrationEnabled = e.chromaticAberrationEnabled, a.chromaticAberration.aberrationAmount = e.chromaticAberrationAberrationAmount, a.chromaticAberration.radialIntensity = e.chromaticAberrationRadialIntensity, e.chromaticAberrationDirection === 0 ? (a.chromaticAberration.direction.x = 0, a.chromaticAberration.direction.y = 0) : (a.chromaticAberration.direction.x = Math.sin(e.chromaticAberrationDirection), a.chromaticAberration.direction.y = Math.cos(e.chromaticAberrationDirection)), a.sharpenEnabled = e.sharpenEnabled, a.sharpen.edgeAmount = e.sharpenEdgeAmount, a.sharpen.colorAmount = e.sharpenColorAmount) : a && (a.dispose(), a = null);
|
|
321
|
+
}, H = function(e) {
|
|
322
|
+
E(), A(), F(), B(), R(), G(), C(), D(), S("on-load-success"), k.parseEvents(i.useEvents, "on-load-success");
|
|
323
|
+
}, T = Z();
|
|
324
|
+
return q(() => {
|
|
325
|
+
v = new t.Engine(T.value, !0), v && i.basicOption.meshes.url && (H(), v.runRenderLoop(function() {
|
|
326
|
+
o && o.render();
|
|
327
|
+
}));
|
|
328
|
+
}), K(() => {
|
|
329
|
+
o.dispose(), v.dispose();
|
|
330
|
+
}), P({
|
|
331
|
+
playAnimation: (e, r) => {
|
|
332
|
+
const p = r[0].value, d = {
|
|
333
|
+
loop: r[1].keys[0].defaultValue,
|
|
334
|
+
speedRatio: r[1].keys[1].defaultValue
|
|
335
|
+
};
|
|
336
|
+
M(p, d);
|
|
337
|
+
}
|
|
338
|
+
}), h(() => b(i.basicOption.camera), (e, r) => {
|
|
339
|
+
!f(e, r) && n && A();
|
|
340
|
+
}, {
|
|
341
|
+
deep: !0
|
|
342
|
+
}), h(() => b(i.basicOption.scene), (e, r) => {
|
|
343
|
+
!f(e, r) && o && E();
|
|
344
|
+
}, {
|
|
345
|
+
deep: !0
|
|
346
|
+
}), h(() => b(i.basicOption.directionalLight), (e, r) => {
|
|
347
|
+
f(e, r) || B();
|
|
348
|
+
}, {
|
|
349
|
+
deep: !0
|
|
350
|
+
}), h(() => b(i.basicOption.hemisphericLight), (e, r) => {
|
|
351
|
+
f(e, r) || F();
|
|
352
|
+
}, {
|
|
353
|
+
deep: !0
|
|
354
|
+
}), h(() => b(i.basicOption.ground), (e, r) => {
|
|
355
|
+
f(e, r) || R();
|
|
356
|
+
}, {
|
|
357
|
+
deep: !0
|
|
358
|
+
}), h(() => b(i.basicOption.skybox), (e, r) => {
|
|
359
|
+
f(e, r) || G();
|
|
360
|
+
}, {
|
|
361
|
+
deep: !0
|
|
362
|
+
}), h(() => b(i.basicOption.meshes), (e, r) => {
|
|
363
|
+
!f(e, r) && s && e.url === r.url && C();
|
|
364
|
+
}, {
|
|
365
|
+
deep: !0
|
|
366
|
+
}), h(() => b(i.basicOption.meshes.url), (e, r) => {
|
|
367
|
+
f(e, r) || (o.meshes.forEach((p, d) => {
|
|
368
|
+
d > 1 && p.dispose();
|
|
369
|
+
}), s = null, C());
|
|
370
|
+
}, {
|
|
371
|
+
deep: !0
|
|
372
|
+
}), h(() => b(i.basicOption.pipelineOption), (e, r) => {
|
|
373
|
+
f(e, r) || D();
|
|
374
|
+
}, {
|
|
375
|
+
deep: !0
|
|
376
|
+
}), (e, r) => (W(), N("div", U, [
|
|
377
|
+
Y("canvas", {
|
|
378
|
+
ref_key: "canvasRef",
|
|
379
|
+
ref: T,
|
|
380
|
+
class: J(["widget", { show: !0 }])
|
|
381
|
+
}, null, 512)
|
|
382
|
+
]));
|
|
383
|
+
}
|
|
384
|
+
});
|
|
385
|
+
export {
|
|
386
|
+
To as default
|
|
387
|
+
};
|