@expofp/floorplan 3.44.6 → 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-RBFYQ_Hi.js → Button-C1iQgU3z.js} +5 -5
  2. package/dist/browser/{CookieConsent-DYvHugt5.js → CookieConsent-Dv1LCPG3.js} +7 -7
  3. package/dist/browser/{Debug-Dwdforl1.js → Debug-DPy0A0cw.js} +7 -7
  4. package/dist/browser/{DebugTools-zmeDHNGo.js → DebugTools-Dp8d4gPZ.js} +6 -6
  5. package/dist/browser/{Demo-BS9Anmla.js → Demo-CHH4a7sZ.js} +9 -9
  6. package/dist/browser/{Free-Js3r8S0A.js → Free-BidfuRjG.js} +10 -10
  7. package/dist/browser/{GalleryContainer-BAlmaG0f.js → GalleryContainer-7IYWWKkK.js} +11 -11
  8. package/dist/browser/{GpsLoader-CPVQbvzp.js → GpsLoader-CrO61Fpj.js} +13 -13
  9. package/dist/browser/{KioskStore-Bq5T3Ffz.js → KioskStore-BE_V60tp.js} +9 -9
  10. package/dist/browser/{LayerStore-DCQ96IE-.js → LayerStore-BM7GOQ3J.js} +23 -23
  11. package/dist/browser/{MaplibreAdapter-DhVJu6nu.js → MaplibreAdapter-DmrCTw3Q.js} +17 -17
  12. package/dist/browser/{ModalContainer-D6K2b0AJ.js → ModalContainer-DqsSRv60.js} +10 -10
  13. package/dist/browser/{PermissionNotice-DfjCPzFB.js → PermissionNotice--Vn_MkaQ.js} +6 -6
  14. package/dist/browser/{RouteStore-BZ4yT6y-.js → RouteStore-D7G9YROM.js} +9 -9
  15. package/dist/browser/{SetKioskMode-CrOh6y0s.js → SetKioskMode-CMndo5d3.js} +11 -11
  16. package/dist/browser/{ShowKiosk-D1ClaHDA.js → ShowKiosk-CUiprdS9.js} +10 -10
  17. package/dist/browser/{UIState-ByyaMrdX.js → UIState-D0GHKRf4.js} +13 -13
  18. package/dist/browser/{ViewerMenuPanel-DakCumIN.js → ViewerMenuPanel-B7corw44.js} +10 -10
  19. package/dist/browser/{add-debug-secret-listener-CTKH_oRH.js → add-debug-secret-listener-uMLIuPW5.js} +1 -1
  20. package/dist/browser/{adopt-global-settings-D9sTS_JW.js → adopt-global-settings-BVVdz-YX.js} +9 -9
  21. package/dist/browser/{boolean-editor-BwIw17rF.js → boolean-editor-Dg3cfoLy.js} +9 -9
  22. package/dist/browser/{bootIntercom-CdKoKFoh.js → bootIntercom-7FTJ0piX.js} +2 -2
  23. package/dist/browser/bundle.json +85 -85
  24. package/dist/browser/{camera-events-sB__cd6I.js → camera-events-DbYubA01.js} +1 -1
  25. package/dist/browser/{classnames-CYKN3c87.js → classnames-BryLpfgQ.js} +2 -2
  26. package/dist/browser/{client-DrQUHXfL.js → client-DnnJr0Ks.js} +5 -5
  27. package/dist/browser/{components-B5r0X7hw.js → components-DHNMQbqJ.js} +48 -48
  28. package/dist/browser/{create-live-plan-B5ooow2K.js → create-live-plan-BgCjK-Kh.js} +13 -13
  29. package/dist/browser/{debug-context-J8d6t8eB.js → debug-context-BEABO7OL.js} +5 -5
  30. package/dist/browser/{debug-overlay-C2Jgoq6G.js → debug-overlay-Bv-C1rmT.js} +10 -10
  31. package/dist/browser/{debug-ui-DPXawVu_.js → debug-ui-FirQ0EQb.js} +6 -6
  32. package/dist/browser/{dimming-BxZDtzpk.js → dimming-B7lpw_UN.js} +189 -177
  33. package/dist/browser/{dist-DMogs9qh.js → dist-DN5ATV5p.js} +3 -3
  34. package/dist/browser/{dist-Bbn7DzPA.js → dist-p14a9te8.js} +6 -6
  35. package/dist/browser/{dist-97S2bhkn.js → dist-sup8YcEL.js} +5 -5
  36. package/dist/browser/{efp-debug-init-D_04kt78.js → efp-debug-init-DUPmVtYg.js} +3 -3
  37. package/dist/browser/{enum-editor-BAL-m2C_.js → enum-editor-g46R4Zq7.js} +4 -4
  38. package/dist/browser/{es5-CrpYYfSz.js → es5-D_WEVRPo.js} +2 -2
  39. package/dist/browser/{event-head-qa_rZoTR.js → event-head-DBemDpob.js} +1 -1
  40. package/dist/browser/{event-not-found-9sjy2LtU.js → event-not-found-m_QUX3nl.js} +3 -3
  41. package/dist/browser/{event-scoped-cache-BHo01Y40.js → event-scoped-cache-BpjbCC59.js} +2 -2
  42. package/dist/browser/{expofpUrl-zbpM1nSq.js → expofpUrl-CAOzqFzt.js} +1 -1
  43. package/dist/browser/{exports-DlkhL3Gn.js → exports-svWN4mLB.js} +1 -1
  44. package/dist/browser/{favicon-MiQiTRAG.js → favicon-hR5BaEm4.js} +1 -1
  45. package/dist/browser/{fetch-retry.umd-BqYOzYBV.js → fetch-retry.umd-DS-5XmpN.js} +2 -2
  46. package/dist/browser/{flex-u4ly_-5z.js → flex-BAz1Zlx4.js} +5 -5
  47. package/dist/browser/{floorplan.loader-CC9R8Z2W.js → floorplan.loader-DPHmWNvd.js} +12 -12
  48. package/dist/browser/{floorplan.ready-WeInPpd9.js → floorplan.ready-clG372Lo.js} +23 -23
  49. package/dist/browser/{freeBanner-C4Bvu0Zb.js → freeBanner-D0nU1aT0.js} +2 -2
  50. package/dist/browser/{fuse-G-0speZ8.js → fuse-DFf-hk6f.js} +2 -2
  51. package/dist/browser/{i18n-BnNMXZMY.js → i18n-CPJmxFQX.js} +6 -6
  52. package/dist/browser/index.js +17 -17
  53. package/dist/browser/{index.module-BSaN-b6b.js → index.module-COSPv-bu.js} +4 -4
  54. package/dist/browser/{init-ui-DzAjXF5g.js → init-ui-Cj38w8tb.js} +9 -9
  55. package/dist/browser/{integrateKiosk-BVDvw6FM.js → integrateKiosk-Du5HThkw.js} +5 -5
  56. package/dist/browser/{is-debug-D9QhFSGQ.js → is-debug-CmeNjnvW.js} +4 -4
  57. package/dist/browser/{is-own-domain-yTnvm9Le.js → is-own-domain-z0V4JpKp.js} +1 -1
  58. package/dist/browser/{is-webview-BqECy8-R.js → is-webview-JHA9dtnx.js} +1 -1
  59. package/dist/browser/{jsx-runtime-BSXeXEHO.js → jsx-runtime-D-d_UIhH.js} +2 -2
  60. package/dist/browser/{kiosk-mode-DWfwx4t2.js → kiosk-mode-ZBMSIWbK.js} +3 -3
  61. package/dist/browser/{kiosk-record-BOMPoHaT.js → kiosk-record-Djd0ZbEF.js} +1 -1
  62. package/dist/browser/{kioskApi-BDv0w-PS.js → kioskApi-CXqDoN71.js} +7 -7
  63. package/dist/browser/{lib-B1qP6Z0C.js → lib-GyGKAKXf.js} +3 -3
  64. package/dist/browser/{loadImage-DPQiw0WY.js → loadImage-cnbZD9uN.js} +1 -1
  65. package/dist/browser/{logDeviceInfo-1M7WZnu3.js → logDeviceInfo-BSf9sLzS.js} +9 -9
  66. package/dist/browser/{mobx-ClZZNnUh.js → mobx-D3NQFhEq.js} +4 -4
  67. package/dist/browser/{mobx.module-6oYVXmmv.js → mobx.module-CAKsDOYI.js} +1 -1
  68. package/dist/browser/{optional-boolean-editor-Cc0C_hZa.js → optional-boolean-editor-IR9THgLK.js} +3 -3
  69. package/dist/browser/{optional-enum-editor-V4cHa53F.js → optional-enum-editor-PRQn6yzK.js} +4 -4
  70. package/dist/browser/{optional-string-editor-DRRoeLbD.js → optional-string-editor-bZCuZ1tn.js} +4 -4
  71. package/dist/browser/{particles.min-COe9Gmit.js → particles.min-CwWuVwyg.js} +2 -2
  72. package/dist/browser/{react-Ca00Xeqo.js → react-DQVTc7xG.js} +2 -2
  73. package/dist/browser/{react-dom-DDAmTd7-.js → react-dom-BsqqKfoG.js} +3 -3
  74. package/dist/browser/{rolldown-runtime-DgjedSI7.js → rolldown-runtime-Cyn7iuGp.js} +1 -1
  75. package/dist/browser/{scene-DaAXLmIU.js → scene-CqJCEbSr.js} +2 -2
  76. package/dist/browser/{scheduler-BGLqZKHW.js → scheduler-CVY86sNW.js} +2 -2
  77. package/dist/browser/{select-DXkYXR4z.js → select-Du3T8Mpj.js} +10 -10
  78. package/dist/browser/{settings-CwB0Bji2.js → settings-NB72PTux.js} +2 -2
  79. package/dist/browser/{settings-item-CT5g44Cs.js → settings-item-BIPeCHmD.js} +6 -6
  80. package/dist/browser/{store-WuygYZ-g.js → store-BvnDl4Sc.js} +2 -2
  81. package/dist/browser/{string-editor-BATS-p4e.js → string-editor-o-TMbaK8.js} +4 -4
  82. package/dist/browser/{text-field-BDxhPAkK.js → text-field-BZ5346fV.js} +5 -5
  83. package/dist/browser/{theme-ln4LxgRi.js → theme-CPcxdYz7.js} +8 -8
  84. package/dist/browser/{ui-BDzovVzL.js → ui-CesJTtUW.js} +8 -8
  85. package/dist/browser/{useRenderTarget-BBar7DgD.js → useRenderTarget-DpLNpx1f.js} +4 -4
  86. package/dist/browser/{viewport-D2M15h-f.js → viewport-QrHclV_L.js} +3 -3
  87. package/dist/browser/{wayfinding-zYAP3tr2.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.6",
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.6",
73
- "@expofp/debug": "3.44.6",
74
- "@expofp/geometry": "3.44.6",
75
- "@expofp/renderer": "3.44.6",
76
- "@expofp/resolve": "3.44.6",
77
- "@expofp/schema": "3.44.6",
78
- "@expofp/ui": "3.44.6",
79
- "@expofp/utils": "3.44.6",
80
- "@expofp/wayfinding": "3.44.6"
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",