UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

2 lines (1 loc) • 639 B
import{createSwappableProxy as o}from"../utils/swappable-proxy.js";let t=null;export function setLiveStore(e){t=e}export const store=o("store",()=>t),uiState=o("uiState",()=>t?.uiState),overlayStore=o("overlayStore",()=>t?.overlayStore),exhibitorStore=o("exhibitorStore",()=>t?.exhibitorStore),boothStore=o("boothStore",()=>t?.boothStore),categoryStore=o("categoryStore",()=>t?.categoryStore),layersStore=o("layersStore",()=>t?.layerStore),heatmapStore=o("heatmapStore",()=>t?.heatmapStore),searchStore=o("searchStore",()=>t?.searchStore),toursStore=o("toursStore",()=>t?.toursStore),intercomStore=o("intercomStore",()=>t?.intercomStore);