@expofp/floorplan 3.13.1 → 3.13.2
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-CKiBkbgb.js → Button-C5DLguTW.js} +6 -6
- package/dist/browser/{CookieConsent-CSTxsO7b.js → CookieConsent-CPXxoJkz.js} +8 -8
- package/dist/browser/{Debug-VJg8Kv3w.js → Debug-bxMz-HDF.js} +8 -8
- package/dist/browser/{Demo-DK7aO8n7.js → Demo-CGCZqU_8.js} +10 -10
- package/dist/browser/{Free-Dc9anWmM.js → Free-I-EGiu3o.js} +10 -10
- package/dist/browser/{Gallery-Dnm4hSmm.js → Gallery-Bce2fubu.js} +31 -25
- package/dist/browser/{GpsLoader-DQmIKYxp.js → GpsLoader-CnPH3rxE.js} +12 -12
- package/dist/browser/{KioskStore-Do9vKaRP.js → KioskStore-K0Ps7wq6.js} +4 -4
- package/dist/browser/{MaplibreAdapter-bY-ABtGS.js → MaplibreAdapter-DKa1N9-7.js} +85 -57
- package/dist/browser/{ModalContainer-DnYcW0A9.js → ModalContainer-BxCJTxBS.js} +11 -11
- package/dist/browser/{PermissionNotice-BfOksslN.js → PermissionNotice-BS53dDaS.js} +7 -7
- package/dist/browser/{SetKioskMode-vTpieU9t.js → SetKioskMode-P2g_TnCr.js} +10 -10
- package/dist/browser/{ShowKiosk-CdNxtqFI.js → ShowKiosk-Bz-7t-PL.js} +12 -12
- package/dist/browser/{TouchHand-B9X_pexY.js → TouchHand-Dm3c6gpk.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-Cwhfqk7r.js → ViewerMenuPanel-COyljU8V.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-mWeM9pHG.js → add-debug-secret-listener-DQjjtobD.js} +1 -1
- package/dist/browser/{reset-all-settings-C4_ors4k.js → adopt-global-settings-DIJsf94E.js} +12 -17
- package/dist/browser/{boolean-editor-CGPZFexF.js → boolean-editor-D4Y66mgk.js} +46 -46
- package/dist/browser/{bootIntercom-CaST_jNX.js → bootIntercom-DUPbX22l.js} +3 -3
- package/dist/browser/{booth-by-xy-BO6naDgy.js → booth-by-xy-DKyMJwg9.js} +13 -13
- package/dist/browser/bundle.json +67 -70
- package/dist/browser/{classnames-ClEJC3j4.js → classnames-CTiheKEO.js} +2 -2
- package/dist/browser/{client-DXdbQp9r.js → client-B0g0Q0fu.js} +9 -9
- package/dist/browser/{components-Bowa21U1.js → components-DUbHmBQ6.js} +60 -53
- package/dist/browser/{debug-overlay-Y5npuuWR.js → debug-overlay-CKXL3Z9z.js} +470 -464
- package/dist/browser/{debug-ui-D1g5i_jy.js → debug-ui-D2GPuJSX.js} +7 -7
- package/dist/browser/{dist-Cn9LPy1P.js → dist-BFVoy_zB.js} +7 -7
- package/dist/browser/{dist-BSvcUdys.js → dist-CFY_dc-C.js} +5 -5
- package/dist/browser/{dist-aJ-8azal.js → dist-CZH-D_bo.js} +66 -67
- package/dist/browser/{efp-debug-init-Brk9OaSQ.js → efp-debug-init-pd2smy4A.js} +4 -4
- package/dist/browser/{enum-editor-BZ9LwkZ8.js → enum-editor-a07SOXXi.js} +5 -5
- package/dist/browser/{es5-XJHAF1nV.js → es5-jDwWZhmf.js} +2 -2
- package/dist/browser/{event-not-found-_rTvDWyj.js → event-not-found-CPqO_ew-.js} +1 -1
- package/dist/browser/{exports-DWUH8uau.js → exports-8JcxTO7_.js} +567 -566
- package/dist/browser/{favicon-5J-1eJZd.js → favicon-BhTDecsz.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Br7VuO9v.js → fetch-retry.umd-BuEcG130.js} +2 -2
- package/dist/browser/{flex-B3O1z4v3.js → flex-FVc6l8VM.js} +17 -17
- package/dist/browser/{floorplan.loader-sk15sA3u.js → floorplan.loader-DM3BoMUa.js} +1372 -1298
- package/dist/browser/{floorplan.ready-B4ahF1S7.js → floorplan.ready-DQAk0-bE.js} +294 -294
- package/dist/browser/{fuse-Ci_KKUTa.js → fuse-hiNWVTid.js} +2 -2
- package/dist/browser/{i18n-99DQd2vS.js → i18n-DmUQ2csh.js} +2399 -2412
- package/dist/browser/index.js +36 -36
- package/dist/browser/{index.module-DAnhLbye.js → index.module-Ce5K5GHH.js} +6 -6
- package/dist/browser/{integrateKiosk-DZXpUrOj.js → integrateKiosk-DLY98yHT.js} +4 -4
- package/dist/browser/{is-webview-DpONzc0i.js → is-webview-DYW7jMPo.js} +1 -1
- package/dist/browser/{jsx-runtime-CaS3omHd.js → jsx-runtime-Cn7VZCRr.js} +4 -4
- package/dist/browser/{lib-BiZuekek.js → lib-DKxIjoGs.js} +155 -112
- package/dist/browser/{loadImage-CjXrDhKo.js → loadImage-CFRF6nKm.js} +5 -5
- package/dist/browser/{logDeviceInfo-BYL9Ek4m.js → logDeviceInfo-B2xD643p.js} +9 -9
- package/dist/browser/{main-C5obpH9n.js → main-BE7HSdfx.js} +1 -1
- package/dist/browser/{mobx-DUuRiBpm.js → mobx-Dss6V0uv.js} +5 -5
- package/dist/browser/{optional-boolean-editor-vmPQV7dq.js → optional-boolean-editor-BDWvD6R3.js} +4 -4
- package/dist/browser/{optional-enum-editor-CAafO0D2.js → optional-enum-editor-DzJSD274.js} +5 -5
- package/dist/browser/{optional-string-editor-CnDprvv4.js → optional-string-editor-DvQrsAvN.js} +5 -5
- package/dist/browser/{particles.min-Bw-lHwaG.js → particles.min-0GINFlmD.js} +2 -2
- package/dist/browser/{react-DIEnjHSI.js → react-CQIXbbli.js} +5 -5
- package/dist/browser/{react-dom-CK-QaYaJ.js → react-dom-DB3HP1L3.js} +6 -6
- package/dist/browser/{rolldown-runtime-Dfh5_zpq.js → rolldown-runtime-CBbNE2KV.js} +1 -1
- package/dist/browser/select-DkvD6Ont.js +1367 -0
- package/dist/browser/{settings-CkTeZAPn.js → settings-3RnELfMa.js} +3 -3
- package/dist/browser/{settings-item-Bdmu0-LD.js → settings-item-wgFS4pwq.js} +16 -16
- package/dist/browser/{store-C8eFtLML.js → store-Bh1UUDBZ.js} +2883 -2883
- package/dist/browser/{string-editor-CM26hetz.js → string-editor-DIG3V4Iv.js} +5 -5
- package/dist/browser/{text-field-CdM7a_e4.js → text-field-Ce1nLpTL.js} +25 -25
- package/dist/browser/{theme-Byin1YOk.js → theme-DE94e68B.js} +949 -946
- package/dist/browser/{ui-Bso8uSzX.js → ui-DKrc1LYz.js} +11 -11
- package/dist/browser/{useRenderTarget-C16k6iot.js → useRenderTarget-DwEjrRiD.js} +5 -5
- package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
- package/dist/esm/components/Bookmarks.d.ts +1 -1
- package/dist/esm/components/Bookmarks.js +1 -1
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Category.d.ts +1 -1
- package/dist/esm/components/Debug.d.ts +1 -1
- package/dist/esm/components/Debug.js +1 -1
- package/dist/esm/components/ErrorBoundary.d.ts +1 -1
- package/dist/esm/components/ErrorBoundary.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Filter.d.ts +1 -1
- package/dist/esm/components/Filter.js +1 -1
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +1 -1
- package/dist/esm/components/Gallery/GalleryPreLoader.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
- package/dist/esm/components/Map/drawing/config/TextFitter.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/traffic/UpdateQueue.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +1 -1
- package/dist/esm/components/Menu.d.ts +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +4 -4
- package/dist/esm/components/RebookingNotesContainer.d.ts +1 -1
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/Search.d.ts +1 -1
- package/dist/esm/components/Search.js +1 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
- package/dist/esm/components/TourPoints.d.ts +1 -1
- package/dist/esm/components/Tours.js +1 -1
- package/dist/esm/components/Visited.d.ts +1 -1
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/Ws.d.ts +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/HandlerRegistry.js +1 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/store/BaseFilterStore.js +1 -1
- package/dist/esm/store/BookmarksStore.js +2 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/CategoryStore.d.ts +1 -1
- package/dist/esm/store/CategoryStore.js +1 -1
- package/dist/esm/store/EventStore.d.ts +2 -2
- package/dist/esm/store/EventStore.js +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +1 -1
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/IntercomStore.js +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/PoiTypeStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/SessionsFilterStore.js +1 -1
- package/dist/esm/store/ShortcutRegistry.js +1 -1
- package/dist/esm/store/SpeakerFilterStore.js +1 -1
- package/dist/esm/store/SpeakerStore.d.ts +2 -2
- package/dist/esm/store/SpeakerStore.js +1 -1
- package/dist/esm/store/SubButtonRegistry.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +2 -2
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/providers/SpeakerShortcutProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/search-buttons/constants.d.ts +8 -8
- package/dist/esm/tools/expofpUrl.d.ts +2 -2
- package/dist/esm/tools/logger.js +1 -1
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/ui/Autocomplete/Autocomplete.js +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
- package/dist/esm/ui/EventBadge/EventBadge.js +1 -1
- package/dist/esm/ui/Share/Share.js +1 -1
- package/dist/esm/utils/dimming.d.ts +1 -1
- package/dist/esm/utils/is-from-designer.d.ts +1 -1
- package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +1 -0
- package/dist/esm/utils/silence-mobx-react-lite-warning.js +1 -1
- package/package.json +17 -17
- package/dist/browser/prop-types-Bw2U3Pyj.js +0 -57
- package/dist/browser/select-CGbkxHY8.js +0 -1360
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__decorate as e}from"tslib";import{action as i,computed as s,observable as r}from"mobx";export class SearchButtonsState{constructor(){this.isVisible=!0,this.activePoiFilterId=null,this.activeSubButtonsParentId=null,this.activeSubButtonId=null,this.subButtonsEnabled=!1,this.searchShortcutState={activeParentId:null,activeChildren:new Set,isShortcutsVisible:!1}}setVisible(t){this.isVisible=t}setSubButtonParent(t){this.activeSubButtonsParentId=t}setPoiFilter(t){this.activePoiFilterId=t}setSubButton(t){this.activeSubButtonId=t}setSubButtonsEnabled(t){this.subButtonsEnabled=t}setActiveParentId(t){this.searchShortcutState.activeParentId=t}showShortcuts(t){this.searchShortcutState.isShortcutsVisible=t}clearChildren(){this.searchShortcutState.activeChildren.clear()}toggleChild(t){this.searchShortcutState.activeChildren.has(t)?this.searchShortcutState.activeChildren.delete(t):this.searchShortcutState.activeChildren.add(t)}reset(){this.activePoiFilterId=null,this.searchShortcutState.activeParentId=null,this.searchShortcutState.activeChildren.clear(),this.searchShortcutState.isShortcutsVisible=!1}get hasActiveChildren(){return this.searchShortcutState.activeChildren.size>0}get activeChildrenCount(){return this.searchShortcutState.activeChildren.size}get hasActiveParentWithChildren(){return this.searchShortcutState.isShortcutsVisible&&this.searchShortcutState.activeParentId!==null}isChildActive(t){return this.searchShortcutState.activeChildren.has(t)}}e([r],SearchButtonsState.prototype,"isVisible",void 0),e([r],SearchButtonsState.prototype,"activePoiFilterId",void 0),e([r],SearchButtonsState.prototype,"activeSubButtonsParentId",void 0),e([r],SearchButtonsState.prototype,"activeSubButtonId",void 0),e([r],SearchButtonsState.prototype,"subButtonsEnabled",void 0),e([r],SearchButtonsState.prototype,"searchShortcutState",void 0),e([i],SearchButtonsState.prototype,"setVisible",null),e([i],SearchButtonsState.prototype,"setSubButtonParent",null),e([i],SearchButtonsState.prototype,"setPoiFilter",null),e([i],SearchButtonsState.prototype,"setSubButton",null),e([i],SearchButtonsState.prototype,"setSubButtonsEnabled",null),e([i],SearchButtonsState.prototype,"setActiveParentId",null),e([i],SearchButtonsState.prototype,"showShortcuts",null),e([i],SearchButtonsState.prototype,"clearChildren",null),e([i],SearchButtonsState.prototype,"toggleChild",null),e([i],SearchButtonsState.prototype,"reset",null),e([s],SearchButtonsState.prototype,"hasActiveChildren",null),e([s],SearchButtonsState.prototype,"activeChildrenCount",null),e([s],SearchButtonsState.prototype,"hasActiveParentWithChildren",null);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__esDecorate as s,__runInitializers as Y}from"tslib";import{action as l,computed as i,reaction as H}from"mobx";import{CACHE_DURATION as K,LANGUAGE_TYPE as X,MOBILE_BREAKPOINT as q}from"../../constants";import J from"../../data";import{SessionsSubButtonProvider as Q}from"../providers/SessionsSubButtonProvider";import{SubButtonRegistry as Z}from"../SubButtonRegistry";import{PREFIXES as $}from"./constants";import{SearchButtonsActions as tt}from"./SearchButtonsActions";import{SearchButtonsFactory as et}from"./SearchButtonsFactory";import{SearchButtonsFilters as at}from"./SearchButtonsFilters";import{SearchButtonsState as st}from"./SearchButtonsState";import{countMapValues as it,extractPoiTypeId as lt,isValidConfig as nt}from"./utils";let ot=(()=>{let a=[],o,r,c,u,h,d,g,S,B,f,p,m,v,C,_,b,P,y,k,I,T,A,F,w,E,R,x,M,V,L,O,W,D,U,z,N,j,G;return class{static{const e=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;o=[l],r=[i],c=[i],u=[i],h=[i],d=[i],g=[i],S=[i],B=[i],f=[i],p=[i],m=[i],v=[i],C=[i],_=[i],b=[i],P=[i],y=[i],k=[i],I=[i],T=[i],A=[l],F=[l],w=[l],E=[l],R=[l],x=[l],M=[l],V=[l],L=[l],O=[l],W=[l],D=[l],U=[l],z=[l],N=[l],j=[l],G=[l],s(this,null,o,{kind:"method",name:"invalidatePoiTypeCounts",static:!1,private:!1,access:{has:t=>"invalidatePoiTypeCounts"in t,get:t=>t.invalidatePoiTypeCounts},metadata:e},null,a),s(this,null,r,{kind:"getter",name:"isVisible",static:!1,private:!1,access:{has:t=>"isVisible"in t,get:t=>t.isVisible},metadata:e},null,a),s(this,null,c,{kind:"getter",name:"shouldShow",static:!1,private:!1,access:{has:t=>"shouldShow"in t,get:t=>t.shouldShow},metadata:e},null,a),s(this,null,u,{kind:"getter",name:"activePoiFilterId",static:!1,private:!1,access:{has:t=>"activePoiFilterId"in t,get:t=>t.activePoiFilterId},metadata:e},null,a),s(this,null,h,{kind:"getter",name:"activeSubButtonsParentId",static:!1,private:!1,access:{has:t=>"activeSubButtonsParentId"in t,get:t=>t.activeSubButtonsParentId},metadata:e},null,a),s(this,null,d,{kind:"getter",name:"activeSubButtonId",static:!1,private:!1,access:{has:t=>"activeSubButtonId"in t,get:t=>t.activeSubButtonId},metadata:e},null,a),s(this,null,g,{kind:"getter",name:"subButtonsEnabled",static:!1,private:!1,access:{has:t=>"subButtonsEnabled"in t,get:t=>t.subButtonsEnabled},metadata:e},null,a),s(this,null,S,{kind:"getter",name:"searchShortcutState",static:!1,private:!1,access:{has:t=>"searchShortcutState"in t,get:t=>t.searchShortcutState},metadata:e},null,a),s(this,null,B,{kind:"getter",name:"searchButtons",static:!1,private:!1,access:{has:t=>"searchButtons"in t,get:t=>t.searchButtons},metadata:e},null,a),s(this,null,f,{kind:"getter",name:"hasAnySearchButtons",static:!1,private:!1,access:{has:t=>"hasAnySearchButtons"in t,get:t=>t.hasAnySearchButtons},metadata:e},null,a),s(this,null,p,{kind:"getter",name:"hasActiveSearchButton",static:!1,private:!1,access:{has:t=>"hasActiveSearchButton"in t,get:t=>t.hasActiveSearchButton},metadata:e},null,a),s(this,null,m,{kind:"getter",name:"activeSearchButtonLabel",static:!1,private:!1,access:{has:t=>"activeSearchButtonLabel"in t,get:t=>t.activeSearchButtonLabel},metadata:e},null,a),s(this,null,v,{kind:"getter",name:"activeSubButtons",static:!1,private:!1,access:{has:t=>"activeSubButtons"in t,get:t=>t.activeSubButtons},metadata:e},null,a),s(this,null,C,{kind:"getter",name:"shouldShowSubButtons",static:!1,private:!1,access:{has:t=>"shouldShowSubButtons"in t,get:t=>t.shouldShowSubButtons},metadata:e},null,a),s(this,null,_,{kind:"getter",name:"hasActiveParentWithChildren",static:!1,private:!1,access:{has:t=>"hasActiveParentWithChildren"in t,get:t=>t.hasActiveParentWithChildren},metadata:e},null,a),s(this,null,b,{kind:"getter",name:"areAllSelected",static:!1,private:!1,access:{has:t=>"areAllSelected"in t,get:t=>t.areAllSelected},metadata:e},null,a),s(this,null,P,{kind:"getter",name:"activeChildrenCount",static:!1,private:!1,access:{has:t=>"activeChildrenCount"in t,get:t=>t.activeChildrenCount},metadata:e},null,a),s(this,null,y,{kind:"getter",name:"totalChildrenCount",static:!1,private:!1,access:{has:t=>"totalChildrenCount"in t,get:t=>t.totalChildrenCount},metadata:e},null,a),s(this,null,k,{kind:"getter",name:"poiTypeCounts",static:!1,private:!1,access:{has:t=>"poiTypeCounts"in t,get:t=>t.poiTypeCounts},metadata:e},null,a),s(this,null,I,{kind:"getter",name:"totalPoiTypeCount",static:!1,private:!1,access:{has:t=>"totalPoiTypeCount"in t,get:t=>t.totalPoiTypeCount},metadata:e},null,a),s(this,null,T,{kind:"getter",name:"activePoiTypeId",static:!1,private:!1,access:{has:t=>"activePoiTypeId"in t,get:t=>t.activePoiTypeId},metadata:e},null,a),s(this,null,A,{kind:"method",name:"handleSearchButtonClick",static:!1,private:!1,access:{has:t=>"handleSearchButtonClick"in t,get:t=>t.handleSearchButtonClick},metadata:e},null,a),s(this,null,F,{kind:"method",name:"handleExtendedSearchButtonClick",static:!1,private:!1,access:{has:t=>"handleExtendedSearchButtonClick"in t,get:t=>t.handleExtendedSearchButtonClick},metadata:e},null,a),s(this,null,w,{kind:"method",name:"handleMainButtonClick",static:!1,private:!1,access:{has:t=>"handleMainButtonClick"in t,get:t=>t.handleMainButtonClick},metadata:e},null,a),s(this,null,E,{kind:"method",name:"handleSessionsClick",static:!1,private:!1,access:{has:t=>"handleSessionsClick"in t,get:t=>t.handleSessionsClick},metadata:e},null,a),s(this,null,R,{kind:"method",name:"togglePoiType",static:!1,private:!1,access:{has:t=>"togglePoiType"in t,get:t=>t.togglePoiType},metadata:e},null,a),s(this,null,x,{kind:"method",name:"clearAllFilters",static:!1,private:!1,access:{has:t=>"clearAllFilters"in t,get:t=>t.clearAllFilters},metadata:e},null,a),s(this,null,M,{kind:"method",name:"showSubButtons",static:!1,private:!1,access:{has:t=>"showSubButtons"in t,get:t=>t.showSubButtons},metadata:e},null,a),s(this,null,V,{kind:"method",name:"hideSubButtons",static:!1,private:!1,access:{has:t=>"hideSubButtons"in t,get:t=>t.hideSubButtons},metadata:e},null,a),s(this,null,L,{kind:"method",name:"handleSubButtonClick",static:!1,private:!1,access:{has:t=>"handleSubButtonClick"in t,get:t=>t.handleSubButtonClick},metadata:e},null,a),s(this,null,O,{kind:"method",name:"toggleChildFilter",static:!1,private:!1,access:{has:t=>"toggleChildFilter"in t,get:t=>t.toggleChildFilter},metadata:e},null,a),s(this,null,W,{kind:"method",name:"clearPoiTypeFilters",static:!1,private:!1,access:{has:t=>"clearPoiTypeFilters"in t,get:t=>t.clearPoiTypeFilters},metadata:e},null,a),s(this,null,D,{kind:"method",name:"clearAllChildFilters",static:!1,private:!1,access:{has:t=>"clearAllChildFilters"in t,get:t=>t.clearAllChildFilters},metadata:e},null,a),s(this,null,U,{kind:"method",name:"setActiveParentId",static:!1,private:!1,access:{has:t=>"setActiveParentId"in t,get:t=>t.setActiveParentId},metadata:e},null,a),s(this,null,z,{kind:"method",name:"showShortcuts",static:!1,private:!1,access:{has:t=>"showShortcuts"in t,get:t=>t.showShortcuts},metadata:e},null,a),s(this,null,N,{kind:"method",name:"clearChildren",static:!1,private:!1,access:{has:t=>"clearChildren"in t,get:t=>t.clearChildren},metadata:e},null,a),s(this,null,j,{kind:"method",name:"setSubButtonId",static:!1,private:!1,access:{has:t=>"setSubButtonId"in t,get:t=>t.setSubButtonId},metadata:e},null,a),s(this,null,G,{kind:"method",name:"setPoiFilterId",static:!1,private:!1,access:{has:t=>"setPoiFilterId"in t,get:t=>t.setPoiFilterId},metadata:e},null,a),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}rootStore=Y(this,a);_subButtonRegistry;state;filters;actions;factory;poiTypeCountsCache=new Map;lastPoiTypeCountUpdate=0;constructor(e){this.rootStore=e,this.state=new st,this.filters=new at(e,this.state),this.actions=new tt(e,this.state,this.filters),this.factory=new et(e,this.state,this.actions),this.setupReactions()}setupReactions(){H(()=>this.rootStore.boothStore.booths.length,()=>this.invalidatePoiTypeCounts())}get subButtonRegistry(){return this._subButtonRegistry||(this._subButtonRegistry=new Z,this.registerSubButtonProviders()),this._subButtonRegistry}registerSubButtonProviders(){this.subButtonRegistry.register(new Q(this.rootStore))}invalidatePoiTypeCounts(){this.poiTypeCountsCache.clear(),this.lastPoiTypeCountUpdate=0}get isVisible(){return this.state.isVisible}get shouldShow(){const{uiState:e}=this.rootStore;if(e.screenSize.width>=q)return this.state.isVisible;const n=!!(e.selectedExhibitor||e.selectedBooth||e.selectedEventItem||e.selectedRoute||e.menu||e.list.type===X);return this.state.isVisible&&!n}get activePoiFilterId(){return this.state.activePoiFilterId}get activeSubButtonsParentId(){return this.state.activeSubButtonsParentId}get activeSubButtonId(){return this.state.activeSubButtonId}get subButtonsEnabled(){return this.state.subButtonsEnabled}get searchShortcutState(){return this.state.searchShortcutState}get searchButtons(){const e=J.filterButtonsConfig;if(!nt(e))return console.warn("[SearchButtonsStore] Invalid filterButtonsConfig detected"),[];const t=e.searchButtons;return this.factory.createButtons(t)}get hasAnySearchButtons(){return this.searchButtons.length>0}get hasActiveSearchButton(){return this.state.activePoiFilterId!==null||this.rootStore.uiState.selectedCategoryFilters.length>0}get activeSearchButtonLabel(){return this.state.activePoiFilterId?this.searchButtons.find(t=>t.id===this.state.activePoiFilterId)?.label||null:this.rootStore.uiState.selectedCategoryFilters.length>0?"Categories":null}get activeSubButtons(){return this.state.activeSubButtonsParentId?this.subButtonRegistry.getSubButtons(this.state.activeSubButtonsParentId):[]}get shouldShowSubButtons(){if(!this.state.subButtonsEnabled||!this.state.activeSubButtonsParentId)return!1;const e=this.searchButtons.find(t=>t.id===this.state.activeSubButtonsParentId);return!e||!e.active?!1:this.subButtonRegistry.shouldShowSubButtons(this.state.activeSubButtonsParentId)&&this.activeSubButtons.length>0}get hasActiveParentWithChildren(){return this.state.hasActiveParentWithChildren}get areAllSelected(){return this.filters.areAllSelected()}get activeChildrenCount(){return this.state.activeChildrenCount}get totalChildrenCount(){return this.filters.getChildrenCount()}get poiTypeCounts(){const e=Date.now();if(e-this.lastPoiTypeCountUpdate<K&&this.poiTypeCountsCache.size>0)return this.poiTypeCountsCache;const t=new Map;return this.rootStore.boothStore.booths.forEach(n=>{n.poiTypeId&&t.set(n.poiTypeId,(t.get(n.poiTypeId)||0)+1)}),this.poiTypeCountsCache=t,this.lastPoiTypeCountUpdate=e,t}get totalPoiTypeCount(){return it(this.poiTypeCounts)}get activePoiTypeId(){return this.state.activePoiFilterId?.startsWith($.POI_TYPE)?lt(this.state.activePoiFilterId):null}handleSearchButtonClick(e){this.actions.handleSearchButtonClick(e)}handleExtendedSearchButtonClick(e){this.actions.handleExtendedSearchButtonClick(e)}handleMainButtonClick(e){this.actions.handleMainButtonClick(e)}handleSessionsClick(){this.actions.handleSessionsClick()}togglePoiType(e){this.actions.togglePoiType(e)}clearAllFilters(){this.actions.clearAllFilters()}showSubButtons(e){this.actions.showSubButtons(e)}hideSubButtons(){this.actions.hideSubButtons()}handleSubButtonClick(e){this.state.activeSubButtonId!==e&&(this.state.setSubButton(e),this.state.activeSubButtonsParentId&&this.subButtonRegistry.handleSubButtonClick(this.state.activeSubButtonsParentId,e))}toggleChildFilter(e){this.filters.toggleChildFilter(e)}clearPoiTypeFilters(){this.filters.clearPoiTypeFilters()}clearAllChildFilters(){this.filters.clearAllChildFilters()}setActiveParentId(e){this.state.setActiveParentId(e)}showShortcuts(e){this.state.showShortcuts(e)}clearChildren(){this.state.clearChildren()}setSubButtonId(e){this.state.setSubButton(e)}setPoiFilterId(e){this.state.setPoiFilter(e)}getPoiTypeTotalCount(e){return this.poiTypeCounts.get(e)||0}isChildActive(e){return this.state.isChildActive(e)}getActiveParent(){return this.filters.getActiveParent()}}})();export default ot;
|
|
1
|
+
import{__decorate as i}from"tslib";import{action as s,computed as o,reaction as l}from"mobx";import{CACHE_DURATION as u,LANGUAGE_TYPE as a,MOBILE_BREAKPOINT as h}from"../../constants";import c from"../../data";import{SessionsSubButtonProvider as p}from"../providers/SessionsSubButtonProvider";import{SubButtonRegistry as d}from"../SubButtonRegistry";import{PREFIXES as S}from"./constants";import{SearchButtonsActions as y}from"./SearchButtonsActions";import{SearchButtonsFactory as B}from"./SearchButtonsFactory";import{SearchButtonsFilters as C}from"./SearchButtonsFilters";import{SearchButtonsState as g}from"./SearchButtonsState";import{countMapValues as b,extractPoiTypeId as P,isValidConfig as v}from"./utils";export default class e{constructor(t){this.poiTypeCountsCache=new Map,this.lastPoiTypeCountUpdate=0,this.rootStore=t,this.state=new g,this.filters=new C(t,this.state),this.actions=new y(t,this.state,this.filters),this.factory=new B(t,this.state,this.actions),this.setupReactions()}setupReactions(){l(()=>this.rootStore.boothStore.booths.length,()=>this.invalidatePoiTypeCounts())}get subButtonRegistry(){return this._subButtonRegistry||(this._subButtonRegistry=new d,this.registerSubButtonProviders()),this._subButtonRegistry}registerSubButtonProviders(){this.subButtonRegistry.register(new p(this.rootStore))}invalidatePoiTypeCounts(){this.poiTypeCountsCache.clear(),this.lastPoiTypeCountUpdate=0}get isVisible(){return this.state.isVisible}get shouldShow(){const{uiState:t}=this.rootStore;if(t.screenSize.width>=h)return this.state.isVisible;const r=!!(t.selectedExhibitor||t.selectedBooth||t.selectedEventItem||t.selectedRoute||t.menu||t.list.type===a);return this.state.isVisible&&!r}get activePoiFilterId(){return this.state.activePoiFilterId}get activeSubButtonsParentId(){return this.state.activeSubButtonsParentId}get activeSubButtonId(){return this.state.activeSubButtonId}get subButtonsEnabled(){return this.state.subButtonsEnabled}get searchShortcutState(){return this.state.searchShortcutState}get searchButtons(){const t=c.filterButtonsConfig;if(!v(t))return console.warn("[SearchButtonsStore] Invalid filterButtonsConfig detected"),[];const n=t.searchButtons;return this.factory.createButtons(n)}get hasAnySearchButtons(){return this.searchButtons.length>0}get hasActiveSearchButton(){return this.state.activePoiFilterId!==null||this.rootStore.uiState.selectedCategoryFilters.length>0}get activeSearchButtonLabel(){return this.state.activePoiFilterId?this.searchButtons.find(n=>n.id===this.state.activePoiFilterId)?.label||null:this.rootStore.uiState.selectedCategoryFilters.length>0?"Categories":null}get activeSubButtons(){return this.state.activeSubButtonsParentId?this.subButtonRegistry.getSubButtons(this.state.activeSubButtonsParentId):[]}get shouldShowSubButtons(){if(!this.state.subButtonsEnabled||!this.state.activeSubButtonsParentId)return!1;const t=this.searchButtons.find(n=>n.id===this.state.activeSubButtonsParentId);return!t||!t.active?!1:this.subButtonRegistry.shouldShowSubButtons(this.state.activeSubButtonsParentId)&&this.activeSubButtons.length>0}get hasActiveParentWithChildren(){return this.state.hasActiveParentWithChildren}get areAllSelected(){return this.filters.areAllSelected()}get activeChildrenCount(){return this.state.activeChildrenCount}get totalChildrenCount(){return this.filters.getChildrenCount()}get poiTypeCounts(){const t=Date.now();if(t-this.lastPoiTypeCountUpdate<u&&this.poiTypeCountsCache.size>0)return this.poiTypeCountsCache;const n=new Map;return this.rootStore.boothStore.booths.forEach(r=>{r.poiTypeId&&n.set(r.poiTypeId,(n.get(r.poiTypeId)||0)+1)}),this.poiTypeCountsCache=n,this.lastPoiTypeCountUpdate=t,n}get totalPoiTypeCount(){return b(this.poiTypeCounts)}get activePoiTypeId(){return this.state.activePoiFilterId?.startsWith(S.POI_TYPE)?P(this.state.activePoiFilterId):null}handleSearchButtonClick(t){this.actions.handleSearchButtonClick(t)}handleExtendedSearchButtonClick(t){this.actions.handleExtendedSearchButtonClick(t)}handleMainButtonClick(t){this.actions.handleMainButtonClick(t)}handleSessionsClick(){this.actions.handleSessionsClick()}togglePoiType(t){this.actions.togglePoiType(t)}clearAllFilters(){this.actions.clearAllFilters()}showSubButtons(t){this.actions.showSubButtons(t)}hideSubButtons(){this.actions.hideSubButtons()}handleSubButtonClick(t){this.state.activeSubButtonId!==t&&(this.state.setSubButton(t),this.state.activeSubButtonsParentId&&this.subButtonRegistry.handleSubButtonClick(this.state.activeSubButtonsParentId,t))}toggleChildFilter(t){this.filters.toggleChildFilter(t)}clearPoiTypeFilters(){this.filters.clearPoiTypeFilters()}clearAllChildFilters(){this.filters.clearAllChildFilters()}setActiveParentId(t){this.state.setActiveParentId(t)}showShortcuts(t){this.state.showShortcuts(t)}clearChildren(){this.state.clearChildren()}setSubButtonId(t){this.state.setSubButton(t)}setPoiFilterId(t){this.state.setPoiFilter(t)}getPoiTypeTotalCount(t){return this.poiTypeCounts.get(t)||0}isChildActive(t){return this.state.isChildActive(t)}getActiveParent(){return this.filters.getActiveParent()}}i([s],e.prototype,"invalidatePoiTypeCounts",null),i([o],e.prototype,"isVisible",null),i([o],e.prototype,"shouldShow",null),i([o],e.prototype,"activePoiFilterId",null),i([o],e.prototype,"activeSubButtonsParentId",null),i([o],e.prototype,"activeSubButtonId",null),i([o],e.prototype,"subButtonsEnabled",null),i([o],e.prototype,"searchShortcutState",null),i([o],e.prototype,"searchButtons",null),i([o],e.prototype,"hasAnySearchButtons",null),i([o],e.prototype,"hasActiveSearchButton",null),i([o],e.prototype,"activeSearchButtonLabel",null),i([o],e.prototype,"activeSubButtons",null),i([o],e.prototype,"shouldShowSubButtons",null),i([o],e.prototype,"hasActiveParentWithChildren",null),i([o],e.prototype,"areAllSelected",null),i([o],e.prototype,"activeChildrenCount",null),i([o],e.prototype,"totalChildrenCount",null),i([o],e.prototype,"poiTypeCounts",null),i([o],e.prototype,"totalPoiTypeCount",null),i([o],e.prototype,"activePoiTypeId",null),i([s],e.prototype,"handleSearchButtonClick",null),i([s],e.prototype,"handleExtendedSearchButtonClick",null),i([s],e.prototype,"handleMainButtonClick",null),i([s],e.prototype,"handleSessionsClick",null),i([s],e.prototype,"togglePoiType",null),i([s],e.prototype,"clearAllFilters",null),i([s],e.prototype,"showSubButtons",null),i([s],e.prototype,"hideSubButtons",null),i([s],e.prototype,"handleSubButtonClick",null),i([s],e.prototype,"toggleChildFilter",null),i([s],e.prototype,"clearPoiTypeFilters",null),i([s],e.prototype,"clearAllChildFilters",null),i([s],e.prototype,"setActiveParentId",null),i([s],e.prototype,"showShortcuts",null),i([s],e.prototype,"clearChildren",null),i([s],e.prototype,"setSubButtonId",null),i([s],e.prototype,"setPoiFilterId",null);
|
|
@@ -10,15 +10,15 @@ export declare enum SearchButtonType {
|
|
|
10
10
|
EXHIBITORS = "exhibitors"
|
|
11
11
|
}
|
|
12
12
|
export declare const PREFIXES: {
|
|
13
|
-
readonly POI_TYPE:
|
|
14
|
-
readonly CATEGORIES:
|
|
15
|
-
readonly POI_TYPES:
|
|
16
|
-
readonly LINK:
|
|
13
|
+
readonly POI_TYPE: 'poiType_';
|
|
14
|
+
readonly CATEGORIES: 'categories_';
|
|
15
|
+
readonly POI_TYPES: 'poi_types_';
|
|
16
|
+
readonly LINK: 'link_';
|
|
17
17
|
};
|
|
18
18
|
export declare const BUTTON_ICONS: {
|
|
19
|
-
readonly BOOKMARKS:
|
|
20
|
-
readonly VISITED:
|
|
21
|
-
readonly SESSIONS:
|
|
22
|
-
readonly EXHIBITORS:
|
|
19
|
+
readonly BOOKMARKS: 'icon-bookmark';
|
|
20
|
+
readonly VISITED: 'icon-checkmark';
|
|
21
|
+
readonly SESSIONS: 'icon-schedule';
|
|
22
|
+
readonly EXHIBITORS: 'icon-exhibitors';
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const EXPOFP_BASE_URL = "https://expofp.com/";
|
|
2
2
|
export declare const UTM_CAMPAIGNS: {
|
|
3
|
-
readonly SUBDOMAIN_CTA:
|
|
4
|
-
readonly SUBDOMAIN_LOGO:
|
|
3
|
+
readonly SUBDOMAIN_CTA: 'expofp_subdomain_cta';
|
|
4
|
+
readonly SUBDOMAIN_LOGO: 'expofp_subdomain_logo';
|
|
5
5
|
};
|
|
6
6
|
export declare function buildExpofpUrl(utmCampaign: string, path?: string): string;
|
|
7
7
|
//# sourceMappingURL=expofpUrl.d.ts.map
|
package/dist/esm/tools/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"debug";class c{messages=[]
|
|
1
|
+
import r from"debug";class c{constructor(){this.messages=[]}log(...s){this.push("DEBUG",s),r("efp:floorplan:debug")(...s)}error(...s){this.push("ERROR",s),i(console.error,s)}warn(...s){this.push("WARN",s),i(console.warn,s)}info(...s){this.push("INFO",s),r("efp:floorplan:info")(...s)}push(s,o){const p=o.map(t=>{if(typeof t=="object")try{return JSON.stringify(t)}catch(h){return h.message}return t}),a=s+" "+new Date().toISOString()+" "+p.join("; ");this.messages.push(a);const n=1e3;this.messages.length>n&&this.messages.splice(0,n/2)}}function i(e,s){try{e.apply(e,s)}catch{}}export default new c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getFpSvgJs as
|
|
1
|
+
import{getFpSvgJs as s}from"../data/fp-payloads";import t from"deepmerge";export class FpSettings{constructor(){this.boothLabelColor="#fff",this.boothBorderColor="#fff",this.backgroundColor="#ebebeb",this.heatmapColors=["#FDE7C7","#FDDBAE","#FDC48D","#FCB37C","#FCA26D","#F67B5B","#EB483E","#E03143","#6C0022"]}}class l extends FpSettings{constructor(){super(...arguments),this.EXPO=window.__efpEvent,this.borderless=!1,this.wayfinding=!1,this.colors={booths:{default:"#41b6e7",defaultHold:"#48484A",defaultSold:"#41b6e7",seectedLight:null,selected:"#fb3e59",selectedBorder:null,wayfinding:{selected:"#0088D6",selectedBorder:null},empty:"#aaaaaa"}}}}let e=new l;e.EXPO.startsWith("sxsw2024")?(e.colors.booths.selected="#FF6400",e.colors.booths.seectedLight="#808080"):e.EXPO==="whxdubai2026"?(e.colors.booths.selected="#2B66FE",e.maxZoom=450):e.EXPO==="whxlabs2026"?e.colors.booths.selected="#2B66FE":(e.EXPO==="wineparis2026"||e.EXPO==="rdemo2025")&&(e.maxZoom=450),e=t(e,window.__settings||s().__fpSettings||{}),e=t(e,s().__fpSettings||{});export default e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as c,jsxs as F
|
|
1
|
+
import{Fragment as oe,jsx as c,jsxs as F}from"react/jsx-runtime";import"./Autocomplete.scss";import re from"classnames";import{useEffect as N,useId as le,useMemo as se,useRef as v,useState as O}from"react";import{createPortal as ce}from"react-dom";import ie from"../shared/hooks/useOnClickOutside";const ue=({placeholder:S,options:i,value:k,showClear:A=!1,onChange:T,renderTarget:B,noOptionsLabel:j,ariaLabel:P,clearLabel:K})=>{const E=B,f=v(null),a=v(null),m=v(null),d=v(null),x=le(),L=e=>`${x}-option-${e}`,M=e=>e.value,w=e=>e.label,V=(e,t)=>e.value===t.value&&e.exhibitorId===t.exhibitorId,R=e=>i.findIndex(t=>V(t,e)),z=e=>i.find(t=>V(t,e)),[r,h]=O(null),[n,l]=O(null),[o,u]=O(!1),[g,U]=O({top:0,left:0,width:0}),b=k?z(k):void 0,D=b?R(b):null,I=r!==null?r:b?w(b):"",s=se(()=>{if(!r)return[];const e=r.toLowerCase();return i.filter(t=>w(t).toLowerCase().includes(e))},[r,i]),p=()=>{if(f.current&&o){const e=f.current.getBoundingClientRect();U({top:e.bottom+window.scrollY+4,left:e.left+window.scrollX,width:e.width})}};N(()=>{if(o)return p(),window.addEventListener("scroll",p,!0),window.addEventListener("resize",p),()=>{window.removeEventListener("scroll",p,!0),window.removeEventListener("resize",p)}},[o]),N(()=>{if(n===null||!m.current)return;m.current.querySelectorAll("li")[n]?.scrollIntoView({block:"nearest"})},[n]),ie([f,m],()=>{u(!1)}),N(()=>()=>{d.current&&clearTimeout(d.current)},[]);const _=e=>{h(null),T?.(e)},q=e=>{_(e),l(null),u(!1),a.current?.blur()},$=(e=!1)=>{_(void 0),l(null),e&&a.current?.focus()},X=()=>{u(!0)},Y=()=>{d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{h(null)},200)},G=()=>{if(!I&&n===null||r&&n===null)return;const e=s.length>0?s:i;if(n!==null&&e[n]){const t=e[n];_(t)}l(null),u(!1),a.current?.blur()},H=()=>{!o||n===0||n===null||l(n-1)},J=()=>{if(!o){l(D??0),u(!0);return}const e=s.length>0?s:i,t=n===null?0:n+1;t<e.length&&l(t)},Q=e=>{switch(e.key){case"Enter":G();break;case"ArrowUp":H();break;case"ArrowDown":J();break;case"Delete":$(!0);break;case"Escape":r?(h(null),l(D)):(e.preventDefault(),u(!1),a.current?.blur());break}},W=e=>{h(e.target.value),u(!0),l(null)},Z=()=>{const e=s.length>0?s:i;return r&&s.length===0?c("div",{className:"efp-autocomplete__empty",children:j}):c("ul",{role:"listbox",id:x,children:e.map((t,y)=>{const ee=y===n,C=s.length===0&&y===D,te=ee?"is-focus":C?"is-active":void 0;return c("li",{id:L(y),role:"option","aria-selected":C,className:te,onMouseDown:ne=>ne.preventDefault(),onClick:()=>q(t),children:w(t)},`${M(t)}-${w(t)}`)})})};return F(oe,{children:[c("div",{ref:f,className:re("efp-autocomplete",{"is-open":o,"with-clear":o&&A}),children:F("div",{className:"efp-autocomplete__inner",children:[c("input",{type:"search",className:"efp-autocomplete__input",role:"combobox","aria-label":P,"aria-autocomplete":"list","aria-expanded":o,"aria-controls":o?x:void 0,"aria-activedescendant":o&&n!==null?L(n):void 0,onChange:W,onFocus:X,onBlur:Y,onKeyDown:Q,value:I,placeholder:S,ref:a}),A&&o&&I&&c("button",{type:"button",className:"efp-autocomplete__clear","aria-label":K,onMouseDown:e=>{e.preventDefault(),$(!0)}})]})}),o&&E&&ce(c("div",{ref:m,className:"efp-autocomplete-options",style:{top:`${g.top}px`,left:`${g.left}px`,width:`${g.width}px`},children:c("div",{className:"efp-autocomplete-options__scroll",children:Z()})}),E)]})};export default ue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fragment as w,jsx as e,jsxs as t}from"react/jsx-runtime";import"./EntityItem.scss";import l from"classnames";import p from"../HighlightText";const q=({id:_,title:s,subtitle:n,image:c,icon:y,typeColor:f,iconClassName:v,variant:D="default",titleBadge:o,datetime:a,subtitleLabel:d,additionalInfo:N=[],bookmarked:A=!1,featured:u=!1,visited:x,current:g=!1,heatmapColor:m,accentBorderColor:r,hideUserState:E=!1,compactDetails:F,secondaryText:k,highlight:h,featuredLabel:H,hallLabel:I,levelLabel:K,onClick:b})=>{const j=!!(a?.date||a?.time),R=j||!!d||!!n;return e("div",{role:"button",className:l("efp-entity-item",{"is-featured":u,"is-visited":x,"is-current":g,"has-heatmap":!!m,"has-accent":!!r,"is-person":D==="person"}),"aria-label":s,tabIndex:0,"aria-current":g?"true":void 0,onClick:()=>b?.(_),onKeyDown:i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),b?.(_))},style:{...f?{"--item-type-color":f}:{},...m&&{"--heatmap-color":m},...r&&{"--accent-border-color":r}},children:t("div",{className:"efp-entity-item__body",children:[t("div",{className:"efp-entity-item__left",children:[e("div",{className:"efp-entity-item__icon",children:y?e("img",{src:y,alt:s}):v?e("i",{className:v,"aria-hidden":"true"}):null}),!E&&t(w,{children:[x&&e("div",{className:"efp-entity-item__visited",children:e("i",{className:"icon-checkmark"})}),A&&e("i",{className:l("efp-entity-item__bookmarked","icon-bookmark-solid")})]})]}),t("div",{className:"efp-entity-item__right",children:[t("div",{className:l("efp-entity-item__content",{"with-image":c}),children:[t("div",{className:"efp-entity-item__header",children:[t("div",{className:"efp-entity-item__title",children:[e(p,{text:s,highlight:h}),k&&e("div",{className:"efp-entity-item__description",children:e(p,{text:k,highlight:h})}),o!==void 0&&e("span",{children:o})]}),u&&e("div",{className:"efp-entity-item__featured",children:H})]}),R&&t("div",{className:"efp-entity-item__subtitle",children:[j&&t("div",{className:"efp-entity-item__datetime",children:[a?.date&&e("strong",{children:a.date}),a?.time&&e("span",{children:a.time})]}),d&&e("span",{children:d}),n&&e("div",{children:n})]}),!!N.length&&e("ul",{className:l("efp-entity-item__details",{"compact-details":F}),children:N.map((i,S)=>t("li",{className:"efp-entity-item__details-item",children:[i.type==="location"&&t(w,{children:[i.locationName&&e("div",{className:"efp-entity-item__details-item-booth",children:e(p,{text:i.locationName,highlight:h})}),i.hall&&t("div",{children:[I,"\xA0",e("span",{children:i.hall})]}),i.level&&t("div",{children:[i.showLevelLabel&&t("span",{children:[K,"\xA0"]}),e("span",{children:i.level})]})]}),i.type==="text"&&e("span",{children:i.text})]},S))})]}),c&&e("div",{className:"efp-entity-item__image",children:e("img",{src:c,alt:s})})]})]})})};export default q;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fragment as i,jsx as s,jsxs as m}from"react/jsx-runtime";import"./EventBadge.scss";import t from"classnames";const g=({status:e,statusLabel:l,showFullBadge:n=!1,fullLabel:d,isUrgent:f=!1,className:a=""})=>{const r=e!=="none"?s("div",{className:t("efp-event-badge",`efp-event-badge--${e}`,{"is-urgent":f},a),children:l}):null;return!r&&!n?null:m(i,{children:[r,n&&s("div",{className:t("efp-event-badge","efp-event-badge--full",a),children:d})]})};export default g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import"./Share.scss";import l from"classnames";import b from"copy-to-clipboard";import{useEffect as N,useRef as k,useState as x}from"react";const v={facebook:"icon-facebook",xcom:"icon-twitter-x",linkedin:"icon-linkedin"},y=({title:o,url:s,shareHeading:c,socials:d,copyLinkSectionLabel:m,directLinkAriaLabel:h,copyButtonAriaLabel:p,copyLabel:u,copiedLabel:f})=>{const[t,n]=x(!1),i=k(void 0);N(()=>()=>clearTimeout(i.current),[]);const _=()=>{b(s)&&(n(!0),clearTimeout(i.current),i.current=setTimeout(()=>n(!1),2e3))};return r("div",{className:"share",children:[r("h3",{children:[c," ",o]}),e("div",{className:"share__socials",children:d.map(a=>r("a",{href:a.url,rel:"noopener noreferrer",target:"_blank",className:l("share-social",a.network),"aria-label":a.ariaLabel,children:[e("div",{className:"share-social__icon",children:e("i",{className:v[a.network],"aria-hidden":"true"})}),e("div",{className:"share-social__title",children:a.name})]},a.network))}),r("div",{className:"share__copy",children:[e("span",{children:m}),r("div",{className:"share__copy-input",children:[e("input",{type:"text",defaultValue:s,readOnly:!0,"aria-label":h}),e("button",{type:"button",className:l({isCopied:t}),onClick:_,"aria-label":p,children:t?e("span",{"aria-live":"polite",children:f}):u})]})]})]})};export default y;
|
|
@@ -2,7 +2,7 @@ import { type RendererService } from '../renderer/RendererService';
|
|
|
2
2
|
export declare const DIM_INTENSITY = 0.5;
|
|
3
3
|
export declare const VENUE_DIM_INTENSITY = 1;
|
|
4
4
|
export declare const DIM_TRANSITION_MS = 300;
|
|
5
|
-
export declare const DEFAULT_DIM_EASING:
|
|
5
|
+
export declare const DEFAULT_DIM_EASING: 'cubic';
|
|
6
6
|
export type DimmingEasing = 'linear' | 'cubic';
|
|
7
7
|
export interface DimmingAnimator {
|
|
8
8
|
getValue(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
if(typeof console<"u"&&typeof console.error=="function"){const e=console.error.bind(console),n="Can't perform a React state update on a component that hasn't mounted yet";console.error=(...o)=>{typeof o[0]=="string"&&o[0].includes(n)||e(...o)}}export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.2",
|
|
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.2.4",
|
|
39
|
-
"@sentry/core": "^10.
|
|
40
|
-
"@sentry/react": "^10.
|
|
39
|
+
"@sentry/core": "^10.68.0",
|
|
40
|
+
"@sentry/react": "^10.68.0",
|
|
41
41
|
"bowser": "^2.14.1",
|
|
42
42
|
"classnames": "^2.2.6",
|
|
43
43
|
"color": "^3.1.2",
|
|
@@ -72,18 +72,18 @@
|
|
|
72
72
|
"tslib": "^2.3.0",
|
|
73
73
|
"uuid": "^9.0.1",
|
|
74
74
|
"zod": "4.3.5",
|
|
75
|
-
"@expofp/config": "3.13.
|
|
76
|
-
"@expofp/debug": "3.13.
|
|
77
|
-
"@expofp/geometry": "3.13.
|
|
78
|
-
"@expofp/resolve": "3.13.
|
|
79
|
-
"@expofp/schema": "3.13.
|
|
80
|
-
"@expofp/
|
|
81
|
-
"@expofp/
|
|
75
|
+
"@expofp/config": "3.13.2",
|
|
76
|
+
"@expofp/debug": "3.13.2",
|
|
77
|
+
"@expofp/geometry": "3.13.2",
|
|
78
|
+
"@expofp/resolve": "3.13.2",
|
|
79
|
+
"@expofp/schema": "3.13.2",
|
|
80
|
+
"@expofp/utils": "3.13.2",
|
|
81
|
+
"@expofp/wayfinding": "3.13.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@babel/plugin-proposal-decorators": "^8.0.2",
|
|
85
85
|
"@babel/plugin-transform-class-properties": "^8.0.1",
|
|
86
|
-
"@sentry/vite-plugin": "^5.
|
|
86
|
+
"@sentry/vite-plugin": "^5.4.0",
|
|
87
87
|
"@storybook/addon-vitest": "10.4.6",
|
|
88
88
|
"@storybook/react": "10.4.6",
|
|
89
89
|
"@storybook/react-vite": "10.4.6",
|
|
@@ -93,19 +93,19 @@
|
|
|
93
93
|
"@types/lz-string": "1.3.32",
|
|
94
94
|
"@types/react": "^19.2.17",
|
|
95
95
|
"@types/react-dom": "^19.2.3",
|
|
96
|
-
"@vitejs/plugin-react": "^6.0.
|
|
97
|
-
"@vitest/browser-playwright": "^4.1.
|
|
96
|
+
"@vitejs/plugin-react": "^6.0.4",
|
|
97
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
98
98
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
99
99
|
"playwright": "^1.61.1",
|
|
100
|
-
"react": "^19.2.
|
|
101
|
-
"react-dom": "^19.2.
|
|
100
|
+
"react": "^19.2.8",
|
|
101
|
+
"react-dom": "^19.2.8",
|
|
102
102
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
103
103
|
"sass-embedded": "^1.100.0",
|
|
104
104
|
"storybook": "10.4.6"
|
|
105
105
|
},
|
|
106
106
|
"peerDependencies": {
|
|
107
|
-
"react": "^19.2.
|
|
108
|
-
"react-dom": "^19.2.
|
|
107
|
+
"react": "^19.2.8",
|
|
108
|
+
"react-dom": "^19.2.8"
|
|
109
109
|
},
|
|
110
110
|
"nx": {
|
|
111
111
|
"targets": {
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
try {
|
|
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.13.1" };
|
|
5
|
-
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "32bb1414-0da4-45ad-8cd6-01fdca3762fe", e._sentryDebugIdIdentifier = "sentry-dbid-32bb1414-0da4-45ad-8cd6-01fdca3762fe");
|
|
7
|
-
} catch {}
|
|
8
|
-
})();
|
|
9
|
-
import { t as e } from "./rolldown-runtime-Dfh5_zpq.js";
|
|
10
|
-
//#region ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
11
|
-
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
|
-
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
13
|
-
})), n = /* @__PURE__ */ e(((e, n) => {
|
|
14
|
-
var r = t();
|
|
15
|
-
function i() {}
|
|
16
|
-
function a() {}
|
|
17
|
-
a.resetWarningCache = i, n.exports = function() {
|
|
18
|
-
function e(e, t, n, i, a, o) {
|
|
19
|
-
if (o !== r) {
|
|
20
|
-
var s = /* @__PURE__ */ Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
|
|
21
|
-
throw s.name = "Invariant Violation", s;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
e.isRequired = e;
|
|
25
|
-
function t() {
|
|
26
|
-
return e;
|
|
27
|
-
}
|
|
28
|
-
var n = {
|
|
29
|
-
array: e,
|
|
30
|
-
bigint: e,
|
|
31
|
-
bool: e,
|
|
32
|
-
func: e,
|
|
33
|
-
number: e,
|
|
34
|
-
object: e,
|
|
35
|
-
string: e,
|
|
36
|
-
symbol: e,
|
|
37
|
-
any: e,
|
|
38
|
-
arrayOf: t,
|
|
39
|
-
element: e,
|
|
40
|
-
elementType: e,
|
|
41
|
-
instanceOf: t,
|
|
42
|
-
node: e,
|
|
43
|
-
objectOf: t,
|
|
44
|
-
oneOf: t,
|
|
45
|
-
oneOfType: t,
|
|
46
|
-
shape: t,
|
|
47
|
-
exact: t,
|
|
48
|
-
checkPropTypes: a,
|
|
49
|
-
resetWarningCache: i
|
|
50
|
-
};
|
|
51
|
-
return n.PropTypes = n, n;
|
|
52
|
-
};
|
|
53
|
-
})), r = /* @__PURE__ */ e(((e, t) => {
|
|
54
|
-
t.exports = n()();
|
|
55
|
-
}));
|
|
56
|
-
//#endregion
|
|
57
|
-
export { r as t };
|