@expofp/floorplan 3.39.0 → 3.39.1
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-bdODDPNw.js → Button-DDJ9HcfI.js} +5 -5
- package/dist/browser/{CookieConsent-DNrAwMNi.js → CookieConsent-CJSQYYJ0.js} +7 -7
- package/dist/browser/{Debug-BIX5rNWa.js → Debug-Bt5IRvUt.js} +7 -7
- package/dist/browser/{DebugTools-DWIya7Bp.js → DebugTools-C-4QnINH.js} +26 -26
- package/dist/browser/{Demo-BjyJN4Lb.js → Demo-ClW-lszE.js} +9 -9
- package/dist/browser/{Free-GA2gE4iv.js → Free-CPuBAHN9.js} +9 -9
- package/dist/browser/{GalleryContainer-BEiygMFs.js → GalleryContainer-CIasK5mL.js} +10 -10
- package/dist/browser/{GpsLoader-DamQfmE8.js → GpsLoader-DiArANLO.js} +17 -17
- package/dist/browser/{KioskStore-unhS5B1M.js → KioskStore-BZ4HwD9A.js} +5 -5
- package/dist/browser/{MaplibreAdapter-BuFz6p4l.js → MaplibreAdapter-BdbdSizH.js} +102 -102
- package/dist/browser/{ModalContainer-BSOaylBJ.js → ModalContainer-BuH30fJN.js} +10 -10
- package/dist/browser/{PermissionNotice-QoBvgTxq.js → PermissionNotice-DMOhs0fQ.js} +6 -6
- package/dist/browser/{SetKioskMode-CY8Px_y2.js → SetKioskMode-BUUQxMDT.js} +12 -12
- package/dist/browser/{ShowKiosk-BdIb4cjA.js → ShowKiosk-CGkQXtiC.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-CfEoeUSF.js → ViewerMenuPanel-C0hwkh7I.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-DcRkKb16.js → add-debug-secret-listener-DibnDryN.js} +1 -1
- package/dist/browser/{adopt-global-settings-BQr2uaJi.js → adopt-global-settings-BscL85ma.js} +9 -9
- package/dist/browser/{boolean-editor-CO1l1mG2.js → boolean-editor-CLJh2knL.js} +9 -9
- package/dist/browser/{bootIntercom-BF8W6edz.js → bootIntercom-C-YBp0xT.js} +2 -2
- package/dist/browser/bundle.json +71 -71
- package/dist/browser/{camera-events-BM2DRKiu.js → camera-events-CQZgwih3.js} +1 -1
- package/dist/browser/{classnames-zBYgq48f.js → classnames-4Iik8FC_.js} +2 -2
- package/dist/browser/{client-kHcAahev.js → client-BtPJvi_3.js} +5 -5
- package/dist/browser/{components-DAabWR_p.js → components-DMOhc6ZZ.js} +753 -716
- package/dist/browser/{debug-context-DoIsRKLN.js → debug-context-CxXzVYRx.js} +7 -7
- package/dist/browser/{debug-overlay-Cldouqb1.js → debug-overlay-BJZ16esR.js} +10 -10
- package/dist/browser/{debug-ui-BMvP-d9w.js → debug-ui-CX2sgttZ.js} +6 -6
- package/dist/browser/{dimming-Big09HME.js → dimming-3R7UOgr9.js} +82 -82
- package/dist/browser/{dist-Da-W2paU.js → dist--cp6ZHYH.js} +5 -5
- package/dist/browser/{dist-BqsLBiXn.js → dist-DeeoO3mx.js} +6 -6
- package/dist/browser/{dist-DUkTj21m.js → dist-DoBzJWpA.js} +3 -3
- package/dist/browser/{efp-debug-init-Br53YSLH.js → efp-debug-init-DfQX41Dz.js} +3 -3
- package/dist/browser/{enum-editor-BF0tTe81.js → enum-editor-BByQoeky.js} +4 -4
- package/dist/browser/{es5-DLwEWAqt.js → es5-CP2UUc_5.js} +2 -2
- package/dist/browser/{event-head-D7Uj7byv.js → event-head-BXpNerID.js} +1 -1
- package/dist/browser/{event-not-found-CANnIJrZ.js → event-not-found-Bx82hQuX.js} +3 -3
- package/dist/browser/{exports-KRrUY3Z1.js → exports-gWa75nmY.js} +1 -1
- package/dist/browser/{favicon-Bze7lfTk.js → favicon-DNdj7aFi.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D6rdaNIF.js → fetch-retry.umd-Df7tkVK1.js} +2 -2
- package/dist/browser/{flex-_QSLGHt0.js → flex-uig6hZkZ.js} +5 -5
- package/dist/browser/{floorplan.loader-CvNH6Qc4.js → floorplan.loader-DNLxyDic.js} +10 -10
- package/dist/browser/{floorplan.ready-HPblmUxV.js → floorplan.ready-C_lm766s.js} +16 -16
- package/dist/browser/{fuse-9EzVEd12.js → fuse-Didw830W.js} +2 -2
- package/dist/browser/{i18n-DsPOygSI.js → i18n-BVE2kS7w.js} +5 -5
- package/dist/browser/index.js +16 -16
- package/dist/browser/{index.module-BnkEmOmv.js → index.module-CVo9wrU4.js} +4 -4
- package/dist/browser/{integrateKiosk-DlUC2piv.js → integrateKiosk-bnGUsf7Q.js} +4 -4
- package/dist/browser/{is-own-domain-Db2dg_LE.js → is-own-domain-B64uVROp.js} +1 -1
- package/dist/browser/{is-webview-CKWDUFMW.js → is-webview-BoQ3VPRe.js} +1 -1
- package/dist/browser/{jsx-runtime-BxX9Q763.js → jsx-runtime-BGutO_I9.js} +2 -2
- package/dist/browser/{kiosk-record-BDPzvIrP.js → kiosk-record-Bcyr4YeZ.js} +1 -1
- package/dist/browser/{lib-BuATiAoM.js → lib-CW4ROgrI.js} +3 -3
- package/dist/browser/{loadImage-BvSruq1k.js → loadImage-B-6VhOfG.js} +4 -4
- package/dist/browser/{logDeviceInfo-Cu3Vy9La.js → logDeviceInfo-DLgu-6-l.js} +9 -9
- package/dist/browser/{mobx-C6ZnBiyR.js → mobx-B9XSgx3-.js} +4 -4
- package/dist/browser/{optional-boolean-editor-D4LT9fSN.js → optional-boolean-editor-ESbhCoDb.js} +3 -3
- package/dist/browser/{optional-enum-editor-Cxn6rM4t.js → optional-enum-editor-_RF_OVcS.js} +4 -4
- package/dist/browser/{optional-string-editor-CTUOwnCm.js → optional-string-editor-C6h-x0BL.js} +4 -4
- package/dist/browser/{particles.min-dLuHpqHJ.js → particles.min-Dccc8fgr.js} +2 -2
- package/dist/browser/{react-8e9Lx7_L.js → react-CM7l092i.js} +2 -2
- package/dist/browser/{react-dom-DVm8zF94.js → react-dom-DV2t60Bu.js} +3 -3
- package/dist/browser/{rolldown-runtime-CgLujcqt.js → rolldown-runtime-BOCG9HEF.js} +1 -1
- package/dist/browser/{scheduler-BviKXQIp.js → scheduler-CYuaS4GW.js} +2 -2
- package/dist/browser/{select-DqlFRrKq.js → select-Ck7Yfj4n.js} +10 -10
- package/dist/browser/{settings-DYHQnr2h.js → settings-BEwEIUKe.js} +2 -2
- package/dist/browser/{settings-item-C7c9AnkF.js → settings-item-BMVccHn4.js} +6 -6
- package/dist/browser/{store-CrXKrvfj.js → store-CARxK2Ft.js} +5554 -5514
- package/dist/browser/{string-editor-DziXqaWJ.js → string-editor-DvchTir6.js} +4 -4
- package/dist/browser/{text-field-Dh7Ux2mR.js → text-field-B93LMty4.js} +5 -5
- package/dist/browser/{theme-me78t_PC.js → theme-FqSzizhT.js} +8 -8
- package/dist/browser/{ui-yPy4UNxE.js → ui-1b_AyBgX.js} +8 -8
- package/dist/browser/{useRenderTarget-Cm9xuQ0_.js → useRenderTarget-Z7iVu1Bc.js} +4 -4
- package/dist/browser/{viewport-rjH0BXVJ.js → viewport-CN0fRYhD.js} +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/package.json +11 -11
|
@@ -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.39.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.39.1" };
|
|
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] = "5212d0bf-1608-4265-a87f-ae9d054b8eca", e._sentryDebugIdIdentifier = "sentry-dbid-5212d0bf-1608-4265-a87f-ae9d054b8eca");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { X as n, Z as r, v as i, y as a } from "./i18n-
|
|
12
|
-
import { t as o } from "./react-
|
|
13
|
-
import { t as s } from "./jsx-runtime-
|
|
14
|
-
import { n as c } from "./loadImage-
|
|
15
|
-
import { An as l, Cn as u, D as d, Dn as f,
|
|
16
|
-
import { t as re } from "./index.module-
|
|
17
|
-
import { i as ie } from "./mobx-
|
|
18
|
-
import { t as ae } from "./camera-events-
|
|
19
|
-
import { t as oe } from "./viewport-
|
|
20
|
-
import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dimming-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-BOCG9HEF.js";
|
|
11
|
+
import { X as n, Z as r, v as i, y as a } from "./i18n-BVE2kS7w.js";
|
|
12
|
+
import { t as o } from "./react-CM7l092i.js";
|
|
13
|
+
import { t as s } from "./jsx-runtime-BGutO_I9.js";
|
|
14
|
+
import { n as c } from "./loadImage-B-6VhOfG.js";
|
|
15
|
+
import { An as l, Cn as u, D as d, Dn as f, En as p, Et as m, F as h, Gt as g, Jt as _, Lt as v, N as y, Rt as b, Sn as x, St as S, Ut as C, V as w, Wt as T, an as E, bn as D, c as O, d as k, f as A, jt as j, l as M, p as N, u as ee, v as te, wn as ne, xt as P } from "./store-CARxK2Ft.js";
|
|
16
|
+
import { t as re } from "./index.module-CVo9wrU4.js";
|
|
17
|
+
import { i as ie } from "./mobx-B9XSgx3-.js";
|
|
18
|
+
import { t as ae } from "./camera-events-CQZgwih3.js";
|
|
19
|
+
import { t as oe } from "./viewport-CN0fRYhD.js";
|
|
20
|
+
import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dimming-3R7UOgr9.js";
|
|
21
21
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
22
22
|
var F = /* @__PURE__ */ e(o(), 1), ge = /* @__PURE__ */ e(f(), 1), _e = (/* @__PURE__ */ t(((e, t) => {
|
|
23
23
|
(function(n, r) {
|
|
@@ -34675,18 +34675,18 @@ function Wt() {
|
|
|
34675
34675
|
return e;
|
|
34676
34676
|
}
|
|
34677
34677
|
function Gt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i, onMapReady: a, onMapDimLayerReady: o, onMapLoadError: s, onPointerMissed: c, children: l }) {
|
|
34678
|
-
let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(),
|
|
34678
|
+
let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(), p = (0, F.useRef)(a), m = (0, F.useRef)(o), h = (0, F.useRef)(s), g = (0, F.useRef)({
|
|
34679
34679
|
geoConfig: t,
|
|
34680
34680
|
tileSource: n,
|
|
34681
34681
|
mapOptions: r,
|
|
34682
34682
|
debug: i
|
|
34683
34683
|
});
|
|
34684
34684
|
return (0, F.useEffect)(() => {
|
|
34685
|
-
|
|
34685
|
+
p.current = a, m.current = o, h.current = s;
|
|
34686
34686
|
}), (0, F.useEffect)(() => {
|
|
34687
34687
|
let e = u.current;
|
|
34688
34688
|
if (!e) return;
|
|
34689
|
-
let { geoConfig: t, tileSource: n, mapOptions: r, debug: i } =
|
|
34689
|
+
let { geoConfig: t, tileSource: n, mapOptions: r, debug: i } = g.current, a = !1, o, s = () => {
|
|
34690
34690
|
let s = Wt(), c = t.bounds ? {
|
|
34691
34691
|
bounds: t.bounds,
|
|
34692
34692
|
fitBoundsOptions: {
|
|
@@ -34716,7 +34716,7 @@ function Gt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34716
34716
|
});
|
|
34717
34717
|
t.zoomAdjustment && u.jumpTo({ zoom: u.getZoom() + t.zoomAdjustment }), u.once("error", (e) => {
|
|
34718
34718
|
var t, n;
|
|
34719
|
-
u.isStyleLoaded() || (t =
|
|
34719
|
+
u.isStyleLoaded() || (t = h.current) == null || t.call(h, (n = e == null ? void 0 : e.error) == null ? e : n);
|
|
34720
34720
|
});
|
|
34721
34721
|
let d = (e) => {
|
|
34722
34722
|
let t = e == null ? void 0 : e.id;
|
|
@@ -34727,7 +34727,7 @@ function Gt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34727
34727
|
});
|
|
34728
34728
|
};
|
|
34729
34729
|
u.on("styleimagemissing", d);
|
|
34730
|
-
let
|
|
34730
|
+
let g, _ = () => u.triggerRepaint(), v = {
|
|
34731
34731
|
id: Lt,
|
|
34732
34732
|
type: "custom",
|
|
34733
34733
|
renderingMode: "3d",
|
|
@@ -34736,14 +34736,14 @@ function Gt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34736
34736
|
a || (f({
|
|
34737
34737
|
gl: t,
|
|
34738
34738
|
requestFrame: _,
|
|
34739
|
-
onFrame: (e) => (
|
|
34740
|
-
|
|
34739
|
+
onFrame: (e) => (g = e, _(), () => {
|
|
34740
|
+
g === e && (g = void 0);
|
|
34741
34741
|
})
|
|
34742
|
-
}), (n =
|
|
34742
|
+
}), (n = p.current) == null || n.call(p, u, _));
|
|
34743
34743
|
},
|
|
34744
34744
|
render(e, t) {
|
|
34745
34745
|
let n = Vt(t == null ? e : t);
|
|
34746
|
-
n && (
|
|
34746
|
+
n && (g == null || g(n)), i && _();
|
|
34747
34747
|
}
|
|
34748
34748
|
}, y = () => {
|
|
34749
34749
|
var e;
|
|
@@ -34762,13 +34762,13 @@ function Gt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34762
34762
|
delay: 0
|
|
34763
34763
|
}
|
|
34764
34764
|
}
|
|
34765
|
-
}), (e =
|
|
34765
|
+
}), (e = m.current) == null || e.call(m, u), u.addLayer(v);
|
|
34766
34766
|
};
|
|
34767
34767
|
u.on("style.load", y), u.setStyle(n.style, l ? { transformStyle: l } : void 0), o = () => {
|
|
34768
34768
|
u.off("style.load", y), u.off("styleimagemissing", d), u.remove();
|
|
34769
34769
|
};
|
|
34770
34770
|
};
|
|
34771
|
-
return i ?
|
|
34771
|
+
return i ? b().then(() => {
|
|
34772
34772
|
a || s();
|
|
34773
34773
|
}) : s(), () => {
|
|
34774
34774
|
a = !0, o == null || o(), f(void 0);
|
|
@@ -34782,7 +34782,7 @@ function Gt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
|
|
|
34782
34782
|
width: "100%",
|
|
34783
34783
|
height: "100%"
|
|
34784
34784
|
},
|
|
34785
|
-
children: d && /* @__PURE__ */ (0, Nt.jsx)(
|
|
34785
|
+
children: d && /* @__PURE__ */ (0, Nt.jsx)(v, {
|
|
34786
34786
|
...d,
|
|
34787
34787
|
scene: e,
|
|
34788
34788
|
debug: i,
|
|
@@ -34869,8 +34869,8 @@ function sn(e, t, n) {
|
|
|
34869
34869
|
}
|
|
34870
34870
|
function K() {
|
|
34871
34871
|
var e, t;
|
|
34872
|
-
if (!(!(
|
|
34873
|
-
let n =
|
|
34872
|
+
if (!(!(w == null || (e = w.properties) == null) && e.config)) return null;
|
|
34873
|
+
let n = w.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = h(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
|
|
34874
34874
|
return {
|
|
34875
34875
|
center: [r, i],
|
|
34876
34876
|
bearing: o,
|
|
@@ -34933,7 +34933,7 @@ function q(e, t, n, r = {}) {
|
|
|
34933
34933
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34934
34934
|
var cn = M, J = 15, ln = 24, un = 20;
|
|
34935
34935
|
function dn(e) {
|
|
34936
|
-
return ee(e,
|
|
34936
|
+
return ee(e, A(e, x)).expand(un);
|
|
34937
34937
|
}
|
|
34938
34938
|
function fn(e, t) {
|
|
34939
34939
|
return Math.min(Math.max(t, e.getMinZoom()), e.getMaxZoom());
|
|
@@ -34941,7 +34941,7 @@ function fn(e, t) {
|
|
|
34941
34941
|
function pn(e, t, n) {
|
|
34942
34942
|
var r;
|
|
34943
34943
|
if (n.length !== 1) return !1;
|
|
34944
|
-
let i = (r = n[0]) == null ? void 0 : r.id, a =
|
|
34944
|
+
let i = (r = n[0]) == null ? void 0 : r.id, a = O.poiMarkerStore.markers.find((e) => e.boothId === i);
|
|
34945
34945
|
if (!a) return !1;
|
|
34946
34946
|
let o = y(a.center.x, a.center.y, t.gpsConfig);
|
|
34947
34947
|
return sn(e, o, on(ln)) || e.easeTo({
|
|
@@ -34976,11 +34976,11 @@ function mn(e, t, n) {
|
|
|
34976
34976
|
}), cn.zoomBy = null);
|
|
34977
34977
|
}), ie(() => [
|
|
34978
34978
|
M.moveToLocation,
|
|
34979
|
-
|
|
34980
|
-
|
|
34979
|
+
O.maplibreStore.cameraPort,
|
|
34980
|
+
O.routeStore.currentPosition
|
|
34981
34981
|
], ([n]) => {
|
|
34982
34982
|
if (!n) return;
|
|
34983
|
-
let r = e.current, i =
|
|
34983
|
+
let r = e.current, i = O.routeStore.currentPosition;
|
|
34984
34984
|
if (!i) {
|
|
34985
34985
|
M.moveToLocation = !1;
|
|
34986
34986
|
return;
|
|
@@ -35004,11 +35004,11 @@ function mn(e, t, n) {
|
|
|
35004
35004
|
if (!(!r || !i || !t)) {
|
|
35005
35005
|
if (!(M.list.type === "search" && !M.list.text)) {
|
|
35006
35006
|
let { rect: e } = N({
|
|
35007
|
-
layerViewbox:
|
|
35008
|
-
explicitArea: u ?
|
|
35009
|
-
layerRectangle:
|
|
35007
|
+
layerViewbox: O.layerStore.viewboxRectangle,
|
|
35008
|
+
explicitArea: u ? x : null,
|
|
35009
|
+
layerRectangle: O.layerStore.rectangle,
|
|
35010
35010
|
sceneDef: n,
|
|
35011
|
-
svgArea:
|
|
35011
|
+
svgArea: x
|
|
35012
35012
|
});
|
|
35013
35013
|
q(i, e, t);
|
|
35014
35014
|
}
|
|
@@ -35054,19 +35054,19 @@ function Cn(e, t) {
|
|
|
35054
35054
|
}
|
|
35055
35055
|
function wn() {
|
|
35056
35056
|
var e, t, n;
|
|
35057
|
-
let r = (e = (t =
|
|
35057
|
+
let r = (e = (t = O.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
35058
35058
|
return r != null && r.style ? {
|
|
35059
35059
|
style: r.style,
|
|
35060
35060
|
offline: r.offline
|
|
35061
35061
|
} : r != null && r.styleUrl ? {
|
|
35062
35062
|
style: r.styleUrl,
|
|
35063
35063
|
offline: r.offline
|
|
35064
|
-
} : vn(
|
|
35064
|
+
} : vn(w == null || (n = w.properties) == null || (n = n.config) == null ? void 0 : n.style, ne.backgroundColor) === "dark" ? bn : yn;
|
|
35065
35065
|
}
|
|
35066
35066
|
//#endregion
|
|
35067
35067
|
//#region src/components/Maplibre/useDimming.ts
|
|
35068
35068
|
function Tn() {
|
|
35069
|
-
return M.dimmed && !
|
|
35069
|
+
return M.dimmed && !O.poiMarkerStore.dimSuppressed;
|
|
35070
35070
|
}
|
|
35071
35071
|
function En(e, t) {
|
|
35072
35072
|
let n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useCallback)((e) => {
|
|
@@ -35079,7 +35079,7 @@ function En(e, t) {
|
|
|
35079
35079
|
xn(e.current, t * he);
|
|
35080
35080
|
}), a = pe((e) => {
|
|
35081
35081
|
let n = t.current;
|
|
35082
|
-
n && de(n, e * 1) &&
|
|
35082
|
+
n && de(n, e * 1) && C(n.rootLayer);
|
|
35083
35083
|
});
|
|
35084
35084
|
return n.current = i, r.current = a, () => {
|
|
35085
35085
|
i.stop(), a.stop(), n.current = null, r.current = null;
|
|
@@ -35121,14 +35121,14 @@ function On(e, t = /* @__PURE__ */ new Map()) {
|
|
|
35121
35121
|
let n = (r = t.get(e.name)) == null ? [] : r;
|
|
35122
35122
|
n.push(e), t.set(e.name, n);
|
|
35123
35123
|
}
|
|
35124
|
-
for (let r of (n = e.children) == null ? [] : n)
|
|
35124
|
+
for (let r of (n = e.children) == null ? [] : n) T(r) && On(r, t);
|
|
35125
35125
|
return t;
|
|
35126
35126
|
}
|
|
35127
35127
|
//#endregion
|
|
35128
35128
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
35129
35129
|
function kn(e, t, n) {
|
|
35130
35130
|
let r = (0, F.useRef)(null), i = (0, F.useRef)(null);
|
|
35131
|
-
ie(() =>
|
|
35131
|
+
ie(() => O.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
35132
35132
|
var a, o;
|
|
35133
35133
|
if (!e) return;
|
|
35134
35134
|
((a = r.current) == null ? void 0 : a.rootLayer) !== e.rootLayer && (r.current = {
|
|
@@ -35136,15 +35136,15 @@ function kn(e, t, n) {
|
|
|
35136
35136
|
defsByName: On(e.rootLayer)
|
|
35137
35137
|
});
|
|
35138
35138
|
let s = r.current.defsByName, c = [];
|
|
35139
|
-
for (let e of
|
|
35139
|
+
for (let e of O.layerStore.layers) {
|
|
35140
35140
|
let t = s.get(e.name);
|
|
35141
35141
|
if (t != null && t.length) for (let n of t) {
|
|
35142
35142
|
let t = !e.visible;
|
|
35143
35143
|
n.hidden !== t && (n.hidden = t, c.push(n));
|
|
35144
35144
|
}
|
|
35145
35145
|
}
|
|
35146
|
-
c.length &&
|
|
35147
|
-
let l =
|
|
35146
|
+
c.length && C(...c);
|
|
35147
|
+
let l = O.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
35148
35148
|
if (!l || i.current === l.name) return;
|
|
35149
35149
|
i.current = l.name;
|
|
35150
35150
|
let u = (o = l.viewbox) == null ? l.rect : o;
|
|
@@ -35169,10 +35169,10 @@ function zn(e, t, a) {
|
|
|
35169
35169
|
if (!P()) return;
|
|
35170
35170
|
let s = t.current;
|
|
35171
35171
|
if (!e || !s || !a) return;
|
|
35172
|
-
let { gpsConfig: c } = a, u = /* @__PURE__ */ new Set(), d = window.devicePixelRatio || 1, f =
|
|
35172
|
+
let { gpsConfig: c } = a, u = /* @__PURE__ */ new Set(), d = window.devicePixelRatio || 1, f = E(36, d, ((o = ne.colors) == null || (o = o.booths) == null ? void 0 : o.selected) || "#3b6ef5"), p = (e) => y(e.center.x, e.center.y, c), m = (e, t) => {
|
|
35173
35173
|
s.hasImage(e) && s.removeImage(e), s.addImage(e, t, { pixelRatio: d }), u.add(e);
|
|
35174
35174
|
}, h = (e) => {
|
|
35175
|
-
let t =
|
|
35175
|
+
let t = O.poiMarkerStore.markers, n = new Set(t.map((e) => Rn(e.boothId)));
|
|
35176
35176
|
n.add(Fn);
|
|
35177
35177
|
for (let e of [...u]) n.has(e) || (s.hasImage(e) && s.removeImage(e), u.delete(e));
|
|
35178
35178
|
for (let n of t) {
|
|
@@ -35181,7 +35181,7 @@ function zn(e, t, a) {
|
|
|
35181
35181
|
}
|
|
35182
35182
|
u.has(Fn) || m(Fn, f);
|
|
35183
35183
|
}, g = () => {
|
|
35184
|
-
let e =
|
|
35184
|
+
let e = O.poiMarkerStore.selectedMarkerId, t = O.poiMarkerStore.outdoorFilter, n = !t.active, r = O.poiMarkerStore.markers;
|
|
35185
35185
|
return e === null ? t.active && (r = t.matchingMarkers) : r = r.filter((t) => t.boothId === e), {
|
|
35186
35186
|
cluster: n,
|
|
35187
35187
|
data: {
|
|
@@ -35317,9 +35317,9 @@ function zn(e, t, a) {
|
|
|
35317
35317
|
var t;
|
|
35318
35318
|
let n = (t = e.features) == null || (t = t[0]) == null || (t = t.properties) == null ? void 0 : t.boothId;
|
|
35319
35319
|
if (typeof n != "number") return;
|
|
35320
|
-
let r =
|
|
35321
|
-
r &&
|
|
35322
|
-
},
|
|
35320
|
+
let r = O.boothStore.boothById.get(n);
|
|
35321
|
+
r && O.clickBooth(r);
|
|
35322
|
+
}, D = (e) => {
|
|
35323
35323
|
var t, n, r;
|
|
35324
35324
|
let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, o = s.getSource(An);
|
|
35325
35325
|
if (typeof a != "number" || !o || (i == null || (r = i.geometry) == null ? void 0 : r.type) !== "Point") return;
|
|
@@ -35332,21 +35332,21 @@ function zn(e, t, a) {
|
|
|
35332
35332
|
});
|
|
35333
35333
|
});
|
|
35334
35334
|
};
|
|
35335
|
-
s.on("click", Nn, T), s.on("click", Pn, T), s.on("click", jn,
|
|
35335
|
+
s.on("click", Nn, T), s.on("click", Pn, T), s.on("click", jn, D), j.set((e, t) => {
|
|
35336
35336
|
let n = Ln.filter((e) => !!s.getLayer(e));
|
|
35337
35337
|
if (!n.length) return !1;
|
|
35338
35338
|
let r = s.project(y(e, t, c));
|
|
35339
35339
|
return s.queryRenderedFeatures([r.x, r.y], { layers: n }).length > 0;
|
|
35340
35340
|
});
|
|
35341
|
-
let
|
|
35341
|
+
let k = () => {
|
|
35342
35342
|
u.clear(), C(!0);
|
|
35343
35343
|
};
|
|
35344
|
-
s.on("style.load",
|
|
35345
|
-
let
|
|
35346
|
-
C(), w(
|
|
35344
|
+
s.on("style.load", k);
|
|
35345
|
+
let A = i(() => O.poiMarkerStore.markers, () => C(!0)), M = i(() => O.poiMarkerStore.selectedMarkerId, () => C()), N = i(() => O.poiMarkerStore.outdoorFilter.key, () => {
|
|
35346
|
+
C(), w(O.poiMarkerStore.outdoorFilter.matchingMarkers);
|
|
35347
35347
|
}), ee = i(() => Tn(), () => S());
|
|
35348
35348
|
return C(!0), () => {
|
|
35349
|
-
|
|
35349
|
+
A(), M(), N(), ee(), j.set(null), s.off("style.load", k), s.off("click", Nn, T), s.off("click", Pn, T), s.off("click", jn, D);
|
|
35350
35350
|
try {
|
|
35351
35351
|
b();
|
|
35352
35352
|
for (let e of u) s.hasImage(e) && s.removeImage(e);
|
|
@@ -35365,7 +35365,7 @@ function Bn(e, t) {
|
|
|
35365
35365
|
if (!e) return;
|
|
35366
35366
|
let n = d({
|
|
35367
35367
|
scene: e,
|
|
35368
|
-
store:
|
|
35368
|
+
store: O,
|
|
35369
35369
|
canvas: t
|
|
35370
35370
|
}), r = ue({ scene: e });
|
|
35371
35371
|
return () => {
|
|
@@ -35551,60 +35551,60 @@ function sr(e, t, n) {
|
|
|
35551
35551
|
};
|
|
35552
35552
|
}
|
|
35553
35553
|
function cr() {
|
|
35554
|
-
|
|
35555
|
-
|
|
35554
|
+
O.poiMarkerStore.clear(), a(() => {
|
|
35555
|
+
O.layerStore.layers.forEach((e) => {
|
|
35556
35556
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35557
|
-
}),
|
|
35557
|
+
}), O.layerStore.layersLoaded = !1;
|
|
35558
35558
|
});
|
|
35559
35559
|
}
|
|
35560
35560
|
var lr = re(function({ viewMode: e }) {
|
|
35561
35561
|
var t;
|
|
35562
|
-
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null), s = (0, F.useRef)(null), l = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null),
|
|
35563
|
-
layerViewbox:
|
|
35564
|
-
explicitArea: u ?
|
|
35565
|
-
layerRectangle:
|
|
35562
|
+
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null), s = (0, F.useRef)(null), l = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), h = (0, F.useMemo)(() => K(), []), v = (0, F.useMemo)(() => N({
|
|
35563
|
+
layerViewbox: O.layerStore.viewboxRectangle,
|
|
35564
|
+
explicitArea: u ? x : null,
|
|
35565
|
+
layerRectangle: O.layerStore.rectangle,
|
|
35566
35566
|
sceneDef: n,
|
|
35567
|
-
svgArea:
|
|
35568
|
-
}), [n]), y =
|
|
35569
|
-
if (!
|
|
35570
|
-
let e =
|
|
35567
|
+
svgArea: x
|
|
35568
|
+
}), [n]), y = v.rect, b = (0, F.useMemo)(() => {
|
|
35569
|
+
if (!h) return null;
|
|
35570
|
+
let e = k(v.source) ? 0 : A(y, x), t = on(0);
|
|
35571
35571
|
e && M.screenSize && (t.left += M.screenSize.width * e, t.right += M.screenSize.width * e, t.top += M.screenSize.height * e, t.bottom += M.screenSize.height * e);
|
|
35572
|
-
let n = M.screenSize ? rn(y,
|
|
35572
|
+
let n = M.screenSize ? rn(y, h.gpsConfig, h.bearing, {
|
|
35573
35573
|
width: M.screenSize.width,
|
|
35574
35574
|
height: M.screenSize.height
|
|
35575
35575
|
}, t) : null;
|
|
35576
35576
|
return n ? {
|
|
35577
35577
|
center: n.center,
|
|
35578
|
-
bearing:
|
|
35578
|
+
bearing: h.bearing,
|
|
35579
35579
|
zoom: n.zoom
|
|
35580
35580
|
} : {
|
|
35581
|
-
center:
|
|
35582
|
-
bearing:
|
|
35583
|
-
zoom:
|
|
35584
|
-
bounds: tn(y,
|
|
35581
|
+
center: h.center,
|
|
35582
|
+
bearing: h.bearing,
|
|
35583
|
+
zoom: h.zoom,
|
|
35584
|
+
bounds: tn(y, h.gpsConfig),
|
|
35585
35585
|
fitPadding: t,
|
|
35586
35586
|
zoomAdjustment: Kt
|
|
35587
35587
|
};
|
|
35588
35588
|
}, [
|
|
35589
|
-
p,
|
|
35590
35589
|
h,
|
|
35590
|
+
v,
|
|
35591
35591
|
y
|
|
35592
|
-
]),
|
|
35592
|
+
]), C = (0, F.useMemo)(() => {
|
|
35593
35593
|
var e;
|
|
35594
|
-
return
|
|
35595
|
-
}, [
|
|
35594
|
+
return h ? Kn(h.gpsConfig, (e = D()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35595
|
+
}, [h]), w = M.mapSettings.pitchdegrees, T = M.maxPitch, E = (0, F.useMemo)(() => {
|
|
35596
35596
|
let t = e === "map2d";
|
|
35597
35597
|
return {
|
|
35598
|
-
pitch: t ? 0 :
|
|
35598
|
+
pitch: t ? 0 : w,
|
|
35599
35599
|
maxPitch: t ? 0 : T,
|
|
35600
35600
|
minZoom: 12
|
|
35601
35601
|
};
|
|
35602
35602
|
}, [
|
|
35603
35603
|
e,
|
|
35604
|
-
|
|
35604
|
+
w,
|
|
35605
35605
|
T
|
|
35606
|
-
]),
|
|
35607
|
-
if (!n || !
|
|
35606
|
+
]), j = (0, F.useRef)(E), ee = (0, F.useMemo)(() => wn(), []), P = (0, F.useMemo)(() => {
|
|
35607
|
+
if (!n || !C) return null;
|
|
35608
35608
|
let e = n.rootLayer.children, t = g(e) ? e.filter((e) => e.name.toLowerCase() !== "areamap") : e;
|
|
35609
35609
|
return {
|
|
35610
35610
|
...n,
|
|
@@ -35613,9 +35613,9 @@ var lr = re(function({ viewMode: e }) {
|
|
|
35613
35613
|
children: t
|
|
35614
35614
|
},
|
|
35615
35615
|
background: void 0,
|
|
35616
|
-
staticTransform:
|
|
35616
|
+
staticTransform: C
|
|
35617
35617
|
};
|
|
35618
|
-
}, [n,
|
|
35618
|
+
}, [n, C]), re = (0, F.useRef)(null);
|
|
35619
35619
|
(0, F.useEffect)(() => {
|
|
35620
35620
|
re.current = P;
|
|
35621
35621
|
}, [P]), (0, F.useEffect)(() => {
|
|
@@ -35623,7 +35623,7 @@ var lr = re(function({ viewMode: e }) {
|
|
|
35623
35623
|
}, [P]);
|
|
35624
35624
|
let { mapDimAnimatorRef: ie, venueDimAnimatorRef: ae, applyDimmingTarget: ue, handleMapDimLayerReady: de } = En(o, re);
|
|
35625
35625
|
(0, F.useEffect)(() => {
|
|
35626
|
-
if (!
|
|
35626
|
+
if (!h) return;
|
|
35627
35627
|
let e = !1;
|
|
35628
35628
|
cr(), ce().then(({ layers: t, cleanup: n }) => {
|
|
35629
35629
|
if (e) {
|
|
@@ -35632,46 +35632,46 @@ var lr = re(function({ viewMode: e }) {
|
|
|
35632
35632
|
}
|
|
35633
35633
|
l.current = n;
|
|
35634
35634
|
let i = (0, ge.default)(ne.backgroundColor === "none" ? "#ebebeb" : ne.backgroundColor).string();
|
|
35635
|
-
r(
|
|
35635
|
+
r(_(t, x, i));
|
|
35636
35636
|
}).catch((t) => {
|
|
35637
35637
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
35638
35638
|
});
|
|
35639
35639
|
let t = ie.current, n = ae.current;
|
|
35640
35640
|
return () => {
|
|
35641
35641
|
var r;
|
|
35642
|
-
e = !0, cr(), (r = l.current) == null || r.call(l), l.current = null, f.current && (
|
|
35642
|
+
e = !0, cr(), (r = l.current) == null || r.call(l), l.current = null, f.current && (O.maplibreStore.clearCameraPortIfCurrent(f.current), f.current = null), o.current = null, s.current = null, d.current = null, a(!1), t == null || t.stop(), n == null || n.stop(), M.sceneDefReady = !1;
|
|
35643
35643
|
};
|
|
35644
35644
|
}, [
|
|
35645
|
-
|
|
35645
|
+
h,
|
|
35646
35646
|
ie,
|
|
35647
35647
|
ae
|
|
35648
35648
|
]);
|
|
35649
35649
|
let pe = (0, F.useCallback)((e, t) => {
|
|
35650
35650
|
var n;
|
|
35651
|
-
o.current = e, s.current = e.getCanvas(), d.current = t, a(!0), e.once("idle", () => Cn(e,
|
|
35652
|
-
let r = sr(e, (n =
|
|
35651
|
+
o.current = e, s.current = e.getCanvas(), d.current = t, a(!0), e.once("idle", () => Cn(e, j.current));
|
|
35652
|
+
let r = sr(e, (n = h == null ? void 0 : h.bearing) == null ? e.getBearing() : n, () => {
|
|
35653
35653
|
var e;
|
|
35654
|
-
return (e =
|
|
35654
|
+
return (e = j.current.pitch) == null ? 0 : e;
|
|
35655
35655
|
});
|
|
35656
|
-
f.current = r,
|
|
35657
|
-
}, [ue,
|
|
35656
|
+
f.current = r, O.maplibreStore.setCameraPort(r), O.fp.getCenterCoordinates = () => oe(s.current), ue({ immediate: !0 }), S(), O.layerStore.layersLoaded = !0, O.fp.onFpConfigured && O.fp.onFpConfigured(), M.sceneDefReady = !0, t();
|
|
35657
|
+
}, [ue, h]);
|
|
35658
35658
|
(0, F.useEffect)(() => {
|
|
35659
|
-
|
|
35660
|
-
}, [E]), Dn(i, o), Bn(P, s), zn(i, o,
|
|
35661
|
-
enabled:
|
|
35659
|
+
j.current = E, Cn(o.current, E);
|
|
35660
|
+
}, [E]), Dn(i, o), Bn(P, s), zn(i, o, h), kn(P, o, h), mn(o, h, P), se({
|
|
35661
|
+
enabled: O.layerStore.layersLoaded && M.buildRoute,
|
|
35662
35662
|
scene: P == null ? void 0 : P
|
|
35663
35663
|
});
|
|
35664
|
-
let he = (t =
|
|
35664
|
+
let he = (t = p.busRoutes) != null && t;
|
|
35665
35665
|
le({
|
|
35666
|
-
permission:
|
|
35666
|
+
permission: O.layerStore.layersLoaded && he,
|
|
35667
35667
|
scene: P == null ? void 0 : P,
|
|
35668
35668
|
dataJsonUrl: `https://${ar}/v1/routes?expo=${ne.EXPO}`,
|
|
35669
35669
|
websocketUrl: `wss://${ar}/locations?expo=${ne.EXPO}`
|
|
35670
35670
|
});
|
|
35671
35671
|
let _e = (0, F.useCallback)((e) => {
|
|
35672
|
-
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e),
|
|
35672
|
+
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), O.maplibreStore.deactivateMaplibre();
|
|
35673
35673
|
}, []);
|
|
35674
|
-
if (!
|
|
35674
|
+
if (!h || !b || !C || !P) return null;
|
|
35675
35675
|
let ve = `${b.center.join(",")}:${b.bearing}:${b.zoom}`;
|
|
35676
35676
|
return /* @__PURE__ */ (0, Nt.jsxs)(Gt, {
|
|
35677
35677
|
sceneDef: P,
|
|
@@ -35682,7 +35682,7 @@ var lr = re(function({ viewMode: e }) {
|
|
|
35682
35682
|
onMapReady: pe,
|
|
35683
35683
|
onMapDimLayerReady: de,
|
|
35684
35684
|
onMapLoadError: _e,
|
|
35685
|
-
onPointerMissed:
|
|
35685
|
+
onPointerMissed: m,
|
|
35686
35686
|
children: [/* @__PURE__ */ (0, Nt.jsx)(fe, {}), c && /* @__PURE__ */ (0, Nt.jsx)(me, { canvas: s })]
|
|
35687
35687
|
}, ve);
|
|
35688
35688
|
});
|
|
@@ -2,20 +2,20 @@ 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.39.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.39.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cffed87c-5fcc-41b2-a737-5f4d11a378dd", e._sentryDebugIdIdentifier = "sentry-dbid-cffed87c-5fcc-41b2-a737-5f4d11a378dd");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { s as n } from "./i18n-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import { t as s } from "./Button-
|
|
17
|
-
import { n as c, t as l } from "./useRenderTarget-
|
|
18
|
-
import { t as u } from "./index.module-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-BOCG9HEF.js";
|
|
11
|
+
import { s as n } from "./i18n-BVE2kS7w.js";
|
|
12
|
+
import { t as r } from "./react-CM7l092i.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BGutO_I9.js";
|
|
14
|
+
import { t as a } from "./react-dom-DV2t60Bu.js";
|
|
15
|
+
import { t as o } from "./classnames-4Iik8FC_.js";
|
|
16
|
+
import { t as s } from "./Button-DDJ9HcfI.js";
|
|
17
|
+
import { n as c, t as l } from "./useRenderTarget-Z7iVu1Bc.js";
|
|
18
|
+
import { t as u } from "./index.module-CVo9wrU4.js";
|
|
19
19
|
//#region ../ui/src/components/Modal/Modal.tsx
|
|
20
20
|
var d = /* @__PURE__ */ t(o(), 1), f = /* @__PURE__ */ t(r(), 1), p = /* @__PURE__ */ t(a(), 1), m = i(), h = 200, g = (e) => e.getClientRects().length > 0 && getComputedStyle(e).visibility !== "hidden", _ = ({ open: e, className: t, variant: n = "default", title: r, ariaLabel: i, maxWidth: a, children: o, closeLabel: l, renderTarget: u, footerLeft: _ = [], footerRight: v = [], onClose: y }) => {
|
|
21
21
|
let b = (0, f.useRef)(null), x = (0, f.useRef)(null), S = (0, f.useId)(), [C, w] = (0, f.useState)(e), [T, E] = (0, f.useState)(e);
|
|
@@ -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.39.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.39.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ef7a71dd-9325-4ca7-acba-a30180d81e62", e._sentryDebugIdIdentifier = "sentry-dbid-ef7a71dd-9325-4ca7-acba-a30180d81e62");
|
|
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 { t as r } from "./classnames-
|
|
14
|
-
import { t as i } from "./Button-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-BOCG9HEF.js";
|
|
11
|
+
import { t } from "./react-CM7l092i.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-BGutO_I9.js";
|
|
13
|
+
import { t as r } from "./classnames-4Iik8FC_.js";
|
|
14
|
+
import { t as i } from "./Button-DDJ9HcfI.js";
|
|
15
15
|
//#region ../ui/src/components/PermissionNotice/PermissionNotice.tsx
|
|
16
16
|
var a = /* @__PURE__ */ e(r(), 1), o = /* @__PURE__ */ e(t(), 1), s = n(), c = ({ title: e, acceptText: t, rejectText: n, children: r, placement: c = "bottom-right", onAccept: l, onReject: u, className: d }) => {
|
|
17
17
|
let f = (0, o.useId)(), p = (0, o.useId)();
|
|
@@ -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.39.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.39.1" };
|
|
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] = "47985e3b-305b-4ec7-97e4-7c7df9164e61", e._sentryDebugIdIdentifier = "sentry-dbid-47985e3b-305b-4ec7-97e4-7c7df9164e61");
|
|
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 { $ as r, c as i,
|
|
13
|
-
import { t as s } from "./index.module-
|
|
14
|
-
import { n as c } from "./mobx-
|
|
15
|
-
import { n as l } from "./camera-events-
|
|
16
|
-
import { t as u } from "./KioskStore-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BOCG9HEF.js";
|
|
10
|
+
import { t } from "./react-CM7l092i.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BGutO_I9.js";
|
|
12
|
+
import { $ as r, c as i, kt as a, z as o } from "./store-CARxK2Ft.js";
|
|
13
|
+
import { t as s } from "./index.module-CVo9wrU4.js";
|
|
14
|
+
import { n as c } from "./mobx-B9XSgx3-.js";
|
|
15
|
+
import { n as l } from "./camera-events-CQZgwih3.js";
|
|
16
|
+
import { t as u } from "./KioskStore-BZ4HwD9A.js";
|
|
17
17
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
18
18
|
var d = /* @__PURE__ */ e(t(), 1), f = n(), p = s(() => {
|
|
19
19
|
var e, t, n;
|
|
@@ -21,9 +21,9 @@ var d = /* @__PURE__ */ e(t(), 1), f = n(), p = s(() => {
|
|
|
21
21
|
Promise.resolve().then(() => u.handleSetupReady());
|
|
22
22
|
}), (0, d.useEffect)(() => {
|
|
23
23
|
var e;
|
|
24
|
-
let t = (e =
|
|
24
|
+
let t = (e = o()) == null ? void 0 : e.state();
|
|
25
25
|
t && u.setInitialPtScale(t.pixelSize);
|
|
26
|
-
}, []), (0, d.useEffect)(() => (
|
|
26
|
+
}, []), (0, d.useEffect)(() => (a((e) => u.handleClick(e)), () => a()), []), (0, d.useEffect)(() => l(() => u.handleNavigationChange()), []);
|
|
27
27
|
let s = !!u.kiosk;
|
|
28
28
|
return /* @__PURE__ */ (0, f.jsx)(r, {
|
|
29
29
|
isSaveDisabled: !s || !u.hasUnsavedChanges,
|
|
@@ -2,20 +2,20 @@ 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.39.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.39.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f3271af8-9276-4b2a-8931-4c4fa13ce95a", e._sentryDebugIdIdentifier = "sentry-dbid-f3271af8-9276-4b2a-8931-4c4fa13ce95a");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { Bt as e } from "./i18n-
|
|
12
|
-
import { t } from "./react-
|
|
13
|
-
import { t as n } from "./jsx-runtime-
|
|
14
|
-
import { c as r, ft as i } from "./store-
|
|
15
|
-
import { t as a } from "./index.module-
|
|
16
|
-
import { n as o } from "./mobx-
|
|
17
|
-
import { t as s } from "./KioskStore-
|
|
18
|
-
import { n as c, t as l } from "./integrateKiosk-
|
|
10
|
+
import "./rolldown-runtime-BOCG9HEF.js";
|
|
11
|
+
import { Bt as e } from "./i18n-BVE2kS7w.js";
|
|
12
|
+
import { t } from "./react-CM7l092i.js";
|
|
13
|
+
import { t as n } from "./jsx-runtime-BGutO_I9.js";
|
|
14
|
+
import { c as r, ft as i } from "./store-CARxK2Ft.js";
|
|
15
|
+
import { t as a } from "./index.module-CVo9wrU4.js";
|
|
16
|
+
import { n as o } from "./mobx-B9XSgx3-.js";
|
|
17
|
+
import { t as s } from "./KioskStore-BZ4HwD9A.js";
|
|
18
|
+
import { n as c, t as l } from "./integrateKiosk-bnGUsf7Q.js";
|
|
19
19
|
t();
|
|
20
20
|
var u = n(), d = () => /* @__PURE__ */ (0, u.jsx)("div", {
|
|
21
21
|
className: "efp-touch-hand",
|