@riverbankcms/sdk 0.183.0 → 0.184.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/README.md +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-DjBTJYiF.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-BpXEM2ET.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-Bb3h7KRE.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-DgTRRtl_.d.ts} +13 -1
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-DZQJp_ak.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-Ww1fmd-c.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-BGc7dju6.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-BECaUNYs.d.ts} +2 -2
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-Cc85KVLW.d.ts} +3 -3
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-Cni4jykw.d.ts} +4 -4
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DxxTQ_0V.d.ts} +2 -2
- package/dist/_dts/{index-BxCmCit0.d.ts → index-W9-7djG3.d.ts} +1 -1
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-ukS-Ffem.d.ts} +1 -1
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BlSWTlbD.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-CZz2BoXJ.d.ts} +74180 -73974
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-D12HXnS3.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BteMsSGP.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 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- 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 +7 -7
- 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 +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
- 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 +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-aTlOvO3U.d.ts} +15 -7
- package/dist/_dts/{types-BoITy0rA.d.ts → types-Bi7R07RX.d.ts} +6 -2
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-CCcQlRBi.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-Du4aMnWC.d.ts} +13 -15
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-CjCWVmwe.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CFLWxjxR.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-C4LcfwyA.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-DdcmoHqQ.mjs} +1 -1
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-DYGewmvh.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-ZfrUiiiI.mjs} +5 -5
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-pzkGVkgG.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-Ct1B3xI4.mjs} +9 -9
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-DgfNtcgW.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → EventEmbeddedCheckoutStep-CjoaG1zy.mjs} +1 -1
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-KGKkK19N.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-Ba9ezxuC.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-xFKRDLwC.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-Dy36vWHi.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-Dth9L00x.mjs} +108 -45
- package/dist/client/{Page-CgbQZP5g.mjs → Page-DB5KODiu.mjs} +1735 -501
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDVP_HeK.mjs} +2 -2
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-CLgDVzCs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-DRyZ8igu.mjs} +6 -6
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-CqroimVQ.mjs} +745 -557
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BQYRP5xV.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-B7ckDuOC.mjs} +16 -16
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-BeD4650p.mjs} +7 -6
- package/dist/client/bookings.mjs +4 -4
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CA7FirMH.mjs} +2 -2
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-DJ9Aa1m3.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-DdCenbTy.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-BQm06qNw.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-45wPQULN.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-bSv4cc5z.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CwlaMl3W.mjs} +1 -1
- package/dist/client/client.mjs +23 -35
- package/dist/client/{constants-C_8AxMdm.mjs → constants-DXV4KR7l.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-lCPfX-xe.mjs} +13 -3
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-Ce3Gyin_.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-CGcDE9aE.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-DlPfn4YG.mjs} +51 -28
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-CioAdryV.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-Dwt0G6ez.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-B3H9ifOC.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-Do7cAhXb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CsqzgC6v.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-DVDB7hY6.mjs} +4 -4
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-1q2rzSYt.mjs} +3 -3
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-CufPM38H.mjs → gifting-BrXQGX-k.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client--zAjnY5N.mjs} +6 -7
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-CrwHpUJG.mjs} +59 -9
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-CcKdDaQq.mjs} +7 -2
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-DlcDH4bi.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-dMh0Oxli.mjs} +1986 -1170
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BxA1PsdS.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-D0iRg7p2.mjs} +6 -5
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-Dmuklz0r.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-CBzvgIfg.mjs} +3 -3
- package/dist/client/portal/client.mjs +27 -15
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-DiGibcZI.mjs} +9 -2
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-D9MP8hvH.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-wCz1qcUY.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-D9-fCY6c.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-PJyxXSac.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-B8lrKGPw.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-CI63JVHW.mjs} +689 -569
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-Jt9hDHdh.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-ZSPcJWx1.mjs} +1 -1
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +3 -0
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-_iW9oEYc.mjs} +1 -1
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-CbdJlWOw.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-BqLbzUUn.mjs} +44 -26
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-BT0-zRqN.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-Cws0lnSb.mjs} +1 -1
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-0cNErhJT.mjs} +37 -18
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-COuQ2MhQ.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DqI6U1BS.mjs} +6 -6
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CeVUVzGf.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-B0mjVhZr.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-B_hfgdAP.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-Ct4A6iR1.mjs} +13 -15
- package/dist/client/{view-4gnPcpWJ.mjs → view-Cj151w4m.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-B3gsXNnb.mjs} +212 -68
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-Dv4CW0AQ.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-B7WW58uE.mjs} +1095 -282
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-BnJ1ughv.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-C7qWzAe4.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-CYi4UHtG.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DrUoRNu9.mjs} +6239 -2558
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-CEYp90mM.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DnO2_c0A.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-B3PwHw2z.mjs} +16 -10
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-DrdQ4ier.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-kuGRKaRL.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +150 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CwrXkLT3.mjs} +16 -28
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-C5ucphCJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-DvbqYXdK.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CAcf1lHT.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-DjcsqjCK.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-CFw4M-gZ.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-D0XCgITW.mjs} +26 -34
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-BZduY8jG.mjs} +9 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-C-qyB8Tq.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BpKKmi8E.mjs} +3 -3
- package/dist/server/lookMediaFrame-EFws7tAj.mjs +31835 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-DYkuiNXa.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-DmZn4xUE.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DRB7cUZ0.mjs} +595 -208
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-Uv1xDieJ.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-BdQF875z.mjs} +596 -383
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-CwcWZL7u.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-BQ8qiQnk.mjs} +22 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-B51QZVNe.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-CppDAfJW.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-Bf4W8Qa7.mjs} +1499 -28631
- 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 +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DMHAZooQ.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-BMtAAPzp.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-DKYfR518.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-DGaihVwp.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CRvmreX7.mjs} +8 -7
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-mcy2E1Yd.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-B2qFOUwZ.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-C_S0pWbR.mjs} +9 -2
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-CUtNT_EZ.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-DebJQ4zn.mjs} +1 -1
- package/dist/styles/index.css +495 -50
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-aTlOvO3U.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { z as BlockKind } from "./content-types-
|
|
3
|
-
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-
|
|
4
|
-
import { F as SiteFooterBlock, I as SiteResponse, L as SiteRouteRecord } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline$1 } from "./Page-
|
|
1
|
+
import { Ei as PageBlockRenderAdmissionError, Er as SdkCustomBlock, F as RuntimeMedia, Gi as DeepReadonly, Ir as SiteRuntimeSiteTerms, J as PrefetchedBlockData, Ji as AppearancePresetId, K as BlockLoaderFailures, M as Media, Oi as ReadinessStage, Qi as SiteStyleId, Si as SectionSubjectFacts, Sr as RenderableManifestContent, Xi as DesignBoundaryId, Y as ResolvedBlockData, Yi as DesignBlockId, Zi as PageFlowPresetId, _i as EdgeColourPreset, b as PublicWholeSeriesRun, bi as StoredSectionValues, br as RenderablePageOutline, gi as pageDesignIntentSchemaVersion, ha as UtcIsoDateTimeString, hi as PageDesignIntent, la as RichTextDoc, ma as BookingTimeZone, mi as PageRuntimeJoin, na as MailingListRuntimeContext, oa as PublishedBlockPlacementRead, ot as DateRuntimeContext, q as BlockLoaderSnapshot, st as resolveDateRuntimeContext, ti as PublicBookingService, ui as Theme, ur as BrowserReadAuthority, v as PublicEvent, vi as EdgeFamily, wr as Block, x as SystemEventPageSelection, xi as PageSectionDefinition, xr as CompiledManifestContentContract, y as PublicEventBase, yr as RenderablePageBlock } from "./request-CZz2BoXJ.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-DZQJp_ak.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-Cc85KVLW.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse, L as SiteRouteRecord } from "./contracts-Ww1fmd-c.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-Bi7R07RX.js";
|
|
6
|
+
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline$1 } from "./Page-BpXEM2ET.js";
|
|
7
7
|
import { buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildMenu } from "./sdk/src/navigation/index.js";
|
|
8
8
|
//#region .cache/declarations/sdk/src/rendering/components/Layout.d.ts
|
|
9
9
|
type CustomHeaderData = {
|
|
@@ -396,7 +396,15 @@ declare function bookingPageDesign(heroId: string, hasImage: boolean, {
|
|
|
396
396
|
boundaryId: DesignBoundaryId;
|
|
397
397
|
previousBlockId: DesignBlockId;
|
|
398
398
|
nextBlockId: DesignBlockId;
|
|
399
|
-
choice:
|
|
399
|
+
choice: Readonly<{
|
|
400
|
+
kind: 'user-pinned';
|
|
401
|
+
value: Readonly<{
|
|
402
|
+
family: EdgeFamily | 'none';
|
|
403
|
+
variant?: string;
|
|
404
|
+
layers: 1 | 2 | 3;
|
|
405
|
+
colourPreset: EdgeColourPreset;
|
|
406
|
+
}>;
|
|
407
|
+
}>;
|
|
400
408
|
}>[];
|
|
401
409
|
blockLookPins: {
|
|
402
410
|
blockId: DesignBlockId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as RoutableContentResponse, C as PublicPassesResponse, D as PublicTeamMembersResponse, I as SiteResponse, M as RouteOutcomeResponse, O as PublicWeeklySlotAvailabilityResponse, R as SitemapRoutesResponse, S as PublicMembershipsResponse, T as PublicProductsResponse, _ as PublicEndpointName, b as PublicFormResponse, g as PublicBookingServicesResponse, i as CheckRedirectResponse, j as RouteDecisionResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse, v as PublicEventDetailsResponse, w as PublicProductCategorySelector, x as PublicFormsResponse, y as PublicEventsResponse } from "./contracts-
|
|
1
|
+
import { C as CalendarWindowRequest, S as CalendarWindowPage, _ as PublicMapLocationResult, g as PublicMapLocationParams, n as FrameworkCacheAdapter } from "./request-CZz2BoXJ.js";
|
|
2
|
+
import { A as RoutableContentResponse, C as PublicPassesResponse, D as PublicTeamMembersResponse, I as SiteResponse, M as RouteOutcomeResponse, O as PublicWeeklySlotAvailabilityResponse, R as SitemapRoutesResponse, S as PublicMembershipsResponse, T as PublicProductsResponse, _ as PublicEndpointName, b as PublicFormResponse, g as PublicBookingServicesResponse, i as CheckRedirectResponse, j as RouteDecisionResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse, v as PublicEventDetailsResponse, w as PublicProductCategorySelector, x as PublicFormsResponse, y as PublicEventsResponse } from "./contracts-Ww1fmd-c.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/runtimeCacheKeys.d.ts
|
|
5
5
|
declare const publishedRuntimeCacheKeyBrand: unique symbol;
|
|
@@ -16,6 +16,10 @@ type PublishedRuntimeCachePayloadSchemaVersion = number & {
|
|
|
16
16
|
* entries written in the old shape until publish or a live success rewrites
|
|
17
17
|
* them.
|
|
18
18
|
*
|
|
19
|
+
* - 10: compiled arrangement runtimes declare rhythm progression (#1872 strata).
|
|
20
|
+
* - 9: edge pins use family, variant, layers and colourPreset (#1872).
|
|
21
|
+
* - 8: section decisions resolve stored ground identity and independent owner treatments (#1872).
|
|
22
|
+
* - 7: compiled arrangement runtimes carry named grounds (`grounds`, `rhythm` as ResolvedGround) (#1872).
|
|
19
23
|
* - 6: resolved page reads carry their own mailing-list projection (`mailingList`).
|
|
20
24
|
* - 5: page reads carry the admitted destination envelope and availability dependencies.
|
|
21
25
|
* - 4: owned surface inputs use the shared revision transport envelope (#1627).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-
|
|
3
|
-
import { c as NodeDefinition } from "./index-
|
|
1
|
+
import { $r as SdkSiteLayoutConfig, Dr as BlockEditing, Or as BlockEditingExtension } from "./request-CZz2BoXJ.js";
|
|
2
|
+
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-DZQJp_ak.js";
|
|
3
|
+
import { c as NodeDefinition } from "./index-Cc85KVLW.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/config/types.d.ts
|
|
6
6
|
/**
|
|
@@ -538,14 +538,13 @@ interface RiverbankSiteConfig {
|
|
|
538
538
|
*/
|
|
539
539
|
activeTheme?: string;
|
|
540
540
|
/**
|
|
541
|
-
*
|
|
541
|
+
* Read the portal cookie during public-page rendering and pass it to booking blocks.
|
|
542
|
+
* This makes public pages dynamic; leave false to keep ISR.
|
|
542
543
|
*
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
*
|
|
547
|
-
* - `/api/portal/callback` using `handlePortalCallback()`
|
|
548
|
-
* - `/api/portal/logout` using `handlePortalLogout()`
|
|
544
|
+
* With false, booking forms can read the session in the browser through
|
|
545
|
+
* `/api/portal/session` using `handlePortalSession()` from `@riverbankcms/sdk/portal`.
|
|
546
|
+
* Without that route, forms stay signed out. The reserved `/portal` route
|
|
547
|
+
* reads its own cookie regardless of this option.
|
|
549
548
|
*
|
|
550
549
|
* @default false
|
|
551
550
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
3
|
-
import { _ as RiverbankClient } from "./types-
|
|
1
|
+
import { ui as Theme } from "./request-CZz2BoXJ.js";
|
|
2
|
+
import { u as RiverbankSiteConfig } from "./types-CCcQlRBi.js";
|
|
3
|
+
import { _ as RiverbankClient } from "./types-Bi7R07RX.js";
|
|
4
4
|
import { DataLoaderOverrides, DataLoaderSearchParams } from "./sdk/src/data/types.js";
|
|
5
|
-
import { c as SdkRenderingMode, k as BlockOverrideRegistrations, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime } from "./Page-
|
|
6
|
-
import { i as LoadContentResult } from "./loadContent-
|
|
7
|
-
import { t as Metadata } from "./generatePageMetadata-
|
|
8
|
-
import { c as RiverbankContentLoadError } from "./resolvePageContent-
|
|
5
|
+
import { c as SdkRenderingMode, k as BlockOverrideRegistrations, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime } from "./Page-BpXEM2ET.js";
|
|
6
|
+
import { i as LoadContentResult } from "./loadContent-BlSWTlbD.js";
|
|
7
|
+
import { t as Metadata } from "./generatePageMetadata-BGc7dju6.js";
|
|
8
|
+
import { c as RiverbankContentLoadError } from "./resolvePageContent-BteMsSGP.js";
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
10
|
|
|
11
11
|
//#region .cache/declarations/sdk/src/next/content-load-failure.d.ts
|
|
@@ -342,15 +342,13 @@ type CreateCatchAllPageBaseOptions = {
|
|
|
342
342
|
children: ReactNode;
|
|
343
343
|
}) => ReactNode | Promise<ReactNode>;
|
|
344
344
|
/**
|
|
345
|
-
*
|
|
345
|
+
* Read the portal cookie during public-page rendering and pass it to booking blocks.
|
|
346
|
+
* This makes public pages dynamic; leave false to keep ISR.
|
|
346
347
|
*
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
* Requires setting up portal routes in your app:
|
|
352
|
-
* - `/api/portal/callback` using `handlePortalCallback()`
|
|
353
|
-
* - `/api/portal/logout` using `handlePortalLogout()`
|
|
348
|
+
* With false, booking forms can read the session in the browser through
|
|
349
|
+
* `/api/portal/session` using `handlePortalSession()` from `@riverbankcms/sdk/portal`.
|
|
350
|
+
* Without that route, forms stay signed out. The reserved `/portal` route
|
|
351
|
+
* reads its own cookie regardless of this option.
|
|
354
352
|
*
|
|
355
353
|
* @default false
|
|
356
354
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-
|
|
3
|
-
import { u as BindingTransformName } from "./index-
|
|
4
|
-
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-
|
|
1
|
+
import { Fr as NavigationConfigItemInput, Pr as NavigationAuthoringLinkInput } from "./request-CZz2BoXJ.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-DZQJp_ak.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-Cc85KVLW.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-CCcQlRBi.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/content-validation.d.ts
|
package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CFLWxjxR.mjs}
RENAMED
|
@@ -77,22 +77,22 @@ function isSafeHttpsUrl(value) {
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
79
79
|
const defaultEnhancerLoaders = {
|
|
80
|
-
accordion: () => import("./accordion-
|
|
81
|
-
headerSection: () => import("./headerSection-
|
|
82
|
-
carousel: () => import("./carousel-
|
|
83
|
-
form: () => import("./form-
|
|
84
|
-
"booking-form": () => import("./bookingForm-
|
|
85
|
-
"event-registration": () => import("./eventRegistration-
|
|
86
|
-
"event-listing": () => import("./eventListing-
|
|
87
|
-
"event-calendar": () => import("./eventCalendar-
|
|
88
|
-
"event-combined": () => import("./eventCombined-
|
|
89
|
-
"product-list": () => import("./productList-
|
|
90
|
-
"product-detail": () => import("./productDetail-
|
|
91
|
-
"cart": () => import("./cart-
|
|
92
|
-
"checkout": () => import("./checkout-
|
|
93
|
-
shop: () => import("./shop-
|
|
94
|
-
"newsletter-form": () => import("./newsletterForm-
|
|
95
|
-
gifting: () => import("./gifting-
|
|
80
|
+
accordion: () => import("./accordion-BQYRP5xV.mjs"),
|
|
81
|
+
headerSection: () => import("./headerSection-DlcDH4bi.mjs"),
|
|
82
|
+
carousel: () => import("./carousel-DJ9Aa1m3.mjs"),
|
|
83
|
+
form: () => import("./form-CsqzgC6v.mjs"),
|
|
84
|
+
"booking-form": () => import("./bookingForm-BeD4650p.mjs"),
|
|
85
|
+
"event-registration": () => import("./eventRegistration-Do7cAhXb.mjs"),
|
|
86
|
+
"event-listing": () => import("./eventListing-B3H9ifOC.mjs"),
|
|
87
|
+
"event-calendar": () => import("./eventCalendar-CioAdryV.mjs"),
|
|
88
|
+
"event-combined": () => import("./eventCombined-Dwt0G6ez.mjs"),
|
|
89
|
+
"product-list": () => import("./productList-PJyxXSac.mjs"),
|
|
90
|
+
"product-detail": () => import("./productDetail-D9-fCY6c.mjs"),
|
|
91
|
+
"cart": () => import("./cart-DdCenbTy.mjs"),
|
|
92
|
+
"checkout": () => import("./checkout-45wPQULN.mjs"),
|
|
93
|
+
shop: () => import("./shop-CbdJlWOw.mjs"),
|
|
94
|
+
"newsletter-form": () => import("./newsletterForm-CBzvgIfg.mjs"),
|
|
95
|
+
gifting: () => import("./gifting-BrXQGX-k.mjs")
|
|
96
96
|
};
|
|
97
97
|
const DEFAULT_MAX_RETRIES = 2;
|
|
98
98
|
const RETRY_DELAYS_MS = [250, 1e3];
|
|
@@ -167,7 +167,7 @@ function isRetryableError(error) {
|
|
|
167
167
|
* a transport envelope, which keeps it out of the hydrator's first-load graph.
|
|
168
168
|
*/
|
|
169
169
|
async function restoreSurfaceTransport(rawProps) {
|
|
170
|
-
const { restoreRuntimeResponse } = await import("./runtimeResponse-
|
|
170
|
+
const { restoreRuntimeResponse } = await import("./runtimeResponse-DlPBWBd9.mjs");
|
|
171
171
|
return restoreRuntimeResponse(rawProps);
|
|
172
172
|
}
|
|
173
173
|
function decodeLoadedProps(mod, props) {
|
package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-C4LcfwyA.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Cn as toUtcIsoDateTimeString, t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
3
|
-
import { Fr as decideSignInReturn, Io as RichText, Ir as nextSignInReturnExpiry, Lr as readSignInReturn, Nr as clearSignInReturnDrafts, Rr as signInReturnPath, so as requestSignIn, zr as sweepExpiredSignInReturnDrafts } from "./wizardSteps-
|
|
4
|
-
import { n as BookingQuestionFields } from "./BookingQuestionFields-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-
|
|
6
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
7
|
-
import { p as NavigationHandOffPanel } from "./DemoBookingPortalAccess-
|
|
3
|
+
import { Fr as decideSignInReturn, Io as RichText, Ir as nextSignInReturnExpiry, Lr as readSignInReturn, Nr as clearSignInReturnDrafts, Rr as signInReturnPath, so as requestSignIn, zr as sweepExpiredSignInReturnDrafts } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { n as BookingQuestionFields } from "./BookingQuestionFields-DdcmoHqQ.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-lCPfX-xe.mjs";
|
|
6
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
|
+
import { p as NavigationHandOffPanel } from "./DemoBookingPortalAccess-pzkGVkgG.mjs";
|
|
8
8
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
9
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-Ce3Gyin_.mjs";
|
|
10
10
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import * as React$1 from "react";
|
|
12
12
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
@@ -1049,7 +1049,7 @@ function OrganiserContactLine({ contact }) {
|
|
|
1049
1049
|
href: `mailto:${contact.email}`,
|
|
1050
1050
|
children: contact.email
|
|
1051
1051
|
}) : null,
|
|
1052
|
-
contact.email && contact.phone ? "
|
|
1052
|
+
contact.email && contact.phone ? "\xA0· " : null,
|
|
1053
1053
|
contact.phone ? /* @__PURE__ */ jsx("a", {
|
|
1054
1054
|
href: `tel:${contact.phone.replace(/\s+/g, "")}`,
|
|
1055
1055
|
children: contact.phone
|
package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-DdcmoHqQ.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Xt as capitalize } from "./src-Do_s2lqH.mjs";
|
|
3
3
|
import { l as getInitialFieldValue } from "./bookingCalendar--aWnqFDn.mjs";
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
3
3
|
import { useEffect, useId, useRef, useState } from "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/event-registration/CalendarAction.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as formatEventPrice } from "./newsletter-form.interactive-
|
|
2
|
+
import { Cn as formatEventPrice } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
3
|
import { bn as parseBookingLocalDate, nn as formatDate } from "./src-Do_s2lqH.mjs";
|
|
4
|
-
import { $o as groupEventsByDate, Ao as isEventFull, Bo as eventDateOptions, Oo as getEventAvailabilityStatus, Qo as formatTime, _o as resolveEventCta, do as eventPlaceName, es as resolveEventTimeZone, po as formatEventLocation, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-
|
|
5
|
-
import { d as listLookSlot, l as listItemPresentation } from "./islands-
|
|
6
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
4
|
+
import { $o as groupEventsByDate, Ao as isEventFull, Bo as eventDateOptions, Oo as getEventAvailabilityStatus, Qo as formatTime, _o as resolveEventCta, do as eventPlaceName, es as resolveEventTimeZone, po as formatEventLocation, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-B3gsXNnb.mjs";
|
|
5
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-dMh0Oxli.mjs";
|
|
6
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
7
|
import { d as formatDateKey, v as isToday } from "./src-uwCpbHXG.mjs";
|
|
8
|
-
import { l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-
|
|
8
|
+
import { l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-KGKkK19N.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../core/src/duration.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { O as clsx } from "./ThemedButton-C4rCsPCt.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
|
package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-pzkGVkgG.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { ao as leavePage, mr as isEmailAddress } from "./wizardSteps-
|
|
4
|
-
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
6
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
7
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
3
|
+
import { ao as leavePage, mr as isEmailAddress } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-DiGibcZI.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-lCPfX-xe.mjs";
|
|
6
|
+
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-Ce3Gyin_.mjs";
|
|
8
8
|
import React, { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
@@ -264,6 +264,7 @@ function planDirectShopCheckoutRequest(input) {
|
|
|
264
264
|
customerEmail: contact.value.email,
|
|
265
265
|
customerName: contact.value.name,
|
|
266
266
|
...discountCode ? { discountCode } : {},
|
|
267
|
+
...!discountCode && input.form.quotedAutomaticDiscountCode ? { quotedAutomaticDiscountCode: input.form.quotedAutomaticDiscountCode } : {},
|
|
267
268
|
successUrl: input.successUrl,
|
|
268
269
|
cancelUrl: input.cancelUrl,
|
|
269
270
|
...input.confirmDuplicate ? { confirmDuplicate: true } : {}
|
|
@@ -299,6 +300,7 @@ function planUnifiedCheckoutRequest(input) {
|
|
|
299
300
|
items: buildUnifiedCheckoutItems(input.checkout),
|
|
300
301
|
customer: contact.value,
|
|
301
302
|
...discountCode ? { discountCode } : {},
|
|
303
|
+
...!discountCode && input.form.quotedAutomaticDiscountCode ? { quotedAutomaticDiscountCode: input.form.quotedAutomaticDiscountCode } : {},
|
|
302
304
|
successUrl: input.successUrl,
|
|
303
305
|
cancelUrl: input.cancelUrl
|
|
304
306
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as buildEventCalendarListingRender, kt as buildEventRuntimeFilters, on as buildEventListWeek, sn as eventListWeekDays } from "./newsletter-form.interactive-
|
|
2
|
+
import { d as buildEventCalendarListingRender, kt as buildEventRuntimeFilters, on as buildEventListWeek, sn as eventListWeekDays } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
3
|
import { g as resolveCalendarReadProfile } from "./src-Do_s2lqH.mjs";
|
|
4
|
-
import { $o as groupEventsByDate, qo as formatEventHourLabel } from "./wizardSteps-
|
|
5
|
-
import { f as resolveMonthSelectedDay, i as WeekAgendaView, r as CalendarLoadFailure, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-
|
|
6
|
-
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
7
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
4
|
+
import { $o as groupEventsByDate, qo as formatEventHourLabel } from "./wizardSteps-B3gsXNnb.mjs";
|
|
5
|
+
import { f as resolveMonthSelectedDay, i as WeekAgendaView, r as CalendarLoadFailure, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-ZfrUiiiI.mjs";
|
|
6
|
+
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-DqI6U1BS.mjs";
|
|
7
|
+
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
8
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-uwCpbHXG.mjs";
|
|
9
|
-
import { u as eventDisplayTitleText } from "./EventItem-
|
|
10
|
-
import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-
|
|
11
|
-
import { i as useEventCollectionFilters } from "./useEventPagination-
|
|
12
|
-
import { n as EventListingController } from "./EventListing.client-
|
|
9
|
+
import { u as eventDisplayTitleText } from "./EventItem-KGKkK19N.mjs";
|
|
10
|
+
import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-DgfNtcgW.mjs";
|
|
11
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-Ct4A6iR1.mjs";
|
|
12
|
+
import { n as EventListingController } from "./EventListing.client-xFKRDLwC.mjs";
|
|
13
13
|
import { useEffect, useMemo, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region ../blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.tsx
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as getEventRuntimeFiltersKey, kt as buildEventRuntimeFilters, qt as toError, s as eventListingBlockRuntime } from "./newsletter-form.interactive-
|
|
2
|
+
import { At as getEventRuntimeFiltersKey, kt as buildEventRuntimeFilters, qt as toError, s as eventListingBlockRuntime } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
3
|
import { Ft as calendarMonthDate, d as calendarQueryKey, f as calendarWindowBounds, h as planCalendarMonthRanges, l as calendarMonthKey, nn as formatDate, p as calendarWindowMonths$1, u as calendarPageResponseError, yn as getLocalScheduleDate } from "./src-Do_s2lqH.mjs";
|
|
4
|
-
import { $o as groupEventsByDate, Bo as eventDateOptions, Lo as buildCalendarViewport, Qo as formatTime, Ro as eventCalendarWeekStart, no as getBlockApiReadStage } from "./wizardSteps-
|
|
5
|
-
import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { d as listLookSlot } from "./islands-
|
|
8
|
-
import {
|
|
4
|
+
import { $o as groupEventsByDate, Bo as eventDateOptions, Lo as buildCalendarViewport, Qo as formatTime, Ro as eventCalendarWeekStart, no as getBlockApiReadStage } from "./wizardSteps-B3gsXNnb.mjs";
|
|
5
|
+
import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-ZfrUiiiI.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-lCPfX-xe.mjs";
|
|
7
|
+
import { d as listLookSlot } from "./islands-dMh0Oxli.mjs";
|
|
8
|
+
import { O as clsx, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
9
9
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-uwCpbHXG.mjs";
|
|
10
|
-
import { u as eventDisplayTitleText } from "./EventItem-
|
|
10
|
+
import { u as eventDisplayTitleText } from "./EventItem-KGKkK19N.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
13
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-
|
|
13
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Ct4A6iR1.mjs";
|
|
14
14
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
//#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { D as SpinnerNode, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as formatEventPrice, Qt as CardListLeadDate, Zt as CardListContentPart, en as resolveCardListSchedule, nn as EventQuickFacts, tn as selectCardListPresentation } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { d as listLookSlot, l as listItemPresentation } from "./islands-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { Cn as formatEventPrice, Qt as CardListLeadDate, Zt as CardListContentPart, en as resolveCardListSchedule, nn as EventQuickFacts, tn as selectCardListPresentation } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
|
+
import { Bo as eventDateOptions, Go as formatEventCompactDateRail, Oo as getEventAvailabilityStatus, Xo as formatEventTimeRange, Zo as formatEventWeekdayTime, _o as resolveEventCta, ec as orderedLiveRunSessions, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-dMh0Oxli.mjs";
|
|
5
|
+
import { F as resolveOnColorForThemeToken, L as resolveTokenOrCssColorValue, P as isCssColorLiteral, et as pickBlackOrWhiteTextColor } from "./accessibleSurfaces-CqroimVQ.mjs";
|
|
6
|
+
import { p as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-Ba9ezxuC.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as listLookSlot } from "./islands-
|
|
2
|
+
import { d as listLookSlot } from "./islands-dMh0Oxli.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { kt as buildEventRuntimeFilters } from "./newsletter-form.interactive-
|
|
3
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
4
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { kt as buildEventRuntimeFilters } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-Ba9ezxuC.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Ct4A6iR1.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as formatEventPrice, in as MediaNodeServer, ln as groupEventsByWeek, nn as EventQuickFacts, un as weekColumnDays } from "./newsletter-form.interactive-
|
|
3
|
-
import { $o as groupEventsByDate, Bo as eventDateOptions, Go as formatEventCompactDateRail, Jo as formatEventNextDateFact, Uo as formatDate, Vo as eventLocalDateKey, Xo as formatEventTimeRange, _o as resolveEventCta,
|
|
4
|
-
import { d as listLookSlot, l as listItemPresentation } from "./islands-
|
|
5
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
6
|
-
import {
|
|
7
|
-
import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-
|
|
2
|
+
import { Cn as formatEventPrice, in as MediaNodeServer, ln as groupEventsByWeek, nn as EventQuickFacts, un as weekColumnDays } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
|
+
import { $o as groupEventsByDate, Bo as eventDateOptions, Go as formatEventCompactDateRail, Jo as formatEventNextDateFact, Uo as formatDate, Vo as eventLocalDateKey, Xo as formatEventTimeRange, _o as resolveEventCta, fc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, fo as eventVenuePlace, go as resolveEventCardBooking, ts as ImagePresets, vo as resolveEventPageLink } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-dMh0Oxli.mjs";
|
|
5
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-CA7FirMH.mjs";
|
|
6
|
+
import { p as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
|
+
import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-KGKkK19N.mjs";
|
|
8
8
|
import "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
@@ -474,6 +474,83 @@ const EmptyState = ({ message = "No upcoming events scheduled.", className, hasA
|
|
|
474
474
|
});
|
|
475
475
|
};
|
|
476
476
|
//#endregion
|
|
477
|
+
//#region ../blocks/src/system/blocks/events/eventFilterChoices.ts
|
|
478
|
+
/**
|
|
479
|
+
* When the calendar's filters have something to do, decided once. Two
|
|
480
|
+
* questions, with different answers:
|
|
481
|
+
*
|
|
482
|
+
* - A visitor's menu needs a choice: more than one host, venue or category
|
|
483
|
+
* with upcoming events. The page's menus (`useEventFilters`) and the
|
|
484
|
+
* settings that switch them on both read `filterOffersChoice`.
|
|
485
|
+
* - A filter the owner fixes ("Only show one venue") needs to narrow what's
|
|
486
|
+
* shown: several to choose from, or one that some upcoming events don't
|
|
487
|
+
* have, such as a studio beside online classes. A solo teacher who hosts
|
|
488
|
+
* everything is never asked to pick themselves.
|
|
489
|
+
*
|
|
490
|
+
* The page counts what's in this block; the form reads the whole site,
|
|
491
|
+
* which never has less. So where the site can't fill a menu, no block can.
|
|
492
|
+
*/
|
|
493
|
+
function filterOffersChoice(count) {
|
|
494
|
+
return count > 1;
|
|
495
|
+
}
|
|
496
|
+
/** The category menu: "auto" waits for more than one category with events; "always" settles for one. */
|
|
497
|
+
function categoryMenuShows(setting, count) {
|
|
498
|
+
if (setting === "never") return false;
|
|
499
|
+
return setting === "always" ? count > 0 : filterOffersChoice(count);
|
|
500
|
+
}
|
|
501
|
+
/** What the page's menus can offer: a filter option counts once it has upcoming events. */
|
|
502
|
+
function hasUpcomingEvents(option) {
|
|
503
|
+
return option.upcomingCount > 0;
|
|
504
|
+
}
|
|
505
|
+
/** Whether fixing the calendar to one value would leave some upcoming events out. */
|
|
506
|
+
function fixedFilterNarrows(spread) {
|
|
507
|
+
return spread === "several" || spread === "one-for-some";
|
|
508
|
+
}
|
|
509
|
+
const spreads = [
|
|
510
|
+
"none",
|
|
511
|
+
"one-for-all",
|
|
512
|
+
"one-for-some",
|
|
513
|
+
"several"
|
|
514
|
+
];
|
|
515
|
+
/** How many options a menu would hold for each spread. */
|
|
516
|
+
const menuOptions = {
|
|
517
|
+
"none": 0,
|
|
518
|
+
"one-for-all": 1,
|
|
519
|
+
"one-for-some": 1,
|
|
520
|
+
"several": 2
|
|
521
|
+
};
|
|
522
|
+
/** A fact condition written out from a rule: it holds for each spread the rule accepts. An unread fact leaves it unknown, so the field stays. */
|
|
523
|
+
function factCondition(fact, accepts) {
|
|
524
|
+
return { anyOf: spreads.filter(accepts).map((is) => ({
|
|
525
|
+
fact,
|
|
526
|
+
is
|
|
527
|
+
})) };
|
|
528
|
+
}
|
|
529
|
+
/** A fixed filter also stays while it holds a choice, so one still narrowing the page can always be seen and cleared. */
|
|
530
|
+
function fixedFilter(fact, field) {
|
|
531
|
+
return { anyOf: [factCondition(fact, fixedFilterNarrows), {
|
|
532
|
+
field,
|
|
533
|
+
hasValue: true
|
|
534
|
+
}] };
|
|
535
|
+
}
|
|
536
|
+
const hostMenu = factCondition("eventFilters.hosts", (spread) => filterOffersChoice(menuOptions[spread]));
|
|
537
|
+
const venueMenu = factCondition("eventFilters.venues", (spread) => filterOffersChoice(menuOptions[spread]));
|
|
538
|
+
const categoryMenu = factCondition("eventFilters.categories", (spread) => categoryMenuShows("always", menuOptions[spread]));
|
|
539
|
+
const eventFilterConditions = {
|
|
540
|
+
showStaffFilter: hostMenu,
|
|
541
|
+
showVenueFilter: venueMenu,
|
|
542
|
+
showCategoryFilter: categoryMenu,
|
|
543
|
+
/** "Show filters" with no menu that could appear has nothing to switch on. */
|
|
544
|
+
showFilters: { anyOf: [
|
|
545
|
+
hostMenu,
|
|
546
|
+
venueMenu,
|
|
547
|
+
categoryMenu
|
|
548
|
+
] },
|
|
549
|
+
filterStaffMemberId: fixedFilter("eventFilters.hosts", "filterStaffMemberId"),
|
|
550
|
+
filterVenueId: fixedFilter("eventFilters.venues", "filterVenueId"),
|
|
551
|
+
filterCategoryIds: fixedFilter("eventFilters.categories", "filterCategoryIds")
|
|
552
|
+
};
|
|
553
|
+
//#endregion
|
|
477
554
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.view.tsx
|
|
478
555
|
function EventListingFrameView(props) {
|
|
479
556
|
const { display, filters, emptyState, renderEventCard } = props;
|
|
@@ -735,4 +812,4 @@ function DaySchedule({ display }) {
|
|
|
735
812
|
});
|
|
736
813
|
}
|
|
737
814
|
//#endregion
|
|
738
|
-
export {
|
|
815
|
+
export { filterOffersChoice as a, EventCompactRow as c, eventFilterConditions as i, EventCard as l, eventListSlotParents as n, hasUpcomingEvents as o, categoryMenuShows as r, EmptyState as s, EventListingFrameView as t };
|