@expofp/floorplan 3.2.14 → 3.2.16
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-bTG3GDKg.js → CookieConsent-BLHT-KLE.js} +8 -8
- package/dist/browser/{Debug-CjX9xriA.js → Debug-fMN0lA6W.js} +7 -8
- package/dist/browser/{Demo-D66SE96z.js → Demo-DUoLNXIX.js} +11 -12
- package/dist/browser/{Free-ouV3S0cy.js → Free-CB7SwTsq.js} +11 -12
- package/dist/browser/{Gallery-Bm4oVw4n.js → Gallery-CPsePfd7.js} +10 -10
- package/dist/browser/{GpsLoader-BheKXFiI.js → GpsLoader-CMlu4TOg.js} +24 -25
- package/dist/browser/{KioskStore-CYaE9WLG.js → KioskStore-B_Bp2kqg.js} +4 -4
- package/dist/browser/{Mapbox-CDlR6UrM.js → Mapbox-D1onHIN3.js} +14 -15
- package/dist/browser/{Modal-DS2N0vIo.js → Modal-CwomFIZA.js} +10 -10
- package/dist/browser/{SetKioskMode-DofzJB3e.js → SetKioskMode-CgoaKq10.js} +17 -18
- package/dist/browser/{ShowKiosk-UX2N2NU3.js → ShowKiosk-DlNbBqM3.js} +10 -11
- package/dist/browser/{ThreeComponent-CglSG5wI.js → ThreeComponent-Bco3e7fB.js} +201 -202
- package/dist/browser/{TouchHand-DvgAAuKo.js → TouchHand-DkCjYm6Q.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-KPn2i2KL.js → ViewerMenuPanel-weG0rsGd.js} +8 -9
- package/dist/browser/{add-debug-secret-listener-BN00-9E4.js → add-debug-secret-listener-BeDILu2u.js} +1 -1
- package/dist/browser/{boolean-editor-fbHiF9vJ.js → boolean-editor-Cv6YLefR.js} +12 -12
- package/dist/browser/{bootIntercom-CKo2IztD.js → bootIntercom-C4zeAX2s.js} +3 -3
- package/dist/browser/{box-B2jxGgXa.js → box-vaGh2TeN.js} +16 -16
- package/dist/browser/{browser-vqeti97Y.js → browser-D_rTLODL.js} +2 -2
- package/dist/browser/bundle.json +57 -60
- package/dist/browser/{classnames-CHmxGkvV.js → classnames-qd7Q9RIY.js} +2 -2
- package/dist/browser/{client-pnzfy6PK.js → client-BxGRgY_F.js} +4 -4
- package/dist/browser/{components-DVzc3v5I.js → components-CmRXb2gD.js} +2183 -2184
- package/dist/browser/{data-BmUUjPca.js → data-CZkhWK-Z.js} +14 -16
- package/dist/browser/{debug-overlay-B_1ADa5Y.js → debug-overlay-X8BXQr1z.js} +26 -26
- package/dist/browser/{debug-ui-DBOzEUkM.js → debug-ui-BiwX4Dvr.js} +6 -6
- package/dist/browser/{dist-0qGu5ADv.js → dist-CCV_NBfN.js} +5 -5
- package/dist/browser/{dist-BpuX8MZ6.js → dist-CMyREI7X.js} +11 -11
- package/dist/browser/{dist-DblWkNUV.js → dist-CPb1LZzc.js} +527 -497
- package/dist/browser/{efp-debug-init-BwJWCRkJ.js → efp-debug-init-Au0qI1wP.js} +2 -2
- package/dist/browser/{enum-editor-BYkKqvGq.js → enum-editor-BhIpTf54.js} +14 -14
- package/dist/browser/{exports-BRRDMtlG.js → exports-DMgwueAY.js} +254 -197
- package/dist/browser/{favicon-C_bgpvWA.js → favicon-CVHJCR8b.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Dinto0ag.js → fetch-retry.umd-q-qWFkS6.js} +2 -2
- package/dist/browser/{flex-uHBCXaOV.js → flex-aKJdfpPd.js} +8 -8
- package/dist/browser/{flex.props-eBOcuRMU.js → flex.props-P80gwRUB.js} +4 -4
- package/dist/browser/{floorplan.loader-CMXBnLtZ.js → floorplan.loader-9vi5wiWY.js} +940 -772
- package/dist/browser/{floorplan.ready-UbtSin_R.js → floorplan.ready-D9kCBPK7.js} +134 -134
- package/dist/browser/{fuse-CgTQNNsn.js → fuse-BgeAVyKM.js} +2 -2
- package/dist/browser/{i18n-BOl9oxrx.js → i18n-CZOQkVCe.js} +16 -16
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-debug-DMN58EYn.js → is-debug-BI5WWxl4.js} +2 -2
- package/dist/browser/{jsx-runtime-B2BgIlMm.js → jsx-runtime-Cfw-81vg.js} +2 -2
- package/dist/browser/{lib-DByP5YwC.js → lib-BltmRvey.js} +25 -17
- package/dist/browser/{main-D3mbrWsr.js → main-nYp9QCxH.js} +1 -1
- package/dist/browser/{mobx-CdvsVcc9.js → mobx-s2DVcJC6.js} +4 -4
- package/dist/browser/{particles.min-DfI3C-qp.js → particles.min-D-ZVJvr6.js} +2 -2
- package/dist/browser/{prop-types-B6zERU6Z.js → prop-types-BMBqM61q.js} +2 -2
- package/dist/browser/{react-C3o_QT06.js → react-CXwgUtsZ.js} +2 -2
- package/dist/browser/{react-dom-sBqrMskT.js → react-dom-CVldwRj3.js} +3 -3
- package/dist/browser/{reset-all-settings-BwKg7iVu.js → reset-all-settings-E82YJVqn.js} +7 -7
- package/dist/browser/{rolldown-runtime-DB8Ddt08.js → rolldown-runtime-1ypKcSvY.js} +1 -1
- package/dist/browser/{settings-BLMQJ1yq.js → settings-YpcTlUDe.js} +2 -2
- package/dist/browser/{settings-item-C19s0haM.js → settings-item-CqW5Bfng.js} +8 -8
- package/dist/browser/{store-CQE29UCE.js → store-BkOI7cQI.js} +5277 -5094
- package/dist/browser/{string-editor-DyFEQo_P.js → string-editor-D7JAWnOz.js} +10 -10
- package/dist/browser/{theme-CrwkiIG5.js → theme-CcA4G4kw.js} +29 -29
- package/dist/browser/{ui-MUJDbhD1.js → ui-8lmA4X-c.js} +8 -8
- package/dist/browser/{useRenderTarget-Pk0fGZOz.js → useRenderTarget-CjTAc6YX.js} +5 -5
- package/dist/esm/components/QrCode.d.ts +1 -44
- package/dist/esm/store/ToursStore.js +1 -1
- package/package.json +10 -11
- package/dist/browser/Button-BdvuWzrR.js +0 -204
|
@@ -1,19 +1,19 @@
|
|
|
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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.16" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cd480886-739a-4a03-b71c-754ed9c72382", e._sentryDebugIdIdentifier = "sentry-dbid-cd480886-739a-4a03-b71c-754ed9c72382");
|
|
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 { E as r, c as i, l as a, o, r as s, v as c } from "./box-
|
|
13
|
-
import { t as l } from "./classnames-
|
|
14
|
-
import { t as u } from "./flex.props-
|
|
15
|
-
import { t as d } from "./settings-item-
|
|
16
|
-
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.
|
|
9
|
+
import { r as e } from "./rolldown-runtime-1ypKcSvY.js";
|
|
10
|
+
import { t } from "./react-CXwgUtsZ.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Cfw-81vg.js";
|
|
12
|
+
import { E as r, c as i, l as a, o, r as s, v as c } from "./box-vaGh2TeN.js";
|
|
13
|
+
import { t as l } from "./classnames-qd7Q9RIY.js";
|
|
14
|
+
import { t as u } from "./flex.props-P80gwRUB.js";
|
|
15
|
+
import { t as d } from "./settings-item-CqW5Bfng.js";
|
|
16
|
+
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.15__@types+react@19.2._ac899fea414b44484ec07dc0c111a714/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
17
17
|
var f = {
|
|
18
18
|
size: {
|
|
19
19
|
type: "enum",
|
|
@@ -1,19 +1,19 @@
|
|
|
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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.16" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3f32cbe3-f0e0-43de-b820-425477bb3610", e._sentryDebugIdIdentifier = "sentry-dbid-3f32cbe3-f0e0-43de-b820-425477bb3610");
|
|
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 { C as i, D as a, S as o, T as s, _ as c, a as l, g as u, w as d } from "./box-
|
|
14
|
-
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-
|
|
15
|
-
import { t as y } from "./classnames-
|
|
16
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.
|
|
9
|
+
import { r as e } from "./rolldown-runtime-1ypKcSvY.js";
|
|
10
|
+
import { t } from "./react-CXwgUtsZ.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Cfw-81vg.js";
|
|
12
|
+
import { t as r } from "./react-dom-CVldwRj3.js";
|
|
13
|
+
import { C as i, D as a, S as o, T as s, _ as c, a as l, g as u, w as d } from "./box-vaGh2TeN.js";
|
|
14
|
+
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-CMyREI7X.js";
|
|
15
|
+
import { t as y } from "./classnames-qd7Q9RIY.js";
|
|
16
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.15__@ty_df31f7659159064425103695f04b2f6c/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
17
17
|
var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
|
|
18
18
|
position: "absolute",
|
|
19
19
|
border: 0,
|
|
@@ -89,7 +89,7 @@ function D(e) {
|
|
|
89
89
|
];
|
|
90
90
|
}
|
|
91
91
|
//#endregion
|
|
92
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.
|
|
92
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.15__@types+rea_e27b0e39c315910363295d49e8761e42/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
93
93
|
function O(e, t) {
|
|
94
94
|
return x.useReducer((e, n) => {
|
|
95
95
|
let r = t[e][n];
|
|
@@ -156,7 +156,7 @@ function M(e) {
|
|
|
156
156
|
return i ? e.ref : (r = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, i = r && "isReactWarning" in r && r.isReactWarning, i ? e.props.ref : e.props.ref || e.ref);
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.
|
|
159
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.15_react@19.2.6/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
160
160
|
var N = x.useId || (() => void 0), P = 0;
|
|
161
161
|
function ee(e) {
|
|
162
162
|
let [t, n] = x.useState(N());
|
|
@@ -165,7 +165,7 @@ function ee(e) {
|
|
|
165
165
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
166
166
|
}
|
|
167
167
|
//#endregion
|
|
168
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.
|
|
168
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.15_react@19.2.6/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
169
169
|
var te = x.createContext(void 0), ne = (e) => {
|
|
170
170
|
let { dir: t, children: n } = e;
|
|
171
171
|
return /* @__PURE__ */ (0, S.jsx)(te.Provider, {
|
|
@@ -179,7 +179,7 @@ function re(e) {
|
|
|
179
179
|
}
|
|
180
180
|
var ie = ne;
|
|
181
181
|
//#endregion
|
|
182
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.
|
|
182
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.15_react@19.2.6/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
183
183
|
function F(e) {
|
|
184
184
|
let t = x.useRef(e);
|
|
185
185
|
return x.useEffect(() => {
|
|
@@ -190,7 +190,7 @@ function F(e) {
|
|
|
190
190
|
}, []);
|
|
191
191
|
}
|
|
192
192
|
//#endregion
|
|
193
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.
|
|
193
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.15_react@19.2.6/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
194
194
|
function ae(e, t = (() => {
|
|
195
195
|
var e;
|
|
196
196
|
return (e = globalThis) == null ? void 0 : e.document;
|
|
@@ -204,7 +204,7 @@ function ae(e, t = (() => {
|
|
|
204
204
|
}, [n, t]);
|
|
205
205
|
}
|
|
206
206
|
//#endregion
|
|
207
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.
|
|
207
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.15___5e79ea011ae49559e5d045c6c417affe/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
208
208
|
var oe = "DismissableLayer", se = "dismissableLayer.update", ce = "dismissableLayer.pointerDownOutside", le = "dismissableLayer.focusOutside", ue, de = x.createContext({
|
|
209
209
|
layers: /* @__PURE__ */ new Set(),
|
|
210
210
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
@@ -310,7 +310,7 @@ function ge(e, t, n, { discrete: r }) {
|
|
|
310
310
|
t && i.addEventListener(e, t, { once: !0 }), r ? f(i, a) : i.dispatchEvent(a);
|
|
311
311
|
}
|
|
312
312
|
//#endregion
|
|
313
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.
|
|
313
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.15__@types+_940460526384d303804591e6dc3535ad/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
314
314
|
var _e = "focusScope.autoFocusOnMount", ve = "focusScope.autoFocusOnUnmount", ye = {
|
|
315
315
|
bubbles: !1,
|
|
316
316
|
cancelable: !0
|
|
@@ -450,7 +450,7 @@ function je(e) {
|
|
|
450
450
|
return e.filter((e) => e.tagName !== "A");
|
|
451
451
|
}
|
|
452
452
|
//#endregion
|
|
453
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.2.
|
|
453
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.2.15__@types+react_2058f8797ee4f20a020cf8a07e5c7824/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
454
454
|
var Me = "Portal", Ne = x.forwardRef((e, t) => {
|
|
455
455
|
var n;
|
|
456
456
|
let { container: r, ...i } = e, [a, o] = x.useState(!1);
|
|
@@ -463,7 +463,7 @@ var Me = "Portal", Ne = x.forwardRef((e, t) => {
|
|
|
463
463
|
});
|
|
464
464
|
Ne.displayName = Me;
|
|
465
465
|
//#endregion
|
|
466
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.
|
|
466
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.15_react@19.2.6/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
467
467
|
var Pe = 0;
|
|
468
468
|
function Fe() {
|
|
469
469
|
x.useEffect(() => {
|
|
@@ -497,15 +497,15 @@ function Re(e, t, n) {
|
|
|
497
497
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
498
498
|
}
|
|
499
499
|
//#endregion
|
|
500
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.
|
|
500
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.15_react@19.2.6/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
501
501
|
var ze = "right-scroll-bar-position", Be = "width-before-scroll-bar", Ve = "with-scroll-bars-hidden", He = "--removed-body-scroll-bar-size";
|
|
502
502
|
//#endregion
|
|
503
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.
|
|
503
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.15_react@19.2.6/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
504
504
|
function Ue(e, t) {
|
|
505
505
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
506
506
|
}
|
|
507
507
|
//#endregion
|
|
508
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.
|
|
508
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.15_react@19.2.6/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
509
509
|
function We(e, t) {
|
|
510
510
|
var n = (0, x.useState)(function() {
|
|
511
511
|
return {
|
|
@@ -525,7 +525,7 @@ function We(e, t) {
|
|
|
525
525
|
return n.callback = t, n.facade;
|
|
526
526
|
}
|
|
527
527
|
//#endregion
|
|
528
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.
|
|
528
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.15_react@19.2.6/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
529
529
|
var Ge = typeof window < "u" ? x.useLayoutEffect : x.useEffect, Ke = /* @__PURE__ */ new WeakMap();
|
|
530
530
|
function qe(e, t) {
|
|
531
531
|
var n = We(t || null, function(t) {
|
|
@@ -547,7 +547,7 @@ function qe(e, t) {
|
|
|
547
547
|
}, [e]), n;
|
|
548
548
|
}
|
|
549
549
|
//#endregion
|
|
550
|
-
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.
|
|
550
|
+
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.15_react@19.2.6/node_modules/use-sidecar/dist/es2015/medium.js
|
|
551
551
|
function Je(e) {
|
|
552
552
|
return e;
|
|
553
553
|
}
|
|
@@ -614,7 +614,7 @@ function Xe(e) {
|
|
|
614
614
|
}, e), t;
|
|
615
615
|
}
|
|
616
616
|
//#endregion
|
|
617
|
-
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.
|
|
617
|
+
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.15_react@19.2.6/node_modules/use-sidecar/dist/es2015/exports.js
|
|
618
618
|
var Ze = function(e) {
|
|
619
619
|
var t = e.sideCar, n = Le(e, ["sideCar"]);
|
|
620
620
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
@@ -627,7 +627,7 @@ function Qe(e, t) {
|
|
|
627
627
|
return e.useMedium(t), Ze;
|
|
628
628
|
}
|
|
629
629
|
//#endregion
|
|
630
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.
|
|
630
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.15_react@19.2.6/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
631
631
|
var $e = Xe(), et = function() {}, tt = x.forwardRef(function(e, t) {
|
|
632
632
|
var n = x.useRef(null), r = x.useState({
|
|
633
633
|
onScrollCapture: et,
|
|
@@ -679,7 +679,7 @@ var nt, rt = function() {
|
|
|
679
679
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
680
680
|
};
|
|
681
681
|
//#endregion
|
|
682
|
-
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.
|
|
682
|
+
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.15_react@19.2.6/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
683
683
|
function it() {
|
|
684
684
|
if (!document) return null;
|
|
685
685
|
var e = document.createElement("style");
|
|
@@ -965,7 +965,7 @@ function Ht(e) {
|
|
|
965
965
|
return t;
|
|
966
966
|
}
|
|
967
967
|
//#endregion
|
|
968
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.
|
|
968
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.15_react@19.2.6/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
969
969
|
var Ut = Qe($e, Vt), Wt = x.forwardRef(function(e, t) {
|
|
970
970
|
return x.createElement(tt, z({}, e, {
|
|
971
971
|
ref: t,
|
|
@@ -2658,7 +2658,7 @@ function sa(e) {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
}
|
|
2660
2660
|
//#endregion
|
|
2661
|
-
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.
|
|
2661
|
+
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.15__@types+react@19.2._ac899fea414b44484ec07dc0c111a714/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js
|
|
2662
2662
|
var ca = [
|
|
2663
2663
|
"inherit",
|
|
2664
2664
|
"light",
|
|
@@ -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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.16" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "11c667ee-f279-40ae-b116-af84691ecf19", e._sentryDebugIdIdentifier = "sentry-dbid-11c667ee-f279-40ae-b116-af84691ecf19");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { i as t, r as n } from "./reset-all-settings-
|
|
11
|
-
import { t as r } from "./jsx-runtime-
|
|
12
|
-
import "./settings-
|
|
13
|
-
import { t as i } from "./browser-
|
|
14
|
-
import { t as a } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-1ypKcSvY.js";
|
|
10
|
+
import { i as t, r as n } from "./reset-all-settings-E82YJVqn.js";
|
|
11
|
+
import { t as r } from "./jsx-runtime-Cfw-81vg.js";
|
|
12
|
+
import "./settings-YpcTlUDe.js";
|
|
13
|
+
import { t as i } from "./browser-D_rTLODL.js";
|
|
14
|
+
import { t as a } from "./add-debug-secret-listener-BeDILu2u.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
|
|
17
17
|
function l() {
|
|
@@ -26,7 +26,7 @@ function l() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let i = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-BiwX4Dvr.js"), { createRoot: i } = await import("./client-BxGRgY_F.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
|
|
31
31
|
useDebugButtonState: r.useState,
|
|
32
32
|
open: t
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.16" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "efd08859-ff4a-4f73-977e-4ad657829cfc", e._sentryDebugIdIdentifier = "sentry-dbid-efd08859-ff4a-4f73-977e-4ad657829cfc");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { s as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-1ypKcSvY.js";
|
|
10
|
+
import { t } from "./react-CXwgUtsZ.js";
|
|
11
|
+
import { s as n } from "./store-BkOI7cQI.js";
|
|
12
12
|
//#region src/utils/getRenderTargetFromRoot.ts
|
|
13
13
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
14
14
|
function i(e) {
|
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
declare const QrCode: import("react").LazyExoticComponent<
|
|
2
|
-
new (props: import("react-qr-code").QRCodeProps): {
|
|
3
|
-
render(): React.ReactNode;
|
|
4
|
-
context: unknown;
|
|
5
|
-
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
6
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
7
|
-
readonly props: Readonly<import("react-qr-code").QRCodeProps>;
|
|
8
|
-
state: Readonly<any>;
|
|
9
|
-
componentDidMount?(): void;
|
|
10
|
-
shouldComponentUpdate?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
11
|
-
componentWillUnmount?(): void;
|
|
12
|
-
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
13
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("react-qr-code").QRCodeProps>, prevState: Readonly<any>): any;
|
|
14
|
-
componentDidUpdate?(prevProps: Readonly<import("react-qr-code").QRCodeProps>, prevState: Readonly<any>, snapshot?: any): void;
|
|
15
|
-
componentWillMount?(): void;
|
|
16
|
-
UNSAFE_componentWillMount?(): void;
|
|
17
|
-
componentWillReceiveProps?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextContext: any): void;
|
|
18
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextContext: any): void;
|
|
19
|
-
componentWillUpdate?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextState: Readonly<any>, nextContext: any): void;
|
|
20
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextState: Readonly<any>, nextContext: any): void;
|
|
21
|
-
};
|
|
22
|
-
new (props: import("react-qr-code").QRCodeProps, context: any): {
|
|
23
|
-
render(): React.ReactNode;
|
|
24
|
-
context: unknown;
|
|
25
|
-
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
26
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
27
|
-
readonly props: Readonly<import("react-qr-code").QRCodeProps>;
|
|
28
|
-
state: Readonly<any>;
|
|
29
|
-
componentDidMount?(): void;
|
|
30
|
-
shouldComponentUpdate?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
31
|
-
componentWillUnmount?(): void;
|
|
32
|
-
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
33
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("react-qr-code").QRCodeProps>, prevState: Readonly<any>): any;
|
|
34
|
-
componentDidUpdate?(prevProps: Readonly<import("react-qr-code").QRCodeProps>, prevState: Readonly<any>, snapshot?: any): void;
|
|
35
|
-
componentWillMount?(): void;
|
|
36
|
-
UNSAFE_componentWillMount?(): void;
|
|
37
|
-
componentWillReceiveProps?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextContext: any): void;
|
|
38
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextContext: any): void;
|
|
39
|
-
componentWillUpdate?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextState: Readonly<any>, nextContext: any): void;
|
|
40
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("react-qr-code").QRCodeProps>, nextState: Readonly<any>, nextContext: any): void;
|
|
41
|
-
};
|
|
42
|
-
contextType?: import("react").Context<any> | undefined;
|
|
43
|
-
propTypes?: any;
|
|
44
|
-
}>;
|
|
1
|
+
declare const QrCode: import("react").LazyExoticComponent<typeof import("react-qr-code").QRCode>;
|
|
45
2
|
export default QrCode;
|
|
46
3
|
//# sourceMappingURL=QrCode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as e,__runInitializers as a}from"tslib";import{action as u,computed as
|
|
1
|
+
import{__esDecorate as e,__runInitializers as a}from"tslib";import{action as u,computed as n,observable as l}from"mobx";import D from"../tools/settings";import c from"../data/tours.json";const d=1;let j=(()=>{let o=[],h,f=[],T=[],p,m=[],y=[],_,g=[],S=[],v,E=[],L=[],I,x,A,P,w,b,k,z;return class{static{const r=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;h=[l],p=[l],_=[l],v=[l],I=[u],x=[u],A=[n],P=[n],w=[n],b=[n],k=[u],z=[u],e(this,null,I,{kind:"method",name:"loadTours",static:!1,private:!1,access:{has:t=>"loadTours"in t,get:t=>t.loadTours},metadata:r},null,o),e(this,null,x,{kind:"method",name:"resetTours",static:!1,private:!1,access:{has:t=>"resetTours"in t,get:t=>t.resetTours},metadata:r},null,o),e(this,null,A,{kind:"getter",name:"tourItems",static:!1,private:!1,access:{has:t=>"tourItems"in t,get:t=>t.tourItems},metadata:r},null,o),e(this,null,P,{kind:"getter",name:"currentTour",static:!1,private:!1,access:{has:t=>"currentTour"in t,get:t=>t.currentTour},metadata:r},null,o),e(this,null,w,{kind:"getter",name:"isActive",static:!1,private:!1,access:{has:t=>"isActive"in t,get:t=>t.isActive},metadata:r},null,o),e(this,null,b,{kind:"getter",name:"tourLayers",static:!1,private:!1,access:{has:t=>"tourLayers"in t,get:t=>t.tourLayers},metadata:r},null,o),e(this,null,k,{kind:"method",name:"launchTour",static:!1,private:!1,access:{has:t=>"launchTour"in t,get:t=>t.launchTour},metadata:r},null,o),e(this,null,z,{kind:"method",name:"stopTour",static:!1,private:!1,access:{has:t=>"stopTour"in t,get:t=>t.stopTour},metadata:r},null,o),e(null,null,h,{kind:"field",name:"tours",static:!1,private:!1,access:{has:t=>"tours"in t,get:t=>t.tours,set:(t,s)=>{t.tours=s}},metadata:r},f,T),e(null,null,p,{kind:"field",name:"currentExpo",static:!1,private:!1,access:{has:t=>"currentExpo"in t,get:t=>t.currentExpo,set:(t,s)=>{t.currentExpo=s}},metadata:r},m,y),e(null,null,_,{kind:"field",name:"hasTours",static:!1,private:!1,access:{has:t=>"hasTours"in t,get:t=>t.hasTours,set:(t,s)=>{t.hasTours=s}},metadata:r},g,S),e(null,null,v,{kind:"field",name:"toursLoadError",static:!1,private:!1,access:{has:t=>"toursLoadError"in t,get:t=>t.toursLoadError,set:(t,s)=>{t.toursLoadError=s}},metadata:r},E,L),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}rootStore=a(this,o);tours=a(this,f,[]);currentExpo=(a(this,T),a(this,m,""));hasTours=(a(this,y),a(this,g,!1));toursLoadError=(a(this,S),a(this,E,null));constructor(r){a(this,L),this.rootStore=r,this.loadTours()}loadTours(){try{if(this.currentExpo=D.EXPO||"default",this.toursLoadError=null,!this.isValidToursData(c)){this.toursLoadError="Invalid tours data format",this.resetTours();return}const r=c[this.currentExpo]||[];if(!this.validateToursStructure(r)){this.toursLoadError="Invalid tour items structure",this.resetTours();return}this.tours=r,this.hasTours=r.length>0}catch(r){console.error("Error loading tours:",r),this.toursLoadError=r instanceof Error?r.message:"Failed to load tours",this.resetTours()}}resetTours(){this.tours=[],this.hasTours=!1}isValidToursData(r){return r!==null&&typeof r=="object"&&!Array.isArray(r)}validateToursStructure(r){return Array.isArray(r)?r.every(t=>t&&typeof t=="object"&&typeof t.id=="string"&&Array.isArray(t.layers)&&t.layers.length>=d&&(t.points===void 0||Array.isArray(t.points))):!1}get tourItems(){return this.tours}getTourById(r){return this.tours.find(t=>t.id===r)}getToursByPoint(r){return this.tours.filter(t=>t.points?.includes(r))}getToursForExpo(r){return this.isValidToursData(c)?c[r]||[]:[]}get currentTour(){const{list:r}=this.rootStore.uiState;return r.type!=="multi-point-tour"||!this.isMultiPointTourList(r)?null:this.getTourById(r.tourId)||null}isMultiPointTourList(r){return r.type==="multi-point-tour"&&typeof r.tourId=="string"}get isActive(){return this.rootStore.uiState.list.type==="multi-point-tour"}get tourLayers(){const r=this.currentTour;return r?r.layers.map(t=>this.rootStore.layerStore.findLayer(t.floor)).filter(t=>t!=null):[]}getTourLayerInfo(r){const t=this.currentTour;if(t)return t.layers.find(s=>{const i=this.rootStore.layerStore.findLayer(s.floor);return i&&(i.name===r||i.description===r)})}launchTour(r,t,s){const i=this.validateTourForLaunch(r);if(i)return console.warn(`Cannot launch tour: ${i}`),!1;const M=r.layers[0].id,O=r.layers[0].floor;return r.points&&r.points.length>0?this.rootStore.fp.showPathway(M,r.points):this.rootStore.fp.showPathwayOnly(M,O),this.rootStore.uiState.setTourTitle(t),this.rootStore.uiState.setTourDescription(s),this.rootStore.uiState.setIsMultiPointTour(!0),this.rootStore.uiState.setMultiPointTourList(r.id),window.setTimeout(()=>{this.rootStore.showMap()},navigator.userAgent.toLowerCase().indexOf("android")>-1?400:50),!0}validateTourForLaunch(r){return r.layers.length<d?`Tour must have at least ${d} layer`:null}stopTour(){this.rootStore.uiState.setIsMultiPointTour(!1),this.rootStore.uiState.setPathwayOnlyMode(!1);const r=this.rootStore.uiState.list.type;(r==="tours"||r==="multi-point-tour")&&(this.rootStore.uiState.list={type:"search",text:"",focused:!1}),this.rootStore.fp.hidePathways()}}})();export default j;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.16",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@expofp/renderer": "3.1.6",
|
|
39
|
-
"@sentry/core": "^10.
|
|
40
|
-
"@sentry/react": "^10.
|
|
39
|
+
"@sentry/core": "^10.54.0",
|
|
40
|
+
"@sentry/react": "^10.54.0",
|
|
41
41
|
"bowser": "^2.7.0",
|
|
42
42
|
"classnames": "^2.2.6",
|
|
43
43
|
"color": "^3.1.2",
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
"fuse.js": "7.3.0",
|
|
54
54
|
"history": "^4.10.1",
|
|
55
55
|
"i18next": "^19.4.4",
|
|
56
|
-
"jspdf": "^1.5.3",
|
|
57
56
|
"lz-string": "^1.4.4",
|
|
58
57
|
"mapbox-gl": "^2.7.0",
|
|
59
58
|
"mobx": "^5.15.0",
|
|
@@ -76,22 +75,22 @@
|
|
|
76
75
|
"twgl.js": "^4.14.0",
|
|
77
76
|
"uuid": "^9.0.1",
|
|
78
77
|
"zod": "4.3.5",
|
|
79
|
-
"@expofp/
|
|
80
|
-
"@expofp/
|
|
78
|
+
"@expofp/resolve": "3.2.16",
|
|
79
|
+
"@expofp/debug": "3.2.16"
|
|
81
80
|
},
|
|
82
81
|
"devDependencies": {
|
|
83
|
-
"@babel/plugin-proposal-decorators": "^7.29.
|
|
84
|
-
"@babel/plugin-transform-class-properties": "^7.
|
|
85
|
-
"@sentry/vite-plugin": "^5.
|
|
82
|
+
"@babel/plugin-proposal-decorators": "^7.29.7",
|
|
83
|
+
"@babel/plugin-transform-class-properties": "^7.29.7",
|
|
84
|
+
"@sentry/vite-plugin": "^5.3.0",
|
|
86
85
|
"@types/d3": "^7.1.0",
|
|
87
86
|
"@types/lz-string": "1.3.32",
|
|
88
87
|
"@types/mapbox-gl": "^2.6.3",
|
|
89
88
|
"@types/three": "0.174.0",
|
|
90
|
-
"@vitejs/plugin-react": "^6.0.
|
|
89
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
91
90
|
"react": "^19.2.6",
|
|
92
91
|
"react-dom": "^19.2.6",
|
|
93
92
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
94
|
-
"sass-embedded": "^1.
|
|
93
|
+
"sass-embedded": "^1.100.0"
|
|
95
94
|
},
|
|
96
95
|
"peerDependencies": {
|
|
97
96
|
"react": "^19.2.6",
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='undefined') return; var shadow=!forceLightDom&&typeof window!=='undefined'&&window.__efpShadowDOMStyleParent; var parent=shadow||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
|
|
2
|
-
(function() {
|
|
3
|
-
try {
|
|
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.2.14" };
|
|
6
|
-
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2fcad7c1-e540-4e3f-9eeb-2cba5b766c10", e._sentryDebugIdIdentifier = "sentry-dbid-2fcad7c1-e540-4e3f-9eeb-2cba5b766c10");
|
|
8
|
-
} catch {}
|
|
9
|
-
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-DB8Ddt08.js";
|
|
11
|
-
import { t } from "./react-C3o_QT06.js";
|
|
12
|
-
import { t as n } from "./jsx-runtime-B2BgIlMm.js";
|
|
13
|
-
import { _ as r, b as i, h as a, l as o, m as s, v as c } from "./i18n-BOl9oxrx.js";
|
|
14
|
-
import { t as l } from "./classnames-CHmxGkvV.js";
|
|
15
|
-
//#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.6/node_modules/mobx-react-lite/dist/index.module.js
|
|
16
|
-
var u = /* @__PURE__ */ e(t());
|
|
17
|
-
if (!u.useState) throw Error("mobx-react-lite requires React with Hooks support");
|
|
18
|
-
if (!c) throw Error("mobx-react-lite requires mobx at least version 4 to be available");
|
|
19
|
-
var d = !1;
|
|
20
|
-
function f() {
|
|
21
|
-
return d;
|
|
22
|
-
}
|
|
23
|
-
var p = function() {
|
|
24
|
-
return p = Object.assign || function(e) {
|
|
25
|
-
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
26
|
-
return e;
|
|
27
|
-
}, p.apply(this, arguments);
|
|
28
|
-
};
|
|
29
|
-
function m(e, t) {
|
|
30
|
-
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
31
|
-
if (!n) return e;
|
|
32
|
-
var r = n.call(e), i, a = [], o;
|
|
33
|
-
try {
|
|
34
|
-
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
|
|
35
|
-
} catch (e) {
|
|
36
|
-
o = { error: e };
|
|
37
|
-
} finally {
|
|
38
|
-
try {
|
|
39
|
-
i && !i.done && (n = r.return) && n.call(r);
|
|
40
|
-
} finally {
|
|
41
|
-
if (o) throw o.error;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return a;
|
|
45
|
-
}
|
|
46
|
-
function h(e) {
|
|
47
|
-
return e.current ? s(e.current) : "<unknown>";
|
|
48
|
-
}
|
|
49
|
-
var g = [];
|
|
50
|
-
function _(e) {
|
|
51
|
-
(0, u.useEffect)(function() {
|
|
52
|
-
return e;
|
|
53
|
-
}, g);
|
|
54
|
-
}
|
|
55
|
-
function v() {
|
|
56
|
-
var e = m((0, u.useState)(0), 2)[1];
|
|
57
|
-
return (0, u.useCallback)(function() {
|
|
58
|
-
e(function(e) {
|
|
59
|
-
return e + 1;
|
|
60
|
-
});
|
|
61
|
-
}, []);
|
|
62
|
-
}
|
|
63
|
-
function y(e) {
|
|
64
|
-
if (!e || typeof e != "object") return !1;
|
|
65
|
-
var t = Object.getPrototypeOf(e);
|
|
66
|
-
return !t || t === Object.prototype;
|
|
67
|
-
}
|
|
68
|
-
var b = {};
|
|
69
|
-
function x(e, t, n) {
|
|
70
|
-
if (t === void 0 && (t = "observed"), n === void 0 && (n = b), f()) return e();
|
|
71
|
-
var r = (n.useForceUpdate || v)(), i = (0, u.useRef)(null);
|
|
72
|
-
i.current || (i.current = new o("observer(" + t + ")", function() {
|
|
73
|
-
r();
|
|
74
|
-
}));
|
|
75
|
-
var a = function() {
|
|
76
|
-
i.current && !i.current.isDisposed && (i.current.dispose(), i.current = null);
|
|
77
|
-
};
|
|
78
|
-
(0, u.useDebugValue)(i, h), _(function() {
|
|
79
|
-
a();
|
|
80
|
-
});
|
|
81
|
-
var s, c;
|
|
82
|
-
if (i.current.track(function() {
|
|
83
|
-
try {
|
|
84
|
-
s = e();
|
|
85
|
-
} catch (e) {
|
|
86
|
-
c = e;
|
|
87
|
-
}
|
|
88
|
-
}), c) throw a(), c;
|
|
89
|
-
return s;
|
|
90
|
-
}
|
|
91
|
-
function S(e, t) {
|
|
92
|
-
if (f()) return e;
|
|
93
|
-
var n = p({ forwardRef: !1 }, t), r = e.displayName || e.name, i = function(t, n) {
|
|
94
|
-
return x(function() {
|
|
95
|
-
return e(t, n);
|
|
96
|
-
}, r);
|
|
97
|
-
};
|
|
98
|
-
i.displayName = r;
|
|
99
|
-
var a = n.forwardRef ? (0, u.memo)((0, u.forwardRef)(i)) : (0, u.memo)(i);
|
|
100
|
-
return w(e, a), a.displayName = r, a;
|
|
101
|
-
}
|
|
102
|
-
var C = {
|
|
103
|
-
$$typeof: !0,
|
|
104
|
-
render: !0,
|
|
105
|
-
compare: !0,
|
|
106
|
-
type: !0
|
|
107
|
-
};
|
|
108
|
-
function w(e, t) {
|
|
109
|
-
Object.keys(e).forEach(function(n) {
|
|
110
|
-
e.hasOwnProperty(n) && !C[n] && Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
function T(e) {
|
|
114
|
-
var t = e.children, n = e.render, r = t || n;
|
|
115
|
-
return typeof r == "function" ? x(r) : null;
|
|
116
|
-
}
|
|
117
|
-
T.propTypes = {
|
|
118
|
-
children: E,
|
|
119
|
-
render: E
|
|
120
|
-
}, T.displayName = "Observer";
|
|
121
|
-
function E(e, t, n, r, i) {
|
|
122
|
-
var a = t === "children" ? "render" : "children", o = typeof e[t] == "function", s = typeof e[a] == "function";
|
|
123
|
-
return o && s ? /* @__PURE__ */ Error("MobX Observer: Do not use children and render in the same time in`" + n) : o || s ? null : /* @__PURE__ */ Error("Invalid prop `" + i + "` of type `" + typeof e[t] + "` supplied to `" + n + "`, expected `function`.");
|
|
124
|
-
}
|
|
125
|
-
function D(e, t) {
|
|
126
|
-
if (!(t && e === void 0)) {
|
|
127
|
-
var n = m(u.useState(function() {
|
|
128
|
-
return a(e, {}, { deep: !1 });
|
|
129
|
-
}), 1)[0];
|
|
130
|
-
return r(function() {
|
|
131
|
-
Object.assign(n, e);
|
|
132
|
-
}), n;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
function O(e, t) {
|
|
136
|
-
var n = D(t, !0);
|
|
137
|
-
return u.useState(function() {
|
|
138
|
-
var t = a(e(n));
|
|
139
|
-
return y(t) && r(function() {
|
|
140
|
-
Object.keys(t).forEach(function(e) {
|
|
141
|
-
var n = t[e];
|
|
142
|
-
typeof n == "function" && (t[e] = k(n, t));
|
|
143
|
-
});
|
|
144
|
-
}), t;
|
|
145
|
-
})[0];
|
|
146
|
-
}
|
|
147
|
-
function k(e, t) {
|
|
148
|
-
return function() {
|
|
149
|
-
var n = [...arguments];
|
|
150
|
-
return i(function() {
|
|
151
|
-
return e.apply(t, n);
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region src/ui/Button/Button.scss
|
|
157
|
-
var A = /* @__PURE__ */ e(l(), 1), j = n(), M = (e) => {
|
|
158
|
-
let t = e.split(/(#\d+#)/), n = e.match(/#(\d+)#/), r = n ? n[1] : null;
|
|
159
|
-
return {
|
|
160
|
-
content: t.map((e, t) => e.match(/#\d+#/) ? /* @__PURE__ */ (0, j.jsx)("div", {
|
|
161
|
-
className: "efp-button-badge",
|
|
162
|
-
children: r
|
|
163
|
-
}, t) : /* @__PURE__ */ (0, j.jsx)("span", { children: e }, t)),
|
|
164
|
-
hasBadge: !!r
|
|
165
|
-
};
|
|
166
|
-
}, N = ({ children: e, inline: t = !1, text: n, link: r, target: i = "_self", disabled: a = !1, variant: o = "primary", size: s = "lg", ariaLabel: c, title: l, withBadge: u = !1, round: d, onClick: f }) => {
|
|
167
|
-
let p = e == null ? n : e, { content: m, hasBadge: h } = u && typeof p == "string" ? M(p) : {
|
|
168
|
-
content: p,
|
|
169
|
-
hasBadge: !1
|
|
170
|
-
}, g = (0, A.default)("efp-button", `efp-button--${o}`, `efp-button--${s}`, {
|
|
171
|
-
"efp-button--inline": t,
|
|
172
|
-
"is-disabled": a,
|
|
173
|
-
"efp-button--round": d
|
|
174
|
-
});
|
|
175
|
-
return r ? /* @__PURE__ */ (0, j.jsx)("a", {
|
|
176
|
-
href: a ? void 0 : r,
|
|
177
|
-
className: g,
|
|
178
|
-
target: i,
|
|
179
|
-
rel: "noopener noreferrer",
|
|
180
|
-
onClick: a ? void 0 : f,
|
|
181
|
-
onKeyDown: (e) => {
|
|
182
|
-
a || e.key !== " " || (e.preventDefault(), e.currentTarget.click());
|
|
183
|
-
},
|
|
184
|
-
"aria-label": c || void 0,
|
|
185
|
-
title: l || c || (typeof p == "string" ? p : void 0),
|
|
186
|
-
role: "button",
|
|
187
|
-
"aria-disabled": a,
|
|
188
|
-
tabIndex: a ? -1 : 0,
|
|
189
|
-
children: m
|
|
190
|
-
}) : /* @__PURE__ */ (0, j.jsx)("button", {
|
|
191
|
-
type: "button",
|
|
192
|
-
className: g,
|
|
193
|
-
disabled: a,
|
|
194
|
-
onClick: f,
|
|
195
|
-
"aria-label": c || void 0,
|
|
196
|
-
title: l || c || (typeof p == "string" ? p : void 0),
|
|
197
|
-
children: m
|
|
198
|
-
});
|
|
199
|
-
};
|
|
200
|
-
//#endregion
|
|
201
|
-
export { x as i, S as n, O as r, N as t };
|
|
202
|
-
|
|
203
|
-
;/* vite-per-chunk-css */
|
|
204
|
-
__vite_inject_css__(".efp-button,a.efp-button{justify-content:center;align-items:center;gap:calc(.375rem * var(--ui-scale));width:100%;max-width:calc(25rem * var(--ui-scale));border-radius:var(--border-radius-full);font-family:var(--app-font-family);font-weight:var(--font-weight-medium);cursor:pointer;border:0;outline:none;text-decoration:none;transition:background-color .1s ease-in-out;display:flex}.efp-button:hover,a.efp-button:hover{background:var(--color-primary-dark);color:var(--color-white)}.efp-button:active,a.efp-button:active{box-shadow:0 0 8px #3d91f74d}.efp-button:disabled,.efp-button--disabled,a.efp-button:disabled,a.efp-button--disabled{background:var(--color-gray-500);pointer-events:none}.efp-button:disabled:hover,.efp-button:disabled:active,.efp-button--disabled:hover,.efp-button--disabled:active,a.efp-button:disabled:hover,a.efp-button:disabled:active,a.efp-button--disabled:hover,a.efp-button--disabled:active{background:var(--color-gray-500);box-shadow:unset}.efp-button--primary,a.efp-button--primary{background:var(--color-primary);color:var(--color-white)}.efp-button--primary .efp-button-badge,a.efp-button--primary .efp-button-badge,.efp-button--primary:hover,.efp-button--primary:active,a.efp-button--primary:hover,a.efp-button--primary:active{background:var(--color-primary-dark);color:var(--color-white)}.efp-button--primary:hover .efp-button-badge,.efp-button--primary:active .efp-button-badge,a.efp-button--primary:hover .efp-button-badge,a.efp-button--primary:active .efp-button-badge{background:var(--color-primary-ultra-dark)}.efp-button--secondary,a.efp-button--secondary{background:var(--color-primary-ultra-light);color:var(--color-primary)}.efp-button--secondary .efp-button-badge,a.efp-button--secondary .efp-button-badge{background:var(--color-white);color:var(--color-primary)}.efp-button--secondary:hover,.efp-button--secondary:active,a.efp-button--secondary:hover,a.efp-button--secondary:active{background:var(--color-primary-ultra-light);color:var(--color-primary-dark)}.efp-button--secondary:hover .efp-button-badge,.efp-button--secondary:active .efp-button-badge,a.efp-button--secondary:hover .efp-button-badge,a.efp-button--secondary:active .efp-button-badge{color:var(--color-primary-dark)}.efp-button--gray,a.efp-button--gray{background:var(--color-gray-200);color:var(--color-black)}.efp-button--gray .efp-button-badge,a.efp-button--gray .efp-button-badge,.efp-button--gray:hover,.efp-button--gray:active,a.efp-button--gray:hover,a.efp-button--gray:active{background:var(--color-gray-300);color:var(--color-black)}.efp-button--gray:disabled,.efp-button--gray--disabled,a.efp-button--gray:disabled,a.efp-button--gray--disabled,.efp-button--gray:disabled:hover,.efp-button--gray:disabled:active,.efp-button--gray--disabled:hover,.efp-button--gray--disabled:active,a.efp-button--gray:disabled:hover,a.efp-button--gray:disabled:active,a.efp-button--gray--disabled:hover,a.efp-button--gray--disabled:active{background:var(--color-gray-100);color:var(--color-gray-400)}.efp-viewer-mode .efp-button--gray,.efp-viewer-mode a.efp-button--gray{background:#ebeef3}.efp-button--gray-border,a.efp-button--gray-border{background:var(--color-white);border:1px solid var(--color-gray-300);color:var(--color-black)}.efp-button--gray-border .efp-button-badge,a.efp-button--gray-border .efp-button-badge{background:var(--color-gray-200);color:var(--color-black)}.efp-button--gray-border:hover,.efp-button--gray-border:active,a.efp-button--gray-border:hover,a.efp-button--gray-border:active{background:var(--color-gray-300);color:var(--color-black)}.efp-button--gray-border:hover .efp-button-badge,.efp-button--gray-border:active .efp-button-badge,a.efp-button--gray-border:hover .efp-button-badge,a.efp-button--gray-border:active .efp-button-badge{background:var(--color-gray-400)}.efp-button--ghost,a.efp-button--ghost{color:var(--color-gray-900);background:0 0;border:0}.efp-button--ghost .efp-button-badge,a.efp-button--ghost .efp-button-badge,.efp-button--ghost:hover,.efp-button--ghost:active,a.efp-button--ghost:hover,a.efp-button--ghost:active{background:var(--color-gray-200);color:var(--color-black)}.efp-button--ghost:hover .efp-button-badge,.efp-button--ghost:active .efp-button-badge,a.efp-button--ghost:hover .efp-button-badge,a.efp-button--ghost:active .efp-button-badge{background:var(--color-gray-300)}.efp-button--lg,a.efp-button--lg{min-width:calc(10rem * var(--ui-scale));min-height:calc(2.625rem * var(--ui-scale));padding:calc(.5rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));font-size:var(--font-size-xl)}.efp-button--lg .efp-button-badge,a.efp-button--lg .efp-button-badge{min-width:calc(1.875rem * var(--ui-scale));height:calc(1.875rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-viewer-mode .efp-button--lg,.efp-viewer-mode a.efp-button--lg{min-height:calc(3.5rem * var(--ui-scale));font-size:calc(1.125rem * var(--ui-scale));font-weight:var(--font-weight-bold)}.efp-button--md,a.efp-button--md{min-width:calc(8.75rem * var(--ui-scale));min-height:calc(2.375rem * var(--ui-scale));padding:calc(.375rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));font-size:var(--font-size-lg)}.efp-button--md .efp-button-badge,a.efp-button--md .efp-button-badge{min-width:calc(1.625rem * var(--ui-scale));height:calc(1.625rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-button--sm,a.efp-button--sm{min-width:calc(6.25rem * var(--ui-scale));min-height:calc(1.875rem * var(--ui-scale));padding:calc(.25rem * var(--ui-scale)) calc(1rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-button--sm .efp-button-badge,a.efp-button--sm .efp-button-badge{min-width:calc(1.375rem * var(--ui-scale));height:calc(1.375rem * var(--ui-scale));font-size:var(--font-size-xs)}.efp-button--inline,a.efp-button--inline{width:auto;min-width:auto;display:inline-flex}.efp-button--round,a.efp-button--round{width:auto;min-width:auto;height:auto;min-height:auto;padding:calc(.5rem * var(--ui-scale))}.efp-button--round i,a.efp-button--round i{font-size:var(--icon-size-xs)}.efp-button--danger,a.efp-button--danger{background:var(--color-red);color:var(--color-white)}.efp-button--danger:hover,.efp-button--danger:active,a.efp-button--danger:hover,a.efp-button--danger:active{background:var(--color-red-dark)}.efp-button>i,a.efp-button>i{font-size:var(--icon-size-sm)}.efp-button-badge{padding:0 calc(.3125rem * var(--ui-scale));border-radius:var(--border-radius-full);justify-content:center;align-items:center;transition:background-color .1s ease-in-out;display:flex}\n/*$vite$:1*/", "Button.css", false);
|