@expofp/floorplan 3.41.1 → 3.42.1
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-DQ1VgK7P.js → Button-CFOilpWS.js} +5 -5
- package/dist/browser/{CookieConsent-OxSpNRSR.js → CookieConsent-7xtFQUAC.js} +7 -7
- package/dist/browser/{Debug-DJL7qze8.js → Debug-Ccq8j5HJ.js} +7 -7
- package/dist/browser/{DebugTools-CEpcZpSV.js → DebugTools-dIItZaUb.js} +6 -6
- package/dist/browser/{Demo-tbwenDts.js → Demo-waaMiBvy.js} +9 -9
- package/dist/browser/{Free-DAPEnAot.js → Free-DdCaOZ8Q.js} +9 -9
- package/dist/browser/{GalleryContainer-BT5J8pQd.js → GalleryContainer-DlucEORI.js} +10 -10
- package/dist/browser/{GpsLoader-Defkuwku.js → GpsLoader-cqPoX_Zr.js} +10 -10
- package/dist/browser/{KioskStore-VYUmb42r.js → KioskStore-BJwAcVii.js} +5 -5
- package/dist/browser/{MaplibreAdapter-wd5sDnnR.js → MaplibreAdapter-BZD4cOe-.js} +12 -12
- package/dist/browser/{ModalContainer-D8iFNUXv.js → ModalContainer-BSvSFPr9.js} +10 -10
- package/dist/browser/{PermissionNotice-67z8D3bL.js → PermissionNotice-DXt-j2f7.js} +6 -6
- package/dist/browser/{SetKioskMode-BF2QJgBh.js → SetKioskMode-CCZNdKum.js} +9 -9
- package/dist/browser/{ShowKiosk-BvuupdPb.js → ShowKiosk-BhS74u62.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-DGRNcltq.js → ViewerMenuPanel-BYTeVxTR.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-DE2AY4BU.js → add-debug-secret-listener-B3Oo6_V2.js} +1 -1
- package/dist/browser/{adopt-global-settings-C59x8fLH.js → adopt-global-settings-Yr-a_0F-.js} +9 -9
- package/dist/browser/{boolean-editor-DJ3q3L4o.js → boolean-editor-BA7H18pG.js} +9 -9
- package/dist/browser/{bootIntercom-Rn_KvUDt.js → bootIntercom-BEZV9AQ2.js} +2 -2
- package/dist/browser/bundle.json +71 -71
- package/dist/browser/{camera-events-BQl1apsg.js → camera-events-CJhSKz2q.js} +1 -1
- package/dist/browser/{classnames-CsjXYNRT.js → classnames-D4c_D7C1.js} +2 -2
- package/dist/browser/{client-DsrI9o3t.js → client-DGjMk9A1.js} +5 -5
- package/dist/browser/{components-C6alQQlT.js → components-MaSv6j2M.js} +1285 -1056
- package/dist/browser/{debug-context-zwRfx7_G.js → debug-context-C2PWyEVT.js} +5 -5
- package/dist/browser/{debug-overlay-pGCmfAeE.js → debug-overlay-BXHh1LRW.js} +10 -10
- package/dist/browser/{debug-ui-8d8bh4Ei.js → debug-ui-CO-3GLEU.js} +6 -6
- package/dist/browser/{dimming-BYtOaQLl.js → dimming-kPNlXUew.js} +8 -8
- package/dist/browser/{dist-DBUxXyH-.js → dist-3gOjtf_f.js} +3 -3
- package/dist/browser/{dist--yX45is8.js → dist-B3PLpTVy.js} +6 -6
- package/dist/browser/{dist-B7U2yJwD.js → dist-DEm0E-fN.js} +87 -87
- package/dist/browser/{efp-debug-init-CmjjGCqx.js → efp-debug-init-DkOOpU1g.js} +3 -3
- package/dist/browser/{enum-editor-gzA_rV_6.js → enum-editor-DPAX_cAI.js} +4 -4
- package/dist/browser/{es5-1E3bW8NN.js → es5-CpN6LQeU.js} +2 -2
- package/dist/browser/{event-head-DNeODWGG.js → event-head-oYEDbvk3.js} +1 -1
- package/dist/browser/{event-not-found-FILBU3Js.js → event-not-found-C7GLCJX7.js} +3 -3
- package/dist/browser/{exports-V2bKAasf.js → exports-3uPTDFG9.js} +1 -1
- package/dist/browser/{favicon-DH-H-EsL.js → favicon-CQpg641Z.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DsTx-NiD.js → fetch-retry.umd-Chmlkexp.js} +2 -2
- package/dist/browser/{flex-CVe-CvaW.js → flex--99NWgQk.js} +5 -5
- package/dist/browser/{floorplan.loader-Yb1PHzM8.js → floorplan.loader-Ci226yql.js} +10 -10
- package/dist/browser/{floorplan.ready-5iJDPqsj.js → floorplan.ready-y0hYLknK.js} +15 -15
- package/dist/browser/{fuse-D2KVxf7r.js → fuse-BuFi3LTO.js} +2 -2
- package/dist/browser/{i18n-D6W0ugWI.js → i18n-BAQekIFF.js} +5 -5
- package/dist/browser/index.js +16 -16
- package/dist/browser/{index.module-BdRgUz3I.js → index.module-CXN9GK4C.js} +4 -4
- package/dist/browser/{integrateKiosk-B9UU_EuA.js → integrateKiosk-DjIKsfAy.js} +4 -4
- package/dist/browser/{is-own-domain-BzS4ijJu.js → is-own-domain-DPJZoBiw.js} +1 -1
- package/dist/browser/{is-webview-DskJpzq7.js → is-webview-Bs8mxX94.js} +1 -1
- package/dist/browser/{jsx-runtime-Canx27FQ.js → jsx-runtime-BXbSNrYY.js} +2 -2
- package/dist/browser/{kiosk-record-Boxg-feP.js → kiosk-record-CaWjqNGY.js} +1 -1
- package/dist/browser/{lib-CTsFgWK2.js → lib-jJ4yMeEA.js} +3 -3
- package/dist/browser/{loadImage-Du_UaUMH.js → loadImage-xbueiJmr.js} +4 -4
- package/dist/browser/{logDeviceInfo-DxFKS31n.js → logDeviceInfo-DSmmt_FU.js} +9 -9
- package/dist/browser/{mobx-CZbK9NLJ.js → mobx-BQA2EJH7.js} +4 -4
- package/dist/browser/{optional-boolean-editor-DUMYi2FA.js → optional-boolean-editor-Y_exy4JL.js} +3 -3
- package/dist/browser/{optional-enum-editor-vZD36QdW.js → optional-enum-editor-CKfj0OB9.js} +4 -4
- package/dist/browser/{optional-string-editor-J2K7EapI.js → optional-string-editor-DeavwcWv.js} +4 -4
- package/dist/browser/{particles.min-Cu6vwDTO.js → particles.min-BJkirBpN.js} +2 -2
- package/dist/browser/{react-BeuB34_H.js → react-CV1gH7Zp.js} +2 -2
- package/dist/browser/{react-dom-CgnO8dtw.js → react-dom-BEwgcqEB.js} +3 -3
- package/dist/browser/{rolldown-runtime-BG1hI41C.js → rolldown-runtime-BiAnyumg.js} +1 -1
- package/dist/browser/{scheduler-olrX8Rso.js → scheduler-CcNpP8xn.js} +2 -2
- package/dist/browser/{select-DF9RLlZo.js → select-B13QBWfy.js} +10 -10
- package/dist/browser/{settings-QTBAixhj.js → settings-DJUw3GyU.js} +2 -2
- package/dist/browser/{settings-item-MLTjpNt1.js → settings-item-VzMuDMX6.js} +6 -6
- package/dist/browser/{store-xco7LmUF.js → store-DKVnQzpY.js} +3077 -3061
- package/dist/browser/{string-editor-DiYh6s-0.js → string-editor-B6mio7nq.js} +4 -4
- package/dist/browser/{text-field-_J6jCWAB.js → text-field-7dZmg829.js} +5 -5
- package/dist/browser/{theme-Da74djmA.js → theme-BotlxmwW.js} +8 -8
- package/dist/browser/{ui-CpOsJFje.js → ui-Dn5rbA7O.js} +8 -8
- package/dist/browser/{useRenderTarget-BTXK_51U.js → useRenderTarget-Rz0x5k4l.js} +4 -4
- package/dist/browser/{viewport-pzx361u5.js → viewport-DOIlU3cR.js} +2 -2
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/Sessions.js +1 -1
- package/dist/esm/components/SessionsList.d.ts +12 -0
- package/dist/esm/components/SessionsList.js +1 -0
- package/dist/esm/store/types.d.ts +1 -0
- package/dist/esm/store/types.js +1 -1
- package/package.json +11 -10
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.42.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8f241b7f-d106-4e96-a6a2-b96a0f9abf69", e._sentryDebugIdIdentifier = "sentry-dbid-8f241b7f-d106-4e96-a6a2-b96a0f9abf69");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./jsx-runtime-
|
|
10
|
-
import { t } from "./settings-item-
|
|
11
|
-
import { t as n } from "./text-field-
|
|
9
|
+
import { t as e } from "./jsx-runtime-BXbSNrYY.js";
|
|
10
|
+
import { t } from "./settings-item-VzMuDMX6.js";
|
|
11
|
+
import { t as n } from "./text-field-7dZmg829.js";
|
|
12
12
|
//#region ../debug/src/lib/ui/string-editor.tsx
|
|
13
13
|
var r = e(), i = (e) => {
|
|
14
14
|
var i;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.42.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e13f8c4e-8995-47cd-802d-392fd9bdf13a", e._sentryDebugIdIdentifier = "sentry-dbid-e13f8c4e-8995-47cd-802d-392fd9bdf13a");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { D as n, i as r, l as i, n as a, s as o, u as s, y as c } from "./flex
|
|
12
|
-
import { t as l } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BiAnyumg.js";
|
|
10
|
+
import { t } from "./react-CV1gH7Zp.js";
|
|
11
|
+
import { D as n, i as r, l as i, n as a, s as o, u as s, y as c } from "./flex--99NWgQk.js";
|
|
12
|
+
import { t as l } from "./classnames-D4c_D7C1.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._5ea800d4e947acedb1fa1275f1697b17/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
|
|
14
14
|
var u = /* @__PURE__ */ e(t()), d = /* @__PURE__ */ e(l()), f = {
|
|
15
15
|
size: {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.42.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5b26ff7f-61de-4d09-8508-a74b71b94f98", e._sentryDebugIdIdentifier = "sentry-dbid-5b26ff7f-61de-4d09-8508-a74b71b94f98");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./react-dom-
|
|
13
|
-
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex
|
|
14
|
-
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist
|
|
15
|
-
import { t as y } from "./classnames-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BiAnyumg.js";
|
|
10
|
+
import { t } from "./react-CV1gH7Zp.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-BXbSNrYY.js";
|
|
12
|
+
import { t as r } from "./react-dom-BEwgcqEB.js";
|
|
13
|
+
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex--99NWgQk.js";
|
|
14
|
+
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-B3PLpTVy.js";
|
|
15
|
+
import { t as y } from "./classnames-D4c_D7C1.js";
|
|
16
16
|
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.17__@ty_cffccd7838985066e8e1d993b5cb6017/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
17
17
|
var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
|
|
18
18
|
position: "absolute",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.42.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "80a4f49f-d869-4a38-b1c0-c3cfd645ceec", e._sentryDebugIdIdentifier = "sentry-dbid-80a4f49f-d869-4a38-b1c0-c3cfd645ceec");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { a as t, i as n, s as r } from "./efp-debug-init-
|
|
11
|
-
import { a as i, i as a } from "./adopt-global-settings-
|
|
12
|
-
import { t as o } from "./jsx-runtime-
|
|
13
|
-
import "./settings-
|
|
14
|
-
import { t as s } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BiAnyumg.js";
|
|
10
|
+
import { a as t, i as n, s as r } from "./efp-debug-init-DkOOpU1g.js";
|
|
11
|
+
import { a as i, i as a } from "./adopt-global-settings-Yr-a_0F-.js";
|
|
12
|
+
import { t as o } from "./jsx-runtime-BXbSNrYY.js";
|
|
13
|
+
import "./settings-DJUw3GyU.js";
|
|
14
|
+
import { t as s } from "./add-debug-secret-listener-B3Oo6_V2.js";
|
|
15
15
|
//#region ../debug/src/lib/ui/render-debug-ui.tsx
|
|
16
16
|
var c = /* @__PURE__ */ e(r(), 1), l = o(), u = !1;
|
|
17
17
|
function d() {
|
|
@@ -26,7 +26,7 @@ function d() {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
let o = async (t) => {
|
|
29
|
-
let { DebugUi: n } = await import("./debug-ui-
|
|
29
|
+
let { DebugUi: n } = await import("./debug-ui-CO-3GLEU.js"), { createRoot: i } = await import("./client-DGjMk9A1.js").then((t) => /* @__PURE__ */ e(t.t(), 1)), a = document.createElement("div");
|
|
30
30
|
document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, l.jsx)(n, {
|
|
31
31
|
useDebugButtonState: r.useState,
|
|
32
32
|
open: t
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.42.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "44feeb02-c84e-4fb1-b2f8-984c7d50f58d", e._sentryDebugIdIdentifier = "sentry-dbid-44feeb02-c84e-4fb1-b2f8-984c7d50f58d");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { l as n } from "./store-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BiAnyumg.js";
|
|
10
|
+
import { t } from "./react-CV1gH7Zp.js";
|
|
11
|
+
import { l as n } from "./store-DKVnQzpY.js";
|
|
12
12
|
//#region ../ui/src/shared/activeElement.ts
|
|
13
13
|
var r = (e) => !!e && "activeElement" in e;
|
|
14
14
|
function i(e) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.42.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "91ee65e2-325c-4939-9246-deba91e5c8f4", e._sentryDebugIdIdentifier = "sentry-dbid-91ee65e2-325c-4939-9246-deba91e5c8f4");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { c as e, yt as t } from "./store-
|
|
9
|
+
import { c as e, yt as t } from "./store-DKVnQzpY.js";
|
|
10
10
|
//#region src/components/Map/viewport.ts
|
|
11
11
|
function n(e) {
|
|
12
12
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as o,jsxs as
|
|
1
|
+
import{jsx as o,jsxs as g}from"react/jsx-runtime";import{Overlay as k}from"@expofp/ui";import C from"classnames";import{observer as z}from"mobx-react-lite";import{useCallback as l,useMemo as b,useState as a}from"react";import{overlayStore as m,uiState as e}from"../store";import{SESSIONS_LIST_TYPE as n}from"../store/types";import{t as w}from"../utils/i18n";import O from"./Bookmarks";import I from"./Booth/Booth";import M from"./Category";import P from"./Event";import x from"./Exhibitor";import E from"./Filter";import F from"./Language";import _ from"./Menu";import j from"./OverlayParticles";import A from"./RoutePlanner/RoutePlanner";import B from"./Search";import R from"./Sessions";import T from"./Speaker";import K from"./Speakers";import L from"./TourPoints";import N from"./Tours";import D from"./Visited";import U from"./Wayfinding";const V=z(({isGDPR:d,consent:p})=>{const c=l(t=>{e.desiredOverlaySize=t},[]),f=l(t=>{e.setOverlayScrolled(t)},[]),S=e.overlaySize,[y,v]=a({}),[r,u]=a({type:e.list.type,details:e.details});(r.type!==e.list.type||r.details!==e.details)&&(u({type:e.list.type,details:e.details}),!e.details&&e.list.type===n&&e.getListScrollItemId(n)!=null||v({}));const h=b(()=>{const t={"-backdrop":e.canvasStarted&&e.shouldUseBackdrop&&!e.dimmed&&!e.galleryActive,"-no-transition":e.dimmed,"-gallery-active":e.galleryActive,collapsed:e.overlayCollapsed,kiosk:e.kiosk,start:e.overlayPosition==="left",bottom:e.overlayPosition!=="left",...e.overlaySize&&{[e.overlaySize]:!0}},i=C(t),s=e.overlayInterfaceClasses.join(" ");return s?`${i} ${s}`:i},[e.canvasStarted,e.shouldUseBackdrop,e.dimmed,e.galleryActive,e.overlayCollapsed,e.kiosk,e.inIdle,e.setKioskModeEnabled,e.overlayPosition,e.overlaySize,e.overlayInterfaceClasses]);return g(k,{open:e.isOverlayOpen,size:S,particles:e.isFeaturedExhibitorActive?o(j,{}):null,className:h,mediumSizeMultiplier:m.mediumSizeMultiplier,fullSizeOffset:m.fullSizeOffset,disableDrag:e.viewerMode&&e.menu,forceFull:e.viewerMode&&e.menu,scrollResetKey:y,noContentLabel:w("No content"),withFloatingButton:e.shouldShowMobileToggle,onChangeSize:c,onScrollStateChange:f,onScrollActivity:()=>window.__resett?.(),children:[o(_,{isGDPR:d,consent:p}),o(B,{}),o(x,{}),o(I,{}),o(O,{}),o(D,{}),o(F,{}),o(M,{}),o(U,{}),o(E,{}),o(R,{showFilters:!0}),o(K,{showFilters:!0}),o(N,{}),o(L,{}),o(A,{}),o(P,{}),o(T,{})]})});export default V;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as a,jsxs as F}from"react/jsx-runtime";import"./Sessions.scss";import{OverlayHeaderContext as L}from"@expofp/ui";import N from"fuse.js";import{observer as I}from"mobx-react-lite";import{use as C,useMemo as b}from"react";import{createPortal as H}from"react-dom";import i,{searchStore as _,uiState as m}from"../store";import{SESSIONS_LIST_TYPE as B}from"../store/types";import{t as w}from"../utils/i18n";import P from"./SessionsList";import{ShortcutsToolbar as x}from"./Shortcuts";const R=I(({showFilters:f=!0})=>{const k=C(L),y=i.eventStore.eventItems,{filters:{date:{value:n},timeOfDay:{value:v},sortOrder:{value:S},showBookmarksOnly:{value:T},showLiveOnly:{value:g},selectedTracks:{value:h},selectedVenues:{value:D}}}=i.sessionsFilterStore.state,{searchText:l}=_,{selectedTrack:c}=m,p=T?i.eventStore.bookmarked:null,O=b(()=>{const o=new Date;o.setHours(0,0,0,0);const u=new Date(o);u.setDate(o.getDate()+1);let t=y;if(n!=="all"&&(t=t.filter(e=>{const s=new Date(e.startDate);if(s.setHours(0,0,0,0),n==="today")return s.getTime()===o.getTime();if(n==="tomorrow")return s.getTime()===u.getTime();if(n==="past"){const r=new Date;return new Date(e.endDate)<r}return!0})),v!=="all"&&n==="today"&&(t=t.filter(e=>{const r=new Date(e.startDate).getHours();switch(v){case"morning":return r>=6&&r<12;case"midday":return r>=12&&r<18;case"afternoon":return r>=18&&r<=23;default:return!0}})),c&&(t=t.filter(e=>e.tracks.some(s=>s.id===c.id))),p){const e=new Set(p);t=t.filter(s=>e.has(s))}if(g){const e=new Date;t=t.filter(s=>{const r=new Date(s.startDate),d=new Date(s.endDate);return r<=e&&e<=d})}if(h.length>0&&(t=t.filter(e=>e.tracks.some(s=>h.includes(s.id)))),D.length>0&&(t=t.filter(e=>e.boothId&&D.includes(e.boothId))),l){const e={keys:["name"],threshold:.3,ignoreLocation:!0,includeScore:!0};t=new N(t,e).search(l).map(d=>d.item)}return t},[y,l,n,v,c,p,g,h,D]),E=b(()=>[...O].sort((o,u)=>{const t=new Date(o.startDate).getTime(),e=new Date(u.startDate).getTime();return S==="asc"?e-t:t-e}),[O,S]),j=o=>{m.setListScrollItemId(B,o.id),i.selectEventItem(o,!0)};return F("div",{className:"efp-sessions-content",children:[f&&(k?H(a(x,{interfaceId:"sessions"}),k):a(x,{interfaceId:"sessions"})),E.length>0?a(P,{events:E,onEventClick:j}):a("div",{className:"efp-sessions-empty",children:i.sessionsFilterStore.activeFiltersCount>0||l||c?T?w("No bookmarked events found. Try adjusting your filters."):w("No events found. Try adjusting your filters."):w("No events found")})]})}),V=I(f=>m.list.type!=="sessions"||m.details?null:a(R,{...f}));export default V;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './Schedule.scss';
|
|
2
|
+
import './SessionsList.scss';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import type { EventItem } from '../store/EventStore';
|
|
5
|
+
export interface SessionsListProps {
|
|
6
|
+
events: EventItem[];
|
|
7
|
+
onEventClick: (event: EventItem) => void;
|
|
8
|
+
}
|
|
9
|
+
/** Virtualized sessions list; returning from details scrolls back to the session. */
|
|
10
|
+
declare const SessionsList: React.FunctionComponent<SessionsListProps>;
|
|
11
|
+
export default SessionsList;
|
|
12
|
+
//# sourceMappingURL=SessionsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as s,jsxs as p}from"react/jsx-runtime";import"./Schedule.scss";import"./SessionsList.scss";import{OverlayScrollContext as b,Spinner as k}from"@expofp/ui";import h from"classnames";import m from"dateformat";import{observer as x}from"mobx-react-lite";import{lazy as N,Suspense as L,use as C,useEffect as E,useLayoutEffect as T,useMemo as M,useRef as F,useState as g}from"react";import R,{boothStore as B,uiState as v}from"../store";import{SESSIONS_LIST_TYPE as S}from"../store/types";import{t as G}from"../utils/i18n";import j from"./EventBadgeContainer";const I=()=>import("react-virtuoso").then(t=>({default:t.GroupedVirtuoso})).catch(()=>new Promise(t=>setTimeout(()=>t(I()),3e3))),H=N(I);function _(t){return new Date(t.endDate||t.startDate)}function O(t){const n=new Date,o=t.filter(u=>_(u)>n),r=t.filter(u=>_(u)<=n),e={groups:[],groupCounts:[],rows:[]},c=u=>{const f=new Map;for(const d of u){const[a]=d.startDate.split("T"),l=f.get(a);l?l.push(d):f.set(a,[d])}for(const[d,a]of f)e.groups.push({kind:"day",date:d}),e.groupCounts.push(a.length),a.forEach((l,i)=>e.rows.push({kind:"event",event:l,first:i===0,last:i===a.length-1,only:a.length===1}))};return c(o),r.length>0&&(e.groups.push({kind:"past-title"}),e.groupCounts.push(1),e.rows.push({kind:"past-title"}),c(r)),e}function w(t){const[n,o,r]=t.split("-"),e=new Date(parseInt(n,10),parseInt(o,10)-1,parseInt(r,10));return{day:r,month:m(e,"mmm"),weekday:m(e,"ddd"),full:m(e,"dddd, mmmm d")}}function D(t){const n=R.sessionsFilterStore.state.filters.use24hFormat.value;return m(new Date(t),n?"HH:MM":"h:MMtt")}function V({group:t,index:n,dateRef:o}){if(t.kind!=="day")return s("div",{className:"efp-sessions-list__group",children:s("div",{ref:o,"data-group-index":n})});const r=w(t.date);return s("div",{className:"efp-sessions-list__group",children:p("div",{ref:o,className:h("efp-schedule__date-sticky","efp-sessions-list__date",{"efp-sessions-list__date--first":n===0}),"data-group-index":n,children:[s("div",{children:r.day}),s("div",{children:r.month}),s("div",{children:r.weekday})]})})}const P=x(({row:t,groupIndex:n,selected:o,onClick:r})=>{const{event:e}=t,c=e.boothId?B.boothById.get(Number(e.boothId)):null;return p("div",{className:h("efp-sessions-list__row",{"efp-sessions-list__row--first":t.first&&n>0,"efp-sessions-list__row--last":t.last,"efp-sessions-list__row--only":t.only}),"data-event-id":e.id,children:[t.first&&s("span",{className:"efp-sessions-list__date-label",children:w(e.startDate.split("T")[0]).full}),p("div",{className:h("efp-schedule__event",{ended:e.isEnded||_(e)<new Date,selected:o}),role:"button",tabIndex:0,"aria-current":o||void 0,onClick:()=>r(e),onKeyDown:u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),r(e))},children:[p("span",{children:[D(e.startDate),e.endDate?` - ${D(e.endDate)}`:null]}),p("strong",{children:[e.name,s(j,{event:e})]}),c&&s("div",{className:"efp-schedule__event-booth-and-tracks",children:s("div",{className:"efp-schedule__event-booth",children:s("div",{children:c.name})})}),e.logoFile&&s("div",{className:"efp-schedule__event-logo",children:s("img",{src:e.logoFile,alt:e.name,crossOrigin:"anonymous"})})]})]})});function z({context:t,...n}){return s("div",{...n,role:"list"})}function A({item:t,context:n,...o}){return s("div",{...o,role:"listitem"})}function Y({context:t,...n}){return s("div",{...n,"aria-hidden":"true"})}function $(t){const[n]=g(()=>new Set),o=F(()=>{});E(()=>{if(!t)return;let e=0;const c=()=>{e=0;const f=t.getBoundingClientRect().top,d=[...n].map(i=>({date:i,index:Number(i.dataset.groupIndex),top:i.parentElement.getBoundingClientRect().top-f}));let a=-1,l;for(const i of d)i.top<=1&&(a=Math.max(a,i.index));for(const i of d)i.index>a&&i.top>1&&(!l||i.top<l.top)&&(l=i);for(const i of d){const y=i.index===a&&l?Math.min(0,l.top-i.top-i.date.offsetTop-i.date.offsetHeight):0;i.date.style.transform=y?`translateY(${y}px)`:""}},u=()=>{e||(e=requestAnimationFrame(c))};return o.current=u,t.addEventListener("scroll",u,{passive:!0}),u(),()=>{t.removeEventListener("scroll",u),cancelAnimationFrame(e),o.current=()=>{}}},[t,n]);const[r]=g(()=>e=>{if(e)return n.add(e),()=>{n.delete(e)}});return{dateRef:r,update:()=>o.current()}}const q=x(({events:t,onEventClick:n})=>{const o=C(b),r=M(()=>O(t),[t]),e=$(o),{listScrollItemId:c}=v,u=c===v.getListScrollItemId(S)?c:null,[f]=g(()=>{const d=v.getListScrollItemId(S);if(d==null)return;const a=r.rows.findIndex(l=>l.kind==="event"&&String(l.event.id)===String(d));return a===-1?void 0:a});return T(()=>{f===void 0&&o?.scrollTo({top:0})},[o,f]),o?s("div",{className:"efp-sessions-list",children:s(L,{fallback:s(k,{active:!0,isCenter:!0}),children:s(H,{customScrollParent:o,...f!==void 0&&{initialTopMostItemIndex:{index:f,align:"center"}},groupCounts:r.groupCounts,groupContent:d=>s(V,{group:r.groups[d],index:d,dateRef:e.dateRef}),itemContent:(d,a)=>{const l=r.rows[d];return l.kind==="past-title"?s("div",{className:"efp-sessions-list__past-title",children:G("Past Sessions")}):s(P,{row:l,groupIndex:a,selected:String(l.event.id)===String(u),onClick:n})},components:{List:z,Item:A,Group:Y},increaseViewportBy:400,itemsRendered:e.update})})}):null});export default q;
|
|
@@ -52,6 +52,7 @@ export type ListType = {
|
|
|
52
52
|
type: 'route-planner';
|
|
53
53
|
source: PlannerSource;
|
|
54
54
|
};
|
|
55
|
+
export declare const SESSIONS_LIST_TYPE = "sessions";
|
|
55
56
|
export type OverlaySize = 'full' | 'medium' | 'small';
|
|
56
57
|
export type ListItem = Booth | Exhibitor | Category | EventItem | SpeakerItem | Language | HeatmapYah;
|
|
57
58
|
export interface Visibility {
|
package/dist/esm/store/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const SESSIONS_LIST_TYPE="sessions";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/floorplan",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/expofp/efp-app.git",
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"tslib": "^2.3.0",
|
|
70
70
|
"uuid": "^9.0.1",
|
|
71
71
|
"zod": "4.4.3",
|
|
72
|
-
"@expofp/config": "3.
|
|
73
|
-
"@expofp/debug": "3.
|
|
74
|
-
"@expofp/geometry": "3.
|
|
75
|
-
"@expofp/renderer": "3.
|
|
76
|
-
"@expofp/resolve": "3.
|
|
77
|
-
"@expofp/schema": "3.
|
|
78
|
-
"@expofp/ui": "3.
|
|
79
|
-
"@expofp/utils": "3.
|
|
80
|
-
"@expofp/wayfinding": "3.
|
|
72
|
+
"@expofp/config": "3.42.1",
|
|
73
|
+
"@expofp/debug": "3.42.1",
|
|
74
|
+
"@expofp/geometry": "3.42.1",
|
|
75
|
+
"@expofp/renderer": "3.42.1",
|
|
76
|
+
"@expofp/resolve": "3.42.1",
|
|
77
|
+
"@expofp/schema": "3.42.1",
|
|
78
|
+
"@expofp/ui": "3.42.1",
|
|
79
|
+
"@expofp/utils": "3.42.1",
|
|
80
|
+
"@expofp/wayfinding": "3.42.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^8.0.2",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"@types/color": "^3.0.7",
|
|
87
87
|
"@types/d3": "^7.1.0",
|
|
88
88
|
"@types/d3-selection": "^3.0.11",
|
|
89
|
+
"@types/dateformat": "^3.0.1",
|
|
89
90
|
"@types/history": "^4.7.11",
|
|
90
91
|
"@types/lz-string": "1.3.32",
|
|
91
92
|
"@types/react": "^19.2.17",
|