@expofp/floorplan 3.32.0 → 3.33.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/browser/{Button-CNB2wS1D.js → Button-B0MFYLVc.js} +5 -5
- package/dist/browser/{CookieConsent-9-_4FEUc.js → CookieConsent-Bqn0q_87.js} +7 -7
- package/dist/browser/{Debug-BUelP3lh.js → Debug-CKc3n1sg.js} +7 -7
- package/dist/browser/{DebugTools-6RBk4RXs.js → DebugTools-BU3wjPGB.js} +20 -14
- package/dist/browser/{Demo-B1Wq_-2I.js → Demo-D-TB4mNu.js} +9 -9
- package/dist/browser/{Free-Ce5a68cd.js → Free-TLOhTU_Z.js} +9 -9
- package/dist/browser/{GalleryContainer-nNrPq8p3.js → GalleryContainer-G381lvbx.js} +10 -10
- package/dist/browser/{GpsLoader-DJD8M21U.js → GpsLoader-DL-xnnfg.js} +10 -10
- package/dist/browser/{KioskStore-DV6yg7gQ.js → KioskStore-DluWuejk.js} +5 -5
- package/dist/browser/{MaplibreAdapter-DG-IOwAR.js → MaplibreAdapter-CKpyQZkH.js} +756 -756
- package/dist/browser/{ModalContainer-lWcPEqKF.js → ModalContainer-BJuhy7tC.js} +10 -10
- package/dist/browser/{PermissionNotice-DzoxJYql.js → PermissionNotice-DzavRwDB.js} +6 -6
- package/dist/browser/{SetKioskMode-D-drLiQS.js → SetKioskMode-DQMJq09_.js} +9 -9
- package/dist/browser/{ShowKiosk-CmQAm7lA.js → ShowKiosk-txc4lzXg.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-4K3IeFpI.js → ViewerMenuPanel-BDDILMLj.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-BCbwpSUA.js → add-debug-secret-listener-jHopjZKv.js} +1 -1
- package/dist/browser/{adopt-global-settings-BCXdoUeA.js → adopt-global-settings-33HggKBq.js} +9 -9
- package/dist/browser/{boolean-editor-Bq5ovuVU.js → boolean-editor-CtUCInIZ.js} +9 -9
- package/dist/browser/{bootIntercom-DJYZ3yyM.js → bootIntercom-BeXT05Ea.js} +2 -2
- package/dist/browser/bundle.json +69 -69
- package/dist/browser/{camera-events-DumvNN3C.js → camera-events-KroE96c4.js} +1 -1
- package/dist/browser/{classnames-XNi7nRCB.js → classnames-BJTcQIVl.js} +2 -2
- package/dist/browser/{client-CA8cGn8U.js → client-Cj1mLS94.js} +5 -5
- package/dist/browser/{components-MOPAfkCm.js → components-6-iibf5i.js} +586 -582
- package/dist/browser/{debug-context-C73IpGRj.js → debug-context-_45jR8C-.js} +5 -5
- package/dist/browser/{debug-overlay-CIY57uQY.js → debug-overlay-C78aQduk.js} +10 -10
- package/dist/browser/{debug-ui-D9GVgxaS.js → debug-ui-Bzg8w5FY.js} +6 -6
- package/dist/browser/{dimming-CXOoyeuK.js → dimming-B0nptLJO.js} +284 -255
- package/dist/browser/{dist-Cuhm8hDS.js → dist-BfBy25r6.js} +3 -3
- package/dist/browser/{dist-CEbPeqIY.js → dist-DX9URKQh.js} +6 -6
- package/dist/browser/{dist-CNBw7D1y.js → dist-LJcBFXUG.js} +5 -5
- package/dist/browser/{efp-debug-init-CF3R1rs1.js → efp-debug-init-tAoJiV3q.js} +3 -3
- package/dist/browser/{enum-editor-Hfgu8R6H.js → enum-editor-12NAdvKo.js} +4 -4
- package/dist/browser/{es5-Ch3SnVpq.js → es5-D-Bj8Lf1.js} +2 -2
- package/dist/browser/{event-not-found-BBGk7sl1.js → event-not-found-CsAHzhl6.js} +1 -1
- package/dist/browser/{exports-DdY5MNmH.js → exports-BfhFANKi.js} +1 -1
- package/dist/browser/{favicon-D0_sCTFa.js → favicon-D4TW1swv.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DFU09v6m.js → fetch-retry.umd-DyLfSwjv.js} +2 -2
- package/dist/browser/{flex-Dd9f0dfq.js → flex-C3cSMVt_.js} +5 -5
- package/dist/browser/{floorplan.loader-DxE6hohE.js → floorplan.loader-DxRhDqfH.js} +10 -10
- package/dist/browser/{floorplan.ready-Cysrjlb9.js → floorplan.ready-RkqlzsJt.js} +14 -14
- package/dist/browser/{fuse-BHP4h5hM.js → fuse-CSGWbbNq.js} +2 -2
- package/dist/browser/{i18n-3lyxjXox.js → i18n-EK2oa1QJ.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-C6SF1hwf.js → index.module-BwOjEcud.js} +4 -4
- package/dist/browser/{integrateKiosk-Dmtn4lIF.js → integrateKiosk-DT0yChCb.js} +4 -4
- package/dist/browser/{is-webview-DBk4rvr1.js → is-webview-CW_tK_lH.js} +1 -1
- package/dist/browser/{jsx-runtime-DLehizIL.js → jsx-runtime-DAYaJ8Wj.js} +2 -2
- package/dist/browser/{kiosk-record-CWJVbWhN.js → kiosk-record-DSOWQWwy.js} +1 -1
- package/dist/browser/{lib-Cx0xfIyT.js → lib-DS8gxXh1.js} +3 -3
- package/dist/browser/{loadImage-BttawziQ.js → loadImage-Chqtrnpo.js} +4 -4
- package/dist/browser/{logDeviceInfo-DtOdua8y.js → logDeviceInfo-C3nIx8MI.js} +9 -9
- package/dist/browser/{mobx-1TTEnMh_.js → mobx-BYaAarcI.js} +4 -4
- package/dist/browser/{optional-boolean-editor--Ll4y7L3.js → optional-boolean-editor-f0AsQ88K.js} +3 -3
- package/dist/browser/{optional-enum-editor-Diz4Gygu.js → optional-enum-editor-DTfOMkVp.js} +4 -4
- package/dist/browser/{optional-string-editor-B_UUO3oV.js → optional-string-editor-Dweo1EiQ.js} +4 -4
- package/dist/browser/{particles.min-IsQntJd_.js → particles.min-DcgQ3bEa.js} +2 -2
- package/dist/browser/{react-DaVp-1nR.js → react-CSfcl6m_.js} +2 -2
- package/dist/browser/{react-dom-Cmin4STP.js → react-dom-BtTajUTr.js} +3 -3
- package/dist/browser/{rolldown-runtime-Dl53HvP8.js → rolldown-runtime-LBfc_8zH.js} +1 -1
- package/dist/browser/{scheduler-CeO2Fq3-.js → scheduler-CO29sRve.js} +2 -2
- package/dist/browser/{select-CcBpWf_u.js → select-ZMZ_S_qj.js} +10 -10
- package/dist/browser/{settings-BnizsqhF.js → settings-Cot3Zp4u.js} +2 -2
- package/dist/browser/{settings-item-JOfQImsE.js → settings-item-D5PjVyNk.js} +6 -6
- package/dist/browser/{store-BNPYvlw8.js → store-BUXXD8-o.js} +15 -15
- package/dist/browser/{string-editor-BmF12fyT.js → string-editor-Bdjy-hXr.js} +4 -4
- package/dist/browser/{text-field-D4_C8M62.js → text-field-Db4wvBQb.js} +5 -5
- package/dist/browser/{theme--BjIkuDi.js → theme-DOvsIfDN.js} +8 -8
- package/dist/browser/{ui-Bt8WOnfB.js → ui-exQmHhHz.js} +8 -8
- package/dist/browser/{useRenderTarget-CKEW-h44.js → useRenderTarget-COoBm3gN.js} +4 -4
- package/dist/browser/{viewport-Ch_DyTlN.js → viewport-D14jB-aG.js} +2 -2
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/MapCursorCoords.d.ts +13 -0
- package/dist/esm/components/Map/MapCursorCoords.js +1 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/package.json +10 -10
package/dist/browser/{optional-string-editor-B_UUO3oV.js → optional-string-editor-Dweo1EiQ.js}
RENAMED
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ada85a1e-4ee1-4a7a-91cc-5c4b1ce0c377", e._sentryDebugIdIdentifier = "sentry-dbid-ada85a1e-4ee1-4a7a-91cc-5c4b1ce0c377");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./jsx-runtime-
|
|
10
|
-
import { t } from "./settings-item-
|
|
11
|
-
import { t as n } from "./text-field-
|
|
9
|
+
import { t as e } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
10
|
+
import { t } from "./settings-item-D5PjVyNk.js";
|
|
11
|
+
import { t as n } from "./text-field-Db4wvBQb.js";
|
|
12
12
|
//#region ../debug/src/lib/ui/optional-string-editor.tsx
|
|
13
13
|
var r = e(), i = (e) => {
|
|
14
14
|
var i, a, o;
|
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
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-LBfc_8zH.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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cca190a5-51dd-426b-84e0-277a75e2c304", e._sentryDebugIdIdentifier = "sentry-dbid-cca190a5-51dd-426b-84e0-277a75e2c304");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-LBfc_8zH.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.8/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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a30dd810-d46b-41cd-8f48-f437f01c8a16", e._sentryDebugIdIdentifier = "sentry-dbid-a30dd810-d46b-41cd-8f48-f437f01c8a16");
|
|
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-LBfc_8zH.js";
|
|
10
|
+
import { t } from "./react-CSfcl6m_.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/react-dom@19.2.8_react@19.2.8/node_modules/react-dom/cjs/react-dom.production.js
|
|
12
12
|
var n = /* @__PURE__ */ e(((e) => {
|
|
13
13
|
var n = 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
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
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,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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "743837e7-93f1-4f1c-aefc-675d73ee4f63", e._sentryDebugIdIdentifier = "sentry-dbid-743837e7-93f1-4f1c-aefc-675d73ee4f63");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-LBfc_8zH.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e) => {
|
|
12
12
|
function t(e, t) {
|
|
@@ -1,20 +1,20 @@
|
|
|
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "25e6706b-24cf-44a2-9bff-bbc0439f015c", e._sentryDebugIdIdentifier = "sentry-dbid-25e6706b-24cf-44a2-9bff-bbc0439f015c");
|
|
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 { O as i, T as a, g as o, l as s, s as c, u as l, y as u } from "./flex-
|
|
14
|
-
import { i as d, n as f, o as p, r as m, s as h } from "./dist-
|
|
15
|
-
import { _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as ee, u as te, v as ne } from "./theme
|
|
16
|
-
import { t as M } from "./dist-
|
|
17
|
-
import { t as N } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-LBfc_8zH.js";
|
|
10
|
+
import { t } from "./react-CSfcl6m_.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
12
|
+
import { t as r } from "./react-dom-BtTajUTr.js";
|
|
13
|
+
import { O as i, T as a, g as o, l as s, s as c, u as l, y as u } from "./flex-C3cSMVt_.js";
|
|
14
|
+
import { i as d, n as f, o as p, r as m, s as h } from "./dist-DX9URKQh.js";
|
|
15
|
+
import { _ as g, a as _, b as v, c as y, d as b, f as x, g as S, h as C, i as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as ee, u as te, v as ne } from "./theme-DOvsIfDN.js";
|
|
16
|
+
import { t as M } from "./dist-BfBy25r6.js";
|
|
17
|
+
import { t as N } from "./classnames-BJTcQIVl.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
|
|
19
19
|
var P = /* @__PURE__ */ e(t(), 1);
|
|
20
20
|
function re(e, [t, n]) {
|
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b6ee49c-19c3-4811-99e0-0515eca1da1f", e._sentryDebugIdIdentifier = "sentry-dbid-8b6ee49c-19c3-4811-99e0-0515eca1da1f");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./adopt-global-settings-
|
|
9
|
+
import "./adopt-global-settings-33HggKBq.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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ca552457-b813-4b63-90ef-427597ab621b", e._sentryDebugIdIdentifier = "sentry-dbid-ca552457-b813-4b63-90ef-427597ab621b");
|
|
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-LBfc_8zH.js";
|
|
10
|
+
import { t } from "./react-CSfcl6m_.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
12
|
+
import { c as r, l as i, t as a, u as o, y as s } from "./flex-C3cSMVt_.js";
|
|
13
|
+
import { t as c } from "./classnames-BJTcQIVl.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._5ea800d4e947acedb1fa1275f1697b17/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: {
|
|
@@ -2,22 +2,22 @@ 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
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f0d6fb68-c2e2-4735-9ca3-3442816b8648", e._sentryDebugIdIdentifier = "sentry-dbid-f0d6fb68-c2e2-4735-9ca3-3442816b8648");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { A as n, B as r, Bt as i, G as a, H as o, I as s, J as c, K as l, L as u, M as d, Q as f, R as p, U as m, V as h, W as g, Y as _, _ as v, a as y, c as b, ct as x, d as S, dt as C, f as w, ft as T, h as E, it as D, j as O, l as k, m as A, n as ee, nt as te, ot as ne, p as re, s as j, st as ie, t as ae, v as M, w as oe, y as se } from "./i18n-
|
|
12
|
-
import { s as ce } from "./efp-debug-init-
|
|
13
|
-
import { t as le } from "./react-
|
|
14
|
-
import { t as ue } from "./jsx-runtime-
|
|
15
|
-
import { n as de, r as N, t as fe } from "./loadImage-
|
|
16
|
-
import { t as pe } from "./is-webview-
|
|
17
|
-
import { t as me } from "./scheduler-
|
|
18
|
-
import { $ as he, $t as ge, A as _e, At as ve, B as ye, Bt as be, C as xe, Ct as Se, D as Ce, Dt as we, E as Te, Et as Ee, F as De, Ft as Oe, G as ke, Gt as Ae, H as je, Ht as Me, I as Ne, It as Pe, J as Fe, Jt as Ie, K as Le, Kt as Re, L as ze, Lt as Be, M as Ve, Mt as He, N as Ue, Nt as We, O as Ge, Ot as Ke, P as qe, Pt as Je, Q as Ye, Qt as P, R as Xe, Rt as Ze, S as Qe, St as $e, T as et, Tt as tt, U as nt, Ut as rt, V as it, Vt as at, W as ot, Wt as st, X as ct, Xt as lt, Y as ut, Yt as dt, Z as ft, Zt as pt, _ as mt, _t as ht, a as gt, an as _t, at as vt, b as yt, bt, cn as xt, ct as St, d as Ct, dn as F, dt as wt, en as Tt, et as Et, f as Dt, fn as Ot, ft as kt, g as At, gt as jt, h as Mt, ht as Nt, i as Pt, in as Ft, it as It, j as Lt, jt as Rt, k as zt, kt as Bt, l as Vt, ln as Ht, lt as Ut, m as Wt, mn as Gt, mt as Kt, nn as qt, nt as Jt, o as Yt, on as Xt, ot as Zt, p as Qt, pn as $t, pt as en, q as tn, qt as nn, r as rn, rn as an, rt as on, s as sn, sn as cn, st as ln, tn as un, tt as dn, u as fn, un as pn, ut as mn, v as hn, vt as gn, w as _n, wt as vn, x as yn, xt as bn, y as xn, yt as Sn, z as Cn, zt as wn } from "./debug-context-
|
|
19
|
-
import { t as Tn } from "./classnames-
|
|
20
|
-
import { t as En } from "./Button-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-LBfc_8zH.js";
|
|
11
|
+
import { A as n, B as r, Bt as i, G as a, H as o, I as s, J as c, K as l, L as u, M as d, Q as f, R as p, U as m, V as h, W as g, Y as _, _ as v, a as y, c as b, ct as x, d as S, dt as C, f as w, ft as T, h as E, it as D, j as O, l as k, m as A, n as ee, nt as te, ot as ne, p as re, s as j, st as ie, t as ae, v as M, w as oe, y as se } from "./i18n-EK2oa1QJ.js";
|
|
12
|
+
import { s as ce } from "./efp-debug-init-tAoJiV3q.js";
|
|
13
|
+
import { t as le } from "./react-CSfcl6m_.js";
|
|
14
|
+
import { t as ue } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
15
|
+
import { n as de, r as N, t as fe } from "./loadImage-Chqtrnpo.js";
|
|
16
|
+
import { t as pe } from "./is-webview-CW_tK_lH.js";
|
|
17
|
+
import { t as me } from "./scheduler-CO29sRve.js";
|
|
18
|
+
import { $ as he, $t as ge, A as _e, At as ve, B as ye, Bt as be, C as xe, Ct as Se, D as Ce, Dt as we, E as Te, Et as Ee, F as De, Ft as Oe, G as ke, Gt as Ae, H as je, Ht as Me, I as Ne, It as Pe, J as Fe, Jt as Ie, K as Le, Kt as Re, L as ze, Lt as Be, M as Ve, Mt as He, N as Ue, Nt as We, O as Ge, Ot as Ke, P as qe, Pt as Je, Q as Ye, Qt as P, R as Xe, Rt as Ze, S as Qe, St as $e, T as et, Tt as tt, U as nt, Ut as rt, V as it, Vt as at, W as ot, Wt as st, X as ct, Xt as lt, Y as ut, Yt as dt, Z as ft, Zt as pt, _ as mt, _t as ht, a as gt, an as _t, at as vt, b as yt, bt, cn as xt, ct as St, d as Ct, dn as F, dt as wt, en as Tt, et as Et, f as Dt, fn as Ot, ft as kt, g as At, gt as jt, h as Mt, ht as Nt, i as Pt, in as Ft, it as It, j as Lt, jt as Rt, k as zt, kt as Bt, l as Vt, ln as Ht, lt as Ut, m as Wt, mn as Gt, mt as Kt, nn as qt, nt as Jt, o as Yt, on as Xt, ot as Zt, p as Qt, pn as $t, pt as en, q as tn, qt as nn, r as rn, rn as an, rt as on, s as sn, sn as cn, st as ln, tn as un, tt as dn, u as fn, un as pn, ut as mn, v as hn, vt as gn, w as _n, wt as vn, x as yn, xt as bn, y as xn, yt as Sn, z as Cn, zt as wn } from "./debug-context-_45jR8C-.js";
|
|
19
|
+
import { t as Tn } from "./classnames-BJTcQIVl.js";
|
|
20
|
+
import { t as En } from "./Button-B0MFYLVc.js";
|
|
21
21
|
//#region ../../node_modules/.pnpm/resize-observer@1.0.4/node_modules/resize-observer/lib/ContentRect.js
|
|
22
22
|
var Dn = /* @__PURE__ */ t(((e) => {
|
|
23
23
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ContentRect = function(e) {
|
|
@@ -10170,12 +10170,12 @@ var Pv = !1;
|
|
|
10170
10170
|
//#endregion
|
|
10171
10171
|
//#region ../renderer/src/debug/debug-chunk.ts
|
|
10172
10172
|
function Fv() {
|
|
10173
|
-
return Lv != null || (Lv = import("./DebugTools-
|
|
10173
|
+
return Lv != null || (Lv = import("./DebugTools-BU3wjPGB.js")), Lv;
|
|
10174
10174
|
}
|
|
10175
10175
|
async function Iv() {
|
|
10176
10176
|
await Fv();
|
|
10177
10177
|
}
|
|
10178
|
-
var Lv, Rv = (0, I.lazy)(() => import("./DebugTools-
|
|
10178
|
+
var Lv, Rv = (0, I.lazy)(() => import("./DebugTools-BU3wjPGB.js").then((e) => ({ default: e.DebugTools })));
|
|
10179
10179
|
function zv(e) {
|
|
10180
10180
|
let t = (0, H.c)(7), n, r, i;
|
|
10181
10181
|
t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({debugEnabled: i, children: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i), i && (0, I.use)(Fv());
|
|
@@ -23710,7 +23710,7 @@ var aF = (tF = class {
|
|
|
23710
23710
|
}
|
|
23711
23711
|
async buildEngine() {
|
|
23712
23712
|
try {
|
|
23713
|
-
let { default: e } = await import("./fuse-
|
|
23713
|
+
let { default: e } = await import("./fuse-CSGWbbNq.js").then((e) => e.n);
|
|
23714
23714
|
se(() => {
|
|
23715
23715
|
this.engine = new e([], {
|
|
23716
23716
|
keys: this.keys,
|
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "edf52ee9-f3a6-424f-a5ff-f0c8342333ab", e._sentryDebugIdIdentifier = "sentry-dbid-edf52ee9-f3a6-424f-a5ff-f0c8342333ab");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./jsx-runtime-
|
|
10
|
-
import { t } from "./settings-item-
|
|
11
|
-
import { t as n } from "./text-field-
|
|
9
|
+
import { t as e } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
10
|
+
import { t } from "./settings-item-D5PjVyNk.js";
|
|
11
|
+
import { t as n } from "./text-field-Db4wvBQb.js";
|
|
12
12
|
//#region ../debug/src/lib/ui/string-editor.tsx
|
|
13
13
|
var r = e(), i = (e) => {
|
|
14
14
|
var i;
|
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b57a1337-f6ba-488a-8e6f-60f9358b45a2", e._sentryDebugIdIdentifier = "sentry-dbid-b57a1337-f6ba-488a-8e6f-60f9358b45a2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { D as n, i as r, l as i, n as a, s as o, u as s, y as c } from "./flex-
|
|
12
|
-
import { t as l } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-LBfc_8zH.js";
|
|
10
|
+
import { t } from "./react-CSfcl6m_.js";
|
|
11
|
+
import { D as n, i as r, l as i, n as a, s as o, u as s, y as c } from "./flex-C3cSMVt_.js";
|
|
12
|
+
import { t as l } from "./classnames-BJTcQIVl.js";
|
|
13
13
|
//#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._5ea800d4e947acedb1fa1275f1697b17/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
14
14
|
var u = /* @__PURE__ */ e(t()), d = /* @__PURE__ */ e(l()), f = {
|
|
15
15
|
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f5429b84-6f5b-4b20-898f-e5345902ef44", e._sentryDebugIdIdentifier = "sentry-dbid-f5429b84-6f5b-4b20-898f-e5345902ef44");
|
|
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-LBfc_8zH.js";
|
|
10
|
+
import { t } from "./react-CSfcl6m_.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
12
|
+
import { t as r } from "./react-dom-BtTajUTr.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-C3cSMVt_.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-DX9URKQh.js";
|
|
15
|
+
import { t as y } from "./classnames-BJTcQIVl.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_cffccd7838985066e8e1d993b5cb6017/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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cbb5c555-77ff-4375-8420-80c8ae476dcf", e._sentryDebugIdIdentifier = "sentry-dbid-cbb5c555-77ff-4375-8420-80c8ae476dcf");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, i as n, s as r } from "./efp-debug-init-
|
|
11
|
-
import { a as i, i as a } from "./adopt-global-settings-
|
|
12
|
-
import { t as o } from "./jsx-runtime-
|
|
13
|
-
import "./settings-
|
|
14
|
-
import { t as s } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-LBfc_8zH.js";
|
|
10
|
+
import { a as t, i as n, s as r } from "./efp-debug-init-tAoJiV3q.js";
|
|
11
|
+
import { a as i, i as a } from "./adopt-global-settings-33HggKBq.js";
|
|
12
|
+
import { t as o } from "./jsx-runtime-DAYaJ8Wj.js";
|
|
13
|
+
import "./settings-Cot3Zp4u.js";
|
|
14
|
+
import { t as s } from "./add-debug-secret-listener-jHopjZKv.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var c = /* @__PURE__ */ e(r(), 1), l = o(), u = !1;
|
|
17
17
|
function d() {
|
|
@@ -26,7 +26,7 @@ function d() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let o = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-Bzg8w5FY.js"), { createRoot: i } = await import("./client-Cj1mLS94.js").then((t) => /* @__PURE__ */ e(t.t(), 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, l.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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7407e64e-4c4e-4bfb-b2ef-80063ad22998", e._sentryDebugIdIdentifier = "sentry-dbid-7407e64e-4c4e-4bfb-b2ef-80063ad22998");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { l as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-LBfc_8zH.js";
|
|
10
|
+
import { t } from "./react-CSfcl6m_.js";
|
|
11
|
+
import { l as n } from "./store-BUXXD8-o.js";
|
|
12
12
|
//#region ../ui/src/shared/activeElement.ts
|
|
13
13
|
var r = (e) => !!e && "activeElement" in e;
|
|
14
14
|
function i(e) {
|
|
@@ -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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.33.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "30d5a1aa-2d79-4710-91d1-937109f43b1a", e._sentryDebugIdIdentifier = "sentry-dbid-30d5a1aa-2d79-4710-91d1-937109f43b1a");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { c as e, vt as t } from "./store-
|
|
9
|
+
import { c as e, vt as t } from "./store-BUXXD8-o.js";
|
|
10
10
|
//#region src/components/Map/viewport.ts
|
|
11
11
|
function n(e) {
|
|
12
12
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as h,jsxs as _}from"react/jsx-runtime";import{Renderer as F,update as b}from"@expofp/renderer";import D from"classnames";import{observable as N}from"mobx";import{useObserver as g}from"mobx-react-lite";import{useEffect as y,useMemo as O,useRef as v,useState as z}from"react";import k from"../../data";import{svgArea as j}from"../../data/svg";import{createSceneDef as I}from"../../engine/defs";import i,{layersStore as d,uiState as m}from"../../store";import f from"../../tools/settings";import{applyVenueDim as V,createDimmingAnimator as Z}from"../../utils/dimming";import x from"../../utils/is-debug";import{isPathwayLayer as C}from"../../utils/is-pathway-layer";import{useReaction as R}from"../../utils/mobx";import{createWayfinding as $}from"../../wayfinding";import U from"./drawing/config/config-all";import{configMarkers as W}from"./drawing/config/config-markers";import{loadLayersImages as X}from"./drawing/config/loadBoothsImages";import{MapCamera as B}from"./MapCamera";import{MapCursorCoords as H}from"./MapCursorCoords";import{MapViewport as G}from"./MapViewport";import{clearSelection as J}from"./pointer";import{setMapScene as E}from"./scene";import{useBuildRoute as q}from"./traffic/useBuildRoute";import{useManageTraffic as K}from"./traffic/useManageTraffic";import{centerCoordinates as Q}from"./viewport";const Y="#ebebeb",M="routes-api.expofp.com",ee=1e4;function re(t){return Number.isFinite(f.maxZoom)?f.maxZoom:t.viewbox.size.width>ee?100:35}function oe(){if(!i.fp.enableRotation)return!1;const t=m.mapSettings.roll;return t===void 0||Number(t)===1}function te(){return f.EXPO==="imexamerica25-3d"?!0:void 0}function ne(){const t=m.mapSettings.zoomtime;if(!(!t||t===m.defaultMapSettings.zoomtime))return{zoomTime:t/1e3}}export default function ie(){const t=v(null),l=O(()=>N({moving:!1,prevLevel:i.layerStore.layers.find(r=>!r.frozen&&r.visible)}),[]),[o,T]=z(void 0),c=v(null),p=v(null);function L(){d.layers.forEach(r=>{r.configured=!1,r.children=[],r.loaded=!1})}y(()=>{let r=!1;return L(),d.layersLoaded=!1,U().then(({layers:s,cleanup:a})=>{if(r){a();return}p.current=a;const n=f.backgroundColor==="none"?Y:f.backgroundColor,e=I(s,j,n);T(e),E(e),c.current=Z(u=>{V(e,u)&&b(e.rootLayer)}),c.current.setTarget(m.dimmed,{immediate:!0}),d.layersLoaded=!0,i.fp.onFpConfigured&&i.fp.onFpConfigured(),X()}),()=>{r=!0,p.current?.(),p.current=null,c.current?.stop(),c.current=null,E(void 0),L()}},[]),R(()=>m.dimmed,r=>{c.current?.setTarget(r)}),y(()=>{i.fp.getCenterCoordinates=()=>Q(t.current)},[]),y(()=>{if(!o)return;const r=$({scene:o,store:i,canvas:t}),s=W({scene:o});return()=>{r(),s()}},[o]),R(()=>i.routeStore.currentRouteLayer,()=>{const r=i.routeStore.currentRouteLayer;if(!o||!r||l.prevLevel===r)return;const s=o.rootLayer.children.filter(e=>i.layerStore.floors.some(u=>e.name.includes(u.name))),a=r.name;if(!s.find(e=>e.name===a))return;const n=[];s.forEach(e=>{e.name===a&&e.hidden!==!1&&(e.hidden=!1,n.push(e)),e.name===l.prevLevel?.name&&e.hidden!==!0&&(e.hidden=!0,n.push(e))}),l.prevLevel=r,n.length&&b(...n)},void 0,[o]),R(()=>i.layerStore.visible,r=>{if(!o)return;const s=r.filter(e=>C(e.name)),a=o.rootLayer.children,n=[];for(const e of a){if(!C(e.name))continue;const u=!s.find(P=>P.name===e.name);e.hidden!==u&&(e.hidden=u,n.push(e))}n.length&&b(...n)},void 0,[o]);const S=g(()=>d.layersLoaded),w=g(()=>!!m.buildRoute);q({enabled:S&&w,scene:o});const A=k.busRoutes??!1;return K({permission:S&&A,scene:o,dataJsonUrl:`https://${M}/v1/routes?expo=${f.EXPO}`,websocketUrl:`wss://${M}/locations?expo=${f.EXPO}`}),g(()=>o?_(F,{debug:x,style:{width:"100%",height:"100%"},ref:t,className:D({map:!0}),scene:o,maxZoom:re(o),bounds:d.bounds,controls:{roll:oe(),pitch:te()},smoothTime:ne(),visibleRect:m.canvasVisibleRectPx,onPointerMissed:J,children:[h(B,{}),h(G,{}),x&&h(H,{canvas:t})]}):null)}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Publishes the plan coordinates under the pointer to the debug panel. Debug builds only.
|
|
4
|
+
*
|
|
5
|
+
* Rendered inside `<Renderer>`: `useViewport` and the panel resolve nowhere else, and each view
|
|
6
|
+
* passes its own canvas.
|
|
7
|
+
* @param props - The canvas the plan draws on.
|
|
8
|
+
* @returns Nothing; this renders no scene node.
|
|
9
|
+
*/
|
|
10
|
+
export declare function MapCursorCoords(props: {
|
|
11
|
+
canvas: RefObject<HTMLCanvasElement | null>;
|
|
12
|
+
}): null;
|
|
13
|
+
//# sourceMappingURL=MapCursorCoords.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useDebugPanel as m,useViewport as v}from"@expofp/renderer";import{useCallback as l,useEffect as p,useEffectEvent as E}from"react";import L from"../../store";import{LayerMode as u}from"../../store/LayerStore";const a=2;export function MapCursorCoords(r){const{canvas:e}=r,o=v(),s=m(),i=l(()=>s("cursor",void 0),[s]),f=E(n=>{if(!n.isPrimary)return;const t=o.canvasToPlan({x:n.offsetX,y:n.offsetY});s("cursor",t?x(t,b()):void 0)});return p(()=>{const n=e.current;if(!n)return;const t=d=>f(d),c=()=>i();return n.addEventListener("pointermove",t),n.addEventListener("pointerleave",c),()=>{n.removeEventListener("pointermove",t),n.removeEventListener("pointerleave",c)}},[e,i]),null}function b(){return L.layerStore.layers.find(e=>e.visible&&(e.mode===u.TurnedOn||e.mode===u.TurnedOff))?.name||null}function x(r,e){const o=`[${r.x.toFixed(a)}, ${r.y.toFixed(a)}]`;return e?`${o} \xB7 layer ${e}`:o}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as w,jsxs as H}from"react/jsx-runtime";import{isLayerDefs as Q}from"@expofp/renderer";import Y from"color";import{runInAction as q}from"mobx";import{observer as ee}from"mobx-react-lite";import{useCallback as F,useEffect as h,useMemo as m,useRef as f,useState as k}from"react";import re from"../../data";import{getLayerSvg as te,svgArea as C,svgAreaExplicit as oe}from"../../data/svg";import{createSceneDef as ne}from"../../engine/defs";import t,{uiState as c}from"../../store";import M from"../../tools/settings";import j from"../../utils/is-debug";import{fitRectIsFraming as ie,getVenueFitMarginPercent as ae,resolveVenueFitRect as ce}from"../../utils/scene-bounds";import se from"../Map/drawing/config/config-all";import{loadLayersImages as le}from"../Map/drawing/config/loadBoothsImages";import{MapCursorCoords as ue}from"../Map/MapCursorCoords";import{MapViewport as me}from"../Map/MapViewport";import{clearSelection as fe}from"../Map/pointer";import{setMapScene as $}from"../Map/scene";import{useBuildRoute as pe}from"../Map/traffic/useBuildRoute";import{useManageTraffic as de}from"../Map/traffic/useManageTraffic";import{centerCoordinates as ge}from"../Map/viewport";import be from"./MaplibreWrapper";import{useCameraReactions as Se}from"./useCameraReactions";import{useDimming as ye}from"./useDimming";import{useKioskIdleEvents as Re}from"./useKioskIdleEvents";import{useLayerVisibilitySync as he}from"./useLayerVisibilitySync";import{usePoiMarkers as Ce}from"./usePoiMarkers";import{useWayfindingAndMarkers as Me}from"./useWayfindingAndMarkers";import{cameraForLocalRect as Ae,deriveGeoConfig as Le,getLocalRectGeoBounds as Pe,getVisibleRectFitPadding as De,INITIAL_FIT_ZOOM_ADJUSTMENT as ve}from"./utils/geo-config";import{applyMapOptions as V,DEFAULT_MAP_OPTIONS as ze,getTileSource as Te,MAP_2D_OPTIONS as Oe}from"./utils/map-helpers";import{calculateTransformMatrix as Ee}from"./utils/solver";const N="routes-api.expofp.com",xe=800;function Ie(i,b,s){return{getCameraState:()=>{const o=i.getCenter();return{lng:o.lng,lat:o.lat,zoom:i.getZoom(),bearing:i.getBearing(),pitch:i.getPitch()}},applyCameraState:o=>{i.easeTo({center:[o.lng,o.lat],zoom:o.zoom,bearing:o.bearing??b,pitch:o.pitch??s(),duration:xe,essential:!0})},resetPitch:()=>{const o=s();i.getPitch()!==o&&i.jumpTo({pitch:o})}}}function U(){t.poiMarkerStore.clear(),q(()=>{t.layerStore.layers.forEach(i=>{i.configured=!1,i.children=[],i.loaded=!1}),t.layerStore.layersLoaded=!1})}const _e=ee(function({viewMode:b}){const[s,o]=k(null),[v,z]=k(!1),u=f(null),p=f(null),A=f(null),T=f(null),S=f(null),r=m(()=>Le(),[]),L=m(()=>ce({layerViewbox:t.layerStore.viewboxRectangle,explicitArea:oe?C:null,layerRectangle:t.layerStore.rectangle,sceneDef:s,svgArea:C}),[s]),y=L.rect,d=m(()=>{if(!r)return null;const e=ie(L.source)?0:ae(y,C),n=De(0);e&&c.screenSize&&(n.left+=c.screenSize.width*e,n.right+=c.screenSize.width*e,n.top+=c.screenSize.height*e,n.bottom+=c.screenSize.height*e);const l=c.screenSize?Ae(y,r.gpsConfig,r.bearing,{width:c.screenSize.width,height:c.screenSize.height},n):null;return l?{center:l.center,bearing:r.bearing,zoom:l.zoom}:{center:r.center,bearing:r.bearing,zoom:r.zoom,bounds:Pe(y,r.gpsConfig),fitPadding:n,zoomAdjustment:ve}},[r,L,y]),R=m(()=>r?Ee(r.gpsConfig,te()?.getAttribute("units")):null,[r]),g=m(()=>({...b==="map2d"?Oe:ze}),[b]),P=f(g),B=m(()=>Te(),[]),a=m(()=>{if(!s||!R)return null;const e=s.rootLayer.children,n=Q(e)?e.filter(l=>l.name.toLowerCase()!=="areamap"):e;return{...s,rootLayer:{...s.rootLayer,children:n},background:void 0,staticTransform:R}},[s,R]),O=f(null);h(()=>{O.current=a},[a]),h(()=>{if(a)return $(a),()=>$(void 0)},[a]);const{mapDimAnimatorRef:E,venueDimAnimatorRef:x,applyDimmingTarget:I,handleMapDimLayerReady:G}=ye(u,O);h(()=>{if(!r)return;let e=!1;U(),se().then(({layers:D,cleanup:_})=>{if(e){_();return}A.current=_;const Z=Y(M.backgroundColor==="none"?"#ebebeb":M.backgroundColor).string();o(ne(D,C,Z))}).catch(D=>{e||console.warn("Maplibre scene configuration failed.",D)});const n=E.current,l=x.current;return()=>{e=!0,U(),A.current?.(),A.current=null,S.current&&(t.maplibreStore.clearCameraPortIfCurrent(S.current),S.current=null),u.current=null,p.current=null,T.current=null,z(!1),n?.stop(),l?.stop(),c.sceneDefReady=!1}},[r,E,x]);const J=F((e,n)=>{u.current=e,p.current=e.getCanvas(),T.current=n,z(!0),V(e,P.current);const l=Ie(e,r?.bearing??e.getBearing(),()=>P.current.pitch??0);S.current=l,t.maplibreStore.setCameraPort(l),t.fp.getCenterCoordinates=()=>ge(p.current),I({immediate:!0}),le(),t.layerStore.layersLoaded=!0,t.fp.onFpConfigured&&t.fp.onFpConfigured(),c.sceneDefReady=!0,n()},[I,r]);h(()=>{P.current=g,V(u.current,g,!0)},[g]),Re(v,u),Me(a,p),Ce(v,u,r),he(a,u,r),Se(u,r,a),pe({enabled:t.layerStore.layersLoaded&&c.buildRoute,scene:a??void 0});const K=re.busRoutes??!1;de({permission:t.layerStore.layersLoaded&&K,scene:a??void 0,dataJsonUrl:`https://${N}/v1/routes?expo=${M.EXPO}`,websocketUrl:`wss://${N}/locations?expo=${M.EXPO}`});const W=F(e=>{console.warn("Maplibre map failed to load; falling back to floorplan mode.",e),t.maplibreStore.deactivateMaplibre()},[]);if(!r||!d||!R||!a)return null;const X=`${d.center.join(",")}:${d.bearing}:${d.zoom}`;return H(be,{sceneDef:a,geoConfig:d,tileSource:B,mapOptions:g,debug:j,onMapReady:J,onMapDimLayerReady:G,onMapLoadError:W,onPointerMissed:fe,children:[w(me,{}),j&&w(ue,{canvas:p})]},X)});export default _e;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"tslib": "^2.3.0",
|
|
70
70
|
"uuid": "^9.0.1",
|
|
71
71
|
"zod": "4.4.3",
|
|
72
|
-
"@expofp/config": "3.
|
|
73
|
-
"@expofp/debug": "3.
|
|
74
|
-
"@expofp/geometry": "3.
|
|
75
|
-
"@expofp/renderer": "3.
|
|
76
|
-
"@expofp/resolve": "3.
|
|
77
|
-
"@expofp/schema": "3.
|
|
78
|
-
"@expofp/ui": "3.
|
|
79
|
-
"@expofp/
|
|
80
|
-
"@expofp/
|
|
72
|
+
"@expofp/config": "3.33.0",
|
|
73
|
+
"@expofp/debug": "3.33.0",
|
|
74
|
+
"@expofp/geometry": "3.33.0",
|
|
75
|
+
"@expofp/renderer": "3.33.0",
|
|
76
|
+
"@expofp/resolve": "3.33.0",
|
|
77
|
+
"@expofp/schema": "3.33.0",
|
|
78
|
+
"@expofp/ui": "3.33.0",
|
|
79
|
+
"@expofp/wayfinding": "3.33.0",
|
|
80
|
+
"@expofp/utils": "3.33.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^8.0.2",
|