@qispace/vue3-player 0.1.86 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-components/src/components/structureChooser/types/StructureChooserData.d.ts +2 -2
- package/dist/vue-components/src/components/structureChooser/types.d.ts +3 -3
- package/dist/vue-components/style.css +1 -1
- package/dist/vue-components/vue3-player.js +266 -266
- package/dist/vue-components/vue3-player.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var zt = Object.defineProperty;
|
|
2
2
|
var Wt = (r, a, e) => a in r ? zt(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e;
|
|
3
3
|
var se = (r, a, e) => (Wt(r, typeof a != "symbol" ? a + "" : a, e), e);
|
|
4
|
-
import { defineComponent as P, ref as f, computed as E, openBlock as p, createElementBlock as
|
|
4
|
+
import { defineComponent as P, ref as f, computed as E, openBlock as p, createElementBlock as A, watch as H, onMounted as ye, onBeforeUnmount as He, withDirectives as me, createElementVNode as c, normalizeStyle as ve, vShow as pe, createVNode as k, Fragment as ue, renderList as fe, createCommentVNode as $, inject as Ne, resolveComponent as V, withCtx as C, toDisplayString as N, unref as R, createTextVNode as K, normalizeClass as ge, createBlock as T, renderSlot as te, provide as Ge, reactive as st, watchEffect as be, resolveDynamicComponent as At, normalizeProps as nt, guardReactiveProps as at, mergeProps as Ie, nextTick as Ce, Transition as Ve, createSlots as Nt, pushScopeId as it, popScopeId as ut, vModelText as Gt, createStaticVNode as Ft, onBeforeUpdate as Qt, toRefs as Ee } from "vue";
|
|
5
5
|
import pt from "axios";
|
|
6
6
|
import * as qt from "@qispace/player-core";
|
|
7
7
|
import * as Ue from "three";
|
|
@@ -48,7 +48,7 @@ const Zt = /* @__PURE__ */ P({
|
|
|
48
48
|
const e = f(), n = E(() => window.getComputedStyle(e.value).display === "none");
|
|
49
49
|
return a({
|
|
50
50
|
isHoverEnabled: n
|
|
51
|
-
}), (t, o) => (p(),
|
|
51
|
+
}), (t, o) => (p(), A("div", {
|
|
52
52
|
ref_key: "hoverCheck",
|
|
53
53
|
ref: e,
|
|
54
54
|
class: "hover-check"
|
|
@@ -79,11 +79,11 @@ const Jt = /* @__PURE__ */ P({
|
|
|
79
79
|
const e = r, n = a, t = f({ x: 0, y: 0, width: 0, height: 0 }), o = f(0), i = f(0), l = f(), v = f(), u = f(), s = f(), h = f(-1), S = f(!1), g = f(), d = f(), m = f({}), y = f("auto"), b = f(new _e()), _ = f({}), B = f(), L = f(), Y = f(), I = f(), w = f(), z = E(() => Y.value.isHoverEnabled), M = E(() => ie(
|
|
80
80
|
e.cdnFileResolver,
|
|
81
81
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
82
|
-
)), W = E(() => M.value in m.value ? m.value[M.value] : null),
|
|
82
|
+
)), W = E(() => M.value in m.value ? m.value[M.value] : null), x = E(() => h.value < 0 ? !1 : e.sceneData.find((q) => q.index === h.value) || !1), O = E(() => ({
|
|
83
83
|
width: o.value + "px",
|
|
84
84
|
height: i.value + "px",
|
|
85
85
|
cursor: y.value
|
|
86
|
-
})), j = E(() => `hover-${S.value ? "over" : "out"}-${
|
|
86
|
+
})), j = E(() => `hover-${S.value ? "over" : "out"}-${x.value ? typeof x.value == "object" && "unitId" in x.value ? x.value.unitId : x.value : ""}`);
|
|
87
87
|
H(
|
|
88
88
|
M,
|
|
89
89
|
() => {
|
|
@@ -100,7 +100,7 @@ const Jt = /* @__PURE__ */ P({
|
|
|
100
100
|
}), H(
|
|
101
101
|
() => e.viewModel.currentScene,
|
|
102
102
|
() => {
|
|
103
|
-
|
|
103
|
+
Ae();
|
|
104
104
|
},
|
|
105
105
|
{ immediate: !0 }
|
|
106
106
|
), H(
|
|
@@ -110,16 +110,16 @@ const Jt = /* @__PURE__ */ P({
|
|
|
110
110
|
() => e.selectedUnitId
|
|
111
111
|
],
|
|
112
112
|
() => {
|
|
113
|
-
|
|
113
|
+
Ae();
|
|
114
114
|
}
|
|
115
|
-
), H(
|
|
116
|
-
|
|
115
|
+
), H(x, () => {
|
|
116
|
+
Ae(), x.value ? y.value = "pointer" : y.value = "auto";
|
|
117
117
|
}), H(j, () => {
|
|
118
118
|
S.value ? n("hoverOver", {
|
|
119
|
-
hoverUnit:
|
|
119
|
+
hoverUnit: x.value ? x.value.unitId : !1,
|
|
120
120
|
closeHandler: () => J()
|
|
121
121
|
}) : n("hoverOut", {
|
|
122
|
-
hoverUnit:
|
|
122
|
+
hoverUnit: x.value ? x.value.unitId : !1,
|
|
123
123
|
closeHandler: () => J()
|
|
124
124
|
});
|
|
125
125
|
}), H(t, () => {
|
|
@@ -192,7 +192,7 @@ const Jt = /* @__PURE__ */ P({
|
|
|
192
192
|
if (re) {
|
|
193
193
|
const Xe = ce(q.index);
|
|
194
194
|
let $e = "idle";
|
|
195
|
-
!
|
|
195
|
+
!x.value && e.selectedUnitId && Xe === e.selectedUnitId ? $e = "selected" : x.value && h.value === q.index && ($e = "hover");
|
|
196
196
|
const Be = e.colorCallback(q.unitId, $e);
|
|
197
197
|
if (Be)
|
|
198
198
|
for (let Te = 0; Te < re.length; Te++)
|
|
@@ -221,9 +221,9 @@ const Jt = /* @__PURE__ */ P({
|
|
|
221
221
|
}
|
|
222
222
|
function De(Z) {
|
|
223
223
|
const q = ce(Z);
|
|
224
|
-
|
|
224
|
+
xe(q);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function xe(Z) {
|
|
227
227
|
n("selectUnit", Z), Z && e.canGoToUnitCallback(Z) && n("goToUnit", Z);
|
|
228
228
|
}
|
|
229
229
|
function Se(Z = 0) {
|
|
@@ -239,9 +239,9 @@ const Jt = /* @__PURE__ */ P({
|
|
|
239
239
|
o.value = w.value.offsetWidth, i.value = w.value.offsetHeight;
|
|
240
240
|
}
|
|
241
241
|
function Oe() {
|
|
242
|
-
U(),
|
|
242
|
+
U(), Ae();
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Ae() {
|
|
245
245
|
Se(), ne(), l.value && u.value && l.value.putImageData(u.value, 0, 0);
|
|
246
246
|
}
|
|
247
247
|
function J() {
|
|
@@ -253,7 +253,7 @@ const Jt = /* @__PURE__ */ P({
|
|
|
253
253
|
le.value && (le.value = !1, Z.apply(this, re), setTimeout(() => le.value = !0, q));
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
return (Z, q) => (p(),
|
|
256
|
+
return (Z, q) => (p(), A("div", {
|
|
257
257
|
ref_key: "container",
|
|
258
258
|
ref: w,
|
|
259
259
|
id: "canvas"
|
|
@@ -369,13 +369,13 @@ const Jt = /* @__PURE__ */ P({
|
|
|
369
369
|
o.value < 0 && e.selectedUnitId && Y === e.selectedUnitId ? I = "selected" : o.value >= 0 && o.value === L && (I = "hover");
|
|
370
370
|
const w = e.colorCallback(Y, I);
|
|
371
371
|
if (w) {
|
|
372
|
-
const { r: z, g: M, b: W, a:
|
|
372
|
+
const { r: z, g: M, b: W, a: x, s: O } = w;
|
|
373
373
|
return {
|
|
374
374
|
strokeWidth: O !== void 0 ? O : 2,
|
|
375
375
|
stroke: `rgb(${z}, ${M}, ${W})`,
|
|
376
376
|
strokeOpacity: 1,
|
|
377
377
|
fill: `rgb(${z}, ${M}, ${W})`,
|
|
378
|
-
fillOpacity:
|
|
378
|
+
fillOpacity: x / 255,
|
|
379
379
|
cursor: `${e.canGoToUnitCallback(Y) ? "cursor" : "default"} !important`
|
|
380
380
|
};
|
|
381
381
|
} else
|
|
@@ -394,7 +394,7 @@ const Jt = /* @__PURE__ */ P({
|
|
|
394
394
|
_.value && (_.value = !1, L.apply(this, I), setTimeout(() => _.value = !0, Y));
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
|
-
return (L, Y) => (p(),
|
|
397
|
+
return (L, Y) => (p(), A("div", {
|
|
398
398
|
id: "container",
|
|
399
399
|
ref_key: "container",
|
|
400
400
|
ref: u
|
|
@@ -405,11 +405,11 @@ const Jt = /* @__PURE__ */ P({
|
|
|
405
405
|
opacity: !l.value || !l.value.svgObjects ? 0 : 1
|
|
406
406
|
})
|
|
407
407
|
}, [
|
|
408
|
-
l.value && l.value.svgObjects ? (p(),
|
|
408
|
+
l.value && l.value.svgObjects ? (p(), A("svg", {
|
|
409
409
|
key: 0,
|
|
410
410
|
viewBox: l.value.viewBox
|
|
411
411
|
}, [
|
|
412
|
-
(p(!0),
|
|
412
|
+
(p(!0), A(ue, null, fe(l.value.svgObjects, ({ index: I, svg: w }) => (p(), A("g", {
|
|
413
413
|
key: I,
|
|
414
414
|
innerHTML: w,
|
|
415
415
|
style: ve(b(I)),
|
|
@@ -453,7 +453,7 @@ const Jt = /* @__PURE__ */ P({
|
|
|
453
453
|
}
|
|
454
454
|
return (u, s) => {
|
|
455
455
|
const h = V("v-btn");
|
|
456
|
-
return p(),
|
|
456
|
+
return p(), A("div", null, [
|
|
457
457
|
k(h, {
|
|
458
458
|
elevation: "1",
|
|
459
459
|
icon: "mdi-rotate-right",
|
|
@@ -477,7 +477,7 @@ const Jt = /* @__PURE__ */ P({
|
|
|
477
477
|
onClick: s[2] || (s[2] = (S) => i("goToUnit", n.value))
|
|
478
478
|
}, {
|
|
479
479
|
default: C(() => [
|
|
480
|
-
n.value && u.canGoToUnitCallback(n.value) ? (p(),
|
|
480
|
+
n.value && u.canGoToUnitCallback(n.value) ? (p(), A("span", an, N(R(l).getLabel("seeApartment")) + " ", 1)) : $("", !0),
|
|
481
481
|
c("span", on, N(n.value ? e.unitRenderer(n.value) : "-"), 1)
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
@@ -689,16 +689,16 @@ const un = {
|
|
|
689
689
|
}
|
|
690
690
|
return (b, _) => {
|
|
691
691
|
const B = V("v-icon");
|
|
692
|
-
return p(),
|
|
693
|
-
o.value.isError ? (p(),
|
|
692
|
+
return p(), A("div", null, [
|
|
693
|
+
o.value.isError ? (p(), A("div", un, [
|
|
694
694
|
k(B, { "x-large": "" }, {
|
|
695
695
|
default: C(() => [
|
|
696
696
|
K("mdi-alert-circle-outline")
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
699
699
|
})
|
|
700
|
-
])) : v.value ? (p(),
|
|
701
|
-
(p(!0),
|
|
700
|
+
])) : v.value ? (p(), A("div", pn, [
|
|
701
|
+
(p(!0), A(ue, null, fe(l.value, (L) => (p(), A("picture", {
|
|
702
702
|
key: L.index,
|
|
703
703
|
alt: L.index,
|
|
704
704
|
class: ge({ "frame-image": !0, show: L.show })
|
|
@@ -714,8 +714,8 @@ const un = {
|
|
|
714
714
|
onError: _[3] || (_[3] = (Y) => o.value.errorDetected())
|
|
715
715
|
}, null, 40, gn)
|
|
716
716
|
], 10, fn))), 128))
|
|
717
|
-
])) : (p(),
|
|
718
|
-
u.value ? (p(),
|
|
717
|
+
])) : (p(), A("div", cn, [
|
|
718
|
+
u.value ? (p(), A("picture", dn, [
|
|
719
719
|
c("source", {
|
|
720
720
|
srcset: u.value.sourceSet,
|
|
721
721
|
type: "image/jpeg"
|
|
@@ -748,7 +748,7 @@ const un = {
|
|
|
748
748
|
origin: `top left ${o.pos.x} ${o.pos.y}`
|
|
749
749
|
}, {
|
|
750
750
|
default: C(() => [
|
|
751
|
-
o.isHoverable ? (p(),
|
|
751
|
+
o.isHoverable ? (p(), A("div", {
|
|
752
752
|
key: 0,
|
|
753
753
|
class: "floating-card",
|
|
754
754
|
style: ve({
|
|
@@ -854,7 +854,7 @@ const un = {
|
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
856
|
function B(F) {
|
|
857
|
-
const { x: U, y: G } =
|
|
857
|
+
const { x: U, y: G } = x(F);
|
|
858
858
|
Q(-F.deltaY / 10, U, G), F.preventDefault();
|
|
859
859
|
}
|
|
860
860
|
function L(F) {
|
|
@@ -862,7 +862,7 @@ const un = {
|
|
|
862
862
|
}
|
|
863
863
|
function Y(F) {
|
|
864
864
|
if (l.value) {
|
|
865
|
-
const { x: U, y: G } =
|
|
865
|
+
const { x: U, y: G } = x(F), { x: ne, y: de } = x(u.value), ce = {
|
|
866
866
|
x: U - ne,
|
|
867
867
|
y: G - de
|
|
868
868
|
};
|
|
@@ -880,21 +880,21 @@ const un = {
|
|
|
880
880
|
}
|
|
881
881
|
function M(F) {
|
|
882
882
|
if (l.value) {
|
|
883
|
-
const { x: U, y: G } =
|
|
883
|
+
const { x: U, y: G } = x(F.touches[0]), { x: ne, y: de } = x(u.value.touches[0]), ce = {
|
|
884
884
|
x: U - ne,
|
|
885
885
|
y: G - de
|
|
886
886
|
};
|
|
887
887
|
O(ce.x), j(ce.y);
|
|
888
888
|
} else if (v.value && F.touches.length === 2) {
|
|
889
|
-
const { x: U, y: G } =
|
|
890
|
-
Q(Me - Se, Oe,
|
|
889
|
+
const { x: U, y: G } = x(F.touches[0]), { x: ne, y: de } = x(u.value.touches[0]), { x: ce, y: ke } = x(F.touches[1]), { x: De, y: xe } = x(u.value.touches[1]), Se = Math.hypot(ne - De, de - xe), Me = Math.hypot(U - ce, G - ke), Oe = (ce + U) / 2, Ae = (ke + G) / 2;
|
|
890
|
+
Q(Me - Se, Oe, Ae);
|
|
891
891
|
}
|
|
892
892
|
u.value = F;
|
|
893
893
|
}
|
|
894
894
|
function W() {
|
|
895
895
|
l.value = !1, v.value = !1;
|
|
896
896
|
}
|
|
897
|
-
function
|
|
897
|
+
function x(F) {
|
|
898
898
|
const { left: U, top: G } = h.value.getBoundingClientRect();
|
|
899
899
|
return {
|
|
900
900
|
x: F.clientX - U,
|
|
@@ -918,7 +918,7 @@ const un = {
|
|
|
918
918
|
function Q(F, U, G) {
|
|
919
919
|
const ne = h.value.clientWidth, de = h.value.clientHeight, ce = ne * g.value, ke = de * g.value;
|
|
920
920
|
t.value = Math.min(Math.max(100, t.value + F), d.value);
|
|
921
|
-
const De = ne * g.value,
|
|
921
|
+
const De = ne * g.value, xe = de * g.value, Se = De - ce, Me = xe - ke;
|
|
922
922
|
o.value -= U / ne * Se, i.value -= G / de * Me, O(0), j(0);
|
|
923
923
|
}
|
|
924
924
|
function oe() {
|
|
@@ -927,12 +927,12 @@ const un = {
|
|
|
927
927
|
x: o.value,
|
|
928
928
|
y: i.value,
|
|
929
929
|
resolve: (F, U) => {
|
|
930
|
-
const G = h.value.clientWidth, ne = h.value.clientHeight, de = o.value / -g.value, ce = i.value / -g.value, ke = de + G / g.value, De = ce + ne / g.value,
|
|
931
|
-
return { x:
|
|
930
|
+
const G = h.value.clientWidth, ne = h.value.clientHeight, de = o.value / -g.value, ce = i.value / -g.value, ke = de + G / g.value, De = ce + ne / g.value, xe = F / G * (ke - de) + de, Se = U / ne * (De - ce) + ce;
|
|
931
|
+
return { x: xe, y: Se };
|
|
932
932
|
}
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
|
-
return (F, U) => (p(),
|
|
935
|
+
return (F, U) => (p(), A("div", {
|
|
936
936
|
ref_key: "box",
|
|
937
937
|
ref: h,
|
|
938
938
|
class: "zoom-box-container",
|
|
@@ -1152,7 +1152,7 @@ class Fe {
|
|
|
1152
1152
|
return "";
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
1155
|
-
const Dn = { key: 0 },
|
|
1155
|
+
const Dn = { key: 0 }, xn = { class: "interactive-viewer" }, An = { class: "fill-parent" }, Fn = { key: 0 }, Ln = {
|
|
1156
1156
|
key: 1,
|
|
1157
1157
|
class: "navigation"
|
|
1158
1158
|
}, Mn = { key: 2 }, Tn = 4, Vn = /* @__PURE__ */ P({
|
|
@@ -1197,9 +1197,9 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1197
1197
|
return { unitId: M.apartmentID, scene: W };
|
|
1198
1198
|
}).reduce((M, W) => ({ ...M, [W.unitId]: W.scene }), {}) : {};
|
|
1199
1199
|
const w = (M, W = "unitId") => {
|
|
1200
|
-
let
|
|
1200
|
+
let x = I, O = [];
|
|
1201
1201
|
for (let j = 0; j < bt; j++)
|
|
1202
|
-
O.push(
|
|
1202
|
+
O.push(x), x = Lt(x);
|
|
1203
1203
|
return M.sort((j, Q) => {
|
|
1204
1204
|
const oe = O.findIndex(
|
|
1205
1205
|
(U) => U === i.value[j[W]]
|
|
@@ -1231,9 +1231,9 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1231
1231
|
}
|
|
1232
1232
|
return (I, w) => {
|
|
1233
1233
|
const z = V("v-progress-linear");
|
|
1234
|
-
return u.value ? (p(),
|
|
1235
|
-
c("div",
|
|
1236
|
-
c("div",
|
|
1234
|
+
return u.value ? (p(), A("div", Dn, [
|
|
1235
|
+
c("div", xn, [
|
|
1236
|
+
c("div", An, [
|
|
1237
1237
|
k(qe, {
|
|
1238
1238
|
desktop: o.isReady && I.interactiveDesktop,
|
|
1239
1239
|
mobile: o.isReady && I.interactiveMobile
|
|
@@ -1248,8 +1248,8 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1248
1248
|
onLoaded: w[1] || (w[1] = (M) => o.isReady = !0),
|
|
1249
1249
|
onError: w[2] || (w[2] = (M) => o.isError = !0)
|
|
1250
1250
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1251
|
-
o.isReady ? (p(),
|
|
1252
|
-
(p(), T(
|
|
1251
|
+
o.isReady ? (p(), A("div", Fn, [
|
|
1252
|
+
(p(), T(At(m.value), {
|
|
1253
1253
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
1254
1254
|
"view-model": u.value,
|
|
1255
1255
|
"selected-unit-id": y.value,
|
|
@@ -1290,7 +1290,7 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1290
1290
|
]),
|
|
1291
1291
|
_: 3
|
|
1292
1292
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : $("", !0),
|
|
1293
|
-
o.isReady ? (p(),
|
|
1293
|
+
o.isReady ? (p(), A("div", Ln, [
|
|
1294
1294
|
k(rn, {
|
|
1295
1295
|
"can-go-to-unit-callback": n.canGoToUnitCallback,
|
|
1296
1296
|
"unit-renderer": n.unitRenderer,
|
|
@@ -1302,7 +1302,7 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1302
1302
|
onPrevUnit: w[6] || (w[6] = (M) => t("navUnit", _.value)),
|
|
1303
1303
|
onNextUnit: w[7] || (w[7] = (M) => t("navUnit", b.value))
|
|
1304
1304
|
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1305
|
-
])) : o.isError ? $("", !0) : (p(),
|
|
1305
|
+
])) : o.isError ? $("", !0) : (p(), A("div", Mn, [
|
|
1306
1306
|
k(z, {
|
|
1307
1307
|
indeterminate: !o.progress,
|
|
1308
1308
|
modelValue: o.progress,
|
|
@@ -1327,7 +1327,7 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1327
1327
|
},
|
|
1328
1328
|
setup(r) {
|
|
1329
1329
|
const a = r, e = E(() => ie(a.cdnFileResolver, a.timeSampleData.filename));
|
|
1330
|
-
return (n, t) => me((p(),
|
|
1330
|
+
return (n, t) => me((p(), A("img", {
|
|
1331
1331
|
key: e.value,
|
|
1332
1332
|
src: e.value,
|
|
1333
1333
|
width: "100%"
|
|
@@ -1344,7 +1344,7 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1344
1344
|
},
|
|
1345
1345
|
setup(r) {
|
|
1346
1346
|
const a = r;
|
|
1347
|
-
return (e, n) => (p(!0),
|
|
1347
|
+
return (e, n) => (p(!0), A(ue, null, fe(a.dayData.timeSamples, (t) => (p(), T(Rn, {
|
|
1348
1348
|
"time-sample-data": t,
|
|
1349
1349
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
1350
1350
|
"current-time": e.currentTime
|
|
@@ -1359,7 +1359,7 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1359
1359
|
},
|
|
1360
1360
|
setup(r) {
|
|
1361
1361
|
const a = r;
|
|
1362
|
-
return (e, n) => (p(!0),
|
|
1362
|
+
return (e, n) => (p(!0), A(ue, null, fe(a.cameraData.sunsimDayOfYear, (t) => (p(), T($n, {
|
|
1363
1363
|
"day-data": t,
|
|
1364
1364
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
1365
1365
|
"current-time": a.currentTime
|
|
@@ -1375,7 +1375,7 @@ const Dn = { key: 0 }, An = { class: "interactive-viewer" }, xn = { class: "fill
|
|
|
1375
1375
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
1376
1376
|
setup(r, { emit: a }) {
|
|
1377
1377
|
const e = r, n = E(() => ie(e.cdnFileResolver, e.transitionData.filename));
|
|
1378
|
-
return (t, o) => me((p(),
|
|
1378
|
+
return (t, o) => me((p(), A("img", {
|
|
1379
1379
|
key: n.value,
|
|
1380
1380
|
src: n.value,
|
|
1381
1381
|
class: "position-absolute top-left w-100 h-100"
|
|
@@ -1550,7 +1550,7 @@ const zn = /* @__PURE__ */ P({
|
|
|
1550
1550
|
const s = V("v-icon"), h = V("v-btn"), S = V("v-slider"), g = V("v-field");
|
|
1551
1551
|
return p(), T(g, { variant: "solo" }, {
|
|
1552
1552
|
default: C(() => [
|
|
1553
|
-
v.dayData.startTime === v.dayData.endTime ? (p(),
|
|
1553
|
+
v.dayData.startTime === v.dayData.endTime ? (p(), A("div", Nn, [
|
|
1554
1554
|
k(s, {
|
|
1555
1555
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1556
1556
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -1668,7 +1668,7 @@ const zn = /* @__PURE__ */ P({
|
|
|
1668
1668
|
}
|
|
1669
1669
|
return (d, m) => {
|
|
1670
1670
|
const y = V("v-btn"), b = V("v-chip");
|
|
1671
|
-
return p(),
|
|
1671
|
+
return p(), A(ue, null, [
|
|
1672
1672
|
k(y, {
|
|
1673
1673
|
class: "mx-2",
|
|
1674
1674
|
icon: "mdi-restore",
|
|
@@ -1785,7 +1785,7 @@ const zn = /* @__PURE__ */ P({
|
|
|
1785
1785
|
}
|
|
1786
1786
|
return (s, h) => (p(), T(Ve, null, {
|
|
1787
1787
|
default: C(() => [
|
|
1788
|
-
(p(),
|
|
1788
|
+
(p(), A("div", {
|
|
1789
1789
|
ref_key: "svgContainer",
|
|
1790
1790
|
ref: o,
|
|
1791
1791
|
key: s.currentCamera.overlayFilename,
|
|
@@ -2157,7 +2157,7 @@ const ia = {
|
|
|
2157
2157
|
function W(F) {
|
|
2158
2158
|
const U = i.value;
|
|
2159
2159
|
o.value = F, Ce(() => {
|
|
2160
|
-
|
|
2160
|
+
x(
|
|
2161
2161
|
o.value.timeSamples.find(
|
|
2162
2162
|
(G) => G.timeInHours === U.timeInHours
|
|
2163
2163
|
) || o.value.timeSamples.find(
|
|
@@ -2166,7 +2166,7 @@ const ia = {
|
|
|
2166
2166
|
);
|
|
2167
2167
|
});
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function x(F) {
|
|
2170
2170
|
i.value = F;
|
|
2171
2171
|
}
|
|
2172
2172
|
function O(F) {
|
|
@@ -2206,7 +2206,7 @@ const ia = {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
return (F, U) => {
|
|
2208
2208
|
const G = V("v-skeleton-loader");
|
|
2209
|
-
return p(),
|
|
2209
|
+
return p(), A(ue, null, [
|
|
2210
2210
|
k(G, {
|
|
2211
2211
|
type: "image",
|
|
2212
2212
|
class: "w-100 h-100 position-relative",
|
|
@@ -2246,7 +2246,7 @@ const ia = {
|
|
|
2246
2246
|
"day-data": o.value,
|
|
2247
2247
|
"current-time": i.value,
|
|
2248
2248
|
disabled: h.value,
|
|
2249
|
-
onOnTimeChange:
|
|
2249
|
+
onOnTimeChange: x
|
|
2250
2250
|
}, null, 8, ["day-data", "current-time", "disabled"])) : $("", !0)
|
|
2251
2251
|
])
|
|
2252
2252
|
]),
|
|
@@ -2273,18 +2273,18 @@ const ia = {
|
|
|
2273
2273
|
]),
|
|
2274
2274
|
k(qe, { position: "relative" }, {
|
|
2275
2275
|
default: C(() => [
|
|
2276
|
-
(p(!0),
|
|
2276
|
+
(p(!0), A(ue, null, fe(L.value, (ne) => (p(), T(Un, {
|
|
2277
2277
|
key: ne.overlayFilename,
|
|
2278
2278
|
"camera-data": ne,
|
|
2279
2279
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2280
2280
|
"current-time": i.value
|
|
2281
2281
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
2282
|
-
(p(!0),
|
|
2282
|
+
(p(!0), A(ue, null, fe(Y.value, (ne) => (p(), T(jn, {
|
|
2283
2283
|
"transition-data": ne,
|
|
2284
2284
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2285
2285
|
"current-transition": l.value
|
|
2286
2286
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 256)),
|
|
2287
|
-
e.customOverlayContent ? (p(),
|
|
2287
|
+
e.customOverlayContent ? (p(), A("div", {
|
|
2288
2288
|
key: 0,
|
|
2289
2289
|
class: "w-100 h-100 position-absolute top-left",
|
|
2290
2290
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
@@ -2374,7 +2374,7 @@ const ia = {
|
|
|
2374
2374
|
o.value = i(e.dateSelector.selectedDate);
|
|
2375
2375
|
}), (s, h) => {
|
|
2376
2376
|
const S = V("v-icon"), g = V("v-select"), d = V("v-progress-linear"), m = V("v-slider");
|
|
2377
|
-
return p(),
|
|
2377
|
+
return p(), A("div", ga, [
|
|
2378
2378
|
c("div", ya, [
|
|
2379
2379
|
k(S, {
|
|
2380
2380
|
color: "black",
|
|
@@ -2390,7 +2390,7 @@ const ia = {
|
|
|
2390
2390
|
variant: "underlined",
|
|
2391
2391
|
"hide-details": "",
|
|
2392
2392
|
class: "day-selector"
|
|
2393
|
-
}, null, 8, ["modelValue", "items"])) : (p(),
|
|
2393
|
+
}, null, 8, ["modelValue", "items"])) : (p(), A("span", _a, N(u.value), 1))
|
|
2394
2394
|
]),
|
|
2395
2395
|
c("div", ba, [
|
|
2396
2396
|
c("span", Ca, N(l.value), 1),
|
|
@@ -2462,7 +2462,7 @@ const ia = {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
);
|
|
2464
2464
|
}
|
|
2465
|
-
return (u, s) => (p(),
|
|
2465
|
+
return (u, s) => (p(), A("div", null, [
|
|
2466
2466
|
c("img", {
|
|
2467
2467
|
ref_key: "baseImage",
|
|
2468
2468
|
ref: i,
|
|
@@ -2470,8 +2470,8 @@ const ia = {
|
|
|
2470
2470
|
style: { opacity: 1, borderRadius: 50 },
|
|
2471
2471
|
onLoad: l
|
|
2472
2472
|
}, null, 544),
|
|
2473
|
-
t.value === "preloaded" || t.value === "loaded" ? me((p(),
|
|
2474
|
-
(p(!0),
|
|
2473
|
+
t.value === "preloaded" || t.value === "loaded" ? me((p(), A("div", wa, [
|
|
2474
|
+
(p(!0), A(ue, null, fe(u.imageUrls, (h, S) => (p(), A("img", {
|
|
2475
2475
|
key: S,
|
|
2476
2476
|
class: ge({ "image-instance": !0, active: S === u.activeIndex }),
|
|
2477
2477
|
src: h,
|
|
@@ -2486,7 +2486,7 @@ const ia = {
|
|
|
2486
2486
|
key: 0,
|
|
2487
2487
|
style: { height: "50vh" },
|
|
2488
2488
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
2489
|
-
},
|
|
2489
|
+
}, xa = { class: "image-instances" }, Aa = { key: 0 }, Fa = { class: "svg-container" }, La = ["viewBox"], Ma = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], Ta = ["innerHTML"], Va = /* @__PURE__ */ P({
|
|
2490
2490
|
__name: "VBuildingChooserSvg",
|
|
2491
2491
|
props: {
|
|
2492
2492
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -2516,11 +2516,11 @@ const ia = {
|
|
|
2516
2516
|
}), i = f({ x: 0, y: 0, width: 0, height: 0 }), l = f(), v = f(
|
|
2517
2517
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2518
2518
|
), u = f(!1), s = f(new _e()), h = f(), S = f("0 0 0 0"), g = f(), d = f(), m = f(ze.empty()), y = f(We.empty()), b = f(), _ = E(() => b.value.isHoverEnabled);
|
|
2519
|
-
H(l, (
|
|
2520
|
-
|
|
2519
|
+
H(l, (x, O) => {
|
|
2520
|
+
x ? n("hoverOverBuilding", x) : n("hoverOutBuilding", O);
|
|
2521
2521
|
}), be(() => {
|
|
2522
2522
|
if (e.buildingChooserTimeOfDay) {
|
|
2523
|
-
const [
|
|
2523
|
+
const [x, O, j] = /^(\d\d):(\d\d)$/.exec(
|
|
2524
2524
|
e.buildingChooserTimeOfDay
|
|
2525
2525
|
), Q = parseInt(j);
|
|
2526
2526
|
v.value = parseInt(O) * 2 + (Q < 15 ? 0 : Q > 45 ? 2 : 1);
|
|
@@ -2549,23 +2549,23 @@ const ia = {
|
|
|
2549
2549
|
} else
|
|
2550
2550
|
u.value = !0;
|
|
2551
2551
|
});
|
|
2552
|
-
function B({ width:
|
|
2553
|
-
o.value.width =
|
|
2552
|
+
function B({ width: x, height: O }) {
|
|
2553
|
+
o.value.width = x, o.value.height = O;
|
|
2554
2554
|
}
|
|
2555
2555
|
function L() {
|
|
2556
2556
|
t.value = { preloaded: !1, ready: !1 };
|
|
2557
2557
|
}
|
|
2558
|
-
function Y(
|
|
2558
|
+
function Y(x) {
|
|
2559
2559
|
const O = e.colorCallback(
|
|
2560
|
-
|
|
2561
|
-
|
|
2560
|
+
x,
|
|
2561
|
+
x === l.value ? "hover" : "idle"
|
|
2562
2562
|
), j = [];
|
|
2563
|
-
return
|
|
2563
|
+
return x === l.value ? j.push("hover") : j.push("idle"), O && e.canGoToBuildingCallback(x) ? j.push("clickable") : j.push("restricted"), j.join(" ");
|
|
2564
2564
|
}
|
|
2565
|
-
function I(
|
|
2565
|
+
function I(x) {
|
|
2566
2566
|
const O = e.colorCallback(
|
|
2567
|
-
|
|
2568
|
-
|
|
2567
|
+
x,
|
|
2568
|
+
x === l.value ? "hover" : "idle"
|
|
2569
2569
|
);
|
|
2570
2570
|
if (O) {
|
|
2571
2571
|
const { r: j, g: Q, b: oe, a: F, s: U } = O;
|
|
@@ -2575,7 +2575,7 @@ const ia = {
|
|
|
2575
2575
|
strokeOpacity: 1,
|
|
2576
2576
|
fill: `rgb(${j}, ${Q}, ${oe})`,
|
|
2577
2577
|
fillOpacity: F / 255,
|
|
2578
|
-
cursor: `${e.canGoToBuildingCallback(
|
|
2578
|
+
cursor: `${e.canGoToBuildingCallback(x) ? "cursor" : "default"} !important`
|
|
2579
2579
|
};
|
|
2580
2580
|
} else
|
|
2581
2581
|
return {
|
|
@@ -2587,8 +2587,8 @@ const ia = {
|
|
|
2587
2587
|
cursor: "default !important"
|
|
2588
2588
|
};
|
|
2589
2589
|
}
|
|
2590
|
-
function w(
|
|
2591
|
-
const { layerX: j, layerY: Q } =
|
|
2590
|
+
function w(x, O) {
|
|
2591
|
+
const { layerX: j, layerY: Q } = x;
|
|
2592
2592
|
_.value && (i.value = {
|
|
2593
2593
|
x: j,
|
|
2594
2594
|
y: Q,
|
|
@@ -2596,8 +2596,8 @@ const ia = {
|
|
|
2596
2596
|
height: o.value.height
|
|
2597
2597
|
}, l.value = O, n("hoverOverBuilding", O));
|
|
2598
2598
|
}
|
|
2599
|
-
function z(
|
|
2600
|
-
const { layerX: j, layerY: Q } =
|
|
2599
|
+
function z(x, O) {
|
|
2600
|
+
const { layerX: j, layerY: Q } = x;
|
|
2601
2601
|
_.value && (i.value = {
|
|
2602
2602
|
x: j,
|
|
2603
2603
|
y: Q,
|
|
@@ -2605,8 +2605,8 @@ const ia = {
|
|
|
2605
2605
|
height: o.value.height
|
|
2606
2606
|
}, l.value = void 0, n("hoverOutBuilding", O));
|
|
2607
2607
|
}
|
|
2608
|
-
function M(
|
|
2609
|
-
const { layerX: j, layerY: Q } =
|
|
2608
|
+
function M(x, O) {
|
|
2609
|
+
const { layerX: j, layerY: Q } = x;
|
|
2610
2610
|
_.value && (i.value = {
|
|
2611
2611
|
x: j,
|
|
2612
2612
|
y: Q,
|
|
@@ -2614,29 +2614,29 @@ const ia = {
|
|
|
2614
2614
|
height: o.value.height
|
|
2615
2615
|
});
|
|
2616
2616
|
}
|
|
2617
|
-
function W(
|
|
2618
|
-
l.value =
|
|
2617
|
+
function W(x) {
|
|
2618
|
+
l.value = x, _.value && l.value && e.canGoToBuildingCallback(l.value) && n("goToBuilding", l.value);
|
|
2619
2619
|
}
|
|
2620
|
-
return (
|
|
2620
|
+
return (x, O) => {
|
|
2621
2621
|
const j = V("v-icon");
|
|
2622
|
-
return u.value ? (p(),
|
|
2622
|
+
return u.value ? (p(), A("div", Da, [
|
|
2623
2623
|
k(j, { "x-large": "" }, {
|
|
2624
2624
|
default: C(() => [
|
|
2625
2625
|
K("mdi-alert-circle-outline")
|
|
2626
2626
|
]),
|
|
2627
2627
|
_: 1
|
|
2628
2628
|
})
|
|
2629
|
-
])) : d.value ? (p(),
|
|
2629
|
+
])) : d.value ? (p(), A("div", {
|
|
2630
2630
|
key: 1,
|
|
2631
2631
|
style: ve(`height: ${o.value.height}px; position: relative`),
|
|
2632
2632
|
class: "image-container"
|
|
2633
2633
|
}, [
|
|
2634
2634
|
k(qe, {
|
|
2635
|
-
desktop:
|
|
2636
|
-
mobile:
|
|
2635
|
+
desktop: x.interactiveDesktop,
|
|
2636
|
+
mobile: x.interactiveMobile
|
|
2637
2637
|
}, {
|
|
2638
2638
|
default: C(() => [
|
|
2639
|
-
c("div",
|
|
2639
|
+
c("div", xa, [
|
|
2640
2640
|
k(Vt, {
|
|
2641
2641
|
"image-urls": g.value.imageUrls,
|
|
2642
2642
|
"active-index": v.value,
|
|
@@ -2645,10 +2645,10 @@ const ia = {
|
|
|
2645
2645
|
onReady: O[1] || (O[1] = (Q) => t.value.ready = !0),
|
|
2646
2646
|
onReset: L
|
|
2647
2647
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2648
|
-
h.value ? me((p(),
|
|
2648
|
+
h.value ? me((p(), A("div", Aa, [
|
|
2649
2649
|
c("div", Fa, [
|
|
2650
|
-
(p(),
|
|
2651
|
-
(p(!0),
|
|
2650
|
+
(p(), A("svg", { viewBox: S.value }, [
|
|
2651
|
+
(p(!0), A(ue, null, fe(h.value, ({ id: Q, svg: oe }, F) => (p(), A("g", {
|
|
2652
2652
|
key: F,
|
|
2653
2653
|
innerHTML: oe,
|
|
2654
2654
|
"data-building-id": Q,
|
|
@@ -2666,7 +2666,7 @@ const ia = {
|
|
|
2666
2666
|
]) : $("", !0),
|
|
2667
2667
|
me(c("div", {
|
|
2668
2668
|
class: "custom-overlay-layer",
|
|
2669
|
-
innerHTML:
|
|
2669
|
+
innerHTML: x.customOverlayContent
|
|
2670
2670
|
}, null, 8, Ta), [
|
|
2671
2671
|
[pe, t.value.preloaded]
|
|
2672
2672
|
])
|
|
@@ -2689,17 +2689,17 @@ const ia = {
|
|
|
2689
2689
|
], 512), [
|
|
2690
2690
|
[pe, t.value.preloaded]
|
|
2691
2691
|
]),
|
|
2692
|
-
|
|
2692
|
+
x.showCards && l.value ? (p(), T(Qe, {
|
|
2693
2693
|
key: 0,
|
|
2694
2694
|
"is-hoverable": _.value,
|
|
2695
2695
|
pos: i.value,
|
|
2696
2696
|
onOutside: O[3] || (O[3] = () => l.value = void 0)
|
|
2697
2697
|
}, {
|
|
2698
2698
|
default: C(() => [
|
|
2699
|
-
te(
|
|
2699
|
+
te(x.$slots, "default", {
|
|
2700
2700
|
building: l.value,
|
|
2701
|
-
canGoToBuilding:
|
|
2702
|
-
goToBuilding: () =>
|
|
2701
|
+
canGoToBuilding: x.canGoToBuildingCallback(l.value),
|
|
2702
|
+
goToBuilding: () => x.canGoToBuildingCallback(l.value) && n("goToBuilding", l.value),
|
|
2703
2703
|
pos: i.value,
|
|
2704
2704
|
isHoverable: _.value,
|
|
2705
2705
|
close: () => l.value = void 0
|
|
@@ -2756,7 +2756,7 @@ const ia = {
|
|
|
2756
2756
|
for (let g = 0; g < v.value.length; g++)
|
|
2757
2757
|
l.value.data[v.value[g] - 3] = e.color.r, l.value.data[v.value[g] - 2] = e.color.g, l.value.data[v.value[g] - 1] = e.color.b, l.value.data[v.value[g]] = e.color.a;
|
|
2758
2758
|
}
|
|
2759
|
-
return (g, d) => (p(),
|
|
2759
|
+
return (g, d) => (p(), A("canvas", Ie({
|
|
2760
2760
|
ref_key: "canvas",
|
|
2761
2761
|
ref: u,
|
|
2762
2762
|
class: "overlay"
|
|
@@ -2796,20 +2796,20 @@ const ia = {
|
|
|
2796
2796
|
}), l = f({ x: 0, y: 0, width: 0, height: 0 }), v = f(), u = f(ze.empty()), s = f(We.empty()), h = f(), S = f(
|
|
2797
2797
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2798
2798
|
), g = f(
|
|
2799
|
-
(
|
|
2799
|
+
(x, O) => ({ x, y: O })
|
|
2800
2800
|
), d = f(!1), m = f(), y = f(), b = f(), _ = E(() => {
|
|
2801
|
-
var
|
|
2802
|
-
return (
|
|
2801
|
+
var x;
|
|
2802
|
+
return (x = m.value) == null ? void 0 : x.isHoverEnabled;
|
|
2803
2803
|
});
|
|
2804
2804
|
be(() => {
|
|
2805
2805
|
if (e.buildingChooserTimeOfDay) {
|
|
2806
|
-
const [
|
|
2806
|
+
const [x, O, j] = /^(\d\d):(\d\d)$/.exec(
|
|
2807
2807
|
e.buildingChooserTimeOfDay
|
|
2808
2808
|
), Q = parseInt(j);
|
|
2809
2809
|
S.value = parseInt(O) * 2 + (Q < 15 ? 0 : Q > 45 ? 2 : 1);
|
|
2810
2810
|
}
|
|
2811
|
-
}), H(h, (
|
|
2812
|
-
|
|
2811
|
+
}), H(h, (x, O) => {
|
|
2812
|
+
x ? n("hoverOverBuilding", x) : n("hoverOutBuilding", O);
|
|
2813
2813
|
}), ye(async () => {
|
|
2814
2814
|
const O = await new Mt(
|
|
2815
2815
|
e.cdnFileResolver
|
|
@@ -2821,14 +2821,14 @@ const ia = {
|
|
|
2821
2821
|
viewLongitude: O.viewLongitude
|
|
2822
2822
|
}, I()) : d.value = !0;
|
|
2823
2823
|
});
|
|
2824
|
-
function B({ width:
|
|
2825
|
-
i.value.width =
|
|
2824
|
+
function B({ width: x, height: O }) {
|
|
2825
|
+
i.value.width = x, i.value.height = O, Ce(I);
|
|
2826
2826
|
}
|
|
2827
2827
|
function L() {
|
|
2828
2828
|
o.value = { preloaded: !1, ready: !1 };
|
|
2829
2829
|
}
|
|
2830
|
-
function Y(
|
|
2831
|
-
const { layerX: O, layerY: j } =
|
|
2830
|
+
function Y(x) {
|
|
2831
|
+
const { layerX: O, layerY: j } = x, { x: Q, y: oe } = g.value(O, j);
|
|
2832
2832
|
return u.value.getBuildingId(
|
|
2833
2833
|
s.value,
|
|
2834
2834
|
Q,
|
|
@@ -2837,47 +2837,47 @@ const ia = {
|
|
|
2837
2837
|
}
|
|
2838
2838
|
function I() {
|
|
2839
2839
|
if (y.value && (s.value.update(y.value), b.value))
|
|
2840
|
-
for (const
|
|
2841
|
-
|
|
2840
|
+
for (const x of b.value)
|
|
2841
|
+
x.setupDraw();
|
|
2842
2842
|
}
|
|
2843
|
-
function w(
|
|
2844
|
-
const { layerX: O, layerY: j } =
|
|
2845
|
-
_.value && (h.value = Y(
|
|
2843
|
+
function w(x) {
|
|
2844
|
+
const { layerX: O, layerY: j } = x;
|
|
2845
|
+
_.value && (h.value = Y(x), h.value !== void 0 && (l.value = {
|
|
2846
2846
|
x: O,
|
|
2847
2847
|
y: j,
|
|
2848
2848
|
width: i.value.width,
|
|
2849
2849
|
height: i.value.height
|
|
2850
2850
|
}));
|
|
2851
2851
|
}
|
|
2852
|
-
function z(
|
|
2853
|
-
h.value = Y(
|
|
2852
|
+
function z(x) {
|
|
2853
|
+
h.value = Y(x), _.value && h.value && n("goToBuilding", h.value);
|
|
2854
2854
|
}
|
|
2855
|
-
function M(
|
|
2855
|
+
function M(x) {
|
|
2856
2856
|
return e.colorCallback(
|
|
2857
|
-
|
|
2858
|
-
|
|
2857
|
+
x,
|
|
2858
|
+
x === h.value ? "hover" : "idle"
|
|
2859
2859
|
);
|
|
2860
2860
|
}
|
|
2861
|
-
function W({ resolve:
|
|
2862
|
-
g.value =
|
|
2861
|
+
function W({ resolve: x }) {
|
|
2862
|
+
g.value = x;
|
|
2863
2863
|
}
|
|
2864
|
-
return (
|
|
2864
|
+
return (x, O) => {
|
|
2865
2865
|
const j = V("v-icon");
|
|
2866
|
-
return d.value ? (p(),
|
|
2866
|
+
return d.value ? (p(), A("div", Ra, [
|
|
2867
2867
|
k(j, { "x-large": "" }, {
|
|
2868
2868
|
default: C(() => [
|
|
2869
2869
|
K("mdi-alert-circle-outline")
|
|
2870
2870
|
]),
|
|
2871
2871
|
_: 1
|
|
2872
2872
|
})
|
|
2873
|
-
])) : v.value ? (p(),
|
|
2873
|
+
])) : v.value ? (p(), A("div", {
|
|
2874
2874
|
key: 1,
|
|
2875
2875
|
style: ve(`cursor: ${h.value ? "pointer" : "auto"};height: ${i.value.height}px; position: relative`),
|
|
2876
2876
|
class: "image-container"
|
|
2877
2877
|
}, [
|
|
2878
2878
|
k(qe, {
|
|
2879
|
-
desktop:
|
|
2880
|
-
mobile:
|
|
2879
|
+
desktop: x.interactiveDesktop,
|
|
2880
|
+
mobile: x.interactiveMobile,
|
|
2881
2881
|
onUpdate: W
|
|
2882
2882
|
}, {
|
|
2883
2883
|
default: C(() => [
|
|
@@ -2891,7 +2891,7 @@ const ia = {
|
|
|
2891
2891
|
onReset: L
|
|
2892
2892
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2893
2893
|
me(c("div", null, [
|
|
2894
|
-
(p(!0),
|
|
2894
|
+
(p(!0), A(ue, null, fe(v.value.buildingOverlays, (Q) => (p(), T(Ba, {
|
|
2895
2895
|
ref_for: !0,
|
|
2896
2896
|
ref_key: "overlays",
|
|
2897
2897
|
ref: b,
|
|
@@ -2913,7 +2913,7 @@ const ia = {
|
|
|
2913
2913
|
}), null, 16),
|
|
2914
2914
|
me(c("div", {
|
|
2915
2915
|
class: "custom-overlay-layer",
|
|
2916
|
-
innerHTML:
|
|
2916
|
+
innerHTML: x.customOverlayContent
|
|
2917
2917
|
}, null, 8, Ua), [
|
|
2918
2918
|
[pe, o.value.preloaded]
|
|
2919
2919
|
])
|
|
@@ -2935,17 +2935,17 @@ const ia = {
|
|
|
2935
2935
|
], 512), [
|
|
2936
2936
|
[pe, o.value.preloaded]
|
|
2937
2937
|
]),
|
|
2938
|
-
|
|
2938
|
+
x.showCards && h.value ? (p(), T(Qe, {
|
|
2939
2939
|
key: 0,
|
|
2940
2940
|
"is-hoverable": _.value,
|
|
2941
2941
|
pos: l.value,
|
|
2942
2942
|
onOutside: O[3] || (O[3] = () => h.value = void 0)
|
|
2943
2943
|
}, {
|
|
2944
2944
|
default: C(() => [
|
|
2945
|
-
te(
|
|
2945
|
+
te(x.$slots, "default", {
|
|
2946
2946
|
building: h.value,
|
|
2947
|
-
canGoToBuilding:
|
|
2948
|
-
goToBuilding: () =>
|
|
2947
|
+
canGoToBuilding: x.canGoToBuildingCallback(h.value),
|
|
2948
|
+
goToBuilding: () => x.canGoToBuildingCallback(h.value) && n("goToBuilding", h.value),
|
|
2949
2949
|
pos: l.value,
|
|
2950
2950
|
isHoverable: _.value,
|
|
2951
2951
|
close: () => h.value = void 0
|
|
@@ -2980,7 +2980,7 @@ const ia = {
|
|
|
2980
2980
|
const e = r, n = a, t = E(
|
|
2981
2981
|
() => e.useSvg ? Ea : Ya
|
|
2982
2982
|
);
|
|
2983
|
-
return (o, i) => (p(), T(
|
|
2983
|
+
return (o, i) => (p(), T(At(t.value), {
|
|
2984
2984
|
"i18n-config": e.i18nConfig,
|
|
2985
2985
|
"show-cards": e.showCards,
|
|
2986
2986
|
"color-callback": e.colorCallback,
|
|
@@ -3012,7 +3012,7 @@ const ia = {
|
|
|
3012
3012
|
},
|
|
3013
3013
|
setup(r) {
|
|
3014
3014
|
const a = r, e = E(() => ie(a.cdnFileResolver, a.timeSampleData.filename));
|
|
3015
|
-
return (n, t) => me((p(),
|
|
3015
|
+
return (n, t) => me((p(), A("img", {
|
|
3016
3016
|
key: e.value,
|
|
3017
3017
|
src: e.value,
|
|
3018
3018
|
width: "100%"
|
|
@@ -3029,7 +3029,7 @@ const ia = {
|
|
|
3029
3029
|
},
|
|
3030
3030
|
setup(r) {
|
|
3031
3031
|
const a = r;
|
|
3032
|
-
return (e, n) => (p(!0),
|
|
3032
|
+
return (e, n) => (p(!0), A(ue, null, fe(a.dayData.timeSamples, (t) => (p(), T(Wa, {
|
|
3033
3033
|
"time-sample-data": t,
|
|
3034
3034
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
3035
3035
|
"current-time": e.currentTime
|
|
@@ -3044,7 +3044,7 @@ const ia = {
|
|
|
3044
3044
|
},
|
|
3045
3045
|
setup(r) {
|
|
3046
3046
|
const a = r;
|
|
3047
|
-
return (e, n) => (p(!0),
|
|
3047
|
+
return (e, n) => (p(!0), A(ue, null, fe(a.cameraData.sunsimDayOfYear, (t) => (p(), T(Na, {
|
|
3048
3048
|
"day-data": t,
|
|
3049
3049
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
3050
3050
|
"current-time": a.currentTime
|
|
@@ -3178,7 +3178,7 @@ const ia = {
|
|
|
3178
3178
|
const s = V("v-icon"), h = V("v-btn"), S = V("v-slider"), g = V("v-field");
|
|
3179
3179
|
return p(), T(g, { variant: "solo" }, {
|
|
3180
3180
|
default: C(() => [
|
|
3181
|
-
v.dayData.startTime === v.dayData.endTime ? (p(),
|
|
3181
|
+
v.dayData.startTime === v.dayData.endTime ? (p(), A("div", Za, [
|
|
3182
3182
|
k(s, {
|
|
3183
3183
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3184
3184
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -3310,7 +3310,7 @@ const ia = {
|
|
|
3310
3310
|
}
|
|
3311
3311
|
return (s, h) => (p(), T(Ve, null, {
|
|
3312
3312
|
default: C(() => [
|
|
3313
|
-
(p(),
|
|
3313
|
+
(p(), A("div", {
|
|
3314
3314
|
ref_key: "svgContainer",
|
|
3315
3315
|
ref: o,
|
|
3316
3316
|
key: s.currentCamera.overlayFilename,
|
|
@@ -3480,14 +3480,14 @@ const lo = {
|
|
|
3480
3480
|
}
|
|
3481
3481
|
function I(w) {
|
|
3482
3482
|
const { layerX: z, layerY: M } = w;
|
|
3483
|
-
let W = w.target,
|
|
3483
|
+
let W = w.target, x = !1;
|
|
3484
3484
|
for (; W; )
|
|
3485
3485
|
if (W === S.value) {
|
|
3486
|
-
|
|
3486
|
+
x = !0;
|
|
3487
3487
|
break;
|
|
3488
3488
|
} else
|
|
3489
3489
|
W = W.parentElement;
|
|
3490
|
-
if (
|
|
3490
|
+
if (x) {
|
|
3491
3491
|
const O = w.currentTarget;
|
|
3492
3492
|
h.value = {
|
|
3493
3493
|
x: z,
|
|
@@ -3501,7 +3501,7 @@ const lo = {
|
|
|
3501
3501
|
}
|
|
3502
3502
|
return (w, z) => {
|
|
3503
3503
|
const M = V("v-skeleton-loader");
|
|
3504
|
-
return p(),
|
|
3504
|
+
return p(), A(ue, null, [
|
|
3505
3505
|
k(M, {
|
|
3506
3506
|
type: "image",
|
|
3507
3507
|
class: "w-100 h-100 position-relative",
|
|
@@ -3517,7 +3517,7 @@ const lo = {
|
|
|
3517
3517
|
onMousemove: I
|
|
3518
3518
|
}, [
|
|
3519
3519
|
c("div", lo, [
|
|
3520
|
-
d.value.cameras.length > 1 ? (p(),
|
|
3520
|
+
d.value.cameras.length > 1 ? (p(), A("div", ro, [
|
|
3521
3521
|
k(Qa, {
|
|
3522
3522
|
"building-chooser-data": d.value,
|
|
3523
3523
|
"current-camera": t.value,
|
|
@@ -3549,13 +3549,13 @@ const lo = {
|
|
|
3549
3549
|
]),
|
|
3550
3550
|
k(qe, { position: "relative" }, {
|
|
3551
3551
|
default: C(() => [
|
|
3552
|
-
(p(!0),
|
|
3552
|
+
(p(!0), A(ue, null, fe(d.value.cameras, (W) => (p(), T(Ga, {
|
|
3553
3553
|
key: W.overlayFilename,
|
|
3554
3554
|
"camera-data": W,
|
|
3555
3555
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
3556
3556
|
"current-time": i.value
|
|
3557
3557
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
3558
|
-
e.customOverlayContent ? (p(),
|
|
3558
|
+
e.customOverlayContent ? (p(), A("div", {
|
|
3559
3559
|
key: 0,
|
|
3560
3560
|
class: "w-100 h-100 position-absolute top-left",
|
|
3561
3561
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
@@ -3626,10 +3626,10 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3626
3626
|
}, Do = {
|
|
3627
3627
|
class: "player-control",
|
|
3628
3628
|
id: "controls-center-left"
|
|
3629
|
-
},
|
|
3629
|
+
}, xo = {
|
|
3630
3630
|
class: "player-control",
|
|
3631
3631
|
id: "controls-center-center"
|
|
3632
|
-
},
|
|
3632
|
+
}, Ao = {
|
|
3633
3633
|
class: "player-control",
|
|
3634
3634
|
id: "controls-center-right"
|
|
3635
3635
|
}, Fo = {
|
|
@@ -3718,7 +3718,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3718
3718
|
), g.animate(), o.value = e.Main.getPlayerAPI(), o.value && o.value.setLookSensitivity(n.mouseSensitivity));
|
|
3719
3719
|
}), He(() => {
|
|
3720
3720
|
o.value && o.value.destroy();
|
|
3721
|
-
}), (u, s) => (p(),
|
|
3721
|
+
}), (u, s) => (p(), A("div", Co, [
|
|
3722
3722
|
c("div", ko, [
|
|
3723
3723
|
te(u.$slots, "slideshow-image", {}, void 0, !0),
|
|
3724
3724
|
c("div", wo, [
|
|
@@ -3733,10 +3733,10 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3733
3733
|
c("div", Do, [
|
|
3734
3734
|
te(u.$slots, "center-left", {}, void 0, !0)
|
|
3735
3735
|
]),
|
|
3736
|
-
c("div",
|
|
3736
|
+
c("div", xo, [
|
|
3737
3737
|
te(u.$slots, "center-center", {}, void 0, !0)
|
|
3738
3738
|
]),
|
|
3739
|
-
c("div",
|
|
3739
|
+
c("div", Ao, [
|
|
3740
3740
|
te(u.$slots, "center-right", {}, void 0, !0)
|
|
3741
3741
|
]),
|
|
3742
3742
|
c("div", Fo, [
|
|
@@ -3791,7 +3791,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3791
3791
|
icon: ""
|
|
3792
3792
|
}, d, { onClick: u }), {
|
|
3793
3793
|
default: C(() => [
|
|
3794
|
-
(p(),
|
|
3794
|
+
(p(), A("svg", Oo, [
|
|
3795
3795
|
c("path", {
|
|
3796
3796
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3797
3797
|
fill: "white",
|
|
@@ -3830,7 +3830,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3830
3830
|
const e = r, n = a, t = Ne(Le);
|
|
3831
3831
|
return (o, i) => {
|
|
3832
3832
|
const l = V("v-icon"), v = V("v-btn"), u = V("v-img"), s = V("v-list-item-title"), h = V("v-list-item"), S = V("v-list"), g = V("v-menu");
|
|
3833
|
-
return p(),
|
|
3833
|
+
return p(), A("div", null, [
|
|
3834
3834
|
k(g, {
|
|
3835
3835
|
transition: "slide-x-reverse-transition",
|
|
3836
3836
|
location: "top end",
|
|
@@ -3855,7 +3855,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3855
3855
|
default: C(() => [
|
|
3856
3856
|
k(S, { class: "interior-selector-list" }, {
|
|
3857
3857
|
default: C(() => [
|
|
3858
|
-
(p(!0),
|
|
3858
|
+
(p(!0), A(ue, null, fe(e.availableArchetypes, (d, m) => (p(), T(h, {
|
|
3859
3859
|
density: "compact",
|
|
3860
3860
|
key: `at-menuitem-${m}`,
|
|
3861
3861
|
onClick: (y) => n("selectInterior", d.archetypeID),
|
|
@@ -3903,7 +3903,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3903
3903
|
}));
|
|
3904
3904
|
return (o, i) => {
|
|
3905
3905
|
const l = V("v-img");
|
|
3906
|
-
return p(),
|
|
3906
|
+
return p(), A("div", {
|
|
3907
3907
|
style: ve(n.value),
|
|
3908
3908
|
class: "compass-wrapper"
|
|
3909
3909
|
}, [
|
|
@@ -3928,7 +3928,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3928
3928
|
}
|
|
3929
3929
|
return (t, o) => {
|
|
3930
3930
|
const i = V("v-img");
|
|
3931
|
-
return p(),
|
|
3931
|
+
return p(), A("div", Qo, [
|
|
3932
3932
|
c("div", qo, [
|
|
3933
3933
|
k(i, {
|
|
3934
3934
|
src: R(Go),
|
|
@@ -3974,7 +3974,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
3974
3974
|
onClick: l[0] || (l[0] = (S) => n("toggle"))
|
|
3975
3975
|
}, h), {
|
|
3976
3976
|
default: C(() => [
|
|
3977
|
-
o.value === "virtualTour" ? (p(),
|
|
3977
|
+
o.value === "virtualTour" ? (p(), A("svg", Ko, al)) : (p(), T(v, { key: 1 }, {
|
|
3978
3978
|
default: C(() => [
|
|
3979
3979
|
K("mdi-image-multiple")
|
|
3980
3980
|
]),
|
|
@@ -4481,7 +4481,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4481
4481
|
"stroke-linejoin": "round"
|
|
4482
4482
|
})
|
|
4483
4483
|
])
|
|
4484
|
-
], -1)), Dl = { class: "text text-col text-center" },
|
|
4484
|
+
], -1)), Dl = { class: "text text-col text-center" }, xl = { class: "box col my-1" }, Al = /* @__PURE__ */ Ye(() => /* @__PURE__ */ c("div", { class: "tutorial-icon justify-center" }, [
|
|
4485
4485
|
/* @__PURE__ */ c("svg", {
|
|
4486
4486
|
width: "49.5",
|
|
4487
4487
|
height: "32.5",
|
|
@@ -4573,7 +4573,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4573
4573
|
_: 1
|
|
4574
4574
|
}),
|
|
4575
4575
|
k(g, { class: "my-3" }),
|
|
4576
|
-
i.value ? $("", !0) : (p(),
|
|
4576
|
+
i.value ? $("", !0) : (p(), A("div", rl, [
|
|
4577
4577
|
c("div", sl, [
|
|
4578
4578
|
c("div", il, [
|
|
4579
4579
|
ul,
|
|
@@ -4593,7 +4593,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4593
4593
|
])
|
|
4594
4594
|
])
|
|
4595
4595
|
])),
|
|
4596
|
-
i.value ? (p(),
|
|
4596
|
+
i.value ? (p(), A("div", bl, [
|
|
4597
4597
|
c("div", Cl, [
|
|
4598
4598
|
kl,
|
|
4599
4599
|
c("div", wl, N(R(n).getLabel("tapAndDragToLookAround")), 1)
|
|
@@ -4602,8 +4602,8 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4602
4602
|
Sl,
|
|
4603
4603
|
c("div", Dl, N(R(n).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4604
4604
|
]),
|
|
4605
|
-
c("div",
|
|
4606
|
-
|
|
4605
|
+
c("div", xl, [
|
|
4606
|
+
Al,
|
|
4607
4607
|
c("div", Fl, N(R(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4608
4608
|
])
|
|
4609
4609
|
])) : $("", !0),
|
|
@@ -4858,10 +4858,10 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4858
4858
|
}
|
|
4859
4859
|
return (d, m) => {
|
|
4860
4860
|
const y = V("v-text-field"), b = V("v-slider"), _ = V("v-checkbox"), B = V("v-btn"), L = V("v-select"), Y = V("v-icon");
|
|
4861
|
-
return p(),
|
|
4861
|
+
return p(), A("div", Rl, [
|
|
4862
4862
|
c("form", $l, [
|
|
4863
4863
|
c("div", Ul, [
|
|
4864
|
-
(p(!0),
|
|
4864
|
+
(p(!0), A(ue, null, fe(t.value, (I, w, z) => (p(), A("div", {
|
|
4865
4865
|
key: z,
|
|
4866
4866
|
"d-block": ""
|
|
4867
4867
|
}, [
|
|
@@ -4910,7 +4910,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4910
4910
|
]),
|
|
4911
4911
|
_: 2
|
|
4912
4912
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : $("", !0),
|
|
4913
|
-
I.type === "color" ? (p(),
|
|
4913
|
+
I.type === "color" ? (p(), A("div", {
|
|
4914
4914
|
key: 2,
|
|
4915
4915
|
class: "d-flex",
|
|
4916
4916
|
max: I.max,
|
|
@@ -4941,7 +4941,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
4941
4941
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4942
4942
|
])
|
|
4943
4943
|
], 8, jl)) : $("", !0),
|
|
4944
|
-
I.type === "lut" ? (p(),
|
|
4944
|
+
I.type === "lut" ? (p(), A("div", Nl, [
|
|
4945
4945
|
c("div", Gl, [
|
|
4946
4946
|
c("div", Ql, N(I.label), 1),
|
|
4947
4947
|
c("div", null, [
|
|
@@ -5071,7 +5071,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5071
5071
|
}
|
|
5072
5072
|
return (i, l) => {
|
|
5073
5073
|
const v = V("v-btn");
|
|
5074
|
-
return p(),
|
|
5074
|
+
return p(), A("div", {
|
|
5075
5075
|
id: "moveableDiv",
|
|
5076
5076
|
class: ge(["big d-flex justify-space-between flex-column align-center sizer", n.value])
|
|
5077
5077
|
}, [
|
|
@@ -5117,7 +5117,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5117
5117
|
rotation: {}
|
|
5118
5118
|
},
|
|
5119
5119
|
setup(r) {
|
|
5120
|
-
return (a, e) => (p(),
|
|
5120
|
+
return (a, e) => (p(), A("svg", sr, [
|
|
5121
5121
|
ir,
|
|
5122
5122
|
c("g", {
|
|
5123
5123
|
"transform-origin": "20 20",
|
|
@@ -5199,7 +5199,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5199
5199
|
const z = w.offsetHeight / 384 * 0.8, M = w.offsetWidth / 512 * 0.8;
|
|
5200
5200
|
w.offsetHeight > w.offsetWidth ? l.value = M * 0.5 : l.value = z * 0.9;
|
|
5201
5201
|
}
|
|
5202
|
-
return (w, z) => (p(),
|
|
5202
|
+
return (w, z) => (p(), A("div", mr, [
|
|
5203
5203
|
c("div", pr, [
|
|
5204
5204
|
c("div", {
|
|
5205
5205
|
class: "web-minimap",
|
|
@@ -5213,10 +5213,10 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5213
5213
|
class: "center-pivot",
|
|
5214
5214
|
style: ve(i.value)
|
|
5215
5215
|
}, [
|
|
5216
|
-
(p(!0),
|
|
5216
|
+
(p(!0), A(ue, null, fe(d.value, (M) => (p(), A("div", {
|
|
5217
5217
|
key: M.id
|
|
5218
5218
|
}, [
|
|
5219
|
-
s.value.floorLevel === M.floorLevel ? (p(),
|
|
5219
|
+
s.value.floorLevel === M.floorLevel ? (p(), A("div", {
|
|
5220
5220
|
key: 0,
|
|
5221
5221
|
class: "single-camera-marker",
|
|
5222
5222
|
style: ve(B(M))
|
|
@@ -5242,7 +5242,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5242
5242
|
},
|
|
5243
5243
|
setup(r) {
|
|
5244
5244
|
const a = r, e = E(() => a.rotation + a.transformAngle - 90);
|
|
5245
|
-
return (n, t) => (p(),
|
|
5245
|
+
return (n, t) => (p(), A("div", {
|
|
5246
5246
|
class: "minimap-compass",
|
|
5247
5247
|
style: ve({ scale: n.scale })
|
|
5248
5248
|
}, [
|
|
@@ -5330,7 +5330,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5330
5330
|
}
|
|
5331
5331
|
return (b, _) => {
|
|
5332
5332
|
const B = V("v-progress-linear"), L = V("v-icon"), Y = V("v-slider");
|
|
5333
|
-
return p(),
|
|
5333
|
+
return p(), A("div", _r, [
|
|
5334
5334
|
c("div", br, [
|
|
5335
5335
|
c("div", Cr, [
|
|
5336
5336
|
o.value ? (p(), T(B, {
|
|
@@ -5363,7 +5363,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5363
5363
|
_: 1
|
|
5364
5364
|
}, 8, ["modelValue"]))
|
|
5365
5365
|
]),
|
|
5366
|
-
o.value ? $("", !0) : (p(),
|
|
5366
|
+
o.value ? $("", !0) : (p(), A("div", kr, N(h.value) + " " + N(s.value), 1))
|
|
5367
5367
|
])
|
|
5368
5368
|
]);
|
|
5369
5369
|
};
|
|
@@ -5431,7 +5431,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5431
5431
|
_: 1
|
|
5432
5432
|
}));
|
|
5433
5433
|
}
|
|
5434
|
-
}), St = /* @__PURE__ */ ee(Sr, [["__scopeId", "data-v-898e645b"]]), Dr = 37,
|
|
5434
|
+
}), St = /* @__PURE__ */ ee(Sr, [["__scopeId", "data-v-898e645b"]]), Dr = 37, xr = 39, Ar = /* @__PURE__ */ P({
|
|
5435
5435
|
__name: "VWaypointCarousel",
|
|
5436
5436
|
props: {
|
|
5437
5437
|
thumbnails: {},
|
|
@@ -5459,7 +5459,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5459
5459
|
case u.keyCode === Dr:
|
|
5460
5460
|
n("previous");
|
|
5461
5461
|
break;
|
|
5462
|
-
case u.keyCode ===
|
|
5462
|
+
case u.keyCode === xr:
|
|
5463
5463
|
n("next");
|
|
5464
5464
|
break;
|
|
5465
5465
|
default:
|
|
@@ -5471,7 +5471,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5471
5471
|
}
|
|
5472
5472
|
return (u, s) => {
|
|
5473
5473
|
const h = V("v-btn"), S = V("v-img"), g = V("v-card"), d = V("v-slide-group-item"), m = V("v-slide-group");
|
|
5474
|
-
return p(),
|
|
5474
|
+
return p(), A("div", {
|
|
5475
5475
|
class: ge({
|
|
5476
5476
|
mobileWaypointWrapper: i.value,
|
|
5477
5477
|
desktopWaypointWrapper: !i.value,
|
|
@@ -5507,7 +5507,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5507
5507
|
}, null, 8, ["class"])
|
|
5508
5508
|
]),
|
|
5509
5509
|
default: C(() => [
|
|
5510
|
-
(p(!0),
|
|
5510
|
+
(p(!0), A(ue, null, fe(u.thumbnails, (y) => (p(), T(d, {
|
|
5511
5511
|
key: y.id
|
|
5512
5512
|
}, {
|
|
5513
5513
|
default: C(({ toggle: b, selectedClass: _ }) => [
|
|
@@ -5540,7 +5540,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5540
5540
|
], 2);
|
|
5541
5541
|
};
|
|
5542
5542
|
}
|
|
5543
|
-
}), rt = /* @__PURE__ */ ee(
|
|
5543
|
+
}), rt = /* @__PURE__ */ ee(Ar, [["__scopeId", "data-v-0345b87c"]]), Fr = {
|
|
5544
5544
|
id: "share-btns-wrapper",
|
|
5545
5545
|
class: "text-center"
|
|
5546
5546
|
}, Lr = /* @__PURE__ */ P({
|
|
@@ -5573,7 +5573,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5573
5573
|
}
|
|
5574
5574
|
return (v, u) => {
|
|
5575
5575
|
const s = V("v-btn"), h = V("v-tooltip"), S = V("v-toolbar-title"), g = V("v-spacer"), d = V("v-toolbar"), m = V("v-card-text"), y = V("v-card"), b = V("v-dialog");
|
|
5576
|
-
return p(),
|
|
5576
|
+
return p(), A("div", null, [
|
|
5577
5577
|
k(h, {
|
|
5578
5578
|
elevation: "2",
|
|
5579
5579
|
top: "",
|
|
@@ -5716,7 +5716,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5716
5716
|
},
|
|
5717
5717
|
setup(r) {
|
|
5718
5718
|
const a = r, e = E(() => ({ "background-image": `url("${encodeURI(a.image)}")` }));
|
|
5719
|
-
return (n, t) => (p(),
|
|
5719
|
+
return (n, t) => (p(), A("div", Mr, [
|
|
5720
5720
|
c("div", {
|
|
5721
5721
|
class: ge(["img-div", [n.aspectRatio]]),
|
|
5722
5722
|
style: ve(e.value)
|
|
@@ -5736,7 +5736,7 @@ const Co = { id: "player-wrapper" }, ko = { id: "player-sizer" }, wo = {
|
|
|
5736
5736
|
const e = a;
|
|
5737
5737
|
return (n, t) => {
|
|
5738
5738
|
const o = V("v-btn");
|
|
5739
|
-
return p(),
|
|
5739
|
+
return p(), A("div", Er, [
|
|
5740
5740
|
k(o, {
|
|
5741
5741
|
density: "comfortable",
|
|
5742
5742
|
elevation: "3",
|
|
@@ -5875,7 +5875,7 @@ const Or = {
|
|
|
5875
5875
|
return D;
|
|
5876
5876
|
}), W = E(() => j.value.findIndex(
|
|
5877
5877
|
(D) => D.archetypeID === d.value
|
|
5878
|
-
)),
|
|
5878
|
+
)), x = E(() => s.value ? s.value.cameras.map((D) => ({
|
|
5879
5879
|
...D,
|
|
5880
5880
|
thumbnailUrl: ot(
|
|
5881
5881
|
`/${d.value}/${n.apartmentId}/thumbs/200/${D.id}.jpg`
|
|
@@ -5883,7 +5883,7 @@ const Or = {
|
|
|
5883
5883
|
imageUrl: ot(
|
|
5884
5884
|
`/${d.value}/${n.apartmentId}/images/1600/${D.id}.jpg`
|
|
5885
5885
|
)
|
|
5886
|
-
})) : []), O = E(() => !
|
|
5886
|
+
})) : []), O = E(() => !x.value || !x.value[g.value] ? "" : x.value[g.value].imageUrl), j = E(() => {
|
|
5887
5887
|
let D = [];
|
|
5888
5888
|
return v.value && (D = v.value.archetypes), n.validInteriorIds.length ? D.filter(
|
|
5889
5889
|
(X) => n.validInteriorIds.includes(X.archetypeID)
|
|
@@ -5891,7 +5891,7 @@ const Or = {
|
|
|
5891
5891
|
}), Q = E(() => s.value ? j.value.map((D) => ({
|
|
5892
5892
|
...D,
|
|
5893
5893
|
url: ot(
|
|
5894
|
-
`/${D.archetypeID}/${n.apartmentId}/thumbs/200/${
|
|
5894
|
+
`/${D.archetypeID}/${n.apartmentId}/thumbs/200/${x.value[g.value].id}.jpg`
|
|
5895
5895
|
)
|
|
5896
5896
|
})) : []), oe = E(() => {
|
|
5897
5897
|
if (h.value)
|
|
@@ -5924,7 +5924,7 @@ const Or = {
|
|
|
5924
5924
|
v.value = await De();
|
|
5925
5925
|
}
|
|
5926
5926
|
async function ne() {
|
|
5927
|
-
if (u.value = await
|
|
5927
|
+
if (u.value = await xe(
|
|
5928
5928
|
d.value,
|
|
5929
5929
|
n.apartmentId
|
|
5930
5930
|
), u.value && (m.value = u.value.cameras.find(() => !0).id), s.value = await Se(
|
|
@@ -5980,7 +5980,7 @@ const Or = {
|
|
|
5980
5980
|
return;
|
|
5981
5981
|
}
|
|
5982
5982
|
}
|
|
5983
|
-
async function
|
|
5983
|
+
async function xe(D, X) {
|
|
5984
5984
|
try {
|
|
5985
5985
|
return await lt(
|
|
5986
5986
|
`/${D}/${X}/apartment.json`
|
|
@@ -6022,14 +6022,14 @@ const Or = {
|
|
|
6022
6022
|
}
|
|
6023
6023
|
function Oe() {
|
|
6024
6024
|
let D = g.value + 1;
|
|
6025
|
-
D >=
|
|
6025
|
+
D >= x.value.length && (D = 0), g.value = D, le(x.value[g.value].id);
|
|
6026
6026
|
}
|
|
6027
|
-
function
|
|
6027
|
+
function Ae() {
|
|
6028
6028
|
let D = g.value - 1;
|
|
6029
|
-
D < 0 && (D =
|
|
6029
|
+
D < 0 && (D = x.value.length - 1), g.value = D, le(x.value[g.value].id);
|
|
6030
6030
|
}
|
|
6031
6031
|
function J(D, X = !0) {
|
|
6032
|
-
let ae =
|
|
6032
|
+
let ae = x.value.findIndex((we) => we.id === D);
|
|
6033
6033
|
ae != -1 && (g.value = ae, X && le(D));
|
|
6034
6034
|
}
|
|
6035
6035
|
function le(D) {
|
|
@@ -6114,10 +6114,10 @@ const Or = {
|
|
|
6114
6114
|
});
|
|
6115
6115
|
return (D, X) => {
|
|
6116
6116
|
const ae = V("v-btn");
|
|
6117
|
-
return p(),
|
|
6117
|
+
return p(), A("div", {
|
|
6118
6118
|
class: ge(["virtual-tour-wrapper", [wt.value]])
|
|
6119
6119
|
}, [
|
|
6120
|
-
l.value ? (p(),
|
|
6120
|
+
l.value ? (p(), A("div", Or, "Error loading the player!!")) : $("", !0),
|
|
6121
6121
|
c("div", Br, [
|
|
6122
6122
|
!w.value.isActive && h.value && y.value && oe.value && d.value && Y.value ? (p(), T(St, {
|
|
6123
6123
|
key: 0,
|
|
@@ -6129,7 +6129,7 @@ const Or = {
|
|
|
6129
6129
|
"current-camera": y.value,
|
|
6130
6130
|
onClose: X[0] || (X[0] = (we) => Y.value = !1)
|
|
6131
6131
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : $("", !0),
|
|
6132
|
-
d.value && m.value ? (p(),
|
|
6132
|
+
d.value && m.value ? (p(), A("div", {
|
|
6133
6133
|
key: 1,
|
|
6134
6134
|
class: ge(["v-player", [wt.value]])
|
|
6135
6135
|
}, [
|
|
@@ -6191,7 +6191,7 @@ const Or = {
|
|
|
6191
6191
|
"floor-levels": z.value,
|
|
6192
6192
|
onLevel: re
|
|
6193
6193
|
}, null, 8, ["level", "floor-levels"])) : $("", !0),
|
|
6194
|
-
I.value && D.adminMode && i.value ? (p(),
|
|
6194
|
+
I.value && D.adminMode && i.value ? (p(), A("div", Rr, [
|
|
6195
6195
|
k(er, {
|
|
6196
6196
|
"initial-settings": D.playerSettings,
|
|
6197
6197
|
onUpdateSettings: Rt,
|
|
@@ -6201,7 +6201,7 @@ const Or = {
|
|
|
6201
6201
|
]),
|
|
6202
6202
|
"top-center": C(() => []),
|
|
6203
6203
|
"top-right": C(() => [
|
|
6204
|
-
u.value && D.showCompass ? me((p(),
|
|
6204
|
+
u.value && D.showCompass ? me((p(), A("div", $r, [
|
|
6205
6205
|
k(No, { rotation: b.value }, null, 8, ["rotation"])
|
|
6206
6206
|
], 512)), [
|
|
6207
6207
|
[pe, I.value]
|
|
@@ -6228,7 +6228,7 @@ const Or = {
|
|
|
6228
6228
|
density: "comfortable",
|
|
6229
6229
|
elevation: "3",
|
|
6230
6230
|
icon: "mdi-chevron-left",
|
|
6231
|
-
onClick:
|
|
6231
|
+
onClick: Ae
|
|
6232
6232
|
})) : $("", !0)
|
|
6233
6233
|
]),
|
|
6234
6234
|
_: 1
|
|
@@ -6271,7 +6271,7 @@ const Or = {
|
|
|
6271
6271
|
class: "btn-fullscreen",
|
|
6272
6272
|
onToggleFullscreen: Te
|
|
6273
6273
|
}, null, 8, ["is-full-screen"])) : $("", !0),
|
|
6274
|
-
I.value && D.showSnapshot ? (p(),
|
|
6274
|
+
I.value && D.showSnapshot ? (p(), A("div", Ur, [
|
|
6275
6275
|
k(ae, {
|
|
6276
6276
|
density: "comfortable",
|
|
6277
6277
|
elevation: "3",
|
|
@@ -6286,19 +6286,19 @@ const Or = {
|
|
|
6286
6286
|
onToggle: dt
|
|
6287
6287
|
}, null, 8, ["show-static-image"])) : $("", !0)
|
|
6288
6288
|
]),
|
|
6289
|
-
I.value && D.showShare && !w.value.isActive ? (p(),
|
|
6289
|
+
I.value && D.showShare && !w.value.isActive ? (p(), A("div", Yr, [
|
|
6290
6290
|
k(Et)
|
|
6291
6291
|
])) : $("", !0)
|
|
6292
6292
|
]),
|
|
6293
6293
|
"bottom-center": C(() => [
|
|
6294
|
-
I.value && D.showCarousel && !mt.value ? (p(),
|
|
6294
|
+
I.value && D.showCarousel && !mt.value ? (p(), A("div", jr, [
|
|
6295
6295
|
I.value ? (p(), T(rt, {
|
|
6296
6296
|
key: 0,
|
|
6297
6297
|
class: ge([w.value.isActive ? "full-screen" : ""]),
|
|
6298
|
-
thumbnails:
|
|
6298
|
+
thumbnails: x.value,
|
|
6299
6299
|
active: g.value,
|
|
6300
6300
|
onNext: Oe,
|
|
6301
|
-
onPrevious:
|
|
6301
|
+
onPrevious: Ae,
|
|
6302
6302
|
onGoto: J
|
|
6303
6303
|
}, null, 8, ["class", "thumbnails", "active"])) : $("", !0)
|
|
6304
6304
|
])) : $("", !0)
|
|
@@ -6319,10 +6319,10 @@ const Or = {
|
|
|
6319
6319
|
D.showCarousel && s.value && mt.value ? (p(), T(rt, {
|
|
6320
6320
|
key: 0,
|
|
6321
6321
|
class: "waypoint-carousel below-player",
|
|
6322
|
-
thumbnails:
|
|
6322
|
+
thumbnails: x.value,
|
|
6323
6323
|
active: g.value,
|
|
6324
6324
|
onNext: Oe,
|
|
6325
|
-
onPrevious:
|
|
6325
|
+
onPrevious: Ae,
|
|
6326
6326
|
onGoto: J
|
|
6327
6327
|
}, null, 8, ["thumbnails", "active"])) : $("", !0)
|
|
6328
6328
|
], 2)) : $("", !0)
|
|
@@ -6364,7 +6364,7 @@ const Or = {
|
|
|
6364
6364
|
},
|
|
6365
6365
|
emits: ["newSizeCallback"],
|
|
6366
6366
|
setup(r, { emit: a }) {
|
|
6367
|
-
return (e, n) => (p(),
|
|
6367
|
+
return (e, n) => (p(), A("div", Nr, [
|
|
6368
6368
|
c("div", Gr, [
|
|
6369
6369
|
te(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
6370
6370
|
c("div", Qr, [
|
|
@@ -6446,7 +6446,7 @@ const Or = {
|
|
|
6446
6446
|
}
|
|
6447
6447
|
return (s, h) => {
|
|
6448
6448
|
const S = V("v-img"), g = V("v-btn");
|
|
6449
|
-
return p(),
|
|
6449
|
+
return p(), A("div", ls, [
|
|
6450
6450
|
c("div", rs, [
|
|
6451
6451
|
c("div", null, [
|
|
6452
6452
|
k(os, {
|
|
@@ -6498,7 +6498,7 @@ const Or = {
|
|
|
6498
6498
|
class: "btn-fullscreen",
|
|
6499
6499
|
onToggleFullscreen: i
|
|
6500
6500
|
}, null, 8, ["is-full-screen"])) : $("", !0),
|
|
6501
|
-
s.showShare ? (p(),
|
|
6501
|
+
s.showShare ? (p(), A("div", is, [
|
|
6502
6502
|
k(Et)
|
|
6503
6503
|
])) : $("", !0)
|
|
6504
6504
|
]),
|
|
@@ -6540,7 +6540,7 @@ const Or = {
|
|
|
6540
6540
|
},
|
|
6541
6541
|
setup(r) {
|
|
6542
6542
|
const a = r, { timeSampleData: e, cdnFileResolver: n, currentTime: t } = Ee(a), o = E(() => ie(n.value, e.value.filename));
|
|
6543
|
-
return (i, l) => me((p(),
|
|
6543
|
+
return (i, l) => me((p(), A("img", {
|
|
6544
6544
|
key: o.value,
|
|
6545
6545
|
src: o.value,
|
|
6546
6546
|
width: "100%"
|
|
@@ -6558,7 +6558,7 @@ const Or = {
|
|
|
6558
6558
|
},
|
|
6559
6559
|
setup(r) {
|
|
6560
6560
|
const a = r, { dayData: e, cdnFileResolver: n, currentTime: t } = Ee(a);
|
|
6561
|
-
return (o, i) => (p(!0),
|
|
6561
|
+
return (o, i) => (p(!0), A(ue, null, fe(R(e).timeSamples, (l) => (p(), T(ms, {
|
|
6562
6562
|
key: l.filename,
|
|
6563
6563
|
"time-sample-data": l,
|
|
6564
6564
|
"cdn-file-resolver": R(n),
|
|
@@ -6579,13 +6579,13 @@ const Or = {
|
|
|
6579
6579
|
n.value,
|
|
6580
6580
|
t.value.defaultFilename
|
|
6581
6581
|
));
|
|
6582
|
-
return (l, v) => R(e).sunsimDayOfYear ? (p(!0),
|
|
6582
|
+
return (l, v) => R(e).sunsimDayOfYear ? (p(!0), A(ue, { key: 0 }, fe(R(e).sunsimDayOfYear, (u) => (p(), T(ps, {
|
|
6583
6583
|
key: u.dayOfYear,
|
|
6584
6584
|
"day-data": u,
|
|
6585
6585
|
"cdn-file-resolver": R(n),
|
|
6586
6586
|
"current-day": l.currentDay,
|
|
6587
6587
|
"current-time": R(o)
|
|
6588
|
-
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : me((p(),
|
|
6588
|
+
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : me((p(), A("img", {
|
|
6589
6589
|
key: i.value,
|
|
6590
6590
|
src: i.value,
|
|
6591
6591
|
width: "100%"
|
|
@@ -6602,7 +6602,7 @@ const Or = {
|
|
|
6602
6602
|
},
|
|
6603
6603
|
setup(r) {
|
|
6604
6604
|
const a = r, { transitionData: e, cdnFileResolver: n, currentTransition: t } = Ee(a), o = E(() => ie(n.value, e.value.filename));
|
|
6605
|
-
return (i, l) => me((p(),
|
|
6605
|
+
return (i, l) => me((p(), A("img", {
|
|
6606
6606
|
key: o.value,
|
|
6607
6607
|
src: o.value,
|
|
6608
6608
|
class: "position-absolute top-left w-100 h-100"
|
|
@@ -6738,7 +6738,7 @@ const ks = {
|
|
|
6738
6738
|
const S = V("v-icon"), g = V("v-btn"), d = V("v-slider"), m = V("v-field");
|
|
6739
6739
|
return p(), T(m, { variant: "solo" }, {
|
|
6740
6740
|
default: C(() => [
|
|
6741
|
-
R(n).startTime === R(n).endTime ? (p(),
|
|
6741
|
+
R(n).startTime === R(n).endTime ? (p(), A("div", ks, [
|
|
6742
6742
|
k(S, {
|
|
6743
6743
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
6744
6744
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -6815,7 +6815,7 @@ const ks = {
|
|
|
6815
6815
|
})) : $("", !0);
|
|
6816
6816
|
};
|
|
6817
6817
|
}
|
|
6818
|
-
}),
|
|
6818
|
+
}), xs = /* @__PURE__ */ P({
|
|
6819
6819
|
__name: "VStructureChooserUiRotator",
|
|
6820
6820
|
props: {
|
|
6821
6821
|
structureChooserData: {},
|
|
@@ -6833,19 +6833,19 @@ const ks = {
|
|
|
6833
6833
|
}), be(() => {
|
|
6834
6834
|
i("onSceneChange", l.value);
|
|
6835
6835
|
});
|
|
6836
|
-
const u = E(() => v.value ? !1 : t.value.loopable ? !0 : l.value !== t.value.
|
|
6836
|
+
const u = E(() => v.value ? !1 : t.value.loopable ? !0 : l.value !== t.value.stillCameraIndices[0]), s = E(() => v.value ? !1 : t.value.loopable ? !0 : l.value !== t.value.stillCameraIndices[t.value.stillCameraIndices.length - 1]);
|
|
6837
6837
|
function h() {
|
|
6838
6838
|
const m = l.value;
|
|
6839
|
-
let y = t.value.
|
|
6840
|
-
y >= t.value.
|
|
6841
|
-
const b = t.value.
|
|
6839
|
+
let y = t.value.stillCameraIndices.findIndex((_) => _ === m) + 1;
|
|
6840
|
+
y >= t.value.stillCameraIndices.length && (y = 0);
|
|
6841
|
+
const b = t.value.stillCameraIndices[y];
|
|
6842
6842
|
t.value.loopable && m > b, d(m, b);
|
|
6843
6843
|
}
|
|
6844
6844
|
async function S() {
|
|
6845
6845
|
const m = l.value;
|
|
6846
|
-
let y = t.value.
|
|
6847
|
-
y < 0 && (y = t.value.
|
|
6848
|
-
const b = t.value.
|
|
6846
|
+
let y = t.value.stillCameraIndices.findIndex((_) => _ === m) - 1;
|
|
6847
|
+
y < 0 && (y = t.value.stillCameraIndices.length - 1);
|
|
6848
|
+
const b = t.value.stillCameraIndices[y];
|
|
6849
6849
|
t.value.loopable && m < b, d(m, b);
|
|
6850
6850
|
}
|
|
6851
6851
|
function g(m) {
|
|
@@ -6876,7 +6876,7 @@ const ks = {
|
|
|
6876
6876
|
}
|
|
6877
6877
|
return (m, y) => {
|
|
6878
6878
|
const b = V("v-btn");
|
|
6879
|
-
return p(),
|
|
6879
|
+
return p(), A(ue, null, [
|
|
6880
6880
|
k(b, {
|
|
6881
6881
|
class: "mx-2",
|
|
6882
6882
|
icon: "mdi-restore",
|
|
@@ -6895,7 +6895,7 @@ const ks = {
|
|
|
6895
6895
|
], 64);
|
|
6896
6896
|
};
|
|
6897
6897
|
}
|
|
6898
|
-
}),
|
|
6898
|
+
}), As = ["innerHTML"], Fs = /* @__PURE__ */ P({
|
|
6899
6899
|
__name: "VStructureChooserOverlay",
|
|
6900
6900
|
props: {
|
|
6901
6901
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -6979,14 +6979,14 @@ const ks = {
|
|
|
6979
6979
|
}
|
|
6980
6980
|
return (g, d) => (p(), T(Ve, null, {
|
|
6981
6981
|
default: C(() => [
|
|
6982
|
-
(p(),
|
|
6982
|
+
(p(), A("div", {
|
|
6983
6983
|
ref_key: "svgContainer",
|
|
6984
6984
|
ref: u,
|
|
6985
6985
|
key: R(o).overlayFilename,
|
|
6986
6986
|
class: "w-100 h-100 position-absolute top-left",
|
|
6987
6987
|
style: { "z-index": "5" },
|
|
6988
6988
|
innerHTML: v.value
|
|
6989
|
-
}, null, 8,
|
|
6989
|
+
}, null, 8, As))
|
|
6990
6990
|
]),
|
|
6991
6991
|
_: 1
|
|
6992
6992
|
}));
|
|
@@ -7000,8 +7000,8 @@ function Ms(r) {
|
|
|
7000
7000
|
"latitude",
|
|
7001
7001
|
"longitude",
|
|
7002
7002
|
"structures",
|
|
7003
|
-
"
|
|
7004
|
-
"
|
|
7003
|
+
"stillCameraIndices",
|
|
7004
|
+
"stillCameraData",
|
|
7005
7005
|
"loopable",
|
|
7006
7006
|
"cameras"
|
|
7007
7007
|
];
|
|
@@ -7067,8 +7067,8 @@ function Bs(r) {
|
|
|
7067
7067
|
name: i,
|
|
7068
7068
|
type: "building"
|
|
7069
7069
|
})),
|
|
7070
|
-
|
|
7071
|
-
|
|
7070
|
+
stillCameraIndices: r.cameras.map((o, i) => i),
|
|
7071
|
+
stillCameraData: r.buildings.map(({ id: o }) => ({ bestIndex: 0, id: o })),
|
|
7072
7072
|
loopable: !1,
|
|
7073
7073
|
cameras: r.cameras.map((o) => {
|
|
7074
7074
|
var l;
|
|
@@ -7124,14 +7124,14 @@ function Bs(r) {
|
|
|
7124
7124
|
name: l,
|
|
7125
7125
|
type: "building"
|
|
7126
7126
|
})),
|
|
7127
|
-
|
|
7128
|
-
|
|
7127
|
+
stillCameraIndices: [0],
|
|
7128
|
+
stillCameraData: r.buildings.map(({ id: i }) => ({ bestIndex: 0, id: i })),
|
|
7129
7129
|
loopable: !1,
|
|
7130
7130
|
cameras: [
|
|
7131
7131
|
{
|
|
7132
7132
|
cameraName: "",
|
|
7133
7133
|
cameraPosition: r.cameraPosition,
|
|
7134
|
-
cameraRotation:
|
|
7134
|
+
cameraRotation: xt(
|
|
7135
7135
|
r.cameraRotation.normalized || r.cameraRotation
|
|
7136
7136
|
),
|
|
7137
7137
|
cameraFov: r.cameraFov,
|
|
@@ -7168,9 +7168,9 @@ function Bs(r) {
|
|
|
7168
7168
|
name: o,
|
|
7169
7169
|
type: "unit"
|
|
7170
7170
|
})),
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7171
|
+
stillCameraIndices: r.scenes,
|
|
7172
|
+
stillCameraData: r.unitData.map(({ bestScene: o, unitId: i }) => ({
|
|
7173
|
+
bestIndex: o,
|
|
7174
7174
|
id: i
|
|
7175
7175
|
})),
|
|
7176
7176
|
loopable: r.loopable,
|
|
@@ -7229,7 +7229,7 @@ function Bs(r) {
|
|
|
7229
7229
|
u = o[v].filename, s = {
|
|
7230
7230
|
cameraName: `Camera ${l + 1}`,
|
|
7231
7231
|
cameraPosition: void 0,
|
|
7232
|
-
cameraRotation: r.sceneCameras && (n = r.sceneCameras.find((h) => h.scene === l)) != null && n.cameraRotation ?
|
|
7232
|
+
cameraRotation: r.sceneCameras && (n = r.sceneCameras.find((h) => h.scene === l)) != null && n.cameraRotation ? xt(
|
|
7233
7233
|
(t = r.sceneCameras.find((h) => h.scene === l)) == null ? void 0 : t.cameraRotation
|
|
7234
7234
|
) : void 0,
|
|
7235
7235
|
cameraFov: 0,
|
|
@@ -7264,11 +7264,11 @@ function Bs(r) {
|
|
|
7264
7264
|
name: l,
|
|
7265
7265
|
type: "unit"
|
|
7266
7266
|
})),
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7267
|
+
stillCameraIndices: r.scenes,
|
|
7268
|
+
stillCameraData: r.sceneData.map(({ apartmentID: l, bestScene: v }) => ({
|
|
7269
|
+
bestIndex: i.findIndex((u) => u === v) in r.scenes ? r.scenes[i.findIndex((u) => u === v)] : null,
|
|
7270
7270
|
id: l
|
|
7271
|
-
})).filter(({
|
|
7271
|
+
})).filter(({ bestIndex: l }) => l !== null),
|
|
7272
7272
|
loopable: !0,
|
|
7273
7273
|
cameras: o
|
|
7274
7274
|
};
|
|
@@ -7276,7 +7276,7 @@ function Bs(r) {
|
|
|
7276
7276
|
throw new Error("cannot convert data, no conversion source type found");
|
|
7277
7277
|
}
|
|
7278
7278
|
}
|
|
7279
|
-
function
|
|
7279
|
+
function xt({ x: r, y: a, z: e }) {
|
|
7280
7280
|
return {
|
|
7281
7281
|
x: r,
|
|
7282
7282
|
y: a,
|
|
@@ -7327,7 +7327,7 @@ const Rs = {
|
|
|
7327
7327
|
Le,
|
|
7328
7328
|
i.value ? new Fe(i.value) : new Fe()
|
|
7329
7329
|
);
|
|
7330
|
-
const m = f(), y = f(), b = f(), _ = f(null), B = f(4), L = f(), Y = f(!1), I = f(!1), w = f(), z = f(), M = E(() => z.value.isHoverEnabled), W = f({ x: 0, y: 0, width: 0, height: 0 }),
|
|
7330
|
+
const m = f(), y = f(), b = f(), _ = f(null), B = f(4), L = f(), Y = f(!1), I = f(!1), w = f(), z = f(), M = E(() => z.value.isHoverEnabled), W = f({ x: 0, y: 0, width: 0, height: 0 }), x = f(), O = f(), j = f(), Q = f(!1);
|
|
7331
7331
|
ye(() => {
|
|
7332
7332
|
Y.value = !0;
|
|
7333
7333
|
});
|
|
@@ -7415,7 +7415,7 @@ const Rs = {
|
|
|
7415
7415
|
function De(J) {
|
|
7416
7416
|
const le = b.value;
|
|
7417
7417
|
y.value = J, Ce(() => {
|
|
7418
|
-
|
|
7418
|
+
xe(
|
|
7419
7419
|
y.value.timeSamples.find(
|
|
7420
7420
|
(he) => he.timeInHours === le.timeInHours
|
|
7421
7421
|
) || y.value.timeSamples.find(
|
|
@@ -7424,15 +7424,15 @@ const Rs = {
|
|
|
7424
7424
|
);
|
|
7425
7425
|
});
|
|
7426
7426
|
}
|
|
7427
|
-
function
|
|
7427
|
+
function xe(J) {
|
|
7428
7428
|
b.value = J;
|
|
7429
7429
|
}
|
|
7430
7430
|
function Se(J) {
|
|
7431
7431
|
d("onClick", J, () => {
|
|
7432
|
-
const le = j.value.
|
|
7432
|
+
const le = j.value.stillCameraData.find(
|
|
7433
7433
|
(he) => he.id === J
|
|
7434
7434
|
);
|
|
7435
|
-
le && w.value.rotateShortestRoute(le.
|
|
7435
|
+
le && w.value.rotateShortestRoute(le.bestIndex);
|
|
7436
7436
|
});
|
|
7437
7437
|
}
|
|
7438
7438
|
function Me(J) {
|
|
@@ -7441,11 +7441,11 @@ const Rs = {
|
|
|
7441
7441
|
function Oe(J) {
|
|
7442
7442
|
d("onHoverOut", J), L.value = void 0;
|
|
7443
7443
|
}
|
|
7444
|
-
function
|
|
7444
|
+
function Ae(J) {
|
|
7445
7445
|
const { layerX: le, layerY: he } = J;
|
|
7446
7446
|
let Z = J.target, q = !1;
|
|
7447
7447
|
for (; Z; )
|
|
7448
|
-
if (Z ===
|
|
7448
|
+
if (Z === x.value) {
|
|
7449
7449
|
q = !0;
|
|
7450
7450
|
break;
|
|
7451
7451
|
} else
|
|
@@ -7464,7 +7464,7 @@ const Rs = {
|
|
|
7464
7464
|
}
|
|
7465
7465
|
return (J, le) => {
|
|
7466
7466
|
const he = V("v-text-field"), Z = V("v-skeleton-loader");
|
|
7467
|
-
return p(),
|
|
7467
|
+
return p(), A(ue, null, [
|
|
7468
7468
|
k(Z, {
|
|
7469
7469
|
type: "image",
|
|
7470
7470
|
class: "w-100 h-100 position-relative",
|
|
@@ -7478,10 +7478,10 @@ const Rs = {
|
|
|
7478
7478
|
ref: O,
|
|
7479
7479
|
class: ge({ mobile: Q.value }),
|
|
7480
7480
|
style: { "min-height": "104px" },
|
|
7481
|
-
onMousemove:
|
|
7481
|
+
onMousemove: Ae
|
|
7482
7482
|
}, [
|
|
7483
7483
|
c("div", Rs, [
|
|
7484
|
-
oe.value ? (p(),
|
|
7484
|
+
oe.value ? (p(), A("div", {
|
|
7485
7485
|
key: 0,
|
|
7486
7486
|
class: ge({
|
|
7487
7487
|
"pa-1": !0,
|
|
@@ -7507,7 +7507,7 @@ const Rs = {
|
|
|
7507
7507
|
"prepend-inner-icon": "mdi-camera"
|
|
7508
7508
|
}, null, 8, ["value"])) : $("", !0)
|
|
7509
7509
|
], 2)) : $("", !0),
|
|
7510
|
-
F.value ? (p(),
|
|
7510
|
+
F.value ? (p(), A("div", {
|
|
7511
7511
|
key: 1,
|
|
7512
7512
|
class: ge({
|
|
7513
7513
|
"pa-1": !0,
|
|
@@ -7533,7 +7533,7 @@ const Rs = {
|
|
|
7533
7533
|
"prepend-inner-icon": "mdi-calendar"
|
|
7534
7534
|
}, null, 8, ["value"])) : $("", !0)
|
|
7535
7535
|
], 2)) : $("", !0),
|
|
7536
|
-
U.value ? (p(),
|
|
7536
|
+
U.value ? (p(), A("div", {
|
|
7537
7537
|
key: 2,
|
|
7538
7538
|
class: ge({
|
|
7539
7539
|
"pa-1": !0,
|
|
@@ -7546,7 +7546,7 @@ const Rs = {
|
|
|
7546
7546
|
"current-day": y.value,
|
|
7547
7547
|
"current-time": b.value,
|
|
7548
7548
|
disabled: I.value,
|
|
7549
|
-
onOnTimeChange:
|
|
7549
|
+
onOnTimeChange: xe
|
|
7550
7550
|
}, null, 8, ["current-day", "current-time", "disabled"])) : y.value.timeSamples.length === 1 ? (p(), T(he, {
|
|
7551
7551
|
key: 1,
|
|
7552
7552
|
readonly: "",
|
|
@@ -7559,7 +7559,7 @@ const Rs = {
|
|
|
7559
7559
|
], 2)) : $("", !0)
|
|
7560
7560
|
]),
|
|
7561
7561
|
c("div", $s, [
|
|
7562
|
-
j.value.cameras.length > 1 ? (p(), T(
|
|
7562
|
+
j.value.cameras.length > 1 ? (p(), T(xs, {
|
|
7563
7563
|
key: 0,
|
|
7564
7564
|
ref_key: "rotator",
|
|
7565
7565
|
ref: w,
|
|
@@ -7592,7 +7592,7 @@ const Rs = {
|
|
|
7592
7592
|
]),
|
|
7593
7593
|
k(qe, { position: "relative" }, {
|
|
7594
7594
|
default: C(() => [
|
|
7595
|
-
(p(!0),
|
|
7595
|
+
(p(!0), A(ue, null, fe(G.value, (q, re) => (p(), T(hs, {
|
|
7596
7596
|
key: `camera${re}`,
|
|
7597
7597
|
"camera-data": q,
|
|
7598
7598
|
"cdn-file-resolver": R(t),
|
|
@@ -7600,13 +7600,13 @@ const Rs = {
|
|
|
7600
7600
|
"current-day": y.value,
|
|
7601
7601
|
"current-time": b.value
|
|
7602
7602
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
7603
|
-
(p(!0),
|
|
7603
|
+
(p(!0), A(ue, null, fe(ne.value, (q, re) => (p(), T(_s, {
|
|
7604
7604
|
key: `transition${re}`,
|
|
7605
7605
|
"transition-data": q,
|
|
7606
7606
|
"cdn-file-resolver": R(t),
|
|
7607
7607
|
"current-transition": _.value
|
|
7608
7608
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
7609
|
-
R(l) ? (p(),
|
|
7609
|
+
R(l) ? (p(), A("div", {
|
|
7610
7610
|
key: 0,
|
|
7611
7611
|
class: "w-100 h-100 position-absolute top-left",
|
|
7612
7612
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
@@ -7621,7 +7621,7 @@ const Rs = {
|
|
|
7621
7621
|
onOnClick: Se,
|
|
7622
7622
|
onOnHoverOver: Me,
|
|
7623
7623
|
onOnHoverOut: Oe,
|
|
7624
|
-
onUpdateSvgContainer: le[2] || (le[2] = (q) =>
|
|
7624
|
+
onUpdateSvgContainer: le[2] || (le[2] = (q) => x.value = q)
|
|
7625
7625
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])), [
|
|
7626
7626
|
[pe, _.value === null]
|
|
7627
7627
|
]) : $("", !0)
|
|
@@ -7654,7 +7654,7 @@ const Rs = {
|
|
|
7654
7654
|
], 64);
|
|
7655
7655
|
};
|
|
7656
7656
|
}
|
|
7657
|
-
}), Ps = /* @__PURE__ */ ee(js, [["__scopeId", "data-v-
|
|
7657
|
+
}), Ps = /* @__PURE__ */ ee(js, [["__scopeId", "data-v-2e5b53d8"]]), qs = {
|
|
7658
7658
|
install: function(a) {
|
|
7659
7659
|
a.component("VApartmentChooser", En), a.component("VBuildingChooser", ja), a.component("VVirtualTour", Wr), a.component("VManualSlideShow", cs), a.component("VStructureChooser", Ps);
|
|
7660
7660
|
}
|