@expofp/floorplan 3.5.0 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-BPpWMCF7.js → CookieConsent-SW2eXIC8.js} +7 -7
- package/dist/browser/{Debug-D4MX7bfa.js → Debug-t7OzIN-8.js} +6 -6
- package/dist/browser/{Demo-DFNr3L2G.js → Demo-DJ98mlUr.js} +8 -8
- package/dist/browser/{Free-DPe-hOah.js → Free-B9JCPcnr.js} +8 -8
- package/dist/browser/{Gallery-DqA0Wxzh.js → Gallery-CPBGS9q7.js} +9 -9
- package/dist/browser/{GpsLoader-CWcxSuWy.js → GpsLoader-vcgurCKn.js} +8 -8
- package/dist/browser/{KioskStore-D9G7XFWV.js → KioskStore-DzLhE0fK.js} +4 -4
- package/dist/browser/{MaplibreAdapter-DYL7MKPF.js → MaplibreAdapter-CAGVMAol.js} +916 -908
- package/dist/browser/{Modal-RyylJXxG.js → Modal-DBVl72uz.js} +9 -9
- package/dist/browser/{PermissionNotice-DbLTdmsY.js → PermissionNotice-BDny4W7h.js} +6 -6
- package/dist/browser/{SetKioskMode-D7XUuWRA.js → SetKioskMode-CjKFTXwj.js} +7 -7
- package/dist/browser/{ShowKiosk-BwLhvq8N.js → ShowKiosk-bwEsTLSP.js} +9 -9
- package/dist/browser/{TouchHand-B1TDvd0U.js → TouchHand-DFPQ2vE8.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-B-QCf5M_.js → ViewerMenuPanel-DK-DJHgD.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-BEBBHurh.js → add-debug-secret-listener-ND2YIuwE.js} +1 -1
- package/dist/browser/{boolean-editor-Du--hbTX.js → boolean-editor-BXVL077p.js} +9 -9
- package/dist/browser/{bootIntercom-BhCrn4l9.js → bootIntercom-DLTAHEbT.js} +2 -2
- package/dist/browser/{browser-BKtlrfbP.js → browser-V3D46fyx.js} +2 -2
- package/dist/browser/bundle.json +56 -56
- package/dist/browser/{classnames-B_83M_f9.js → classnames-Dxv3Iqu-.js} +2 -2
- package/dist/browser/{client-CgmZ9S5O.js → client-C1kJisHy.js} +4 -4
- package/dist/browser/{components-q-ym-Kwx.js → components-B8Qifx-N.js} +36 -36
- package/dist/browser/{createWayfinding-Dibu-e2y.js → createWayfinding-C8Pmd2H5.js} +6 -6
- package/dist/browser/{debug-overlay-DWkFGVFU.js → debug-overlay-DWJkUc3u.js} +10 -10
- package/dist/browser/{debug-ui-BRWxulC6.js → debug-ui-jAj6--ux.js} +6 -6
- package/dist/browser/{dist-B3bRxAF-.js → dist-BHV9ghY4.js} +6 -6
- package/dist/browser/{dist-BX-3rfaI.js → dist-CPyShXna.js} +5 -5
- package/dist/browser/{dist-Brnf8L7K.js → dist-DUIasJnS.js} +3 -3
- package/dist/browser/{efp-debug-init-CscPDYXv.js → efp-debug-init-AR3Fvs_0.js} +2 -2
- package/dist/browser/{enum-editor-93BIXGTg.js → enum-editor-FiZIrNXM.js} +11 -11
- package/dist/browser/{event-not-found-DEeJg2jC.js → event-not-found-BzPx68a_.js} +1 -1
- package/dist/browser/{exports-Dj3Srl1U.js → exports-DlEzkzSC.js} +1 -1
- package/dist/browser/{favicon-Bu7mRF0V.js → favicon-Dobo0b59.js} +1 -1
- package/dist/browser/{fetch-retry.umd-P2g4HRlZ.js → fetch-retry.umd-CXT8SYkm.js} +2 -2
- package/dist/browser/{flex-D7bmHOXR.js → flex-DGR_Loqd.js} +5 -5
- package/dist/browser/{floorplan.loader-NcZMuHjC.js → floorplan.loader-GMByEo0q.js} +11 -11
- package/dist/browser/{floorplan.ready-BDwTfoMH.js → floorplan.ready-DTwVRPUA.js} +11 -11
- package/dist/browser/{fuse-Dp25wQ68.js → fuse-CoX8SCVF.js} +2 -2
- package/dist/browser/{i18n-DuPzLyFO.js → i18n-CONnsQk4.js} +3 -3
- package/dist/browser/index.js +15 -12
- package/dist/browser/{jsx-runtime-C2j8bpIs.js → jsx-runtime-iIXfJE8d.js} +2 -2
- package/dist/browser/{lib-BuzMMO-y.js → lib-CAUtTowO.js} +4 -4
- package/dist/browser/{main-Bwv36pA2.js → main-5p-fstPx.js} +1 -1
- package/dist/browser/{mobx-CRDrVfac.js → mobx-CP3094rF.js} +4 -4
- package/dist/browser/{particles.min-B8qH-HcL.js → particles.min-BvP0Ecuj.js} +2 -2
- package/dist/browser/{prop-types--b68CClV.js → prop-types-CtPkc8Dm.js} +2 -2
- package/dist/browser/{react-DHJfb_s9.js → react-DgvgFS2Z.js} +2 -2
- package/dist/browser/{react-dom-Bom1ia05.js → react-dom-Bi44rMnr.js} +3 -3
- package/dist/browser/{reset-all-settings-BhYRGm0A.js → reset-all-settings-CB8d29KN.js} +7 -7
- package/dist/browser/{rolldown-runtime-zCjUYviC.js → rolldown-runtime-D0nkOxqx.js} +1 -1
- package/dist/browser/{settings-CRdh6K-I.js → settings-CTPClT89.js} +2 -2
- package/dist/browser/{settings-item-ByDIGwyO.js → settings-item-DFxxEXOa.js} +6 -6
- package/dist/browser/{storage-7wiZ7mde.js → storage-DvQIEAC7.js} +4 -4
- package/dist/browser/{store-CQwYQHuF.js → store-BlZ4xT_G.js} +10 -10
- package/dist/browser/{string-editor-BBuz-SFO.js → string-editor-YIMEKgRw.js} +7 -7
- package/dist/browser/{theme-B2eA1G2Q.js → theme-Gip68cNV.js} +8 -8
- package/dist/browser/{ui-CO-kkl8T.js → ui-CZUswZut.js} +8 -8
- package/dist/browser/{useRenderTarget-aGsRNUqh.js → useRenderTarget-DTeVFvZz.js} +4 -4
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/load.d.ts +3 -0
- package/dist/esm/load.js +3 -3
- package/package.json +3 -3
package/dist/browser/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
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] = "da76c5ab-9db2-436b-a755-8359fb1a2eb0", e._sentryDebugIdIdentifier = "sentry-dbid-da76c5ab-9db2-436b-a755-8359fb1a2eb0");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import "./storage-
|
|
11
|
-
import { t } from "./browser-
|
|
12
|
-
import { a as n, t as r } from "./floorplan.loader-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import "./storage-DvQIEAC7.js";
|
|
11
|
+
import { t } from "./browser-V3D46fyx.js";
|
|
12
|
+
import { a as n, t as r } from "./floorplan.loader-GMByEo0q.js";
|
|
13
13
|
//#region src/utils/silence-mobx-react-lite-warning.ts
|
|
14
14
|
if (typeof console < "u" && typeof console.error == "function") {
|
|
15
15
|
let e = console.error.bind(console);
|
|
@@ -28,7 +28,7 @@ function i(e) {
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region ../utils/src/lib/fetch-with-retry.ts
|
|
30
30
|
var a, o = async function(...t) {
|
|
31
|
-
return a || (a = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-
|
|
31
|
+
return a || (a = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-CXT8SYkm.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), a(...t);
|
|
32
32
|
};
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region ../utils/src/lib/import-node-module.ts
|
|
@@ -100,7 +100,7 @@ function y() {
|
|
|
100
100
|
e.name = "viewport", e.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", document.head.appendChild(e);
|
|
101
101
|
}
|
|
102
102
|
let e = () => !!document.querySelector("link[rel=\"icon\"]");
|
|
103
|
-
e() || import("./favicon-
|
|
103
|
+
e() || import("./favicon-Dobo0b59.js").then(({ default: t }) => {
|
|
104
104
|
if (e()) return;
|
|
105
105
|
let n = document.createElement("link");
|
|
106
106
|
n.rel = "icon", n.type = "image/png", n.href = t, document.head.appendChild(n);
|
|
@@ -110,10 +110,10 @@ function y() {
|
|
|
110
110
|
//#region src/_misc_to_move/logBuildInfo.ts
|
|
111
111
|
function b() {
|
|
112
112
|
let e = {
|
|
113
|
-
version: "3.5.
|
|
114
|
-
commit: "
|
|
113
|
+
version: "3.5.2",
|
|
114
|
+
commit: "7af84685e",
|
|
115
115
|
branch: "vite-main",
|
|
116
|
-
built: "2026-06-
|
|
116
|
+
built: "2026-06-09T10:36:03.789Z"
|
|
117
117
|
};
|
|
118
118
|
if (e) {
|
|
119
119
|
let t = new Date(e.built);
|
|
@@ -153,7 +153,10 @@ async function C(e, t) {
|
|
|
153
153
|
...a,
|
|
154
154
|
element: s
|
|
155
155
|
}), u = window.___fpResolve;
|
|
156
|
-
return window.___fp = l, u && (l.ready.then(() => u(l)), delete window.___fpResolve), l.ready.then(() =>
|
|
156
|
+
return window.___fp = l, u && (l.ready.then(() => u(l)), delete window.___fpResolve), l.ready.then(() => {
|
|
157
|
+
let e = new CustomEvent("expofp:ready", { detail: { floorplan: l } });
|
|
158
|
+
window.__expofpReady = e, window.dispatchEvent(e);
|
|
159
|
+
}), l;
|
|
157
160
|
}
|
|
158
161
|
function w() {
|
|
159
162
|
let e = "efp-floorplan-defaults";
|
|
@@ -1,12 +1,12 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d8e1c810-9384-484e-93ce-ee613f7c040b", e._sentryDebugIdIdentifier = "sentry-dbid-d8e1c810-9384-484e-93ce-ee613f7c040b");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
@@ -1,14 +1,14 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4cf33afe-edb9-43bb-a4b2-42be1735912d", e._sentryDebugIdIdentifier = "sentry-dbid-4cf33afe-edb9-43bb-a4b2-42be1735912d");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./prop-types
|
|
9
|
+
import { t as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { t as n } from "./prop-types-CtPkc8Dm.js";
|
|
12
12
|
//#region ../../node_modules/.pnpm/qr.js@0.0.0/node_modules/qr.js/lib/ErrorCorrectLevel.js
|
|
13
13
|
var r = /* @__PURE__ */ e(((e, t) => {
|
|
14
14
|
t.exports = {
|
|
@@ -2,7 +2,7 @@
|
|
|
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.5.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5190037-4ae1-4b9d-9ef7-d38ebd0da919", e._sentryDebugIdIdentifier = "sentry-dbid-a5190037-4ae1-4b9d-9ef7-d38ebd0da919");
|
|
8
8
|
} catch {}
|
|
@@ -1,14 +1,14 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "33ba36cb-0730-4438-a5d8-5ccf955fe450", e._sentryDebugIdIdentifier = "sentry-dbid-33ba36cb-0730-4438-a5d8-5ccf955fe450");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { d as n, g as r } from "./i18n-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { d as n, g as r } from "./i18n-CONnsQk4.js";
|
|
12
12
|
//#region src/utils/mobx.ts
|
|
13
13
|
var i = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function a(e, t) {
|
|
@@ -1,12 +1,12 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "22529f3a-43f5-40e1-b007-51e8c4daf2a8", e._sentryDebugIdIdentifier = "sentry-dbid-22529f3a-43f5-40e1-b007-51e8c4daf2a8");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/particlesjs@https+++codeload.github.com+evgenyt1+particles.js+tar.gz+bcda28ac7422659d702713184cf1171b1673c248/node_modules/particlesjs/dist/particles.min.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
var n = function(e, t) {
|
|
@@ -1,12 +1,12 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "32bb1414-0da4-45ad-8cd6-01fdca3762fe", e._sentryDebugIdIdentifier = "sentry-dbid-32bb1414-0da4-45ad-8cd6-01fdca3762fe");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -1,12 +1,12 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0fffa32e-7764-4e92-8923-cdec247c2102", e._sentryDebugIdIdentifier = "sentry-dbid-0fffa32e-7764-4e92-8923-cdec247c2102");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
|
|
@@ -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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "19820bd1-79cb-432b-834f-1cd332652df9", e._sentryDebugIdIdentifier = "sentry-dbid-19820bd1-79cb-432b-834f-1cd332652df9");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/cjs/react-dom.production.js
|
|
12
12
|
var n = /* @__PURE__ */ e(((e) => {
|
|
13
13
|
var n = t();
|
|
@@ -1,14 +1,14 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0f542375-335d-4476-a1cc-04e9ba8d5422", e._sentryDebugIdIdentifier = "sentry-dbid-0f542375-335d-4476-a1cc-04e9ba8d5422");
|
|
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-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iIXfJE8d.js";
|
|
12
12
|
//#region ../debug/src/lib/settings/setting-registry.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1), i = [], a = [], o = n(), s = "efp-local-storage";
|
|
14
14
|
function c(e) {
|
|
@@ -66,7 +66,7 @@ function l(e) {
|
|
|
66
66
|
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
67
67
|
function u(e) {
|
|
68
68
|
var t;
|
|
69
|
-
let n = r.lazy(() => import("./boolean-editor-
|
|
69
|
+
let n = r.lazy(() => import("./boolean-editor-BXVL077p.js").then((e) => ({ default: e.BooleanEditor })));
|
|
70
70
|
return c({
|
|
71
71
|
key: e.key,
|
|
72
72
|
default: (t = e.default) == null ? !1 : t,
|
|
@@ -77,7 +77,7 @@ function u(e) {
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region ../debug/src/lib/settings/register-enum-setting.ts
|
|
79
79
|
function d(e) {
|
|
80
|
-
let t = r.lazy(() => import("./enum-editor-
|
|
80
|
+
let t = r.lazy(() => import("./enum-editor-FiZIrNXM.js").then((e) => ({ default: e.EnumEditor })));
|
|
81
81
|
return c({
|
|
82
82
|
key: e.key,
|
|
83
83
|
default: e.default,
|
|
@@ -90,7 +90,7 @@ function d(e) {
|
|
|
90
90
|
//#region ../debug/src/lib/settings/register-string-setting.ts
|
|
91
91
|
function f(e) {
|
|
92
92
|
var t;
|
|
93
|
-
let n = r.lazy(() => import("./string-editor-
|
|
93
|
+
let n = r.lazy(() => import("./string-editor-YIMEKgRw.js").then((e) => ({ default: e.StringEditor })));
|
|
94
94
|
return c({
|
|
95
95
|
key: e.key,
|
|
96
96
|
default: (t = e.default) == null ? "" : t,
|
|
@@ -2,7 +2,7 @@
|
|
|
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.5.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4a11513d-0070-4205-b636-a85d593cfa99", e._sentryDebugIdIdentifier = "sentry-dbid-4a11513d-0070-4205-b636-a85d593cfa99");
|
|
8
8
|
} catch {}
|
|
@@ -1,9 +1,9 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0a3595ef-9aa6-450c-ac03-85d9c3295c13", e._sentryDebugIdIdentifier = "sentry-dbid-0a3595ef-9aa6-450c-ac03-85d9c3295c13");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./reset-all-settings-
|
|
9
|
+
import "./reset-all-settings-CB8d29KN.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a567f856-66cb-4080-9885-1fa21e0c8dee", e._sentryDebugIdIdentifier = "sentry-dbid-a567f856-66cb-4080-9885-1fa21e0c8dee");
|
|
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 { c as r, l as i, t as a, u as o, y as s } from "./flex-
|
|
13
|
-
import { t as c } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iIXfJE8d.js";
|
|
12
|
+
import { c as r, l as i, t as a, u as o, y as s } from "./flex-DGR_Loqd.js";
|
|
13
|
+
import { t as c } from "./classnames-Dxv3Iqu-.js";
|
|
14
14
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/separator.props.js
|
|
15
15
|
var l = /* @__PURE__ */ e(t()), u = /* @__PURE__ */ e(c()), d = {
|
|
16
16
|
orientation: {
|
|
@@ -1,14 +1,14 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5481603-1e67-450c-9f6c-78b0ffacc002", e._sentryDebugIdIdentifier = "sentry-dbid-a5481603-1e67-450c-9f6c-78b0ffacc002");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./efp-debug-init-
|
|
10
|
-
import "./settings-
|
|
11
|
-
import { P as e, c as t, ot as n } from "./i18n-
|
|
9
|
+
import "./efp-debug-init-AR3Fvs_0.js";
|
|
10
|
+
import "./settings-CTPClT89.js";
|
|
11
|
+
import { P as e, c as t, ot as n } from "./i18n-CONnsQk4.js";
|
|
12
12
|
//#region src/tools/rebookingUrl.ts
|
|
13
13
|
var r = "rt";
|
|
14
14
|
function i() {
|
|
@@ -2,19 +2,19 @@ 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.5.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "faec7b29-2fce-4ef1-8058-eacac802f797", e._sentryDebugIdIdentifier = "sentry-dbid-faec7b29-2fce-4ef1-8058-eacac802f797");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { i as r } from "./reset-all-settings-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { C as a, S as o, _ as s, a as c, b as l, c as u, d, f, g as p, h as m, i as h, l as g, o as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./storage-
|
|
15
|
-
import { t as T } from "./browser-
|
|
16
|
-
import { B as E, E as D, F as O, H as k, I as ee, J as te, K as ne, L as re, O as ie, P as ae, V as oe, W as se, Y as ce, Z as le, _ as ue, a as de, b as fe, c as A, d as pe, et as me, f as j, g as he, h as M, k as N, l as ge, m as _e, n as ve, nt as P, o as ye, ot as F, p as be, q as xe, r as Se, rt as Ce, s as I, t as we, tt as Te, u as L, v as Ee, z as De } from "./i18n-
|
|
17
|
-
import { t as Oe } from "./classnames-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-D0nkOxqx.js";
|
|
11
|
+
import { t as n } from "./react-DgvgFS2Z.js";
|
|
12
|
+
import { i as r } from "./reset-all-settings-CB8d29KN.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-iIXfJE8d.js";
|
|
14
|
+
import { C as a, S as o, _ as s, a as c, b as l, c as u, d, f, g as p, h as m, i as h, l as g, o as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./storage-DvQIEAC7.js";
|
|
15
|
+
import { t as T } from "./browser-V3D46fyx.js";
|
|
16
|
+
import { B as E, E as D, F as O, H as k, I as ee, J as te, K as ne, L as re, O as ie, P as ae, V as oe, W as se, Y as ce, Z as le, _ as ue, a as de, b as fe, c as A, d as pe, et as me, f as j, g as he, h as M, k as N, l as ge, m as _e, n as ve, nt as P, o as ye, ot as F, p as be, q as xe, r as Se, rt as Ce, s as I, t as we, tt as Te, u as L, v as Ee, z as De } from "./i18n-CONnsQk4.js";
|
|
17
|
+
import { t as Oe } from "./classnames-Dxv3Iqu-.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.7/node_modules/mobx-react-lite/dist/index.module.js
|
|
19
19
|
var ke = /* @__PURE__ */ e(n());
|
|
20
20
|
if (!ke.useState) throw Error("mobx-react-lite requires React with Hooks support");
|
|
@@ -33949,7 +33949,7 @@ var SL = (vL = class {
|
|
|
33949
33949
|
}
|
|
33950
33950
|
async buildEngine() {
|
|
33951
33951
|
try {
|
|
33952
|
-
let { default: e } = await import("./fuse-
|
|
33952
|
+
let { default: e } = await import("./fuse-CoX8SCVF.js").then((e) => e.n);
|
|
33953
33953
|
ue(() => {
|
|
33954
33954
|
this.engine = new e([], {
|
|
33955
33955
|
keys: this.keys,
|
|
@@ -1,17 +1,17 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c13b5d2b-c064-4095-8a35-7ce6c1158176", e._sentryDebugIdIdentifier = "sentry-dbid-c13b5d2b-c064-4095-8a35-7ce6c1158176");
|
|
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 { D as r, i, l as a, n as o, s, u as c, y as l } from "./flex-
|
|
13
|
-
import { t as u } from "./classnames-
|
|
14
|
-
import { t as d } from "./settings-item-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iIXfJE8d.js";
|
|
12
|
+
import { D as r, i, l as a, n as o, s, u as c, y as l } from "./flex-DGR_Loqd.js";
|
|
13
|
+
import { t as u } from "./classnames-Dxv3Iqu-.js";
|
|
14
|
+
import { t as d } from "./settings-item-DFxxEXOa.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
16
16
|
var f = {
|
|
17
17
|
size: {
|
|
@@ -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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "14cfe74b-e711-4201-812b-ad94b4330a84", e._sentryDebugIdIdentifier = "sentry-dbid-14cfe74b-e711-4201-812b-ad94b4330a84");
|
|
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 "./react-dom-
|
|
13
|
-
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-
|
|
14
|
-
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-
|
|
15
|
-
import { t as y } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-iIXfJE8d.js";
|
|
12
|
+
import { t as r } from "./react-dom-Bi44rMnr.js";
|
|
13
|
+
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-DGR_Loqd.js";
|
|
14
|
+
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-BHV9ghY4.js";
|
|
15
|
+
import { t as y } from "./classnames-Dxv3Iqu-.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.17__@ty_070bcfa32421a5876e7dcb93369fcbee/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
17
17
|
var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
|
|
18
18
|
position: "absolute",
|
|
@@ -1,17 +1,17 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5091f250-052d-4365-8535-fbf8bf11a38b", e._sentryDebugIdIdentifier = "sentry-dbid-5091f250-052d-4365-8535-fbf8bf11a38b");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, r as n } from "./reset-all-settings-
|
|
11
|
-
import { t as r } from "./jsx-runtime-
|
|
12
|
-
import "./settings-
|
|
13
|
-
import { t as i } from "./browser-
|
|
14
|
-
import { t as a } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { a as t, r as n } from "./reset-all-settings-CB8d29KN.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-iIXfJE8d.js";
|
|
12
|
+
import "./settings-CTPClT89.js";
|
|
13
|
+
import { t as i } from "./browser-V3D46fyx.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-ND2YIuwE.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
|
|
17
17
|
function l() {
|
|
@@ -26,7 +26,7 @@ function l() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let i = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-jAj6--ux.js"), { createRoot: i } = await import("./client-C1kJisHy.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
|
|
31
31
|
useDebugButtonState: r.useState,
|
|
32
32
|
open: t
|
|
@@ -1,14 +1,14 @@
|
|
|
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.5.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.5.2" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "984e0491-e905-4403-8383-c156857f4f3c", e._sentryDebugIdIdentifier = "sentry-dbid-984e0491-e905-4403-8383-c156857f4f3c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { s as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-D0nkOxqx.js";
|
|
10
|
+
import { t } from "./react-DgvgFS2Z.js";
|
|
11
|
+
import { s as n } from "./store-BlZ4xT_G.js";
|
|
12
12
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function i(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as V}from"react/jsx-runtime";import J from"color";import{runInAction as W}from"mobx";import{observer as X}from"mobx-react-lite";import{useCallback as P,useEffect as E,useMemo as d,useRef as p,useState as _}from"react";import{getLayerSvg as H,svgArea as k}from"../../data/svg";import{createSceneDef as K}from"../../renderer";import a,{uiState as g}from"../../store";import M from"../../tools/settings";import{toRadians as x}from"../../utils/math";import Z from"../Map/drawing/config/config-all";import{loadLayersImages as Q}from"../Map/drawing/config/loadBoothsImages";import{Rect as Y}from"../Map/drawing/config/Rect";import{useBuildRoute as q}from"../Map/traffic/useBuildRoute";import{useManageTraffic as ee}from"../Map/traffic/useManageTraffic";import re from"./MaplibreWrapper";import{useCameraReactions as oe}from"./useCameraReactions";import{useDimming as te}from"./useDimming";import{useLayerVisibilitySync as ne}from"./useLayerVisibilitySync";import{useRendererEvents as ae}from"./useRendererEvents";import{useWayfindingAndMarkers as ie}from"./useWayfindingAndMarkers";import{deriveGeoConfig as se,deriveVenueMapBounds as le,getLocalRectGeoBounds as ce,getVisibleRectFitPadding as fe,INITIAL_FIT_ZOOM_ADJUSTMENT as ue}from"./utils/geo-config";import{applyMapOptions as I,DEFAULT_MAP_OPTIONS as me,getTileSource as de,MAP_2D_OPTIONS as pe}from"./utils/map-helpers";import{calculateTransformMatrix as ge}from"./utils/solver";const $="routes-api.expofp.com";function B(){W(()=>{a.layerStore.layers.forEach(i=>{i.configured=!1,i.children=[],i.loaded=!1}),a.layerStore.layersLoaded=!1})}function F(i,y){const s=[];for(const c of i.rollRegistry.invoke(y))Array.isArray(c)?s.push(...c):s.push(c);s.length&&i.update(...s)}const ye=X(function({viewMode:y}){const[s,c]=_(null),[T,h]=_(null),e=a.rendererService,C=p(null),l=p(null),R=p(null),L=p(null),r=d(()=>se(),[]),f=d(()=>r?{center:r.center,bearing:r.bearing,zoom:r.zoom,bounds:ce(k,r.gpsConfig),fitPadding:fe(0),zoomAdjustment:ue}:null,[r]),v=d(()=>r?ge(r.gpsConfig,H()?.getAttribute("units")):null,[r]),u=d(()=>({...y==="map2d"?pe:me,maxBounds:r?le(r.gpsConfig):void 0}),[r,y]),O=p(u),j=d(()=>de(),[]),{mapDimAnimatorRef:b,venueDimAnimatorRef:S,handleMapDimLayerReady:z}=te(l,e);E(()=>{if(!r)return;let n=!1;B();const o=Z(e).then(t=>{if(n)return;const A=J(M.backgroundColor==="none"?"#ebebeb":M.backgroundColor).string(),G=K(t,Y.fromCoreRect(k),A);c(G)}).catch(t=>{n||console.warn("Maplibre scene configuration failed.",t)}),D=b.current,m=S.current;return()=>{n=!0,B();const t=C.current;o.finally(()=>e.disposeIfCurrent(t)),R.current?.(),R.current=null,C.current=null,l.current=null,L.current=null,h(null),D?.stop(),m?.stop(),g.sceneDefReady=!1}},[r,b,e,S]);const N=P((n,o,D,m)=>{C.current=n,l.current=o,L.current=m,h(n),e.attach(n,D,m),I(o,O.current),b.current?.setTarget(g.dimmed,{immediate:!0}),S.current?.setTarget(g.dimmed,{immediate:!0}),R.current?.();const t=()=>F(e,x(o.getBearing()));o.on("rotate",t),o.on("rotateend",t),R.current=()=>{o.off("rotate",t),o.off("rotateend",t)},Q(e);const A=e.ptScaleRegistry.invoke(e.scale||1);A.length&&e.update(...A),F(e,x(o.getBearing())),a.layerStore.layersLoaded=!0,a.fp.onFpConfigured&&a.fp.onFpConfigured(),g.sceneDefReady=!0,m()},[e,b,S]);E(()=>{O.current=u,I(l.current,u,!0)},[u]),ae(T,e),ie(T,e),ne(e,l,r),oe(l,r),q({enabled:a.layerStore.layersLoaded&&g.buildRoute,rendererService:e}),ee({permission:a.layerStore.layersLoaded,rendererService:e,dataJsonUrl:`https://${$}/v1/routes?expo=${M.EXPO}`,websocketUrl:`wss://${$}/locations?expo=${M.EXPO}`});const U=P(n=>{console.warn("Maplibre map failed to load; falling back to floorplan mode.",n),a.maplibreStore.deactivateMaplibre()},[]);if(!r||!f||!v||!s)return null;const w=`${f.center.join(",")}:${f.bearing}:${f.zoom}`;return V(re,{sceneDef:s,geoConfig:f,staticTransform:v,tileSource:j,mapOptions:u,onRendererReady:N,onMapDimLayerReady:z,onMapLoadError:U},w)});export default ye;
|
package/dist/esm/load.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ declare global {
|
|
|
9
9
|
___fp?: FloorPlan;
|
|
10
10
|
/** @deprecated temporary placeholder for async initialization in iOS/Android SDK */
|
|
11
11
|
___fpResolve?: (fp: FloorPlan) => void;
|
|
12
|
+
__expofpReady?: CustomEvent<{
|
|
13
|
+
floorplan: FloorPlan;
|
|
14
|
+
}>;
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
//# sourceMappingURL=load.d.ts.map
|
package/dist/esm/load.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./utils/silence-mobx-react-lite-warning";import{resolve as d}from"@expofp/resolve";import m from"debug";import{initHtmlHead as p}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as u}from"./_misc_to_move/logBuildInfo";import y from"./floorplan.loader";const c=m("efp:load");export async function load(n,e){p(),u();const o={...await d(n),...e},
|
|
1
|
+
import"./utils/silence-mobx-react-lite-warning";import{resolve as d}from"@expofp/resolve";import m from"debug";import{initHtmlHead as p}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as u}from"./_misc_to_move/logBuildInfo";import y from"./floorplan.loader";const c=m("efp:load");export async function load(n,e){p(),u();const o={...await d(n),...e},a=o.element;let t;if(typeof a=="string"){const r=document.querySelector(a);if(!r)throw new Error(`Element not found for selector: ${a}`);t=r}else a?t=a:(t=document.getElementById("floorplan"),t||(t=document.createElement("div"),v(t),document.body.appendChild(t)));h(),t.setAttribute("data-efp-floorplan-defaults",""),document.documentElement.style.overscrollBehavior||="none",document.body.style.overscrollBehavior||="none",requestAnimationFrame(()=>{t.style.backgroundColor="#ebebeb"});const f=o.legacyDataUrlBase;if(c("legacyDataUrlBase",f),o.legacyDataVersion)try{const{version:r}=await d(o.legacyDataVersion);globalThis.__fpDataVersion=r}catch{c("Could not resolve version")}const s=new y({...o,element:t}),l=window.___fpResolve;return window.___fp=s,l&&(s.ready.then(()=>l(s)),delete window.___fpResolve),s.ready.then(()=>{const r=new CustomEvent("expofp:ready",{detail:{floorplan:s}});window.__expofpReady=r,window.dispatchEvent(r)}),s}function h(){const n="efp-floorplan-defaults";if(document.getElementById(n))return;const e=document.createElement("style");e.id=n,e.textContent=`
|
|
2
2
|
[data-efp-floorplan-defaults] {
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -10,7 +10,7 @@ import"./utils/silence-mobx-react-lite-warning";import{resolve as d}from"@expofp
|
|
|
10
10
|
overscroll-behavior: none;
|
|
11
11
|
background: #fff;
|
|
12
12
|
transition: background-color 2s ease;
|
|
13
|
-
}`,document.head.prepend(e)}function v(n){if(!document.adoptedStyleSheets)return;const e="efp-runtime-loader-spinner",
|
|
13
|
+
}`,document.head.prepend(e)}function v(n){if(!document.adoptedStyleSheets)return;const e="efp-runtime-loader-spinner",i=`
|
|
14
14
|
.${e} {
|
|
15
15
|
position: fixed;
|
|
16
16
|
top: 50%;
|
|
@@ -61,7 +61,7 @@ import"./utils/silence-mobx-react-lite-warning";import{resolve as d}from"@expofp
|
|
|
61
61
|
100% {
|
|
62
62
|
stroke-dashoffset: -125px;
|
|
63
63
|
}
|
|
64
|
-
}`,o=new CSSStyleSheet;o.replaceSync(
|
|
64
|
+
}`,o=new CSSStyleSheet;o.replaceSync(i),document.adoptedStyleSheets=[...document.adoptedStyleSheets,o],n.innerHTML=`<div class="${e}">
|
|
65
65
|
<svg viewBox="25 25 50 50">
|
|
66
66
|
<circle r="20" cy="50" cx="50"></circle>
|
|
67
67
|
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"tslib": "^2.3.0",
|
|
74
74
|
"uuid": "^9.0.1",
|
|
75
75
|
"zod": "4.3.5",
|
|
76
|
-
"@expofp/debug": "3.5.
|
|
77
|
-
"@expofp/resolve": "3.5.
|
|
76
|
+
"@expofp/debug": "3.5.2",
|
|
77
|
+
"@expofp/resolve": "3.5.2"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@babel/plugin-proposal-decorators": "^7.29.7",
|