@shjjs/visual-ui 1.0.0 → 1.0.2

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.
Files changed (103) hide show
  1. package/es/components/commons-product-model/index.vue.mjs +2 -2
  2. package/es/components/commons-product-model/index.vue2.mjs +33 -33
  3. package/es/components/commons-three-loader3/index.vue.mjs +2 -2
  4. package/es/components/commons-three-loader3/index.vue2.mjs +40 -40
  5. package/es/components/index.d.ts +5 -0
  6. package/es/components/index.mjs +82 -72
  7. package/es/components/interaction-select/index.d.ts +188 -8
  8. package/es/components/interaction-select/index.vue.d.ts +193 -8
  9. package/es/components/interaction-select/index.vue.mjs +5 -11
  10. package/es/components/interaction-select/index.vue2.mjs +220 -2
  11. package/es/components/scene-amap2d/index.d.ts +2 -2
  12. package/es/components/scene-amap2d/index.vue.d.ts +2 -2
  13. package/es/components/scene-amap2d/index.vue.mjs +2 -2
  14. package/es/components/scene-amap2d/index.vue2.mjs +16 -16
  15. package/es/components/scene-amap3d/index.d.ts +2 -2
  16. package/es/components/scene-amap3d/index.vue.d.ts +2 -2
  17. package/es/components/scene-amap3d/index.vue.mjs +2 -2
  18. package/es/components/scene-amap3d/index.vue2.mjs +95 -88
  19. package/es/components/scene-map3d/index.d.ts +2 -2
  20. package/es/components/scene-map3d/index.vue.d.ts +2 -2
  21. package/es/components/scene-map3d/index.vue.mjs +2 -2
  22. package/es/components/scene-map3d/index.vue2.mjs +13 -13
  23. package/es/components/scene-map3d/map3d/module/MapMirror.mjs +1 -1
  24. package/es/components/scene-ue-iframe/index.d.ts +50 -0
  25. package/es/components/scene-ue-iframe/index.mjs +7 -0
  26. package/es/components/scene-ue-iframe/index.vue.d.ts +50 -0
  27. package/es/components/scene-ue-iframe/index.vue.mjs +7 -0
  28. package/es/components/scene-ue-iframe/index.vue2.mjs +48 -0
  29. package/es/components/scene-ue-shj/index.d.ts +50 -0
  30. package/es/components/scene-ue-shj/index.mjs +7 -0
  31. package/es/components/scene-ue-shj/index.vue.d.ts +50 -0
  32. package/es/components/scene-ue-shj/index.vue.mjs +7 -0
  33. package/es/components/scene-ue-shj/index.vue2.mjs +37 -0
  34. package/es/components/scene-unity-iframe/index.d.ts +61 -0
  35. package/es/components/scene-unity-iframe/index.mjs +7 -0
  36. package/es/components/scene-unity-iframe/index.vue.d.ts +61 -0
  37. package/es/components/scene-unity-iframe/index.vue.mjs +7 -0
  38. package/es/components/scene-unity-iframe/index.vue2.mjs +37 -0
  39. package/es/components/scene-unity-webgl/index.d.ts +61 -0
  40. package/es/components/scene-unity-webgl/index.mjs +7 -0
  41. package/es/components/scene-unity-webgl/index.vue.d.ts +61 -0
  42. package/es/components/scene-unity-webgl/index.vue.mjs +7 -0
  43. package/es/components/scene-unity-webgl/index.vue2.mjs +37 -0
  44. package/es/components/scene-vr/entity/audio.d.ts +6 -0
  45. package/es/components/scene-vr/index.d.ts +103 -0
  46. package/es/components/scene-vr/index.mjs +7 -0
  47. package/es/components/scene-vr/index.vue.d.ts +103 -0
  48. package/es/components/scene-vr/index.vue.mjs +7 -0
  49. package/es/components/scene-vr/index.vue2.mjs +355 -0
  50. package/es/components/scene-vr/resources/zv-add.svg.mjs +4 -0
  51. package/es/components/scene-vr/resources/zv-pause.svg.mjs +4 -0
  52. package/es/components/scene-vr/resources/zv-play.svg.mjs +4 -0
  53. package/es/components/scene-vr/resources/zv-reduce.svg.mjs +4 -0
  54. package/es/components/scene-vr/resources/zv-refresh.svg.mjs +4 -0
  55. package/es/components/scene-vr/resources/zv-return.svg.mjs +4 -0
  56. package/es/components/scene-vr/resources/zv-vr-select.svg.mjs +4 -0
  57. package/es/components/text-over-number/index.vue.d.ts +32 -32
  58. package/es/index.mjs +94 -84
  59. package/es/style.css +1 -1
  60. package/es/utils/clickOutSide.d.ts +5 -0
  61. package/es/utils/clickOutSide.mjs +13 -0
  62. package/es/utils/json2css.mjs +8 -8
  63. package/lib/components/commons-product-model/index.vue.js +1 -1
  64. package/lib/components/commons-product-model/index.vue2.js +1 -1
  65. package/lib/components/commons-three-loader3/index.vue.js +1 -1
  66. package/lib/components/commons-three-loader3/index.vue2.js +1 -1
  67. package/lib/components/index.js +1 -1
  68. package/lib/components/interaction-select/index.vue.js +1 -1
  69. package/lib/components/interaction-select/index.vue2.js +1 -1
  70. package/lib/components/scene-amap2d/index.vue.js +1 -1
  71. package/lib/components/scene-amap2d/index.vue2.js +1 -1
  72. package/lib/components/scene-amap3d/index.vue.js +1 -1
  73. package/lib/components/scene-amap3d/index.vue2.js +2 -2
  74. package/lib/components/scene-map3d/index.vue.js +1 -1
  75. package/lib/components/scene-map3d/index.vue2.js +1 -1
  76. package/lib/components/scene-map3d/map3d/module/MapMirror.js +1 -1
  77. package/lib/components/scene-ue-iframe/index.js +1 -0
  78. package/lib/components/scene-ue-iframe/index.vue.js +1 -0
  79. package/lib/components/scene-ue-iframe/index.vue2.js +1 -0
  80. package/lib/components/scene-ue-shj/index.js +1 -0
  81. package/lib/components/scene-ue-shj/index.vue.js +1 -0
  82. package/lib/components/scene-ue-shj/index.vue2.js +1 -0
  83. package/lib/components/scene-unity-iframe/index.js +1 -0
  84. package/lib/components/scene-unity-iframe/index.vue.js +1 -0
  85. package/lib/components/scene-unity-iframe/index.vue2.js +1 -0
  86. package/lib/components/scene-unity-webgl/index.js +1 -0
  87. package/lib/components/scene-unity-webgl/index.vue.js +1 -0
  88. package/lib/components/scene-unity-webgl/index.vue2.js +1 -0
  89. package/lib/components/scene-vr/index.js +1 -0
  90. package/lib/components/scene-vr/index.vue.js +1 -0
  91. package/lib/components/scene-vr/index.vue2.js +11 -0
  92. package/lib/components/scene-vr/resources/zv-add.svg.js +1 -0
  93. package/lib/components/scene-vr/resources/zv-pause.svg.js +1 -0
  94. package/lib/components/scene-vr/resources/zv-play.svg.js +1 -0
  95. package/lib/components/scene-vr/resources/zv-reduce.svg.js +1 -0
  96. package/lib/components/scene-vr/resources/zv-refresh.svg.js +1 -0
  97. package/lib/components/scene-vr/resources/zv-return.svg.js +1 -0
  98. package/lib/components/scene-vr/resources/zv-vr-select.svg.js +1 -0
  99. package/lib/index.js +1 -1
  100. package/lib/style.css +1 -1
  101. package/lib/utils/clickOutSide.js +1 -0
  102. package/lib/utils/json2css.js +1 -1
  103. package/package.json +2 -1
@@ -0,0 +1,355 @@
1
+ import { defineComponent as M, ref as u, computed as C, watch as oe, onMounted as te, resolveComponent as R, openBlock as s, createElementBlock as a, Fragment as A, withDirectives as L, createElementVNode as c, vShow as I, createCommentVNode as l, normalizeStyle as k, createVNode as D, withCtx as j, renderList as ne, toDisplayString as ie, nextTick as se, pushScopeId as ae, popScopeId as ce, createStaticVNode as re } from "vue";
2
+ import le from "./resources/zv-vr-select.svg.mjs";
3
+ import g from "./resources/zv-return.svg.mjs";
4
+ import ue from "./resources/zv-add.svg.mjs";
5
+ import de from "./resources/zv-reduce.svg.mjs";
6
+ import pe from "./resources/zv-play.svg.mjs";
7
+ import ve from "./resources/zv-pause.svg.mjs";
8
+ import we from "./resources/zv-refresh.svg.mjs";
9
+ import E from "hls.js";
10
+ import { isArray as fe, debounce as me, cloneDeep as z } from "lodash";
11
+ const d = (S) => (ae("data-v-96f96666"), S = S(), ce(), S), Se = { class: "vr-scene-wrap" }, Ve = {
12
+ id: "panorama",
13
+ class: "vr-scene"
14
+ }, be = {
15
+ id: "panorama-video-wrap",
16
+ class: "vr-scene-main"
17
+ }, he = {
18
+ key: 1,
19
+ class: "vr-scene-controls"
20
+ }, _e = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
21
+ src: le,
22
+ alt: ""
23
+ }, null, -1)), ye = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
24
+ src: g,
25
+ alt: ""
26
+ }, null, -1)), ge = [
27
+ ye
28
+ ], He = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
29
+ src: g,
30
+ alt: ""
31
+ }, null, -1)), Oe = [
32
+ He
33
+ ], Je = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
34
+ src: g,
35
+ alt: ""
36
+ }, null, -1)), ke = [
37
+ Je
38
+ ], Ee = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
39
+ src: g,
40
+ alt: ""
41
+ }, null, -1)), Te = [
42
+ Ee
43
+ ], Pe = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
44
+ src: ue,
45
+ alt: ""
46
+ }, null, -1)), Ce = [
47
+ Pe
48
+ ], Re = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
49
+ src: de,
50
+ alt: ""
51
+ }, null, -1)), Ae = [
52
+ Re
53
+ ], Le = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
54
+ src: pe,
55
+ alt: ""
56
+ }, null, -1)), Ie = [
57
+ Le
58
+ ], De = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
59
+ src: ve,
60
+ alt: ""
61
+ }, null, -1)), je = [
62
+ De
63
+ ], ze = /* @__PURE__ */ d(() => /* @__PURE__ */ c("img", {
64
+ src: we,
65
+ alt: ""
66
+ }, null, -1)), Me = [
67
+ ze
68
+ ], Be = { class: "scene-list" }, Ne = ["onClick"], Ge = ["src"], We = { class: "label" }, Ye = ["autoplay", "loop", "volume"], Ue = ["src"], $e = {
69
+ key: 3,
70
+ class: "mouse-tip"
71
+ }, Fe = /* @__PURE__ */ re('<div class="icon-wrap" data-v-96f96666><div class="left" data-v-96f96666><i class="iconfont zv-drop-down" data-v-96f96666></i></div><i class="iconfont zv-mouse" data-v-96f96666></i><div class="right" data-v-96f96666><i class="iconfont zv-drop-down" data-v-96f96666></i></div></div><p class="title" data-v-96f96666>左右拖动   更多精彩</p>', 2), Ze = [
72
+ Fe
73
+ ], Ke = M({ name: "zv-scene-vr" }), co = /* @__PURE__ */ M({
74
+ ...Ke,
75
+ props: {
76
+ basicOption: {},
77
+ sources: {},
78
+ useEvents: {},
79
+ uuid: {},
80
+ isPreview: { type: Boolean },
81
+ disableDrag: { type: Boolean }
82
+ },
83
+ emits: [
84
+ "on-scene-loaded",
85
+ "on-scene-scenechange",
86
+ "on-scene-zooming",
87
+ "on-scene-hotClick"
88
+ ],
89
+ setup(S, { emit: B }) {
90
+ const o = S, V = B, p = u(), v = u({ src: "", autoplay: !0, loop: !0, volume: 50 }), f = u(null), N = u(o.basicOption.default.firstScene), m = u(N.value), t = C(() => {
91
+ try {
92
+ return o.basicOption.scenes[m.value];
93
+ } catch {
94
+ return null;
95
+ }
96
+ }), T = {
97
+ bylineLabel: "来自 %s",
98
+ noPanoramaError: "未指定全景图像。",
99
+ fileAccessError: "The file %s could not be accessed.",
100
+ malformedURLError: "全景URL无法访问。",
101
+ iOS8WebGLError: "Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",
102
+ genericWebGLError: "您的浏览器没有显示此全景图所需的WebGL支持。",
103
+ 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.)",
104
+ unknownError: "未知错误。检查开发人员控制台。"
105
+ }, G = () => {
106
+ const e = o.basicOption;
107
+ window.SHJSceneVrViewer = window.pannellum.viewer("panorama", {
108
+ ...e,
109
+ default: Object.assign(z(e.default), { firstScene: m.value }),
110
+ strings: T
111
+ });
112
+ }, W = () => {
113
+ const e = () => {
114
+ const r = document.getElementById("panorama-video-wrap");
115
+ r.innerHTML = `
116
+ <video
117
+ id="panorama-video"
118
+ autoplay
119
+ class="video-js vjs-default-skin vr-scene vjs-big-play-centered"
120
+ preload="none"
121
+ style="width:100%;height:100%;"
122
+ crossorigin="anonymous"
123
+ >
124
+ </video>
125
+ `;
126
+ };
127
+ f.value && (f.value.dispose(), f.value = null, e()), f.value || e();
128
+ const n = document.getElementById("panorama-video"), i = o.basicOption;
129
+ if (f.value = window.videojs(n, {
130
+ loop: !0,
131
+ autoplay: !0,
132
+ plugins: {
133
+ pannellum: {
134
+ ...o.basicOption,
135
+ default: Object.assign(z(i.default), { firstScene: m.value }),
136
+ strings: T
137
+ }
138
+ }
139
+ }), window.SHJSceneVrViewer = f.value.pnlmViewer, t.value.sceneType === "video" && (n.src = t.value.panorama), t.value.sceneType === "hls")
140
+ if (E.isSupported()) {
141
+ const r = new E();
142
+ r.loadSource(t.value.panorama), r.attachMedia(n), r.on(E.Events.MANIFEST_PARSED, () => {
143
+ n.play();
144
+ });
145
+ } else n.canPlayType("application/vnd.apple.mpegurl") && (n.src = t.value.panorama);
146
+ }, H = () => {
147
+ if (window.pannellum && o.basicOption) {
148
+ window.SHJSceneVrViewer && (window.SHJSceneVrViewer.destroy(), window.SHJSceneVrViewer = null), t.value.sceneType === "image" ? G() : W();
149
+ try {
150
+ o.basicOption.scenes[window.SHJSceneVrViewer.getScene()] && (v.value = o.basicOption.default.audio, p.value && v.value && (window.SHJSceneVrViewer.audio = p, p.value.src = v.value.src, setTimeout(() => {
151
+ p.value && (h.value = p.value.paused);
152
+ }, 500)));
153
+ } catch {
154
+ }
155
+ window.SHJSceneVrViewer.on("load", () => {
156
+ V("on-scene-loaded", t.value), window.SHJParseEvent(o.useEvents, "on-scene-loaded", t.value);
157
+ }), !o.isPreview || o.basicOption.default.autoRotate === 0 ? window.SHJSceneVrViewer.stopAutoRotate() : window.SHJSceneVrViewer.startAutoRotate();
158
+ try {
159
+ window.SHJSceneVrViewer && async function() {
160
+ for (const e in o.basicOption.scenes)
161
+ Object.prototype.hasOwnProperty.call(o.basicOption.scenes, e) && o.basicOption.scenes[e].hotSpots.forEach(async (i) => {
162
+ await setTimeout(() => {
163
+ i.draggable = !o.isPreview && !o.disableDrag, window.SHJSceneVrViewer.removeHotSpot(i.id, e), window.SHJSceneVrViewer.addHotSpot(i, e);
164
+ }, 100);
165
+ });
166
+ }();
167
+ } catch {
168
+ }
169
+ window.SHJSceneVrViewer.on("scenechange", (e) => {
170
+ const n = document.getElementsByTagName("video");
171
+ if (fe(n) && n.length > 0 && n.forEach((i) => {
172
+ i && i.pause();
173
+ }), t.value) {
174
+ const i = t.value.sceneType;
175
+ m.value = e;
176
+ const r = t.value.sceneType;
177
+ setTimeout(() => {
178
+ (r !== "image" || i !== "image" && r === "image") && H(), _.value = m.value, V("on-scene-scenechange", t.value), window.SHJParseEvent(o.useEvents, "on-scene-scenechange", t.value);
179
+ }), o.isPreview ? window.SHJSceneVrViewer.startAutoRotate() : window.SHJSceneVrViewer.stopAutoRotate();
180
+ } else
181
+ m.value = o.basicOption.default.firstScene, se(() => {
182
+ H(), V("on-scene-scenechange", t.value), window.SHJParseEvent(o.useEvents, "on-scene-scenechange", t.value);
183
+ });
184
+ }), window.SHJSceneVrViewer.on("zoomchange", me((e) => {
185
+ V("on-scene-zooming", t.value), window.SHJParseEvent(o.useEvents, "on-scene-zooming", t.value);
186
+ }, 300)), window.SHJSceneVrViewer.on("hot-click", (e) => {
187
+ V("on-scene-hotClick", e), window.SHJParseEvent(o.useEvents, "on-scene-hotClick", e);
188
+ });
189
+ }
190
+ }, _ = u(o.basicOption.default.firstScene), Y = C(() => {
191
+ const e = [];
192
+ if (o.basicOption) {
193
+ const n = o.basicOption.scenes;
194
+ for (const i in n)
195
+ if (Object.prototype.hasOwnProperty.call(n, i)) {
196
+ const r = n[i];
197
+ e.push({ label: r.label, value: i, thumbnail: r.cover });
198
+ }
199
+ }
200
+ return e.sort((n, i) => {
201
+ const r = parseInt(n.value.replace("scene", "")), w = parseInt(i.value.replace("scene", ""));
202
+ return r - w;
203
+ });
204
+ });
205
+ oe(() => o.basicOption.default, () => {
206
+ o.isPreview ? window.SHJSceneVrViewer.startAutoRotate() : window.SHJSceneVrViewer.stopAutoRotate();
207
+ }, { deep: !0 });
208
+ const U = (e) => {
209
+ window.SHJSceneVrViewer && _.value !== e && (_.value = e, window.SHJSceneVrViewer.isLoaded() && (window.SHJSceneVrViewer.loadScene(e), o.isPreview ? window.SHJSceneVrViewer.startAutoRotate() : window.SHJSceneVrViewer.stopAutoRotate()));
210
+ }, O = u(), b = u(!0), $ = () => {
211
+ b.value ? O.value.style.bottom = "-999px" : O.value.style.bottom = "80px", b.value = !b.value;
212
+ };
213
+ te(() => {
214
+ o.basicOption && (o.basicOption.default.controls === void 0 && (o.basicOption.default.controls = t.value.controls), o.basicOption.default.audio === void 0 && (o.basicOption.default.audio = t.value.audio)), H(), ee();
215
+ });
216
+ const F = () => {
217
+ window.SHJSceneVrViewer.setPitch(window.SHJSceneVrViewer.getPitch() + 10);
218
+ }, Z = () => {
219
+ window.SHJSceneVrViewer.setPitch(window.SHJSceneVrViewer.getPitch() - 10);
220
+ }, K = () => {
221
+ window.SHJSceneVrViewer.setYaw(window.SHJSceneVrViewer.getYaw() - 10);
222
+ }, q = () => {
223
+ window.SHJSceneVrViewer.setYaw(window.SHJSceneVrViewer.getYaw() + 10);
224
+ }, Q = () => {
225
+ window.SHJSceneVrViewer.setHfov(window.SHJSceneVrViewer.getHfov() - 10);
226
+ }, X = () => {
227
+ window.SHJSceneVrViewer.setHfov(window.SHJSceneVrViewer.getHfov() + 10);
228
+ }, h = u(!1), P = (e) => {
229
+ p.value && (e === "play" ? (p.value.play(), h.value = !1) : (p.value.pause(), h.value = !0));
230
+ }, x = () => {
231
+ window.SHJSceneVrViewer.startAutoRotate();
232
+ };
233
+ let J;
234
+ const y = u(!1), ee = () => {
235
+ o.basicOption.default.controls ? y.value = o.basicOption.default.controls.mouseTipShow : y.value = !0, J && clearTimeout(J), J = setTimeout(() => {
236
+ y.value = !1;
237
+ }, 3500);
238
+ };
239
+ return (e, n) => {
240
+ const i = R("el-tooltip"), r = R("el-scrollbar");
241
+ return s(), a("div", Se, [
242
+ t.value ? (s(), a(A, { key: 0 }, [
243
+ L(c("div", Ve, null, 512), [
244
+ [I, t.value.sceneType === "image"]
245
+ ]),
246
+ L(c("div", be, null, 512), [
247
+ [I, t.value.sceneType !== "image"]
248
+ ])
249
+ ], 64)) : l("", !0),
250
+ e.basicOption.default.controls ? (s(), a("div", he, [
251
+ e.basicOption.default.controls.scene ? (s(), a("div", {
252
+ key: 0,
253
+ class: "btn-icon left",
254
+ style: k({ borderColor: b.value ? "#ff7d00" : "#ffffff3d" }),
255
+ onClick: $
256
+ }, [
257
+ D(i, { content: "场景选择" }, {
258
+ default: j(() => [
259
+ _e
260
+ ]),
261
+ _: 1
262
+ })
263
+ ], 4)) : l("", !0),
264
+ e.basicOption.default.controls.left ? (s(), a("div", {
265
+ key: 1,
266
+ class: "btn-icon left",
267
+ onClick: K
268
+ }, ge)) : l("", !0),
269
+ e.basicOption.default.controls.right ? (s(), a("div", {
270
+ key: 2,
271
+ class: "btn-icon right",
272
+ onClick: q
273
+ }, Oe)) : l("", !0),
274
+ e.basicOption.default.controls.top ? (s(), a("div", {
275
+ key: 3,
276
+ class: "btn-icon up",
277
+ onClick: F
278
+ }, ke)) : l("", !0),
279
+ e.basicOption.default.controls.bottom ? (s(), a("div", {
280
+ key: 4,
281
+ class: "btn-icon down",
282
+ onClick: Z
283
+ }, Te)) : l("", !0),
284
+ e.basicOption.default.controls.magnify ? (s(), a("div", {
285
+ key: 5,
286
+ class: "btn-icon",
287
+ onClick: Q
288
+ }, Ce)) : l("", !0),
289
+ e.basicOption.default.controls.shrink ? (s(), a("div", {
290
+ key: 6,
291
+ class: "btn-icon",
292
+ onClick: X
293
+ }, Ae)) : l("", !0),
294
+ h.value && v.value.src && e.basicOption.default.audio ? (s(), a("div", {
295
+ key: 7,
296
+ class: "btn-icon",
297
+ onClick: n[0] || (n[0] = (w) => P("play"))
298
+ }, Ie)) : l("", !0),
299
+ !h.value && v.value.src && e.basicOption.default.audio ? (s(), a("div", {
300
+ key: 8,
301
+ class: "btn-icon",
302
+ onClick: n[1] || (n[1] = (w) => P("pause"))
303
+ }, je)) : l("", !0),
304
+ e.basicOption.default.controls.rotate ? (s(), a("div", {
305
+ key: 9,
306
+ class: "btn-icon",
307
+ onClick: x
308
+ }, Me)) : l("", !0)
309
+ ])) : l("", !0),
310
+ e.basicOption.default.controls ? (s(), a("div", {
311
+ key: 2,
312
+ ref_key: "sceneMenuRef",
313
+ ref: O,
314
+ class: "scene-menu",
315
+ style: k({ bottom: b.value && e.basicOption.default.controls.scene ? "80px" : "-9999999999999px" })
316
+ }, [
317
+ D(r, null, {
318
+ default: j(() => [
319
+ c("div", Be, [
320
+ (s(!0), a(A, null, ne(Y.value, (w) => (s(), a("div", {
321
+ key: w.value,
322
+ class: "scene-item",
323
+ style: k({ borderColor: _.value === w.value ? "#ff7d00" : "#fff" }),
324
+ onClick: (qe) => U(w.value)
325
+ }, [
326
+ c("img", {
327
+ class: "thumbnail",
328
+ src: w.thumbnail
329
+ }, null, 8, Ge),
330
+ c("p", We, ie(w.label), 1)
331
+ ], 12, Ne))), 128))
332
+ ])
333
+ ]),
334
+ _: 1
335
+ })
336
+ ], 4)) : l("", !0),
337
+ c("audio", {
338
+ ref_key: "audioRef",
339
+ ref: p,
340
+ autoplay: v.value.autoplay,
341
+ loop: v.value.loop,
342
+ volume: v.value.volume
343
+ }, [
344
+ c("source", {
345
+ src: v.value.src
346
+ }, null, 8, Ue)
347
+ ], 8, Ye),
348
+ y.value ? (s(), a("div", $e, Ze)) : l("", !0)
349
+ ]);
350
+ };
351
+ }
352
+ });
353
+ export {
354
+ co as default
355
+ };
@@ -0,0 +1,4 @@
1
+ const t = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236327428'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9114'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M843.40179753%20545.14017975H180.59820247v-66.2803595h662.80359506v66.2803595z'%20fill='%23ffffff'%20p-id='9115'%3e%3c/path%3e%3cpath%20d='M478.85982025%20843.40179753V180.59820247h66.2803595v662.80359506h-66.2803595z'%20fill='%23ffffff'%20p-id='9116'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const c = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236437011'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9730'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M458.64625344%20800.05792025c0%2063.6614775-51.61300594%20115.26776813-115.28119969%20115.26776811l-1.38434157%200c-63.66819281%200-115.28023969-51.60629062-115.28023968-115.26776811L226.70047344%20193.01317679c0-63.6614775%2051.61204687-115.26776813%20115.28023968-115.26776812l1.38434157%200c63.66819281%200%20115.28119969%2051.60629062%20115.28119968%20115.26776812L458.64625344%20800.05792025zM407.10327969%20193.01317679c0-35.19661689-28.53393375-63.72479437-63.73726594-63.72479437l-1.38434155%200c-35.20333219%200-63.73726594%2028.52721844-63.73726595%2063.72479437L278.24440625%20800.05792025c0%2035.19661689%2028.53393375%2063.72479437%2063.73726593%2063.72479436l1.38434157%200c35.20333219%200%2063.73726594-28.52721844%2063.73726594-63.72479436L407.10327969%20193.01317679z'%20fill='%23ffffff'%20p-id='9731'%3e%3c/path%3e%3cpath%20d='M316.90235655%20296.80520618c-7.12221094%200-12.88598345-5.76377249-12.88598342-12.88598344l0-51.54393281c0-7.12221094%205.76377249-12.88598345%2012.88598342-12.88598343%207.10973938%200%2012.88598345%205.76377249%2012.88598345%2012.88598343l0%2051.54393281C329.78738%20291.0414337%20324.01209594%20296.80520618%20316.90235655%20296.80520618z'%20fill='%23ffffff'%20p-id='9732'%3e%3c/path%3e%3cpath%20d='M316.90235655%20335.46219649c-7.12221094%200-12.88598345-5.76281251-12.88598342-12.88598343l0-5.3359022c0-7.12221094%205.76377249-12.88598345%2012.88598342-12.88598344%207.10973938%200%2012.88598345%205.76377249%2012.88598345%2012.88598344l0%205.3359022C329.78738%20329.69938399%20324.01209594%20335.46219649%20316.90235655%20335.46219649z'%20fill='%23ffffff'%20p-id='9733'%3e%3c/path%3e%3cpath%20d='M790.66253055%20800.05792025c0%2063.6614775-51.60629062%20115.26776813-115.28119969%20115.26776811l-1.3833825%200c-63.67394906%200-115.28023969-51.60629062-115.28023968-115.26776811L558.71770961%20193.01317679c0-63.6614775%2051.60629062-115.26776813%20115.28023969-115.26776812l1.3833825%200c63.67490812%200%20115.28119969%2051.60629062%20115.28119969%20115.26776812L790.66253055%20800.05792025zM739.11859774%20193.01317679c0-35.19661689-28.5281775-63.72479437-63.73726594-63.72479437l-1.3833825%200c-35.2100475%200-63.73726594%2028.52721844-63.73726594%2063.72479437L610.26068336%20800.05792025c0%2035.19661689%2028.52721844%2063.72479437%2063.73726594%2063.72479436l1.3833825%200c35.20908844%200%2063.73726594-28.52721844%2063.73726594-63.72479436L739.11859774%20193.01317679z'%20fill='%23ffffff'%20p-id='9734'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ c as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const c = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236409396'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9521'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M300.95162432%20943.72479443c-55.520501%200-93.25901001-44.607964-93.25901-110.98881401l0-671.442362c0-66.38084999%2037.738509-110.98779001%2093.285616-110.98779%2021.22951001%200%2043.632753%206.590092%2066.121953%2019.57175402L895.63169532%20406.20865343c39.06471401%2022.529109%2061.195757%2055.01703401%2061.19575701%2090.87266%200%2035.81571699-22.01234%2068.263733-62.01849501%2091.36282401L368.05492832%20923.55542842C344.55777132%20937.14698143%20322.18113432%20943.72479443%20300.95162432%20943.72479443zM300.97823032%20104.61985142c-34.79445699%200-38.971593%2039.634696-38.971593%2056.673767l0%20671.442362c0%2017.040095%204.177136%2056.67478999%2038.944987%2056.67479001%2011.403724%200%2025.02802299-4.242627%2038.965453-12.292977l526.661931-335.11129101c23.16560599-13.406335%2035.933397-29.55615301%2035.933397-44.92518899%200-15.408945-12.72890601-31.598672-34.967396-44.435025L338.92140032%20116.31521743C325.99397333%20108.87578143%20312.39525732%20104.61985142%20300.97823032%20104.61985142z'%20fill='%23ffffff'%20p-id='9522'%3e%3c/path%3e%3cpath%20d='M570.88956632%20672.92522843c-4.52198999%200-8.924253-2.240017-11.510148-6.351662-3.99089402-6.338359-2.081405-14.719236%204.25593-18.723434l7.333012-4.615111c6.35166201-3.97861399%2014.731516-2.094708%2018.723434%204.270257%204.00522%206.337335%202.095731%2014.718213-4.25593%2018.72241001l-7.333012%204.61613399C575.86181132%20672.24779942%20573.35573432%20672.92522843%20570.88956632%20672.92522843z'%20fill='%23ffffff'%20p-id='9523'%3e%3c/path%3e%3cpath%20d='M371.97316732%20798.03464342c-4.520967%200-8.924253-2.240017-11.510148-6.351662-3.99089402-6.337335-2.081405-14.731516%204.269233-18.72241l152.386666-95.85923099c6.338359-3.964288%2014.719236-2.094708%2018.723434%204.270257%203.99089402%206.337335%202.082428%2014.731516-4.269233%2018.72343399l-152.386666%2095.85820799C376.94541232%20797.35926142%20374.43933532%20798.03464342%20371.97316732%20798.03464342z'%20fill='%23ffffff'%20p-id='9524'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ c as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const t = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236377345'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9318'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M889.06160075%20549.70616007H134.93839925v-75.41232014h754.1232015v75.41232014z'%20p-id='9319'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const s = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236465064'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9940'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M844.8%20247.466667c0-17.066667-17.066667-34.133333-34.133333-34.133334s-34.133333%2012.8-34.133334%2034.133334v68.266666c-8.533333-17.066667-21.333333-29.866667-29.866666-38.4C682.666667%20217.6%20601.6%20179.2%20512%20179.2c-183.466667%200-332.8%20149.333333-332.8%20332.8s149.333333%20332.8%20332.8%20332.8c89.6%200%20170.666667-34.133333%20234.666667-98.133333%2012.8-12.8%2012.8-34.133333%200-46.933334s-34.133333-12.8-46.933334%200c-51.2%2051.2-119.466667%2076.8-187.733333%2076.8-145.066667%200-264.533333-119.466667-264.533333-264.533333S366.933333%20243.2%20512%20243.2c72.533333%200%20136.533333%2025.6%20187.733333%2076.8l38.4%2038.4h-76.8c-17.066667%200-34.133333%2012.8-34.133333%2034.133333s12.8%2034.133333%2034.133333%2034.133334H823.466667s4.266667%200%204.266666-4.266667c0%200%204.266667%200%204.266667-4.266667l4.266667-4.266666%204.266666-4.266667v-4.266667-157.866666z'%20p-id='9941'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ s as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const t = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236117111'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8911'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M670.634667%20182.656a40.832%2040.832%200%200%201%200%2057.941333L397.99466699%20512l272.64000001%20271.402667a40.832%2040.832%200%200%201%200%2057.941333%2041.258667%2041.258667%200%200%201-58.197334%200l-301.738666-300.37333299a40.832%2040.832%200%200%201%200-57.94133402l301.738666-300.37333299a41.258667%2041.258667%200%200%201%2058.197334%200z'%20p-id='8912'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const c = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1716263282576'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='11645'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M991.232%20330.752c-13.824-6.144-27.648-6.144-34.304%200l-392.704%20208.384c-6.656%206.144-13.824%2018.944-13.824%2025.088v416.768c0%2012.8%202.56%2026.112%2016.384%2034.304%205.12%202.56%2011.264%203.584%2017.92%203.584%204.608%200%209.216%200.512%2020.48-6.144l386.048-208.384c12.8-5.632%2020.48-17.92%2020.48-31.744V361.984c0-13.312-8.192-26.112-20.48-31.232z%20m-55.296%20429.568l-310.272%20164.352v-334.848l310.272-164.352v334.848z%20m13.824-549.888L552.96%2016.896c-15.36-7.68-33.28-9.728-50.176-5.12-2.56%201.024-5.632%202.048-8.192%203.072L88.576%20213.504c-4.096%202.048-8.192%204.608-11.776%207.168-7.168%205.12-16.384%2011.264-16.384%2021.504%200%2012.8%206.656%2025.088%2020.48%2031.744l407.552%20211.968c3.072%201.536%206.656%202.56%209.728%203.584%205.632%201.536%2011.264%205.632%2016.384%205.632%206.144%200%2012.288%200%2018.432-4.608%203.072-2.048%206.144-3.584%209.216-5.632l406.528-210.944c17.408-7.68%2025.6-28.16%2017.92-45.568-2.56-7.68-9.216-14.336-16.896-17.92z%20m-434.176%20208.384l-337.92-170.496%20337.92-164.352%20337.92%20164.352-337.92%20170.496zM74.24%20330.752c-6.656-6.144-20.48-6.144-34.304%200-12.8%205.632-20.48%2017.92-20.48%2031.744v416.768c0%2012.8%206.656%2025.088%2020.48%2031.744l367.616%20198.656c11.776%206.656%2025.088%209.728%2038.912%209.728%206.656%200%2014.336%200.512%2020.48-6.144%2013.824-7.68%2020.48-17.92%2020.48-31.744v-416.768c0-13.824-8.192-26.112-20.48-31.744%200.512%200-392.704-202.24-392.704-202.24z%20m330.752%20593.92l-310.272-164.352V419.328L404.992%20583.68v340.992z'%20fill='%23ffffff'%20p-id='11646'%3e%3c/path%3e%3c/svg%3e";
2
+ export {
3
+ c as default
4
+ };
@@ -47,6 +47,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
47
47
  type: import("vue").PropType<string | number>;
48
48
  default: number;
49
49
  };
50
+ autoplay: {
51
+ type: import("vue").PropType<boolean>;
52
+ default: boolean;
53
+ };
54
+ loop: {
55
+ type: import("vue").PropType<number | boolean>;
56
+ default: boolean;
57
+ };
50
58
  endVal: {
51
59
  type: import("vue").PropType<string | number>;
52
60
  required: true;
@@ -59,14 +67,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
59
67
  type: import("vue").PropType<number>;
60
68
  default: number;
61
69
  };
62
- autoplay: {
63
- type: import("vue").PropType<boolean>;
64
- default: boolean;
65
- };
66
- loop: {
67
- type: import("vue").PropType<number | boolean>;
68
- default: boolean;
69
- };
70
70
  }>> & {
71
71
  onInit?: (countup: import("countup.js").CountUp) => any;
72
72
  onFinished?: () => any;
@@ -89,6 +89,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
89
89
  type: import("vue").PropType<string | number>;
90
90
  default: number;
91
91
  };
92
+ autoplay: {
93
+ type: import("vue").PropType<boolean>;
94
+ default: boolean;
95
+ };
96
+ loop: {
97
+ type: import("vue").PropType<number | boolean>;
98
+ default: boolean;
99
+ };
92
100
  endVal: {
93
101
  type: import("vue").PropType<string | number>;
94
102
  required: true;
@@ -101,14 +109,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
101
109
  type: import("vue").PropType<number>;
102
110
  default: number;
103
111
  };
104
- autoplay: {
105
- type: import("vue").PropType<boolean>;
106
- default: boolean;
107
- };
108
- loop: {
109
- type: import("vue").PropType<number | boolean>;
110
- default: boolean;
111
- };
112
112
  }>> & {
113
113
  onInit?: (countup: import("countup.js").CountUp) => any;
114
114
  onFinished?: () => any;
@@ -140,6 +140,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
140
140
  type: import("vue").PropType<string | number>;
141
141
  default: number;
142
142
  };
143
+ autoplay: {
144
+ type: import("vue").PropType<boolean>;
145
+ default: boolean;
146
+ };
147
+ loop: {
148
+ type: import("vue").PropType<number | boolean>;
149
+ default: boolean;
150
+ };
143
151
  endVal: {
144
152
  type: import("vue").PropType<string | number>;
145
153
  required: true;
@@ -152,14 +160,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
152
160
  type: import("vue").PropType<number>;
153
161
  default: number;
154
162
  };
155
- autoplay: {
156
- type: import("vue").PropType<boolean>;
157
- default: boolean;
158
- };
159
- loop: {
160
- type: import("vue").PropType<number | boolean>;
161
- default: boolean;
162
- };
163
163
  }>> & {
164
164
  onInit?: (countup: import("countup.js").CountUp) => any;
165
165
  onFinished?: () => any;
@@ -191,6 +191,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
191
191
  type: import("vue").PropType<string | number>;
192
192
  default: number;
193
193
  };
194
+ autoplay: {
195
+ type: import("vue").PropType<boolean>;
196
+ default: boolean;
197
+ };
198
+ loop: {
199
+ type: import("vue").PropType<number | boolean>;
200
+ default: boolean;
201
+ };
194
202
  endVal: {
195
203
  type: import("vue").PropType<string | number>;
196
204
  required: true;
@@ -203,14 +211,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
203
211
  type: import("vue").PropType<number>;
204
212
  default: number;
205
213
  };
206
- autoplay: {
207
- type: import("vue").PropType<boolean>;
208
- default: boolean;
209
- };
210
- loop: {
211
- type: import("vue").PropType<number | boolean>;
212
- default: boolean;
213
- };
214
214
  }>> & {
215
215
  onInit?: (countup: import("countup.js").CountUp) => any;
216
216
  onFinished?: () => any;