@qispace/vue3-player 0.4.8 → 0.4.9
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/dist/vue-components/src/components/structureChooser/VStructureChooser.vue.d.ts +8 -0
- package/dist/vue-components/src/components/structureChooser/VStructureChooserOverlay.vue.d.ts +8 -0
- package/dist/vue-components/style.css +1 -1
- package/dist/vue-components/vue3-player.js +294 -286
- package/dist/vue-components/vue3-player.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var bn = Object.defineProperty;
|
|
2
2
|
var wn = (t, n, o) => n in t ? bn(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o;
|
|
3
3
|
var Ue = (t, n, o) => (wn(t, typeof n != "symbol" ? n + "" : n, o), o);
|
|
4
|
-
import { defineComponent as P, computed as V, resolveComponent as L, openBlock as u, createBlock as
|
|
4
|
+
import { defineComponent as P, computed as V, resolveComponent as L, openBlock as u, createBlock as O, withCtx as m, createElementBlock as I, normalizeStyle as ae, renderSlot as X, ref as b, unref as p, watch as H, onMounted as Re, onBeforeUnmount as et, createElementVNode as e, toRefs as _e, nextTick as $e, inject as Se, createVNode as y, mergeProps as Le, toDisplayString as Y, createTextVNode as le, Fragment as we, renderList as Ee, normalizeClass as ce, pushScopeId as mt, popScopeId as pt, Transition as Fe, createCommentVNode as F, withDirectives as Ke, vModelText as kn, createStaticVNode as Ht, onBeforeUpdate as Cn, withModifiers as Sn, provide as Xe, vShow as ut, reactive as An, watchEffect as Ft, normalizeProps as xn, guardReactiveProps as In } from "vue";
|
|
5
5
|
import ct from "axios";
|
|
6
6
|
import * as Ln from "@qispace/player-core";
|
|
7
7
|
import { Vector3 as Je, Object3D as En, MathUtils as Mn } from "three";
|
|
@@ -19,14 +19,14 @@ const Fn = /* @__PURE__ */ P({
|
|
|
19
19
|
});
|
|
20
20
|
return (a, s) => {
|
|
21
21
|
const r = L("v-dialog"), h = L("v-fade-transition");
|
|
22
|
-
return u(),
|
|
22
|
+
return u(), O(h, {
|
|
23
23
|
origin: `top left ${a.pos.x} ${a.pos.y}`
|
|
24
24
|
}, {
|
|
25
25
|
default: m(() => [
|
|
26
26
|
a.isHoverable ? (u(), I("div", {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "floating-card",
|
|
29
|
-
style:
|
|
29
|
+
style: ae({
|
|
30
30
|
left: `${a.pos.x}px`,
|
|
31
31
|
top: `${a.pos.y}px`,
|
|
32
32
|
pointerEvents: "none",
|
|
@@ -34,7 +34,7 @@ const Fn = /* @__PURE__ */ P({
|
|
|
34
34
|
})
|
|
35
35
|
}, [
|
|
36
36
|
X(a.$slots, "default", { isHoverable: a.isHoverable }, void 0, !0)
|
|
37
|
-
], 4)) : (u(),
|
|
37
|
+
], 4)) : (u(), O(r, {
|
|
38
38
|
key: 1,
|
|
39
39
|
value: !0,
|
|
40
40
|
width: "auto",
|
|
@@ -67,7 +67,7 @@ const Fn = /* @__PURE__ */ P({
|
|
|
67
67
|
class: "hover-check"
|
|
68
68
|
}, null, 512));
|
|
69
69
|
}
|
|
70
|
-
}), Bn = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-eb9b348d"]]),
|
|
70
|
+
}), Bn = /* @__PURE__ */ ee(Dn, [["__scopeId", "data-v-eb9b348d"]]), On = "data:image/png;base64,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", Yt = /* @__PURE__ */ P({
|
|
71
71
|
__name: "VNorthDirection",
|
|
72
72
|
props: {
|
|
73
73
|
longitude: {}
|
|
@@ -79,13 +79,13 @@ const Fn = /* @__PURE__ */ P({
|
|
|
79
79
|
}));
|
|
80
80
|
return (l, i) => {
|
|
81
81
|
const a = L("v-img");
|
|
82
|
-
return u(),
|
|
83
|
-
src: p(
|
|
84
|
-
style:
|
|
82
|
+
return u(), O(a, {
|
|
83
|
+
src: p(On),
|
|
84
|
+
style: ae(o.value)
|
|
85
85
|
}, null, 8, ["src", "style"]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), Tn = /* @__PURE__ */ P({
|
|
89
89
|
__name: "VZoomBox",
|
|
90
90
|
props: {
|
|
91
91
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -116,12 +116,12 @@ const Fn = /* @__PURE__ */ P({
|
|
|
116
116
|
), H(
|
|
117
117
|
() => l.mobile,
|
|
118
118
|
() => {
|
|
119
|
-
l.mobile ? k() :
|
|
119
|
+
l.mobile ? k() : D();
|
|
120
120
|
}
|
|
121
121
|
), Re(() => {
|
|
122
122
|
l.desktop && d(), l.mobile && k();
|
|
123
123
|
}), et(() => {
|
|
124
|
-
l.desktop && x(), l.mobile &&
|
|
124
|
+
l.desktop && x(), l.mobile && D();
|
|
125
125
|
});
|
|
126
126
|
function d() {
|
|
127
127
|
S.value.addEventListener("wheel", R, {
|
|
@@ -160,7 +160,7 @@ const Fn = /* @__PURE__ */ P({
|
|
|
160
160
|
capture: !0
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function D() {
|
|
164
164
|
S.value.removeEventListener("touchstart", te, {
|
|
165
165
|
capture: !0
|
|
166
166
|
}), S.value.removeEventListener("touchmove", Ae, {
|
|
@@ -171,77 +171,77 @@ const Fn = /* @__PURE__ */ P({
|
|
|
171
171
|
capture: !0
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
function R(
|
|
175
|
-
const { x: Q, y: N } = M(
|
|
176
|
-
ke(-
|
|
174
|
+
function R(B) {
|
|
175
|
+
const { x: Q, y: N } = M(B);
|
|
176
|
+
ke(-B.deltaY / 10, Q, N), B.preventDefault();
|
|
177
177
|
}
|
|
178
|
-
function U(
|
|
179
|
-
h.value = !0, _.value = !1, f.value =
|
|
178
|
+
function U(B) {
|
|
179
|
+
h.value = !0, _.value = !1, f.value = B;
|
|
180
180
|
}
|
|
181
|
-
function E(
|
|
181
|
+
function E(B) {
|
|
182
182
|
if (h.value) {
|
|
183
|
-
const { x: Q, y: N } = M(
|
|
183
|
+
const { x: Q, y: N } = M(B), { x: Z, y: se } = M(f.value), G = {
|
|
184
184
|
x: Q - Z,
|
|
185
185
|
y: N - se
|
|
186
186
|
};
|
|
187
|
-
j(G.x), ve(G.y), _.value = !0, f.value =
|
|
187
|
+
j(G.x), ve(G.y), _.value = !0, f.value = B;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function J(
|
|
191
|
-
h.value && _.value && l.consumeMouseUpWhenMoved && (
|
|
190
|
+
function J(B) {
|
|
191
|
+
h.value && _.value && l.consumeMouseUpWhenMoved && (B.preventDefault(), B.stopImmediatePropagation());
|
|
192
192
|
}
|
|
193
|
-
function be(
|
|
194
|
-
h.value && (_.value && l.consumeMouseClickWhenMoved && (
|
|
193
|
+
function be(B) {
|
|
194
|
+
h.value && (_.value && l.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), h.value = !1);
|
|
195
195
|
}
|
|
196
|
-
function te(
|
|
197
|
-
h.value =
|
|
196
|
+
function te(B) {
|
|
197
|
+
h.value = B.touches.length === 1, g.value = B.touches.length === 2, f.value = B;
|
|
198
198
|
}
|
|
199
|
-
function Ae(
|
|
199
|
+
function Ae(B) {
|
|
200
200
|
if (h.value) {
|
|
201
|
-
const { x: Q, y: N } = M(
|
|
201
|
+
const { x: Q, y: N } = M(B.touches[0]), { x: Z, y: se } = M(
|
|
202
202
|
f.value.touches[0]
|
|
203
203
|
), G = {
|
|
204
204
|
x: Q - Z,
|
|
205
205
|
y: N - se
|
|
206
206
|
};
|
|
207
207
|
j(G.x), ve(G.y);
|
|
208
|
-
} else if (g.value &&
|
|
209
|
-
const { x: Q, y: N } = M(
|
|
208
|
+
} else if (g.value && B.touches.length === 2) {
|
|
209
|
+
const { x: Q, y: N } = M(B.touches[0]), { x: Z, y: se } = M(
|
|
210
210
|
f.value.touches[0]
|
|
211
|
-
), { x: G, y: re } = M(
|
|
211
|
+
), { x: G, y: re } = M(B.touches[1]), { x: q, y: ge } = M(
|
|
212
212
|
f.value.touches[1]
|
|
213
213
|
), xe = Math.hypot(Z - q, se - ge), De = Math.hypot(Q - G, N - re), pe = (G + Q) / 2, fe = (re + N) / 2;
|
|
214
214
|
ke(De - xe, pe, fe);
|
|
215
215
|
}
|
|
216
|
-
f.value =
|
|
216
|
+
f.value = B;
|
|
217
217
|
}
|
|
218
218
|
function z() {
|
|
219
219
|
h.value = !1, g.value = !1;
|
|
220
220
|
}
|
|
221
|
-
function M(
|
|
221
|
+
function M(B) {
|
|
222
222
|
const { left: Q, top: N } = S.value.getBoundingClientRect();
|
|
223
223
|
return {
|
|
224
|
-
x:
|
|
225
|
-
y:
|
|
224
|
+
x: B.clientX - Q,
|
|
225
|
+
y: B.clientY - N
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function j(
|
|
228
|
+
function j(B) {
|
|
229
229
|
const Q = S.value.clientWidth, N = Q * C.value;
|
|
230
230
|
s.value = Math.max(
|
|
231
|
-
Math.min(0, s.value +
|
|
231
|
+
Math.min(0, s.value + B),
|
|
232
232
|
-(N - Q)
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function ve(
|
|
235
|
+
function ve(B) {
|
|
236
236
|
const Q = S.value.clientHeight, N = Q * C.value;
|
|
237
237
|
r.value = Math.max(
|
|
238
|
-
Math.min(0, r.value +
|
|
238
|
+
Math.min(0, r.value + B),
|
|
239
239
|
-(N - Q)
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
function ke(
|
|
242
|
+
function ke(B, Q, N) {
|
|
243
243
|
const Z = Q !== void 0 ? Q : S.value.clientWidth / 2, se = N !== void 0 ? N : S.value.clientHeight / 2, G = S.value.clientWidth, re = S.value.clientHeight, q = G * C.value, ge = re * C.value;
|
|
244
|
-
a.value = Math.min(Math.max(100, a.value +
|
|
244
|
+
a.value = Math.min(Math.max(100, a.value + B), c.value);
|
|
245
245
|
const xe = G * C.value, De = re * C.value, pe = xe - q, fe = De - ge;
|
|
246
246
|
s.value -= Z / G * pe, r.value -= se / re * fe, j(0), ve(0);
|
|
247
247
|
}
|
|
@@ -253,27 +253,27 @@ const Fn = /* @__PURE__ */ P({
|
|
|
253
253
|
current: Math.min(Math.max(100, a.value), c.value),
|
|
254
254
|
min: 100,
|
|
255
255
|
max: c.value,
|
|
256
|
-
resolve: (
|
|
257
|
-
const N = S.value.clientWidth, Z = S.value.clientHeight, se = s.value / -C.value, G = r.value / -C.value, re = se + N / C.value, q = G + Z / C.value, ge =
|
|
256
|
+
resolve: (B, Q) => {
|
|
257
|
+
const N = S.value.clientWidth, Z = S.value.clientHeight, se = s.value / -C.value, G = r.value / -C.value, re = se + N / C.value, q = G + Z / C.value, ge = B / N * (re - se) + se, xe = Q / Z * (q - G) + G;
|
|
258
258
|
return { x: ge, y: xe };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
return (
|
|
262
|
+
return (B, Q) => (u(), I("div", {
|
|
263
263
|
ref_key: "box",
|
|
264
264
|
ref: S,
|
|
265
265
|
class: "zoom-box-container",
|
|
266
|
-
style:
|
|
266
|
+
style: ae({ position: l.position })
|
|
267
267
|
}, [
|
|
268
268
|
e("div", {
|
|
269
|
-
style:
|
|
269
|
+
style: ae({ "transform-origin": "top left", transform: $.value }),
|
|
270
270
|
class: "zoom-box"
|
|
271
271
|
}, [
|
|
272
|
-
X(
|
|
272
|
+
X(B.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
276
|
-
}), $n = /* @__PURE__ */ ee(
|
|
276
|
+
}), $n = /* @__PURE__ */ ee(Tn, [["__scopeId", "data-v-3e334a46"]]);
|
|
277
277
|
var Ze = {};
|
|
278
278
|
Object.defineProperty(Ze, "__esModule", {
|
|
279
279
|
value: !0
|
|
@@ -443,7 +443,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
443
443
|
e("div", no, [
|
|
444
444
|
e("canvas", {
|
|
445
445
|
id: "qpc",
|
|
446
|
-
style:
|
|
446
|
+
style: ae(p(h) ? "visibility:hidden" : "visibility:visible")
|
|
447
447
|
}, null, 4)
|
|
448
448
|
])
|
|
449
449
|
])
|
|
@@ -471,7 +471,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
471
471
|
}
|
|
472
472
|
return (f, _) => {
|
|
473
473
|
const S = L("v-btn"), $ = L("v-tooltip");
|
|
474
|
-
return u(),
|
|
474
|
+
return u(), O($, {
|
|
475
475
|
right: "",
|
|
476
476
|
attach: ""
|
|
477
477
|
}, {
|
|
@@ -588,13 +588,13 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
588
588
|
return (a, s) => {
|
|
589
589
|
const r = L("v-img");
|
|
590
590
|
return u(), I("div", {
|
|
591
|
-
style:
|
|
591
|
+
style: ae(l.value),
|
|
592
592
|
class: "compass-wrapper"
|
|
593
593
|
}, [
|
|
594
594
|
y(r, {
|
|
595
595
|
class: "compass-needle",
|
|
596
596
|
src: o.value,
|
|
597
|
-
style:
|
|
597
|
+
style: ae(i.value)
|
|
598
598
|
}, null, 8, ["src", "style"])
|
|
599
599
|
], 4);
|
|
600
600
|
};
|
|
@@ -649,7 +649,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
649
649
|
});
|
|
650
650
|
return (s, r) => {
|
|
651
651
|
const h = L("v-icon"), g = L("v-btn"), f = L("v-tooltip");
|
|
652
|
-
return u(),
|
|
652
|
+
return u(), O(f, { location: "top" }, {
|
|
653
653
|
activator: m(({ props: _ }) => [
|
|
654
654
|
y(g, Le({
|
|
655
655
|
density: "comfortable",
|
|
@@ -658,7 +658,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
658
658
|
onClick: r[0] || (r[0] = (S) => l("toggle"))
|
|
659
659
|
}, _), {
|
|
660
660
|
default: m(() => [
|
|
661
|
-
a.value === "virtualTour" ? (u(), I("svg", Eo, Do)) : (u(),
|
|
661
|
+
a.value === "virtualTour" ? (u(), I("svg", Eo, Do)) : (u(), O(h, { key: 1 }, {
|
|
662
662
|
default: m(() => [
|
|
663
663
|
le("mdi-image-multiple")
|
|
664
664
|
]),
|
|
@@ -675,7 +675,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
675
675
|
});
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
}),
|
|
678
|
+
}), Oo = /* @__PURE__ */ ee(Bo, [["__scopeId", "data-v-86d91cc1"]]), ze = (t) => (mt("data-v-627f8ee6"), t = t(), pt(), t), To = {
|
|
679
679
|
key: 0,
|
|
680
680
|
class: "desktop-content"
|
|
681
681
|
}, $o = { class: "d-flex align-center justify-center" }, Ro = { class: "box col d-flex flex-column align-bottom justify-center" }, Ho = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
@@ -1217,7 +1217,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
return (h, g) => {
|
|
1219
1219
|
const f = L("v-icon"), _ = L("v-card-title"), S = L("v-btn"), $ = L("v-divider"), C = L("v-card-text"), c = L("v-card-actions"), d = L("v-card"), k = L("v-expand-transition"), x = L("v-checkbox");
|
|
1220
|
-
return u(),
|
|
1220
|
+
return u(), O(Fe, { name: "fade-transition" }, {
|
|
1221
1221
|
default: m(() => [
|
|
1222
1222
|
y(d, {
|
|
1223
1223
|
class: "mx-auto",
|
|
@@ -1242,7 +1242,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1242
1242
|
y(S, {
|
|
1243
1243
|
variant: "tonal",
|
|
1244
1244
|
size: "small",
|
|
1245
|
-
onClick: g[0] || (g[0] = (
|
|
1245
|
+
onClick: g[0] || (g[0] = (D) => a.value = !0),
|
|
1246
1246
|
class: "text-capitalize mt-2"
|
|
1247
1247
|
}, {
|
|
1248
1248
|
default: m(() => [
|
|
@@ -1257,7 +1257,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1257
1257
|
_: 1
|
|
1258
1258
|
}),
|
|
1259
1259
|
y($, { class: "my-3" }),
|
|
1260
|
-
s.value ? F("", !0) : (u(), I("div",
|
|
1260
|
+
s.value ? F("", !0) : (u(), I("div", To, [
|
|
1261
1261
|
e("div", $o, [
|
|
1262
1262
|
e("div", Ro, [
|
|
1263
1263
|
Ho,
|
|
@@ -1297,7 +1297,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1297
1297
|
}),
|
|
1298
1298
|
y(k, null, {
|
|
1299
1299
|
default: m(() => [
|
|
1300
|
-
a.value ? (u(),
|
|
1300
|
+
a.value ? (u(), O(d, {
|
|
1301
1301
|
key: 0,
|
|
1302
1302
|
class: "position-absolute w-100 bg-white",
|
|
1303
1303
|
height: "100%",
|
|
@@ -1324,7 +1324,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1324
1324
|
y(S, {
|
|
1325
1325
|
variant: "tonal",
|
|
1326
1326
|
size: "small",
|
|
1327
|
-
onClick: g[1] || (g[1] = (
|
|
1327
|
+
onClick: g[1] || (g[1] = (D) => a.value = !1),
|
|
1328
1328
|
class: "text-capitalize"
|
|
1329
1329
|
}, {
|
|
1330
1330
|
default: m(() => [
|
|
@@ -1351,7 +1351,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1351
1351
|
y(x, {
|
|
1352
1352
|
density: "compact",
|
|
1353
1353
|
modelValue: i.value,
|
|
1354
|
-
"onUpdate:modelValue": g[2] || (g[2] = (
|
|
1354
|
+
"onUpdate:modelValue": g[2] || (g[2] = (D) => i.value = D),
|
|
1355
1355
|
"hide-details": ""
|
|
1356
1356
|
}, {
|
|
1357
1357
|
label: m(() => [
|
|
@@ -1364,7 +1364,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1364
1364
|
default: m(() => [
|
|
1365
1365
|
y(S, {
|
|
1366
1366
|
variant: "tonal",
|
|
1367
|
-
onClick: g[3] || (g[3] = (
|
|
1367
|
+
onClick: g[3] || (g[3] = (D) => r()),
|
|
1368
1368
|
block: ""
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: m(() => [
|
|
@@ -1541,7 +1541,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}
|
|
1543
1543
|
return (C, c) => {
|
|
1544
|
-
const d = L("v-text-field"), k = L("v-slider"), x = L("v-checkbox"),
|
|
1544
|
+
const d = L("v-text-field"), k = L("v-slider"), x = L("v-checkbox"), D = L("v-btn"), R = L("v-select"), U = L("v-icon");
|
|
1545
1545
|
return u(), I("div", ma, [
|
|
1546
1546
|
e("form", pa, [
|
|
1547
1547
|
e("div", fa, [
|
|
@@ -1549,7 +1549,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1549
1549
|
key: be,
|
|
1550
1550
|
"d-block": ""
|
|
1551
1551
|
}, [
|
|
1552
|
-
E.type === "slider" ? (u(),
|
|
1552
|
+
E.type === "slider" ? (u(), O(k, {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
modelValue: i.value[J].value,
|
|
1555
1555
|
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
@@ -1580,7 +1580,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1580
1580
|
]),
|
|
1581
1581
|
_: 2
|
|
1582
1582
|
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : F("", !0),
|
|
1583
|
-
E.type === "boolean" ? (u(),
|
|
1583
|
+
E.type === "boolean" ? (u(), O(x, {
|
|
1584
1584
|
key: 1,
|
|
1585
1585
|
modelValue: i.value[J].value,
|
|
1586
1586
|
"onUpdate:modelValue": (te) => i.value[J].value = te,
|
|
@@ -1629,7 +1629,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1629
1629
|
e("div", Ca, [
|
|
1630
1630
|
e("div", Sa, Y(E.label), 1),
|
|
1631
1631
|
e("div", null, [
|
|
1632
|
-
y(
|
|
1632
|
+
y(D, {
|
|
1633
1633
|
class: "ml-2",
|
|
1634
1634
|
"x-small": "",
|
|
1635
1635
|
onClick: (te) => i.value[J].value = null
|
|
@@ -1676,7 +1676,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1676
1676
|
]))), 128))
|
|
1677
1677
|
]),
|
|
1678
1678
|
e("div", La, [
|
|
1679
|
-
y(
|
|
1679
|
+
y(D, {
|
|
1680
1680
|
onClick: c[0] || (c[0] = (E) => g())
|
|
1681
1681
|
}, {
|
|
1682
1682
|
default: m(() => [
|
|
@@ -1684,7 +1684,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}),
|
|
1687
|
-
y(
|
|
1687
|
+
y(D, {
|
|
1688
1688
|
class: "ml-2",
|
|
1689
1689
|
onClick: c[1] || (c[1] = (E) => r())
|
|
1690
1690
|
}, {
|
|
@@ -1699,7 +1699,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1699
1699
|
]),
|
|
1700
1700
|
_: 1
|
|
1701
1701
|
}),
|
|
1702
|
-
y(
|
|
1702
|
+
y(D, {
|
|
1703
1703
|
class: "ml-2",
|
|
1704
1704
|
onClick: c[2] || (c[2] = (E) => h())
|
|
1705
1705
|
}, {
|
|
@@ -1722,7 +1722,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1722
1722
|
}), Ma = /* @__PURE__ */ ee(Ea, [["__scopeId", "data-v-bd4f66c3"]]), Fa = { class: "top-left" }, Va = { class: "top-right" }, Da = { class: "header-slot anchor elevation-5" }, Ba = {
|
|
1723
1723
|
id: "moveableBody",
|
|
1724
1724
|
class: "body-slot moveable-body anchor d-flex justify-center align-center position-relative"
|
|
1725
|
-
},
|
|
1725
|
+
}, Oa = { class: "moveable-footer elevation-5" }, Ta = /* @__PURE__ */ P({
|
|
1726
1726
|
__name: "VMoveable",
|
|
1727
1727
|
props: {
|
|
1728
1728
|
size: {}
|
|
@@ -1777,12 +1777,12 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1777
1777
|
e("div", Ba, [
|
|
1778
1778
|
X(s.$slots, "body", {}, void 0, !0)
|
|
1779
1779
|
]),
|
|
1780
|
-
e("div",
|
|
1780
|
+
e("div", Oa, [
|
|
1781
1781
|
X(s.$slots, "footer", {}, void 0, !0)
|
|
1782
1782
|
])
|
|
1783
1783
|
], 2));
|
|
1784
1784
|
}
|
|
1785
|
-
}), $a = /* @__PURE__ */ ee(
|
|
1785
|
+
}), $a = /* @__PURE__ */ ee(Ta, [["__scopeId", "data-v-1a87ee81"]]), Ra = {
|
|
1786
1786
|
class: "rotation-marker-svg",
|
|
1787
1787
|
viewBox: "0 0 40 40",
|
|
1788
1788
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -1834,7 +1834,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1834
1834
|
...z,
|
|
1835
1835
|
...be(s.value, j)
|
|
1836
1836
|
};
|
|
1837
|
-
})),
|
|
1837
|
+
})), D = V(() => ({
|
|
1838
1838
|
backgroundImage: `url(${n.backgroundImage})`,
|
|
1839
1839
|
backgroundSize: "contain"
|
|
1840
1840
|
})), R = V(() => ({
|
|
@@ -1889,15 +1889,15 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1889
1889
|
e("div", Pa, [
|
|
1890
1890
|
e("div", {
|
|
1891
1891
|
class: "web-minimap",
|
|
1892
|
-
style:
|
|
1892
|
+
style: ae(R.value)
|
|
1893
1893
|
}, [
|
|
1894
1894
|
e("div", {
|
|
1895
1895
|
class: "minimap-background-image",
|
|
1896
|
-
style:
|
|
1896
|
+
style: ae(D.value)
|
|
1897
1897
|
}, null, 4),
|
|
1898
1898
|
e("div", {
|
|
1899
1899
|
class: "center-pivot",
|
|
1900
|
-
style:
|
|
1900
|
+
style: ae(h.value)
|
|
1901
1901
|
}, [
|
|
1902
1902
|
(u(!0), I(we, null, Ee(x.value, (j) => (u(), I("div", {
|
|
1903
1903
|
key: j.id
|
|
@@ -1905,23 +1905,23 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1905
1905
|
C.value.floorLevel === j.floorLevel ? (u(), I("div", {
|
|
1906
1906
|
key: 0,
|
|
1907
1907
|
class: "single-camera-marker",
|
|
1908
|
-
style:
|
|
1908
|
+
style: ae(J(j))
|
|
1909
1909
|
}, null, 4)) : F("", !0),
|
|
1910
1910
|
X(z.$slots, "default", {
|
|
1911
1911
|
id: j.id,
|
|
1912
1912
|
camera: j,
|
|
1913
1913
|
active: C.value.id === j.id,
|
|
1914
|
-
style:
|
|
1914
|
+
style: ae({
|
|
1915
1915
|
...J(j),
|
|
1916
1916
|
position: "absolute",
|
|
1917
1917
|
zIndex: "3"
|
|
1918
1918
|
})
|
|
1919
1919
|
}, () => [
|
|
1920
|
-
C.value.id === j.id && n.rotation !== null ? (u(),
|
|
1920
|
+
C.value.id === j.id && n.rotation !== null ? (u(), O(ja, {
|
|
1921
1921
|
key: 0,
|
|
1922
1922
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1923
1923
|
rotation: c.value,
|
|
1924
|
-
style:
|
|
1924
|
+
style: ae({ ...J(j) })
|
|
1925
1925
|
}, null, 8, ["rotation", "style"])) : F("", !0)
|
|
1926
1926
|
], !0)
|
|
1927
1927
|
]))), 128))
|
|
@@ -1941,7 +1941,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1941
1941
|
const n = t, o = V(() => n.rotation + n.transformAngle - 90);
|
|
1942
1942
|
return (l, i) => (u(), I("div", {
|
|
1943
1943
|
class: "minimap-compass elevation-5",
|
|
1944
|
-
style:
|
|
1944
|
+
style: ae({ scale: l.scale })
|
|
1945
1945
|
}, [
|
|
1946
1946
|
y(Yt, {
|
|
1947
1947
|
class: "north-indicator",
|
|
@@ -1990,8 +1990,8 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
async function $(k) {
|
|
1992
1992
|
let x = /* @__PURE__ */ new Map();
|
|
1993
|
-
for (let
|
|
1994
|
-
const R = k[
|
|
1993
|
+
for (let D = 0; D < k.length; D++) {
|
|
1994
|
+
const R = k[D].sunsimFiles;
|
|
1995
1995
|
for (let U = 0; U < R.length; U++) {
|
|
1996
1996
|
const E = R[U];
|
|
1997
1997
|
try {
|
|
@@ -2005,39 +2005,39 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
2005
2005
|
return x;
|
|
2006
2006
|
}
|
|
2007
2007
|
async function C(k) {
|
|
2008
|
-
const
|
|
2008
|
+
const D = await (await fetch(
|
|
2009
2009
|
me(
|
|
2010
2010
|
o.cdnFileResolver,
|
|
2011
2011
|
`/${o.apartmentJson.type}/${o.apartmentJson.id}/minimap/${k}`
|
|
2012
2012
|
)
|
|
2013
|
-
)).blob(), R = await d(
|
|
2013
|
+
)).blob(), R = await d(D);
|
|
2014
2014
|
return c(R);
|
|
2015
2015
|
}
|
|
2016
2016
|
function c(k) {
|
|
2017
2017
|
return "data:image/jpeg;base64," + k;
|
|
2018
2018
|
}
|
|
2019
2019
|
async function d(k) {
|
|
2020
|
-
return new Promise((x,
|
|
2020
|
+
return new Promise((x, D) => {
|
|
2021
2021
|
const R = new FileReader();
|
|
2022
2022
|
R.onload = () => {
|
|
2023
2023
|
const U = R.result.split(",")[1];
|
|
2024
2024
|
x(U);
|
|
2025
|
-
}, R.onerror =
|
|
2025
|
+
}, R.onerror = D, R.readAsDataURL(k);
|
|
2026
2026
|
});
|
|
2027
2027
|
}
|
|
2028
2028
|
return (k, x) => {
|
|
2029
|
-
const
|
|
2029
|
+
const D = L("v-progress-linear"), R = L("v-icon"), U = L("v-slider");
|
|
2030
2030
|
return u(), I("div", Za, [
|
|
2031
2031
|
e("div", qa, [
|
|
2032
2032
|
e("div", Ja, [
|
|
2033
|
-
a.value ? (u(),
|
|
2033
|
+
a.value ? (u(), O(D, {
|
|
2034
2034
|
key: 0,
|
|
2035
2035
|
indeterminate: "",
|
|
2036
2036
|
rounded: "",
|
|
2037
2037
|
height: "6",
|
|
2038
2038
|
color: "grey lighten-1",
|
|
2039
2039
|
class: "mr-2"
|
|
2040
|
-
})) : (u(),
|
|
2040
|
+
})) : (u(), O(U, {
|
|
2041
2041
|
key: 1,
|
|
2042
2042
|
modelValue: i.value,
|
|
2043
2043
|
"onUpdate:modelValue": x[0] || (x[0] = (E) => i.value = E),
|
|
@@ -2120,7 +2120,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
2120
2120
|
};
|
|
2121
2121
|
return (d, k) => {
|
|
2122
2122
|
const x = L("v-btn");
|
|
2123
|
-
return u(),
|
|
2123
|
+
return u(), O($a, {
|
|
2124
2124
|
ref_key: "minimapMoveable",
|
|
2125
2125
|
ref: o,
|
|
2126
2126
|
size: $.value
|
|
@@ -2175,7 +2175,7 @@ const Pn = { id: "player-wrapper" }, Nn = { id: "player-sizer" }, Qn = {
|
|
|
2175
2175
|
])
|
|
2176
2176
|
]),
|
|
2177
2177
|
footer: m(() => [
|
|
2178
|
-
(u(),
|
|
2178
|
+
(u(), O(jt, {
|
|
2179
2179
|
key: h.value,
|
|
2180
2180
|
"cdn-file-resolver": l.cdnFileResolver,
|
|
2181
2181
|
"minimap-json": l.minimapJson,
|
|
@@ -2228,7 +2228,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2228
2228
|
flat: ""
|
|
2229
2229
|
}, {
|
|
2230
2230
|
default: m(() => [
|
|
2231
|
-
p(l).timeSamples.length > 1 ? (u(),
|
|
2231
|
+
p(l).timeSamples.length > 1 ? (u(), O(_, {
|
|
2232
2232
|
key: 0,
|
|
2233
2233
|
class: "pa-2 pr-2",
|
|
2234
2234
|
modelValue: r.value,
|
|
@@ -2295,7 +2295,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2295
2295
|
const o = n, l = Se(Ve);
|
|
2296
2296
|
return (i, a) => {
|
|
2297
2297
|
const s = L("v-btn");
|
|
2298
|
-
return !i.displaySunsim && i.showUI ? (u(),
|
|
2298
|
+
return !i.displaySunsim && i.showUI ? (u(), O(s, {
|
|
2299
2299
|
key: 0,
|
|
2300
2300
|
size: "small",
|
|
2301
2301
|
varient: "tonal",
|
|
@@ -2322,7 +2322,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2322
2322
|
));
|
|
2323
2323
|
return (i, a) => {
|
|
2324
2324
|
const s = L("v-icon"), r = L("v-btn");
|
|
2325
|
-
return u(),
|
|
2325
|
+
return u(), O(r, {
|
|
2326
2326
|
size: "x-small",
|
|
2327
2327
|
class: ce(["autoplay-btn", { mobile: l.value, "mt-1": l.value, "mx-1": l.value }]),
|
|
2328
2328
|
onClick: a[0] || (a[0] = (h) => o("toggleAutoPlay"))
|
|
@@ -2401,7 +2401,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2401
2401
|
mandatory: ""
|
|
2402
2402
|
}, {
|
|
2403
2403
|
prev: m(() => [
|
|
2404
|
-
s.value ? F("", !0) : (u(),
|
|
2404
|
+
s.value ? F("", !0) : (u(), O(_, {
|
|
2405
2405
|
key: 0,
|
|
2406
2406
|
class: ce(["carousel-button", { mobile: s.value }]),
|
|
2407
2407
|
icon: "mdi-chevron-left",
|
|
@@ -2411,7 +2411,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2411
2411
|
}, null, 8, ["class"]))
|
|
2412
2412
|
]),
|
|
2413
2413
|
next: m(() => [
|
|
2414
|
-
s.value ? F("", !0) : (u(),
|
|
2414
|
+
s.value ? F("", !0) : (u(), O(_, {
|
|
2415
2415
|
key: 0,
|
|
2416
2416
|
class: ce(["carousel-button", { mobile: s.value }]),
|
|
2417
2417
|
icon: "mdi-chevron-right",
|
|
@@ -2421,14 +2421,14 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2421
2421
|
}, null, 8, ["class"]))
|
|
2422
2422
|
]),
|
|
2423
2423
|
default: m(() => [
|
|
2424
|
-
(u(!0), I(we, null, Ee(g.thumbnails, (k) => (u(),
|
|
2424
|
+
(u(!0), I(we, null, Ee(g.thumbnails, (k) => (u(), O(c, {
|
|
2425
2425
|
key: k.id
|
|
2426
2426
|
}, {
|
|
2427
|
-
default: m(({ toggle: x, selectedClass:
|
|
2427
|
+
default: m(({ toggle: x, selectedClass: D }) => [
|
|
2428
2428
|
y(C, {
|
|
2429
2429
|
class: ce(["position-relative", [
|
|
2430
2430
|
s.value ? "ma-0" : "ma-1",
|
|
2431
|
-
|
|
2431
|
+
D,
|
|
2432
2432
|
"single-waypoint"
|
|
2433
2433
|
]]),
|
|
2434
2434
|
align: "center",
|
|
@@ -2505,7 +2505,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2505
2505
|
density: "comfortable",
|
|
2506
2506
|
elevation: "1",
|
|
2507
2507
|
icon: "mdi-share-variant",
|
|
2508
|
-
onClick: g[0] || (g[0] = (
|
|
2508
|
+
onClick: g[0] || (g[0] = (D) => o.value = !o.value)
|
|
2509
2509
|
}, x), null, 16)
|
|
2510
2510
|
]),
|
|
2511
2511
|
default: m(() => [
|
|
@@ -2640,7 +2640,7 @@ const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il
|
|
|
2640
2640
|
return (l, i) => (u(), I("div", yl, [
|
|
2641
2641
|
e("div", {
|
|
2642
2642
|
class: ce(["img-div", [l.aspectRatio]]),
|
|
2643
|
-
style:
|
|
2643
|
+
style: ae(o.value)
|
|
2644
2644
|
}, null, 6)
|
|
2645
2645
|
]));
|
|
2646
2646
|
}
|
|
@@ -2741,7 +2741,7 @@ function kl() {
|
|
|
2741
2741
|
function Cl() {
|
|
2742
2742
|
return "Visuado-Snapshot-" + kl();
|
|
2743
2743
|
}
|
|
2744
|
-
class
|
|
2744
|
+
class Ot {
|
|
2745
2745
|
// private cameraParams: any
|
|
2746
2746
|
constructor(n, o) {
|
|
2747
2747
|
Ue(this, "data");
|
|
@@ -2791,10 +2791,10 @@ const Sl = {
|
|
|
2791
2791
|
}, Dl = {
|
|
2792
2792
|
key: 3,
|
|
2793
2793
|
class: "btn-placeholder mr-2"
|
|
2794
|
-
}, Bl = { class: "d-flex flex-column align-end" },
|
|
2794
|
+
}, Bl = { class: "d-flex flex-column align-end" }, Ol = {
|
|
2795
2795
|
key: 0,
|
|
2796
2796
|
class: "d-flex align-center flex-column sun-study mt-2"
|
|
2797
|
-
},
|
|
2797
|
+
}, Tl = {
|
|
2798
2798
|
key: 2,
|
|
2799
2799
|
class: "render-version"
|
|
2800
2800
|
}, $l = /* @__PURE__ */ P({
|
|
@@ -2858,7 +2858,7 @@ const Sl = {
|
|
|
2858
2858
|
showInteriorOptions: d,
|
|
2859
2859
|
showMiniMap: k,
|
|
2860
2860
|
showFloorLevel: x,
|
|
2861
|
-
defaultWaypointIndex:
|
|
2861
|
+
defaultWaypointIndex: D,
|
|
2862
2862
|
defaultViewMode: R,
|
|
2863
2863
|
mouseSensitivity: U,
|
|
2864
2864
|
// isInIframe,
|
|
@@ -2881,11 +2881,11 @@ const Sl = {
|
|
|
2881
2881
|
screenToWorld: vn,
|
|
2882
2882
|
clearCurrentMarkerLayer: cn
|
|
2883
2883
|
});
|
|
2884
|
-
const j = b(!1), ve = b(!1), ke = b(!1), ie = b(),
|
|
2884
|
+
const j = b(!1), ve = b(!1), ke = b(!1), ie = b(), B = b(), Q = b(), N = b(), Z = b(), se = b(0), G = b(), re = b(), q = b(), ge = b(0), xe = b(0), De = b(0), pe = b(!1), fe = b(!1), Be = b(), ye = b(!1), ue = b(!1), Me = b(
|
|
2885
2885
|
new Nt(document, "player-wrapper")
|
|
2886
2886
|
), ft = b(), tt = V(() => {
|
|
2887
|
-
if (
|
|
2888
|
-
const v =
|
|
2887
|
+
if (B.value) {
|
|
2888
|
+
const v = B.value.cameras.map(
|
|
2889
2889
|
(W) => W.floorLevel
|
|
2890
2890
|
);
|
|
2891
2891
|
let A = [...new Set(v)];
|
|
@@ -2894,8 +2894,8 @@ const Sl = {
|
|
|
2894
2894
|
return [];
|
|
2895
2895
|
}), He = V(() => {
|
|
2896
2896
|
let v = 0;
|
|
2897
|
-
if (
|
|
2898
|
-
const A =
|
|
2897
|
+
if (B.value) {
|
|
2898
|
+
const A = B.value.cameras.map(
|
|
2899
2899
|
(We) => We.floorLevel
|
|
2900
2900
|
);
|
|
2901
2901
|
let W = [...new Set(A)];
|
|
@@ -2916,7 +2916,7 @@ const Sl = {
|
|
|
2916
2916
|
imageUrl: it(
|
|
2917
2917
|
`/${G.value}/${a.value}/images/1600/${v.id}.jpg`
|
|
2918
2918
|
)
|
|
2919
|
-
})) : []),
|
|
2919
|
+
})) : []), Oe = V(() => !he.value || !he.value[se.value] ? "" : he.value[se.value].imageUrl), ot = V(() => {
|
|
2920
2920
|
let v = [];
|
|
2921
2921
|
return ie.value && (v = ie.value.archetypes), r.value.length ? v.filter(
|
|
2922
2922
|
(A) => r.value.includes(A.archetypeID)
|
|
@@ -2933,17 +2933,17 @@ const Sl = {
|
|
|
2933
2933
|
}) : []), w = V(() => {
|
|
2934
2934
|
if (N.value && N.value.storeys && He.value in N.value.storeys)
|
|
2935
2935
|
return N.value.storeys[He.value];
|
|
2936
|
-
}),
|
|
2937
|
-
if (
|
|
2938
|
-
return yn(
|
|
2936
|
+
}), T = V(() => B.value && B.value.timeInHours), K = V(() => {
|
|
2937
|
+
if (B.value && B.value.timeInHours && _.value)
|
|
2938
|
+
return yn(B.value.timeInHours);
|
|
2939
2939
|
});
|
|
2940
2940
|
Xe(
|
|
2941
2941
|
Ve,
|
|
2942
2942
|
g.value ? new Qe(g.value) : new Qe()
|
|
2943
2943
|
);
|
|
2944
|
-
const
|
|
2944
|
+
const oe = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2945
2945
|
window.navigator.userAgent
|
|
2946
|
-
)),
|
|
2946
|
+
)), ne = V(() => oe.value ? "platform-mobile" : "platform-desktop"), Ce = V(() => {
|
|
2947
2947
|
const v = me(
|
|
2948
2948
|
i.value,
|
|
2949
2949
|
"/config.json"
|
|
@@ -3005,14 +3005,14 @@ const Sl = {
|
|
|
3005
3005
|
}
|
|
3006
3006
|
async function Zt() {
|
|
3007
3007
|
var v;
|
|
3008
|
-
if (
|
|
3008
|
+
if (B.value = await kt(
|
|
3009
3009
|
G.value,
|
|
3010
3010
|
a.value
|
|
3011
|
-
),
|
|
3011
|
+
), B.value && (re.value = (v = B.value.cameras[0]) == null ? void 0 : v.id), Q.value = await Ct(
|
|
3012
3012
|
G.value,
|
|
3013
3013
|
a.value
|
|
3014
3014
|
), Q.value) {
|
|
3015
|
-
const A =
|
|
3015
|
+
const A = D.value !== null ? D.value : 0;
|
|
3016
3016
|
se.value = A, re.value = Q.value.cameras[A].id, q.value = Q.value.cameras[A].id;
|
|
3017
3017
|
}
|
|
3018
3018
|
k.value && (N.value = await St(
|
|
@@ -3129,10 +3129,10 @@ const Sl = {
|
|
|
3129
3129
|
ye.value = !1, re.value = v;
|
|
3130
3130
|
}
|
|
3131
3131
|
function At(v) {
|
|
3132
|
-
G.value = v, nn(), M("onInteriorUpdate", v), M("onCameraUpdate", q.value,
|
|
3132
|
+
G.value = v, nn(), M("onInteriorUpdate", v), M("onCameraUpdate", q.value, B.value);
|
|
3133
3133
|
}
|
|
3134
3134
|
async function nn() {
|
|
3135
|
-
|
|
3135
|
+
B.value = await kt(
|
|
3136
3136
|
G.value,
|
|
3137
3137
|
a.value
|
|
3138
3138
|
), Q.value = await Ct(
|
|
@@ -3144,13 +3144,13 @@ const Sl = {
|
|
|
3144
3144
|
));
|
|
3145
3145
|
}
|
|
3146
3146
|
function on(v) {
|
|
3147
|
-
q.value = v, q.value && (yt(q.value, !1), M("onCameraUpdate", q.value,
|
|
3147
|
+
q.value = v, q.value && (yt(q.value, !1), M("onCameraUpdate", q.value, B.value));
|
|
3148
3148
|
}
|
|
3149
3149
|
const Ye = V(() => (v) => {
|
|
3150
3150
|
const A = je(v);
|
|
3151
3151
|
return !A || !A[0] || !A[0].timeSamples ? !1 : A[0].timeSamples.length > 1;
|
|
3152
3152
|
}), je = (v) => {
|
|
3153
|
-
const A =
|
|
3153
|
+
const A = B.value.cameras.find((W) => W.id === v);
|
|
3154
3154
|
return A == null ? void 0 : A.sunsimDayOfYear;
|
|
3155
3155
|
};
|
|
3156
3156
|
function an(v) {
|
|
@@ -3189,7 +3189,7 @@ const Sl = {
|
|
|
3189
3189
|
pe.value = !pe.value;
|
|
3190
3190
|
}
|
|
3191
3191
|
async function Lt() {
|
|
3192
|
-
const v = 180 / Math.PI, A = await Z.value.takePhoto(), W = Z.value.getRotationEuler(), de = Z.value.getCurrentCamera(), We = new
|
|
3192
|
+
const v = 180 / Math.PI, A = await Z.value.takePhoto(), W = Z.value.getRotationEuler(), de = Z.value.getCurrentCamera(), We = new Ot(A, de), _n = [
|
|
3193
3193
|
W.x * -v,
|
|
3194
3194
|
W.y * -v,
|
|
3195
3195
|
W.z * v
|
|
@@ -3198,7 +3198,7 @@ const Sl = {
|
|
|
3198
3198
|
}
|
|
3199
3199
|
async function fn() {
|
|
3200
3200
|
console.log("Here onVisuadoCreateButtonClicked");
|
|
3201
|
-
const v = await Z.value.takePhoto(), A = Z.value.getCurrentCamera(), W = new
|
|
3201
|
+
const v = await Z.value.takePhoto(), A = Z.value.getCurrentCamera(), W = new Ot(v, A);
|
|
3202
3202
|
M("onVisuadoCreateButtonClicked", W);
|
|
3203
3203
|
}
|
|
3204
3204
|
function it(v) {
|
|
@@ -3225,27 +3225,27 @@ const Sl = {
|
|
|
3225
3225
|
const A = Math.floor(v), W = Math.floor((A - v) * 60);
|
|
3226
3226
|
return { hours: A, minutes: W };
|
|
3227
3227
|
}
|
|
3228
|
-
const
|
|
3228
|
+
const Te = b(!1), Et = b(null), _t = b(1);
|
|
3229
3229
|
function Mt() {
|
|
3230
|
-
if (
|
|
3231
|
-
clearInterval(Et.value),
|
|
3230
|
+
if (Te.value) {
|
|
3231
|
+
clearInterval(Et.value), Te.value = !1, Z.value.toggleAutoRotate();
|
|
3232
3232
|
return;
|
|
3233
3233
|
}
|
|
3234
|
-
|
|
3234
|
+
Te.value = !0, Z.value.toggleAutoRotate(), Et.value = setInterval(() => {
|
|
3235
3235
|
_t.value = 1 * _t.value, Z.value.setAutoRotateSpeed(_t.value), lt();
|
|
3236
3236
|
}, 5e3);
|
|
3237
3237
|
}
|
|
3238
3238
|
return (v, A) => {
|
|
3239
3239
|
const W = L("v-btn");
|
|
3240
3240
|
return u(), I("div", {
|
|
3241
|
-
class: ce(["virtual-tour-wrapper", [
|
|
3241
|
+
class: ce(["virtual-tour-wrapper", [ne.value]])
|
|
3242
3242
|
}, [
|
|
3243
3243
|
ke.value ? (u(), I("div", xl, "Error loading the player!!")) : F("", !0),
|
|
3244
3244
|
e("div", Il, [
|
|
3245
|
-
!Me.value.isActive && N.value && q.value && w.value && G.value && fe.value ? (u(),
|
|
3245
|
+
!Me.value.isActive && N.value && q.value && w.value && G.value && fe.value ? (u(), O(Vt, {
|
|
3246
3246
|
key: 0,
|
|
3247
3247
|
"cdn-file-resolver": p(i),
|
|
3248
|
-
"apartment-json":
|
|
3248
|
+
"apartment-json": B.value,
|
|
3249
3249
|
level: He.value,
|
|
3250
3250
|
"minimap-json": N.value,
|
|
3251
3251
|
rotation: ge.value,
|
|
@@ -3254,13 +3254,13 @@ const Sl = {
|
|
|
3254
3254
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : F("", !0),
|
|
3255
3255
|
G.value && re.value ? (u(), I("div", {
|
|
3256
3256
|
key: 1,
|
|
3257
|
-
class: ce(["v-player", [
|
|
3257
|
+
class: ce(["v-player", [ne.value]])
|
|
3258
3258
|
}, [
|
|
3259
3259
|
y(ao, {
|
|
3260
3260
|
ref_key: "vPlayerInstance",
|
|
3261
3261
|
ref: ft,
|
|
3262
3262
|
"cdn-file-resolver": p(i),
|
|
3263
|
-
style:
|
|
3263
|
+
style: ae({ zIndex: pe.value ? 1 : 2 }),
|
|
3264
3264
|
"show-static-image": pe.value,
|
|
3265
3265
|
"current-camera-id": re.value,
|
|
3266
3266
|
"mouse-sensitivity": p(U),
|
|
@@ -3275,13 +3275,13 @@ const Sl = {
|
|
|
3275
3275
|
onPlayerApiCallback: un
|
|
3276
3276
|
}, {
|
|
3277
3277
|
"slideshow-image": m(() => [
|
|
3278
|
-
pe.value ? (u(),
|
|
3278
|
+
pe.value ? (u(), O(bl, {
|
|
3279
3279
|
key: 0,
|
|
3280
|
-
image:
|
|
3280
|
+
image: Oe.value
|
|
3281
3281
|
}, null, 8, ["image"])) : F("", !0)
|
|
3282
3282
|
]),
|
|
3283
3283
|
"top-left": m(() => [
|
|
3284
|
-
p(E) ? (u(),
|
|
3284
|
+
p(E) ? (u(), O(W, {
|
|
3285
3285
|
key: 0,
|
|
3286
3286
|
density: "comfortable",
|
|
3287
3287
|
icon: "mdi-cog-outline",
|
|
@@ -3298,7 +3298,7 @@ const Sl = {
|
|
|
3298
3298
|
}, null, 512), [
|
|
3299
3299
|
[ut, ue.value]
|
|
3300
3300
|
]),
|
|
3301
|
-
N.value && re.value && w.value ? Ke((u(),
|
|
3301
|
+
N.value && re.value && w.value ? Ke((u(), O(W, {
|
|
3302
3302
|
key: 1,
|
|
3303
3303
|
density: "comfortable",
|
|
3304
3304
|
elevation: "3",
|
|
@@ -3308,7 +3308,7 @@ const Sl = {
|
|
|
3308
3308
|
}, null, 512)), [
|
|
3309
3309
|
[ut, ue.value]
|
|
3310
3310
|
]) : F("", !0),
|
|
3311
|
-
ue.value && p(x) && tt.value.length > 1 ? (u(),
|
|
3311
|
+
ue.value && p(x) && tt.value.length > 1 ? (u(), O(co, {
|
|
3312
3312
|
key: 2,
|
|
3313
3313
|
level: xe.value,
|
|
3314
3314
|
"floor-levels": tt.value,
|
|
@@ -3324,7 +3324,7 @@ const Sl = {
|
|
|
3324
3324
|
]),
|
|
3325
3325
|
"top-center": m(() => []),
|
|
3326
3326
|
"top-right": m(() => [
|
|
3327
|
-
|
|
3327
|
+
B.value && p(S) ? Ke((u(), I("div", El, [
|
|
3328
3328
|
y(ko, { rotation: ge.value }, null, 8, ["rotation"])
|
|
3329
3329
|
], 512)), [
|
|
3330
3330
|
[ut, ue.value]
|
|
@@ -3332,12 +3332,12 @@ const Sl = {
|
|
|
3332
3332
|
e("div", {
|
|
3333
3333
|
onClick: A[4] || (A[4] = (de) => fe.value = !fe.value)
|
|
3334
3334
|
}, [
|
|
3335
|
-
ue.value &&
|
|
3335
|
+
ue.value && B.value && T.value && p(_) ? (u(), O(Lo, {
|
|
3336
3336
|
key: 0,
|
|
3337
3337
|
hours: K.value.hours,
|
|
3338
3338
|
minutes: K.value.minutes,
|
|
3339
3339
|
class: "time-of-day",
|
|
3340
|
-
style:
|
|
3340
|
+
style: ae({
|
|
3341
3341
|
cursor: N.value && q.value && w.value ? "pointer" : "default"
|
|
3342
3342
|
})
|
|
3343
3343
|
}, null, 8, ["hours", "minutes", "style"])) : F("", !0)
|
|
@@ -3346,7 +3346,7 @@ const Sl = {
|
|
|
3346
3346
|
"center-left": m(() => [
|
|
3347
3347
|
y(Fe, { name: "slide-x-transition" }, {
|
|
3348
3348
|
default: m(() => [
|
|
3349
|
-
pe.value ? (u(),
|
|
3349
|
+
pe.value ? (u(), O(W, {
|
|
3350
3350
|
key: 0,
|
|
3351
3351
|
density: "comfortable",
|
|
3352
3352
|
elevation: "3",
|
|
@@ -3358,14 +3358,14 @@ const Sl = {
|
|
|
3358
3358
|
})
|
|
3359
3359
|
]),
|
|
3360
3360
|
"center-center": m(() => [
|
|
3361
|
-
j.value ? (u(),
|
|
3361
|
+
j.value ? (u(), O(da, {
|
|
3362
3362
|
key: 0,
|
|
3363
3363
|
onCloseTutorial: A[5] || (A[5] = (de) => qe(de))
|
|
3364
3364
|
})) : F("", !0),
|
|
3365
|
-
Me.value.isActive && N.value && q.value && w.value && fe.value ? (u(),
|
|
3365
|
+
Me.value.isActive && N.value && q.value && w.value && fe.value ? (u(), O(Vt, {
|
|
3366
3366
|
key: 1,
|
|
3367
3367
|
"cdn-file-resolver": p(i),
|
|
3368
|
-
"apartment-json":
|
|
3368
|
+
"apartment-json": B.value,
|
|
3369
3369
|
"minimap-json": N.value,
|
|
3370
3370
|
rotation: ge.value,
|
|
3371
3371
|
"current-camera": q.value,
|
|
@@ -3376,7 +3376,7 @@ const Sl = {
|
|
|
3376
3376
|
"center-right": m(() => [
|
|
3377
3377
|
y(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3378
3378
|
default: m(() => [
|
|
3379
|
-
pe.value ? (u(),
|
|
3379
|
+
pe.value ? (u(), O(W, {
|
|
3380
3380
|
key: 0,
|
|
3381
3381
|
density: "comfortable",
|
|
3382
3382
|
elevation: "3",
|
|
@@ -3388,7 +3388,7 @@ const Sl = {
|
|
|
3388
3388
|
})
|
|
3389
3389
|
]),
|
|
3390
3390
|
"bottom-left": m(() => [
|
|
3391
|
-
p($) ? (u(),
|
|
3391
|
+
p($) ? (u(), O(Pt, {
|
|
3392
3392
|
key: 0,
|
|
3393
3393
|
"is-full-screen": Me.value.isActive,
|
|
3394
3394
|
class: "btn-fullscreen",
|
|
@@ -3403,7 +3403,7 @@ const Sl = {
|
|
|
3403
3403
|
})
|
|
3404
3404
|
])) : F("", !0),
|
|
3405
3405
|
e("div", Fl, [
|
|
3406
|
-
p(h) && ue.value ? (u(),
|
|
3406
|
+
p(h) && ue.value ? (u(), O(Oo, {
|
|
3407
3407
|
key: 0,
|
|
3408
3408
|
"show-static-image": pe.value,
|
|
3409
3409
|
onToggle: pn
|
|
@@ -3422,10 +3422,10 @@ const Sl = {
|
|
|
3422
3422
|
e("div", null, [
|
|
3423
3423
|
e("div", {
|
|
3424
3424
|
class: ce(["d-flex justify-center", {
|
|
3425
|
-
"mb-2": !
|
|
3425
|
+
"mb-2": !oe.value
|
|
3426
3426
|
}])
|
|
3427
3427
|
}, [
|
|
3428
|
-
!
|
|
3428
|
+
!Te.value && Ye.value(q.value) ? (u(), O(cl, {
|
|
3429
3429
|
key: 0,
|
|
3430
3430
|
class: "ml-2",
|
|
3431
3431
|
displaySunsim: ye.value,
|
|
@@ -3433,7 +3433,7 @@ const Sl = {
|
|
|
3433
3433
|
onToggleSunStudy: A[7] || (A[7] = (de) => ye.value = !ye.value)
|
|
3434
3434
|
}, null, 8, ["displaySunsim", "showUI"])) : F("", !0)
|
|
3435
3435
|
], 2),
|
|
3436
|
-
!
|
|
3436
|
+
!oe.value && !Te.value && re.value && ye.value && Ye.value(q.value) && je(q.value)[0] && Be.value ? (u(), O(Dt, {
|
|
3437
3437
|
key: 0,
|
|
3438
3438
|
class: "sunsim-slider-desktop",
|
|
3439
3439
|
"current-day": Ye.value(q.value) ? je(q.value)[0] : void 0,
|
|
@@ -3441,7 +3441,7 @@ const Sl = {
|
|
|
3441
3441
|
onOnTimeChange: xt,
|
|
3442
3442
|
onToggleSunStudy: A[8] || (A[8] = (de) => ye.value = !ye.value)
|
|
3443
3443
|
}, null, 8, ["current-day", "current-time"])) : F("", !0),
|
|
3444
|
-
!
|
|
3444
|
+
!oe.value && ue.value && p(f) ? (u(), O(vt, {
|
|
3445
3445
|
key: 1,
|
|
3446
3446
|
class: ce([Me.value.isActive ? "full-screen" : ""]),
|
|
3447
3447
|
thumbnails: he.value,
|
|
@@ -3452,9 +3452,9 @@ const Sl = {
|
|
|
3452
3452
|
onGoto: yt
|
|
3453
3453
|
}, {
|
|
3454
3454
|
before: m(() => [
|
|
3455
|
-
v.enableAutoplay && ue.value && !
|
|
3455
|
+
v.enableAutoplay && ue.value && !oe.value ? (u(), O(Bt, {
|
|
3456
3456
|
key: 0,
|
|
3457
|
-
autoplayStatus:
|
|
3457
|
+
autoplayStatus: Te.value,
|
|
3458
3458
|
onToggleAutoPlay: A[9] || (A[9] = (de) => Mt())
|
|
3459
3459
|
}, null, 8, ["autoplayStatus"])) : F("", !0)
|
|
3460
3460
|
]),
|
|
@@ -3467,7 +3467,7 @@ const Sl = {
|
|
|
3467
3467
|
]),
|
|
3468
3468
|
"bottom-right": m(() => [
|
|
3469
3469
|
e("div", Bl, [
|
|
3470
|
-
ue.value && p(d) && at.value ? (u(),
|
|
3470
|
+
ue.value && p(d) && at.value ? (u(), O(_o, {
|
|
3471
3471
|
key: 0,
|
|
3472
3472
|
"cdn-file-resolver": p(i),
|
|
3473
3473
|
"available-archetypes": at.value,
|
|
@@ -3480,7 +3480,7 @@ const Sl = {
|
|
|
3480
3480
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3481
3481
|
y(Fe, null, {
|
|
3482
3482
|
default: m(() => [
|
|
3483
|
-
p(f) && Q.value &&
|
|
3483
|
+
p(f) && Q.value && oe.value && ue.value ? (u(), O(vt, {
|
|
3484
3484
|
key: 0,
|
|
3485
3485
|
class: "waypoint-carousel below-player",
|
|
3486
3486
|
thumbnails: he.value,
|
|
@@ -3491,9 +3491,9 @@ const Sl = {
|
|
|
3491
3491
|
onGoto: yt
|
|
3492
3492
|
}, {
|
|
3493
3493
|
before: m(() => [
|
|
3494
|
-
v.enableAutoplay && ue.value ? (u(),
|
|
3494
|
+
v.enableAutoplay && ue.value ? (u(), O(Bt, {
|
|
3495
3495
|
key: 0,
|
|
3496
|
-
autoplayStatus:
|
|
3496
|
+
autoplayStatus: Te.value,
|
|
3497
3497
|
onToggleAutoPlay: A[10] || (A[10] = (de) => Mt())
|
|
3498
3498
|
}, null, 8, ["autoplayStatus"])) : F("", !0)
|
|
3499
3499
|
]),
|
|
@@ -3502,8 +3502,8 @@ const Sl = {
|
|
|
3502
3502
|
]),
|
|
3503
3503
|
_: 1
|
|
3504
3504
|
}),
|
|
3505
|
-
|
|
3506
|
-
!
|
|
3505
|
+
oe.value ? (u(), I("div", Ol, [
|
|
3506
|
+
!Te.value && re.value && ye.value && Ye.value(q.value) && je(q.value)[0] && Be.value ? (u(), O(Dt, {
|
|
3507
3507
|
key: 0,
|
|
3508
3508
|
class: "mt-1",
|
|
3509
3509
|
"current-day": Ye.value(q.value) ? je(q.value)[0] : void 0,
|
|
@@ -3513,7 +3513,7 @@ const Sl = {
|
|
|
3513
3513
|
}, null, 8, ["current-day", "current-time"])) : F("", !0)
|
|
3514
3514
|
])) : F("", !0)
|
|
3515
3515
|
], 2)) : F("", !0),
|
|
3516
|
-
p(Ae) && p(z) ? (u(), I("div",
|
|
3516
|
+
p(Ae) && p(z) ? (u(), I("div", Tl, " version: " + Y(p(Ae)), 1)) : F("", !0)
|
|
3517
3517
|
])
|
|
3518
3518
|
], 2);
|
|
3519
3519
|
};
|
|
@@ -3653,7 +3653,7 @@ const Sl = {
|
|
|
3653
3653
|
"center-left": m(() => [
|
|
3654
3654
|
y(Fe, { name: "slide-x-transition" }, {
|
|
3655
3655
|
default: m(() => [
|
|
3656
|
-
i.value.length > 1 ? (u(),
|
|
3656
|
+
i.value.length > 1 ? (u(), O($, {
|
|
3657
3657
|
key: 0,
|
|
3658
3658
|
density: "comfortable",
|
|
3659
3659
|
elevation: "3",
|
|
@@ -3668,7 +3668,7 @@ const Sl = {
|
|
|
3668
3668
|
"center-right": m(() => [
|
|
3669
3669
|
y(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3670
3670
|
default: m(() => [
|
|
3671
|
-
i.value.length > 1 ? (u(),
|
|
3671
|
+
i.value.length > 1 ? (u(), O($, {
|
|
3672
3672
|
key: 0,
|
|
3673
3673
|
density: "comfortable",
|
|
3674
3674
|
elevation: "3",
|
|
@@ -3680,7 +3680,7 @@ const Sl = {
|
|
|
3680
3680
|
})
|
|
3681
3681
|
]),
|
|
3682
3682
|
"bottom-left": m(() => [
|
|
3683
|
-
f.showFullScreen ? (u(),
|
|
3683
|
+
f.showFullScreen ? (u(), O(Pt, {
|
|
3684
3684
|
key: 0,
|
|
3685
3685
|
"is-full-screen": l.value.isActive,
|
|
3686
3686
|
class: "btn-fullscreen",
|
|
@@ -3692,7 +3692,7 @@ const Sl = {
|
|
|
3692
3692
|
]),
|
|
3693
3693
|
"bottom-center": m(() => [
|
|
3694
3694
|
e("div", null, [
|
|
3695
|
-
l.value.isActive && i.value.length > 1 ? (u(),
|
|
3695
|
+
l.value.isActive && i.value.length > 1 ? (u(), O(vt, {
|
|
3696
3696
|
key: 0,
|
|
3697
3697
|
class: ce([l.value.isActive ? "full-screen" : ""]),
|
|
3698
3698
|
thumbnails: i.value,
|
|
@@ -3706,7 +3706,7 @@ const Sl = {
|
|
|
3706
3706
|
"bottom-right": m(() => []),
|
|
3707
3707
|
_: 1
|
|
3708
3708
|
}, 8, ["is-full-screen"]),
|
|
3709
|
-
i.value.length > 1 ? (u(),
|
|
3709
|
+
i.value.length > 1 ? (u(), O(vt, {
|
|
3710
3710
|
key: 0,
|
|
3711
3711
|
thumbnails: i.value,
|
|
3712
3712
|
active: o.value,
|
|
@@ -3738,8 +3738,8 @@ const Sl = {
|
|
|
3738
3738
|
}));
|
|
3739
3739
|
H(g, () => {
|
|
3740
3740
|
g.value && new ResizeObserver(([k]) => {
|
|
3741
|
-
const x = k.target.parentElement,
|
|
3742
|
-
f.value =
|
|
3741
|
+
const x = k.target.parentElement, D = x.parentElement;
|
|
3742
|
+
f.value = D.clientWidth / 512, x.style.height = `${k.contentRect.height * f.value}px`;
|
|
3743
3743
|
}).observe(g.value);
|
|
3744
3744
|
}), H(_, () => {
|
|
3745
3745
|
i("cameraSet", _.value);
|
|
@@ -3779,17 +3779,17 @@ const Sl = {
|
|
|
3779
3779
|
}
|
|
3780
3780
|
return (d, k) => {
|
|
3781
3781
|
const x = L("v-skeleton-loader");
|
|
3782
|
-
return u(),
|
|
3782
|
+
return u(), O(x, {
|
|
3783
3783
|
loading: !a.value || !s.value
|
|
3784
3784
|
}, {
|
|
3785
3785
|
default: m(() => [
|
|
3786
3786
|
e("div", null, [
|
|
3787
3787
|
e("div", {
|
|
3788
|
-
style:
|
|
3788
|
+
style: ae({ ...S.value, position: "relative" }),
|
|
3789
3789
|
ref_key: "fitContainer",
|
|
3790
3790
|
ref: g
|
|
3791
3791
|
}, [
|
|
3792
|
-
d.hideCompass !== !0 ? (u(),
|
|
3792
|
+
d.hideCompass !== !0 ? (u(), O(zt, {
|
|
3793
3793
|
key: 0,
|
|
3794
3794
|
scale: d.compassScale || 1,
|
|
3795
3795
|
rotation: C.value.rotation.y,
|
|
@@ -3806,17 +3806,17 @@ const Sl = {
|
|
|
3806
3806
|
containerHeight: 384,
|
|
3807
3807
|
fit: ""
|
|
3808
3808
|
}, {
|
|
3809
|
-
default: m(({ id:
|
|
3809
|
+
default: m(({ id: D, camera: R, active: U, style: E }) => [
|
|
3810
3810
|
X(d.$slots, "default", {
|
|
3811
|
-
id:
|
|
3811
|
+
id: D,
|
|
3812
3812
|
camera: R,
|
|
3813
3813
|
active: U,
|
|
3814
|
-
style:
|
|
3814
|
+
style: ae(E)
|
|
3815
3815
|
}, void 0, !0)
|
|
3816
3816
|
]),
|
|
3817
3817
|
_: 3
|
|
3818
3818
|
}, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey"]),
|
|
3819
|
-
d.hideSlider !== !0 ? (u(),
|
|
3819
|
+
d.hideSlider !== !0 ? (u(), O(jt, {
|
|
3820
3820
|
key: 1,
|
|
3821
3821
|
"cdn-file-resolver": $.value,
|
|
3822
3822
|
"minimap-json": s.value,
|
|
@@ -3851,7 +3851,7 @@ const Sl = {
|
|
|
3851
3851
|
return (g, f) => (u(), I("img", {
|
|
3852
3852
|
ref_key: "image",
|
|
3853
3853
|
ref: a,
|
|
3854
|
-
style:
|
|
3854
|
+
style: ae({
|
|
3855
3855
|
visibility: p(i) && p(o) === p(i) ? "visible" : "hidden"
|
|
3856
3856
|
}),
|
|
3857
3857
|
src: h.value
|
|
@@ -3867,7 +3867,7 @@ const Sl = {
|
|
|
3867
3867
|
},
|
|
3868
3868
|
setup(t) {
|
|
3869
3869
|
const n = t, { dayData: o, cdnFileResolver: l, currentTime: i } = _e(n);
|
|
3870
|
-
return (a, s) => (u(!0), I(we, null, Ee(p(o).timeSamples, (r, h) => (u(),
|
|
3870
|
+
return (a, s) => (u(!0), I(we, null, Ee(p(o).timeSamples, (r, h) => (u(), O(is, {
|
|
3871
3871
|
key: h,
|
|
3872
3872
|
"time-sample-data": r,
|
|
3873
3873
|
"cdn-file-resolver": p(l),
|
|
@@ -3893,7 +3893,7 @@ const Sl = {
|
|
|
3893
3893
|
});
|
|
3894
3894
|
});
|
|
3895
3895
|
const g = V(() => me(l.value, o.value.defaultFilename));
|
|
3896
|
-
return (f, _) => p(o).sunsimDayOfYear ? (u(!0), I(we, { key: 0 }, Ee(p(o).sunsimDayOfYear, (S, $) => (u(),
|
|
3896
|
+
return (f, _) => p(o).sunsimDayOfYear ? (u(!0), I(we, { key: 0 }, Ee(p(o).sunsimDayOfYear, (S, $) => (u(), O(rs, {
|
|
3897
3897
|
key: $,
|
|
3898
3898
|
"day-data": S,
|
|
3899
3899
|
"cdn-file-resolver": p(l),
|
|
@@ -3903,7 +3903,7 @@ const Sl = {
|
|
|
3903
3903
|
key: 1,
|
|
3904
3904
|
ref_key: "image",
|
|
3905
3905
|
ref: s,
|
|
3906
|
-
style:
|
|
3906
|
+
style: ae({ visibility: p(i) === p(o) ? "visible" : "hidden" }),
|
|
3907
3907
|
src: g.value
|
|
3908
3908
|
}, null, 12, us));
|
|
3909
3909
|
}
|
|
@@ -3927,14 +3927,14 @@ const Sl = {
|
|
|
3927
3927
|
return (g, f) => (u(), I("img", {
|
|
3928
3928
|
ref_key: "image",
|
|
3929
3929
|
ref: a,
|
|
3930
|
-
style:
|
|
3930
|
+
style: ae({
|
|
3931
3931
|
visibility: p(o) === p(i) ? "visible" : "hidden"
|
|
3932
3932
|
}),
|
|
3933
3933
|
src: h.value
|
|
3934
3934
|
}, null, 12, vs));
|
|
3935
3935
|
}
|
|
3936
3936
|
}), ps = /* @__PURE__ */ ee(ms, [["__scopeId", "data-v-d592c198"]]);
|
|
3937
|
-
function
|
|
3937
|
+
function Tt(t) {
|
|
3938
3938
|
const n = /* @__PURE__ */ new Date(0);
|
|
3939
3939
|
return n.setUTCDate(t), n.toLocaleString("en-no", {
|
|
3940
3940
|
month: "short",
|
|
@@ -3987,7 +3987,7 @@ const fs = {
|
|
|
3987
3987
|
size: p(l) ? "small" : void 0
|
|
3988
3988
|
}, k), {
|
|
3989
3989
|
default: m(() => [
|
|
3990
|
-
le(Y(p(
|
|
3990
|
+
le(Y(p(Tt)(h.value)), 1)
|
|
3991
3991
|
]),
|
|
3992
3992
|
_: 2
|
|
3993
3993
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -3998,15 +3998,15 @@ const fs = {
|
|
|
3998
3998
|
default: m(() => [
|
|
3999
3999
|
y(c, null, {
|
|
4000
4000
|
default: m(() => [
|
|
4001
|
-
(u(!0), I(we, null, Ee(p(i).sunsimDayOfYear, (k, x) => (u(),
|
|
4001
|
+
(u(!0), I(we, null, Ee(p(i).sunsimDayOfYear, (k, x) => (u(), O(C, {
|
|
4002
4002
|
key: x,
|
|
4003
4003
|
value: x,
|
|
4004
|
-
onClick: (
|
|
4004
|
+
onClick: (D) => h.value = k.dayOfYear
|
|
4005
4005
|
}, {
|
|
4006
4006
|
default: m(() => [
|
|
4007
4007
|
y($, null, {
|
|
4008
4008
|
default: m(() => [
|
|
4009
|
-
le(Y(p(
|
|
4009
|
+
le(Y(p(Tt)(k.dayOfYear)), 1)
|
|
4010
4010
|
]),
|
|
4011
4011
|
_: 2
|
|
4012
4012
|
}, 1024)
|
|
@@ -4085,7 +4085,7 @@ const fs = {
|
|
|
4085
4085
|
C.cameraName ? (u(), I("div", bs, Y(C.cameraName), 1)) : F("", !0),
|
|
4086
4086
|
e("div", {
|
|
4087
4087
|
class: "camera-thumbnail-image",
|
|
4088
|
-
style:
|
|
4088
|
+
style: ae({
|
|
4089
4089
|
backgroundImage: `url(${p(me)(
|
|
4090
4090
|
p(s),
|
|
4091
4091
|
C.defaultFilename
|
|
@@ -4133,13 +4133,13 @@ const fs = {
|
|
|
4133
4133
|
const _ = L("v-icon"), S = L("v-slider"), $ = L("v-field");
|
|
4134
4134
|
return u(), I("div", {
|
|
4135
4135
|
class: ce({ "d-inline-block": !0, mobile: p(l) }),
|
|
4136
|
-
style:
|
|
4136
|
+
style: ae({
|
|
4137
4137
|
flex: p(l) && p(i).timeSamples.length > 1 ? 1 : void 0,
|
|
4138
4138
|
verticalAlign: "top"
|
|
4139
4139
|
})
|
|
4140
4140
|
}, [
|
|
4141
4141
|
y($, {
|
|
4142
|
-
style:
|
|
4142
|
+
style: ae(
|
|
4143
4143
|
p(i).timeSamples.length > 1 ? {
|
|
4144
4144
|
width: p(l) ? "100%" : "300px",
|
|
4145
4145
|
height: p(l) ? "28px" : "36px"
|
|
@@ -4156,7 +4156,7 @@ const fs = {
|
|
|
4156
4156
|
flat: ""
|
|
4157
4157
|
}, {
|
|
4158
4158
|
default: m(() => [
|
|
4159
|
-
p(i).timeSamples.length > 1 ? (u(),
|
|
4159
|
+
p(i).timeSamples.length > 1 ? (u(), O(S, {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
class: "pa-2 pr-2",
|
|
4162
4162
|
modelValue: h.value,
|
|
@@ -4293,7 +4293,7 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ P({
|
|
|
4293
4293
|
selectedId: {},
|
|
4294
4294
|
activeStructureIds: {}
|
|
4295
4295
|
},
|
|
4296
|
-
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError"],
|
|
4296
|
+
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError", "onBoundingBoxesUpdate"],
|
|
4297
4297
|
setup(t, { emit: n }) {
|
|
4298
4298
|
const o = t, { cdnFileResolver: l, colorCallback: i, currentCamera: a, selectedId: s } = _e(o), r = n, h = b(!0), g = b({}), f = b(), _ = An({}), S = V(() => me(
|
|
4299
4299
|
l.value,
|
|
@@ -4301,14 +4301,14 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ P({
|
|
|
4301
4301
|
));
|
|
4302
4302
|
Ft(() => {
|
|
4303
4303
|
for (const c in _) {
|
|
4304
|
-
const { element: d, state: k } = _[c], { r: x, g:
|
|
4304
|
+
const { element: d, state: k } = _[c], { r: x, g: D, b: R, a: U, s: E } = i.value(c, k) || {
|
|
4305
4305
|
r: 0,
|
|
4306
4306
|
g: 0,
|
|
4307
4307
|
b: 0,
|
|
4308
4308
|
a: 0,
|
|
4309
4309
|
s: 0
|
|
4310
4310
|
};
|
|
4311
|
-
d.style.fill = `rgba(${x}, ${
|
|
4311
|
+
d.style.fill = `rgba(${x}, ${D}, ${R}, ${U / 255})`, d.style.stroke = `rgb(${x}, ${D}, ${R})`, d.style.strokeWidth = E.toString(), d.style.cursor = "pointer";
|
|
4312
4312
|
}
|
|
4313
4313
|
}), H(s, () => {
|
|
4314
4314
|
for (const c in _)
|
|
@@ -4362,17 +4362,18 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ P({
|
|
|
4362
4362
|
if (c) {
|
|
4363
4363
|
r("updateSvgContainer", c), $();
|
|
4364
4364
|
let k, x = "data-structure-id";
|
|
4365
|
-
k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-apartment-id", k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-building-id", k = c.querySelectorAll(`[${x}]`))), k.forEach((
|
|
4366
|
-
const R =
|
|
4365
|
+
k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-apartment-id", k = c.querySelectorAll(`[${x}]`), k.length === 0 && (x = "data-building-id", k = c.querySelectorAll(`[${x}]`))), k.forEach((D) => {
|
|
4366
|
+
const R = D.cloneNode(
|
|
4367
4367
|
!0
|
|
4368
4368
|
);
|
|
4369
|
-
|
|
4369
|
+
D.parentNode.replaceChild(R, D), R.style.strokeWidth = "0", R.style.stroke = "rgba(255,255,255,0)", R.style.fill = "rgba(255,255,255,0)", R.querySelectorAll("path").forEach((E) => {
|
|
4370
4370
|
E.style.stroke = "inherit", E.style.fill = "inherit";
|
|
4371
4371
|
});
|
|
4372
4372
|
const U = R.getAttribute(x);
|
|
4373
4373
|
_[U] = {
|
|
4374
4374
|
element: R,
|
|
4375
|
-
state: s.value === U ? "selected" : "idle"
|
|
4375
|
+
state: s.value === U ? "selected" : "idle",
|
|
4376
|
+
boundingBox: R.getBoundingClientRect().toJSON()
|
|
4376
4377
|
}, o.activeStructureIds && !o.activeStructureIds.includes(U) && (R.style.display = "none"), R.addEventListener("mouseover", () => {
|
|
4377
4378
|
_[U].state === "idle" && (_[U].state = "hover"), r("onHoverOver", U);
|
|
4378
4379
|
}), R.addEventListener("mouseout", () => {
|
|
@@ -4380,16 +4381,22 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ P({
|
|
|
4380
4381
|
}), R.addEventListener("click", () => {
|
|
4381
4382
|
r("onClick", U);
|
|
4382
4383
|
});
|
|
4383
|
-
})
|
|
4384
|
+
}), r(
|
|
4385
|
+
"onBoundingBoxesUpdate",
|
|
4386
|
+
Object.entries(_).map(([D, R]) => ({
|
|
4387
|
+
id: D,
|
|
4388
|
+
boundingBox: R.boundingBox
|
|
4389
|
+
}))
|
|
4390
|
+
);
|
|
4384
4391
|
}
|
|
4385
4392
|
});
|
|
4386
4393
|
}
|
|
4387
|
-
return (c, d) => (u(),
|
|
4394
|
+
return (c, d) => (u(), O(Fe, null, {
|
|
4388
4395
|
default: m(() => [
|
|
4389
4396
|
e("div", {
|
|
4390
4397
|
ref_key: "svgContainer",
|
|
4391
4398
|
ref: f,
|
|
4392
|
-
style:
|
|
4399
|
+
style: ae([{
|
|
4393
4400
|
visibility: h.value ? "visible" : "hidden"
|
|
4394
4401
|
}, { "z-index": "5" }]),
|
|
4395
4402
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
@@ -4399,7 +4406,7 @@ const Fs = ["innerHTML"], Vs = /* @__PURE__ */ P({
|
|
|
4399
4406
|
_: 1
|
|
4400
4407
|
}));
|
|
4401
4408
|
}
|
|
4402
|
-
}), Ds = /* @__PURE__ */ ee(Vs, [["__scopeId", "data-v-
|
|
4409
|
+
}), Ds = /* @__PURE__ */ ee(Vs, [["__scopeId", "data-v-4638ecbd"]]);
|
|
4403
4410
|
function Bs(t) {
|
|
4404
4411
|
if (!t)
|
|
4405
4412
|
return !1;
|
|
@@ -4418,13 +4425,13 @@ function Bs(t) {
|
|
|
4418
4425
|
return !1;
|
|
4419
4426
|
return !0;
|
|
4420
4427
|
}
|
|
4421
|
-
function
|
|
4428
|
+
function Os(t) {
|
|
4422
4429
|
return !("filename" in t) && "defaultFilename" in t;
|
|
4423
4430
|
}
|
|
4424
4431
|
function bt(t) {
|
|
4425
4432
|
return "filename" in t;
|
|
4426
4433
|
}
|
|
4427
|
-
function
|
|
4434
|
+
function Ts(t) {
|
|
4428
4435
|
if (!t)
|
|
4429
4436
|
return !1;
|
|
4430
4437
|
const n = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -4480,7 +4487,7 @@ function Us(t) {
|
|
|
4480
4487
|
var n, o, l, i;
|
|
4481
4488
|
if (Bs(t))
|
|
4482
4489
|
return t;
|
|
4483
|
-
if (
|
|
4490
|
+
if (Ts(t)) {
|
|
4484
4491
|
if (!t.buildings)
|
|
4485
4492
|
throw new Error(
|
|
4486
4493
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -4740,7 +4747,7 @@ const zs = {
|
|
|
4740
4747
|
showUi: { type: Boolean, default: !0 },
|
|
4741
4748
|
activeStructureIds: {}
|
|
4742
4749
|
},
|
|
4743
|
-
emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove", "onInitialize", "onError"],
|
|
4750
|
+
emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove", "onBoundingBoxesUpdate", "onInitialize", "onError"],
|
|
4744
4751
|
setup(t, { expose: n, emit: o }) {
|
|
4745
4752
|
const l = t, {
|
|
4746
4753
|
structureChooserData: i,
|
|
@@ -4753,7 +4760,7 @@ const zs = {
|
|
|
4753
4760
|
defaultDay: _,
|
|
4754
4761
|
defaultTime: S,
|
|
4755
4762
|
mobileBreakpoint: $
|
|
4756
|
-
} = _e(l), C = o, c = b(), d = b(), k = b(), x = b(null),
|
|
4763
|
+
} = _e(l), C = o, c = b(), d = b(), k = b(), x = b(null), D = b(4), R = b(), U = b(!1), E = b(!1), J = b(), be = V(() => J.value.isHoverEnabled), te = b({ x: 0, y: 0, width: 0, height: 0 }), Ae = b(), z = b(), M = b(), j = b(!1), ve = b(1), ke = b(0), ie = b([]), B = b(), Q = b({
|
|
4757
4764
|
current: 100,
|
|
4758
4765
|
min: 100,
|
|
4759
4766
|
max: 1e3
|
|
@@ -4763,12 +4770,12 @@ const zs = {
|
|
|
4763
4770
|
r.value ? new Qe(r.value) : new Qe()
|
|
4764
4771
|
), Xe("registerImage", (w) => {
|
|
4765
4772
|
$e(() => {
|
|
4766
|
-
ie.value.find((
|
|
4773
|
+
ie.value.find((T) => T.image === w) || (ie.value = [...ie.value, { image: w, loaded: !1 }]);
|
|
4767
4774
|
});
|
|
4768
4775
|
}), Xe("completeImage", (w) => {
|
|
4769
4776
|
$e(() => {
|
|
4770
|
-
const
|
|
4771
|
-
|
|
4777
|
+
const T = ie.value.findIndex((K) => K.image === w);
|
|
4778
|
+
T >= 0 && (ie.value[T].loaded = !0, ie.value = [...ie.value]);
|
|
4772
4779
|
});
|
|
4773
4780
|
}), n({
|
|
4774
4781
|
getState: () => ({
|
|
@@ -4780,28 +4787,28 @@ const zs = {
|
|
|
4780
4787
|
currentTransitionIndex: x.value ? ge.value.findIndex(
|
|
4781
4788
|
(w) => w === x.value
|
|
4782
4789
|
) : null,
|
|
4783
|
-
currentScene:
|
|
4790
|
+
currentScene: D.value
|
|
4784
4791
|
}),
|
|
4785
4792
|
setState: ({
|
|
4786
4793
|
currentCameraIndex: w,
|
|
4787
|
-
currentDayIndex:
|
|
4794
|
+
currentDayIndex: T,
|
|
4788
4795
|
currentTimeIndex: K,
|
|
4789
|
-
currentTransitionIndex:
|
|
4790
|
-
currentScene:
|
|
4796
|
+
currentTransitionIndex: oe,
|
|
4797
|
+
currentScene: ne
|
|
4791
4798
|
}) => {
|
|
4792
|
-
typeof w == "number" && (c.value = q.value[w]), typeof
|
|
4799
|
+
typeof w == "number" && (c.value = q.value[w]), typeof T == "number" && (d.value = c.value.sunsimDayOfYear[T]), typeof K == "number" && (k.value = d.value.timeSamples[K]), typeof oe == "number" && (x.value = ge.value[oe]), typeof ne == "number" && (D.value = ne);
|
|
4793
4800
|
},
|
|
4794
|
-
resolveCoordinates: (w,
|
|
4801
|
+
resolveCoordinates: (w, T) => Z.value ? Z.value(w, T) : { x: 0, y: 0 }
|
|
4795
4802
|
}), Re(() => {
|
|
4796
4803
|
U.value = !0, N.value = !1;
|
|
4797
4804
|
}), H(z, () => {
|
|
4798
4805
|
z.value && new ResizeObserver(([]) => {
|
|
4799
|
-
const
|
|
4800
|
-
|
|
4806
|
+
const T = ie.value.find((K) => K.loaded);
|
|
4807
|
+
T && (ke.value = T.image.width / ve.value);
|
|
4801
4808
|
}).observe(z.value);
|
|
4802
4809
|
}), H(ie, () => {
|
|
4803
4810
|
if (ke.value === 0) {
|
|
4804
|
-
const w = ie.value.find((
|
|
4811
|
+
const w = ie.value.find((T) => T.loaded);
|
|
4805
4812
|
w && (ve.value = w.image.naturalWidth / w.image.naturalHeight, ke.value = w.image.width / ve.value);
|
|
4806
4813
|
}
|
|
4807
4814
|
});
|
|
@@ -4813,8 +4820,8 @@ const zs = {
|
|
|
4813
4820
|
(w) => {
|
|
4814
4821
|
try {
|
|
4815
4822
|
N.value = !1, M.value = Us(w);
|
|
4816
|
-
} catch (
|
|
4817
|
-
N.value = !0, C("onError",
|
|
4823
|
+
} catch (T) {
|
|
4824
|
+
N.value = !0, C("onError", T);
|
|
4818
4825
|
}
|
|
4819
4826
|
},
|
|
4820
4827
|
{
|
|
@@ -4836,13 +4843,13 @@ const zs = {
|
|
|
4836
4843
|
), H(
|
|
4837
4844
|
() => z.value,
|
|
4838
4845
|
() => {
|
|
4839
|
-
z.value && new ResizeObserver(([
|
|
4840
|
-
j.value =
|
|
4846
|
+
z.value && new ResizeObserver(([T]) => {
|
|
4847
|
+
j.value = T.contentRect.width < $.value;
|
|
4841
4848
|
}).observe(z.value);
|
|
4842
4849
|
}
|
|
4843
4850
|
);
|
|
4844
4851
|
const q = V(
|
|
4845
|
-
() => M.value ? M.value.cameras.filter(
|
|
4852
|
+
() => M.value ? M.value.cameras.filter(Os) : []
|
|
4846
4853
|
), ge = V(
|
|
4847
4854
|
() => M.value ? M.value.cameras.filter(bt) : []
|
|
4848
4855
|
);
|
|
@@ -4857,9 +4864,9 @@ const zs = {
|
|
|
4857
4864
|
async () => {
|
|
4858
4865
|
a.value && q.value.length > 0 && (f.value ? c.value = q.value.find(
|
|
4859
4866
|
(w) => w.cameraName === f.value
|
|
4860
|
-
) || q.value[0] : c.value = q.value[0],
|
|
4867
|
+
) || q.value[0] : c.value = q.value[0], D.value = M.value.cameras.findIndex(
|
|
4861
4868
|
(w) => w === c.value
|
|
4862
|
-
),
|
|
4869
|
+
), D.value = Math.max(0, D.value));
|
|
4863
4870
|
},
|
|
4864
4871
|
{ immediate: !0 }
|
|
4865
4872
|
), H(
|
|
@@ -4883,34 +4890,34 @@ const zs = {
|
|
|
4883
4890
|
);
|
|
4884
4891
|
function xe(w) {
|
|
4885
4892
|
c.value !== w && he(
|
|
4886
|
-
M.value.cameras.findIndex((
|
|
4893
|
+
M.value.cameras.findIndex((T) => T === w)
|
|
4887
4894
|
);
|
|
4888
4895
|
}
|
|
4889
4896
|
function De(w) {
|
|
4890
|
-
|
|
4897
|
+
D.value = w, bt(M.value.cameras[D.value]) ? x.value = M.value.cameras[D.value] : ($e(() => {
|
|
4891
4898
|
pe(
|
|
4892
|
-
M.value.cameras[
|
|
4899
|
+
M.value.cameras[D.value]
|
|
4893
4900
|
);
|
|
4894
4901
|
}), x.value = null);
|
|
4895
4902
|
}
|
|
4896
4903
|
function pe(w) {
|
|
4897
|
-
const
|
|
4898
|
-
c.value = w,
|
|
4904
|
+
const T = d.value;
|
|
4905
|
+
c.value = w, D.value = M.value.cameras.findIndex(
|
|
4899
4906
|
(K) => K === c.value
|
|
4900
4907
|
), $e(() => {
|
|
4901
4908
|
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && fe(
|
|
4902
4909
|
c.value.sunsimDayOfYear.find(
|
|
4903
|
-
(K) => K.dayOfYear ===
|
|
4910
|
+
(K) => K.dayOfYear === T.dayOfYear
|
|
4904
4911
|
) || c.value.sunsimDayOfYear[0]
|
|
4905
4912
|
);
|
|
4906
4913
|
});
|
|
4907
4914
|
}
|
|
4908
4915
|
function fe(w) {
|
|
4909
|
-
const
|
|
4916
|
+
const T = k.value;
|
|
4910
4917
|
d.value = w, $e(() => {
|
|
4911
4918
|
Be(
|
|
4912
4919
|
d.value.timeSamples.find(
|
|
4913
|
-
(K) => K.timeInHours ===
|
|
4920
|
+
(K) => K.timeInHours === T.timeInHours
|
|
4914
4921
|
) || d.value.timeSamples.find(
|
|
4915
4922
|
(K) => K.timeInHours === d.value.defaultHour
|
|
4916
4923
|
) || d.value.timeSamples[0]
|
|
@@ -4922,19 +4929,19 @@ const zs = {
|
|
|
4922
4929
|
}
|
|
4923
4930
|
function ye(w) {
|
|
4924
4931
|
C("onClick", w, () => {
|
|
4925
|
-
const
|
|
4932
|
+
const T = M.value.stillCameraData.find(
|
|
4926
4933
|
(K) => K.id === w
|
|
4927
4934
|
);
|
|
4928
|
-
|
|
4935
|
+
T && he(T.bestIndex);
|
|
4929
4936
|
});
|
|
4930
4937
|
}
|
|
4931
4938
|
H(g, (w) => {
|
|
4932
|
-
var
|
|
4939
|
+
var T;
|
|
4933
4940
|
if (w && M.value) {
|
|
4934
4941
|
const K = M.value.stillCameraData.find(
|
|
4935
|
-
(
|
|
4942
|
+
(oe) => oe.id === w
|
|
4936
4943
|
);
|
|
4937
|
-
K && ((
|
|
4944
|
+
K && ((T = M.value.stillCameraIndices) != null && T.includes(
|
|
4938
4945
|
K.bestIndex
|
|
4939
4946
|
)) && he(K.bestIndex);
|
|
4940
4947
|
}
|
|
@@ -4946,18 +4953,18 @@ const zs = {
|
|
|
4946
4953
|
C("onHoverOut", w), R.value = void 0;
|
|
4947
4954
|
}
|
|
4948
4955
|
function ft(w) {
|
|
4949
|
-
const { layerX:
|
|
4950
|
-
let
|
|
4951
|
-
for (;
|
|
4952
|
-
if (
|
|
4953
|
-
|
|
4956
|
+
const { layerX: T, layerY: K } = w;
|
|
4957
|
+
let oe = w.target, ne = !1;
|
|
4958
|
+
for (; oe; )
|
|
4959
|
+
if (oe === Ae.value) {
|
|
4960
|
+
ne = !0;
|
|
4954
4961
|
break;
|
|
4955
4962
|
} else
|
|
4956
|
-
|
|
4957
|
-
if (
|
|
4963
|
+
oe = oe.parentElement;
|
|
4964
|
+
if (ne) {
|
|
4958
4965
|
const Ce = w.currentTarget;
|
|
4959
4966
|
te.value = {
|
|
4960
|
-
x:
|
|
4967
|
+
x: T,
|
|
4961
4968
|
y: K,
|
|
4962
4969
|
width: Ce.clientWidth,
|
|
4963
4970
|
height: Ce.clientHeight
|
|
@@ -4968,43 +4975,43 @@ const zs = {
|
|
|
4968
4975
|
}
|
|
4969
4976
|
function tt({
|
|
4970
4977
|
min: w,
|
|
4971
|
-
max:
|
|
4978
|
+
max: T,
|
|
4972
4979
|
current: K,
|
|
4973
|
-
resolve:
|
|
4980
|
+
resolve: oe
|
|
4974
4981
|
}) {
|
|
4975
|
-
Z.value =
|
|
4982
|
+
Z.value = oe, Q.value = { min: w, max: T, current: K };
|
|
4976
4983
|
}
|
|
4977
4984
|
function He(w) {
|
|
4978
|
-
|
|
4985
|
+
B.value.adjustZoom(w ? 10 : -10);
|
|
4979
4986
|
}
|
|
4980
4987
|
function nt(w) {
|
|
4981
4988
|
return M.value.stillCameraIndices.findIndex(
|
|
4982
|
-
(
|
|
4989
|
+
(T) => T === w
|
|
4983
4990
|
);
|
|
4984
4991
|
}
|
|
4985
4992
|
async function he(w) {
|
|
4986
|
-
const
|
|
4993
|
+
const T = D.value;
|
|
4987
4994
|
if (M.value.loopable) {
|
|
4988
|
-
const K = M.value.stillCameraIndices.length,
|
|
4989
|
-
let Ce = 0, qe = 0, Ie =
|
|
4990
|
-
for (; Ie++, Ie >= K && (Ie = 0), Ie !==
|
|
4995
|
+
const K = M.value.stillCameraIndices.length, oe = nt(T), ne = nt(w);
|
|
4996
|
+
let Ce = 0, qe = 0, Ie = oe;
|
|
4997
|
+
for (; Ie++, Ie >= K && (Ie = 0), Ie !== ne; )
|
|
4991
4998
|
Ce++;
|
|
4992
|
-
for (Ie =
|
|
4999
|
+
for (Ie = oe; Ie--, Ie < 0 && (Ie += K), Ie !== ne; )
|
|
4993
5000
|
qe++;
|
|
4994
|
-
Ce === qe ?
|
|
5001
|
+
Ce === qe ? Oe(T, w) : Ce < qe ? oe < ne ? Oe(T, w) : Oe(T, w + M.value.cameras.length) : oe >= ne ? Oe(T, w) : Oe(T + M.value.cameras.length, w);
|
|
4995
5002
|
} else
|
|
4996
|
-
|
|
5003
|
+
Oe(T, w);
|
|
4997
5004
|
}
|
|
4998
|
-
function
|
|
5005
|
+
function Oe(w, T) {
|
|
4999
5006
|
return new Promise((K) => {
|
|
5000
5007
|
E.value = !0;
|
|
5001
|
-
let
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
), De(
|
|
5006
|
-
|
|
5007
|
-
), De(
|
|
5008
|
+
let oe, ne = w;
|
|
5009
|
+
oe = setInterval(() => {
|
|
5010
|
+
ne < T ? (ne++, D.value = Math.abs(
|
|
5011
|
+
ne % M.value.cameras.length
|
|
5012
|
+
), De(D.value)) : ne > T ? (ne--, D.value = Math.abs(
|
|
5013
|
+
ne % M.value.cameras.length
|
|
5014
|
+
), De(D.value)) : (clearInterval(oe), E.value = !1, K());
|
|
5008
5015
|
}, 12);
|
|
5009
5016
|
});
|
|
5010
5017
|
}
|
|
@@ -5012,10 +5019,10 @@ const zs = {
|
|
|
5012
5019
|
N.value = !0, C("onError", w);
|
|
5013
5020
|
}
|
|
5014
5021
|
const at = (w) => w * (180 / Math.PI);
|
|
5015
|
-
return (w,
|
|
5016
|
-
const K = L("v-progress-circular"),
|
|
5022
|
+
return (w, T) => {
|
|
5023
|
+
const K = L("v-progress-circular"), oe = L("v-skeleton-loader");
|
|
5017
5024
|
return u(), I(we, null, [
|
|
5018
|
-
y(
|
|
5025
|
+
y(oe, {
|
|
5019
5026
|
type: "image",
|
|
5020
5027
|
class: "w-100 h-100 position-relative",
|
|
5021
5028
|
loading: !U.value || !M.value
|
|
@@ -5040,15 +5047,15 @@ const zs = {
|
|
|
5040
5047
|
w.showUi ? (u(), I("div", {
|
|
5041
5048
|
key: 0,
|
|
5042
5049
|
class: "persistent actions-bar top-right pa-2",
|
|
5043
|
-
style:
|
|
5050
|
+
style: ae({
|
|
5044
5051
|
zIndex: 7,
|
|
5045
5052
|
top: j.value && q.value.length > 1 ? "60px" : 0
|
|
5046
5053
|
})
|
|
5047
5054
|
}, [
|
|
5048
|
-
c.value.cameraRotation ? (u(),
|
|
5055
|
+
c.value.cameraRotation ? (u(), O(Yt, {
|
|
5049
5056
|
key: 0,
|
|
5050
5057
|
class: "mb-2",
|
|
5051
|
-
style:
|
|
5058
|
+
style: ae({
|
|
5052
5059
|
zIndex: 7,
|
|
5053
5060
|
width: j.value ? 32 : 40,
|
|
5054
5061
|
height: j.value ? 32 : 40
|
|
@@ -5060,8 +5067,8 @@ const zs = {
|
|
|
5060
5067
|
"can-zoom-out": Q.value.min < Q.value.current,
|
|
5061
5068
|
"can-zoom-in": Q.value.max > Q.value.current,
|
|
5062
5069
|
disabled: E.value,
|
|
5063
|
-
onOnZoomIn:
|
|
5064
|
-
onOnZoomOut:
|
|
5070
|
+
onOnZoomIn: T[0] || (T[0] = (ne) => He(!0)),
|
|
5071
|
+
onOnZoomOut: T[1] || (T[1] = (ne) => He(!1))
|
|
5065
5072
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5066
5073
|
], 4)) : F("", !0),
|
|
5067
5074
|
w.showUi && q.value.length > 1 ? (u(), I("div", {
|
|
@@ -5083,26 +5090,26 @@ const zs = {
|
|
|
5083
5090
|
], 2)) : F("", !0),
|
|
5084
5091
|
y($n, {
|
|
5085
5092
|
ref_key: "zoomBox",
|
|
5086
|
-
ref:
|
|
5093
|
+
ref: B,
|
|
5087
5094
|
position: "relative",
|
|
5088
5095
|
onUpdate: tt
|
|
5089
5096
|
}, {
|
|
5090
5097
|
default: m(() => [
|
|
5091
5098
|
e("div", {
|
|
5092
5099
|
class: "w-100 position-relative",
|
|
5093
|
-
style:
|
|
5100
|
+
style: ae({ height: `${ke.value}px` })
|
|
5094
5101
|
}, [
|
|
5095
|
-
(u(!0), I(we, null, Ee(q.value, (
|
|
5102
|
+
(u(!0), I(we, null, Ee(q.value, (ne, Ce) => (u(), O(ds, {
|
|
5096
5103
|
key: `camera${Ce}`,
|
|
5097
|
-
"camera-data":
|
|
5104
|
+
"camera-data": ne,
|
|
5098
5105
|
"cdn-file-resolver": p(a),
|
|
5099
5106
|
"current-camera": c.value,
|
|
5100
5107
|
"current-day": d.value,
|
|
5101
5108
|
"current-time": k.value
|
|
5102
5109
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5103
|
-
(u(!0), I(we, null, Ee(ge.value, (
|
|
5110
|
+
(u(!0), I(we, null, Ee(ge.value, (ne, Ce) => (u(), O(ps, {
|
|
5104
5111
|
key: `transition${Ce}`,
|
|
5105
|
-
"transition-data":
|
|
5112
|
+
"transition-data": ne,
|
|
5106
5113
|
"cdn-file-resolver": p(a),
|
|
5107
5114
|
"current-transition": x.value
|
|
5108
5115
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
@@ -5112,7 +5119,7 @@ const zs = {
|
|
|
5112
5119
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
5113
5120
|
innerHTML: p(h)
|
|
5114
5121
|
}, null, 8, js)) : F("", !0),
|
|
5115
|
-
c.value.overlayFilename && !N.value ? Ke((u(),
|
|
5122
|
+
c.value.overlayFilename && !N.value ? Ke((u(), O(Ds, {
|
|
5116
5123
|
key: 1,
|
|
5117
5124
|
"cdn-file-resolver": p(a),
|
|
5118
5125
|
"color-callback": p(s),
|
|
@@ -5122,8 +5129,9 @@ const zs = {
|
|
|
5122
5129
|
onOnClick: ye,
|
|
5123
5130
|
onOnHoverOver: ue,
|
|
5124
5131
|
onOnHoverOut: Me,
|
|
5125
|
-
onUpdateSvgContainer:
|
|
5126
|
-
onOnError: ot
|
|
5132
|
+
onUpdateSvgContainer: T[2] || (T[2] = (ne) => Ae.value = ne),
|
|
5133
|
+
onOnError: ot,
|
|
5134
|
+
onOnBoundingBoxesUpdate: T[3] || (T[3] = (ne) => C("onBoundingBoxesUpdate", ne))
|
|
5127
5135
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5128
5136
|
[ut, x.value === null]
|
|
5129
5137
|
]) : F("", !0),
|
|
@@ -5156,7 +5164,7 @@ const zs = {
|
|
|
5156
5164
|
onOnTimeChange: Be
|
|
5157
5165
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
5158
5166
|
], 2)) : F("", !0),
|
|
5159
|
-
w.$slots.popup && te.value && R.value ? (u(),
|
|
5167
|
+
w.$slots.popup && te.value && R.value ? (u(), O(Vn, {
|
|
5160
5168
|
key: 3,
|
|
5161
5169
|
"is-hoverable": be.value,
|
|
5162
5170
|
pos: te.value
|
|
@@ -5183,7 +5191,7 @@ const zs = {
|
|
|
5183
5191
|
], 64);
|
|
5184
5192
|
};
|
|
5185
5193
|
}
|
|
5186
|
-
}), Rt = /* @__PURE__ */ ee(Ns, [["__scopeId", "data-v-
|
|
5194
|
+
}), Rt = /* @__PURE__ */ ee(Ns, [["__scopeId", "data-v-da91ca21"]]), Ks = {
|
|
5187
5195
|
install: function(n) {
|
|
5188
5196
|
n.component("VStructureChooser", Rt), n.component("VVirtualTour", Rl), n.component("VManualSlideShow", os), n.component("VStructureChooser", Rt);
|
|
5189
5197
|
}
|