@expofp/floorplan 3.2.13 → 3.2.14
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-BdvuWzrR.js +204 -0
- package/dist/browser/CookieConsent-bTG3GDKg.js +71 -0
- package/dist/browser/{Debug-DGpD6gi3.js → Debug-CjX9xriA.js} +8 -7
- package/dist/browser/{Demo-D58NFoyc.js → Demo-D66SE96z.js} +12 -11
- package/dist/browser/{Free-0cQAwFKa.js → Free-ouV3S0cy.js} +12 -11
- package/dist/browser/{Gallery-CPVZPQ00.js → Gallery-Bm4oVw4n.js} +608 -642
- package/dist/browser/{GpsLoader-qwW4aTNa.js → GpsLoader-BheKXFiI.js} +49 -47
- package/dist/browser/{KioskStore-IujhAAGe.js → KioskStore-CYaE9WLG.js} +62 -62
- package/dist/browser/{Mapbox-BEIVuKI-.js → Mapbox-CDlR6UrM.js} +40 -39
- package/dist/browser/Modal-DS2N0vIo.js +105 -0
- package/dist/browser/{SetKioskMode-DlUxPyq5.js → SetKioskMode-DofzJB3e.js} +18 -17
- package/dist/browser/{ShowKiosk-DzPcuttS.js → ShowKiosk-UX2N2NU3.js} +11 -10
- package/dist/browser/{ThreeComponent-D7GyVwct.js → ThreeComponent-CglSG5wI.js} +248 -247
- package/dist/browser/{TouchHand-DUyEIum1.js → TouchHand-DvgAAuKo.js} +15 -14
- package/dist/browser/{ViewerMenuPanel-DQds_0Se.js → ViewerMenuPanel-KPn2i2KL.js} +22 -21
- package/dist/browser/{add-debug-secret-listener-BoLrZL18.js → add-debug-secret-listener-BN00-9E4.js} +1 -1
- package/dist/browser/{boolean-editor-D439oELN.js → boolean-editor-fbHiF9vJ.js} +11 -11
- package/dist/browser/{bootIntercom-C0fIuZrS.js → bootIntercom-CKo2IztD.js} +3 -3
- package/dist/browser/{box-DQ37DLtr.js → box-B2jxGgXa.js} +6 -6
- package/dist/browser/{browser-BWeq0ALX.js → browser-vqeti97Y.js} +2 -2
- package/dist/browser/bundle.json +68 -53
- package/dist/browser/{classnames-BqhGxx8b.js → classnames-CHmxGkvV.js} +2 -2
- package/dist/browser/{client-DpMmqnL3.js → client-pnzfy6PK.js} +5 -5
- package/dist/browser/components-DVzc3v5I.js +8145 -0
- package/dist/browser/{data-BGGzJSZ3.js → data-BmUUjPca.js} +43 -43
- package/dist/browser/{debug-overlay-DyHs08sf.js → debug-overlay-B_1ADa5Y.js} +12 -12
- package/dist/browser/{debug-ui-Ds2r10P8.js → debug-ui-DBOzEUkM.js} +7 -7
- package/dist/browser/{dist-CXnrXk8a.js → dist-0qGu5ADv.js} +3 -3
- package/dist/browser/{dist-C8-R05Uf.js → dist-BpuX8MZ6.js} +7 -7
- package/dist/browser/{dist-DeJCQ-ni.js → dist-DblWkNUV.js} +6 -6
- package/dist/browser/{efp-debug-init-BAaVZ-Sv.js → efp-debug-init-BwJWCRkJ.js} +3 -3
- package/dist/browser/{enum-editor-bO-7z_65.js → enum-editor-BYkKqvGq.js} +12 -12
- package/dist/browser/{exports-DuxaY9F1.js → exports-BRRDMtlG.js} +1 -1
- package/dist/browser/{favicon-BiX13mYV.js → favicon-C_bgpvWA.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BxHhVEQ9.js → fetch-retry.umd-Dinto0ag.js} +2 -2
- package/dist/browser/{flex-DznufWy4.js → flex-uHBCXaOV.js} +7 -7
- package/dist/browser/{flex.props-CBBCApDT.js → flex.props-eBOcuRMU.js} +3 -3
- package/dist/browser/{floorplan.loader-CYCz53F2.js → floorplan.loader-CMXBnLtZ.js} +650 -649
- package/dist/browser/{floorplan.ready-t0OqKoP2.js → floorplan.ready-UbtSin_R.js} +215 -215
- package/dist/browser/{fuse-2x0Yl6bu.js → fuse-CgTQNNsn.js} +2 -2
- package/dist/browser/{is-debug-Dj3mKaHR.js → i18n-BOl9oxrx.js} +774 -883
- package/dist/browser/index.js +12 -12
- package/dist/browser/is-debug-DMN58EYn.js +122 -0
- package/dist/browser/{jsx-runtime-DS_WWXud.js → jsx-runtime-B2BgIlMm.js} +2 -2
- package/dist/browser/{lib-Bt7PWtNh.js → lib-DByP5YwC.js} +5 -5
- package/dist/browser/{main-DK2hJr48.js → main-D3mbrWsr.js} +1 -1
- package/dist/browser/{mobx-BcjkYuCb.js → mobx-CdvsVcc9.js} +5 -5
- package/dist/browser/{particles.min-BGHzdrAw.js → particles.min-DfI3C-qp.js} +2 -2
- package/dist/browser/{prop-types-DwnAO0Yi.js → prop-types-B6zERU6Z.js} +2 -2
- package/dist/browser/{react-DddeiwYl.js → react-C3o_QT06.js} +2 -2
- package/dist/browser/{react-dom-D8AyYBO2.js → react-dom-sBqrMskT.js} +3 -3
- package/dist/browser/{reset-all-settings-BMiI_ZFm.js → reset-all-settings-BwKg7iVu.js} +8 -8
- package/dist/browser/{rolldown-runtime-DaP-Mfpn.js → rolldown-runtime-DB8Ddt08.js} +1 -1
- package/dist/browser/{settings-Bbym8GNQ.js → settings-BLMQJ1yq.js} +2 -2
- package/dist/browser/{settings-item-D8MTM1Pj.js → settings-item-C19s0haM.js} +7 -7
- package/dist/browser/{store-nbxV99WZ.js → store-CQE29UCE.js} +5684 -5862
- package/dist/browser/{string-editor-BSj1Zdr7.js → string-editor-DyFEQo_P.js} +9 -9
- package/dist/browser/{theme-Bo2UyA3Q.js → theme-CrwkiIG5.js} +9 -9
- package/dist/browser/{ui-C5q_HiUr.js → ui-MUJDbhD1.js} +9 -9
- package/dist/browser/useRenderTarget-Pk0fGZOz.js +48 -0
- package/dist/esm/components/AlertContainer.d.ts +5 -0
- package/dist/esm/components/AlertContainer.js +1 -0
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/EntityItem.d.ts +1 -0
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +5 -0
- package/dist/esm/components/EntityItemContainer.js +1 -0
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EntityListRow.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/GlobalErrorMessage.js +1 -1
- package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
- package/dist/esm/components/HighlightTextContainer.js +1 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +2 -2
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.d.ts +0 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/Modal.d.ts +2 -1
- package/dist/esm/components/Modal.js +1 -1
- package/dist/esm/components/Overlay.d.ts +1 -0
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
- package/dist/esm/components/RebookingNotes.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/SidebarActions.js +1 -1
- package/dist/esm/components/SimpleRow.js +1 -1
- package/dist/esm/components/Speakers.js +1 -1
- package/dist/esm/components/ToursList.js +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
- package/dist/esm/components/WayfindingFloorSelectorContainer.js +1 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +6 -8
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/index.d.ts +22 -22
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/stories/CookieConsent.stories.js +1 -1
- package/dist/esm/components/stories/Modal.stories.d.ts +5 -0
- package/dist/esm/components/stories/Modal.stories.js +1 -0
- package/dist/esm/components/stories/Share.stories.d.ts +5 -0
- package/dist/esm/components/stories/Share.stories.js +1 -0
- package/dist/esm/components/stories/{CheckboxButton.stories.d.ts → WayInformation.stories.d.ts} +1 -1
- package/dist/esm/components/stories/WayfindingTemplate.stories.d.ts +5 -0
- package/dist/esm/components/stories/WayfindingTemplate.stories.js +1 -0
- package/dist/esm/store/RoutePlannerStore.d.ts +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/storybook/store/index.stub.d.ts +4 -0
- package/dist/esm/storybook/store/index.stub.js +1 -1
- package/dist/esm/{components → ui/Alert}/Alert.d.ts +3 -3
- package/dist/esm/ui/Alert/Alert.js +1 -0
- package/dist/esm/{components/stories → ui/Alert}/Alert.stories.d.ts +1 -1
- package/dist/esm/ui/Alert/Alert.stories.js +1 -0
- package/dist/esm/ui/Alert/index.d.ts +3 -0
- package/dist/esm/ui/Alert/index.js +1 -0
- package/dist/esm/{components → ui/Badge}/Badge.d.ts +1 -2
- package/dist/esm/ui/Badge/Badge.stories.d.ts +5 -0
- package/dist/esm/ui/Badge/Badge.stories.js +1 -0
- package/dist/esm/ui/Badge/index.d.ts +3 -0
- package/dist/esm/ui/Badge/index.js +1 -0
- package/dist/esm/{components → ui/Button}/Button.d.ts +2 -2
- package/dist/esm/ui/Button/Button.js +1 -0
- package/dist/esm/ui/Button/Button.stories.d.ts +5 -0
- package/dist/esm/ui/Button/Button.stories.js +1 -0
- package/dist/esm/ui/Button/index.d.ts +3 -0
- package/dist/esm/ui/Button/index.js +1 -0
- package/dist/esm/ui/Checkbox/Checkbox.d.ts +18 -0
- package/dist/esm/ui/Checkbox/Checkbox.js +1 -0
- package/dist/esm/ui/Checkbox/Checkbox.stories.d.ts +5 -0
- package/dist/esm/ui/Checkbox/Checkbox.stories.js +1 -0
- package/dist/esm/ui/Checkbox/index.d.ts +3 -0
- package/dist/esm/ui/Checkbox/index.js +1 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +11 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.d.ts +5 -0
- package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.js +1 -0
- package/dist/esm/ui/CheckboxButton/index.d.ts +3 -0
- package/dist/esm/ui/CheckboxButton/index.js +1 -0
- package/dist/esm/ui/HighlightText/HighlightText.d.ts +6 -0
- package/dist/esm/ui/HighlightText/HighlightText.js +1 -0
- package/dist/esm/ui/HighlightText/HighlightText.stories.d.ts +7 -0
- package/dist/esm/ui/HighlightText/HighlightText.stories.js +1 -0
- package/dist/esm/ui/HighlightText/index.d.ts +2 -0
- package/dist/esm/ui/HighlightText/index.js +1 -0
- package/dist/esm/ui/Radio/Radio.d.ts +14 -0
- package/dist/esm/ui/Radio/Radio.js +1 -0
- package/dist/esm/ui/Radio/Radio.stories.d.ts +18 -0
- package/dist/esm/ui/Radio/Radio.stories.js +1 -0
- package/dist/esm/ui/Radio/index.d.ts +3 -0
- package/dist/esm/ui/Radio/index.js +1 -0
- package/dist/esm/ui/Spinner/Spinner.d.ts +8 -0
- package/dist/esm/ui/Spinner/Spinner.js +1 -0
- package/dist/esm/ui/Spinner/Spinner.stories.d.ts +5 -0
- package/dist/esm/ui/Spinner/Spinner.stories.js +1 -0
- package/dist/esm/ui/Spinner/index.d.ts +3 -0
- package/dist/esm/ui/Spinner/index.js +1 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +16 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.stories.d.ts +5 -0
- package/dist/esm/ui/ToggleButton/ToggleButton.stories.js +1 -0
- package/dist/esm/ui/ToggleButton/index.d.ts +3 -0
- package/dist/esm/ui/ToggleButton/index.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +17 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.d.ts +5 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.js +1 -0
- package/dist/esm/ui/ToggleSwitch/index.d.ts +3 -0
- package/dist/esm/ui/ToggleSwitch/index.js +1 -0
- package/dist/esm/ui/TouchHand/TouchHand.d.ts +4 -0
- package/dist/esm/ui/TouchHand/TouchHand.js +1 -0
- package/dist/esm/ui/TouchHand/TouchHand.stories.d.ts +5 -0
- package/dist/esm/ui/TouchHand/TouchHand.stories.js +1 -0
- package/dist/esm/ui/TouchHand/index.d.ts +2 -0
- package/dist/esm/ui/TouchHand/index.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +23 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.d.ts +5 -0
- package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.js +1 -0
- package/dist/esm/ui/WayfindingFloorSelector/index.d.ts +3 -0
- package/dist/esm/ui/WayfindingFloorSelector/index.js +1 -0
- package/package.json +3 -3
- package/dist/browser/CookieConsent-l5gCtFOx.js +0 -8234
- package/dist/esm/components/Alert.js +0 -1
- package/dist/esm/components/Button.js +0 -1
- package/dist/esm/components/Checkbox.d.ts +0 -13
- package/dist/esm/components/Checkbox.js +0 -1
- package/dist/esm/components/CheckboxButton.d.ts +0 -11
- package/dist/esm/components/CheckboxButton.js +0 -1
- package/dist/esm/components/HighlightText.d.ts +0 -6
- package/dist/esm/components/HighlightText.js +0 -1
- package/dist/esm/components/LayersLoading.d.ts +0 -9
- package/dist/esm/components/LayersLoading.js +0 -1
- package/dist/esm/components/Radio.d.ts +0 -12
- package/dist/esm/components/Radio.js +0 -1
- package/dist/esm/components/ToggleButton.d.ts +0 -11
- package/dist/esm/components/ToggleButton.js +0 -1
- package/dist/esm/components/ToggleSwitch.d.ts +0 -12
- package/dist/esm/components/ToggleSwitch.js +0 -1
- package/dist/esm/components/TouchHand.d.ts +0 -4
- package/dist/esm/components/TouchHand.js +0 -1
- package/dist/esm/components/WayfindingFloorSelector.d.ts +0 -21
- package/dist/esm/components/WayfindingFloorSelector.js +0 -1
- package/dist/esm/components/stories/Alert.stories.js +0 -1
- package/dist/esm/components/stories/Badge.stories.d.ts +0 -5
- package/dist/esm/components/stories/Badge.stories.js +0 -1
- package/dist/esm/components/stories/Button.stories.d.ts +0 -5
- package/dist/esm/components/stories/Button.stories.js +0 -1
- package/dist/esm/components/stories/Checkbox.stories.d.ts +0 -5
- package/dist/esm/components/stories/Checkbox.stories.js +0 -1
- package/dist/esm/components/stories/CheckboxButton.stories.js +0 -1
- package/dist/esm/components/stories/Loading.stories.d.ts +0 -5
- package/dist/esm/components/stories/Loading.stories.js +0 -1
- package/dist/esm/components/stories/Modal.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/Modal.storiesss.js +0 -1
- package/dist/esm/components/stories/Radio.stories.d.ts +0 -10
- package/dist/esm/components/stories/Radio.stories.js +0 -1
- package/dist/esm/components/stories/Share.storiesSS.d.ts +0 -5
- package/dist/esm/components/stories/Share.storiesSS.js +0 -1
- package/dist/esm/components/stories/ToggleButton.stories.d.ts +0 -5
- package/dist/esm/components/stories/ToggleButton.stories.js +0 -1
- package/dist/esm/components/stories/ToggleSwitch.stories.d.ts +0 -5
- package/dist/esm/components/stories/ToggleSwitch.stories.js +0 -1
- package/dist/esm/components/stories/TouchHand.stories.d.ts +0 -5
- package/dist/esm/components/stories/TouchHand.stories.js +0 -1
- package/dist/esm/components/stories/WayInformation.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.js +0 -1
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.d.ts +0 -5
- package/dist/esm/components/stories/WayfindingTemplate.storiesss.js +0 -1
- /package/dist/esm/components/stories/{WayInformation.storiesss.js → WayInformation.stories.js} +0 -0
- /package/dist/esm/{components → ui/Badge}/Badge.js +0 -0
|
@@ -0,0 +1,105 @@
|
|
|
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] = "566d3ab1-7fd5-414a-b2a3-66b2cbd2fb2d", e._sentryDebugIdIdentifier = "sentry-dbid-566d3ab1-7fd5-414a-b2a3-66b2cbd2fb2d");
|
|
8
|
+
} catch {}
|
|
9
|
+
})();
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-DB8Ddt08.js";
|
|
11
|
+
import { t as n } from "./react-C3o_QT06.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-B2BgIlMm.js";
|
|
13
|
+
import { s as i } from "./i18n-BOl9oxrx.js";
|
|
14
|
+
import { t as a } from "./react-dom-sBqrMskT.js";
|
|
15
|
+
import { t as o } from "./classnames-CHmxGkvV.js";
|
|
16
|
+
import { t as s } from "./Button-BdvuWzrR.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-Pk0fGZOz.js";
|
|
18
|
+
//#region src/components/Modal.scss
|
|
19
|
+
var l = /* @__PURE__ */ t(n(), 1), u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ t(o(), 1), f = /* @__PURE__ */ e({ default: () => m }), p = r(), m = ({ open: e, className: t, type: n = "default", title: r, badge: a, maxWidth: o, children: f, closeLabel: m, footerLeft: h = [], footerRight: g = [], onClickClose: _ }) => {
|
|
20
|
+
let v = c(), y = (0, l.useRef)(null), [b, x] = (0, l.useState)(e), [S, C] = (0, l.useState)(e);
|
|
21
|
+
if ((0, l.useEffect)(() => {
|
|
22
|
+
if (e) C(!0), setTimeout(() => {
|
|
23
|
+
x(!0);
|
|
24
|
+
}, 10), document.body.style.overflow = "hidden", setTimeout(() => {
|
|
25
|
+
var e;
|
|
26
|
+
return (e = y.current) == null ? void 0 : e.focus();
|
|
27
|
+
}, 0);
|
|
28
|
+
else {
|
|
29
|
+
x(!1);
|
|
30
|
+
let e = setTimeout(() => {
|
|
31
|
+
C(!1);
|
|
32
|
+
}, 200);
|
|
33
|
+
return () => clearTimeout(e);
|
|
34
|
+
}
|
|
35
|
+
let t = (e) => {
|
|
36
|
+
e.key === "Escape" && _();
|
|
37
|
+
};
|
|
38
|
+
return document.addEventListener("keydown", t), () => {
|
|
39
|
+
document.removeEventListener("keydown", t), document.body.style.overflow = "";
|
|
40
|
+
};
|
|
41
|
+
}, [e, _]), !S || !v) return null;
|
|
42
|
+
let w = m == null ? i("Close") : m, T = (e) => e == null ? void 0 : e.map(({ label: e, onClick: t, variant: n = "primary", disabled: r, withBadge: i }, a) => /* @__PURE__ */ (0, p.jsx)(s, {
|
|
43
|
+
onClick: t,
|
|
44
|
+
variant: n,
|
|
45
|
+
size: "md",
|
|
46
|
+
inline: !0,
|
|
47
|
+
disabled: r,
|
|
48
|
+
withBadge: i,
|
|
49
|
+
children: e
|
|
50
|
+
}, a));
|
|
51
|
+
return (0, u.createPortal)(/* @__PURE__ */ (0, p.jsx)("div", {
|
|
52
|
+
className: (0, d.default)("modal", `modal--${n}`, { isOpen: b }, t),
|
|
53
|
+
role: "dialog",
|
|
54
|
+
"aria-modal": "true",
|
|
55
|
+
ref: y,
|
|
56
|
+
tabIndex: -1,
|
|
57
|
+
onClick: _,
|
|
58
|
+
children: /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
59
|
+
className: "modal__box",
|
|
60
|
+
style: o ? { maxWidth: `${o}px` } : void 0,
|
|
61
|
+
onClick: (e) => e.stopPropagation(),
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
64
|
+
className: "modal__header",
|
|
65
|
+
children: [/* @__PURE__ */ (0, p.jsx)("div", {
|
|
66
|
+
className: "modal__title-container",
|
|
67
|
+
children: /* @__PURE__ */ (0, p.jsx)("div", {
|
|
68
|
+
className: "modal__title",
|
|
69
|
+
children: r
|
|
70
|
+
})
|
|
71
|
+
}), /* @__PURE__ */ (0, p.jsx)("button", {
|
|
72
|
+
type: "button",
|
|
73
|
+
className: "modal__close",
|
|
74
|
+
onClick: _,
|
|
75
|
+
"aria-label": w,
|
|
76
|
+
title: w,
|
|
77
|
+
children: /* @__PURE__ */ (0, p.jsx)("i", {
|
|
78
|
+
className: "icon-close",
|
|
79
|
+
"aria-hidden": "true"
|
|
80
|
+
})
|
|
81
|
+
})]
|
|
82
|
+
}),
|
|
83
|
+
/* @__PURE__ */ (0, p.jsx)("div", {
|
|
84
|
+
className: "modal__body",
|
|
85
|
+
children: f
|
|
86
|
+
}),
|
|
87
|
+
(h.length > 0 || g.length > 0) && /* @__PURE__ */ (0, p.jsxs)("div", {
|
|
88
|
+
className: "modal__footer",
|
|
89
|
+
children: [/* @__PURE__ */ (0, p.jsx)("div", {
|
|
90
|
+
className: "modal__footer-left",
|
|
91
|
+
children: h.length > 0 && T(h)
|
|
92
|
+
}), g.length > 0 && /* @__PURE__ */ (0, p.jsx)("div", {
|
|
93
|
+
className: "modal__footer-right",
|
|
94
|
+
children: T(g)
|
|
95
|
+
})]
|
|
96
|
+
})
|
|
97
|
+
]
|
|
98
|
+
})
|
|
99
|
+
}), v);
|
|
100
|
+
};
|
|
101
|
+
//#endregion
|
|
102
|
+
export { f as n, m as t };
|
|
103
|
+
|
|
104
|
+
;/* vite-per-chunk-css */
|
|
105
|
+
__vite_inject_css__(".modal{z-index:999;width:100%;height:100%;padding:calc(1.25rem * var(--ui-scale));opacity:0;visibility:hidden;background:#a3a8afcc;justify-content:center;align-items:center;transition:opacity .2s,visibility .2s;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.modal__box{width:100%;max-height:94vh;background:var(--color-white);border-radius:var(--border-radius-xl);max-height:94dvh;box-shadow:var(--shadow-md);opacity:0;flex-direction:column;transition:opacity .1s,transform .2s;display:flex;position:relative;overflow:hidden;transform:translateY(100px)}.modal__header{width:100%;min-height:calc(3.75rem * var(--ui-scale));padding:calc(.625rem * var(--ui-scale)) calc(3.125rem * var(--ui-scale)) calc(.625rem * var(--ui-scale)) calc(1.5rem * var(--ui-scale));border-bottom:1px solid var(--color-gray-200);flex-shrink:0;align-items:center;display:flex}.modal__title-container{align-items:center;gap:calc(1.25rem * var(--ui-scale));display:flex}.modal__title{align-items:center;gap:calc(.625rem * var(--ui-scale));font-size:var(--font-size-xxl);font-weight:var(--font-weight-bold);display:flex}.modal__badge{min-width:calc(1.625rem * var(--ui-scale));height:calc(1.625rem * var(--ui-scale));background:var(--color-primary-ultra-light);border-radius:var(--border-radius-full);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--color-primary);justify-content:center;align-items:center;display:flex}.modal__close{top:calc(.5rem * var(--ui-scale));right:calc(.5rem * var(--ui-scale));width:calc(2.5rem * var(--ui-scale));height:calc(2.5rem * var(--ui-scale));border-radius:var(--border-radius-md);opacity:.6;color:var(--color-gray-700);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;transition:opacity .1s,background-color .1s;display:flex;position:absolute}.modal__close:hover{background-color:var(--color-gray-100);opacity:1;color:var(--color-black)}.modal__body{padding:calc(1.5rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));flex:1;min-height:0;overflow:auto}.modal__footer{justify-content:space-between;gap:calc(.625rem * var(--ui-scale));padding:calc(1.25rem * var(--ui-scale));border-top:1px solid var(--color-gray-200);flex-flow:wrap;flex-shrink:0;display:flex}@media (max-width:480px){.modal__footer{padding:calc(.875rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));gap:calc(.875rem * var(--ui-scale))}.modal__footer .efp-button{width:100%;max-width:100%}}.modal__footer-left,.modal__footer-right{align-items:center;gap:calc(0rem * var(--ui-scale));display:flex}.modal__footer-right{flex:1;justify-content:flex-end}@media (max-width:480px){.modal__footer-right{align-self:flex-end}}.modal--default .modal__box{max-width:900px}.modal--share .modal__box{max-width:420px}.modal.isOpen{opacity:1;visibility:visible}.modal.isOpen .modal__box{opacity:1;transform:translateY(0)}@media (max-width:768px){.modal{padding:calc(1.25rem * var(--ui-scale)) 0 0 0;align-items:flex-end}.modal .modal__box{border-radius:0;border-top-left-radius:var(--border-radius-xl);border-top-right-radius:var(--border-radius-xl)}}.layout[dir=rtl] .modal__close{right:unset;left:0}\n/*$vite$:1*/", "Modal.css", false);
|
|
@@ -1,29 +1,30 @@
|
|
|
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.14" };
|
|
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] = "60be06d6-2f70-4210-874c-a6c56195861d", e._sentryDebugIdIdentifier = "sentry-dbid-60be06d6-2f70-4210-874c-a6c56195861d");
|
|
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 {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DB8Ddt08.js";
|
|
10
|
+
import { t } from "./react-C3o_QT06.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-B2BgIlMm.js";
|
|
12
|
+
import { n as r } from "./Button-BdvuWzrR.js";
|
|
13
|
+
import { Mt as i, Nt as a, k as o, o as s } from "./store-CQE29UCE.js";
|
|
14
|
+
import { n as c } from "./mobx-CdvsVcc9.js";
|
|
15
|
+
import { t as l } from "./KioskStore-CYaE9WLG.js";
|
|
15
16
|
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
-
var u = /* @__PURE__ */ e(t(), 1), d = n(), f =
|
|
17
|
+
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = r(() => {
|
|
17
18
|
var e, t, n;
|
|
18
19
|
c(() => {
|
|
19
20
|
Promise.resolve().then(() => l.handleSetupReady());
|
|
20
21
|
}), (0, u.useEffect)(() => {
|
|
21
22
|
let e = ({ ptScale: e, sceneId: t }) => {
|
|
22
|
-
|
|
23
|
+
i(t) && l.setInitialPtScale(e);
|
|
23
24
|
};
|
|
24
25
|
l.renderer.events.addEventListener("viewport:ptscale", e);
|
|
25
26
|
let t = ({ data: e }) => {
|
|
26
|
-
let { point: t } =
|
|
27
|
+
let { point: t } = a(e);
|
|
27
28
|
l.handleClick(t);
|
|
28
29
|
};
|
|
29
30
|
l.renderer.events.addEventListener("pointer:click", t);
|
|
@@ -32,19 +33,19 @@ var u = /* @__PURE__ */ e(t(), 1), d = n(), f = a(() => {
|
|
|
32
33
|
l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
|
|
33
34
|
};
|
|
34
35
|
}, [l.renderer]);
|
|
35
|
-
let
|
|
36
|
+
let r = !!l.kiosk;
|
|
36
37
|
return /* @__PURE__ */ (0, d.jsx)(o, {
|
|
37
|
-
isSaveDisabled:
|
|
38
|
-
isDeleteDisabled: !
|
|
39
|
-
areControlsDisabled: !
|
|
40
|
-
confirmOnClose:
|
|
38
|
+
isSaveDisabled: r ? !l.hasUnsavedChanges : !0,
|
|
39
|
+
isDeleteDisabled: !r,
|
|
40
|
+
areControlsDisabled: !r,
|
|
41
|
+
confirmOnClose: r ? l.hasUnsavedChanges : !1,
|
|
41
42
|
angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
|
|
42
43
|
uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || s.uiState.uiScale,
|
|
43
44
|
minUiScale: s.uiState.minUIScale,
|
|
44
45
|
maxUiScale: s.uiState.maxUIScale,
|
|
45
46
|
uiScaleStep: .01,
|
|
46
47
|
iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
47
|
-
isInfoVisible: !
|
|
48
|
+
isInfoVisible: !r,
|
|
48
49
|
statusMessages: l.statusMessages,
|
|
49
50
|
onClose: () => l.handleClose(),
|
|
50
51
|
onDelete: () => l.handleDelete(),
|
|
@@ -1,19 +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.2.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.2.14" };
|
|
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] = "a6bbabc8-cfcc-4864-ac5a-637408430a32", e._sentryDebugIdIdentifier = "sentry-dbid-a6bbabc8-cfcc-4864-ac5a-637408430a32");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import "./rolldown-runtime-
|
|
10
|
-
import { t as e } from "./react-
|
|
11
|
-
import { t } from "./jsx-runtime-
|
|
12
|
-
import "./
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
9
|
+
import "./rolldown-runtime-DB8Ddt08.js";
|
|
10
|
+
import { t as e } from "./react-C3o_QT06.js";
|
|
11
|
+
import { t } from "./jsx-runtime-B2BgIlMm.js";
|
|
12
|
+
import "./i18n-BOl9oxrx.js";
|
|
13
|
+
import { n } from "./Button-BdvuWzrR.js";
|
|
14
|
+
import { T as r, o as i, w as a } from "./store-CQE29UCE.js";
|
|
15
|
+
import { n as o } from "./mobx-CdvsVcc9.js";
|
|
16
|
+
import { t as s } from "./TouchHand-DvgAAuKo.js";
|
|
17
|
+
import { t as c } from "./KioskStore-CYaE9WLG.js";
|
|
17
18
|
e();
|
|
18
19
|
var l = t(), u = n(() => (o(() => {
|
|
19
20
|
if (localStorage.getItem("kiosk") === "0") return;
|