@expofp/floorplan 3.44.7 → 3.44.8

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 (90) hide show
  1. package/dist/browser/{Button-CleQDd3q.js → Button-C1iQgU3z.js} +5 -5
  2. package/dist/browser/{CookieConsent-DBf69NUJ.js → CookieConsent-Dv1LCPG3.js} +7 -7
  3. package/dist/browser/{Debug-B5dACqLH.js → Debug-DPy0A0cw.js} +7 -7
  4. package/dist/browser/{DebugTools-CJqVrNUk.js → DebugTools-Dp8d4gPZ.js} +6 -6
  5. package/dist/browser/{Demo-Bn0xGm2R.js → Demo-CHH4a7sZ.js} +9 -9
  6. package/dist/browser/{Free-DdJFphUM.js → Free-BidfuRjG.js} +10 -10
  7. package/dist/browser/{GalleryContainer-Dr3XdE_K.js → GalleryContainer-7IYWWKkK.js} +11 -11
  8. package/dist/browser/{GpsLoader-x1X6cIIo.js → GpsLoader-CrO61Fpj.js} +13 -13
  9. package/dist/browser/{KioskStore-DAX0R23S.js → KioskStore-BE_V60tp.js} +9 -9
  10. package/dist/browser/{LayerStore-CchaypH9.js → LayerStore-BM7GOQ3J.js} +23 -23
  11. package/dist/browser/{MaplibreAdapter-DTEZ-jxf.js → MaplibreAdapter-DmrCTw3Q.js} +17 -17
  12. package/dist/browser/{ModalContainer-Cj8s9wg0.js → ModalContainer-DqsSRv60.js} +10 -10
  13. package/dist/browser/{PermissionNotice-CAMpf8J5.js → PermissionNotice--Vn_MkaQ.js} +6 -6
  14. package/dist/browser/{RouteStore-BG2GPSXR.js → RouteStore-D7G9YROM.js} +9 -9
  15. package/dist/browser/{SetKioskMode-B7Dki7mM.js → SetKioskMode-CMndo5d3.js} +11 -11
  16. package/dist/browser/{ShowKiosk-CrMZ-Nzh.js → ShowKiosk-CUiprdS9.js} +10 -10
  17. package/dist/browser/{UIState-C-Y4d_-F.js → UIState-D0GHKRf4.js} +13 -13
  18. package/dist/browser/{ViewerMenuPanel-ByEmJoRl.js → ViewerMenuPanel-B7corw44.js} +10 -10
  19. package/dist/browser/{add-debug-secret-listener-BGDZfpcC.js → add-debug-secret-listener-uMLIuPW5.js} +1 -1
  20. package/dist/browser/{adopt-global-settings-Dk05fnXw.js → adopt-global-settings-BVVdz-YX.js} +9 -9
  21. package/dist/browser/{boolean-editor-o6yCthBy.js → boolean-editor-Dg3cfoLy.js} +9 -9
  22. package/dist/browser/{bootIntercom-BwnVPXBt.js → bootIntercom-7FTJ0piX.js} +2 -2
  23. package/dist/browser/bundle.json +85 -85
  24. package/dist/browser/{camera-events-DWOBiqIB.js → camera-events-DbYubA01.js} +1 -1
  25. package/dist/browser/{classnames-CZclRloQ.js → classnames-BryLpfgQ.js} +2 -2
  26. package/dist/browser/{client-BvQ9Gczi.js → client-DnnJr0Ks.js} +5 -5
  27. package/dist/browser/{components-nLLOu6UV.js → components-DHNMQbqJ.js} +48 -48
  28. package/dist/browser/{create-live-plan-CWx504lG.js → create-live-plan-BgCjK-Kh.js} +13 -13
  29. package/dist/browser/{debug-context-D39JjNZt.js → debug-context-BEABO7OL.js} +5 -5
  30. package/dist/browser/{debug-overlay-m0mSmVHJ.js → debug-overlay-Bv-C1rmT.js} +10 -10
  31. package/dist/browser/{debug-ui-BnyOgnPt.js → debug-ui-FirQ0EQb.js} +6 -6
  32. package/dist/browser/{dimming-BUP_9LMs.js → dimming-B7lpw_UN.js} +189 -177
  33. package/dist/browser/{dist-yVxNF_HZ.js → dist-DN5ATV5p.js} +3 -3
  34. package/dist/browser/{dist-DLh73aaY.js → dist-p14a9te8.js} +6 -6
  35. package/dist/browser/{dist-B0uHOfHb.js → dist-sup8YcEL.js} +5 -5
  36. package/dist/browser/{efp-debug-init-CCymXgr-.js → efp-debug-init-DUPmVtYg.js} +3 -3
  37. package/dist/browser/{enum-editor-Du2N0dRj.js → enum-editor-g46R4Zq7.js} +4 -4
  38. package/dist/browser/{es5-l7cNM1JQ.js → es5-D_WEVRPo.js} +2 -2
  39. package/dist/browser/{event-head-DaeIW6ZC.js → event-head-DBemDpob.js} +1 -1
  40. package/dist/browser/{event-not-found-CFWIRPAy.js → event-not-found-m_QUX3nl.js} +3 -3
  41. package/dist/browser/{event-scoped-cache-793HawJt.js → event-scoped-cache-BpjbCC59.js} +2 -2
  42. package/dist/browser/{expofpUrl-BLqQlx4U.js → expofpUrl-CAOzqFzt.js} +1 -1
  43. package/dist/browser/{exports-BmgyMAW1.js → exports-svWN4mLB.js} +1 -1
  44. package/dist/browser/{favicon-BCSYqkNZ.js → favicon-hR5BaEm4.js} +1 -1
  45. package/dist/browser/{fetch-retry.umd-BFKfjB2M.js → fetch-retry.umd-DS-5XmpN.js} +2 -2
  46. package/dist/browser/{flex-CK3VOHMW.js → flex-BAz1Zlx4.js} +5 -5
  47. package/dist/browser/{floorplan.loader-C9TjDBmt.js → floorplan.loader-DPHmWNvd.js} +12 -12
  48. package/dist/browser/{floorplan.ready-c_FJgMPD.js → floorplan.ready-clG372Lo.js} +23 -23
  49. package/dist/browser/{freeBanner-DgUUkI2a.js → freeBanner-D0nU1aT0.js} +2 -2
  50. package/dist/browser/{fuse-BYRtXyUs.js → fuse-DFf-hk6f.js} +2 -2
  51. package/dist/browser/{i18n-D6mkjwGK.js → i18n-CPJmxFQX.js} +6 -6
  52. package/dist/browser/index.js +17 -17
  53. package/dist/browser/{index.module-WJQpxtrH.js → index.module-COSPv-bu.js} +4 -4
  54. package/dist/browser/{init-ui-DRwSj40I.js → init-ui-Cj38w8tb.js} +9 -9
  55. package/dist/browser/{integrateKiosk-eGXJsNiO.js → integrateKiosk-Du5HThkw.js} +5 -5
  56. package/dist/browser/{is-debug-m1W_6MrE.js → is-debug-CmeNjnvW.js} +4 -4
  57. package/dist/browser/{is-own-domain-Bdfz0zQ0.js → is-own-domain-z0V4JpKp.js} +1 -1
  58. package/dist/browser/{is-webview-B8VsNIoN.js → is-webview-JHA9dtnx.js} +1 -1
  59. package/dist/browser/{jsx-runtime-C1oR0Zi0.js → jsx-runtime-D-d_UIhH.js} +2 -2
  60. package/dist/browser/{kiosk-mode-B1Xr_IyL.js → kiosk-mode-ZBMSIWbK.js} +3 -3
  61. package/dist/browser/{kiosk-record-BOx9wVlW.js → kiosk-record-Djd0ZbEF.js} +1 -1
  62. package/dist/browser/{kioskApi-BenqwSpt.js → kioskApi-CXqDoN71.js} +7 -7
  63. package/dist/browser/{lib-BMUuspHa.js → lib-GyGKAKXf.js} +3 -3
  64. package/dist/browser/{loadImage-BVv4a2P0.js → loadImage-cnbZD9uN.js} +1 -1
  65. package/dist/browser/{logDeviceInfo-Ca0FCWzJ.js → logDeviceInfo-BSf9sLzS.js} +9 -9
  66. package/dist/browser/{mobx-Dd5eFIow.js → mobx-D3NQFhEq.js} +4 -4
  67. package/dist/browser/{mobx.module-C48iLaGi.js → mobx.module-CAKsDOYI.js} +1 -1
  68. package/dist/browser/{optional-boolean-editor-B-42x5e-.js → optional-boolean-editor-IR9THgLK.js} +3 -3
  69. package/dist/browser/{optional-enum-editor-Bxiw2Z8x.js → optional-enum-editor-PRQn6yzK.js} +4 -4
  70. package/dist/browser/{optional-string-editor-CqHfXBvX.js → optional-string-editor-bZCuZ1tn.js} +4 -4
  71. package/dist/browser/{particles.min-U6rx5JeG.js → particles.min-CwWuVwyg.js} +2 -2
  72. package/dist/browser/{react-C3MD_6wk.js → react-DQVTc7xG.js} +2 -2
  73. package/dist/browser/{react-dom-_B4zRwEv.js → react-dom-BsqqKfoG.js} +3 -3
  74. package/dist/browser/{rolldown-runtime-D2hCdFW8.js → rolldown-runtime-Cyn7iuGp.js} +1 -1
  75. package/dist/browser/{scene-DyfGtdIg.js → scene-CqJCEbSr.js} +2 -2
  76. package/dist/browser/{scheduler-Bg382KcU.js → scheduler-CVY86sNW.js} +2 -2
  77. package/dist/browser/{select-D8SjUiUb.js → select-Du3T8Mpj.js} +10 -10
  78. package/dist/browser/{settings-Bh45PRJm.js → settings-NB72PTux.js} +2 -2
  79. package/dist/browser/{settings-item-DoHYH97F.js → settings-item-BIPeCHmD.js} +6 -6
  80. package/dist/browser/{store-zbZemYUA.js → store-BvnDl4Sc.js} +2 -2
  81. package/dist/browser/{string-editor-23PXPywz.js → string-editor-o-TMbaK8.js} +4 -4
  82. package/dist/browser/{text-field-C1dH_sz6.js → text-field-BZ5346fV.js} +5 -5
  83. package/dist/browser/{theme-CHTbq4Fs.js → theme-CPcxdYz7.js} +8 -8
  84. package/dist/browser/{ui-D2xk_zF-.js → ui-CesJTtUW.js} +8 -8
  85. package/dist/browser/{useRenderTarget-CHnba2yS.js → useRenderTarget-DpLNpx1f.js} +4 -4
  86. package/dist/browser/{viewport-Cz5rd5Zn.js → viewport-QrHclV_L.js} +3 -3
  87. package/dist/browser/{wayfinding-CQCzv2e-.js → wayfinding-v9-TVwHq.js} +5 -5
  88. package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +11 -2
  89. package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +1 -1
  90. package/package.json +10 -10
@@ -1 +1 @@
1
- import{Box as b,pointRotate as x,Polygon as S}from"@expofp/geometry";const R=.5,E=.3,M=10,I=8,P=50;export class BoothBadgeAnchors{static{this.idle=new Set}static{this.idleScheduled=!1}constructor(t,i,e,n){this.booth=t,this.triangles=i,this.border=e,this.source=n,this.fits=[],this.prefetchRotation=0,this.vertices=null,this.polygon=T(i),this.bbox=trianglesBoundingBox(i)}fit(t,i){let e=this.fits[t];return e||(this.fits[t]=e=this.compute(t,i)),e}prefetch(t){BoothBadgeAnchors.idle.has(this)||(this.prefetchRotation=t,BoothBadgeAnchors.idle.add(this),BoothBadgeAnchors.scheduleIdle())}cancelPrefetch(){BoothBadgeAnchors.idle.delete(this)}static scheduleIdle(){BoothBadgeAnchors.idleScheduled||!BoothBadgeAnchors.idle.size||(BoothBadgeAnchors.idleScheduled=!0,typeof requestIdleCallback=="function"?requestIdleCallback(BoothBadgeAnchors.runIdle):setTimeout(()=>BoothBadgeAnchors.runIdle({timeRemaining:()=>I}),P))}static runIdle(t){BoothBadgeAnchors.idleScheduled=!1;const i=performance.now()+I;for(const e of BoothBadgeAnchors.idle){if(t.timeRemaining()<=0||performance.now()>=i)break;e.prefetchNext()||BoothBadgeAnchors.idle.delete(e)}BoothBadgeAnchors.scheduleIdle()}prefetchNext(){for(let t=1;t<4;t++)if(!this.fits[t])return this.fit(t,this.prefetchRotation+t*Math.PI/2),t<3;return!1}compute(t,i){const e=t===0||t===3?1:-1,n=t===0||t===1?1:-1,s=this.findAnchor(e,n),o=this.clampScale(s.x,s.y,this.rectMaxScale(t%2===1),i);return{x:s.x,y:s.y,maxScale:o}}rectMaxScale(t){const i=this.booth.rect.size.width,e=this.booth.rect.size.height,n=t?e:i,s=t?i:e;return Math.min(n>0?n*R/this.source.x:1/0,s>0?s*E/this.source.y:1/0)}findAnchor(t,i){const{booth:e,border:n,bbox:s}=this;if(s){const a=t>0?s.min.x:s.max.x,d=i>0?s.min.y:s.max.y,f=[];for(const[r,l]of this.distinctVertices()){const y=r+n*t,p=l+n*i,m=Math.abs(y-a)+Math.abs(p-d);m<1/0&&f.push({x:y,y:p,score:m,order:f.length})}f.sort((r,l)=>r.score-l.score||r.order-l.order);for(const r of f){const l={x:r.x,y:r.y};if(this.polygon.containsPoint(l))return l}}const o=t>0?e.rect.min.x+n:e.rect.max.x-n,c=i>0?e.rect.min.y+n:e.rect.max.y-n,h=e.rotate??0;return h?x({x:o,y:c},h,e.rect.center):{x:o,y:c}}clampScale(t,i,e,n){const{polygon:s,source:o}=this;if(!this.triangles.length)return e;const c={x:t,y:i};if(!s.containsPoint(c))return e;let h=0,a=e;for(let d=0;d<M;d++){const f=(h+a)/2,r=o.x*f,l=o.y*f;s.containsPoint(x({x:t+r,y:i},n,c))&&s.containsPoint(x({x:t,y:i+l},n,c))&&s.containsPoint(x({x:t+r,y:i+l},n,c))?h=f:a=f}return h}distinctVertices(){if(this.vertices)return this.vertices;const t=new Set,i=[];for(const e of this.triangles)for(const n of e){const s=`${n[0]},${n[1]}`;t.has(s)||(t.add(s),i.push([n[0],n[1]]))}return this.vertices=i}}export function trianglesBoundingBox(u){if(!u.length)return null;let t=1/0,i=1/0,e=-1/0,n=-1/0;for(const s of u)for(const[o,c]of s)o<t&&(t=o),c<i&&(i=c),o>e&&(e=o),c>n&&(n=c);return b.fromMinMax({x:t,y:i},{x:e,y:n})}function T(u){const t=[],i=[];for(const e of u){const n=t.length;t.push({x:e[0][0],y:e[0][1]}),t.push({x:e[1][0],y:e[1][1]}),t.push({x:e[2][0],y:e[2][1]}),i.push([n,n+1,n+2])}return new S(t,i)}
1
+ import{Box as I,pointRotate as x,Polygon as S}from"@expofp/geometry";const b=.5,E=.3,M=10,R=8,P=4,T=50;export class BoothBadgeAnchors{static{this.idle=new Set}static{this.idleScheduled=!1}constructor(t,n,e,i){this.booth=t,this.triangles=n,this.border=e,this.source=i,this.fits=[],this.prefetchRotation=0,this.vertices=null,this.polygon=w(n),this.bbox=trianglesBoundingBox(n)}fit(t,n){let e=this.fits[t];return e||(this.fits[t]=e=this.compute(t,n),this.fits.filter(Boolean).length===4&&(this.vertices=null)),e}prefetch(t){BoothBadgeAnchors.idle.has(this)||(this.prefetchRotation=t,BoothBadgeAnchors.idle.add(this),BoothBadgeAnchors.scheduleIdle())}cancelPrefetch(){BoothBadgeAnchors.idle.delete(this)}static scheduleIdle(){BoothBadgeAnchors.idleScheduled||!BoothBadgeAnchors.idle.size||(BoothBadgeAnchors.idleScheduled=!0,typeof requestIdleCallback=="function"?requestIdleCallback(BoothBadgeAnchors.runIdle):typeof requestAnimationFrame=="function"?requestAnimationFrame(()=>setTimeout(BoothBadgeAnchors.runSlice,0)):setTimeout(BoothBadgeAnchors.runSlice,T))}static runSlice(){const t=performance.now()+P;BoothBadgeAnchors.runIdle({timeRemaining:()=>t-performance.now()})}static runIdle(t){BoothBadgeAnchors.idleScheduled=!1;const n=performance.now()+R;try{for(const e of BoothBadgeAnchors.idle){if(t.timeRemaining()<=0||performance.now()>=n)break;let i=!1;try{i=e.prefetchNext()}finally{i||BoothBadgeAnchors.idle.delete(e)}}}finally{BoothBadgeAnchors.scheduleIdle()}}prefetchNext(){for(let t=1;t<4;t++)if(!this.fits[t])return this.fit(t,this.prefetchRotation+t*Math.PI/2),t<3;return!1}compute(t,n){const e=t===0||t===3?1:-1,i=t===0||t===1?1:-1,s=this.findAnchor(e,i),o=this.clampScale(s.x,s.y,this.rectMaxScale(t%2===1),n);return{x:s.x,y:s.y,maxScale:o}}rectMaxScale(t){const n=this.booth.rect.size.width,e=this.booth.rect.size.height,i=t?e:n,s=t?n:e;return Math.min(i>0?i*b/this.source.x:1/0,s>0?s*E/this.source.y:1/0)}findAnchor(t,n){const{booth:e,border:i,bbox:s}=this;if(s){const h=t>0?s.min.x:s.max.x,y=n>0?s.min.y:s.max.y,f=[];for(const[r,l]of this.distinctVertices()){const d=r+i*t,m=l+i*n,p=Math.abs(d-h)+Math.abs(m-y);p<1/0&&f.push({x:d,y:m,score:p,order:f.length})}f.sort((r,l)=>r.score-l.score||r.order-l.order);for(const r of f){const l={x:r.x,y:r.y};if(this.polygon.containsPoint(l))return l}}const o=t>0?e.rect.min.x+i:e.rect.max.x-i,c=n>0?e.rect.min.y+i:e.rect.max.y-i,u=e.rotate??0;return u?x({x:o,y:c},u,e.rect.center):{x:o,y:c}}clampScale(t,n,e,i){const{polygon:s,source:o}=this;if(!this.triangles.length)return e;const c={x:t,y:n};if(!s.containsPoint(c))return e;let u=0,h=e;for(let y=0;y<M;y++){const f=(u+h)/2,r=o.x*f,l=o.y*f;s.containsPoint(x({x:t+r,y:n},i,c))&&s.containsPoint(x({x:t,y:n+l},i,c))&&s.containsPoint(x({x:t+r,y:n+l},i,c))?u=f:h=f}return u}distinctVertices(){if(this.vertices)return this.vertices;const t=new Set,n=[];for(const e of this.triangles)for(const i of e){const s=`${i[0]},${i[1]}`;t.has(s)||(t.add(s),n.push([i[0],i[1]]))}return this.vertices=n}}export function trianglesBoundingBox(a){if(!a.length)return null;let t=1/0,n=1/0,e=-1/0,i=-1/0;for(const s of a)for(const[o,c]of s)o<t&&(t=o),c<n&&(n=c),o>e&&(e=o),c>i&&(i=c);return I.fromMinMax({x:t,y:n},{x:e,y:i})}function w(a){const t=[],n=[];for(const e of a){const i=t.length;t.push({x:e[0][0],y:e[0][1]}),t.push({x:e[1][0],y:e[1][1]}),t.push({x:e[2][0],y:e[2][1]}),n.push([i,i+1,i+2])}return new S(t,n)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/floorplan",
3
- "version": "3.44.7",
3
+ "version": "3.44.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/expofp/efp-app.git",
@@ -69,15 +69,15 @@
69
69
  "tslib": "^2.3.0",
70
70
  "uuid": "^9.0.1",
71
71
  "zod": "4.4.3",
72
- "@expofp/config": "3.44.7",
73
- "@expofp/debug": "3.44.7",
74
- "@expofp/geometry": "3.44.7",
75
- "@expofp/renderer": "3.44.7",
76
- "@expofp/resolve": "3.44.7",
77
- "@expofp/schema": "3.44.7",
78
- "@expofp/ui": "3.44.7",
79
- "@expofp/utils": "3.44.7",
80
- "@expofp/wayfinding": "3.44.7"
72
+ "@expofp/config": "3.44.8",
73
+ "@expofp/debug": "3.44.8",
74
+ "@expofp/geometry": "3.44.8",
75
+ "@expofp/renderer": "3.44.8",
76
+ "@expofp/resolve": "3.44.8",
77
+ "@expofp/schema": "3.44.8",
78
+ "@expofp/ui": "3.44.8",
79
+ "@expofp/utils": "3.44.8",
80
+ "@expofp/wayfinding": "3.44.8"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@babel/plugin-proposal-decorators": "^8.0.2",