@expofp/floorplan 3.4.3 → 3.4.4

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.
Files changed (62) hide show
  1. package/dist/browser/{CookieConsent-D4krY97z.js → CookieConsent-RU8FQQCd.js} +7 -7
  2. package/dist/browser/{Debug-BZb5O_UY.js → Debug-BGsk4hzp.js} +6 -6
  3. package/dist/browser/{Demo-BvBhhvRr.js → Demo-DIUMteTt.js} +8 -8
  4. package/dist/browser/{Free-6PcpVVI9.js → Free-BdE_Uona.js} +8 -8
  5. package/dist/browser/{Gallery-fAkkYp7I.js → Gallery-DVScKuga.js} +9 -9
  6. package/dist/browser/{GpsLoader-DjFiBgN7.js → GpsLoader-D1X8Eqo4.js} +8 -8
  7. package/dist/browser/{KioskStore-DG0XOVmu.js → KioskStore-viA5JRCc.js} +4 -4
  8. package/dist/browser/{MaplibreAdapter-BLQZOFFY.js → MaplibreAdapter-VF8yOLwP.js} +8 -8
  9. package/dist/browser/{Modal-DwqOcIWW.js → Modal-DHsg6ol1.js} +9 -9
  10. package/dist/browser/{PermissionNotice-BdgiHNsq.js → PermissionNotice-BPkmVaF5.js} +6 -6
  11. package/dist/browser/{SetKioskMode-DhhD2MdP.js → SetKioskMode-DvFGnjCX.js} +7 -7
  12. package/dist/browser/{ShowKiosk-tXqxrnFh.js → ShowKiosk-jJFVDyH2.js} +9 -9
  13. package/dist/browser/{TouchHand-jLn_nYKs.js → TouchHand-5taypGQU.js} +4 -4
  14. package/dist/browser/{ViewerMenuPanel-CTaFznMx.js → ViewerMenuPanel-hduJKzoy.js} +7 -7
  15. package/dist/browser/{add-debug-secret-listener-BFloTovx.js → add-debug-secret-listener-BrwXK1DM.js} +1 -1
  16. package/dist/browser/{boolean-editor-DxEUePNr.js → boolean-editor-CqRdFrWP.js} +10 -10
  17. package/dist/browser/{bootIntercom-l5E1gNqT.js → bootIntercom-BTG8z9vU.js} +2 -2
  18. package/dist/browser/{box-Cb6ydnvG.js → box-DoYFxAwf.js} +5 -5
  19. package/dist/browser/{browser-BfQE2Gfh.js → browser--Rf0sRXY.js} +2 -2
  20. package/dist/browser/bundle.json +58 -58
  21. package/dist/browser/{classnames-MOohRlRn.js → classnames-Ct8dTIrK.js} +2 -2
  22. package/dist/browser/{client-DlMl5MrE.js → client-vYf0vV38.js} +4 -4
  23. package/dist/browser/{components-ClIAXxQs.js → components-C1V2-JKM.js} +36 -36
  24. package/dist/browser/{createWayfinding-BIU8ftjE.js → createWayfinding-D9qTNMPv.js} +6 -6
  25. package/dist/browser/{debug-overlay-BLsFqg7-.js → debug-overlay-Cn2h5_rz.js} +11 -11
  26. package/dist/browser/{debug-ui-Ciuh_QWT.js → debug-ui-DbImQz2I.js} +6 -6
  27. package/dist/browser/{dist-DdWSv3-H.js → dist-82i-lyo-.js} +6 -6
  28. package/dist/browser/{dist-B7PMfRJb.js → dist-BI-LW2ws.js} +5 -5
  29. package/dist/browser/{dist-CSLg2l5M.js → dist-BNx0EtmW.js} +3 -3
  30. package/dist/browser/{efp-debug-init-BbXd0o7c.js → efp-debug-init-BTYexG9r.js} +2 -2
  31. package/dist/browser/{enum-editor-CJZ14LnW.js → enum-editor-DH5EHyqJ.js} +11 -11
  32. package/dist/browser/{event-not-found-949QgLNx.js → event-not-found-BBRE5n5o.js} +1 -1
  33. package/dist/browser/{exports-DUJAVAK2.js → exports-Bi5zAQqJ.js} +1 -1
  34. package/dist/browser/{favicon-CuHvgxzd.js → favicon-VlB5sRd5.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-YHr1qokX.js → fetch-retry.umd-U7h0n3Dq.js} +2 -2
  36. package/dist/browser/{flex-tOo05HRG.js → flex-CoJkRZEy.js} +6 -6
  37. package/dist/browser/{flex.props-D3IPFVuT.js → flex.props-CRx0TxVt.js} +2 -2
  38. package/dist/browser/{floorplan.loader-BcF_TSIq.js → floorplan.loader-FhlzCboe.js} +11 -11
  39. package/dist/browser/{floorplan.ready-D71LiT7w.js → floorplan.ready-B3vni5L5.js} +11 -11
  40. package/dist/browser/{fuse-C0TR9Cdr.js → fuse-DX8DOcDh.js} +2 -2
  41. package/dist/browser/{i18n-DxAuKFB8.js → i18n-Dn5ptG6H.js} +3 -3
  42. package/dist/browser/index.js +11 -11
  43. package/dist/browser/{jsx-runtime-DiSuEjjt.js → jsx-runtime-B2BT-SRi.js} +2 -2
  44. package/dist/browser/{lib-C4TWfMx1.js → lib-Bo_XVtKq.js} +4 -4
  45. package/dist/browser/{main-lWcTjNPX.js → main-C7TqB1i3.js} +1 -1
  46. package/dist/browser/{mobx-DPhPxHRk.js → mobx-D4l5QaaC.js} +4 -4
  47. package/dist/browser/{particles.min-CceGvAyx.js → particles.min-LG34jrsG.js} +2 -2
  48. package/dist/browser/{prop-types-D9I7zTwO.js → prop-types-xUPuUiEg.js} +2 -2
  49. package/dist/browser/{react-C1Do9xmU.js → react-DTOdy_1e.js} +2 -2
  50. package/dist/browser/{react-dom-BfZbazSf.js → react-dom-wHMy5YFx.js} +3 -3
  51. package/dist/browser/{reset-all-settings-dkIogkEL.js → reset-all-settings-B0qfLacs.js} +7 -7
  52. package/dist/browser/{rolldown-runtime-D8OSys49.js → rolldown-runtime-DL7_uELv.js} +1 -1
  53. package/dist/browser/{settings-DGQnzLUF.js → settings-Ba-rZ2dj.js} +2 -2
  54. package/dist/browser/{settings-item-BxCK9lyk.js → settings-item-C9Y3LjwP.js} +6 -6
  55. package/dist/browser/{storage-BalS0HRJ.js → storage-MFNZMJ2r.js} +4 -4
  56. package/dist/browser/{store-TwzdPLkX.js → store-BROgMyZ8.js} +13 -13
  57. package/dist/browser/{string-editor-DBsxPSPF.js → string-editor-C-pHDwOm.js} +8 -8
  58. package/dist/browser/{theme-DB7Vukfl.js → theme-BAwBzMZ3.js} +8 -8
  59. package/dist/browser/{ui-aTTAo_5Z.js → ui-Bxq32amv.js} +8 -8
  60. package/dist/browser/{useRenderTarget-DJKyt2_Y.js → useRenderTarget-BhtKYVlq.js} +4 -4
  61. package/dist/esm/store/MaplibreStore.js +1 -1
  62. package/package.json +3 -3
@@ -1,18 +1,18 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.4.3" };
4
+ e.SENTRY_RELEASE = { id: "3.4.4" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "90fb92e4-0c35-4d73-af3d-09f610967014", e._sentryDebugIdIdentifier = "sentry-dbid-90fb92e4-0c35-4d73-af3d-09f610967014");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-D8OSys49.js";
10
- import { t } from "./react-C1Do9xmU.js";
11
- import { t as n } from "./jsx-runtime-DiSuEjjt.js";
12
- import { E as r, c as i, l as a, o, r as s, v as c } from "./box-Cb6ydnvG.js";
13
- import { t as l } from "./classnames-MOohRlRn.js";
14
- import { t as u } from "./flex.props-D3IPFVuT.js";
15
- import { t as d } from "./settings-item-BxCK9lyk.js";
9
+ import { r as e } from "./rolldown-runtime-DL7_uELv.js";
10
+ import { t } from "./react-DTOdy_1e.js";
11
+ import { t as n } from "./jsx-runtime-B2BT-SRi.js";
12
+ import { E as r, c as i, l as a, o, r as s, v as c } from "./box-DoYFxAwf.js";
13
+ import { t as l } from "./classnames-Ct8dTIrK.js";
14
+ import { t as u } from "./flex.props-CRx0TxVt.js";
15
+ import { t as d } from "./settings-item-C9Y3LjwP.js";
16
16
  //#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.16__@types+react@19.2._237ab8922e2725fc6ff51784b4ebc77f/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
17
17
  var f = {
18
18
  size: {
@@ -1,18 +1,18 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.4.3" };
4
+ e.SENTRY_RELEASE = { id: "3.4.4" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cff38276-aa8d-41db-a31e-c60b68cf072c", e._sentryDebugIdIdentifier = "sentry-dbid-cff38276-aa8d-41db-a31e-c60b68cf072c");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-D8OSys49.js";
10
- import { t } from "./react-C1Do9xmU.js";
11
- import { t as n } from "./jsx-runtime-DiSuEjjt.js";
12
- import { t as r } from "./react-dom-BfZbazSf.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-Cb6ydnvG.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-DdWSv3-H.js";
15
- import { t as y } from "./classnames-MOohRlRn.js";
9
+ import { r as e } from "./rolldown-runtime-DL7_uELv.js";
10
+ import { t } from "./react-DTOdy_1e.js";
11
+ import { t as n } from "./jsx-runtime-B2BT-SRi.js";
12
+ import { t as r } from "./react-dom-wHMy5YFx.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-DoYFxAwf.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-82i-lyo-.js";
15
+ import { t as y } from "./classnames-Ct8dTIrK.js";
16
16
  //#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.16__@ty_0100624f14fe05e2fce87091cda222ea/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",
@@ -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.4.3" };
4
+ e.SENTRY_RELEASE = { id: "3.4.4" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "751711f5-8181-4be7-86b5-4dc6d2594afb", e._sentryDebugIdIdentifier = "sentry-dbid-751711f5-8181-4be7-86b5-4dc6d2594afb");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-D8OSys49.js";
10
- import { a as t, r as n } from "./reset-all-settings-dkIogkEL.js";
11
- import { t as r } from "./jsx-runtime-DiSuEjjt.js";
12
- import "./settings-DGQnzLUF.js";
13
- import { t as i } from "./browser-BfQE2Gfh.js";
14
- import { t as a } from "./add-debug-secret-listener-BFloTovx.js";
9
+ import { r as e } from "./rolldown-runtime-DL7_uELv.js";
10
+ import { a as t, r as n } from "./reset-all-settings-B0qfLacs.js";
11
+ import { t as r } from "./jsx-runtime-B2BT-SRi.js";
12
+ import "./settings-Ba-rZ2dj.js";
13
+ import { t as i } from "./browser--Rf0sRXY.js";
14
+ import { t as a } from "./add-debug-secret-listener-BrwXK1DM.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-Ciuh_QWT.js"), { createRoot: i } = await import("./client-DlMl5MrE.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
29
+ let { DebugUi: n } = await import("./debug-ui-DbImQz2I.js"), { createRoot: i } = await import("./client-vYf0vV38.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.4.3" };
4
+ e.SENTRY_RELEASE = { id: "3.4.4" };
5
5
  var t = new e.Error().stack;
6
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-D8OSys49.js";
10
- import { t } from "./react-C1Do9xmU.js";
11
- import { s as n } from "./store-TwzdPLkX.js";
9
+ import { r as e } from "./rolldown-runtime-DL7_uELv.js";
10
+ import { t } from "./react-DTOdy_1e.js";
11
+ import { s as n } from "./store-BROgMyZ8.js";
12
12
  //#region src/utils/getRenderTargetFromRoot.ts
13
13
  var r = /* @__PURE__ */ e(t(), 1);
14
14
  function i(e) {
@@ -1 +1 @@
1
- import{__esDecorate as i,__runInitializers as l}from"tslib";import{action as o,computed as r,observable as d}from"mobx";import{fpGeo as I}from"../data/fpGeo";import n from"../data";import{registerEnumSetting as z}from"@expofp/debug";const A=import.meta.env?.VITE_EXPOFP_USE_MAPLIBRE_MAP==="true",B=import.meta.env?.VITE_EXPOFP_DISABLE_3D_TOGGLE!=="false";function L(){return typeof window>"u"||window.navigator.onLine}let x=(()=>{let a=[],p,m=[],c=[],f,h=[],u=[],b,M=[],_=[],w,v,g,O,S,E,V,k;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;p=[d],f=[d],b=[d],w=[o],v=[o],g=[o],O=[r({keepAlive:!0})],S=[r({keepAlive:!0})],E=[r({keepAlive:!0})],V=[r({keepAlive:!0})],k=[r({keepAlive:!0})],i(this,null,w,{kind:"method",name:"setOnline",static:!1,private:!1,access:{has:e=>"setOnline"in e,get:e=>e.setOnline},metadata:t},null,a),i(this,null,v,{kind:"method",name:"activateMaplibre",static:!1,private:!1,access:{has:e=>"activateMaplibre"in e,get:e=>e.activateMaplibre},metadata:t},null,a),i(this,null,g,{kind:"method",name:"deactivateMaplibre",static:!1,private:!1,access:{has:e=>"deactivateMaplibre"in e,get:e=>e.deactivateMaplibre},metadata:t},null,a),i(this,null,O,{kind:"getter",name:"hideModeSwitchButton",static:!1,private:!1,access:{has:e=>"hideModeSwitchButton"in e,get:e=>e.hideModeSwitchButton},metadata:t},null,a),i(this,null,S,{kind:"getter",name:"maplibreEnabled",static:!1,private:!1,access:{has:e=>"maplibreEnabled"in e,get:e=>e.maplibreEnabled},metadata:t},null,a),i(this,null,E,{kind:"getter",name:"useMaplibreMap",static:!1,private:!1,access:{has:e=>"useMaplibreMap"in e,get:e=>e.useMaplibreMap},metadata:t},null,a),i(this,null,V,{kind:"getter",name:"showMaplibre",static:!1,private:!1,access:{has:e=>"showMaplibre"in e,get:e=>e.showMaplibre},metadata:t},null,a),i(this,null,k,{kind:"getter",name:"isMap3d",static:!1,private:!1,access:{has:e=>"isMap3d"in e,get:e=>e.isMap3d},metadata:t},null,a),i(null,null,p,{kind:"field",name:"mapViewMode",static:!1,private:!1,access:{has:e=>"mapViewMode"in e,get:e=>e.mapViewMode,set:(e,s)=>{e.mapViewMode=s}},metadata:t},m,c),i(null,null,f,{kind:"field",name:"maplibreSelected",static:!1,private:!1,access:{has:e=>"maplibreSelected"in e,get:e=>e.maplibreSelected,set:(e,s)=>{e.maplibreSelected=s}},metadata:t},h,u),i(null,null,b,{kind:"field",name:"isOnline",static:!1,private:!1,access:{has:e=>"isOnline"in e,get:e=>e.isOnline,set:(e,s)=>{e.isOnline=s}},metadata:t},M,_),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=l(this,a);mapViewMode=l(this,m,"floorplan");maplibreSelected=(l(this,c),l(this,h,!1));isOnline=(l(this,u),l(this,M,L()));handleOnline=(l(this,_),()=>this.setOnline(!0));handleOffline=()=>this.setOnline(!1);constructor(t){this.rootStore=t,this.mapViewMode=this.getInitialViewMode(),this.maplibreSelected=this.mapViewMode!=="floorplan",typeof window<"u"&&(window.addEventListener("online",this.handleOnline),window.addEventListener("offline",this.handleOffline))}dispose(){typeof window>"u"||(window.removeEventListener("online",this.handleOnline),window.removeEventListener("offline",this.handleOffline))}setOnline(t){this.isOnline=t}activateMaplibre(){this.maplibreEnabled&&(this.mapViewMode=n.allow3dView&&this.mapViewMode!=="map3d"?"map3d":"map2d",this.maplibreSelected=!0)}deactivateMaplibre(){this.mapViewMode="floorplan",this.maplibreSelected=!1}get hideModeSwitchButton(){return!this.maplibreEnabled||!n.allow3dView||B||n.hideModeSwitchButton}get maplibreEnabled(){const t=this.rootStore.fp?.maplibre??window.__efpMaplibre,e=!!t?.offline&&(!!t.style||!!t.styleUrl);return this.useMaplibreMap&&!!I?.properties?.config&&!this.rootStore.uiState.kiosk&&(this.isOnline||e)}get useMaplibreMap(){if(y.get()==="on")return!0;if(y.get()==="off")return!1;const t=n.flags?.enableExperimentalMaplibre;return typeof t=="boolean"?t:A}get showMaplibre(){return this.maplibreEnabled&&(this.mapViewMode==="map2d"||this.mapViewMode==="map3d")}get isMap3d(){return this.maplibreEnabled&&this.mapViewMode==="map3d"}getInitialViewMode(){return this.maplibreEnabled?n.allow3dView&&!n.hide3dMapDefault?"map3d":"map2d":"floorplan"}}})();export default x;const y=z({key:"efp:maplibre:override",values:["","on","off"],default:""});
1
+ import{__esDecorate as i,__runInitializers as l}from"tslib";import{action as o,computed as r,observable as d}from"mobx";import{fpGeo as I}from"../data/fpGeo";import n from"../data";import{registerEnumSetting as z}from"@expofp/debug";const A=import.meta.env?.VITE_EXPOFP_USE_MAPLIBRE_MAP==="true",B=import.meta.env?.VITE_EXPOFP_DISABLE_3D_TOGGLE!=="false";function L(){return typeof window>"u"||window.navigator.onLine}let x=(()=>{let a=[],p,m=[],c=[],f,h=[],u=[],b,M=[],_=[],w,v,g,O,S,E,V,k;return class{static{const t=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;p=[d],f=[d],b=[d],w=[o],v=[o],g=[o],O=[r({keepAlive:!0})],S=[r({keepAlive:!0})],E=[r({keepAlive:!0})],V=[r({keepAlive:!0})],k=[r({keepAlive:!0})],i(this,null,w,{kind:"method",name:"setOnline",static:!1,private:!1,access:{has:e=>"setOnline"in e,get:e=>e.setOnline},metadata:t},null,a),i(this,null,v,{kind:"method",name:"activateMaplibre",static:!1,private:!1,access:{has:e=>"activateMaplibre"in e,get:e=>e.activateMaplibre},metadata:t},null,a),i(this,null,g,{kind:"method",name:"deactivateMaplibre",static:!1,private:!1,access:{has:e=>"deactivateMaplibre"in e,get:e=>e.deactivateMaplibre},metadata:t},null,a),i(this,null,O,{kind:"getter",name:"hideModeSwitchButton",static:!1,private:!1,access:{has:e=>"hideModeSwitchButton"in e,get:e=>e.hideModeSwitchButton},metadata:t},null,a),i(this,null,S,{kind:"getter",name:"maplibreEnabled",static:!1,private:!1,access:{has:e=>"maplibreEnabled"in e,get:e=>e.maplibreEnabled},metadata:t},null,a),i(this,null,E,{kind:"getter",name:"useMaplibreMap",static:!1,private:!1,access:{has:e=>"useMaplibreMap"in e,get:e=>e.useMaplibreMap},metadata:t},null,a),i(this,null,V,{kind:"getter",name:"showMaplibre",static:!1,private:!1,access:{has:e=>"showMaplibre"in e,get:e=>e.showMaplibre},metadata:t},null,a),i(this,null,k,{kind:"getter",name:"isMap3d",static:!1,private:!1,access:{has:e=>"isMap3d"in e,get:e=>e.isMap3d},metadata:t},null,a),i(null,null,p,{kind:"field",name:"mapViewMode",static:!1,private:!1,access:{has:e=>"mapViewMode"in e,get:e=>e.mapViewMode,set:(e,s)=>{e.mapViewMode=s}},metadata:t},m,c),i(null,null,f,{kind:"field",name:"maplibreSelected",static:!1,private:!1,access:{has:e=>"maplibreSelected"in e,get:e=>e.maplibreSelected,set:(e,s)=>{e.maplibreSelected=s}},metadata:t},h,u),i(null,null,b,{kind:"field",name:"isOnline",static:!1,private:!1,access:{has:e=>"isOnline"in e,get:e=>e.isOnline,set:(e,s)=>{e.isOnline=s}},metadata:t},M,_),t&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}rootStore=l(this,a);mapViewMode=l(this,m,"floorplan");maplibreSelected=(l(this,c),l(this,h,!1));isOnline=(l(this,u),l(this,M,L()));handleOnline=(l(this,_),()=>this.setOnline(!0));handleOffline=()=>this.setOnline(!1);constructor(t){this.rootStore=t,this.mapViewMode=this.getInitialViewMode(),this.maplibreSelected=this.mapViewMode!=="floorplan",typeof window<"u"&&(window.addEventListener("online",this.handleOnline),window.addEventListener("offline",this.handleOffline))}dispose(){typeof window>"u"||(window.removeEventListener("online",this.handleOnline),window.removeEventListener("offline",this.handleOffline))}setOnline(t){this.isOnline=t}activateMaplibre(){this.maplibreEnabled&&(this.mapViewMode=n.allow3dView&&this.mapViewMode!=="map3d"?"map3d":"map2d",this.maplibreSelected=!0)}deactivateMaplibre(){this.mapViewMode="floorplan",this.maplibreSelected=!1}get hideModeSwitchButton(){return!this.maplibreEnabled||!n.allow3dView||B||n.hideModeSwitchButton}get maplibreEnabled(){const t=this.rootStore.fp?.maplibre??window.__efpMaplibre,e=!!t?.offline&&(!!t.style||!!t.styleUrl);return this.useMaplibreMap&&!!I?.properties?.config&&!this.rootStore.uiState.kiosk&&(this.isOnline||e)}get useMaplibreMap(){if(y.get()==="on")return!0;if(y.get()==="off")return!1;const t=n.flags?.enableExperimentalMaplibre;return typeof t=="boolean"?t:A}get showMaplibre(){return this.maplibreEnabled&&(this.mapViewMode==="map2d"||this.mapViewMode==="map3d")}get isMap3d(){return this.maplibreEnabled&&this.mapViewMode==="map3d"}getInitialViewMode(){return this.maplibreEnabled?n.allow3dView&&!n.hide3dMapDefault?"map3d":"map2d":"floorplan"}}})();export default x;const y=z({key:"efp:maplibre:override",values:["default","on","off"],default:"default"});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/floorplan",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/expofp/efp-app.git",
@@ -73,8 +73,8 @@
73
73
  "tslib": "^2.3.0",
74
74
  "uuid": "^9.0.1",
75
75
  "zod": "4.3.5",
76
- "@expofp/debug": "3.4.3",
77
- "@expofp/resolve": "3.4.3"
76
+ "@expofp/debug": "3.4.4",
77
+ "@expofp/resolve": "3.4.4"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@babel/plugin-proposal-decorators": "^7.29.7",