@expofp/floorplan 3.12.1 → 3.12.3
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-CxYYwdV3.js → Button-zq3iijlm.js} +5 -5
- package/dist/browser/{CookieConsent-Cltod-AQ.js → CookieConsent-61gA3NcP.js} +7 -7
- package/dist/browser/{Debug-DnZLaoNY.js → Debug-CvxxGRSy.js} +7 -7
- package/dist/browser/{Demo-CbuT3wW6.js → Demo-r7XlbtbS.js} +9 -9
- package/dist/browser/{Free-CVEJPdaI.js → Free-Cb3Ribl4.js} +9 -9
- package/dist/browser/{Gallery-D2dTKIqn.js → Gallery-BnulBU-C.js} +9 -9
- package/dist/browser/{GpsLoader-Bpn0jys4.js → GpsLoader-DzoewLSm.js} +10 -10
- package/dist/browser/{KioskStore-Bf3tKr77.js → KioskStore-BeyRpXkw.js} +3 -3
- package/dist/browser/{MaplibreAdapter-D6Fqdelu.js → MaplibreAdapter-BaBldh68.js} +9 -9
- package/dist/browser/{ModalContainer-C7E4QKwY.js → ModalContainer-DMdNt6JT.js} +10 -10
- package/dist/browser/{PermissionNotice-CTckXfzd.js → PermissionNotice-aZ7Apmab.js} +6 -6
- package/dist/browser/{SetKioskMode-BPvChiTX.js → SetKioskMode-DtBrSTrp.js} +8 -8
- package/dist/browser/{ShowKiosk-97iuNiDq.js → ShowKiosk-BUzsXyMQ.js} +11 -11
- package/dist/browser/{TouchHand-BEPM0Ix6.js → TouchHand-D-em9G06.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CTDMmojE.js → ViewerMenuPanel-C0tTM6Ya.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-rtzwkssg.js → add-debug-secret-listener-BvRmUFV2.js} +1 -1
- package/dist/browser/{boolean-editor-Buj1Gh2Q.js → boolean-editor-DcqEJ8co.js} +9 -9
- package/dist/browser/{bootIntercom-CLXK1aCU.js → bootIntercom-BQoDztuO.js} +2 -2
- package/dist/browser/{booth-by-xy-DYsVPBrO.js → booth-by-xy-JBkztXZR.js} +6 -6
- package/dist/browser/bundle.json +66 -66
- package/dist/browser/{classnames-C7JqIDkz.js → classnames-k2ThxA-q.js} +2 -2
- package/dist/browser/{client-DRCaFfyq.js → client-DKa6p0uc.js} +4 -4
- package/dist/browser/{components-CoSFc4pe.js → components-uVTRWyns.js} +38 -38
- package/dist/browser/{debug-overlay-l2O5ATYR.js → debug-overlay-CmaTXVo_.js} +10 -10
- package/dist/browser/{debug-ui-fkLeLMTN.js → debug-ui-CrzH3R9z.js} +6 -6
- package/dist/browser/{dist-Br0u22MB.js → dist-BD4zeH3S.js} +5 -5
- package/dist/browser/{dist-B8Jegpa2.js → dist-CMKVbNfn.js} +3 -3
- package/dist/browser/{dist-DQ04vk8X.js → dist-hAA1hJJn.js} +6 -6
- package/dist/browser/{efp-debug-init-DolwvXvu.js → efp-debug-init-C1vzXVRH.js} +3 -3
- package/dist/browser/{enum-editor-BRlr42ZG.js → enum-editor-C7MT9uNV.js} +4 -4
- package/dist/browser/{es5-hugWWUki.js → es5-BHQLywVb.js} +2 -2
- package/dist/browser/{event-not-found-DrCgFYgQ.js → event-not-found-JlOOy6g2.js} +1 -1
- package/dist/browser/{exports-DY1Pe4xZ.js → exports-XffaF1gB.js} +1 -1
- package/dist/browser/{favicon-v6HqMJRd.js → favicon-DtrHE4kd.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CtpzesBT.js → fetch-retry.umd-Cg0U2KAy.js} +2 -2
- package/dist/browser/{flex-5lvsJlaO.js → flex-CXlfxm2E.js} +5 -5
- package/dist/browser/{floorplan.loader-D4AZdgsy.js → floorplan.loader-CxK5ziRT.js} +12 -12
- package/dist/browser/{floorplan.ready-BnsAv7j1.js → floorplan.ready-mXSNjhI9.js} +14 -14
- package/dist/browser/{fuse-BWnB1Pgo.js → fuse-By8pE6hN.js} +2 -2
- package/dist/browser/{i18n-wZml67KB.js → i18n-DLy_nvsn.js} +5 -5
- package/dist/browser/index.js +15 -15
- package/dist/browser/{index.module-GNnIO9vr.js → index.module-DVhH3XrB.js} +4 -4
- package/dist/browser/{integrateKiosk-uxqH2FgD.js → integrateKiosk-BnhKdnCb.js} +3 -3
- package/dist/browser/{is-webview-BlxQlyaS.js → is-webview-BVXu9jQP.js} +1 -1
- package/dist/browser/{jsx-runtime-xVcN9g8F.js → jsx-runtime-Y_VUlz4y.js} +2 -2
- package/dist/browser/{lib-CIYjsvFB.js → lib-T7Q6vtRv.js} +4 -4
- package/dist/browser/{loadImage-DZxHBSrL.js → loadImage-ulwASCLQ.js} +4 -4
- package/dist/browser/{logDeviceInfo-BQn3HG5l.js → logDeviceInfo-CX6gL_1N.js} +10 -10
- package/dist/browser/{main-DKRaY1QU.js → main-DQlzXtpO.js} +1 -1
- package/dist/browser/{mobx-rpWRRJB9.js → mobx-DZXoLfg-.js} +4 -4
- package/dist/browser/{optional-boolean-editor-fWgfIGvs.js → optional-boolean-editor-CbOP-pRw.js} +3 -3
- package/dist/browser/{optional-enum-editor-CQ8-ut60.js → optional-enum-editor-BjOgDZsp.js} +4 -4
- package/dist/browser/{optional-string-editor-BP4b7LsR.js → optional-string-editor-Ck0PPS1E.js} +4 -4
- package/dist/browser/{particles.min-D-VdW4Qr.js → particles.min-ntH_Jup2.js} +2 -2
- package/dist/browser/{prop-types-CE7JeEE-.js → prop-types-CHr8_AGw.js} +2 -2
- package/dist/browser/{react-DxSEhu-j.js → react-BOOk-FbS.js} +2 -2
- package/dist/browser/{react-dom-CqQZIZ5q.js → react-dom-D6kHIsPR.js} +3 -3
- package/dist/browser/{reset-all-settings--GzHxj4F.js → reset-all-settings-BhTY8Yy_.js} +9 -9
- package/dist/browser/{rolldown-runtime-Ik1ocWLm.js → rolldown-runtime-rz90HVle.js} +1 -1
- package/dist/browser/{select-DQmL3TsB.js → select-8KX0mpuq.js} +10 -10
- package/dist/browser/{settings-BndqjdZx.js → settings-CWujo8MY.js} +2 -2
- package/dist/browser/{settings-item-5zzAH3FT.js → settings-item-DHeFy2lb.js} +6 -6
- package/dist/browser/{store-CgXKlx2n.js → store-CPfIG9UN.js} +65 -36
- package/dist/browser/{string-editor-Bxbp0JHl.js → string-editor-Dvjcjkix.js} +4 -4
- package/dist/browser/{text-field-ySWl7XqC.js → text-field-F5TXexZy.js} +5 -5
- package/dist/browser/{theme-ByGstXaJ.js → theme-B9NgQQN9.js} +8 -8
- package/dist/browser/{ui-LJGsaayP.js → ui-AGkDaWif.js} +8 -8
- package/dist/browser/{useRenderTarget-DaUlOis9.js → useRenderTarget-9W120Vnp.js} +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +2 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +4 -4
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/tools/sentry.js +1 -1
- package/package.json +8 -8
|
@@ -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.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b77cacc8-f68d-44ca-9661-159b7fb7ac61", e._sentryDebugIdIdentifier = "sentry-dbid-b77cacc8-f68d-44ca-9661-159b7fb7ac61");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
9
|
+
import { t as e } from "./rolldown-runtime-rz90HVle.js";
|
|
10
|
+
import { t } from "./react-BOOk-FbS.js";
|
|
11
11
|
//#region ../../node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/cjs/react-dom.production.js
|
|
12
12
|
var n = /* @__PURE__ */ e(((e) => {
|
|
13
13
|
var n = t();
|
|
@@ -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.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "080d36cb-3f24-4815-93c7-d042fe49b8b8", e._sentryDebugIdIdentifier = "sentry-dbid-080d36cb-3f24-4815-93c7-d042fe49b8b8");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { s as t } from "./efp-debug-init-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-rz90HVle.js";
|
|
10
|
+
import { s as t } from "./efp-debug-init-C1vzXVRH.js";
|
|
11
|
+
import { t as n } from "./react-BOOk-FbS.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-Y_VUlz4y.js";
|
|
13
13
|
//#region ../debug/src/lib/settings/setting-registry.ts
|
|
14
14
|
var i = /* @__PURE__ */ e(t(), 1), a = /* @__PURE__ */ e(n(), 1), o = /* @__PURE__ */ new Map(), s = r(), c = (0, i.default)("efp:debug"), l = "efp-local-storage";
|
|
15
15
|
function u(e) {
|
|
@@ -72,7 +72,7 @@ function d(e) {
|
|
|
72
72
|
//#region ../debug/src/lib/settings/register-boolean-setting.ts
|
|
73
73
|
function f(e) {
|
|
74
74
|
var t;
|
|
75
|
-
let n = a.lazy(() => import("./boolean-editor-
|
|
75
|
+
let n = a.lazy(() => import("./boolean-editor-DcqEJ8co.js").then((e) => ({ default: e.BooleanEditor })));
|
|
76
76
|
return u({
|
|
77
77
|
key: e.key,
|
|
78
78
|
default: (t = e.default) == null ? !1 : t,
|
|
@@ -83,7 +83,7 @@ function f(e) {
|
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region ../debug/src/lib/settings/register-enum-setting.ts
|
|
85
85
|
function p(e) {
|
|
86
|
-
let t = a.lazy(() => import("./enum-editor-
|
|
86
|
+
let t = a.lazy(() => import("./enum-editor-C7MT9uNV.js").then((e) => ({ default: e.EnumEditor }))), n = (e) => typeof e == "string" ? e : JSON.stringify(e);
|
|
87
87
|
return u({
|
|
88
88
|
key: e.key,
|
|
89
89
|
default: e.default,
|
|
@@ -101,7 +101,7 @@ function p(e) {
|
|
|
101
101
|
//#region ../debug/src/lib/settings/register-string-setting.ts
|
|
102
102
|
function m(e) {
|
|
103
103
|
var t;
|
|
104
|
-
let n = a.lazy(() => import("./string-editor-
|
|
104
|
+
let n = a.lazy(() => import("./string-editor-Dvjcjkix.js").then((e) => ({ default: e.StringEditor })));
|
|
105
105
|
return u({
|
|
106
106
|
key: e.key,
|
|
107
107
|
default: (t = e.default) == null ? "" : t,
|
|
@@ -121,7 +121,7 @@ function g(e) {
|
|
|
121
121
|
function _() {
|
|
122
122
|
for (let [e, t] of h) o.has(e) || x(e, t);
|
|
123
123
|
}
|
|
124
|
-
var v = a.lazy(() => import("./optional-boolean-editor-
|
|
124
|
+
var v = a.lazy(() => import("./optional-boolean-editor-CbOP-pRw.js").then((e) => ({ default: e.OptionalBooleanEditor }))), y = a.lazy(() => import("./optional-string-editor-Ck0PPS1E.js").then((e) => ({ default: e.OptionalStringEditor }))), b = a.lazy(() => import("./optional-enum-editor-BjOgDZsp.js").then((e) => ({ default: e.OptionalEnumEditor })));
|
|
125
125
|
function x(e, t) {
|
|
126
126
|
switch (t.type) {
|
|
127
127
|
case "boolean":
|
|
@@ -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.12.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4a11513d-0070-4205-b636-a85d593cfa99", e._sentryDebugIdIdentifier = "sentry-dbid-4a11513d-0070-4205-b636-a85d593cfa99");
|
|
8
8
|
} catch {}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f54615df-2b28-4fdb-993a-0df464eb6bef", e._sentryDebugIdIdentifier = "sentry-dbid-f54615df-2b28-4fdb-993a-0df464eb6bef");
|
|
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 } from "./dist-
|
|
15
|
-
import { O as u, T as d, g as f, l as p, s as m, u as h, y as g } from "./flex-
|
|
16
|
-
import { _, a as v, b as y, c as b, d as x, f as S, g as C, h as w, i as T, l as E, m as D, n as O, o as k, p as A, s as ee, t as te, u as ne, v as re, y as j } from "./theme-
|
|
17
|
-
import { t as M } from "./dist-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-rz90HVle.js";
|
|
10
|
+
import { t } from "./react-BOOk-FbS.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Y_VUlz4y.js";
|
|
12
|
+
import { t as r } from "./react-dom-D6kHIsPR.js";
|
|
13
|
+
import { t as i } from "./classnames-k2ThxA-q.js";
|
|
14
|
+
import { a, c as o, i as s, n as c, o as l } from "./dist-hAA1hJJn.js";
|
|
15
|
+
import { O as u, T as d, g as f, l as p, s as m, u as h, y as g } from "./flex-CXlfxm2E.js";
|
|
16
|
+
import { _, a as v, b as y, c as b, d as x, f as S, g as C, h as w, i as T, l as E, m as D, n as O, o as k, p as A, s as ee, t as te, u as ne, v as re, y as j } from "./theme-B9NgQQN9.js";
|
|
17
|
+
import { t as M } from "./dist-CMKVbNfn.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
|
|
19
19
|
var N = /* @__PURE__ */ e(t(), 1);
|
|
20
20
|
function ie(e, [t, n]) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "31134858-dcba-4b1b-8a78-4a828ed8eb05", e._sentryDebugIdIdentifier = "sentry-dbid-31134858-dcba-4b1b-8a78-4a828ed8eb05");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./reset-all-settings
|
|
9
|
+
import "./reset-all-settings-BhTY8Yy_.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.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a745d776-6f56-4ed6-99bd-561b5e7ce475", e._sentryDebugIdIdentifier = "sentry-dbid-a745d776-6f56-4ed6-99bd-561b5e7ce475");
|
|
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-rz90HVle.js";
|
|
10
|
+
import { t } from "./react-BOOk-FbS.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Y_VUlz4y.js";
|
|
12
|
+
import { t as r } from "./classnames-k2ThxA-q.js";
|
|
13
|
+
import { c as i, l as a, t as o, u as s, y as c } from "./flex-CXlfxm2E.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,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.12.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
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] = "f52e6867-82a2-45c5-9a3a-f73687aa6f95", e._sentryDebugIdIdentifier = "sentry-dbid-f52e6867-82a2-45c5-9a3a-f73687aa6f95");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { A as n, B as r, F as i, G as a, H as o, I as s, J as c, K as l, L as u, Pt as d, Q as f, U as p, V as m, W as h, _ as g, a as _, at as v, c as y, d as b, f as x, h as S, it as C, k as w, l as T, lt as E, m as D, n as O, ot as k, p as A, s as j, t as ee, v as M, y as te, z as ne } from "./i18n-
|
|
12
|
-
import { s as re } from "./efp-debug-init-
|
|
13
|
-
import { t as ie } from "./react-
|
|
14
|
-
import { t as ae } from "./jsx-runtime-
|
|
15
|
-
import { n as oe, r as N, t as se } from "./loadImage-
|
|
16
|
-
import { t as ce } from "./is-webview-
|
|
17
|
-
import { t as le } from "./classnames-
|
|
18
|
-
import { t as ue } from "./Button-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-rz90HVle.js";
|
|
11
|
+
import { A as n, B as r, F as i, G as a, H as o, I as s, J as c, K as l, L as u, Pt as d, Q as f, U as p, V as m, W as h, _ as g, a as _, at as v, c as y, d as b, f as x, h as S, it as C, k as w, l as T, lt as E, m as D, n as O, ot as k, p as A, s as j, t as ee, v as M, y as te, z as ne } from "./i18n-DLy_nvsn.js";
|
|
12
|
+
import { s as re } from "./efp-debug-init-C1vzXVRH.js";
|
|
13
|
+
import { t as ie } from "./react-BOOk-FbS.js";
|
|
14
|
+
import { t as ae } from "./jsx-runtime-Y_VUlz4y.js";
|
|
15
|
+
import { n as oe, r as N, t as se } from "./loadImage-ulwASCLQ.js";
|
|
16
|
+
import { t as ce } from "./is-webview-BVXu9jQP.js";
|
|
17
|
+
import { t as le } from "./classnames-k2ThxA-q.js";
|
|
18
|
+
import { t as ue } from "./Button-zq3iijlm.js";
|
|
19
19
|
//#region src/data/fp-payloads.ts
|
|
20
20
|
function de() {
|
|
21
21
|
let e = d().fpSvgJsRef;
|
|
@@ -4923,8 +4923,8 @@ function ao(e, t, n, r, i) {
|
|
|
4923
4923
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
4924
4924
|
}
|
|
4925
4925
|
var oo = (ro = D({ keepAlive: !0 }), io = class {
|
|
4926
|
-
constructor(
|
|
4927
|
-
this.
|
|
4926
|
+
constructor() {
|
|
4927
|
+
this.heatmapData = {}, this.forceTrack = null;
|
|
4928
4928
|
}
|
|
4929
4929
|
get minAndMaxClicks() {
|
|
4930
4930
|
let { booths: e = [], exhibitors: t = [], yah: n = [] } = this.heatmapData, r = [
|
|
@@ -4975,9 +4975,13 @@ var oo = (ro = D({ keepAlive: !0 }), io = class {
|
|
|
4975
4975
|
let { min: t, max: n } = this.minAndMaxClicks;
|
|
4976
4976
|
return no(e, t, n, P.heatmapColors);
|
|
4977
4977
|
}
|
|
4978
|
+
getHeatmapColorForBooth(e) {
|
|
4979
|
+
let t = this.getTotalClicksByBooth(e);
|
|
4980
|
+
return (0, pa.default)(this.getColorByClicks(t));
|
|
4981
|
+
}
|
|
4978
4982
|
}, ao(io.prototype, "minAndMaxClicks", [ro], Object.getOwnPropertyDescriptor(io.prototype, "minAndMaxClicks"), io.prototype), io), so = class {
|
|
4979
|
-
constructor() {
|
|
4980
|
-
this.id =
|
|
4983
|
+
constructor(e, t, n, r, i, a) {
|
|
4984
|
+
this.id = e, this.name = t, this.viewCount = n, this.x = r, this.y = i, this.z = a, this.entity = { type: "heatmap-yah" };
|
|
4981
4985
|
}
|
|
4982
4986
|
};
|
|
4983
4987
|
//#endregion
|
|
@@ -31200,21 +31204,30 @@ var sM = (eM = D({ keepAlive: !0 }), tM = D({ keepAlive: !0 }), nM = class exten
|
|
|
31200
31204
|
if (gW.layersLoaded) for (let e of this.booth.shapes) e.dim = this.booth.skipDim ? !1 : void 0, e.color && !e.unblinking && (e.color = (e.defaultColor ? this.getBoothPathColor(e.defaultColor) : this.getBoothColor()).string()), this.rendererService.update(e);
|
|
31201
31205
|
}
|
|
31202
31206
|
getBoothPathColor(e) {
|
|
31207
|
+
if (pW.heatmap) return this.getHeatmapColor();
|
|
31203
31208
|
let t = this.booth, n = (0, pa.default)(e).hsl();
|
|
31204
31209
|
if (t.selected) {
|
|
31205
31210
|
var r;
|
|
31206
31211
|
let e = P.colors.booths.selected;
|
|
31207
31212
|
if ((r = de().__fpSettings) != null && r.fpVer) {
|
|
31208
|
-
let t = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
31209
|
-
return
|
|
31213
|
+
let t = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), n = (0, pa.default)(t === "none" ? e : t);
|
|
31214
|
+
return pW.monochrome ? n.grayscale() : n;
|
|
31210
31215
|
}
|
|
31211
31216
|
let t = (0, pa.default)(e).hsl(), i = t.lightness() * this.boothShape.selectBgAnimationPart;
|
|
31212
31217
|
n = n.hue(t.hue()).lightness(i);
|
|
31213
31218
|
} else t.hover && (n = n.darken(.1));
|
|
31214
|
-
return n;
|
|
31219
|
+
return pW.monochrome && (n = n.grayscale()), n;
|
|
31220
|
+
}
|
|
31221
|
+
getHeatmapColor() {
|
|
31222
|
+
let e = this.booth, t = $.heatmapStore.getHeatmapColorForBooth(e);
|
|
31223
|
+
if (e.selected) {
|
|
31224
|
+
let e = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
31225
|
+
return (0, pa.default)(e === "none" ? "#f33" : e);
|
|
31226
|
+
}
|
|
31227
|
+
return e.hover ? t.darken(.2).alpha(t.alpha() * 1.5) : t;
|
|
31215
31228
|
}
|
|
31216
31229
|
get defaultColor() {
|
|
31217
|
-
let e = this.booth, t;
|
|
31230
|
+
let e = this.booth, t = P.colors.booths.default;
|
|
31218
31231
|
if (e instanceof Hi) t = e.color || P.colors.booths.empty;
|
|
31219
31232
|
else if (e instanceof Vi) {
|
|
31220
31233
|
if (Br.isRebooking) {
|
|
@@ -31238,11 +31251,9 @@ var sM = (eM = D({ keepAlive: !0 }), tM = D({ keepAlive: !0 }), nM = class exten
|
|
|
31238
31251
|
return (0, $j.default)([P.colors.booths.seectedLight || ((0, pa.default)(this.booth.labelColor || P.boothLabelColor).isLight() ? "#000" : "#fff"), pW.selectedRoute ? P == null || (e = P.colors) == null || (e = e.booths) == null || (e = e.wayfinding) == null ? void 0 : e.selected : P == null || (t = P.colors) == null || (t = t.booths) == null ? void 0 : t.selected]);
|
|
31239
31252
|
}
|
|
31240
31253
|
getBoothColor() {
|
|
31241
|
-
let e = this.booth
|
|
31242
|
-
if (pW.heatmap)
|
|
31243
|
-
|
|
31244
|
-
return e.selected ? (t = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), (0, pa.default)(t === "none" ? "#f33" : t)) : e.hover ? r.darken(.2).alpha(r.alpha() * 1.5) : r;
|
|
31245
|
-
}
|
|
31254
|
+
let e = this.booth;
|
|
31255
|
+
if (pW.heatmap) return this.getHeatmapColor();
|
|
31256
|
+
let t;
|
|
31246
31257
|
t = e.error ? "#f33" : Br.isRebooking ? this.defaultColor : e.selected ? this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart) : this.defaultColor;
|
|
31247
31258
|
let n;
|
|
31248
31259
|
try {
|
|
@@ -31289,26 +31300,44 @@ function uM(e, t) {
|
|
|
31289
31300
|
var dM = class extends Qj {
|
|
31290
31301
|
constructor(e, t) {
|
|
31291
31302
|
super(t), this.shape = void 0;
|
|
31292
|
-
let n =
|
|
31303
|
+
let n = this.booth.rect, { x: r, y: i } = n.center, { width: a, height: o } = n.size, s = t.borderWidth || hW.borderWidth, c = [], l = (e, n, a, o) => {
|
|
31293
31304
|
var s;
|
|
31294
|
-
let
|
|
31305
|
+
let l = new Je({
|
|
31295
31306
|
x: e,
|
|
31296
31307
|
y: n
|
|
31297
31308
|
}, {
|
|
31298
|
-
x:
|
|
31309
|
+
x: a,
|
|
31299
31310
|
y: o
|
|
31300
31311
|
}).toPolygon();
|
|
31301
|
-
|
|
31302
|
-
x:
|
|
31303
|
-
y:
|
|
31312
|
+
c.push(l.rotate((s = t.rotate) == null ? 0 : s, {
|
|
31313
|
+
x: r,
|
|
31314
|
+
y: i
|
|
31304
31315
|
}));
|
|
31305
31316
|
};
|
|
31306
|
-
|
|
31307
|
-
let
|
|
31308
|
-
this.shape = rj(
|
|
31309
|
-
|
|
31317
|
+
l(r, i - o / 2, a + s, s), l(r, i + o / 2, a + s, s), l(r - a / 2, i, s, o + s), l(r + a / 2, i, s, o + s);
|
|
31318
|
+
let u = We.merge(...c), d = this.getBorderColor();
|
|
31319
|
+
this.shape = rj(u, d.string()), M(() => [
|
|
31320
|
+
this.booth.skipDim,
|
|
31321
|
+
gW.layersLoaded,
|
|
31322
|
+
this.booth.hover,
|
|
31323
|
+
this.booth.selected,
|
|
31324
|
+
pW.heatmap
|
|
31325
|
+
], () => {
|
|
31326
|
+
gW.layersLoaded && (this.shape.dim = this.booth.skipDim ? !1 : void 0, this.shape.color = this.getBorderColor().string(), e.update(this.shape));
|
|
31310
31327
|
});
|
|
31311
31328
|
}
|
|
31329
|
+
getBorderColor() {
|
|
31330
|
+
let e = this.booth;
|
|
31331
|
+
if (pW.heatmap) {
|
|
31332
|
+
let t = _W.getHeatmapColorForBooth(e);
|
|
31333
|
+
if (e.selected) {
|
|
31334
|
+
let e = P.colors.booths.selectedBorder;
|
|
31335
|
+
return e ? (0, pa.default)(e) : t.darken(.4);
|
|
31336
|
+
}
|
|
31337
|
+
return e.hover ? t.darken(.3) : t.darken(.2);
|
|
31338
|
+
}
|
|
31339
|
+
return (0, pa.default)((e.selected ? P.colors.booths.selectedBorder : e.borderColor) || P.colors.booths.default);
|
|
31340
|
+
}
|
|
31312
31341
|
getShape() {
|
|
31313
31342
|
return this.shape;
|
|
31314
31343
|
}
|
|
@@ -33935,7 +33964,7 @@ var nI = (QF = class {
|
|
|
33935
33964
|
}
|
|
33936
33965
|
async buildEngine() {
|
|
33937
33966
|
try {
|
|
33938
|
-
let { default: e } = await import("./fuse-
|
|
33967
|
+
let { default: e } = await import("./fuse-By8pE6hN.js").then((e) => e.n);
|
|
33939
33968
|
te(() => {
|
|
33940
33969
|
this.engine = new e([], {
|
|
33941
33970
|
keys: this.keys,
|
|
@@ -40962,7 +40991,7 @@ var fW = (Q = class {
|
|
|
40962
40991
|
this.resetCameraFn = e;
|
|
40963
40992
|
}
|
|
40964
40993
|
constructor() {
|
|
40965
|
-
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = void 0, this.routeStore = void 0, this.routePlannerStore = void 0, this.toursStore = void 0, this.maplibreStore = void 0, this.layerStore = void 0, this.intercomStore = void 0, this.eventStore = void 0, this.poiTypeStore = void 0, this.heatmapStore = void 0, this.fuzzySearchEngineStore = void 0, this.categoryFilterStore = void 0, this.sessionsFilterStore = void 0, this.speakerStore = void 0, this.speakerFilterStore = void 0, this.searchStore = void 0, this.searchButtonsStore = void 0, this.bookmarksStore = void 0, this.urlFilterManager = void 0, this.shortcutRegistry = void 0, this.rendererService = new kj(), this.fp = void 0, uW(this, "initialized", cW, this), uW(this, "resetCameraFn", lW, this), this.categoryStore = new Ta(this), this.exhibitorStore = new da(this), this.boothStore = new zi(this), this.routeStore = new mB(this), this.routePlannerStore = new NB(this), this.toursStore = new nH(this), this.uiState = new oW(this), this.maplibreStore = new CI(this), this.layerStore = new gN(), this.intercomStore = new cI(), this.eventStore = new Pa(this), this.heatmapStore = new oo(
|
|
40994
|
+
this.categoryStore = void 0, this.exhibitorStore = void 0, this.boothStore = void 0, this.uiState = void 0, this.routeStore = void 0, this.routePlannerStore = void 0, this.toursStore = void 0, this.maplibreStore = void 0, this.layerStore = void 0, this.intercomStore = void 0, this.eventStore = void 0, this.poiTypeStore = void 0, this.heatmapStore = void 0, this.fuzzySearchEngineStore = void 0, this.categoryFilterStore = void 0, this.sessionsFilterStore = void 0, this.speakerStore = void 0, this.speakerFilterStore = void 0, this.searchStore = void 0, this.searchButtonsStore = void 0, this.bookmarksStore = void 0, this.urlFilterManager = void 0, this.shortcutRegistry = void 0, this.rendererService = new kj(), this.fp = void 0, uW(this, "initialized", cW, this), uW(this, "resetCameraFn", lW, this), this.categoryStore = new Ta(this), this.exhibitorStore = new da(this), this.boothStore = new zi(this), this.routeStore = new mB(this), this.routePlannerStore = new NB(this), this.toursStore = new nH(this), this.uiState = new oW(this), this.maplibreStore = new CI(this), this.layerStore = new gN(), this.intercomStore = new cI(), this.eventStore = new Pa(this), this.heatmapStore = new oo(), this.poiTypeStore = new wI(this), this.fuzzySearchEngineStore = new nI([
|
|
40966
40995
|
"name",
|
|
40967
40996
|
"title",
|
|
40968
40997
|
"fullName",
|
|
@@ -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.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ebe8f804-597b-4b08-adc4-ca6b63645c83", e._sentryDebugIdIdentifier = "sentry-dbid-ebe8f804-597b-4b08-adc4-ca6b63645c83");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./jsx-runtime-
|
|
10
|
-
import { t } from "./settings-item-
|
|
11
|
-
import { t as n } from "./text-field-
|
|
9
|
+
import { t as e } from "./jsx-runtime-Y_VUlz4y.js";
|
|
10
|
+
import { t } from "./settings-item-DHeFy2lb.js";
|
|
11
|
+
import { t as n } from "./text-field-F5TXexZy.js";
|
|
12
12
|
//#region ../debug/src/lib/ui/string-editor.tsx
|
|
13
13
|
var r = e(), i = (e) => {
|
|
14
14
|
var i;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "651e1a3a-8897-47f8-8a5e-24137d6b0f0d", e._sentryDebugIdIdentifier = "sentry-dbid-651e1a3a-8897-47f8-8a5e-24137d6b0f0d");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./classnames-
|
|
12
|
-
import { D as r, i, l as a, n as o, s, u as c, y as l } from "./flex-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-rz90HVle.js";
|
|
10
|
+
import { t } from "./react-BOOk-FbS.js";
|
|
11
|
+
import { t as n } from "./classnames-k2ThxA-q.js";
|
|
12
|
+
import { D as r, i, l as a, n as o, s, u as c, y as l } from "./flex-CXlfxm2E.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
14
14
|
var u = /* @__PURE__ */ e(t()), d = /* @__PURE__ */ e(n()), f = {
|
|
15
15
|
size: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "864c18b1-0ffa-4523-9fe0-93bdf8a9090c", e._sentryDebugIdIdentifier = "sentry-dbid-864c18b1-0ffa-4523-9fe0-93bdf8a9090c");
|
|
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-rz90HVle.js";
|
|
10
|
+
import { t } from "./react-BOOk-FbS.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Y_VUlz4y.js";
|
|
12
|
+
import { t as r } from "./react-dom-D6kHIsPR.js";
|
|
13
|
+
import { t as i } from "./classnames-k2ThxA-q.js";
|
|
14
|
+
import { a, c as o, i as s, n as c, o as l, r as u, t as d } from "./dist-hAA1hJJn.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-CXlfxm2E.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.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "05a753ca-f6da-4c1e-acf5-eacf4d461db5", e._sentryDebugIdIdentifier = "sentry-dbid-05a753ca-f6da-4c1e-acf5-eacf4d461db5");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, i as n, s as r } from "./efp-debug-init-
|
|
11
|
-
import { a as i, o as a } from "./reset-all-settings
|
|
12
|
-
import { t as o } from "./jsx-runtime-
|
|
13
|
-
import "./settings-
|
|
14
|
-
import { t as s } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-rz90HVle.js";
|
|
10
|
+
import { a as t, i as n, s as r } from "./efp-debug-init-C1vzXVRH.js";
|
|
11
|
+
import { a as i, o as a } from "./reset-all-settings-BhTY8Yy_.js";
|
|
12
|
+
import { t as o } from "./jsx-runtime-Y_VUlz4y.js";
|
|
13
|
+
import "./settings-CWujo8MY.js";
|
|
14
|
+
import { t as s } from "./add-debug-secret-listener-BvRmUFV2.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var c = /* @__PURE__ */ e(r(), 1), l = o(), u = !1;
|
|
17
17
|
function d() {
|
|
@@ -26,7 +26,7 @@ function d() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let o = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-CrzH3R9z.js"), { createRoot: i } = await import("./client-DKa6p0uc.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, l.jsx)(n, {
|
|
31
31
|
useDebugButtonState: r.useState,
|
|
32
32
|
open: t
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.12.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.12.3" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "33455732-e070-4a3b-bdf3-a25a1f54c994", e._sentryDebugIdIdentifier = "sentry-dbid-33455732-e070-4a3b-bdf3-a25a1f54c994");
|
|
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-rz90HVle.js";
|
|
10
|
+
import { t } from "./react-BOOk-FbS.js";
|
|
11
|
+
import { c as n } from "./store-CPfIG9UN.js";
|
|
12
12
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function i(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ColorInput, ShapeDef } from '@expofp/renderer';
|
|
2
2
|
import Color from 'color';
|
|
3
|
-
import { ShapeBgDef } from '../../../../types/drawing.types';
|
|
4
3
|
import { RendererService } from '../../../../renderer';
|
|
5
4
|
import { PathInfo } from '../../../../renderer/engine-core/types';
|
|
6
5
|
import { Booth } from '../../../../store/BoothStore';
|
|
6
|
+
import { ShapeBgDef } from '../../../../types/drawing.types';
|
|
7
7
|
import { BoothDrawerBaseWithoutPainter } from './BoothDrawerBase';
|
|
8
8
|
export default function configBoothBg(rendererService: RendererService, booth: Booth): BoothBgDrawer;
|
|
9
9
|
export declare function pathToShapeDef(paths: PathInfo[], layer: string): ShapeDef[];
|
|
@@ -13,6 +13,7 @@ declare class BoothBgDrawer extends BoothDrawerBaseWithoutPainter {
|
|
|
13
13
|
getShape(): ShapeBgDef[];
|
|
14
14
|
update(): void;
|
|
15
15
|
getBoothPathColor(defaultColor: ColorInput): Color<string>;
|
|
16
|
+
private getHeatmapColor;
|
|
16
17
|
get defaultColor(): string;
|
|
17
18
|
get selectedColorInterpolateFunc(): (index: number) => string;
|
|
18
19
|
getBoothColor(): Color<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as g,__runInitializers as
|
|
1
|
+
import{__esDecorate as g,__runInitializers as v}from"tslib";import{Rect as _}from"@expofp/geometry";import i from"color";import D from"color-interpolate";import{computed as b,reaction as C}from"mobx";import u from"../../../../data";import{getFpSvgJs as I}from"../../../../data/fp-payloads";import{createShapeDef as x}from"../../../../renderer";import S,{boothStore as F,layersStore as y,uiState as c}from"../../../../store";import{RegularBooth as P,SpecialBooth as w}from"../../../../store/BoothStore";import{RebookingState as L}from"../../../../store/ExhibitorStore";import{LayersMode as A}from"../../../../store/LayerStore";import{rebookingStateConfig as B}from"../../../../tools/rebooking-config";import a from"../../../../tools/settings";import{BoothDrawerBaseWithoutPainter as R}from"./BoothDrawerBase";import{buildPathDef as H}from"./config-bg";export default function W(s,l){return new j(s,l)}function z(s){if(s.length===0)return null;const l=s[0];return s.every(n=>n===l)?l:null}export function pathToShapeDef(s,l){const f=[];for(const n of s){const d=H({index:n.index,color:n.color,unblinking:n.unblinking},l);d&&f.push(d)}return f}let j=(()=>{let s=R,l=[],f,n;return class extends s{static{const o=typeof Symbol=="function"&&Symbol.metadata?Object.create(s[Symbol.metadata]??null):void 0;f=[b({keepAlive:!0})],n=[b({keepAlive:!0})],g(this,null,f,{kind:"getter",name:"defaultColor",static:!1,private:!1,access:{has:e=>"defaultColor"in e,get:e=>e.defaultColor},metadata:o},null,l),g(this,null,n,{kind:"getter",name:"selectedColorInterpolateFunc",static:!1,private:!1,access:{has:e=>"selectedColorInterpolateFunc"in e,get:e=>e.selectedColorInterpolateFunc},metadata:o},null,l),o&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})}rendererService=v(this,l);constructor(o,e){if(super(e),this.rendererService=o,e.paths){const t=pathToShapeDef(e.paths,S.layerStore.mode!==A.Default?e.layer.name:"");e.shapes=t.map(r=>{const h=c.monochrome?i(r.color).grayscale().rgb().string():this.getBoothColor().string();return r.color==="transparent"?r.color=h:r.defaultColor=r.color,r})}else{const t=e.borderColor==="none"?0:isNaN(e.borderWidth)?F.borderWidth:e.borderWidth,r=this.booth.rect.expand(-t/2),h=this.getBoothColor().string();e.shapes=[x(new _(r.center,r.size,this.booth.rotate),h)]}C(()=>this.booth.hover,()=>!this.booth.selected&&this.update()),C(()=>[y.layersLoaded,this.booth.skipDim,this.booth.selected,this.boothShape.selectBgAnimationPart],()=>this.update())}getShape(){return this.booth.shapes}update(){if(y.layersLoaded)for(const o of this.booth.shapes){if(o.dim=this.booth.skipDim?!1:void 0,o.color&&!o.unblinking){const e=o.defaultColor?this.getBoothPathColor(o.defaultColor):this.getBoothColor();o.color=e.string()}this.rendererService.update(o)}}getBoothPathColor(o){if(c.heatmap)return this.getHeatmapColor();const e=this.booth;let t=i(o).hsl();if(e.selected){const r=a.colors.booths.selected;if(I().__fpSettings?.fpVer){const p=this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart),m=i(p==="none"?r:p);return c.monochrome?m.grayscale():m}const h=i(r).hsl(),k=h.lightness()*this.boothShape.selectBgAnimationPart;t=t.hue(h.hue()).lightness(k)}else e.hover&&(t=t.darken(.1));return c.monochrome&&(t=t.grayscale()),t}getHeatmapColor(){const o=this.booth,e=S.heatmapStore.getHeatmapColorForBooth(o);if(o.selected){const t=this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);return i(t==="none"?"#f33":t)}return o.hover?e.darken(.2).alpha(e.alpha()*1.5):e}get defaultColor(){const o=this.booth;let e=a.colors.booths.default;if(o instanceof w)e=o.color||a.colors.booths.empty;else if(o instanceof P){if(u.isRebooking){if(!o.exhibitors?.length)return B[L.Unasked].color.primary;const r=z((o.exhibitors??[]).map(h=>h.rebookingState));return r!==null?B[r].color.primary:"#000000"}const t=a.colors.booths;o.onHold?e=o.holdColor||t.defaultHold:o.exhibitors.length||o.reserved?e=o.soldColor||t.defaultSold:e=o.availColor||t.empty}try{e==="none"&&(e=a.colors.booths.default),i(e)}catch(t){e=a.colors.booths.default,console.error("Booth: defaultColor",t)}return e}get selectedColorInterpolateFunc(){const o=a.colors.booths.seectedLight||(i(this.booth.labelColor||a.boothLabelColor).isLight()?"#000":"#fff"),e=c.selectedRoute?a?.colors?.booths?.wayfinding?.selected:a?.colors?.booths?.selected;return D([o,e])}getBoothColor(){const o=this.booth;if(c.heatmap)return this.getHeatmapColor();let e;o.error?e="#f33":u.isRebooking?e=this.defaultColor:o.selected?e=this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart):e=this.defaultColor;let t;try{t=i(e==="none"?"#f33":e)}catch{t=i(this.defaultColor)}return(o.hover&&!o.selected||o.selected&&u.isRebooking)&&(t=t.darken(.2).alpha(t.alpha()*1.5)),(c.monochrome||c.heatmapYah)&&(t=t.grayscale()),t}}})();
|
|
@@ -6,6 +6,7 @@ export default function configBoothBorder(rendererService: RendererService, boot
|
|
|
6
6
|
declare class BoothBorderDrawer extends BoothDrawerBaseWithoutPainter {
|
|
7
7
|
protected readonly shape: ShapeDef;
|
|
8
8
|
constructor(rendererService: RendererService, booth: Booth);
|
|
9
|
+
private getBorderColor;
|
|
9
10
|
getShape(): ShapeDef;
|
|
10
11
|
}
|
|
11
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Polygon as
|
|
1
|
+
import{Polygon as S,Rect as W}from"@expofp/geometry";import p from"color";import{reaction as k}from"mobx";import{createShapeDef as D}from"../../../../renderer";import{boothStore as m,layersStore as f,uiState as u,heatmapStore as P}from"../../../../store";import a from"../../../../tools/settings";import{BoothDrawerBaseWithoutPainter as L}from"./BoothDrawerBase";export default function v(c,o){if(a.EXPO!=="confex20"&&!(o.poiType||o.borderColor==="none"||o.borderWidth===0&&!m.borderWidth||o.paths&&!o.pathsWithRect))return new R(c,o)}class R extends L{shape;constructor(o,s){super(s);const t=this.booth.rect,{x:e,y:i}=t.center,{width:h,height:n}=t.size,r=s.borderWidth||m.borderWidth,l=[],d=(B,b,C,x)=>{const w=new W({x:B,y:b},{x:C,y:x}).toPolygon();l.push(w.rotate(s.rotate??0,{x:e,y:i}))};d(e,i-n/2,h+r,r),d(e,i+n/2,h+r,r),d(e-h/2,i,r,n+r),d(e+h/2,i,r,n+r);const g=S.merge(...l),y=this.getBorderColor();this.shape=D(g,y.string()),k(()=>[this.booth.skipDim,f.layersLoaded,this.booth.hover,this.booth.selected,u.heatmap],()=>{f.layersLoaded&&(this.shape.dim=this.booth.skipDim?!1:void 0,this.shape.color=this.getBorderColor().string(),o.update(this.shape))})}getBorderColor(){const o=this.booth;if(u.heatmap){const t=P.getHeatmapColorForBooth(o);if(o.selected){const e=a.colors.booths.selectedBorder;return e?p(e):t.darken(.4)}return o.hover?t.darken(.3):t.darken(.2)}const s=o.selected?a.colors.booths.selectedBorder:o.borderColor;return p(s||a.colors.booths.default)}getShape(){return this.shape}}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
+
import Color from 'color';
|
|
1
2
|
import { type GaEventActions } from '../tools/gtag';
|
|
2
3
|
import { BoothBase } from './BoothStore';
|
|
3
|
-
import type RootStore from './RootStore';
|
|
4
4
|
import { type ListItem } from './types';
|
|
5
5
|
export default class HeatmapStore {
|
|
6
|
-
private readonly rootStore;
|
|
7
6
|
heatmapData: HeatmapData;
|
|
8
|
-
constructor(rootStore: RootStore);
|
|
9
7
|
forceTrack: {
|
|
10
8
|
action: GaEventActions;
|
|
11
9
|
label: string;
|
|
@@ -18,6 +16,7 @@ export default class HeatmapStore {
|
|
|
18
16
|
getClicksByItem(item: ListItem | BoothBase): number;
|
|
19
17
|
getTotalClicksByBooth(b: BoothBase): number;
|
|
20
18
|
getColorByClicks(clicks: number): string;
|
|
19
|
+
getHeatmapColorForBooth(booth: BoothBase): Color<string>;
|
|
21
20
|
}
|
|
22
21
|
export interface HeatmapData {
|
|
23
22
|
booths?: HeatmapItem[];
|
|
@@ -30,10 +29,11 @@ export declare class HeatmapYah {
|
|
|
30
29
|
readonly viewCount: number;
|
|
31
30
|
readonly x: number;
|
|
32
31
|
readonly y: number;
|
|
33
|
-
readonly z?: number | string;
|
|
32
|
+
readonly z?: number | string | undefined;
|
|
34
33
|
readonly entity: {
|
|
35
34
|
readonly type: "heatmap-yah";
|
|
36
35
|
};
|
|
36
|
+
constructor(id: number | string, name: string, viewCount: number, x: number, y: number, z?: number | string | undefined);
|
|
37
37
|
}
|
|
38
38
|
export interface HeatmapItem {
|
|
39
39
|
id: number | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as
|
|
1
|
+
import{__esDecorate as C,__runInitializers as p}from"tslib";import{computed as d}from"mobx";import y from"color";import k from"../tools/settings";import{getColorFromGradient as x}from"../utils/color-gradient";import{BoothBase as g}from"./BoothStore";import{Category as v}from"./CategoryStore";import{EventItem as B}from"./EventStore";import{Exhibitor as c}from"./ExhibitorStore";let b=(()=>{let s=[],r;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;r=[d({keepAlive:!0})],C(this,null,r,{kind:"getter",name:"minAndMaxClicks",static:!1,private:!1,access:{has:e=>"minAndMaxClicks"in e,get:e=>e.minAndMaxClicks},metadata:t},null,s),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}heatmapData=(p(this,s),{});forceTrack=null;get minAndMaxClicks(){const{booths:t=[],exhibitors:e=[],yah:i=[]}=this.heatmapData,o=[...t,...e,...i];if(o.length===0)return{min:0,max:0};const h=l=>l.reduce((n,a)=>(a.viewCount>n.max&&(n.max=a.viewCount),a.viewCount<n.min&&(n.min=a.viewCount),n),{min:l[0].viewCount,max:l[0].viewCount}),{min:u,max:f}=h(o);return{min:u,max:f}}getClicksByType(t){return t instanceof v?-1:t instanceof c?this.getClicksByItem(t):t instanceof HeatmapYah?this.getClicksByItem(t):t instanceof B?0:this.getClicksByItem(t)}getClicksByItem(t){return t instanceof c?this.heatmapData?.exhibitors?.find(e=>e.id===t.id)?.viewCount||0:t instanceof g?this.heatmapData?.booths?.find(e=>e.id===t.id)?.viewCount||0:t instanceof HeatmapYah&&this.heatmapData?.yah?.find(e=>e.id===t.id)?.viewCount||0}getTotalClicksByBooth(t){let e=this.getClicksByItem(t);for(const i of t.exhibitors){const o=this.getClicksByItem(i);e+=o}return e}getColorByClicks(t){const{min:e,max:i}=this.minAndMaxClicks;return x(t,e,i,k.heatmapColors)}getHeatmapColorForBooth(t){const e=this.getTotalClicksByBooth(t);return y(this.getColorByClicks(e))}}})();export default b;export class HeatmapYah{id;name;viewCount;x;y;z;entity={type:"heatmap-yah"};constructor(r,m,t,e,i,o){this.id=r,this.name=m,this.viewCount=t,this.x=e,this.y=i,this.z=o}}
|