@expofp/floorplan 3.2.7 → 3.2.8
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/browser/{CookieConsent-C0WrwOQU.js → CookieConsent-B1LE7YfT.js} +1785 -1798
- package/dist/browser/{Debug-7KOvbcgu.js → Debug-DhDzWQYS.js} +9 -9
- package/dist/browser/{Demo-BTrpOaT8.js → Demo-D_175gLz.js} +11 -11
- package/dist/browser/{Free-1JPcV1Tq.js → Free-eF7PbjEi.js} +13 -13
- package/dist/browser/{Gallery-PP-H3fui.js → Gallery-BA-pvWo8.js} +9 -9
- package/dist/browser/{GpsLoader-pif05qaO.js → GpsLoader-CfS8cpM_.js} +14 -14
- package/dist/browser/{KioskStore-BmqfGXEW.js → KioskStore-D6ga9Qev.js} +3 -3
- package/dist/browser/{Mapbox-BEO3oA1E.js → Mapbox-B2UgukAw.js} +37 -37
- package/dist/browser/{SetKioskMode-BjyRxPem.js → SetKioskMode-DN9dYtQq.js} +17 -17
- package/dist/browser/{ShowKiosk-DrNFPO0o.js → ShowKiosk-NOvinyaO.js} +10 -10
- package/dist/browser/{ThreeComponent-CkTRDPj-.js → ThreeComponent-Dd6C-3ZE.js} +156 -156
- package/dist/browser/{TouchHand-BX9ElW6V.js → TouchHand-D4zCIp9f.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BpxIaNdU.js → ViewerMenuPanel-3gfsNYAC.js} +13 -13
- package/dist/browser/{add-debug-secret-listener-BV3Vlx9C.js → add-debug-secret-listener-PCn2L2xn.js} +1 -1
- package/dist/browser/{boolean-editor-DfkvcIH0.js → boolean-editor-C62I7paI.js} +10 -10
- package/dist/browser/{bootIntercom-XKKrQyNd.js → bootIntercom-CJp5myUd.js} +2 -2
- package/dist/browser/{box-Cy-U95_G.js → box-BllGyNzW.js} +5 -5
- package/dist/browser/{browser-oUjLaYcl.js → browser-hErw7TCJ.js} +2 -2
- package/dist/browser/bundle.json +53 -53
- package/dist/browser/{classnames-DpaK9tQ8.js → classnames-DZ15rBvY.js} +2 -2
- package/dist/browser/{client-smunwL9U.js → client-vSscuHGN.js} +4 -4
- package/dist/browser/{data-BVaCNE1I.js → data-Pg90oQgy.js} +44 -44
- package/dist/browser/{debug-overlay-CYWt6Xv8.js → debug-overlay-Cz0LzO7B.js} +11 -11
- package/dist/browser/{debug-ui-D63K4FZz.js → debug-ui-HOJ52C7W.js} +6 -6
- package/dist/browser/{dist-irw0I8ne.js → dist-B-j5Mwk6.js} +5 -5
- package/dist/browser/{dist-BU_A8R-K.js → dist-D1FyJZyA.js} +6 -6
- package/dist/browser/{dist-XBFUxmAT.js → dist-Di6V6Vgc.js} +3 -3
- package/dist/browser/{efp-debug-init-CPGmIrNj.js → efp-debug-init-GJ1wnZRj.js} +2 -2
- package/dist/browser/{enum-editor-B_JVlLVN.js → enum-editor-DDYy1Hf6.js} +11 -11
- package/dist/browser/{exports-C5NN5UxX.js → exports-D2FWPMfV.js} +1 -1
- package/dist/browser/{favicon-B0nAd4Pr.js → favicon-CLnUT7_M.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DBq0GieJ.js → fetch-retry.umd-CsTB0zFM.js} +2 -2
- package/dist/browser/{flex-DOhgUp1k.js → flex-fdrXlk1E.js} +6 -6
- package/dist/browser/{flex.props-D8JHoC5B.js → flex.props-CKl-laU4.js} +2 -2
- package/dist/browser/{floorplan.loader-Cme4mipd.js → floorplan.loader-B9u5roId.js} +9 -9
- package/dist/browser/{floorplan.ready-C25lQjgP.js → floorplan.ready-DhqJ6xoZ.js} +12 -12
- package/dist/browser/{fuse-D1o3bI0m.js → fuse-BiPQjoVv.js} +2 -2
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-D9BzIDdu.js → is-debug-DatwRSE7.js} +3 -3
- package/dist/browser/{jsx-runtime-C0zFKVvF.js → jsx-runtime-IE8skafD.js} +2 -2
- package/dist/browser/{lib-D2sBqUIY.js → lib-DeP5xNNM.js} +4 -4
- package/dist/browser/{main-GLYY8zv3.js → main-DHo0y8hQ.js} +1 -1
- package/dist/browser/{mobx-D5pYBM85.js → mobx-CrV9DCMJ.js} +4 -4
- package/dist/browser/{particles.min-egXyIDIV.js → particles.min-CvpZUl3e.js} +2 -2
- package/dist/browser/{prop-types-xhHzBbvi.js → prop-types-BHwYgrUd.js} +2 -2
- package/dist/browser/{react-CanbjT5I.js → react-B3Fm-ZS0.js} +2 -2
- package/dist/browser/{react-dom-wNBYs_H5.js → react-dom-CySklTOi.js} +3 -3
- package/dist/browser/{reset-all-settings-5oUUws5J.js → reset-all-settings-Cl74zGyE.js} +7 -7
- package/dist/browser/{rolldown-runtime-BKpHzyBK.js → rolldown-runtime-BAuBEODA.js} +1 -1
- package/dist/browser/{settings-D5qqIejY.js → settings-BIgQOlLC.js} +2 -2
- package/dist/browser/{settings-item-Blm7DAEt.js → settings-item-CMHd9Vr7.js} +6 -6
- package/dist/browser/{store-CM7rJpRZ.js → store-WG-XbhCX.js} +4261 -4354
- package/dist/browser/{string-editor-CLdOCbq2.js → string-editor-Cdda3m3H.js} +8 -8
- package/dist/browser/{theme-App4ywLP.js → theme-CEfCl0Wg.js} +8 -8
- package/dist/browser/{ui-BN6m_5pK.js → ui-Cxw-zCCr.js} +8 -8
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/SearchBox.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +0 -1
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/utils/customCommands.d.ts +1 -1
- package/dist/esm/utils/customCommands.js +1 -1
- package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.js +1 -1
- package/package.json +3 -3
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +0 -14
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +0 -1
- package/dist/esm/components/Map/drawing/config/config-yah.d.ts +0 -2
- package/dist/esm/components/Map/drawing/config/config-yah.js +0 -1
- package/dist/esm/utils/yah.d.ts +0 -8
- package/dist/esm/utils/yah.js +0 -1
|
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4badb9a5-ac9b-4507-b643-dd4105d1642e", e._sentryDebugIdIdentifier = "sentry-dbid-4badb9a5-ac9b-4507-b643-dd4105d1642e");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { t as e } from "./react-
|
|
12
|
-
import { t } from "./jsx-runtime-
|
|
13
|
-
import { u as n } from "./is-debug-
|
|
14
|
-
import {
|
|
10
|
+
import "./rolldown-runtime-BAuBEODA.js";
|
|
11
|
+
import { t as e } from "./react-B3Fm-ZS0.js";
|
|
12
|
+
import { t } from "./jsx-runtime-IE8skafD.js";
|
|
13
|
+
import { u as n } from "./is-debug-DatwRSE7.js";
|
|
14
|
+
import { er as r, o as i, s as a } from "./store-WG-XbhCX.js";
|
|
15
15
|
e();
|
|
16
16
|
var o = [], s = t();
|
|
17
17
|
function c() {
|
|
@@ -36,7 +36,7 @@ function c() {
|
|
|
36
36
|
className: "debug",
|
|
37
37
|
children: [
|
|
38
38
|
/* @__PURE__ */ (0, s.jsx)("button", {
|
|
39
|
-
onClick: () =>
|
|
39
|
+
onClick: () => i.searchStore.selectSearch(""),
|
|
40
40
|
children: n("Close")
|
|
41
41
|
}),
|
|
42
42
|
/* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", e] }),
|
|
@@ -44,7 +44,7 @@ function c() {
|
|
|
44
44
|
]
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
var l = () =>
|
|
47
|
+
var l = () => r(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
|
|
48
48
|
//#endregion
|
|
49
49
|
export { l as default };
|
|
50
50
|
|
|
@@ -2,25 +2,25 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7bddf2ff-98d9-49cf-a90f-2ba5eb9e371c", e._sentryDebugIdIdentifier = "sentry-dbid-7bddf2ff-98d9-49cf-a90f-2ba5eb9e371c");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { u as i } from "./is-debug-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-BAuBEODA.js";
|
|
11
|
+
import { t as n } from "./react-B3Fm-ZS0.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-IE8skafD.js";
|
|
13
|
+
import { u as i } from "./is-debug-DatwRSE7.js";
|
|
14
|
+
import { t as a } from "./classnames-DZ15rBvY.js";
|
|
15
|
+
import { $n as o, er as s, s as c } from "./store-WG-XbhCX.js";
|
|
16
|
+
import { n as l } from "./mobx-CrV9DCMJ.js";
|
|
17
17
|
n();
|
|
18
18
|
var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
|
|
19
19
|
function m() {
|
|
20
20
|
let e = o(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get top() {
|
|
23
|
-
return
|
|
23
|
+
return c.screenSize.width <= 820;
|
|
24
24
|
},
|
|
25
25
|
get classes() {
|
|
26
26
|
return (0, u.default)({
|
|
@@ -34,7 +34,7 @@ function m() {
|
|
|
34
34
|
sessionStorage.getItem(p) || window.setTimeout(() => {
|
|
35
35
|
e.hidden = !1;
|
|
36
36
|
}, 2e3);
|
|
37
|
-
}),
|
|
37
|
+
}), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
38
38
|
className: e.classes,
|
|
39
39
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
40
40
|
className: "demo__message",
|
|
@@ -2,18 +2,18 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4c43650a-ade5-4d42-8150-720576465b9e", e._sentryDebugIdIdentifier = "sentry-dbid-4c43650a-ade5-4d42-8150-720576465b9e");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { u as r } from "./is-debug-
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-BAuBEODA.js";
|
|
11
|
+
import { t } from "./react-B3Fm-ZS0.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-IE8skafD.js";
|
|
13
|
+
import { u as r } from "./is-debug-DatwRSE7.js";
|
|
14
|
+
import { t as i } from "./classnames-DZ15rBvY.js";
|
|
15
|
+
import { $n as a, er as o, l as s, s as c, u as l } from "./store-WG-XbhCX.js";
|
|
16
|
+
import { n as u } from "./mobx-CrV9DCMJ.js";
|
|
17
17
|
t();
|
|
18
18
|
var d = /* @__PURE__ */ e(i(), 1), f = n();
|
|
19
19
|
function p() {
|
|
@@ -24,10 +24,10 @@ function p() {
|
|
|
24
24
|
}
|
|
25
25
|
}));
|
|
26
26
|
return u(() => {
|
|
27
|
-
|
|
27
|
+
c.freeBannerDismissed || window.setTimeout(() => {
|
|
28
28
|
e.hidden = !1;
|
|
29
29
|
}, 2e3);
|
|
30
|
-
}),
|
|
30
|
+
}), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
31
31
|
className: e.classes,
|
|
32
32
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
33
33
|
className: "free__message",
|
|
@@ -35,7 +35,7 @@ function p() {
|
|
|
35
35
|
r("Create a free floor plan at"),
|
|
36
36
|
"\xA0",
|
|
37
37
|
/* @__PURE__ */ (0, f.jsx)("a", {
|
|
38
|
-
href:
|
|
38
|
+
href: s(),
|
|
39
39
|
target: "_blank",
|
|
40
40
|
rel: "noopener noreferrer",
|
|
41
41
|
children: "ExpoFP.com"
|
|
@@ -53,7 +53,7 @@ function p() {
|
|
|
53
53
|
})] })
|
|
54
54
|
}));
|
|
55
55
|
function t() {
|
|
56
|
-
e.hidden = !0, l(sessionStorage),
|
|
56
|
+
e.hidden = !0, l(sessionStorage), c.freeBannerDismissed = !0;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
@@ -2,18 +2,18 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "256a5f0e-2bfd-4a22-a495-0eda4be8cdb0", e._sentryDebugIdIdentifier = "sentry-dbid-256a5f0e-2bfd-4a22-a495-0eda4be8cdb0");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { u as i } from "./is-debug-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-BAuBEODA.js";
|
|
11
|
+
import { t as n } from "./react-B3Fm-ZS0.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-IE8skafD.js";
|
|
13
|
+
import { u as i } from "./is-debug-DatwRSE7.js";
|
|
14
|
+
import { t as a } from "./react-dom-CySklTOi.js";
|
|
15
|
+
import { t as o } from "./classnames-DZ15rBvY.js";
|
|
16
|
+
import { Qn as s, s as c } from "./store-WG-XbhCX.js";
|
|
17
17
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
18
18
|
var l = /* @__PURE__ */ t(n(), 1), u = r(), d = /* @__PURE__ */ t(a(), 1), f = /* @__PURE__ */ t(o(), 1);
|
|
19
19
|
function p(e) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5f9f117a-e32c-4d7b-8d47-c7676c3bf756", e._sentryDebugIdIdentifier = "sentry-dbid-5f9f117a-e32c-4d7b-8d47-c7676c3bf756");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { Et as r, dt as i, u as a } from "./is-debug-
|
|
13
|
-
import {
|
|
14
|
-
import { n as d } from "./CookieConsent-
|
|
15
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BAuBEODA.js";
|
|
10
|
+
import { t } from "./react-B3Fm-ZS0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-IE8skafD.js";
|
|
12
|
+
import { Et as r, dt as i, u as a } from "./is-debug-DatwRSE7.js";
|
|
13
|
+
import { Ct as o, M as s, Qn as c, o as l, st as u } from "./store-WG-XbhCX.js";
|
|
14
|
+
import { n as d } from "./CookieConsent-B1LE7YfT.js";
|
|
15
|
+
import { r as f } from "./mobx-CrV9DCMJ.js";
|
|
16
16
|
//#region src/components/gps/utils.ts
|
|
17
17
|
var p = /* @__PURE__ */ e(t(), 1);
|
|
18
18
|
function m(e) {
|
|
@@ -77,7 +77,7 @@ function y(e) {
|
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
80
|
-
var b = n(), x =
|
|
80
|
+
var b = n(), x = c(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
81
81
|
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
82
82
|
title: a("Show your position on the map"),
|
|
83
83
|
acceptText: a("Allow compass access"),
|
|
@@ -89,7 +89,7 @@ var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
|
89
89
|
});
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/gps/GpsManager.tsx
|
|
92
|
-
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed:
|
|
92
|
+
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: s = !0 }) {
|
|
93
93
|
let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
|
|
94
94
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
95
95
|
m(!0), l();
|
|
@@ -108,7 +108,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
108
108
|
localStorage.setItem(i, "false"), g(!1), n == null || n();
|
|
109
109
|
}, [n]);
|
|
110
110
|
return (0, p.useEffect)(() => {
|
|
111
|
-
if (!f || !
|
|
111
|
+
if (!f || !s || typeof navigator > "u" || !o) return;
|
|
112
112
|
let e = localStorage.getItem(i);
|
|
113
113
|
if (!e || a) {
|
|
114
114
|
g(!0);
|
|
@@ -118,7 +118,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
118
118
|
}, [
|
|
119
119
|
f,
|
|
120
120
|
a,
|
|
121
|
-
|
|
121
|
+
s,
|
|
122
122
|
_
|
|
123
123
|
]), /* @__PURE__ */ (0, b.jsx)(x, {
|
|
124
124
|
isOpen: h,
|
|
@@ -130,7 +130,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
130
130
|
//#region src/components/GpsLoader.tsx
|
|
131
131
|
function C({ requestCompassAllowed: e }) {
|
|
132
132
|
let [t, n] = (0, p.useState)(!1), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
133
|
-
l.routeStore.selectCurrentPosition(new
|
|
133
|
+
l.routeStore.selectCurrentPosition(new s(0, 0, 0, n || r, e, t), !1);
|
|
134
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
135
135
|
l.routeStore.requestCompass = void 0, n(!1);
|
|
136
136
|
}, [n]), o = (0, p.useCallback)(() => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b44d7e71-6cb4-495b-9c63-89d0f0b3168c", e._sentryDebugIdIdentifier = "sentry-dbid-b44d7e71-6cb4-495b-9c63-89d0f0b3168c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { S as e, b as t, h as n, p as r, u as i, v as a } from "./is-debug-
|
|
10
|
-
import { D as o, E as s, Ft as c, O as l, gt as u, o as d } from "./store-
|
|
9
|
+
import { S as e, b as t, h as n, p as r, u as i, v as a } from "./is-debug-DatwRSE7.js";
|
|
10
|
+
import { D as o, E as s, Ft as c, O as l, gt as u, o as d } from "./store-WG-XbhCX.js";
|
|
11
11
|
//#region src/components/Map/visibleArea.ts
|
|
12
12
|
function f(e) {
|
|
13
13
|
let t = c(e.viewport.canvasToSvg({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "07d92a3b-55ce-4d18-9d8c-c722f0a49479", e._sentryDebugIdIdentifier = "sentry-dbid-07d92a3b-55ce-4d18-9d8c-c722f0a49479");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import {
|
|
14
|
-
import { r as d } from "./mobx-
|
|
15
|
-
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BAuBEODA.js";
|
|
10
|
+
import { t } from "./react-B3Fm-ZS0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-IE8skafD.js";
|
|
12
|
+
import { t as r } from "./classnames-DZ15rBvY.js";
|
|
13
|
+
import { $n as i, Xn as a, er as o, o as s, qn as c, s as l, t as u } from "./store-WG-XbhCX.js";
|
|
14
|
+
import { r as d } from "./mobx-CrV9DCMJ.js";
|
|
15
|
+
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-Pg90oQgy.js";
|
|
16
16
|
//#region src/components/Mapbox/Mapbox.tsx
|
|
17
17
|
var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
|
|
18
18
|
function A() {
|
|
19
|
-
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f =
|
|
19
|
+
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = i(() => ({
|
|
20
20
|
get initselected() {
|
|
21
|
-
return ![...
|
|
21
|
+
return ![...l.selectedBooths].filter((e) => e.rect);
|
|
22
22
|
},
|
|
23
23
|
get actualCurrentPosition() {
|
|
24
24
|
let e = s.routeStore.currentPosition;
|
|
@@ -30,11 +30,11 @@ function A() {
|
|
|
30
30
|
}));
|
|
31
31
|
return (0, O.useEffect)(() => {
|
|
32
32
|
if (!t.current) {
|
|
33
|
-
var { cx: n, cy:
|
|
33
|
+
var { cx: n, cy: i } = x.viewbox;
|
|
34
34
|
t.current = new D.default.Map({
|
|
35
35
|
container: e.current,
|
|
36
36
|
style: `mapbox://styles/mapbox/${x.style}`,
|
|
37
|
-
center: [n,
|
|
37
|
+
center: [n, i],
|
|
38
38
|
zoom: 15.5,
|
|
39
39
|
bearing: x.initBearing - 30,
|
|
40
40
|
pitch: x.initPitch + 30,
|
|
@@ -43,7 +43,7 @@ function A() {
|
|
|
43
43
|
accessToken: x.token
|
|
44
44
|
}), T(t.current), t.current.on("load", async () => {
|
|
45
45
|
var e;
|
|
46
|
-
setTimeout(() => p(f.initselected ? a.fromMultiple([...
|
|
46
|
+
setTimeout(() => p(f.initselected ? a.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : c, 15, 4e3), 1500), t.current.setLight({
|
|
47
47
|
anchor: "viewport",
|
|
48
48
|
color: "white",
|
|
49
49
|
intensity: 0
|
|
@@ -53,8 +53,8 @@ function A() {
|
|
|
53
53
|
x: s.routeStore.defaultFrom.rect.cx,
|
|
54
54
|
y: s.routeStore.defaultFrom.rect.cy
|
|
55
55
|
} : null), h("cp", f.actualCurrentPosition), r = y(s.layerStore.layers);
|
|
56
|
-
let
|
|
57
|
-
b(s.routeStore), w(), t.current.on("mouseenter",
|
|
56
|
+
let i = r.filter((e) => e.indexOf("--") === -1);
|
|
57
|
+
b(s.routeStore), w(), t.current.on("mouseenter", i, () => t.current.getCanvas().style.cursor = "pointer"), t.current.on("mouseleave", i, () => t.current.getCanvas().style.cursor = ""), t.current.on("click", (e) => {
|
|
58
58
|
let n = [[e.point.x - 5, e.point.y - 5], [e.point.x + 5, e.point.y + 5]], i = t.current.queryRenderedFeatures(n, { layers: r })[0], a = s.boothStore.booths.find((e) => {
|
|
59
59
|
var t;
|
|
60
60
|
return e.name === (i == null || (t = i.properties) == null ? void 0 : t.id);
|
|
@@ -63,10 +63,10 @@ function A() {
|
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
}), d(() =>
|
|
67
|
-
if (!
|
|
68
|
-
let e =
|
|
69
|
-
|
|
66
|
+
}), d(() => l.zoomBy, () => {
|
|
67
|
+
if (!l.zoomBy || !s.mapboxStore.showMapbox) return;
|
|
68
|
+
let e = l.zoomBy;
|
|
69
|
+
l.zoomBy = null, t.current.flyTo({
|
|
70
70
|
zoom: t.current.getZoom() + (e > 1 ? .5 : -.5),
|
|
71
71
|
animate: !0,
|
|
72
72
|
duration: 500,
|
|
@@ -75,39 +75,39 @@ function A() {
|
|
|
75
75
|
}), d(() => [
|
|
76
76
|
s.layerStore.loaded,
|
|
77
77
|
s.layerStore.visible,
|
|
78
|
-
|
|
78
|
+
l.selectedRoute
|
|
79
79
|
], () => {
|
|
80
80
|
var e, n;
|
|
81
81
|
r.forEach((e) => {
|
|
82
82
|
let n = e.split("--")[0], r = s.layerStore.layers.find((e) => e.name === n);
|
|
83
83
|
(r.visible || t.current.getLayoutProperty(e, "visibility") !== "none") && t.current.setLayoutProperty(e, "visibility", r.visible ? "visible" : "none");
|
|
84
|
-
}), _([...
|
|
84
|
+
}), _([...l.selectedBooths], s.boothStore.booths), h("yah", (e = s.routeStore.defaultFrom) != null && e.rect && !((n = s.routeStore.defaultFrom) == null || (n = n.layer) == null) && n.visible ? {
|
|
85
85
|
x: s.routeStore.defaultFrom.rect.cx,
|
|
86
86
|
y: s.routeStore.defaultFrom.rect.cy
|
|
87
87
|
} : null), h("cp", f.actualCurrentPosition);
|
|
88
|
-
}), d(() =>
|
|
88
|
+
}), d(() => l.hoveredBooths, () => {
|
|
89
89
|
n && (clearTimeout(n), n = null), n = setTimeout(() => {
|
|
90
|
-
n = null, S([...
|
|
90
|
+
n = null, S([...l.hoveredBooths].filter((e) => {
|
|
91
91
|
var t, n;
|
|
92
92
|
return (t = (n = e.layer) == null ? void 0 : n.visible) == null ? !0 : t;
|
|
93
93
|
}), s.boothStore.booths);
|
|
94
94
|
}, 50);
|
|
95
|
-
}), d(() => [
|
|
95
|
+
}), d(() => [l.selectedBooths, l.listBooths], () => {
|
|
96
96
|
var e = [];
|
|
97
|
-
|
|
97
|
+
l.selectedBooths.size ? e = [...l.selectedBooths] : l.listBooths.size && (l.activeListIndex === 0 || l.list.type === "bookmarks" || l.list.type === "category") && (e = [...l.listBooths]), _(e, s.boothStore.booths);
|
|
98
98
|
}), d(() => s.mapboxStore.showMapbox, () => {
|
|
99
99
|
g(s.mapboxStore.showMapbox);
|
|
100
|
-
}), d(() =>
|
|
101
|
-
if (!
|
|
102
|
-
let e =
|
|
103
|
-
e.length && p(t),
|
|
104
|
-
}), d(() =>
|
|
105
|
-
!
|
|
106
|
-
}), d(() =>
|
|
107
|
-
!
|
|
108
|
-
}), d(() =>
|
|
109
|
-
!
|
|
110
|
-
}), d(() => s.routeStore.routeLines, () => b(s.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)),
|
|
100
|
+
}), d(() => l.moveToBooths, () => {
|
|
101
|
+
if (!l.moveToBooths || !s.mapboxStore.showMapbox) return;
|
|
102
|
+
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = a.fromMultiple(e);
|
|
103
|
+
e.length && p(t), l.moveToBooths = null;
|
|
104
|
+
}), d(() => l.moveToRect, () => {
|
|
105
|
+
!l.moveToRect || !s.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
|
|
106
|
+
}), d(() => l.moveToLocation, () => {
|
|
107
|
+
!l.moveToLocation || !s.mapboxStore.showMapbox || v();
|
|
108
|
+
}), d(() => l.centerMap, () => {
|
|
109
|
+
!l.centerMap || !s.mapboxStore.showMapbox || (p(a.fromMultiple(u.booths.map((e) => e.rect)), 15), l.centerMap = !1);
|
|
110
|
+
}), d(() => s.routeStore.routeLines, () => b(s.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), o(() => /* @__PURE__ */ (0, k.jsx)("div", {
|
|
111
111
|
style: f.style,
|
|
112
112
|
className: (0, E.default)("map-container", { hidden: !s.mapboxStore.showMapbox }),
|
|
113
113
|
children: /* @__PURE__ */ (0, k.jsx)("div", {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8a60fad7-fc5a-4a49-a9cf-724735263acd", e._sentryDebugIdIdentifier = "sentry-dbid-8a60fad7-fc5a-4a49-a9cf-724735263acd");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import {
|
|
13
|
-
import { n as c } from "./mobx-
|
|
14
|
-
import { t as l } from "./KioskStore-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BAuBEODA.js";
|
|
10
|
+
import { t } from "./react-B3Fm-ZS0.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-IE8skafD.js";
|
|
12
|
+
import { Nt as r, Pt as i, Qn as a, k as o, o as s } from "./store-WG-XbhCX.js";
|
|
13
|
+
import { n as c } from "./mobx-CrV9DCMJ.js";
|
|
14
|
+
import { t as l } from "./KioskStore-D6ga9Qev.js";
|
|
15
15
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
-
var u = /* @__PURE__ */ e(t(), 1), d = n(), f =
|
|
16
|
+
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = a(() => {
|
|
17
17
|
var e, t, n;
|
|
18
18
|
c(() => {
|
|
19
19
|
Promise.resolve().then(() => l.handleSetupReady());
|
|
20
20
|
}), (0, u.useEffect)(() => {
|
|
21
21
|
let e = ({ ptScale: e, sceneId: t }) => {
|
|
22
|
-
|
|
22
|
+
r(t) && l.setInitialPtScale(e);
|
|
23
23
|
};
|
|
24
24
|
l.renderer.events.addEventListener("viewport:ptscale", e);
|
|
25
25
|
let t = ({ data: e }) => {
|
|
26
|
-
let { point: t } =
|
|
26
|
+
let { point: t } = i(e);
|
|
27
27
|
l.handleClick(t);
|
|
28
28
|
};
|
|
29
29
|
l.renderer.events.addEventListener("pointer:click", t);
|
|
@@ -32,19 +32,19 @@ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = r(() => {
|
|
|
32
32
|
l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
|
|
33
33
|
};
|
|
34
34
|
}, [l.renderer]);
|
|
35
|
-
let
|
|
35
|
+
let a = !!l.kiosk;
|
|
36
36
|
return /* @__PURE__ */ (0, d.jsx)(o, {
|
|
37
|
-
isSaveDisabled:
|
|
38
|
-
isDeleteDisabled: !
|
|
39
|
-
areControlsDisabled: !
|
|
40
|
-
confirmOnClose:
|
|
37
|
+
isSaveDisabled: a ? !l.hasUnsavedChanges : !0,
|
|
38
|
+
isDeleteDisabled: !a,
|
|
39
|
+
areControlsDisabled: !a,
|
|
40
|
+
confirmOnClose: a ? l.hasUnsavedChanges : !1,
|
|
41
41
|
angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
|
|
42
42
|
uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || s.uiState.uiScale,
|
|
43
43
|
minUiScale: s.uiState.minUIScale,
|
|
44
44
|
maxUiScale: s.uiState.maxUIScale,
|
|
45
45
|
uiScaleStep: .01,
|
|
46
46
|
iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
47
|
-
isInfoVisible: !
|
|
47
|
+
isInfoVisible: !a,
|
|
48
48
|
statusMessages: l.statusMessages,
|
|
49
49
|
onClose: () => l.handleClose(),
|
|
50
50
|
onDelete: () => l.handleDelete(),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "458e79bb-50be-4e2f-a2cb-6abe815b733e", e._sentryDebugIdIdentifier = "sentry-dbid-458e79bb-50be-4e2f-a2cb-6abe815b733e");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./rolldown-runtime-
|
|
10
|
-
import { t as e } from "./react-
|
|
11
|
-
import { t } from "./jsx-runtime-
|
|
12
|
-
import "./is-debug-
|
|
13
|
-
import {
|
|
14
|
-
import { n as o } from "./mobx-
|
|
15
|
-
import { t as s } from "./TouchHand-
|
|
16
|
-
import { t as c } from "./KioskStore-
|
|
9
|
+
import "./rolldown-runtime-BAuBEODA.js";
|
|
10
|
+
import { t as e } from "./react-B3Fm-ZS0.js";
|
|
11
|
+
import { t } from "./jsx-runtime-IE8skafD.js";
|
|
12
|
+
import "./is-debug-DatwRSE7.js";
|
|
13
|
+
import { Qn as n, T as r, o as i, w as a } from "./store-WG-XbhCX.js";
|
|
14
|
+
import { n as o } from "./mobx-CrV9DCMJ.js";
|
|
15
|
+
import { t as s } from "./TouchHand-D4zCIp9f.js";
|
|
16
|
+
import { t as c } from "./KioskStore-D6ga9Qev.js";
|
|
17
17
|
e();
|
|
18
18
|
var l = t(), u = n(() => (o(() => {
|
|
19
19
|
if (localStorage.getItem("kiosk") === "0") return;
|