@expofp/floorplan 3.11.0 → 3.11.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-DmPeJZCN.js → Button-w3em_lzh.js} +5 -5
- package/dist/browser/{CookieConsent-6-9q2wKV.js → CookieConsent-DGuzCkb_.js} +7 -7
- package/dist/browser/{Debug-3bI5vwTv.js → Debug-C0bAbDfy.js} +7 -7
- package/dist/browser/{Demo-qTtvWifi.js → Demo-Bjaxry3H.js} +9 -9
- package/dist/browser/{Free-CD_OvzMT.js → Free-DYRe3qzH.js} +9 -9
- package/dist/browser/{Gallery-D16-00mk.js → Gallery-Mh_fak51.js} +9 -9
- package/dist/browser/{GpsLoader-CMPI_EJr.js → GpsLoader-BUFe8XAp.js} +9 -9
- package/dist/browser/{KioskStore-KhqffTn9.js → KioskStore-CG4obHqM.js} +3 -3
- package/dist/browser/{MaplibreAdapter-CxVjU49j.js → MaplibreAdapter-_7g233g0.js} +12 -12
- package/dist/browser/{ModalContainer-RI1x2sgo.js → ModalContainer-q8ktZG4M.js} +10 -10
- package/dist/browser/{PermissionNotice-D8kO5oWK.js → PermissionNotice-CZPYZBEq.js} +6 -6
- package/dist/browser/{SetKioskMode-CVACOg2n.js → SetKioskMode-Bstomyjg.js} +8 -8
- package/dist/browser/{ShowKiosk-9Cegzzmp.js → ShowKiosk-CSSaeauJ.js} +10 -10
- package/dist/browser/{TouchHand-Ep4vi1-O.js → TouchHand-DKlAqQxo.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DjMPzBGY.js → ViewerMenuPanel-CDZU9m-C.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-sVpxJOA4.js → add-debug-secret-listener-CpUZyE-i.js} +1 -1
- package/dist/browser/{boolean-editor-DbKheXB7.js → boolean-editor-BXtJr0-a.js} +9 -9
- package/dist/browser/{bootIntercom-BwUrDpiz.js → bootIntercom-BdpTIgRq.js} +2 -2
- package/dist/browser/{booth-by-xy-DRUiuOmc.js → booth-by-xy-Cvr_M6ay.js} +180 -182
- package/dist/browser/{browser-DfAAgCEL.js → browser-D0zb6N8t.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-DDqQQkCN.js → classnames-njarKVkv.js} +2 -2
- package/dist/browser/{client-CZSclqZM.js → client-DO32NX2U.js} +4 -4
- package/dist/browser/{components-Bjyqu35r.js → components-Ag3tOxoq.js} +38 -38
- package/dist/browser/{debug-overlay-CGt1pj-M.js → debug-overlay-BDntWcO3.js} +10 -10
- package/dist/browser/{debug-ui-D-D_vlp1.js → debug-ui-eQiNXjgN.js} +6 -6
- package/dist/browser/{dist-CL_uyaoa.js → dist-B-HOjLa3.js} +3 -3
- package/dist/browser/{dist-V33BDzLb.js → dist-BPabiv1-.js} +6 -6
- package/dist/browser/{dist-ONDtUhT2.js → dist-CICgVS_K.js} +5 -5
- package/dist/browser/{efp-debug-init-DxEQuRHk.js → efp-debug-init-DJV2mEAv.js} +2 -2
- package/dist/browser/{enum-editor-DG92oZeF.js → enum-editor-CR96q1IA.js} +11 -11
- package/dist/browser/{es5-BSWs3YWr.js → es5-DKJycZ_9.js} +2 -2
- package/dist/browser/{event-not-found-Z4wb-LNc.js → event-not-found-qCBr__j7.js} +1 -1
- package/dist/browser/{exports-BLV4-zfL.js → exports-DEfrHp-m.js} +1 -1
- package/dist/browser/{favicon-BQW1E3bU.js → favicon-Ds8_0IKZ.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DC6Ql4P0.js → fetch-retry.umd-DA_h-YbX.js} +2 -2
- package/dist/browser/{flex-B_4SOC_u.js → flex-De82Cl1E.js} +5 -5
- package/dist/browser/{floorplan.loader-DoJ2VQu0.js → floorplan.loader-B5OmVKte.js} +11 -11
- package/dist/browser/{floorplan.ready-B_BwJrtz.js → floorplan.ready-DR3pBgxB.js} +12 -12
- package/dist/browser/{fuse-z0Cnj-cM.js → fuse-dk3wBn-g.js} +2 -2
- package/dist/browser/{i18n-xEZCBKNV.js → i18n-CmTA9oOx.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-DLdW0sj8.js → index.module-QD1fDWFR.js} +4 -4
- package/dist/browser/{is-webview-DyfiukCX.js → is-webview-CoF8JIKV.js} +1 -1
- package/dist/browser/{jsx-runtime-DAN07kgB.js → jsx-runtime-BerzwYzE.js} +2 -2
- package/dist/browser/{lib-BeWX12Ej.js → lib-Q551A5uv.js} +4 -4
- package/dist/browser/{loadImage-CArumIxk.js → loadImage-DMj35sJO.js} +4 -4
- package/dist/browser/{logDeviceInfo-DWxMGiZR.js → logDeviceInfo-DRvCCtTx.js} +9 -9
- package/dist/browser/{main-Bc1iznBR.js → main-BizUl9-0.js} +1 -1
- package/dist/browser/{mobx-Dzavco9D.js → mobx-TeCP8VzM.js} +4 -4
- package/dist/browser/{particles.min-CHtISs00.js → particles.min-DG9oSZrY.js} +2 -2
- package/dist/browser/{prop-types-BQxsUoxX.js → prop-types-vg_ebZbt.js} +2 -2
- package/dist/browser/{react-Cu706Ph1.js → react-Du8DS_tM.js} +2 -2
- package/dist/browser/{react-dom-DT1n8Muz.js → react-dom-B7g3b-V3.js} +3 -3
- package/dist/browser/{reset-all-settings-D2RthoP4.js → reset-all-settings-Cd_BUK-W.js} +7 -7
- package/dist/browser/{rolldown-runtime-DHef_8fH.js → rolldown-runtime-DvCIlsWE.js} +1 -1
- package/dist/browser/{settings--Y0n4PSR.js → settings-DInlzLHA.js} +2 -2
- package/dist/browser/{settings-item-Dv1G9gTh.js → settings-item-Nqsx-eMu.js} +6 -6
- package/dist/browser/{store-C1iT-e-6.js → store-Bp8hCuMJ.js} +12 -12
- package/dist/browser/{string-editor-BfNPvbRL.js → string-editor-BwD_WLY1.js} +7 -7
- package/dist/browser/{theme-byX3VrfS.js → theme-D0j6GDvn.js} +8 -8
- package/dist/browser/{ui-DJZFvwjb.js → ui-Ci4hN3Oq.js} +8 -8
- package/dist/browser/{useRenderTarget-OQs5aKcF.js → useRenderTarget-w66c2Pzm.js} +4 -4
- package/dist/esm/components/Map/booth-by-xy.d.ts +2 -2
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Maplibre/useRendererEvents.js +1 -1
- package/dist/esm/store/RootStore.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bd30fbc9-72ef-4ac9-9520-589a9923d694", e._sentryDebugIdIdentifier = "sentry-dbid-bd30fbc9-72ef-4ac9-9520-589a9923d694");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import { c as i, l as a, t as o, u as s, y as c } from "./flex-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DvCIlsWE.js";
|
|
10
|
+
import { t } from "./react-Du8DS_tM.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BerzwYzE.js";
|
|
12
|
+
import { t as r } from "./classnames-njarKVkv.js";
|
|
13
|
+
import { c as i, l as a, t as o, u as s, y as c } from "./flex-De82Cl1E.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(r()), d = {
|
|
16
16
|
orientation: {
|
|
@@ -2,21 +2,21 @@ 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.11.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.11.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f176669a-8951-4582-b22d-96a9f0116ee1", e._sentryDebugIdIdentifier = "sentry-dbid-f176669a-8951-4582-b22d-96a9f0116ee1");
|
|
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 { _ as a, a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y } from "./loadImage-
|
|
15
|
-
import { t as b } from "./browser-
|
|
16
|
-
import { B as x, C as S, G as C, H as w, L as T, M as E, Q as D, R as O, U as k, W as A, X as ee, Y as te, Z as ne, _ as j, a as re, at as ie, c as ae, d as M, et as oe, f as se, h as ce, it as le, j as ue, k as de, l as fe, lt as N, m as P, n as pe, o as me, ot as he, p as ge, q as _e, r as ve, rt as ye, s as F, t as be, v as xe, y as Se, z as I } from "./i18n-
|
|
17
|
-
import { t as Ce } from "./is-webview-
|
|
18
|
-
import { t as we } from "./classnames-
|
|
19
|
-
import { t as Te } from "./Button-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-DvCIlsWE.js";
|
|
11
|
+
import { t as n } from "./react-Du8DS_tM.js";
|
|
12
|
+
import { i as r } from "./reset-all-settings-Cd_BUK-W.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BerzwYzE.js";
|
|
14
|
+
import { _ as a, a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y } from "./loadImage-DMj35sJO.js";
|
|
15
|
+
import { t as b } from "./browser-D0zb6N8t.js";
|
|
16
|
+
import { B as x, C as S, G as C, H as w, L as T, M as E, Q as D, R as O, U as k, W as A, X as ee, Y as te, Z as ne, _ as j, a as re, at as ie, c as ae, d as M, et as oe, f as se, h as ce, it as le, j as ue, k as de, l as fe, lt as N, m as P, n as pe, o as me, ot as he, p as ge, q as _e, r as ve, rt as ye, s as F, t as be, v as xe, y as Se, z as I } from "./i18n-CmTA9oOx.js";
|
|
17
|
+
import { t as Ce } from "./is-webview-CoF8JIKV.js";
|
|
18
|
+
import { t as we } from "./classnames-njarKVkv.js";
|
|
19
|
+
import { t as Te } from "./Button-w3em_lzh.js";
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/tools/settings.ts
|
|
22
22
|
var Ee = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
@@ -36798,7 +36798,7 @@ var sB = (rB = class {
|
|
|
36798
36798
|
}
|
|
36799
36799
|
async buildEngine() {
|
|
36800
36800
|
try {
|
|
36801
|
-
let { default: e } = await import("./fuse-
|
|
36801
|
+
let { default: e } = await import("./fuse-dk3wBn-g.js").then((e) => e.n);
|
|
36802
36802
|
Se(() => {
|
|
36803
36803
|
this.engine = new e([], {
|
|
36804
36804
|
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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "da8db9a3-7430-483e-912d-7db8503a8231", e._sentryDebugIdIdentifier = "sentry-dbid-da8db9a3-7430-483e-912d-7db8503a8231");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import { D as i, i as a, l as o, n as s, s as c, u as l, y as u } from "./flex-
|
|
14
|
-
import { t as d } from "./settings-item-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DvCIlsWE.js";
|
|
10
|
+
import { t } from "./react-Du8DS_tM.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BerzwYzE.js";
|
|
12
|
+
import { t as r } from "./classnames-njarKVkv.js";
|
|
13
|
+
import { D as i, i as a, l as o, n as s, s as c, u as l, y as u } from "./flex-De82Cl1E.js";
|
|
14
|
+
import { t as d } from "./settings-item-Nqsx-eMu.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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "79b39fdf-323b-4b9d-ac58-c9e7d1f5b025", e._sentryDebugIdIdentifier = "sentry-dbid-79b39fdf-323b-4b9d-ac58-c9e7d1f5b025");
|
|
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 { t as i } from "./classnames-
|
|
14
|
-
import { a, c as o, i as s, n as c, o as l, r as u, t as d } from "./dist-
|
|
15
|
-
import { C as f, E as p, O as m, T as h, _ as g, o as _, v, w as y } from "./flex-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DvCIlsWE.js";
|
|
10
|
+
import { t } from "./react-Du8DS_tM.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BerzwYzE.js";
|
|
12
|
+
import { t as r } from "./react-dom-B7g3b-V3.js";
|
|
13
|
+
import { t as i } from "./classnames-njarKVkv.js";
|
|
14
|
+
import { a, c as o, i as s, n as c, o as l, r as u, t as d } from "./dist-BPabiv1-.js";
|
|
15
|
+
import { C as f, E as p, O as m, T as h, _ as g, o as _, v, w as y } from "./flex-De82Cl1E.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.17_react@19.2.7/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
17
17
|
var b = n(), x = /* @__PURE__ */ e(t(), 1), S = x.useId || (() => void 0), C = 0;
|
|
18
18
|
function w(e) {
|
|
@@ -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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "43912113-9328-4069-8890-5091c8745c34", e._sentryDebugIdIdentifier = "sentry-dbid-43912113-9328-4069-8890-5091c8745c34");
|
|
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-DvCIlsWE.js";
|
|
10
|
+
import { a as t, r as n } from "./reset-all-settings-Cd_BUK-W.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-BerzwYzE.js";
|
|
12
|
+
import "./settings-DInlzLHA.js";
|
|
13
|
+
import { t as i } from "./browser-D0zb6N8t.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-CpUZyE-i.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-eQiNXjgN.js"), { createRoot: i } = await import("./client-DO32NX2U.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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d4febe97-784c-4cf8-93f1-f2e3b29f8347", e._sentryDebugIdIdentifier = "sentry-dbid-d4febe97-784c-4cf8-93f1-f2e3b29f8347");
|
|
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-DvCIlsWE.js";
|
|
10
|
+
import { t } from "./react-Du8DS_tM.js";
|
|
11
|
+
import { s as n } from "./store-Bp8hCuMJ.js";
|
|
12
12
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function i(e) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Booth } from '../../store/BoothStore';
|
|
2
|
-
export default function getBoothIdFromClientXy(
|
|
1
|
+
import type { Booth } from '../../store/BoothStore';
|
|
2
|
+
export default function getBoothIdFromClientXy(clientX: number, clientY: number): Booth | null;
|
|
3
3
|
//# sourceMappingURL=booth-by-xy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Box as
|
|
1
|
+
import{Box as d,Polygon as v,Rect as z}from"@expofp/geometry";import{reaction as I}from"mobx";import{getTrianglesFromFpPaths as X}from"../../data/svg";import{boothStore as b,layersStore as x}from"../../store";import{LayersMode as A}from"../../store/LayerStore";import F from"../../tools/logger";let y=[],u=new Map,g=null,w=[];function S(){const l=b.booths.filter(t=>t.visible&&t.rect&&t.rect.size.width>0&&t.rect.size.height>0);if(y=[],g=null,u=new Map,w=l.filter(t=>t.paths),!l.length)return;const c=[];let s=1/0,n=1/0,f=-1/0,e=-1/0;for(const t of l){const a=t.rotate?new z(t.rect.center,t.rect.size,t.rotate):null,o=a?a.bounds:t.rect;c.push({booth:t,shape:a??t.rect,bounds:o}),o.min.x<s&&(s=o.min.x),o.min.y<n&&(n=o.min.y),o.max.x>f&&(f=o.max.x),o.max.y>e&&(e=o.max.y)}const i=d.fromMinMax({x:s,y:n},{x:f,y:e}),r=2,m=Math.ceil(i.size.width/r),h=Math.ceil(i.size.height/r);for(let t=0;t<r;t++)for(let a=0;a<r;a++){const o=i.min.x+t*m,M=i.min.y+a*h,p=new d(o,M,m,h);y.push(p),u.set(p,c.filter(P=>p.intersects(P.bounds)))}F.log("hover segmentToHitAreas",u)}I(()=>[b.booths,x.loaded,x.visible],()=>S());function B(l,c){const s={x:l,y:c};let n;g&&g.containsPoint(s)?n=g:n=y.find(e=>e.containsPoint(s)),n&&(g=n);const f=n?u.get(n):void 0;if(f){const e=f.filter(i=>i.booth.visible&&i.shape.containsPoint(s));if(e.length)return(e.length>1?e.sort((r,m)=>r.booth.rect.area-m.booth.rect.area)[0]:e[0]).booth}for(const e of w)if(e.visible)for(const i of e.paths)for(const r of X(i.index,x.mode!==A.Default?e.layer.name:"")){const m=r.map(h=>({x:h[0],y:h[1]}));if(v.fromConvexRing(m).containsPoint(s))return e}return null}export default function C(l,c){return B(l,c)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useEffect as g}from"react";import{pickDefaultScene as
|
|
1
|
+
import{useEffect as g}from"react";import{pickDefaultScene as h}from"../../renderer/engine-core/defs";import c,{uiState as o}from"../../store";import{LayerMode as p}from"../../store/LayerStore";import k from"../Map/booth-by-xy";import{getMarkerFromClick as L}from"../Map/drawing/config/config-markers";import{getBooth as E}from"./utils/layer-defs";const C=o;export function useRendererEvents(t,m){g(()=>{if(!t)return;const v=({data:s})=>{if(o.setKioskModeEnabled)return;const{point:e,defs:r}=h(s),n=k(e.x,e.y),i=E(r[0]);C.hoveredBooth=n||i||null},d=()=>{o.setKioskModeEnabled||(C.hoveredBooth=null)},f=({data:s})=>{if(!o?.rootElement)return;window.__resett?.(),o.overlayPosition==="bottom"&&o.overlaySize==="full"&&c.showMap();const{point:e,defs:r}=h(s),{x:n,y:i}=e;if(o.onGetCoordsClick){const l=c.layerStore.layers.find(a=>a.visible&&(a.mode===p.TurnedOn||a.mode===p.TurnedOff));o.onGetCoordsClick({x:n,y:i,z:l?.name||null})}if(o.setKioskModeEnabled)return;if(o.onMarkerClick){const l=L(n,i,m.scale);o.onMarkerClick(l)}const y=k(e.x,e.y),b=E(r[0]);c.clickBooth(y||b||null)},u=()=>window.__resett?.();return t.events.addEventListener("pointer:move",v),t.events.addEventListener("pointer:out",d),t.events.addEventListener("pointer:click",f),t.events.addEventListener("navigation:change",u),()=>{t.events.removeEventListener("pointer:move",v),t.events.removeEventListener("pointer:out",d),t.events.removeEventListener("pointer:click",f),t.events.removeEventListener("navigation:change",u)}},[t,m])}
|
|
@@ -72,7 +72,7 @@ export default class RootStore {
|
|
|
72
72
|
clickSeminars(): void;
|
|
73
73
|
clickBoothInList(booth: Booth): void;
|
|
74
74
|
clickBoothInList2(booth: Booth): void;
|
|
75
|
-
clickBooth(booth: Booth): void;
|
|
75
|
+
clickBooth(booth: Booth | null): void;
|
|
76
76
|
clickExhibitor2(exhibitor: Exhibitor): void;
|
|
77
77
|
clickExhibitor(exhibitor: Exhibitor): void;
|
|
78
78
|
showMap(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"tslib": "^2.3.0",
|
|
73
73
|
"uuid": "^9.0.1",
|
|
74
74
|
"zod": "4.3.5",
|
|
75
|
-
"@expofp/debug": "3.11.
|
|
76
|
-
"@expofp/geometry": "3.11.
|
|
77
|
-
"@expofp/resolve": "3.11.
|
|
75
|
+
"@expofp/debug": "3.11.1",
|
|
76
|
+
"@expofp/geometry": "3.11.1",
|
|
77
|
+
"@expofp/resolve": "3.11.1"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@babel/plugin-proposal-decorators": "^8.0.2",
|