@expofp/floorplan 3.0.0-alpha.8 → 3.0.0
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/Debug-Yknbb09q.js +40 -0
- package/dist/browser/Demo-CaOFZa6L.js +47 -0
- package/dist/browser/Free-DTL80JI4.js +51 -0
- package/dist/browser/Gallery-Du04PQQo.js +71 -0
- package/dist/browser/GpsLoader-Cvn6RlOm.js +140 -0
- package/dist/browser/KioskStore-De5ViEMC.js +225 -0
- package/dist/browser/Mapbox-DwX3p3Kb.js +118 -0
- package/dist/browser/{SetKioskMode-CuVQ3oOi.js → SetKioskMode-DY8Ihzh_.js} +92 -83
- package/dist/browser/{ShowKiosk-D5cdIS4z.js → ShowKiosk-fqRB_BUN.js} +28 -19
- package/dist/browser/{ThreeComponent-EfEBxPIF.js → ThreeComponent-CrAcuY6n.js} +181 -172
- package/dist/browser/ViewerMenuPanel-CdiEJm9h.js +77 -0
- package/dist/browser/boolean-editor-BCIboJVq.js +157 -0
- package/dist/browser/bundle.json +34 -31
- package/dist/browser/{client-C2b0SeoG.js → client-BU0UzF6H.js} +848 -839
- package/dist/browser/compat-helper.js +5 -0
- package/dist/browser/{data-Cpuv4_nZ.js → data-DU1RvfMj.js} +278 -269
- package/dist/browser/{debug-overlay-Bhx1vN7x.js → debug-overlay-DMGwYhOT.js} +100 -91
- package/dist/browser/debug-ui-BZSH53uY.js +67 -0
- package/dist/browser/{favicon-DalyEhbd.js → favicon-ZTHZQvuM.js} +11 -2
- package/dist/browser/fetch-retry.umd-CFhXCSM1.js +123 -0
- package/dist/browser/{flex-va-25i0F.js → flex-D0XnC5Mw.js} +76 -67
- package/dist/browser/{floorplan.ready-wFOhoP9S.js → floorplan.ready-DwzYk5s3.js} +20977 -22749
- package/dist/browser/fonts/efp-symbols.woff +0 -0
- package/dist/browser/{index-DiTM6eb8.js → index-BZDxL6gh.js} +46 -37
- package/dist/browser/{index-t04nNTFw.js → index-BpZSlPvc.js} +333 -324
- package/dist/browser/index-BxFqdKuM.js +57 -0
- package/dist/browser/index-fEI_0iId.js +882 -0
- package/dist/browser/index-h3LFHvKr.js +92 -0
- package/dist/browser/index-xQ7Ip4HB.js +54 -0
- package/dist/browser/index.html +1 -0
- package/dist/browser/index.js +12495 -2
- package/dist/browser/jsx-runtime-SRODV826.js +40 -0
- package/dist/browser/locales/ar.json +56 -5
- package/dist/browser/locales/de.json +56 -5
- package/dist/browser/locales/es.json +56 -5
- package/dist/browser/locales/fr.json +56 -5
- package/dist/browser/locales/he.json +56 -5
- package/dist/browser/locales/it.json +56 -5
- package/dist/browser/locales/kk.json +56 -5
- package/dist/browser/locales/ko.json +56 -5
- package/dist/browser/locales/mn.json +56 -5
- package/dist/browser/locales/nl.json +56 -5
- package/dist/browser/locales/pl.json +57 -6
- package/dist/browser/locales/pt.json +55 -4
- package/dist/browser/locales/ru.json +57 -6
- package/dist/browser/locales/sv.json +56 -5
- package/dist/browser/locales/th.json +56 -5
- package/dist/browser/locales/tr.json +56 -5
- package/dist/browser/locales/uk.json +56 -5
- package/dist/browser/locales/vi.json +56 -5
- package/dist/browser/locales/zh.json +56 -5
- package/dist/browser/{main-CD9JioNt.js → main-CcaoXWR4.js} +24 -15
- package/dist/browser/{particles.min-Cat-np_h.js → particles.min-Ds_4ex2r.js} +40 -31
- package/dist/esm/RouteCutIn.d.ts +0 -1
- package/dist/esm/RouteCutIn.js +1 -1
- package/dist/esm/_misc_to_move/manifest.d.ts +13 -0
- package/dist/esm/_misc_to_move/ref.d.ts +6 -0
- package/dist/esm/_misc_to_move/ref.js +1 -0
- package/dist/esm/components/Alert.d.ts +2 -0
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Badge.d.ts +3 -2
- package/dist/esm/components/Badge.js +1 -1
- package/dist/esm/components/Bookmarks.js +1 -1
- package/dist/esm/components/Booth/BoothOnHold.d.ts +2 -2
- package/dist/esm/components/Booth/BoothOnHold.js +1 -1
- package/dist/esm/components/Booth/BoothReserved.d.ts +2 -1
- package/dist/esm/components/Booth/BoothReserved.js +1 -1
- package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +2 -2
- package/dist/esm/components/Booth/BoothWithoutExhibitor.js +1 -1
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.d.ts +2 -2
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.js +1 -1
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +2 -2
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -3
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/storage.js +1 -1
- package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
- package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
- package/dist/esm/components/Language.js +1 -1
- package/dist/esm/components/LanguageRow.d.ts +0 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/List.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.d.ts +0 -23
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.d.ts +2 -3
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +9 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +5 -5
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +5 -5
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +3 -3
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +6 -6
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +5 -5
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.d.ts +3 -3
- package/dist/esm/components/Map/drawing/config/config-booth-scaled.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.d.ts +2 -3
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-wf.d.ts +2 -5
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +2 -3
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/snapPositionToRoute.js +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/splitRouteByPoint.js +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/types.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/route-snapping/utils.d.ts +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +3 -5
- package/dist/esm/components/Map/traffic/useBuildRoute.js +6 -6
- package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +3 -5
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/MarketMaterialList.d.ts +3 -3
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Menu.js +1 -2
- package/dist/esm/components/MobileToggleButton.js +1 -1
- package/dist/esm/components/MultiSelectGroups.d.ts +2 -2
- package/dist/esm/components/MultiSelectGroups.js +1 -1
- package/dist/esm/components/Overlay.d.ts +2 -0
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/QrCode.d.ts +46 -0
- package/dist/esm/components/QrCode.js +1 -0
- package/dist/esm/components/RebookingNotes.d.ts +2 -2
- package/dist/esm/components/RebookingNotes.js +1 -1
- package/dist/esm/components/RebookingRadioGroup.d.ts +2 -2
- package/dist/esm/components/RebookingRadioGroup.js +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlanner.d.ts +4 -0
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.d.ts +4 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.d.ts +9 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.js +1 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.d.ts +9 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -0
- package/dist/esm/components/RouteQR.d.ts +2 -2
- package/dist/esm/components/RouteQR.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/SearchBox.js +1 -1
- package/dist/esm/components/Sessions.js +1 -1
- package/dist/esm/components/Share.d.ts +2 -2
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/SidebarActions.d.ts +3 -0
- package/dist/esm/components/SidebarActions.js +1 -1
- package/dist/esm/components/SpeakersFiltersModal.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.d.ts +5 -0
- package/dist/esm/components/ViewerMenuPanel.js +1 -0
- package/dist/esm/components/Wayfinding.d.ts +2 -2
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/components/WayfindingTemplate.d.ts +2 -2
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.d.ts +4 -2
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/components/index.d.ts +1 -3
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/constants.d.ts +7 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/data/tours.json +114 -0
- package/dist/esm/floorplan.loader.d.ts +5 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +6 -3
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/index.d.ts +0 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/load.d.ts +4 -1
- package/dist/esm/load.js +2 -2
- package/dist/esm/offline/offlineManager.js +1 -1
- package/dist/esm/renderer/HandlerRegistry.d.ts +18 -0
- package/dist/esm/renderer/HandlerRegistry.js +1 -0
- package/dist/esm/renderer/RendererService.d.ts +26 -0
- package/dist/esm/renderer/RendererService.js +1 -0
- package/dist/esm/renderer/engine-core/animation.d.ts +7 -0
- package/dist/esm/renderer/engine-core/animation.js +1 -0
- package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/canvases.d.ts +1 -1
- package/dist/esm/renderer/engine-core/canvases.js +1 -0
- package/dist/esm/renderer/engine-core/fonts.js +1 -0
- package/dist/esm/renderer/engine-core/types.js +1 -0
- package/dist/esm/{components/Map/drawing/config/engine-core → renderer}/index.d.ts +10 -10
- package/dist/esm/renderer/index.js +1 -0
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BookmarksStore.d.ts +12 -0
- package/dist/esm/store/BookmarksStore.js +2 -0
- package/dist/esm/store/FuzzySearchEngineStore.d.ts +7 -3
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +1 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RootStore.d.ts +10 -10
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.d.ts +58 -0
- package/dist/esm/store/RoutePlannerStore.js +1 -0
- package/dist/esm/store/RouteStore.d.ts +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.d.ts +2 -0
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +10 -7
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/index.js +1 -1
- package/dist/esm/store/init/init-bookmarks.d.ts +7 -0
- package/dist/esm/store/init/init-bookmarks.js +1 -0
- package/dist/esm/store/init/init-events.d.ts +1 -1
- package/dist/esm/store/init/init-events.js +1 -1
- package/dist/esm/store/init/init-exhibitors.d.ts +1 -1
- package/dist/esm/store/init/init-exhibitors.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/init/init-speakers.d.ts +1 -1
- package/dist/esm/store/init/init-speakers.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/types.d.ts +11 -3
- package/dist/esm/tools/base-runtime-url.js +1 -1
- package/dist/esm/tools/sentry.js +1 -1
- package/dist/esm/tools/telemetry.d.ts +35 -0
- package/dist/esm/tools/telemetry.js +1 -0
- package/dist/esm/tools/track-event.d.ts +3 -1
- package/dist/esm/tools/track-event.js +1 -1
- package/dist/esm/utils/buildOptimizedRoute.d.ts +11 -0
- package/dist/esm/utils/buildOptimizedRoute.js +1 -0
- package/dist/esm/utils/detectLimitedModeViaImage.js +1 -1
- package/dist/esm/utils/geometry.d.ts +2 -0
- package/dist/esm/utils/geometry.js +1 -0
- package/dist/esm/utils/i18n.d.ts +6 -4
- package/dist/esm/utils/i18n.js +1 -1
- package/dist/esm/utils/loadCustomCss.d.ts +1 -1
- package/dist/esm/utils/loadCustomCss.js +1 -1
- package/dist/esm/utils/mapEntity.js +1 -1
- package/dist/esm/utils/math.d.ts +7 -0
- package/dist/esm/utils/math.js +1 -0
- package/dist/esm/utils/shortenName.js +1 -1
- package/dist/esm/utils/use-shadow.d.ts +1 -1
- package/dist/esm/utils/use-shadow.js +1 -1
- package/dist/esm/utils/useRenderTarget.js +1 -1
- package/dist/esm/wayfinding/_PLAN-public-api.d.ts +220 -0
- package/dist/esm/wayfinding/_PLAN-public-api.js +1 -0
- package/dist/esm/{utils/wayfinding.d.ts → wayfinding/__integration__/legacy/legacyWayfinding.d.ts} +5 -15
- package/dist/esm/wayfinding/__integration__/legacy/legacyWayfinding.js +1 -0
- package/dist/esm/wayfinding/__tests__/helpers.d.ts +21 -0
- package/dist/esm/wayfinding/__tests__/helpers.js +1 -0
- package/dist/esm/wayfinding/adapters/boothToWaypoint.d.ts +12 -0
- package/dist/esm/wayfinding/adapters/boothToWaypoint.js +1 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +3 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -0
- package/dist/esm/wayfinding/graph/buildGraph.d.ts +3 -0
- package/dist/esm/wayfinding/graph/buildGraph.js +1 -0
- package/dist/esm/wayfinding/graph/buildNGraph.d.ts +9 -0
- package/dist/esm/wayfinding/graph/buildNGraph.js +1 -0
- package/dist/esm/wayfinding/graph/constants.d.ts +3 -0
- package/dist/esm/wayfinding/graph/constants.js +1 -0
- package/dist/esm/wayfinding/graph/findShortestPath.d.ts +14 -0
- package/dist/esm/wayfinding/graph/findShortestPath.js +1 -0
- package/dist/esm/wayfinding/graph/graphCache.d.ts +6 -0
- package/dist/esm/wayfinding/graph/graphCache.js +1 -0
- package/dist/esm/wayfinding/graph/graphHelpers.d.ts +8 -0
- package/dist/esm/wayfinding/graph/graphHelpers.js +1 -0
- package/dist/esm/wayfinding/graph/linkCost.d.ts +4 -0
- package/dist/esm/wayfinding/graph/linkCost.js +1 -0
- package/dist/esm/wayfinding/graph/pathfinder/aStarPathFinder.d.ts +3 -0
- package/dist/esm/wayfinding/graph/pathfinder/aStarPathFinder.js +1 -0
- package/dist/esm/wayfinding/graph/pathfinder/parseNodeId.d.ts +9 -0
- package/dist/esm/wayfinding/graph/pathfinder/parseNodeId.js +1 -0
- package/dist/esm/wayfinding/index.d.ts +18 -0
- package/dist/esm/wayfinding/index.js +1 -0
- package/dist/esm/wayfinding/rendering/computeTransitionPoints.d.ts +31 -0
- package/dist/esm/wayfinding/rendering/computeTransitionPoints.js +1 -0
- package/dist/esm/wayfinding/rendering/normalizeRouteDirection.d.ts +19 -0
- package/dist/esm/wayfinding/rendering/normalizeRouteDirection.js +1 -0
- package/dist/esm/wayfinding/rendering/routeGeometry.d.ts +16 -0
- package/dist/esm/wayfinding/rendering/routeGeometry.js +1 -0
- package/dist/esm/wayfinding/routing/buildMultiPointRoute.d.ts +11 -0
- package/dist/esm/wayfinding/routing/buildMultiPointRoute.js +1 -0
- package/dist/esm/wayfinding/routing/buildRoute.d.ts +9 -0
- package/dist/esm/wayfinding/routing/buildRoute.js +1 -0
- package/dist/esm/wayfinding/routing/findNearestGraphPoint.d.ts +21 -0
- package/dist/esm/wayfinding/routing/findNearestGraphPoint.js +1 -0
- package/dist/esm/wayfinding/routing/getGraphLines.d.ts +14 -0
- package/dist/esm/wayfinding/routing/getGraphLines.js +1 -0
- package/dist/esm/wayfinding/routing/getRouteLength.d.ts +3 -0
- package/dist/esm/wayfinding/routing/getRouteLength.js +1 -0
- package/dist/esm/wayfinding/routing/routeResult.d.ts +4 -0
- package/dist/esm/wayfinding/routing/routeResult.js +1 -0
- package/dist/esm/wayfinding/types.d.ts +76 -0
- package/dist/esm/wayfinding/types.js +1 -0
- package/package.json +4 -8
- package/dist/browser/Debug-BcuHrger.js +0 -31
- package/dist/browser/Demo-BYqw6OYP.js +0 -38
- package/dist/browser/Free-CmGdntqG.js +0 -42
- package/dist/browser/Gallery-Duo1PfdD.js +0 -279
- package/dist/browser/GpsLoader-C4DNB5Gk.js +0 -131
- package/dist/browser/KioskStore-B_V6qTqR.js +0 -216
- package/dist/browser/Mapbox-ChR5sYZi.js +0 -109
- package/dist/browser/boolean-editor-BNBndiMi.js +0 -148
- package/dist/browser/debug-ui-D2eqc4aS.js +0 -58
- package/dist/browser/fetch-retry.umd-bXmyDpSc.js +0 -114
- package/dist/browser/index-Ao2u5imr.js +0 -48
- package/dist/browser/index-B-GWDT1K.js +0 -83
- package/dist/browser/index-CNJY6Um1.js +0 -12526
- package/dist/browser/index-Dj8pSRq1.js +0 -45
- package/dist/browser/jsx-runtime-jIxVPx5o.js +0 -31
- package/dist/browser/sw.js +0 -2
- package/dist/esm/components/BoothRow.d.ts +0 -8
- package/dist/esm/components/BoothRow.js +0 -1
- package/dist/esm/components/ExhibitorRow.d.ts +0 -9
- package/dist/esm/components/ExhibitorRow.js +0 -1
- package/dist/esm/components/Map/drawing/config/engine-core/animation.d.ts +0 -3
- package/dist/esm/components/Map/drawing/config/engine-core/animation.js +0 -1
- package/dist/esm/components/Map/drawing/config/engine-core/canvases.js +0 -1
- package/dist/esm/components/Map/drawing/config/engine-core/fonts.js +0 -1
- package/dist/esm/components/Map/drawing/config/engine-core/index.js +0 -1
- package/dist/esm/components/Map/drawing/config/engine-core/renderer.d.ts +0 -4
- package/dist/esm/components/Map/drawing/config/engine-core/renderer.js +0 -1
- package/dist/esm/components/ScheduleRow.d.ts +0 -8
- package/dist/esm/components/ScheduleRow.js +0 -1
- package/dist/esm/expofp-debug.d.ts +0 -5
- package/dist/esm/expofp-debug.js +0 -1
- package/dist/esm/offline/sw.d.ts +0 -2
- package/dist/esm/offline/sw.js +0 -1
- package/dist/esm/store/LanguageStore.d.ts +0 -19
- package/dist/esm/store/LanguageStore.js +0 -1
- package/dist/esm/store/init/init-language.d.ts +0 -3
- package/dist/esm/store/init/init-language.js +0 -1
- package/dist/esm/utils/toRadians.d.ts +0 -3
- package/dist/esm/utils/toRadians.js +0 -1
- package/dist/esm/utils/wayfinding.js +0 -1
- package/dist/stats.html +0 -4950
- /package/dist/esm/{components/Map/drawing/config/engine-core/types.js → _misc_to_move/manifest.js} +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/defs.d.ts +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/defs.js +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/fonts.d.ts +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/settings.d.ts +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/settings.js +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/types.d.ts +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/update-def.d.ts +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/update-def.js +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/utils/rotation.d.ts +0 -0
- /package/dist/esm/{components/Map/drawing/config → renderer}/engine-core/utils/rotation.js +0 -0
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { j as g } from "./jsx-runtime-jIxVPx5o.js";
|
|
2
|
-
import { y as M } from "./index-Dj8pSRq1.js";
|
|
3
|
-
import { p as m, m as z, s as P, a as y, l as C, b as k, c as p, d as F, u as T, e as j, f as w, g as E, h as D, i as N } from "./data-Cpuv4_nZ.js";
|
|
4
|
-
import { u as O, s as e, a as o, R as x, d as q, e as i, f as A, c as H } from "./floorplan.ready-wFOhoP9S.js";
|
|
5
|
-
import { r as v } from "./index-CNJY6Um1.js";
|
|
6
|
-
function J() {
|
|
7
|
-
const S = v.useRef(null), r = v.useRef(null);
|
|
8
|
-
let u = null, h = [];
|
|
9
|
-
const l = O(() => ({
|
|
10
|
-
get initselected() {
|
|
11
|
-
return ![...o.selectedBooths].filter((t) => t.rect);
|
|
12
|
-
},
|
|
13
|
-
get actualCurrentPosition() {
|
|
14
|
-
const t = e.routeStore.currentPosition;
|
|
15
|
-
return !(t != null && t.z) || e.layerStore.visible.indexOf(e.layerStore.findLayer(t.z)) > -1 ? t : null;
|
|
16
|
-
},
|
|
17
|
-
get style() {
|
|
18
|
-
return {
|
|
19
|
-
left: 0
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
}));
|
|
23
|
-
return v.useEffect(() => {
|
|
24
|
-
if (!r.current) {
|
|
25
|
-
var {
|
|
26
|
-
cx: t,
|
|
27
|
-
cy: n
|
|
28
|
-
} = m.viewbox;
|
|
29
|
-
r.current = new z.Map({
|
|
30
|
-
container: S.current,
|
|
31
|
-
style: `mapbox://styles/mapbox/${m.style}`,
|
|
32
|
-
center: [t, n],
|
|
33
|
-
zoom: 15.5,
|
|
34
|
-
bearing: m.initBearing - 30,
|
|
35
|
-
pitch: m.initPitch + 30,
|
|
36
|
-
maxPitch: 70,
|
|
37
|
-
bearingSnap: 0,
|
|
38
|
-
accessToken: m.token
|
|
39
|
-
}), P(r.current), r.current.on("load", async () => {
|
|
40
|
-
var b;
|
|
41
|
-
setTimeout(() => y(l.initselected ? x.fromMultiple([...o.selectedBooths].filter((s) => s.rect).map((s) => s.rect)) : q, 15, 4e3), 1500), r.current.setLight({
|
|
42
|
-
anchor: "viewport",
|
|
43
|
-
color: "white",
|
|
44
|
-
intensity: 0
|
|
45
|
-
});
|
|
46
|
-
const a = await C(e.boothStore.booths);
|
|
47
|
-
k(e.boothStore.booths, a), p("yah", (b = e.routeStore.defaultFrom) != null && b.rect ? {
|
|
48
|
-
x: e.routeStore.defaultFrom.rect.cx,
|
|
49
|
-
y: e.routeStore.defaultFrom.rect.cy
|
|
50
|
-
} : null), p("cp", l.actualCurrentPosition), h = F(e.layerStore.layers);
|
|
51
|
-
const c = h.filter((s) => s.indexOf("--") === -1);
|
|
52
|
-
T(e.routeStore), j(), r.current.on("mouseenter", c, () => r.current.getCanvas().style.cursor = "pointer"), r.current.on("mouseleave", c, () => r.current.getCanvas().style.cursor = ""), r.current.on("click", (s) => {
|
|
53
|
-
const f = [[s.point.x - 5, s.point.y - 5], [s.point.x + 5, s.point.y + 5]], d = r.current.queryRenderedFeatures(f, {
|
|
54
|
-
layers: h
|
|
55
|
-
})[0], L = e.boothStore.booths.find((R) => {
|
|
56
|
-
var B;
|
|
57
|
-
return R.name === ((B = d == null ? void 0 : d.properties) == null ? void 0 : B.id);
|
|
58
|
-
});
|
|
59
|
-
e.clickBooth(L);
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}), i(() => o.zoomBy, () => {
|
|
64
|
-
if (!o.zoomBy || !e.mapboxStore.showMapbox) return;
|
|
65
|
-
const t = o.zoomBy;
|
|
66
|
-
o.zoomBy = null, r.current.flyTo({
|
|
67
|
-
zoom: r.current.getZoom() + (t > 1 ? 0.5 : -0.5),
|
|
68
|
-
animate: !0,
|
|
69
|
-
duration: 500,
|
|
70
|
-
essential: !0
|
|
71
|
-
});
|
|
72
|
-
}), i(() => [e.layerStore.loaded, e.layerStore.visible, o.selectedRoute], () => {
|
|
73
|
-
var t, n, a;
|
|
74
|
-
h.forEach((c) => {
|
|
75
|
-
const b = c.split("--")[0], s = e.layerStore.layers.find((f) => f.name === b);
|
|
76
|
-
(s.visible || r.current.getLayoutProperty(c, "visibility") !== "none") && r.current.setLayoutProperty(c, "visibility", s.visible ? "visible" : "none");
|
|
77
|
-
}), w([...o.selectedBooths], e.boothStore.booths), p("yah", (t = e.routeStore.defaultFrom) != null && t.rect && ((a = (n = e.routeStore.defaultFrom) == null ? void 0 : n.layer) != null && a.visible) ? {
|
|
78
|
-
x: e.routeStore.defaultFrom.rect.cx,
|
|
79
|
-
y: e.routeStore.defaultFrom.rect.cy
|
|
80
|
-
} : null), p("cp", l.actualCurrentPosition);
|
|
81
|
-
}), i(() => o.hoveredBooths, () => {
|
|
82
|
-
u && (clearTimeout(u), u = null), u = setTimeout(() => {
|
|
83
|
-
u = null, E([...o.hoveredBooths].filter((t) => {
|
|
84
|
-
var n, a;
|
|
85
|
-
return (a = (n = t.layer) == null ? void 0 : n.visible) != null ? a : !0;
|
|
86
|
-
}), e.boothStore.booths);
|
|
87
|
-
}, 50);
|
|
88
|
-
}), i(() => [o.selectedBooths, o.listBooths], () => {
|
|
89
|
-
var t = [];
|
|
90
|
-
o.selectedBooths.size ? t = [...o.selectedBooths] : o.listBooths.size && (o.activeListIndex === 0 || o.list.type === "bookmarks" || o.list.type === "category") && (t = [...o.listBooths]), w(t, e.boothStore.booths);
|
|
91
|
-
}), i(() => e.mapboxStore.showMapbox, () => {
|
|
92
|
-
D(e.mapboxStore.showMapbox);
|
|
93
|
-
}), i(() => o.moveToBooths, () => {
|
|
94
|
-
if (!o.moveToBooths || !e.mapboxStore.showMapbox) return;
|
|
95
|
-
const t = o.moveToBooths.filter((a) => a.rect).map((a) => a.rect), n = x.fromMultiple(t);
|
|
96
|
-
t.length && y(n), o.moveToBooths = null;
|
|
97
|
-
}), i(() => o.moveToRect, () => {
|
|
98
|
-
!o.moveToRect || !e.mapboxStore.showMapbox || (y(o.moveToRect, 15), o.moveToRect = null);
|
|
99
|
-
}), i(() => o.moveToLocation, () => {
|
|
100
|
-
!o.moveToLocation || !e.mapboxStore.showMapbox || N();
|
|
101
|
-
}), i(() => o.centerMap, () => {
|
|
102
|
-
!o.centerMap || !e.mapboxStore.showMapbox || (y(x.fromMultiple(A.booths.map((t) => t.rect)), 15), o.centerMap = !1);
|
|
103
|
-
}), i(() => e.routeStore.routeLines, () => T(e.routeStore)), i(() => l.actualCurrentPosition, () => p("cp", l.actualCurrentPosition)), H(() => /* @__PURE__ */ g.jsx("div", { style: l.style, className: M("map-container", {
|
|
104
|
-
hidden: !e.mapboxStore.showMapbox
|
|
105
|
-
}), children: /* @__PURE__ */ g.jsx("div", { ref: S, className: M("map-wrapper", "mapboxgl-map") }) }));
|
|
106
|
-
}
|
|
107
|
-
export {
|
|
108
|
-
J as default
|
|
109
|
-
};
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-jIxVPx5o.js";
|
|
2
|
-
import { r as s } from "./index-CNJY6Um1.js";
|
|
3
|
-
import { y } from "./index-Dj8pSRq1.js";
|
|
4
|
-
import { u as g, a as A, P as j, c as U, b as q, d as F, r as E, v as R, e as k, f as L, o as O, p as N, g as D, h as W } from "./flex-va-25i0F.js";
|
|
5
|
-
function X(e) {
|
|
6
|
-
const t = s.useRef({ value: e, previous: e });
|
|
7
|
-
return s.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
|
|
8
|
-
}
|
|
9
|
-
var v = "Switch", [G] = F(v), [J, K] = G(v), P = s.forwardRef(
|
|
10
|
-
(e, t) => {
|
|
11
|
-
const {
|
|
12
|
-
__scopeSwitch: a,
|
|
13
|
-
name: n,
|
|
14
|
-
checked: o,
|
|
15
|
-
defaultChecked: c,
|
|
16
|
-
required: l,
|
|
17
|
-
disabled: i,
|
|
18
|
-
value: d = "on",
|
|
19
|
-
onCheckedChange: S,
|
|
20
|
-
form: u,
|
|
21
|
-
...w
|
|
22
|
-
} = e, [p, m] = s.useState(null), b = g(t, (h) => m(h)), x = s.useRef(!1), C = p ? u || !!p.closest("form") : !0, [f, M] = A({
|
|
23
|
-
prop: o,
|
|
24
|
-
defaultProp: c != null ? c : !1,
|
|
25
|
-
onChange: S,
|
|
26
|
-
caller: v
|
|
27
|
-
});
|
|
28
|
-
return /* @__PURE__ */ r.jsxs(J, { scope: a, checked: f, disabled: i, children: [
|
|
29
|
-
/* @__PURE__ */ r.jsx(
|
|
30
|
-
j.button,
|
|
31
|
-
{
|
|
32
|
-
type: "button",
|
|
33
|
-
role: "switch",
|
|
34
|
-
"aria-checked": f,
|
|
35
|
-
"aria-required": l,
|
|
36
|
-
"data-state": B(f),
|
|
37
|
-
"data-disabled": i ? "" : void 0,
|
|
38
|
-
disabled: i,
|
|
39
|
-
value: d,
|
|
40
|
-
...w,
|
|
41
|
-
ref: b,
|
|
42
|
-
onClick: U(e.onClick, (h) => {
|
|
43
|
-
M((H) => !H), C && (x.current = h.isPropagationStopped(), x.current || h.stopPropagation());
|
|
44
|
-
})
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
C && /* @__PURE__ */ r.jsx(
|
|
48
|
-
$,
|
|
49
|
-
{
|
|
50
|
-
control: p,
|
|
51
|
-
bubbles: !x.current,
|
|
52
|
-
name: n,
|
|
53
|
-
value: d,
|
|
54
|
-
checked: f,
|
|
55
|
-
required: l,
|
|
56
|
-
disabled: i,
|
|
57
|
-
form: u,
|
|
58
|
-
style: { transform: "translateX(-100%)" }
|
|
59
|
-
}
|
|
60
|
-
)
|
|
61
|
-
] });
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
P.displayName = v;
|
|
65
|
-
var z = "SwitchThumb", _ = s.forwardRef(
|
|
66
|
-
(e, t) => {
|
|
67
|
-
const { __scopeSwitch: a, ...n } = e, o = K(z, a);
|
|
68
|
-
return /* @__PURE__ */ r.jsx(
|
|
69
|
-
j.span,
|
|
70
|
-
{
|
|
71
|
-
"data-state": B(o.checked),
|
|
72
|
-
"data-disabled": o.disabled ? "" : void 0,
|
|
73
|
-
...n,
|
|
74
|
-
ref: t
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
);
|
|
79
|
-
_.displayName = z;
|
|
80
|
-
var Q = "SwitchBubbleInput", $ = s.forwardRef(
|
|
81
|
-
({
|
|
82
|
-
__scopeSwitch: e,
|
|
83
|
-
control: t,
|
|
84
|
-
checked: a,
|
|
85
|
-
bubbles: n = !0,
|
|
86
|
-
...o
|
|
87
|
-
}, c) => {
|
|
88
|
-
const l = s.useRef(null), i = g(l, c), d = X(a), S = q(t);
|
|
89
|
-
return s.useEffect(() => {
|
|
90
|
-
const u = l.current;
|
|
91
|
-
if (!u) return;
|
|
92
|
-
const w = window.HTMLInputElement.prototype, m = Object.getOwnPropertyDescriptor(
|
|
93
|
-
w,
|
|
94
|
-
"checked"
|
|
95
|
-
).set;
|
|
96
|
-
if (d !== a && m) {
|
|
97
|
-
const b = new Event("click", { bubbles: n });
|
|
98
|
-
m.call(u, a), u.dispatchEvent(b);
|
|
99
|
-
}
|
|
100
|
-
}, [d, a, n]), /* @__PURE__ */ r.jsx(
|
|
101
|
-
"input",
|
|
102
|
-
{
|
|
103
|
-
type: "checkbox",
|
|
104
|
-
"aria-hidden": !0,
|
|
105
|
-
defaultChecked: a,
|
|
106
|
-
...o,
|
|
107
|
-
tabIndex: -1,
|
|
108
|
-
ref: i,
|
|
109
|
-
style: {
|
|
110
|
-
...o.style,
|
|
111
|
-
...S,
|
|
112
|
-
position: "absolute",
|
|
113
|
-
pointerEvents: "none",
|
|
114
|
-
opacity: 0,
|
|
115
|
-
margin: 0
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
);
|
|
119
|
-
}
|
|
120
|
-
);
|
|
121
|
-
$.displayName = Q;
|
|
122
|
-
function B(e) {
|
|
123
|
-
return e ? "checked" : "unchecked";
|
|
124
|
-
}
|
|
125
|
-
var V = P, Y = _;
|
|
126
|
-
const Z = ["horizontal", "vertical"], ee = ["1", "2", "3", "4"], te = { orientation: { type: "enum", className: "rt-r-orientation", values: Z, default: "horizontal", responsive: !0 }, size: { type: "enum", className: "rt-r-size", values: ee, default: "1", responsive: !0 }, color: { ...E.color, default: "gray" }, decorative: { type: "boolean", default: !0 } }, T = s.forwardRef((e, t) => {
|
|
127
|
-
const { className: a, color: n, decorative: o, ...c } = R(e, te, k);
|
|
128
|
-
return s.createElement("span", { "data-accent-color": n, role: o ? void 0 : "separator", ...c, ref: t, className: y("rt-Separator", a) });
|
|
129
|
-
});
|
|
130
|
-
T.displayName = "Separator";
|
|
131
|
-
const re = ["1", "2", "3"], se = ["classic", "surface", "soft"], ae = { size: { type: "enum", className: "rt-r-size", values: re, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: se, default: "surface" }, ...E, ...O, ...L }, I = s.forwardRef((e, t) => {
|
|
132
|
-
const { className: a, color: n, radius: o, ...c } = R(e, ae, k);
|
|
133
|
-
return s.createElement(V, { "data-accent-color": n, "data-radius": o, ...c, asChild: !1, ref: t, className: y("rt-reset", "rt-SwitchRoot", a) }, s.createElement(Y, { className: y("rt-SwitchThumb", { "rt-high-contrast": e.highContrast }) }));
|
|
134
|
-
});
|
|
135
|
-
I.displayName = "Switch";
|
|
136
|
-
const oe = ({
|
|
137
|
-
label: e,
|
|
138
|
-
children: t
|
|
139
|
-
}) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
140
|
-
/* @__PURE__ */ r.jsxs(N, { children: [
|
|
141
|
-
/* @__PURE__ */ r.jsx(D, { size: "4", children: e }),
|
|
142
|
-
/* @__PURE__ */ r.jsx(N, { mt: "10px", children: t })
|
|
143
|
-
] }),
|
|
144
|
-
/* @__PURE__ */ r.jsx(T, { size: "4", my: "20px" })
|
|
145
|
-
] }), le = (e) => /* @__PURE__ */ r.jsx(oe, { label: e.label, children: /* @__PURE__ */ r.jsx(W, { children: /* @__PURE__ */ r.jsx(I, { checked: e.value, onCheckedChange: (t) => e.onChange(t) }) }) });
|
|
146
|
-
export {
|
|
147
|
-
le as BooleanEditor
|
|
148
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-jIxVPx5o.js";
|
|
2
|
-
import { r as o } from "./index-CNJY6Um1.js";
|
|
3
|
-
import { a as d } from "./index-Ao2u5imr.js";
|
|
4
|
-
const c = ({
|
|
5
|
-
onClick: e
|
|
6
|
-
}) => /* @__PURE__ */ t.jsx("button", { type: "button", style: {
|
|
7
|
-
position: "fixed",
|
|
8
|
-
right: 0,
|
|
9
|
-
top: "50%",
|
|
10
|
-
transform: "translateY(-50%)",
|
|
11
|
-
padding: 0,
|
|
12
|
-
border: "none",
|
|
13
|
-
background: "transparent",
|
|
14
|
-
cursor: "pointer",
|
|
15
|
-
zIndex: 9999,
|
|
16
|
-
boxSizing: "border-box"
|
|
17
|
-
}, onClick: e, children: /* @__PURE__ */ t.jsx("div", { style: {
|
|
18
|
-
width: 20,
|
|
19
|
-
height: 64,
|
|
20
|
-
paddingLeft: 4,
|
|
21
|
-
display: "flex",
|
|
22
|
-
alignItems: "center",
|
|
23
|
-
justifyContent: "center",
|
|
24
|
-
background: "var(--side-tab-bg, rgba(0,0,0,0.5))",
|
|
25
|
-
color: "white",
|
|
26
|
-
borderRadius: "14px 0 0 14px",
|
|
27
|
-
fontSize: Math.round(64 * 0.25),
|
|
28
|
-
lineHeight: 1,
|
|
29
|
-
userSelect: "none",
|
|
30
|
-
cursor: "pointer",
|
|
31
|
-
filter: "grayscale(0.5)",
|
|
32
|
-
boxSizing: "border-box"
|
|
33
|
-
}, children: /* @__PURE__ */ t.jsx(b, { size: 64 * 0.7 }) }) });
|
|
34
|
-
function b({
|
|
35
|
-
size: e = 18,
|
|
36
|
-
strokeWidth: n = 3,
|
|
37
|
-
...r
|
|
38
|
-
}) {
|
|
39
|
-
return /* @__PURE__ */ t.jsx("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", ...r, children: /* @__PURE__ */ t.jsx("path", { fill: "none", d: "M14.5 5.5L8.5 12l6 6.5", stroke: "currentColor", strokeWidth: n, strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
40
|
-
}
|
|
41
|
-
const f = o.lazy(async () => ({
|
|
42
|
-
default: (await import("./debug-overlay-Bhx1vN7x.js")).DebugOverlay
|
|
43
|
-
})), p = ".expofp-floorplan-default", g = (e) => {
|
|
44
|
-
var a;
|
|
45
|
-
const [n, r] = o.useState(e.open), [s, l] = e.useDebugButtonState(), i = (a = e.hostSelector) != null ? a : p;
|
|
46
|
-
return o.useEffect(() => d(() => {
|
|
47
|
-
l(!0), r(!0);
|
|
48
|
-
}), []), o.useEffect(() => {
|
|
49
|
-
const u = document.querySelector(i);
|
|
50
|
-
u && (u.style.visibility = n ? "hidden" : "visible");
|
|
51
|
-
}, [n, i]), n ? /* @__PURE__ */ t.jsx(o.Suspense, { fallback: null, children: /* @__PURE__ */ t.jsx(f, { onClose: () => {
|
|
52
|
-
r(!1);
|
|
53
|
-
} }) }) : s ? /* @__PURE__ */ t.jsx(c, { onClick: () => r(!0) }) : null;
|
|
54
|
-
};
|
|
55
|
-
g.displayName = "DebugUi";
|
|
56
|
-
export {
|
|
57
|
-
g as DebugUi
|
|
58
|
-
};
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { f as x } from "./index-CNJY6Um1.js";
|
|
2
|
-
function R(s, g) {
|
|
3
|
-
for (var c = 0; c < g.length; c++) {
|
|
4
|
-
const o = g[c];
|
|
5
|
-
if (typeof o != "string" && !Array.isArray(o)) {
|
|
6
|
-
for (const n in o)
|
|
7
|
-
if (n !== "default" && !(n in s)) {
|
|
8
|
-
const i = Object.getOwnPropertyDescriptor(o, n);
|
|
9
|
-
i && Object.defineProperty(s, n, i.get ? i : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => o[n]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var p = { exports: {} }, A = p.exports, d;
|
|
19
|
-
function P() {
|
|
20
|
-
return d || (d = 1, (function(s, g) {
|
|
21
|
-
(function(c, o) {
|
|
22
|
-
s.exports = o();
|
|
23
|
-
})(A, (function() {
|
|
24
|
-
var c = function(i, e) {
|
|
25
|
-
if (e = e || {}, typeof i != "function")
|
|
26
|
-
throw new n("fetch must be a function");
|
|
27
|
-
if (typeof e != "object")
|
|
28
|
-
throw new n("defaults must be an object");
|
|
29
|
-
if (e.retries !== void 0 && !o(e.retries))
|
|
30
|
-
throw new n("retries must be a positive integer");
|
|
31
|
-
if (e.retryDelay !== void 0 && !o(e.retryDelay) && typeof e.retryDelay != "function")
|
|
32
|
-
throw new n("retryDelay must be a positive integer or a function returning a positive integer");
|
|
33
|
-
if (e.retryOn !== void 0 && !Array.isArray(e.retryOn) && typeof e.retryOn != "function")
|
|
34
|
-
throw new n("retryOn property expects an array or function");
|
|
35
|
-
var _ = {
|
|
36
|
-
retries: 3,
|
|
37
|
-
retryDelay: 1e3,
|
|
38
|
-
retryOn: []
|
|
39
|
-
};
|
|
40
|
-
return e = Object.assign(_, e), function(m, r) {
|
|
41
|
-
var v = e.retries, l = e.retryDelay, u = e.retryOn;
|
|
42
|
-
if (r && r.retries !== void 0)
|
|
43
|
-
if (o(r.retries))
|
|
44
|
-
v = r.retries;
|
|
45
|
-
else
|
|
46
|
-
throw new n("retries must be a positive integer");
|
|
47
|
-
if (r && r.retryDelay !== void 0)
|
|
48
|
-
if (o(r.retryDelay) || typeof r.retryDelay == "function")
|
|
49
|
-
l = r.retryDelay;
|
|
50
|
-
else
|
|
51
|
-
throw new n("retryDelay must be a positive integer or a function returning a positive integer");
|
|
52
|
-
if (r && r.retryOn)
|
|
53
|
-
if (Array.isArray(r.retryOn) || typeof r.retryOn == "function")
|
|
54
|
-
u = r.retryOn;
|
|
55
|
-
else
|
|
56
|
-
throw new n("retryOn property expects an array or function");
|
|
57
|
-
return new Promise(function(w, a) {
|
|
58
|
-
var b = function(f) {
|
|
59
|
-
var O = typeof Request < "u" && m instanceof Request ? m.clone() : m;
|
|
60
|
-
i(O, r).then(function(t) {
|
|
61
|
-
if (Array.isArray(u) && u.indexOf(t.status) === -1)
|
|
62
|
-
w(t);
|
|
63
|
-
else if (typeof u == "function")
|
|
64
|
-
try {
|
|
65
|
-
return Promise.resolve(u(f, null, t)).then(function(y) {
|
|
66
|
-
y ? h(f, null, t) : w(t);
|
|
67
|
-
}).catch(a);
|
|
68
|
-
} catch (y) {
|
|
69
|
-
a(y);
|
|
70
|
-
}
|
|
71
|
-
else
|
|
72
|
-
f < v ? h(f, null, t) : w(t);
|
|
73
|
-
}).catch(function(t) {
|
|
74
|
-
if (typeof u == "function")
|
|
75
|
-
try {
|
|
76
|
-
Promise.resolve(u(f, t, null)).then(function(y) {
|
|
77
|
-
y ? h(f, t, null) : a(t);
|
|
78
|
-
}).catch(function(y) {
|
|
79
|
-
a(y);
|
|
80
|
-
});
|
|
81
|
-
} catch (y) {
|
|
82
|
-
a(y);
|
|
83
|
-
}
|
|
84
|
-
else f < v ? h(f, t, null) : a(t);
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
function h(f, O, t) {
|
|
88
|
-
var y = typeof l == "function" ? l(f, O, t) : l;
|
|
89
|
-
setTimeout(function() {
|
|
90
|
-
b(++f);
|
|
91
|
-
}, y);
|
|
92
|
-
}
|
|
93
|
-
b(0);
|
|
94
|
-
});
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
function o(i) {
|
|
98
|
-
return Number.isInteger(i) && i >= 0;
|
|
99
|
-
}
|
|
100
|
-
function n(i) {
|
|
101
|
-
this.name = "ArgumentError", this.message = i;
|
|
102
|
-
}
|
|
103
|
-
return c;
|
|
104
|
-
}));
|
|
105
|
-
})(p)), p.exports;
|
|
106
|
-
}
|
|
107
|
-
var D = P();
|
|
108
|
-
const q = /* @__PURE__ */ x(D), $ = /* @__PURE__ */ R({
|
|
109
|
-
__proto__: null,
|
|
110
|
-
default: q
|
|
111
|
-
}, [D]);
|
|
112
|
-
export {
|
|
113
|
-
$ as f
|
|
114
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { j as f } from "./jsx-runtime-jIxVPx5o.js";
|
|
2
|
-
import { r as m } from "./index-B-GWDT1K.js";
|
|
3
|
-
import "./index-CNJY6Um1.js";
|
|
4
|
-
const a = "dbg123", r = [];
|
|
5
|
-
let u = !1, i = null;
|
|
6
|
-
function g(o) {
|
|
7
|
-
if (r.push(o), !u) {
|
|
8
|
-
let t = function(n) {
|
|
9
|
-
n.ctrlKey || n.metaKey || n.altKey || n.key.length === 1 && (e += n.key.toLowerCase(), e = e.slice(-a.length), e === a && (e = "", r.forEach((s) => s())));
|
|
10
|
-
};
|
|
11
|
-
u = !0;
|
|
12
|
-
let e = "";
|
|
13
|
-
i = t, document.addEventListener("keydown", t);
|
|
14
|
-
}
|
|
15
|
-
return () => {
|
|
16
|
-
const t = r.indexOf(o);
|
|
17
|
-
t !== -1 && r.splice(t, 1), r.length === 0 && i && (document.removeEventListener("keydown", i), i = null, u = !1);
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
let c = !1;
|
|
21
|
-
function b() {
|
|
22
|
-
if (c)
|
|
23
|
-
return;
|
|
24
|
-
c = !0;
|
|
25
|
-
const o = m("Show Debug Button Overlay"), t = async (e) => {
|
|
26
|
-
const {
|
|
27
|
-
DebugUi: n
|
|
28
|
-
} = await import("./debug-ui-D2eqc4aS.js"), {
|
|
29
|
-
createRoot: s
|
|
30
|
-
} = await import("./client-C2b0SeoG.js").then((d) => d.c), l = document.createElement("div");
|
|
31
|
-
document.body.appendChild(l), s(l).render(/* @__PURE__ */ f.jsx(n, { useDebugButtonState: o.useState, open: e }));
|
|
32
|
-
};
|
|
33
|
-
if (o.get())
|
|
34
|
-
t(!1);
|
|
35
|
-
else {
|
|
36
|
-
const e = g(() => {
|
|
37
|
-
e(), o.set(!0), t(!0);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
const E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
|
-
__proto__: null,
|
|
43
|
-
renderDebugUi: b
|
|
44
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
45
|
-
export {
|
|
46
|
-
g as a,
|
|
47
|
-
E as i
|
|
48
|
-
};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { r as E, o as x } from "./index-CNJY6Um1.js";
|
|
2
|
-
import { j as O } from "./jsx-runtime-jIxVPx5o.js";
|
|
3
|
-
let w = !1;
|
|
4
|
-
function _() {
|
|
5
|
-
w || (w = !0, !(typeof window > "u" && typeof document > "u") && import("./index-Ao2u5imr.js").then((t) => t.i).then(({
|
|
6
|
-
renderDebugUi: t
|
|
7
|
-
}) => {
|
|
8
|
-
t();
|
|
9
|
-
}).catch(() => {
|
|
10
|
-
}));
|
|
11
|
-
}
|
|
12
|
-
const j = [], h = [], u = "efp-local-storage";
|
|
13
|
-
function v(t, n, r, L) {
|
|
14
|
-
const e = `efp-debug-setting-"${t}"`, s = () => I(localStorage.getItem(e), n), d = (o) => {
|
|
15
|
-
localStorage.setItem(e, JSON.stringify(o)), y(e);
|
|
16
|
-
}, f = () => {
|
|
17
|
-
localStorage.removeItem(e), y(e);
|
|
18
|
-
};
|
|
19
|
-
h.push(f);
|
|
20
|
-
function g() {
|
|
21
|
-
const [o, i] = E.useState(s());
|
|
22
|
-
return E.useEffect(() => {
|
|
23
|
-
const p = () => i(s()), S = (a) => {
|
|
24
|
-
a.key === e && p();
|
|
25
|
-
}, m = (a) => {
|
|
26
|
-
const {
|
|
27
|
-
detail: c
|
|
28
|
-
} = a;
|
|
29
|
-
(c == null ? void 0 : c.key) === e && p();
|
|
30
|
-
};
|
|
31
|
-
return window.addEventListener("storage", S), window.addEventListener(u, m), () => {
|
|
32
|
-
window.removeEventListener("storage", S), window.removeEventListener(u, m);
|
|
33
|
-
};
|
|
34
|
-
}, []), [o, d];
|
|
35
|
-
}
|
|
36
|
-
const l = () => {
|
|
37
|
-
const [o, i] = g();
|
|
38
|
-
return /* @__PURE__ */ O.jsx(r, { label: t, value: o, context: L, onChange: i });
|
|
39
|
-
};
|
|
40
|
-
return l.displayName = `DebugSetting(${t})`, j.push(l), {
|
|
41
|
-
get: s,
|
|
42
|
-
set: d,
|
|
43
|
-
reset: f,
|
|
44
|
-
useState: g
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function I(t, n) {
|
|
48
|
-
if (t === null) return n;
|
|
49
|
-
try {
|
|
50
|
-
return JSON.parse(t);
|
|
51
|
-
} catch {
|
|
52
|
-
return n;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
function y(t) {
|
|
56
|
-
window.dispatchEvent(new CustomEvent(u, {
|
|
57
|
-
detail: {
|
|
58
|
-
key: t
|
|
59
|
-
}
|
|
60
|
-
}));
|
|
61
|
-
}
|
|
62
|
-
function b(t) {
|
|
63
|
-
const n = x.lazy(() => import("./boolean-editor-BNBndiMi.js").then((r) => ({
|
|
64
|
-
default: r.BooleanEditor
|
|
65
|
-
})));
|
|
66
|
-
return v(t, !1, n);
|
|
67
|
-
}
|
|
68
|
-
function z() {
|
|
69
|
-
h.forEach((t) => t());
|
|
70
|
-
}
|
|
71
|
-
const A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
72
|
-
__proto__: null,
|
|
73
|
-
initDebug: _,
|
|
74
|
-
registerBooleanSetting: b,
|
|
75
|
-
registerSetting: v,
|
|
76
|
-
resetAllSettings: z
|
|
77
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
78
|
-
export {
|
|
79
|
-
z as a,
|
|
80
|
-
j as e,
|
|
81
|
-
A as i,
|
|
82
|
-
b as r
|
|
83
|
-
};
|