@expofp/floorplan 3.1.7 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{CookieConsent-DfE_fkts.js → CookieConsent-BWIz5A9p.js} +29 -29
- package/dist/browser/{Debug-BjYRfFht.js → Debug-Dc-CpIuW.js} +6 -6
- package/dist/browser/{Demo-Dbi2jpnc.js → Demo-C-gDoJHz.js} +8 -8
- package/dist/browser/{Free-BSnZx5sK.js → Free-B_Nc0lBV.js} +8 -8
- package/dist/browser/{Gallery-CXDwIc_X.js → Gallery-NW3tpm3U.js} +8 -8
- package/dist/browser/{GpsLoader-BxC0jQJL.js → GpsLoader-BgtxLTgL.js} +8 -8
- package/dist/browser/{KioskStore-Bx9njFnf.js → KioskStore-O9lcbMgO.js} +3 -3
- package/dist/browser/{Mapbox-BL4uCq3u.js → Mapbox-n8XdO_JZ.js} +8 -8
- package/dist/browser/{SetKioskMode-CmUEpNr8.js → SetKioskMode-BSrhzr-T.js} +7 -7
- package/dist/browser/{ShowKiosk-Dqk68IPs.js → ShowKiosk-ChdkT29W.js} +9 -9
- package/dist/browser/{ThreeComponent-Bs4fIgXe.js → ThreeComponent-C9NgJy3L.js} +9 -9
- package/dist/browser/{TouchHand-F4RwHukr.js → TouchHand-j9wM9VIW.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Da8d4AKA.js → ViewerMenuPanel-B-eQvgxu.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-CzY7rBoG.js → add-debug-secret-listener-hyBkCStK.js} +1 -1
- package/dist/browser/{boolean-editor-EtntC8E2.js → boolean-editor-CtepaQAf.js} +6 -6
- package/dist/browser/{bootIntercom-DgAJUEEd.js → bootIntercom-CWJHIFsy.js} +1 -1
- package/dist/browser/bundle.json +44 -44
- package/dist/browser/{chunk-RBEdwIRm.js → chunk-CmzsSKsP.js} +1 -1
- package/dist/browser/{classnames-qZ9_2hbn.js → classnames-CV7GydgO.js} +2 -2
- package/dist/browser/{client-C19UpouP.js → client-CW46IlZK.js} +4 -4
- package/dist/browser/{data-oHqnWMYj.js → data-BFFP23Yx.js} +3 -3
- package/dist/browser/{debug-overlay-BMB9VRVy.js → debug-overlay-DK1IpDkH.js} +8 -8
- package/dist/browser/{debug-ui-CeUHj66R.js → debug-ui-Bk_cgOg0.js} +6 -6
- package/dist/browser/{dist-DV-fRVqs.js → dist-msXGDyJE.js} +5 -5
- package/dist/browser/{exports-BLsk2ygZ.js → exports-CWJfbRRi.js} +1 -1
- package/dist/browser/{favicon-DHl8ze48.js → favicon-Dx5hE2TC.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BeZhMPIj.js → fetch-retry.umd--f_V0nbP.js} +2 -2
- package/dist/browser/{flex-BiRWYXbM.js → flex-DayQlZNC.js} +6 -6
- package/dist/browser/{floorplan.loader-ic4sBsDi.js → floorplan.loader-ChwMFO3K.js} +9 -9
- package/dist/browser/{floorplan.ready-DucQMO3I.js → floorplan.ready-DH6TL_BA.js} +10 -10
- package/dist/browser/{fuse-nzPqJLRF.js → fuse-Cx2xVr92.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-BTIP9fyG.js → is-debug-DeMC2fj6.js} +2 -2
- package/dist/browser/{jsx-runtime-C40T-D9O.js → jsx-runtime-CeW-_L98.js} +2 -2
- package/dist/browser/{lib-CviNrhqa.js → lib-ouUEfatK.js} +4 -4
- package/dist/browser/{main-B_zTGBSI.js → main-C8DYHeS3.js} +1 -1
- package/dist/browser/{mobx-B035tRw8.js → mobx-BTzRLiLH.js} +4 -4
- package/dist/browser/{particles.min-DSPwSJ2J.js → particles.min-CuOEuyDw.js} +2 -2
- package/dist/browser/{prop-types-BW7NYwOo.js → prop-types-CkH4l5ny.js} +2 -2
- package/dist/browser/{react-BrB6NhR9.js → react-_GkslNER.js} +2 -2
- package/dist/browser/{react-dom-D67jzu6q.js → react-dom-Cq9do5W9.js} +3 -3
- package/dist/browser/{reset-all-settings-B4otpIDL.js → reset-all-settings-hgrZphbe.js} +1 -1
- package/dist/browser/{settings-CB1rylda.js → settings-BIMaTEyo.js} +6 -6
- package/dist/browser/{src-DdXQDzCb.js → src-BGoCtwZn.js} +4 -4
- package/dist/browser/{store-BnxcP6Pt.js → store-B0ML_owv.js} +14 -11
- package/dist/browser/{ui-24Jpsemb.js → ui-vdOqnu50.js} +6 -6
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/renderer/engine-core/utils/rotation.js +1 -1
- package/package.json +3 -3
|
@@ -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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5190037-4ae1-4b9d-9ef7-d38ebd0da919", e._sentryDebugIdIdentifier = "sentry-dbid-a5190037-4ae1-4b9d-9ef7-d38ebd0da919");
|
|
8
8
|
} catch {}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5502080e-bef5-4a57-9d7d-8a45c2ec4b84", e._sentryDebugIdIdentifier = "sentry-dbid-5502080e-bef5-4a57-9d7d-8a45c2ec4b84");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { m as t, y as n } from "./is-debug-
|
|
11
|
-
import { t as r } from "./react-
|
|
9
|
+
import { r as e } from "./chunk-CmzsSKsP.js";
|
|
10
|
+
import { m as t, y as n } from "./is-debug-DeMC2fj6.js";
|
|
11
|
+
import { t as r } from "./react-_GkslNER.js";
|
|
12
12
|
//#region src/utils/mobx.ts
|
|
13
13
|
var i = /* @__PURE__ */ e(r(), 1);
|
|
14
14
|
function a(e, n) {
|
|
@@ -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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "77712fd0-4322-49b1-965e-1ad73d7fb0ee", e._sentryDebugIdIdentifier = "sentry-dbid-77712fd0-4322-49b1-965e-1ad73d7fb0ee");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-CmzsSKsP.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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "53a9f97f-ec73-4665-8fad-4f690eff0e29", e._sentryDebugIdIdentifier = "sentry-dbid-53a9f97f-ec73-4665-8fad-4f690eff0e29");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-CmzsSKsP.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f08151ab-17da-4df3-8641-ede95d910845", e._sentryDebugIdIdentifier = "sentry-dbid-f08151ab-17da-4df3-8641-ede95d910845");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-CmzsSKsP.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/react@19.2.5/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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1bad5344-0d18-49d7-92f3-094b72b90faf", e._sentryDebugIdIdentifier = "sentry-dbid-1bad5344-0d18-49d7-92f3-094b72b90faf");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
9
|
+
import { t as e } from "./chunk-CmzsSKsP.js";
|
|
10
|
+
import { t } from "./react-_GkslNER.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/react-dom@19.2.5_react@19.2.5/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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c0f1ac4c-d5ed-4e69-8554-7916bf87e3ee", e._sentryDebugIdIdentifier = "sentry-dbid-c0f1ac4c-d5ed-4e69-8554-7916bf87e3ee");
|
|
8
8
|
} catch {}
|
|
@@ -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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f814f1eb-8b45-4ebe-9d75-3170e178d083", e._sentryDebugIdIdentifier = "sentry-dbid-f814f1eb-8b45-4ebe-9d75-3170e178d083");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { n as r, r as i } from "./reset-all-settings-
|
|
9
|
+
import { r as e } from "./chunk-CmzsSKsP.js";
|
|
10
|
+
import { t } from "./react-_GkslNER.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-CeW-_L98.js";
|
|
12
|
+
import { n as r, r as i } from "./reset-all-settings-hgrZphbe.js";
|
|
13
13
|
//#region ../debug/src/lib/settings/register-setting.tsx
|
|
14
14
|
var a = /* @__PURE__ */ e(t(), 1), o = n(), s = "efp-local-storage";
|
|
15
15
|
function c(e, t, n, c) {
|
|
@@ -63,7 +63,7 @@ function u(e) {
|
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
65
65
|
function d(e) {
|
|
66
|
-
return c(e, !1, a.lazy(() => import("./boolean-editor-
|
|
66
|
+
return c(e, !1, a.lazy(() => import("./boolean-editor-CtepaQAf.js").then((e) => ({ default: e.BooleanEditor }))));
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
69
|
export { c as n, d as t };
|
|
@@ -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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "296827ff-4fe5-4907-9b96-cec1ee89058c", e._sentryDebugIdIdentifier = "sentry-dbid-296827ff-4fe5-4907-9b96-cec1ee89058c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./reset-all-settings-
|
|
10
|
-
import "./settings-
|
|
9
|
+
import "./reset-all-settings-hgrZphbe.js";
|
|
10
|
+
import "./settings-BIMaTEyo.js";
|
|
11
11
|
//#region ../debug/src/lib/init-debug.tsx
|
|
12
12
|
var e = !1;
|
|
13
13
|
function t() {
|
|
14
|
-
e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-
|
|
14
|
+
e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-vdOqnu50.js").then(({ renderDebugUi: e }) => {
|
|
15
15
|
e();
|
|
16
16
|
}).catch(() => {}));
|
|
17
17
|
}
|
|
@@ -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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
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] = "9362bda3-1ded-47a2-b95e-d9146b3e1e87", e._sentryDebugIdIdentifier = "sentry-dbid-9362bda3-1ded-47a2-b95e-d9146b3e1e87");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./chunk-
|
|
11
|
-
import { $ as n, C as r, D as i, E as a, Et as o, F as s, G as c, H as l, I as u, K as d, L as f, M as p, N as m, O as h, P as g, St as _, Tt as v, W as y, Y as b, _ as x, a as S, b as C, bt as w, c as T, d as E, dt as D, et as O, f as k, ft as ee, g as te, gt as ne, h as A, i as re, j as ie, l as ae, lt as oe, m as se, mt as ce, n as le, o as ue, ot as de, p as j, pt as fe, q as pe, r as me, st as he, t as ge, u as M, v as N, x as _e, xt as ve, y as P, yt as ye } from "./is-debug-
|
|
12
|
-
import { t as be } from "./react-
|
|
13
|
-
import { t as xe } from "./jsx-runtime-
|
|
14
|
-
import { t as Se } from "./classnames-
|
|
10
|
+
import { r as e, t } from "./chunk-CmzsSKsP.js";
|
|
11
|
+
import { $ as n, C as r, D as i, E as a, Et as o, F as s, G as c, H as l, I as u, K as d, L as f, M as p, N as m, O as h, P as g, St as _, Tt as v, W as y, Y as b, _ as x, a as S, b as C, bt as w, c as T, d as E, dt as D, et as O, f as k, ft as ee, g as te, gt as ne, h as A, i as re, j as ie, l as ae, lt as oe, m as se, mt as ce, n as le, o as ue, ot as de, p as j, pt as fe, q as pe, r as me, st as he, t as ge, u as M, v as N, x as _e, xt as ve, y as P, yt as ye } from "./is-debug-DeMC2fj6.js";
|
|
12
|
+
import { t as be } from "./react-_GkslNER.js";
|
|
13
|
+
import { t as xe } from "./jsx-runtime-CeW-_L98.js";
|
|
14
|
+
import { t as Se } from "./classnames-CV7GydgO.js";
|
|
15
15
|
//#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.5/node_modules/mobx-react-lite/dist/index.module.js
|
|
16
16
|
var Ce = /* @__PURE__ */ e(be());
|
|
17
17
|
if (!Ce.useState) throw Error("mobx-react-lite requires React with Hooks support");
|
|
@@ -27223,8 +27223,11 @@ function YD(e, t, n, r) {
|
|
|
27223
27223
|
//#region src/renderer/engine-core/utils/rotation.ts
|
|
27224
27224
|
function XD(e, t) {
|
|
27225
27225
|
if (!t) return !1;
|
|
27226
|
-
let n =
|
|
27227
|
-
return
|
|
27226
|
+
let n = Math.cos(t.rotation), r = Math.sin(t.rotation), i = t.size.x / 2, a = t.size.y / 2;
|
|
27227
|
+
return ZD(e, e.rotation + Math.PI / 2).every((e) => {
|
|
27228
|
+
let o = e.x - t.center.x, s = e.y - t.center.y, c = o * n + s * r, l = s * n - o * r;
|
|
27229
|
+
return Math.abs(c) <= i && Math.abs(l) <= a;
|
|
27230
|
+
});
|
|
27228
27231
|
}
|
|
27229
27232
|
function ZD(e, t = e.rotation) {
|
|
27230
27233
|
let n = e.size.x / 2, r = e.size.y / 2, i = Math.sin(t), a = Math.cos(t), o = e.center.x, s = e.center.y;
|
|
@@ -28042,7 +28045,7 @@ async function rk(e) {
|
|
|
28042
28045
|
let { shape: a, parentRect: o } = i[n], s = XD(a.bounds, o);
|
|
28043
28046
|
if (!r.name.includes("Pathway_")) {
|
|
28044
28047
|
let t = s ? "image-rotate" : "image-flip";
|
|
28045
|
-
e.onRoll(`${t}-${name}-${n}`, s ? (e) => $D(a, e) : (e) => QD(a, e));
|
|
28048
|
+
e.onRoll(`${t}-${r.name}-${n}`, s ? (e) => $D(a, e) : (e) => QD(a, e));
|
|
28046
28049
|
}
|
|
28047
28050
|
t.push(a);
|
|
28048
28051
|
}
|
|
@@ -34215,7 +34218,7 @@ var hL = (dL = class {
|
|
|
34215
34218
|
}
|
|
34216
34219
|
async buildEngine() {
|
|
34217
34220
|
try {
|
|
34218
|
-
let { default: e } = await import("./fuse-
|
|
34221
|
+
let { default: e } = await import("./fuse-Cx2xVr92.js").then((e) => e.n);
|
|
34219
34222
|
C(() => {
|
|
34220
34223
|
this.engine = new e([], {
|
|
34221
34224
|
keys: this.keys,
|
|
@@ -1,22 +1,22 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.8" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "366e3673-c350-4f8b-b0f3-9cc93894014c", e._sentryDebugIdIdentifier = "sentry-dbid-366e3673-c350-4f8b-b0f3-9cc93894014c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./jsx-runtime-
|
|
11
|
-
import { t as n } from "./settings-
|
|
12
|
-
import { t as r } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./chunk-CmzsSKsP.js";
|
|
10
|
+
import { t } from "./jsx-runtime-CeW-_L98.js";
|
|
11
|
+
import { t as n } from "./settings-BIMaTEyo.js";
|
|
12
|
+
import { t as r } from "./add-debug-secret-listener-hyBkCStK.js";
|
|
13
13
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
14
14
|
var i = t(), a = !1;
|
|
15
15
|
function o() {
|
|
16
16
|
if (a) return;
|
|
17
17
|
a = !0;
|
|
18
18
|
let t = n("Show Debug Button Overlay"), o = async (n) => {
|
|
19
|
-
let { DebugUi: r } = await import("./debug-ui-
|
|
19
|
+
let { DebugUi: r } = await import("./debug-ui-Bk_cgOg0.js"), { createRoot: a } = await import("./client-CW46IlZK.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
|
|
20
20
|
document.body.appendChild(o), a(o).render(/* @__PURE__ */ (0, i.jsx)(r, {
|
|
21
21
|
useDebugButtonState: t.useState,
|
|
22
22
|
open: n
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getLayerSvg as f}from"../../../../data/svg";import{select as h}from"d3";import{getLogoUrl as d}from"../../../../utils/getLogoUrl";import{flipImageDef as u,isInnerInsideOuter as y}from"../../../../renderer";import{SEPARATOR as w}from"../../../../constants";import{rotateImageDef as x}from"../../../../renderer/engine-core/utils/rotation";export async function loadLayersImages(t){const n=t.layerImagesRegistry.invoke();await Promise.all(n.map(async e=>{const l=await e;if(!l)return;const{layer:i,children:o}=l;if(o.length){const a=[];for(let r=0;r<o.length;r++){const{shape:s,parentRect:c}=o[r],g=y(s.bounds,c);if(!i.name.includes("Pathway_")){const m=g?"image-rotate":"image-flip";t.onRoll(`${m}-${name}-${r}`,g?p=>x(s,p):p=>u(s,p))}a.push(s)}i.children.push(...a),t.update(i)}}))}export const getImageLayerName=t=>`${t}${w}images`;export function mapBoothsLogos(t){return new Map(t.map(n=>{const e=n.rect&&n.exhibitors.find(l=>l.logoInBooth&&l.logo);return e?[n.id,{preferred:d(e.logo),fallback:e.logo}]:null}).filter(Boolean))}export function getLayerIcons(t){const n=h(f(t)).select(`[data-layer="${t.name}"]`);return(window.__fpVersion>5?n.selectAll(":scope > image, :scope > g:not([data-layer]) image").nodes():n.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean)}export function createBoothImg(t,n){const e=t.rect,l=e.h?e.w/e.h:1,i=n.height?n.width/n.height:1;let o,a,r;const s=.9;l>i?(a=e.h*s,o=a*i):(o=e.w*s,a=o/i);const c=t.rotate||0;i>=2&&!c&&e.h>=e.w*2?(a=e.w*s,o=a*i,r=-90):r=-c*180/Math.PI,o>e.w&&(o=e.w,a=o/i),a>e.h&&(a=e.h,o=a*i);const g=e.cx-o/2,m=e.cy-a/2;return{name:t.slug,bounds:{x:g,y:m,width:o,height:a,angle:r},htmlImage:n,booth:t}}
|
|
1
|
+
import{getLayerSvg as f}from"../../../../data/svg";import{select as h}from"d3";import{getLogoUrl as d}from"../../../../utils/getLogoUrl";import{flipImageDef as u,isInnerInsideOuter as y}from"../../../../renderer";import{SEPARATOR as w}from"../../../../constants";import{rotateImageDef as x}from"../../../../renderer/engine-core/utils/rotation";export async function loadLayersImages(t){const n=t.layerImagesRegistry.invoke();await Promise.all(n.map(async e=>{const l=await e;if(!l)return;const{layer:i,children:o}=l;if(o.length){const a=[];for(let r=0;r<o.length;r++){const{shape:s,parentRect:c}=o[r],g=y(s.bounds,c);if(!i.name.includes("Pathway_")){const m=g?"image-rotate":"image-flip";t.onRoll(`${m}-${i.name}-${r}`,g?p=>x(s,p):p=>u(s,p))}a.push(s)}i.children.push(...a),t.update(i)}}))}export const getImageLayerName=t=>`${t}${w}images`;export function mapBoothsLogos(t){return new Map(t.map(n=>{const e=n.rect&&n.exhibitors.find(l=>l.logoInBooth&&l.logo);return e?[n.id,{preferred:d(e.logo),fallback:e.logo}]:null}).filter(Boolean))}export function getLayerIcons(t){const n=h(f(t)).select(`[data-layer="${t.name}"]`);return(window.__fpVersion>5?n.selectAll(":scope > image, :scope > g:not([data-layer]) image").nodes():n.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean)}export function createBoothImg(t,n){const e=t.rect,l=e.h?e.w/e.h:1,i=n.height?n.width/n.height:1;let o,a,r;const s=.9;l>i?(a=e.h*s,o=a*i):(o=e.w*s,a=o/i);const c=t.rotate||0;i>=2&&!c&&e.h>=e.w*2?(a=e.w*s,o=a*i,r=-90):r=-c*180/Math.PI,o>e.w&&(o=e.w,a=o/i),a>e.h&&(a=e.h,o=a*i);const g=e.cx-o/2,m=e.cy-a/2;return{name:t.slug,bounds:{x:g,y:m,width:o,height:a,angle:r},htmlImage:n,booth:t}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{flipAngle as
|
|
1
|
+
import{flipAngle as h,getRotation as y,shouldFlip as u}from"../update-def";export function isInnerInsideOuter(t,n){if(!n)return!1;const o=Math.cos(n.rotation),s=Math.sin(n.rotation),i=n.size.x/2,r=n.size.y/2;return f(t,t.rotation+Math.PI/2).every(e=>{const a=e.x-n.center.x,x=e.y-n.center.y,c=a*o+x*s,d=x*o-a*s;return Math.abs(c)<=i&&Math.abs(d)<=r})}function f(t,n=t.rotation){const o=t.size.x/2,s=t.size.y/2,i=Math.sin(n),r=Math.cos(n),e=t.center.x,a=t.center.y;return[{x:-o,y:-s},{x:o,y:-s},{x:o,y:s},{x:-o,y:s}].map(c=>({x:e+c.x*r-c.y*i,y:a+c.x*i+c.y*r}))}export function flipImageDef(t,n){const o=t.bounds.rotation;return u(n,o)&&(t.bounds.rotation=h(t.bounds.rotation)),t}export function rotateImageDef(t,n){const o=y(n,t.bounds.rotation);return o!==void 0&&(t.bounds.rotation=t.bounds.rotation+o),t}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"twgl.js": "^4.14.0",
|
|
77
77
|
"uuid": "^9.0.1",
|
|
78
78
|
"zod": "4.3.5",
|
|
79
|
-
"@expofp/
|
|
80
|
-
"@expofp/
|
|
79
|
+
"@expofp/resolve": "3.1.8",
|
|
80
|
+
"@expofp/debug": "3.1.8"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|