@riverbankcms/sdk 0.180.0 → 0.182.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/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
- package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
- package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
- package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
- package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
- package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
- package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
- package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
- package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
- package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
- package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
- package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
- package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
- package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
- package/dist/_dts/sdk/src/index.d.ts +104 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +83 -52
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
- package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
- package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
- package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
- package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
- package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
- package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
- package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
- package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
- package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
- package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
- package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
- package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
- package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
- package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
- package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
- package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
- package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
- package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
- package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
- package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
- package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
- package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
- package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
- package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
- package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
- package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
- package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
- package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
- package/dist/client/bookings.mjs +17 -11
- package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
- package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.mjs} +2 -2
- package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
- package/dist/client/{cart-BsjsdGZE.mjs → cart-BYOe7MCh.mjs} +3 -3
- package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
- package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
- package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
- package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
- package/dist/client/client.mjs +106 -43
- package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
- package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
- package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
- package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
- package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
- package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
- package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
- package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
- package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
- package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
- package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
- package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
- package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
- package/dist/client/gifting/client.mjs +32 -29
- package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
- package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
- package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
- package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.mjs} +2 -2
- package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
- package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
- package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-rIYPziZC.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
- package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
- package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
- package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
- package/dist/client/portal/client.mjs +12202 -7166
- package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
- package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
- package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
- package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
- package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
- package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
- package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
- package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
- package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -8
- package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-Bnng7JFA.mjs} +2 -1
- package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
- package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
- package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
- package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
- package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
- package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
- package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
- package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
- package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-Al4ooTl_.mjs +164 -0
- package/dist/client/{src-o7WEvbK1.mjs → src-CmXh3JWs.mjs} +233 -91
- package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
- package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
- package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
- package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
- package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
- package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
- package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
- package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
- package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
- package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
- package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +203 -174
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-BHTBA48n.mjs} +90 -37
- package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
- package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
- package/dist/server/accordions-By_0Ykks.mjs +111 -0
- package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
- package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-CeMywaiD.mjs +1485 -0
- package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
- package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
- package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
- package/dist/server/manifest.mjs +36 -25
- package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
- package/dist/server/media-BRmYrnzb.mjs +31 -0
- package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
- package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +134 -81
- package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
- package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
- package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
- package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
- package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
- package/dist/server/portal.mjs +3 -3
- package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
- package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
- package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +10 -9
- package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
- package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
- package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BcFuhhD7.mjs} +22 -21
- package/dist/server/theme-bridge.mjs +34 -8
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
- package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
- package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
- package/dist/server/types-BKaBZFjD.mjs +1085 -0
- package/dist/server/{validation-DCl-FCk_.mjs → validation-BovmbS8N.mjs} +70 -17
- package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
- package/dist/server/video-Cdr3wh-q.mjs +272 -0
- package/dist/styles/index.css +1098 -1885
- package/package.json +2 -1
- package/dist/_dts/index-B0_2-65A.d.ts +0 -101
- package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
- package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
- package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
- package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
- package/dist/server/constants-Cj7hfbrA.mjs +0 -41
- package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
- package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
|
package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { t as assertNever } from "./src-CmXh3JWs.mjs";
|
|
3
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-Hi1RuYEM.mjs";
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-C8i4NraK.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
7
|
import { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
@@ -263,15 +263,11 @@ function siteTermsFailureKind(error) {
|
|
|
263
263
|
if (codes.some((code) => code === "SITE_TERMS_CHANGED" || code === "site_terms_changed")) return "changed";
|
|
264
264
|
return codes.some((code) => code === "SITE_TERMS_AGREEMENT_MISSING" || code === "site_terms_agreement_missing") ? "missing" : null;
|
|
265
265
|
}
|
|
266
|
+
/** What the signed-in customer last agreed to; a guest, or a profile that couldn't be read, has agreed to nothing we know of. */
|
|
266
267
|
async function readVerifiedAcceptance(api) {
|
|
267
|
-
if (
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
const parsed = verifiedSiteTermsAcceptanceSchema.nullable().safeParse(response.siteTermsAcceptance ?? null);
|
|
271
|
-
return parsed.success ? parsed.data : null;
|
|
272
|
-
} catch {
|
|
273
|
-
return null;
|
|
274
|
-
}
|
|
268
|
+
if (!api.portalVisitor) return null;
|
|
269
|
+
const result = await api.portalVisitor.profile();
|
|
270
|
+
return result.ok ? result.value.siteTermsAcceptance : null;
|
|
275
271
|
}
|
|
276
272
|
function privateIdentity(api) {
|
|
277
273
|
const auth = api.config.authOverrides?.portal ?? api.config.auth;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { lo as bookingPresentation } from "./wizardSteps-B952ify5.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
|
|
@@ -1,14 +1,142 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
7
|
-
import {
|
|
8
|
-
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-
|
|
9
|
-
import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-
|
|
2
|
+
import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-DVt3enLr.mjs";
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, nn as formatDate } from "./src-CmXh3JWs.mjs";
|
|
4
|
+
import { $s as resolveWholeSeriesBookingPhase, Bo as eventDateOptions, Di as planWholeSeriesParentBooking, Ei as planOrdinarySeriesSelection, Mi as selectionRepresentativeEvent, Oi as planWholeSeriesParentSelection, Qs as orderedLiveRunSessions, Si as getPublicEventCanonicalPath, Ti as planDropInPanel, bi as resolveEventRegistrationScopedEvents, di as closedDateListCopy, fi as closedDatesCopy, gi as cutOffDateCopy, hi as closedDateCopy, ji as resolveSelectionBookingClosedDetail, ki as planWholeSeriesRunSelection, lo as bookingPresentation, mi as bookElsewhereDateCopy, pi as closedRunCopy, vi as normalizeEventRegistrationPageSurfaceSubject, wi as isOrdinaryPublicEvent, xi as eventOccurrenceContext, xo as isInBookingCutOffWindow } from "./wizardSteps-B952ify5.mjs";
|
|
5
|
+
import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-BFuqZCfz.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
|
+
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-DdxFG3Ic.mjs";
|
|
9
|
+
import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-B6o5B7g3.mjs";
|
|
10
10
|
import React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
//#region ../blocks/src/system/blocks/events/shared/bookedElsewhere.ts
|
|
13
|
+
/**
|
|
14
|
+
* The booking decision for a page whose event is booked on another website.
|
|
15
|
+
*
|
|
16
|
+
* Such a page has no booking form here, only a button out, so what it needs to
|
|
17
|
+
* know is which date (if any) that button books and, when none, why not. The
|
|
18
|
+
* page's header and its registration panel both read this one decision, so a
|
|
19
|
+
* recurring class whose today's date is past its cut-off can't be "closed" in
|
|
20
|
+
* one place and bookable for next week in the other. Copy projects from the
|
|
21
|
+
* closure; it never decides eligibility.
|
|
22
|
+
*
|
|
23
|
+
* The render clock is part of the input: a page's projected availability can be
|
|
24
|
+
* older than the page, and a cut-off or start makes that gap matter.
|
|
25
|
+
*/
|
|
26
|
+
/** Every date the page scopes in is booked elsewhere. */
|
|
27
|
+
function isBookedElsewherePage(events) {
|
|
28
|
+
return events.length > 0 && events.every((event) => event.destination.kind === "external");
|
|
29
|
+
}
|
|
30
|
+
/** Null while the date is open by both its projected availability and this clock. */
|
|
31
|
+
function bookedElsewhereDateClosure(event, now) {
|
|
32
|
+
const closesAt = event.bookingClosesAt;
|
|
33
|
+
if (closesAt && isInBookingCutOffWindow(event, now)) return {
|
|
34
|
+
kind: "cutOff",
|
|
35
|
+
closesAt
|
|
36
|
+
};
|
|
37
|
+
const reason = event.bookingAvailability.kind === "closed" ? event.bookingAvailability.reason : null;
|
|
38
|
+
if (reason === "occurrence_completed" || reason === "series_completed" || Date.parse(event.endsAt) <= now.getTime()) return { kind: "finished" };
|
|
39
|
+
if (reason === "already_started" || Date.parse(event.startsAt) <= now.getTime()) return { kind: "started" };
|
|
40
|
+
return reason ? { kind: "notTaking" } : null;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* What a page booked elsewhere books. Null when the selection isn't booked
|
|
44
|
+
* elsewhere, so pages booked here keep their own rules. A page-level closure
|
|
45
|
+
* (paused, opening soon) comes first; then the selection's own dates.
|
|
46
|
+
*/
|
|
47
|
+
function decideBookedElsewhereBooking(selection, now) {
|
|
48
|
+
const destination = selectionRepresentativeEvent(selection).destination;
|
|
49
|
+
if (destination.kind !== "external") return null;
|
|
50
|
+
const open = (target) => ({
|
|
51
|
+
kind: "open",
|
|
52
|
+
target,
|
|
53
|
+
destination
|
|
54
|
+
});
|
|
55
|
+
const closed = (closure) => ({
|
|
56
|
+
kind: "closed",
|
|
57
|
+
closure
|
|
58
|
+
});
|
|
59
|
+
const detail = resolveSelectionBookingClosedDetail(selection);
|
|
60
|
+
if (detail) return closed({
|
|
61
|
+
kind: "bookingClosed",
|
|
62
|
+
detail
|
|
63
|
+
});
|
|
64
|
+
switch (selection.kind) {
|
|
65
|
+
case "occurrence": {
|
|
66
|
+
const closure = bookedElsewhereDateClosure(selection.event, now);
|
|
67
|
+
return closure ? closed({
|
|
68
|
+
kind: "date",
|
|
69
|
+
event: selection.event,
|
|
70
|
+
closure
|
|
71
|
+
}) : open(selection.event);
|
|
72
|
+
}
|
|
73
|
+
case "dateChoice": {
|
|
74
|
+
const target = selection.dates.find((date) => bookedElsewhereDateClosure(date, now) === null);
|
|
75
|
+
if (target) return open(target);
|
|
76
|
+
const firstCutOff = selection.dates.flatMap((event) => {
|
|
77
|
+
const closure = bookedElsewhereDateClosure(event, now);
|
|
78
|
+
return closure?.kind === "cutOff" ? [{
|
|
79
|
+
event,
|
|
80
|
+
closesAt: closure.closesAt
|
|
81
|
+
}] : [];
|
|
82
|
+
})[0];
|
|
83
|
+
return closed(firstCutOff ? {
|
|
84
|
+
kind: "datesCutOff",
|
|
85
|
+
dates: selection.dates,
|
|
86
|
+
firstCutOff
|
|
87
|
+
} : { kind: "unavailable" });
|
|
88
|
+
}
|
|
89
|
+
case "wholeSeriesRun": {
|
|
90
|
+
const { run, representative } = selection.run;
|
|
91
|
+
const phase = resolveWholeSeriesBookingPhase(run, now);
|
|
92
|
+
if (phase.kind === "closed") return closed({
|
|
93
|
+
kind: "run",
|
|
94
|
+
reason: phase.reason,
|
|
95
|
+
run
|
|
96
|
+
});
|
|
97
|
+
return representative.bookingAvailability.kind === "closed" ? closed({
|
|
98
|
+
kind: "run",
|
|
99
|
+
reason: "enrolment-closed",
|
|
100
|
+
run
|
|
101
|
+
}) : open(representative);
|
|
102
|
+
}
|
|
103
|
+
case "wholeSeriesParent": return open(selection.eligibleRuns[0].representative);
|
|
104
|
+
case "wholeSeriesParentUnavailable": return closed({ kind: "unavailable" });
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The date a page of dates booked elsewhere speaks for: the route's own date,
|
|
109
|
+
* else the series' earliest date still open there, so one closed date (today's,
|
|
110
|
+
* past its cut-off) doesn't close the page while next week's can still be
|
|
111
|
+
* booked. With none open, the series' usual choice speaks and shows its closed
|
|
112
|
+
* state. Null when the page isn't booked elsewhere or names no such date.
|
|
113
|
+
*/
|
|
114
|
+
function selectBookedElsewhereDates(events, occurrenceId, now) {
|
|
115
|
+
if (!isBookedElsewherePage(events)) return null;
|
|
116
|
+
if (occurrenceId) {
|
|
117
|
+
const event = events.find((candidate) => candidate.occurrenceId === occurrenceId);
|
|
118
|
+
return event && isOrdinaryPublicEvent(event) ? {
|
|
119
|
+
kind: "occurrence",
|
|
120
|
+
event
|
|
121
|
+
} : null;
|
|
122
|
+
}
|
|
123
|
+
const fallback = planOrdinarySeriesSelection(events);
|
|
124
|
+
if (fallback?.kind !== "occurrence") return fallback;
|
|
125
|
+
const open = events.filter(isOrdinaryPublicEvent).filter((event) => event.seriesId === fallback.event.seriesId).filter((event) => decideBookedElsewhereBooking({
|
|
126
|
+
kind: "occurrence",
|
|
127
|
+
event
|
|
128
|
+
}, now)?.kind === "open").sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt))[0];
|
|
129
|
+
return open ? {
|
|
130
|
+
kind: "occurrence",
|
|
131
|
+
event: open
|
|
132
|
+
} : fallback;
|
|
133
|
+
}
|
|
134
|
+
/** The page's whole decision for dates booked elsewhere, for consumers that show it without a selection of their own. */
|
|
135
|
+
function decideBookedElsewhereDatesPage(events, occurrenceId, now) {
|
|
136
|
+
const selection = selectBookedElsewhereDates(events, occurrenceId, now);
|
|
137
|
+
return selection ? decideBookedElsewhereBooking(selection, now) : null;
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
12
140
|
//#region ../blocks/src/system/runtime/nodes/event-registration/BookingPanel.tsx
|
|
13
141
|
function EventBookingPanelView({ panel, pageKind, children }) {
|
|
14
142
|
const body = /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(EventBookingPanelBody, { panel }), children] });
|
|
@@ -40,6 +168,18 @@ function EventBookingPanelBody({ panel }) {
|
|
|
40
168
|
children: cancelledDateCopy.bodyText
|
|
41
169
|
})]
|
|
42
170
|
});
|
|
171
|
+
case "bookElsewhere": return /* @__PURE__ */ jsx("div", {
|
|
172
|
+
className: "event-booking-panel__book-elsewhere",
|
|
173
|
+
children: /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
174
|
+
variant: "primary",
|
|
175
|
+
size: "md",
|
|
176
|
+
extraClassName: "event-booking-panel__book-link rb-block rb-w-full rb-text-center",
|
|
177
|
+
href: panel.url,
|
|
178
|
+
target: "_blank",
|
|
179
|
+
rel: "noopener noreferrer",
|
|
180
|
+
label: panel.label
|
|
181
|
+
})
|
|
182
|
+
});
|
|
43
183
|
case "dropIn": return /* @__PURE__ */ jsx(DropInPanel, { panel: panel.panel });
|
|
44
184
|
case "bookingClosed": return /* @__PURE__ */ jsx(BookingClosedPanel, { detail: panel.detail });
|
|
45
185
|
case "closedRun": return /* @__PURE__ */ jsx(ClosedRunPanel, { copy: closedRunCopy(panel.reason, panel.run) });
|
|
@@ -221,24 +361,41 @@ function resolveBookingPanelSelection(source) {
|
|
|
221
361
|
}, events);
|
|
222
362
|
return selection ? {
|
|
223
363
|
selection,
|
|
224
|
-
subject
|
|
364
|
+
subject,
|
|
365
|
+
pageEvents: events
|
|
225
366
|
} : null;
|
|
226
367
|
}
|
|
227
368
|
function selectPagePanel(source, events) {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
eventSeriesId: source.subject.eventSeriesId,
|
|
369
|
+
const bookedElsewhere = isBookedElsewherePage(events);
|
|
370
|
+
const subject = source.subject;
|
|
371
|
+
if (subject?.kind === "eventOffering" && subject.bookingScope === "whole_series") return source.pageKind === "bookingPage" || bookedElsewhere ? planWholeSeriesParentSelection({
|
|
372
|
+
offeringId: subject.eventOfferingId,
|
|
373
|
+
events,
|
|
374
|
+
now: new Date(source.now)
|
|
375
|
+
}) : null;
|
|
376
|
+
if (subject?.kind === "eventSeries" && subject.bookingScope === "whole_series") return planWholeSeriesRunSelection({
|
|
377
|
+
eventSeriesId: subject.eventSeriesId,
|
|
238
378
|
events
|
|
239
379
|
});
|
|
240
|
-
|
|
241
|
-
|
|
380
|
+
return bookedElsewhere ? selectBookedElsewherePanel(source, events) : selectBookedHerePanel(source, events);
|
|
381
|
+
}
|
|
382
|
+
/** The page header reads the same choice (`decideBookedElsewhereDatesPage`). Unscoped blocks show no panel. */
|
|
383
|
+
function selectBookedElsewherePanel(source, events) {
|
|
384
|
+
const occurrenceId = source.occurrenceContext?.id ?? null;
|
|
385
|
+
return occurrenceId || offersSeriesDates(source, true) ? selectBookedElsewhereDates(events, occurrenceId, new Date(source.now)) : null;
|
|
386
|
+
}
|
|
387
|
+
function selectBookedHerePanel(source, events) {
|
|
388
|
+
return offersSeriesDates(source, false) ? planOrdinarySeriesSelection(events) : selectOccurrenceForPanel(events, source.occurrenceContext?.id);
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* A series subject without a dated route offers the same eligible dates in
|
|
392
|
+
* CMS/SDK and hosted pages. Unscoped blocks keep their catalogue picker, as
|
|
393
|
+
* does an offering's page booked here.
|
|
394
|
+
*/
|
|
395
|
+
function offersSeriesDates(source, bookedElsewhere) {
|
|
396
|
+
if (source.occurrenceContext) return false;
|
|
397
|
+
const kind = source.subject?.kind;
|
|
398
|
+
return kind === "eventSeries" || kind === "eventOffering" && bookedElsewhere;
|
|
242
399
|
}
|
|
243
400
|
/** The decided target is also retained for recovery when fresh booking is closed. */
|
|
244
401
|
function registrationSourceForPanel(source, panel) {
|
|
@@ -257,17 +414,19 @@ function selectOccurrenceForPanel(events, occurrenceId) {
|
|
|
257
414
|
event
|
|
258
415
|
} : null;
|
|
259
416
|
}
|
|
260
|
-
function planEventBookingPanel({ selection, subject }, now) {
|
|
417
|
+
function planEventBookingPanel({ selection, subject, pageEvents }, now) {
|
|
261
418
|
if (isCancelledDateSelection(selection)) return {
|
|
262
419
|
kind: "cancelled",
|
|
263
420
|
registration: null
|
|
264
421
|
};
|
|
422
|
+
const elsewhere = planBookElsewherePanel(selection, now);
|
|
423
|
+
if (elsewhere) return elsewhere;
|
|
265
424
|
const nonBookingPanel = planNonBookingPanel(selection);
|
|
266
425
|
switch (selection.kind) {
|
|
267
426
|
case "occurrence":
|
|
268
427
|
case "dateChoice":
|
|
269
428
|
case "wholeSeriesRun": {
|
|
270
|
-
const registration = selectionRegistrationTarget(selection, subject);
|
|
429
|
+
const registration = selectionRegistrationTarget(selection, subject, pageEvents);
|
|
271
430
|
if (nonBookingPanel) return {
|
|
272
431
|
...nonBookingPanel,
|
|
273
432
|
registration
|
|
@@ -319,6 +478,49 @@ function closedDatePanel(selection, now) {
|
|
|
319
478
|
copy
|
|
320
479
|
} : null;
|
|
321
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* An event booked on another website is saved with no booking here, so it
|
|
483
|
+
* would otherwise read as a drop-in ("No booking needed"). It is decided
|
|
484
|
+
* first, after a cancelled date, by the shared booked-elsewhere decision the
|
|
485
|
+
* page header also reads: a closed, started or finished date says so rather
|
|
486
|
+
* than sending people out. There is nothing here to recover, so no
|
|
487
|
+
* registration target is kept.
|
|
488
|
+
*/
|
|
489
|
+
function planBookElsewherePanel(selection, now) {
|
|
490
|
+
const booking = decideBookedElsewhereBooking(selection, now);
|
|
491
|
+
if (!booking) return null;
|
|
492
|
+
return booking.kind === "open" ? {
|
|
493
|
+
kind: "bookElsewhere",
|
|
494
|
+
url: booking.destination.url,
|
|
495
|
+
label: booking.destination.label,
|
|
496
|
+
registration: null
|
|
497
|
+
} : {
|
|
498
|
+
...bookElsewhereClosedPanel(booking.closure),
|
|
499
|
+
registration: null
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
function bookElsewhereClosedPanel(closure) {
|
|
503
|
+
switch (closure.kind) {
|
|
504
|
+
case "bookingClosed": return {
|
|
505
|
+
kind: "bookingClosed",
|
|
506
|
+
detail: closure.detail
|
|
507
|
+
};
|
|
508
|
+
case "date": return {
|
|
509
|
+
kind: "closedDate",
|
|
510
|
+
copy: bookElsewhereDateCopy(closure.event, closure.closure)
|
|
511
|
+
};
|
|
512
|
+
case "datesCutOff": return {
|
|
513
|
+
kind: "closedDate",
|
|
514
|
+
copy: closedDateListCopy(closure.dates.length, cutOffDateCopy(closure.firstCutOff.event, closure.firstCutOff.closesAt))
|
|
515
|
+
};
|
|
516
|
+
case "run": return {
|
|
517
|
+
kind: "closedRun",
|
|
518
|
+
reason: closure.reason,
|
|
519
|
+
run: closure.run
|
|
520
|
+
};
|
|
521
|
+
case "unavailable": return { kind: "unavailable" };
|
|
522
|
+
}
|
|
523
|
+
}
|
|
322
524
|
/** Drop-in and page-level closure take precedence over fresh booking and run selection. */
|
|
323
525
|
function planNonBookingPanel(selection) {
|
|
324
526
|
if (!selectionRepresentativeEvent(selection).requiresRegistration) return {
|
|
@@ -331,10 +533,14 @@ function planNonBookingPanel(selection) {
|
|
|
331
533
|
detail
|
|
332
534
|
} : null;
|
|
333
535
|
}
|
|
334
|
-
|
|
536
|
+
/**
|
|
537
|
+
* A date's own page hands over its series' other dates as well as its own:
|
|
538
|
+
* the wizard decides whether the visitor can add them (`decideRegistrationEntry`).
|
|
539
|
+
*/
|
|
540
|
+
function selectionRegistrationTarget(selection, subject, pageEvents) {
|
|
335
541
|
switch (selection.kind) {
|
|
336
542
|
case "occurrence": return {
|
|
337
|
-
events:
|
|
543
|
+
events: seriesDates(selection.event, pageEvents),
|
|
338
544
|
occurrenceContext: eventOccurrenceContext(selection.event),
|
|
339
545
|
subject
|
|
340
546
|
};
|
|
@@ -350,6 +556,9 @@ function selectionRegistrationTarget(selection, subject) {
|
|
|
350
556
|
};
|
|
351
557
|
}
|
|
352
558
|
}
|
|
559
|
+
function seriesDates(pageDate, pageEvents) {
|
|
560
|
+
return [pageDate, ...pageEvents.filter((event) => isOrdinaryPublicEvent(event) && event.seriesId === pageDate.seriesId && event.occurrenceId !== pageDate.occurrenceId)];
|
|
561
|
+
}
|
|
353
562
|
/**
|
|
354
563
|
* Every run the course page admits, not just those still taking bookings. An
|
|
355
564
|
* invitation emailed for a run links here, and stays good after that run closes.
|
|
@@ -798,4 +1007,4 @@ function StepIndicator(props) {
|
|
|
798
1007
|
});
|
|
799
1008
|
}
|
|
800
1009
|
//#endregion
|
|
801
|
-
export { planEventBookingPanel as a, EventBookingPanelView as c, RegistrationClosedState as i, BookingEntryBar as n, registrationSourceForPanel as o, BookingEntryCard as r, resolveBookingPanelSelection as s, StepIndicator as t };
|
|
1010
|
+
export { planEventBookingPanel as a, EventBookingPanelView as c, RegistrationClosedState as i, decideBookedElsewhereDatesPage as l, BookingEntryBar as n, registrationSourceForPanel as o, BookingEntryCard as r, resolveBookingPanelSelection as s, StepIndicator as t };
|
|
@@ -1327,38 +1327,6 @@ function ThemedButtonLink({ variant, size, extraClassName, screenReaderSuffix, l
|
|
|
1327
1327
|
})
|
|
1328
1328
|
});
|
|
1329
1329
|
}
|
|
1330
|
-
/** Fixed icon-only actions control; callers cannot supply icon children. */
|
|
1331
|
-
function ThemedActionsButton({ variant, size, extraClassName, ...buttonProps }) {
|
|
1332
|
-
return /* @__PURE__ */ jsx("button", {
|
|
1333
|
-
...buttonProps,
|
|
1334
|
-
"aria-label": "Actions",
|
|
1335
|
-
className: themedButtonClasses(variant, size, extraClassName),
|
|
1336
|
-
children: /* @__PURE__ */ jsxs("svg", {
|
|
1337
|
-
width: "16",
|
|
1338
|
-
height: "16",
|
|
1339
|
-
viewBox: "0 0 16 16",
|
|
1340
|
-
fill: "currentColor",
|
|
1341
|
-
"aria-hidden": "true",
|
|
1342
|
-
children: [
|
|
1343
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1344
|
-
cx: "8",
|
|
1345
|
-
cy: "3",
|
|
1346
|
-
r: "1.5"
|
|
1347
|
-
}),
|
|
1348
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1349
|
-
cx: "8",
|
|
1350
|
-
cy: "8",
|
|
1351
|
-
r: "1.5"
|
|
1352
|
-
}),
|
|
1353
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1354
|
-
cx: "8",
|
|
1355
|
-
cy: "13",
|
|
1356
|
-
r: "1.5"
|
|
1357
|
-
})
|
|
1358
|
-
]
|
|
1359
|
-
})
|
|
1360
|
-
});
|
|
1361
|
-
}
|
|
1362
1330
|
/** Fixed semantic download affordance; callers cannot supply arbitrary icon children. */
|
|
1363
1331
|
function ThemedDownloadLink({ variant, size, extraClassName, label, screenReaderSuffix, labelClassName, ...anchorProps }) {
|
|
1364
1332
|
return /* @__PURE__ */ jsxs("a", {
|
|
@@ -1403,4 +1371,4 @@ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disa
|
|
|
1403
1371
|
});
|
|
1404
1372
|
}
|
|
1405
1373
|
//#endregion
|
|
1406
|
-
export {
|
|
1374
|
+
export { themeButtonSelector as C, parseThemeButtonVariantId as S, FileTextIcon as _, ThemedFileChooser as a, SpinnerNode as b, ArrowDownIcon as c, CirclePlusIcon as d, ClockIcon as f, FileSpreadsheetIcon as g, FileAudioIcon as h, ThemedDownloadLink as i, ChevronDownIcon as l, FileArchiveIcon as m, ThemedButton as n, getIconComponent as o, ExternalLinkIcon as p, ThemedButtonLink as r, isSemanticIconId as s, ThemedAuthoredButton as t, CircleMinusIcon as u, MinusIcon as v, AFFORDANCE_SUPPRESS_CLASS as w, clsx as x, PlusIcon as y };
|