@expofp/floorplan 3.11.8 → 3.11.9
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-BOgmk3q2.js → Button-DXaS8C6g.js} +5 -5
- package/dist/browser/{CookieConsent-DMonddR5.js → CookieConsent-DS0COXN8.js} +7 -7
- package/dist/browser/{Debug-CliS9Yvv.js → Debug-C-u-EwLk.js} +7 -7
- package/dist/browser/{Demo-DDORAOVr.js → Demo-CFFpZYVv.js} +9 -9
- package/dist/browser/{Free-DmJcZpwr.js → Free-BKjT9dnE.js} +9 -9
- package/dist/browser/{Gallery-BzvYNaUu.js → Gallery-DeevIsFt.js} +9 -9
- package/dist/browser/{GpsLoader-Dr59emCI.js → GpsLoader-YKPZZKyc.js} +9 -9
- package/dist/browser/{KioskStore-D67VkSI1.js → KioskStore-BbomwdV9.js} +3 -3
- package/dist/browser/{MaplibreAdapter-ZSMgObmQ.js → MaplibreAdapter-C2v9GGep.js} +9 -9
- package/dist/browser/{ModalContainer-DDuI2gyV.js → ModalContainer-sKLWO7cb.js} +10 -10
- package/dist/browser/{PermissionNotice-3TdhIOLs.js → PermissionNotice-BWvDycGh.js} +6 -6
- package/dist/browser/{SetKioskMode-BmKlsjrK.js → SetKioskMode-BDG4AJ6C.js} +8 -8
- package/dist/browser/{ShowKiosk-Bgh7mtlp.js → ShowKiosk-DYDkODY_.js} +10 -10
- package/dist/browser/{TouchHand-C7VKc3Ba.js → TouchHand-C66ch9Jy.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Cx7EpSCN.js → ViewerMenuPanel-BLZQA0oY.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-CJsUJ8HJ.js → add-debug-secret-listener-Cb6srK1K.js} +1 -1
- package/dist/browser/{boolean-editor-D01_1VMn.js → boolean-editor-uJkv0bdF.js} +9 -9
- package/dist/browser/{bootIntercom-D6imaxYU.js → bootIntercom-CnsI7TCY.js} +2 -2
- package/dist/browser/{booth-by-xy-B2dWuJ6C.js → booth-by-xy-DOTlGYzr.js} +6 -6
- package/dist/browser/{browser-CcgGkOfV.js → browser-5XkJDoev.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-C3GTTNl3.js → classnames-7BACf_72.js} +2 -2
- package/dist/browser/{client-DWThPHh6.js → client-BqqHFaWG.js} +4 -4
- package/dist/browser/{components-BAvpztvZ.js → components-DJx6jn09.js} +44 -44
- package/dist/browser/{debug-overlay-BPXKjQ9x.js → debug-overlay-DjzcvGsv.js} +10 -10
- package/dist/browser/{debug-ui-bzqwCkNF.js → debug-ui-D5q1dNwx.js} +6 -6
- package/dist/browser/{dist-BvOoqa34.js → dist-BCzfHe4M.js} +6 -6
- package/dist/browser/{dist-aW8zPjlL.js → dist-Gf1_O_JK.js} +3 -3
- package/dist/browser/{dist-DXnmhV28.js → dist-ufgGl_Q3.js} +5 -5
- package/dist/browser/{efp-debug-init-hRuO0Jhw.js → efp-debug-init-Bq6luPzK.js} +2 -2
- package/dist/browser/{enum-editor-VPH6Rj46.js → enum-editor-DdcByF63.js} +11 -11
- package/dist/browser/{es5-CzCnMA8c.js → es5-FjYaeuo8.js} +2 -2
- package/dist/browser/{event-not-found-C_PeKS_E.js → event-not-found-BgOtWmkd.js} +1 -1
- package/dist/browser/{exports-CX1iFfQg.js → exports-B2q1BIFL.js} +1 -1
- package/dist/browser/{favicon-DNTezjqF.js → favicon-Cdq6z6Ga.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CHk_edaR.js → fetch-retry.umd-DdnCyANl.js} +2 -2
- package/dist/browser/{flex-C9rwrVb3.js → flex-wgAlajDX.js} +5 -5
- package/dist/browser/{floorplan.loader-D3CsMo1q.js → floorplan.loader-DCbj-CqN.js} +11 -11
- package/dist/browser/{floorplan.ready-CwVTesks.js → floorplan.ready-B_F4zlej.js} +12 -12
- package/dist/browser/{fuse-wJLjtQl6.js → fuse-CyI90qCC.js} +2 -2
- package/dist/browser/{i18n-Cr8CfNkA.js → i18n-BCVOonXy.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-CYFzgcXg.js → index.module-Cqfevm7x.js} +4 -4
- package/dist/browser/{is-webview-DKrAJbG1.js → is-webview-BcfENkh6.js} +1 -1
- package/dist/browser/{jsx-runtime-Dq-qrLSO.js → jsx-runtime-BeS2ZpDl.js} +2 -2
- package/dist/browser/{lib-BpFts3u6.js → lib-VQ7LQLBi.js} +4 -4
- package/dist/browser/{loadImage-BCwedDnv.js → loadImage-CgC-D7Pn.js} +4 -4
- package/dist/browser/{logDeviceInfo-CedxK3p3.js → logDeviceInfo-CKeptNDu.js} +9 -9
- package/dist/browser/{main-BOQZRSnz.js → main-Bht03DpB.js} +1 -1
- package/dist/browser/{mobx-BZA7DbYx.js → mobx-BsecfnD2.js} +4 -4
- package/dist/browser/{particles.min-CLkEWaZw.js → particles.min-DyNIkRGB.js} +2 -2
- package/dist/browser/{prop-types-Do8u1pfC.js → prop-types-CsGW6Aog.js} +2 -2
- package/dist/browser/{react-DM8RXBhb.js → react-EyDmPnWP.js} +2 -2
- package/dist/browser/{react-dom-Ch5YU2_o.js → react-dom-EZS3LL-t.js} +3 -3
- package/dist/browser/{reset-all-settings-CG7FJWJn.js → reset-all-settings-Cp3DorZs.js} +7 -7
- package/dist/browser/{rolldown-runtime-hBoybodw.js → rolldown-runtime-DGatbznM.js} +1 -1
- package/dist/browser/{settings-B7JosvlV.js → settings-Dg23InLQ.js} +2 -2
- package/dist/browser/{settings-item-BPDtev4B.js → settings-item-CZyF5H0l.js} +6 -6
- package/dist/browser/{store-B6Vi-i5g.js → store-Bc0PJjXV.js} +12 -12
- package/dist/browser/{string-editor-C616Gr42.js → string-editor-AcbIqvWd.js} +7 -7
- package/dist/browser/{theme-D3HwBykw.js → theme-B5tFIPE4.js} +8 -8
- package/dist/browser/{ui-DHGVGxwq.js → ui-DexqWnWb.js} +8 -8
- package/dist/browser/{useRenderTarget-DAgrchn7.js → useRenderTarget-BHYQ9OVe.js} +4 -4
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/floorplan.loader.d.ts +1 -1
- package/dist/esm/types.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.9" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0a3595ef-9aa6-450c-ac03-85d9c3295c13", e._sentryDebugIdIdentifier = "sentry-dbid-0a3595ef-9aa6-450c-ac03-85d9c3295c13");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./reset-all-settings-
|
|
9
|
+
import "./reset-all-settings-Cp3DorZs.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.11.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.11.9" };
|
|
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-DGatbznM.js";
|
|
10
|
+
import { t } from "./react-EyDmPnWP.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BeS2ZpDl.js";
|
|
12
|
+
import { t as r } from "./classnames-7BACf_72.js";
|
|
13
|
+
import { c as i, l as a, t as o, u as s, y as c } from "./flex-wgAlajDX.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.9" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5df6a8cc-00ab-4b90-ace5-c1dd73970bc4", e._sentryDebugIdIdentifier = "sentry-dbid-5df6a8cc-00ab-4b90-ace5-c1dd73970bc4");
|
|
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-DGatbznM.js";
|
|
11
|
+
import { t as n } from "./react-EyDmPnWP.js";
|
|
12
|
+
import { i as r } from "./reset-all-settings-Cp3DorZs.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BeS2ZpDl.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-CgC-D7Pn.js";
|
|
15
|
+
import { t as b } from "./browser-5XkJDoev.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-BCVOonXy.js";
|
|
17
|
+
import { t as Ce } from "./is-webview-BcfENkh6.js";
|
|
18
|
+
import { t as we } from "./classnames-7BACf_72.js";
|
|
19
|
+
import { t as Te } from "./Button-DXaS8C6g.js";
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/tools/settings.ts
|
|
22
22
|
var Ee = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
@@ -36900,7 +36900,7 @@ var uB = (oB = class {
|
|
|
36900
36900
|
}
|
|
36901
36901
|
async buildEngine() {
|
|
36902
36902
|
try {
|
|
36903
|
-
let { default: e } = await import("./fuse-
|
|
36903
|
+
let { default: e } = await import("./fuse-CyI90qCC.js").then((e) => e.n);
|
|
36904
36904
|
Se(() => {
|
|
36905
36905
|
this.engine = new e([], {
|
|
36906
36906
|
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.9" };
|
|
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-DGatbznM.js";
|
|
10
|
+
import { t } from "./react-EyDmPnWP.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BeS2ZpDl.js";
|
|
12
|
+
import { t as r } from "./classnames-7BACf_72.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-wgAlajDX.js";
|
|
14
|
+
import { t as d } from "./settings-item-CZyF5H0l.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.9" };
|
|
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-DGatbznM.js";
|
|
10
|
+
import { t } from "./react-EyDmPnWP.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BeS2ZpDl.js";
|
|
12
|
+
import { t as r } from "./react-dom-EZS3LL-t.js";
|
|
13
|
+
import { t as i } from "./classnames-7BACf_72.js";
|
|
14
|
+
import { a, c as o, i as s, n as c, o as l, r as u, t as d } from "./dist-BCzfHe4M.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-wgAlajDX.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.9" };
|
|
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-DGatbznM.js";
|
|
10
|
+
import { a as t, r as n } from "./reset-all-settings-Cp3DorZs.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-BeS2ZpDl.js";
|
|
12
|
+
import "./settings-Dg23InLQ.js";
|
|
13
|
+
import { t as i } from "./browser-5XkJDoev.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-Cb6srK1K.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-D5q1dNwx.js"), { createRoot: i } = await import("./client-BqqHFaWG.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.9" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "021d6ae2-6f50-4c3b-b556-1da4944d3c7f", e._sentryDebugIdIdentifier = "sentry-dbid-021d6ae2-6f50-4c3b-b556-1da4944d3c7f");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { c as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DGatbznM.js";
|
|
10
|
+
import { t } from "./react-EyDmPnWP.js";
|
|
11
|
+
import { c as n } from "./store-Bc0PJjXV.js";
|
|
12
12
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function i(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as s,Fragment as
|
|
1
|
+
import{jsx as e,jsxs as s,Fragment as L}from"react/jsx-runtime";import{autorun as N}from"mobx";import{useLocalStore as S,useObserver as h}from"mobx-react-lite";import C,{Suspense as x}from"react";import r from"../data";import t,{uiState as n}from"../store";import D from"../ui/Badge";import{getLocale as E,getLocales as T,t as m}from"../utils/i18n";import d from"../utils/is-iframe";const U=C.lazy(()=>import("./ViewerMenuPanel"));import"./Menu.scss";import"./Menu_custom.scss";import f from"../tools/logger";import g from"../tools/settings";const u=/^https?:\/\//i.test(r.logo)?r.logo:window.__dataUrlBase+r.logo;f.log("Logo url: ",u),window.setTimeout(function(){const l=new Image;l.onload=()=>{f.log("Logo image loaded")},l.crossOrigin="anonymous",l.src=u},1500);function j({allowConsent:l,isGDPR:c}){const a=S(()=>({logoVisibility:"visible",shown:!1,shownTimeout:void 0,modalOpen:!1,selectedCategoryIds:(n.selectedCategoryFilters||[]).map(o=>Number(o.id)),pendingSelectedIds:(n.selectedCategoryFilters||[]).map(o=>Number(o.id))}));N(()=>{n.menu?(a.shownTimeout=window.setTimeout(()=>a.shown=!0,1),n.list.type==="sessions"&&t.searchStore.selectSearch()):(a.shown=!1,a.shownTimeout&&window.clearTimeout(a.shownTimeout))});function p(o){if(n.kiosk)return o.preventDefault()}function v(o){o.preventDefault(),w(),t.searchStore.selectSearch()}function _(o){o.preventDefault(),t.fp?.onLeaveEvent?.()}function k(o){o.preventDefault(),t.clickLanguage()}return h(()=>{if(!n.menu)return null;const o=t.boothStore.booths.filter(i=>i.bookmarked).map(i=>i.name),b=window.__fpSettings?.fpVer?`https://d2.expofp.com/export/v2/${g.EXPO}/pdf`:`https://api.expofp.com/service/convert/${g.EXPO}/pdf`,y=n.viewerMode&&typeof t.fp?.onLeaveEvent=="function";return s("div",{className:`menu ${a.shown?"shown":""}`,children:[d?e("div",{className:"menu__cover -empty"}):e("div",{className:"menu__cover",children:e("a",{href:r.homeUrl,target:"_blank",rel:"noopener noreferrer",onClick:p,children:e("img",{src:u,onError:()=>a.logoVisibility="hidden",style:{visibility:a.logoVisibility},alt:"",crossOrigin:"anonymous"})})}),s("div",{className:"menu__content",children:[n.viewerMode&&e(x,{fallback:null,children:e(U,{})}),!n.viewerMode&&e("a",{href:"/#",onClick:v,className:"menu__item",children:m("Search")}),!r.hideEventHomeLink&&!n.kiosk&&!d&&!!r.homeUrl&&s("a",{href:r.homeUrl,target:"_blank",className:"menu__item",rel:"noopener noreferrer",children:[m("Event Home").replace(/ /g,"\xA0"),e("i",{className:"icon-link-external"})]}),!r.hideRegisterToAttendLink&&!n.kiosk&&!d&&!!r.registerUrl&&s("a",{href:r.registerUrl,target:"_blank",className:"menu__item",rel:"noopener noreferrer",children:[m("Register to Attend").replace(/ /g,"\xA0"),e("i",{className:"icon-link-external"})]}),!n.hideLanguage&&!r.hideLanguage&&!r.hideLanguageLink&&s("a",{href:"?language",onClick:k,className:"menu__item -language",children:[s("span",{children:[m("Language")," "]}),s("span",{className:"menu__icons",children:[e(D,{variant:"gray",size:"md",noMargins:!0,rounded:!0,children:T().find(i=>i.id===E())?.name}),e("i",{className:"icon-chevron-right"})]})]}),!r.hideDownloadPdfLink&&!n.kiosk&&e("a",{className:"menu__item -pdf",target:"_blank",rel:"noopener noreferrer",href:`${b}/?exhibitors=true&bookmarks=${o.join(",")}&layers=${(t.layerStore.layers.length>=t.layerStore.visible.length?t.layerStore.visible.map(i=>i.name).join(","):"").replace(/&/g,"%26")}`,children:m("Download PDF")}),l===void 0&&c&&e("a",{href:"/#",className:"menu__item -cookie-consent",onClick:i=>{i.preventDefault(),n.hideCookieConsent=!1},children:m("Review Cookie Consent")}),y&&e("div",{className:"menu__item-leave",children:e("a",{href:"/#",className:"menu__item -leave-event menu__leave-link",onClick:_,children:m("Select another event")})})]})]})});function w(){n.menu=!1}}export default({isGDPR:l,allowConsent:c})=>h(()=>e(L,{children:n.menu?e(j,{isGDPR:l,allowConsent:c}):null}));
|
|
@@ -34,7 +34,7 @@ export default class FloorPlanLoader implements FloorPlan {
|
|
|
34
34
|
onExhibitorCustomButtonClick: (e: FloorPlanCustomButtonEvent) => void;
|
|
35
35
|
onGetCoordsClick: (e: FloorPlanGetCoordsEvent) => void;
|
|
36
36
|
onMarkerClick: (e: FloorPlanMarkerEvent) => void;
|
|
37
|
-
onLeaveEvent
|
|
37
|
+
onLeaveEvent?: () => void;
|
|
38
38
|
selectBooth(nameOrExternalId: string | string[]): void;
|
|
39
39
|
selectExhibitor(nameOrExternalId: string | string[]): void;
|
|
40
40
|
selectRoute(startOrWaypoints: RouteWaypoint | RouteWaypoint[], to?: RouteWaypoint): void;
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export interface FloorPlan {
|
|
|
75
75
|
highlightExhibitors(externalIds: string[]): void;
|
|
76
76
|
highlightBooths(externalIds: string[]): void;
|
|
77
77
|
onCurrentPositionChanged(point: CurrentPosition): void;
|
|
78
|
-
onLeaveEvent()
|
|
78
|
+
onLeaveEvent?: () => void;
|
|
79
79
|
search(term: string): Promise<{
|
|
80
80
|
item: unknown;
|
|
81
81
|
score: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.9",
|
|
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/
|
|
76
|
-
"@expofp/
|
|
77
|
-
"@expofp/
|
|
75
|
+
"@expofp/debug": "3.11.9",
|
|
76
|
+
"@expofp/geometry": "3.11.9",
|
|
77
|
+
"@expofp/resolve": "3.11.9"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@babel/plugin-proposal-decorators": "^8.0.2",
|