@expofp/floorplan 3.1.8 → 3.1.10
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-BWIz5A9p.js → CookieConsent-a87H4eyO.js} +353 -353
- package/dist/browser/{Debug-Dc-CpIuW.js → Debug-DfGh4_QN.js} +13 -13
- package/dist/browser/{Demo-C-gDoJHz.js → Demo-BIgIFx9e.js} +13 -13
- package/dist/browser/{Free-B_Nc0lBV.js → Free-DbdK3j8V.js} +15 -15
- package/dist/browser/{Gallery-NW3tpm3U.js → Gallery-BUX5_QPS.js} +59 -59
- package/dist/browser/{GpsLoader-BgtxLTgL.js → GpsLoader-BAvg4bWZ.js} +35 -35
- package/dist/browser/{KioskStore-O9lcbMgO.js → KioskStore-D3Kv90me.js} +4 -4
- package/dist/browser/{Mapbox-n8XdO_JZ.js → Mapbox-C8_3DKUv.js} +9 -9
- package/dist/browser/{SetKioskMode-BSrhzr-T.js → SetKioskMode-D1hL_tNu.js} +8 -8
- package/dist/browser/{ShowKiosk-ChdkT29W.js → ShowKiosk-Oz_Er2Hp.js} +10 -10
- package/dist/browser/{ThreeComponent-C9NgJy3L.js → ThreeComponent-DEeXwEr_.js} +16 -16
- package/dist/browser/{TouchHand-j9wM9VIW.js → TouchHand-CABdIRBU.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-B-eQvgxu.js → ViewerMenuPanel-BqpETBnQ.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-hyBkCStK.js → add-debug-secret-listener-DO7UiI9_.js} +1 -1
- package/dist/browser/boolean-editor-BmuDSLi6.js +158 -0
- package/dist/browser/{bootIntercom-CWJHIFsy.js → bootIntercom-CAMX7-bk.js} +1 -1
- package/dist/browser/browser-CdveV-Ch.js +198 -0
- package/dist/browser/bundle.json +62 -44
- package/dist/browser/{classnames-CV7GydgO.js → classnames-os-gPzrW.js} +3 -3
- package/dist/browser/{client-CW46IlZK.js → client-0ALI_KV4.js} +5 -5
- package/dist/browser/{data-BFFP23Yx.js → data-BjwxGiCn.js} +4 -4
- package/dist/browser/debug-namespaces-editor-KA5P5hW5.js +119 -0
- package/dist/browser/{debug-overlay-DK1IpDkH.js → debug-overlay-DeravwkZ.js} +1468 -1264
- package/dist/browser/{debug-ui-Bk_cgOg0.js → debug-ui-DO-qpxn5.js} +7 -7
- package/dist/browser/{dist-msXGDyJE.js → dist-y0f__WrL.js} +7 -7
- package/dist/browser/efp-debug-init-sGfP4q4G.js +41 -0
- package/dist/browser/{exports-CWJfbRRi.js → exports-eFca0lYR.js} +1 -1
- package/dist/browser/{favicon-Dx5hE2TC.js → favicon-CPsQUKVl.js} +1 -1
- package/dist/browser/{fetch-retry.umd--f_V0nbP.js → fetch-retry.umd-BAWDjKCA.js} +3 -3
- package/dist/browser/flex-ZLci6ROH.js +217 -0
- package/dist/browser/{flex-DayQlZNC.js → flex.props-25tq8dKa.js} +165 -368
- package/dist/browser/{floorplan.loader-ChwMFO3K.js → floorplan.loader-DIvwiYMb.js} +643 -643
- package/dist/browser/{floorplan.ready-DH6TL_BA.js → floorplan.ready-CKD9LSug.js} +214 -213
- package/dist/browser/{fuse-Cx2xVr92.js → fuse-BLrCecKQ.js} +3 -3
- package/dist/browser/index.html +0 -2
- package/dist/browser/index.js +14 -12
- package/dist/browser/{is-debug-DeMC2fj6.js → is-debug-DCLUqHh8.js} +654 -838
- package/dist/browser/{jsx-runtime-CeW-_L98.js → jsx-runtime-DlYXaiXZ.js} +3 -3
- package/dist/browser/{lib-ouUEfatK.js → lib-BDxYYOIt.js} +5 -5
- package/dist/browser/{main-C8DYHeS3.js → main-Dk9WLOfs.js} +1 -1
- package/dist/browser/mobx-Crec_zrD.js +24 -0
- package/dist/browser/{particles.min-CuOEuyDw.js → particles.min-CJwjn4Ff.js} +3 -3
- package/dist/browser/{prop-types-CkH4l5ny.js → prop-types-Dqb4sQlT.js} +3 -3
- package/dist/browser/{react-_GkslNER.js → react-DT3DrOuh.js} +3 -3
- package/dist/browser/{react-dom-Cq9do5W9.js → react-dom-DaXpOIBA.js} +4 -4
- package/dist/browser/register-debug-namespaces-setting-CDUqQrwu.js +27 -0
- package/dist/browser/reset-all-settings-BGD6O0Yi.js +15 -0
- package/dist/browser/{chunk-CmzsSKsP.js → rolldown-runtime-BDoRuuto.js} +1 -1
- package/dist/browser/{reset-all-settings-hgrZphbe.js → setting-registry-fKTgQ5tb.js} +3 -8
- package/dist/browser/{settings-BIMaTEyo.js → settings-BESfpH6w.js} +15 -14
- package/dist/browser/settings-item-CxX99BiC.js +67 -0
- package/dist/browser/{store-B0ML_owv.js → store-Ca0tjo_1.js} +5290 -5289
- package/dist/browser/ui-RnHaY1Kz.js +36 -0
- package/dist/esm/_misc_to_move/logBuildInfo.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/load.js +1 -1
- package/package.json +3 -3
- package/dist/browser/boolean-editor-CtepaQAf.js +0 -206
- package/dist/browser/mobx-BTzRLiLH.js +0 -24
- package/dist/browser/src-BGoCtwZn.js +0 -19
- package/dist/browser/ui-vdOqnu50.js +0 -33
- package/dist/esm/_misc_to_move/logBuildInfoImpl.d.ts +0 -2
- package/dist/esm/_misc_to_move/logBuildInfoImpl.js +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.10" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fd17e3f8-b126-4e1e-a40d-dded8b2f2845", e._sentryDebugIdIdentifier = "sentry-dbid-fd17e3f8-b126-4e1e-a40d-dded8b2f2845");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BDoRuuto.js";
|
|
10
|
+
import { t } from "./jsx-runtime-DlYXaiXZ.js";
|
|
11
|
+
import { t as n } from "./settings-BESfpH6w.js";
|
|
12
|
+
import { i as r } from "./register-debug-namespaces-setting-CDUqQrwu.js";
|
|
13
|
+
import { t as i } from "./add-debug-secret-listener-DO7UiI9_.js";
|
|
14
|
+
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
15
|
+
var a = t(), o = !1;
|
|
16
|
+
function s() {
|
|
17
|
+
if (o) return;
|
|
18
|
+
o = !0;
|
|
19
|
+
let t = n("Show Debug Button Overlay");
|
|
20
|
+
r();
|
|
21
|
+
let s = async (n) => {
|
|
22
|
+
let { DebugUi: r } = await import("./debug-ui-DO-qpxn5.js"), { createRoot: i } = await import("./client-0ALI_KV4.js").then((t) => /* @__PURE__ */ e(t.default, 1)), o = document.createElement("div");
|
|
23
|
+
document.body.appendChild(o), i(o).render(/* @__PURE__ */ (0, a.jsx)(r, {
|
|
24
|
+
useDebugButtonState: t.useState,
|
|
25
|
+
open: n
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
if (t.get()) s(!1);
|
|
29
|
+
else {
|
|
30
|
+
let e = i(() => {
|
|
31
|
+
e(), t.set(!0), s(!0);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { s as renderDebugUi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function logBuildInfo(){
|
|
1
|
+
export function logBuildInfo(){const o=__BUILD_INFO__;if(o){const e=new Date(o.built);console.info("%c\u26A1\uFE0F[efp-runtime]%c v%c%s%c commit=%c%s%c branch=%c%s%c built=%c%s%c (%s)","color:#2382f4;font-weight:600","color:inherit","color:#dcdcaa;font-weight:600",o.version,"color:inherit","color:#9cdcfe",o.commit,"color:inherit","color:#ce9178",o.branch,"color:inherit","color:#b5cea8",o.built,"color:inherit",s(e))}}function s(o){const c=new Date().getTime()-o.getTime(),i=Math.floor(c/(1e3*60*60*24)),n=Math.floor(c/(1e3*60*60)%24),r=Math.floor(c/(1e3*60)%60),t=[];return i>0&&t.push(`${i} day${i!==1?"s":""}`),n>0&&t.push(`${n} hour${n!==1?"s":""}`),r>0&&t.push(`${r} minute${r!==1?"s":""}`),t.length===0?"just now":t.join(" ")+" ago"}
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"./tools/report-error";window.addEventListener("error",r),window.__efpStyleElements=[];export{load}from"./load";
|
|
1
|
+
import"@expofp/debug";import r from"./tools/report-error";window.addEventListener("error",r),window.__efpStyleElements=[];export{load}from"./load";
|
package/dist/esm/load.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{resolve as c}from"@expofp/resolve";import p from"debug";import{initHtmlHead as h}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as y}from"./_misc_to_move/
|
|
1
|
+
import{resolve as c}from"@expofp/resolve";import p from"debug";import{initHtmlHead as h}from"./_misc_to_move/initHtmlHead";import{logBuildInfo as y}from"./_misc_to_move/logBuildInfo";import u from"./floorplan.loader";const f=p("efp:load");export async function load(s,t){h(),y();const n={...await c(s),...t},r=n.element;let o;if(typeof r=="string"){const i=document.querySelector(r);if(!i)throw new Error(`Element not found for selector: ${r}`);o=i}else r?o=r:(o=document.getElementById("floorplan"),o||(o=document.createElement("div"),g(o),document.body.appendChild(o)));const e=o.style;e.width=e.width||"100vw",e.height=e.height||"100vh",e.position=e.position||"fixed",!e.top&&!e.bottom&&(e.top="0"),!e.left&&!e.right&&(e.left="0"),e.touchAction=e.touchAction||"none",e.background=e.background||"#fff",e.transition=e.transition||"background-color 2s ease",e.overflow=e.overflow||"hidden",requestAnimationFrame(()=>{e.backgroundColor="#ebebeb"});const m=n.legacyDataUrlBase;if(f("legacyDataUrlBase",m),n.legacyDataVersion)try{const{version:i}=await c(n.legacyDataVersion);globalThis.__fpDataVersion=i}catch{f("Could not resolve version")}const a=new u({...n,element:o}),d=window.___fpResolve;return window.___fp=a,d&&(a.ready.then(()=>d(a)),delete window.___fpResolve),a.ready.then(()=>window.dispatchEvent(new CustomEvent("expofp:ready",{detail:{floorplan:a}}))),a}function g(s){if(!document.adoptedStyleSheets)return;const t="efp-runtime-loader-spinner",l=`
|
|
2
2
|
.${t} {
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 50%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.10",
|
|
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/debug": "3.1.10",
|
|
80
|
+
"@expofp/resolve": "3.1.10"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.8" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "771a4998-bda8-45cd-9258-4be2abff98c2", e._sentryDebugIdIdentifier = "sentry-dbid-771a4998-bda8-45cd-9258-4be2abff98c2");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
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 { C as r, D as i, N as a, O as o, S as s, T as c, _ as l, a as u, c as d, m as f, n as p, o as m, s as h, t as g } from "./flex-DayQlZNC.js";
|
|
13
|
-
import { t as _ } from "./classnames-CV7GydgO.js";
|
|
14
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
15
|
-
var v = /* @__PURE__ */ e(t(), 1);
|
|
16
|
-
function y(e) {
|
|
17
|
-
let t = v.useRef({
|
|
18
|
-
value: e,
|
|
19
|
-
previous: e
|
|
20
|
-
});
|
|
21
|
-
return v.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_7ca460f1f67ff8c5b086b59b47ac08b0/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
25
|
-
var b = n(), x = "Switch", [S, C] = i(x), [w, T] = S(x), E = v.forwardRef((e, t) => {
|
|
26
|
-
let { __scopeSwitch: n, name: i, checked: s, defaultChecked: l, required: u, disabled: d, value: f = "on", onCheckedChange: p, form: m, ...h } = e, [g, _] = v.useState(null), y = a(t, (e) => _(e)), S = v.useRef(!1), C = g ? m || !!g.closest("form") : !0, [T, E] = r({
|
|
27
|
-
prop: s,
|
|
28
|
-
defaultProp: l == null ? !1 : l,
|
|
29
|
-
onChange: p,
|
|
30
|
-
caller: x
|
|
31
|
-
});
|
|
32
|
-
return /* @__PURE__ */ (0, b.jsxs)(w, {
|
|
33
|
-
scope: n,
|
|
34
|
-
checked: T,
|
|
35
|
-
disabled: d,
|
|
36
|
-
children: [/* @__PURE__ */ (0, b.jsx)(o.button, {
|
|
37
|
-
type: "button",
|
|
38
|
-
role: "switch",
|
|
39
|
-
"aria-checked": T,
|
|
40
|
-
"aria-required": u,
|
|
41
|
-
"data-state": j(T),
|
|
42
|
-
"data-disabled": d ? "" : void 0,
|
|
43
|
-
disabled: d,
|
|
44
|
-
value: f,
|
|
45
|
-
...h,
|
|
46
|
-
ref: y,
|
|
47
|
-
onClick: c(e.onClick, (e) => {
|
|
48
|
-
E((e) => !e), C && (S.current = e.isPropagationStopped(), S.current || e.stopPropagation());
|
|
49
|
-
})
|
|
50
|
-
}), C && /* @__PURE__ */ (0, b.jsx)(A, {
|
|
51
|
-
control: g,
|
|
52
|
-
bubbles: !S.current,
|
|
53
|
-
name: i,
|
|
54
|
-
value: f,
|
|
55
|
-
checked: T,
|
|
56
|
-
required: u,
|
|
57
|
-
disabled: d,
|
|
58
|
-
form: m,
|
|
59
|
-
style: { transform: "translateX(-100%)" }
|
|
60
|
-
})]
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
E.displayName = x;
|
|
64
|
-
var D = "SwitchThumb", O = v.forwardRef((e, t) => {
|
|
65
|
-
let { __scopeSwitch: n, ...r } = e, i = T(D, n);
|
|
66
|
-
return /* @__PURE__ */ (0, b.jsx)(o.span, {
|
|
67
|
-
"data-state": j(i.checked),
|
|
68
|
-
"data-disabled": i.disabled ? "" : void 0,
|
|
69
|
-
...r,
|
|
70
|
-
ref: t
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
O.displayName = D;
|
|
74
|
-
var k = "SwitchBubbleInput", A = v.forwardRef(({ __scopeSwitch: e, control: t, checked: n, bubbles: r = !0, ...i }, o) => {
|
|
75
|
-
let c = v.useRef(null), l = a(c, o), u = y(n), d = s(t);
|
|
76
|
-
return v.useEffect(() => {
|
|
77
|
-
let e = c.current;
|
|
78
|
-
if (!e) return;
|
|
79
|
-
let t = window.HTMLInputElement.prototype, i = Object.getOwnPropertyDescriptor(t, "checked").set;
|
|
80
|
-
if (u !== n && i) {
|
|
81
|
-
let t = new Event("click", { bubbles: r });
|
|
82
|
-
i.call(e, n), e.dispatchEvent(t);
|
|
83
|
-
}
|
|
84
|
-
}, [
|
|
85
|
-
u,
|
|
86
|
-
n,
|
|
87
|
-
r
|
|
88
|
-
]), /* @__PURE__ */ (0, b.jsx)("input", {
|
|
89
|
-
type: "checkbox",
|
|
90
|
-
"aria-hidden": !0,
|
|
91
|
-
defaultChecked: n,
|
|
92
|
-
...i,
|
|
93
|
-
tabIndex: -1,
|
|
94
|
-
ref: l,
|
|
95
|
-
style: {
|
|
96
|
-
...i.style,
|
|
97
|
-
...d,
|
|
98
|
-
position: "absolute",
|
|
99
|
-
pointerEvents: "none",
|
|
100
|
-
opacity: 0,
|
|
101
|
-
margin: 0
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
A.displayName = k;
|
|
106
|
-
function j(e) {
|
|
107
|
-
return e ? "checked" : "unchecked";
|
|
108
|
-
}
|
|
109
|
-
var M = E, N = O, P = {
|
|
110
|
-
orientation: {
|
|
111
|
-
type: "enum",
|
|
112
|
-
className: "rt-r-orientation",
|
|
113
|
-
values: ["horizontal", "vertical"],
|
|
114
|
-
default: "horizontal",
|
|
115
|
-
responsive: !0
|
|
116
|
-
},
|
|
117
|
-
size: {
|
|
118
|
-
type: "enum",
|
|
119
|
-
className: "rt-r-size",
|
|
120
|
-
values: [
|
|
121
|
-
"1",
|
|
122
|
-
"2",
|
|
123
|
-
"3",
|
|
124
|
-
"4"
|
|
125
|
-
],
|
|
126
|
-
default: "1",
|
|
127
|
-
responsive: !0
|
|
128
|
-
},
|
|
129
|
-
color: {
|
|
130
|
-
...l.color,
|
|
131
|
-
default: "gray"
|
|
132
|
-
},
|
|
133
|
-
decorative: {
|
|
134
|
-
type: "boolean",
|
|
135
|
-
default: !0
|
|
136
|
-
}
|
|
137
|
-
}, F = /* @__PURE__ */ e(_()), I = v.forwardRef((e, t) => {
|
|
138
|
-
let { className: n, color: r, decorative: i, ...a } = d(e, P, h);
|
|
139
|
-
return v.createElement("span", {
|
|
140
|
-
"data-accent-color": r,
|
|
141
|
-
role: i ? void 0 : "separator",
|
|
142
|
-
...a,
|
|
143
|
-
ref: t,
|
|
144
|
-
className: (0, F.default)("rt-Separator", n)
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
I.displayName = "Separator";
|
|
148
|
-
//#endregion
|
|
149
|
-
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._c0b9fed6e211d5c83adcfe1ae3769049/node_modules/@radix-ui/themes/dist/esm/components/switch.props.js
|
|
150
|
-
var L = {
|
|
151
|
-
size: {
|
|
152
|
-
type: "enum",
|
|
153
|
-
className: "rt-r-size",
|
|
154
|
-
values: [
|
|
155
|
-
"1",
|
|
156
|
-
"2",
|
|
157
|
-
"3"
|
|
158
|
-
],
|
|
159
|
-
default: "2",
|
|
160
|
-
responsive: !0
|
|
161
|
-
},
|
|
162
|
-
variant: {
|
|
163
|
-
type: "enum",
|
|
164
|
-
className: "rt-variant",
|
|
165
|
-
values: [
|
|
166
|
-
"classic",
|
|
167
|
-
"surface",
|
|
168
|
-
"soft"
|
|
169
|
-
],
|
|
170
|
-
default: "surface"
|
|
171
|
-
},
|
|
172
|
-
...l,
|
|
173
|
-
...f,
|
|
174
|
-
...u
|
|
175
|
-
}, R = v.forwardRef((e, t) => {
|
|
176
|
-
let { className: n, color: r, radius: i, ...a } = d(e, L, h);
|
|
177
|
-
return v.createElement(M, {
|
|
178
|
-
"data-accent-color": r,
|
|
179
|
-
"data-radius": i,
|
|
180
|
-
...a,
|
|
181
|
-
asChild: !1,
|
|
182
|
-
ref: t,
|
|
183
|
-
className: (0, F.default)("rt-reset", "rt-SwitchRoot", n)
|
|
184
|
-
}, v.createElement(N, { className: (0, F.default)("rt-SwitchThumb", { "rt-high-contrast": e.highContrast }) }));
|
|
185
|
-
});
|
|
186
|
-
R.displayName = "Switch";
|
|
187
|
-
//#endregion
|
|
188
|
-
//#region ../debug/src/lib/ui/settings-item.tsx
|
|
189
|
-
var z = ({ label: e, children: t }) => /* @__PURE__ */ (0, b.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, b.jsxs)(p, { children: [/* @__PURE__ */ (0, b.jsx)(m, {
|
|
190
|
-
size: "4",
|
|
191
|
-
children: e
|
|
192
|
-
}), /* @__PURE__ */ (0, b.jsx)(p, {
|
|
193
|
-
mt: "10px",
|
|
194
|
-
children: t
|
|
195
|
-
})] }), /* @__PURE__ */ (0, b.jsx)(I, {
|
|
196
|
-
size: "4",
|
|
197
|
-
my: "20px"
|
|
198
|
-
})] }), B = (e) => /* @__PURE__ */ (0, b.jsx)(z, {
|
|
199
|
-
label: e.label,
|
|
200
|
-
children: /* @__PURE__ */ (0, b.jsx)(g, { children: /* @__PURE__ */ (0, b.jsx)(R, {
|
|
201
|
-
checked: e.value,
|
|
202
|
-
onCheckedChange: (t) => e.onChange(t)
|
|
203
|
-
}) })
|
|
204
|
-
});
|
|
205
|
-
//#endregion
|
|
206
|
-
export { B as BooleanEditor };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.8" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5502080e-bef5-4a57-9d7d-8a45c2ec4b84", e._sentryDebugIdIdentifier = "sentry-dbid-5502080e-bef5-4a57-9d7d-8a45c2ec4b84");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
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
|
-
//#region src/utils/mobx.ts
|
|
13
|
-
var i = /* @__PURE__ */ e(r(), 1);
|
|
14
|
-
function a(e, n) {
|
|
15
|
-
return (0, i.useEffect)(() => t(e, n), []);
|
|
16
|
-
}
|
|
17
|
-
function o(e, t, r) {
|
|
18
|
-
return (0, i.useEffect)(() => n(e, t, r), []);
|
|
19
|
-
}
|
|
20
|
-
function s(e) {
|
|
21
|
-
return (0, i.useEffect)(e, []);
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { s as n, o as r, a as t };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.8" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "296827ff-4fe5-4907-9b96-cec1ee89058c", e._sentryDebugIdIdentifier = "sentry-dbid-296827ff-4fe5-4907-9b96-cec1ee89058c");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import "./reset-all-settings-hgrZphbe.js";
|
|
10
|
-
import "./settings-BIMaTEyo.js";
|
|
11
|
-
//#region ../debug/src/lib/init-debug.tsx
|
|
12
|
-
var e = !1;
|
|
13
|
-
function t() {
|
|
14
|
-
e || (e = !0, !(typeof window > "u" && typeof document > "u") && import("./ui-vdOqnu50.js").then(({ renderDebugUi: e }) => {
|
|
15
|
-
e();
|
|
16
|
-
}).catch(() => {}));
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { t as initDebug };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.8" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "366e3673-c350-4f8b-b0f3-9cc93894014c", e._sentryDebugIdIdentifier = "sentry-dbid-366e3673-c350-4f8b-b0f3-9cc93894014c");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
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
|
-
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
14
|
-
var i = t(), a = !1;
|
|
15
|
-
function o() {
|
|
16
|
-
if (a) return;
|
|
17
|
-
a = !0;
|
|
18
|
-
let t = n("Show Debug Button Overlay"), o = async (n) => {
|
|
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
|
-
document.body.appendChild(o), a(o).render(/* @__PURE__ */ (0, i.jsx)(r, {
|
|
21
|
-
useDebugButtonState: t.useState,
|
|
22
|
-
open: n
|
|
23
|
-
}));
|
|
24
|
-
};
|
|
25
|
-
if (t.get()) o(!1);
|
|
26
|
-
else {
|
|
27
|
-
let e = r(() => {
|
|
28
|
-
e(), t.set(!0), o(!0);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
export { o as renderDebugUi };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function logBuildInfo(){const o=__BUILD_INFO__;if(o){const e=new Date(o.built);console.info("%c\u26A1\uFE0F[efp-runtime]%c v%c%s%c commit=%c%s%c branch=%c%s%c built=%c%s%c (%s)","color:#2382f4;font-weight:600","color:inherit","color:#dcdcaa;font-weight:600",o.version,"color:inherit","color:#9cdcfe",o.commit,"color:inherit","color:#ce9178",o.branch,"color:inherit","color:#b5cea8",o.built,"color:inherit",s(e))}}function s(o){const c=new Date().getTime()-o.getTime(),i=Math.floor(c/(1e3*60*60*24)),n=Math.floor(c/(1e3*60*60)%24),r=Math.floor(c/(1e3*60)%60),t=[];return i>0&&t.push(`${i} day${i!==1?"s":""}`),n>0&&t.push(`${n} hour${n!==1?"s":""}`),r>0&&t.push(`${r} minute${r!==1?"s":""}`),t.length===0?"just now":t.join(" ")+" ago"}
|