@expofp/floorplan 3.0.0-alpha.14 → 3.0.0-alpha.15
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/Debug-Bn7mmuWl.js +40 -0
- package/dist/browser/Demo-pwpeopeB.js +47 -0
- package/dist/browser/{Free-Dm2FRajw.js → Free-CeZSHheC.js} +29 -20
- package/dist/browser/Gallery-BTasOfWx.js +288 -0
- package/dist/browser/GpsLoader-BS8b-Aif.js +140 -0
- package/dist/browser/{KioskStore-Bvvm0aNQ.js → KioskStore-_Zcv0Bc0.js} +57 -48
- package/dist/browser/Mapbox-Cl59-8BN.js +118 -0
- package/dist/browser/{SetKioskMode-BecTBVRp.js → SetKioskMode-CjjAW8SI.js} +66 -57
- package/dist/browser/{ShowKiosk-C-6DHz7T.js → ShowKiosk-DUcthTIK.js} +28 -19
- package/dist/browser/{ThreeComponent-Brnrh22I.js → ThreeComponent-CdelmApV.js} +181 -172
- package/dist/browser/boolean-editor-HetrPeeC.js +157 -0
- package/dist/browser/bundle.json +29 -29
- package/dist/browser/{client-D3Op9Jdd.js → client-BMgLu7eB.js} +590 -581
- package/dist/browser/{data-0pZ-ZMEi.js → data-eO9H1gMa.js} +276 -267
- package/dist/browser/{debug-overlay-6c_tWF4O.js → debug-overlay-DqIeCuHo.js} +98 -89
- package/dist/browser/debug-ui-6t_iunMd.js +67 -0
- package/dist/browser/{favicon-DalyEhbd.js → favicon-CoF9H4Pb.js} +11 -2
- package/dist/browser/fetch-retry.umd-GcX1W9qV.js +123 -0
- package/dist/browser/{flex-OW_m-DBA.js → flex-BC_JSvaB.js} +80 -71
- package/dist/browser/{floorplan.ready-D-VQ-QvS.js → floorplan.ready-CZn5dvsU.js} +1011 -987
- package/dist/browser/index-C1Rwmp91.js +54 -0
- package/dist/browser/{index-BuJlIIdP.js → index-CEVUHq8g.js} +96 -87
- package/dist/browser/{index-BUq8_R36.js → index-Dba8EyWF.js} +41 -32
- package/dist/browser/{index-Zz9lJz5_.js → index-DnV82MKb.js} +296 -287
- package/dist/browser/index-Dp-WygGH.js +57 -0
- package/dist/browser/index-sNwIhVDZ.js +92 -0
- package/dist/browser/{index-AJbTBu7z.js → index-uGr-_9rk.js} +258 -249
- package/dist/browser/index.js +11 -2
- package/dist/browser/jsx-runtime-BHfPvO9I.js +40 -0
- package/dist/browser/{main-CD9JioNt.js → main-DYasSc7U.js} +24 -15
- package/dist/browser/{particles.min-BZTb0pvb.js → particles.min-B6O6_M_h.js} +43 -34
- package/package.json +4 -3
- package/dist/browser/Debug-Pul6-ZdY.js +0 -31
- package/dist/browser/Demo-DN_Ej-P_.js +0 -38
- package/dist/browser/Gallery-TLr-wfCG.js +0 -279
- package/dist/browser/GpsLoader-CeS0cp98.js +0 -131
- package/dist/browser/Mapbox-DizBJSb0.js +0 -109
- package/dist/browser/boolean-editor-Duwgypgb.js +0 -148
- package/dist/browser/debug-ui-TGRI1j4k.js +0 -58
- package/dist/browser/fetch-retry.umd-BZ52tMyv.js +0 -114
- package/dist/browser/index-B2YV6GNs.js +0 -48
- package/dist/browser/index-D0SjrKD-.js +0 -45
- package/dist/browser/index-Vc2rrV4B.js +0 -83
- package/dist/browser/jsx-runtime-jIxVPx5o.js +0 -31
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { j as c } from "./jsx-runtime-BHfPvO9I.js";
|
|
2
|
+
import { r as b } from "./index-sNwIhVDZ.js";
|
|
3
|
+
import "./index-DnV82MKb.js";
|
|
4
|
+
(function() {
|
|
5
|
+
try {
|
|
6
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
7
|
+
e.SENTRY_RELEASE = { id: "3.0.0-alpha.15" };
|
|
8
|
+
var t = new e.Error().stack;
|
|
9
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5290266d-c85d-45cf-b490-50a1afe61fd0", e._sentryDebugIdIdentifier = "sentry-dbid-5290266d-c85d-45cf-b490-50a1afe61fd0");
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const a = "dbg123", r = [];
|
|
14
|
+
let d = !1, i = null;
|
|
15
|
+
function g(e) {
|
|
16
|
+
if (r.push(e), !d) {
|
|
17
|
+
let t = function(o) {
|
|
18
|
+
o.ctrlKey || o.metaKey || o.altKey || o.key.length === 1 && (n += o.key.toLowerCase(), n = n.slice(-a.length), n === a && (n = "", r.forEach((s) => s())));
|
|
19
|
+
};
|
|
20
|
+
d = !0;
|
|
21
|
+
let n = "";
|
|
22
|
+
i = t, document.addEventListener("keydown", t);
|
|
23
|
+
}
|
|
24
|
+
return () => {
|
|
25
|
+
const t = r.indexOf(e);
|
|
26
|
+
t !== -1 && r.splice(t, 1), r.length === 0 && i && (document.removeEventListener("keydown", i), i = null, d = !1);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
let l = !1;
|
|
30
|
+
function y() {
|
|
31
|
+
if (l)
|
|
32
|
+
return;
|
|
33
|
+
l = !0;
|
|
34
|
+
const e = b("Show Debug Button Overlay"), t = async (n) => {
|
|
35
|
+
const {
|
|
36
|
+
DebugUi: o
|
|
37
|
+
} = await import("./debug-ui-6t_iunMd.js"), {
|
|
38
|
+
createRoot: s
|
|
39
|
+
} = await import("./client-BMgLu7eB.js").then((f) => f.c), u = document.createElement("div");
|
|
40
|
+
document.body.appendChild(u), s(u).render(/* @__PURE__ */ c.jsx(o, { useDebugButtonState: e.useState, open: n }));
|
|
41
|
+
};
|
|
42
|
+
if (e.get())
|
|
43
|
+
t(!1);
|
|
44
|
+
else {
|
|
45
|
+
const n = g(() => {
|
|
46
|
+
n(), e.set(!0), t(!0);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
51
|
+
__proto__: null,
|
|
52
|
+
renderDebugUi: y
|
|
53
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
54
|
+
export {
|
|
55
|
+
g as a,
|
|
56
|
+
w as i
|
|
57
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { r as b, o as L } from "./index-DnV82MKb.js";
|
|
2
|
+
import { j as _ } from "./jsx-runtime-BHfPvO9I.js";
|
|
3
|
+
(function() {
|
|
4
|
+
try {
|
|
5
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
6
|
+
e.SENTRY_RELEASE = { id: "3.0.0-alpha.15" };
|
|
7
|
+
var t = new e.Error().stack;
|
|
8
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4d7f466b-bb9f-4cb6-a96a-4ff77a154a2f", e._sentryDebugIdIdentifier = "sentry-dbid-4d7f466b-bb9f-4cb6-a96a-4ff77a154a2f");
|
|
9
|
+
} catch {
|
|
10
|
+
}
|
|
11
|
+
})();
|
|
12
|
+
let E = !1;
|
|
13
|
+
function I() {
|
|
14
|
+
E || (E = !0, !(typeof window > "u" && typeof document > "u") && import("./index-Dp-WygGH.js").then((e) => e.i).then(({
|
|
15
|
+
renderDebugUi: e
|
|
16
|
+
}) => {
|
|
17
|
+
e();
|
|
18
|
+
}).catch(() => {
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
const x = [], w = [], d = "efp-local-storage";
|
|
22
|
+
function h(e, t, r, v) {
|
|
23
|
+
const n = `efp-debug-setting-"${e}"`, s = () => D(localStorage.getItem(n), t), u = (o) => {
|
|
24
|
+
localStorage.setItem(n, JSON.stringify(o)), m(n);
|
|
25
|
+
}, c = () => {
|
|
26
|
+
localStorage.removeItem(n), m(n);
|
|
27
|
+
};
|
|
28
|
+
w.push(c);
|
|
29
|
+
function l() {
|
|
30
|
+
const [o, a] = b.useState(s());
|
|
31
|
+
return b.useEffect(() => {
|
|
32
|
+
const p = () => a(s()), y = (i) => {
|
|
33
|
+
i.key === n && p();
|
|
34
|
+
}, S = (i) => {
|
|
35
|
+
const {
|
|
36
|
+
detail: f
|
|
37
|
+
} = i;
|
|
38
|
+
(f == null ? void 0 : f.key) === n && p();
|
|
39
|
+
};
|
|
40
|
+
return window.addEventListener("storage", y), window.addEventListener(d, S), () => {
|
|
41
|
+
window.removeEventListener("storage", y), window.removeEventListener(d, S);
|
|
42
|
+
};
|
|
43
|
+
}, []), [o, u];
|
|
44
|
+
}
|
|
45
|
+
const g = () => {
|
|
46
|
+
const [o, a] = l();
|
|
47
|
+
return /* @__PURE__ */ _.jsx(r, { label: e, value: o, context: v, onChange: a });
|
|
48
|
+
};
|
|
49
|
+
return g.displayName = `DebugSetting(${e})`, x.push(g), {
|
|
50
|
+
get: s,
|
|
51
|
+
set: u,
|
|
52
|
+
reset: c,
|
|
53
|
+
useState: l
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function D(e, t) {
|
|
57
|
+
if (e === null) return t;
|
|
58
|
+
try {
|
|
59
|
+
return JSON.parse(e);
|
|
60
|
+
} catch {
|
|
61
|
+
return t;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function m(e) {
|
|
65
|
+
window.dispatchEvent(new CustomEvent(d, {
|
|
66
|
+
detail: {
|
|
67
|
+
key: e
|
|
68
|
+
}
|
|
69
|
+
}));
|
|
70
|
+
}
|
|
71
|
+
function O(e) {
|
|
72
|
+
const t = L.lazy(() => import("./boolean-editor-HetrPeeC.js").then((r) => ({
|
|
73
|
+
default: r.BooleanEditor
|
|
74
|
+
})));
|
|
75
|
+
return h(e, !1, t);
|
|
76
|
+
}
|
|
77
|
+
function T() {
|
|
78
|
+
w.forEach((e) => e());
|
|
79
|
+
}
|
|
80
|
+
const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81
|
+
__proto__: null,
|
|
82
|
+
initDebug: I,
|
|
83
|
+
registerBooleanSetting: O,
|
|
84
|
+
registerSetting: h,
|
|
85
|
+
resetAllSettings: T
|
|
86
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
87
|
+
export {
|
|
88
|
+
T as a,
|
|
89
|
+
x as e,
|
|
90
|
+
z as i,
|
|
91
|
+
O as r
|
|
92
|
+
};
|