@riverbankcms/sdk 0.183.0 → 0.185.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-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.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-CMNev0gz.d.ts} +19 -8
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
- package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
- package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.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-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +61 -48
- package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
- package/dist/client/gifting/client.mjs +8 -8
- package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +999 -81
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
- package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
- 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-CR99z8BL.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.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-DcEwU9l_.mjs} +7192 -3039
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +158 -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-CQfEvfbg.mjs} +54 -41
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
- 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-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
- 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-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +684 -181
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.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-CMNev0gz.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-BwYvMqLf.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-6K7zlJuF.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-DTKn1H8g.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse, L as SiteRouteRecord } from "./contracts-CUR8ccnX.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-C9_amrul.js";
|
|
6
|
+
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline$1 } from "./Page-DYoL0IWL.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;
|
|
@@ -515,6 +523,7 @@ declare function bookingPageFacts(selection: SystemEventPageSelection): {
|
|
|
515
523
|
isWholeSeriesBooking: true;
|
|
516
524
|
};
|
|
517
525
|
};
|
|
526
|
+
eventOverview: boolean;
|
|
518
527
|
};
|
|
519
528
|
type BookingPageFacts = ReturnType<typeof bookingPageFacts>;
|
|
520
529
|
/** A multi-run parent must not imply that one run's facts describe all its dates. */
|
|
@@ -522,7 +531,8 @@ declare function bookingDetailEvents(selection: SystemEventPageSelection): reado
|
|
|
522
531
|
/** Seed the route's admitted facts, never select or fetch its Event a second time. */
|
|
523
532
|
declare function bookingPageSeedData({
|
|
524
533
|
registration,
|
|
525
|
-
details
|
|
534
|
+
details,
|
|
535
|
+
eventOverview
|
|
526
536
|
}: BookingPageFacts): {
|
|
527
537
|
"booking-registration": {
|
|
528
538
|
events: (PublicEventBase & Readonly<{
|
|
@@ -538,6 +548,7 @@ declare function bookingPageSeedData({
|
|
|
538
548
|
"booking-details": {
|
|
539
549
|
eventDetailsData: {
|
|
540
550
|
events: readonly PublicEvent[];
|
|
551
|
+
eventOverview?: boolean | undefined;
|
|
541
552
|
sitePasses: {
|
|
542
553
|
passes: never[];
|
|
543
554
|
};
|
|
@@ -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-BwYvMqLf.js";
|
|
2
|
+
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-6K7zlJuF.js";
|
|
3
|
+
import { c as NodeDefinition } from "./index-DTKn1H8g.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-BwYvMqLf.js";
|
|
2
|
+
import { u as RiverbankSiteConfig } from "./types-BBazdRQf.js";
|
|
3
|
+
import { _ as RiverbankClient } from "./types-C9_amrul.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-DYoL0IWL.js";
|
|
6
|
+
import { i as LoadContentResult } from "./loadContent-BN8GtRsL.js";
|
|
7
|
+
import { t as Metadata } from "./generatePageMetadata-CveWSMew.js";
|
|
8
|
+
import { c as RiverbankContentLoadError } from "./resolvePageContent-BwUDLi_W.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,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-BwYvMqLf.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-CUR8ccnX.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,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-BwYvMqLf.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-6K7zlJuF.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-DTKn1H8g.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-BBazdRQf.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-CooOPhs3.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-BYW2YSUN.mjs"),
|
|
81
|
+
headerSection: () => import("./headerSection-CPIN3VSU.mjs"),
|
|
82
|
+
carousel: () => import("./carousel-msur7fxW.mjs"),
|
|
83
|
+
form: () => import("./form-CkOfk-Eb.mjs"),
|
|
84
|
+
"booking-form": () => import("./bookingForm-DtVk9p5l.mjs"),
|
|
85
|
+
"event-registration": () => import("./eventRegistration-BhAqvkCb.mjs"),
|
|
86
|
+
"event-listing": () => import("./eventListing-CBYxfvNf.mjs"),
|
|
87
|
+
"event-calendar": () => import("./eventCalendar-lqqQSzBQ.mjs"),
|
|
88
|
+
"event-combined": () => import("./eventCombined-BIMyHrd-.mjs"),
|
|
89
|
+
"product-list": () => import("./productList-DRT5sabi.mjs"),
|
|
90
|
+
"product-detail": () => import("./productDetail-b1tpt585.mjs"),
|
|
91
|
+
"cart": () => import("./cart-Bx-JuY2n.mjs"),
|
|
92
|
+
"checkout": () => import("./checkout-BVWZn5Qu.mjs"),
|
|
93
|
+
shop: () => import("./shop-DL3CYR7i.mjs"),
|
|
94
|
+
"newsletter-form": () => import("./newsletterForm-Dt6wFjTe.mjs"),
|
|
95
|
+
gifting: () => import("./gifting-XtNpLcFI.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-LQnQdtNI.mjs");
|
|
171
171
|
return restoreRuntimeResponse(rawProps);
|
|
172
172
|
}
|
|
173
173
|
function decodeLoadedProps(mod, props) {
|
package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs}
RENAMED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as toUtcIsoDateTimeString, t as assertNever } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import {
|
|
2
|
+
import { Cn as toUtcIsoDateTimeString, t as assertNever } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { Br as sweepExpiredSignInReturnDrafts, Ir as decideSignInReturn, Lr as nextSignInReturnExpiry, Pr as clearSignInReturnDrafts, Ro as RichText, Rr as readSignInReturn, co as requestSignIn, zr as signInReturnPath } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
|
+
import { i as portalPath } from "./portalRoutes-D3Ttfv5x.mjs";
|
|
5
|
+
import { n as BookingQuestionFields } from "./BookingQuestionFields-Bia1E7Cj.mjs";
|
|
6
|
+
import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-CG77Keax.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
+
import { p as NavigationHandOffPanel } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
8
9
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
9
|
-
import {
|
|
10
|
+
import { t as SiteChoiceGroup } from "./SiteChoiceGroup-BZ5I0Vhy.mjs";
|
|
11
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
10
12
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
13
|
import * as React$1 from "react";
|
|
12
14
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
@@ -27,59 +29,28 @@ function DemoPortalSignInLink(props) {
|
|
|
27
29
|
//#endregion
|
|
28
30
|
//#region ../blocks/src/system/runtime/shared/components/PaymentChoiceRows.tsx
|
|
29
31
|
/**
|
|
30
|
-
* Payment choices as
|
|
31
|
-
*
|
|
32
|
-
*
|
|
32
|
+
* Payment choices as SiteChoiceGroup rows. Each row carries its own
|
|
33
|
+
* selection and callback, so this hands the group the chosen id and routes
|
|
34
|
+
* a choice back to its row. A disabled row is never shown as chosen.
|
|
33
35
|
*/
|
|
34
36
|
function PaymentChoiceRows(props) {
|
|
35
37
|
const name = useId();
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
name,
|
|
53
|
-
value: row.id,
|
|
54
|
-
checked: selected,
|
|
55
|
-
disabled: row.disabled,
|
|
56
|
-
onChange: row.onSelect,
|
|
57
|
-
onClick: selected ? row.onSelect : void 0
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ jsxs("span", {
|
|
60
|
-
className: "rb-pay-choice__body",
|
|
61
|
-
children: [
|
|
62
|
-
/* @__PURE__ */ jsx("span", {
|
|
63
|
-
className: "rb-pay-choice__label",
|
|
64
|
-
children: row.label
|
|
65
|
-
}),
|
|
66
|
-
(row.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
|
|
67
|
-
className: "rb-pay-choice__detail",
|
|
68
|
-
children: detail
|
|
69
|
-
}, detail)),
|
|
70
|
-
row.disabled && row.disabledReason ? /* @__PURE__ */ jsx("span", {
|
|
71
|
-
className: "rb-pay-choice__reason",
|
|
72
|
-
children: row.disabledReason
|
|
73
|
-
}) : null
|
|
74
|
-
]
|
|
75
|
-
}),
|
|
76
|
-
row.price ? /* @__PURE__ */ jsx("span", {
|
|
77
|
-
className: "rb-pay-choice__price",
|
|
78
|
-
children: row.price
|
|
79
|
-
}) : null
|
|
80
|
-
]
|
|
81
|
-
}, row.id);
|
|
82
|
-
})
|
|
38
|
+
const chosen = props.rows.find((row) => row.selected && !row.disabled);
|
|
39
|
+
return /* @__PURE__ */ jsx(SiteChoiceGroup, {
|
|
40
|
+
name,
|
|
41
|
+
legend: props.label,
|
|
42
|
+
legendHidden: true,
|
|
43
|
+
size: "row",
|
|
44
|
+
value: chosen?.id ?? "",
|
|
45
|
+
options: props.rows.map((row) => ({
|
|
46
|
+
value: row.id,
|
|
47
|
+
label: row.label,
|
|
48
|
+
details: row.details,
|
|
49
|
+
aside: row.price,
|
|
50
|
+
disabled: row.disabled,
|
|
51
|
+
disabledReason: row.disabledReason
|
|
52
|
+
})),
|
|
53
|
+
onChange: (id) => props.rows.find((row) => row.id === id && !row.disabled)?.onSelect()
|
|
83
54
|
});
|
|
84
55
|
}
|
|
85
56
|
//#endregion
|
|
@@ -994,11 +965,16 @@ function QuestionSetSection(props) {
|
|
|
994
965
|
}), props.children]
|
|
995
966
|
});
|
|
996
967
|
}
|
|
968
|
+
/** Answers are one per booking, so a group's booker says who an answer concerns. */
|
|
969
|
+
const SEVERAL_PEOPLE_QUESTIONS_NOTE = "If an answer is about someone else in your booking, please say who.";
|
|
997
970
|
function QuestionFields(input) {
|
|
998
971
|
const idPrefix = `${React$1.useId()}-`;
|
|
999
|
-
return /* @__PURE__ */
|
|
972
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1000
973
|
className: "rb-space-y-3",
|
|
1001
|
-
children: /* @__PURE__ */ jsx(
|
|
974
|
+
children: [input.props.severalPeople ? /* @__PURE__ */ jsx("p", {
|
|
975
|
+
className: "rb-bq-note",
|
|
976
|
+
children: SEVERAL_PEOPLE_QUESTIONS_NOTE
|
|
977
|
+
}) : null, /* @__PURE__ */ jsx(BookingQuestionFields, {
|
|
1002
978
|
sections: input.set.sections,
|
|
1003
979
|
values: input.props.values,
|
|
1004
980
|
fieldErrors: input.props.fieldErrors,
|
|
@@ -1007,7 +983,7 @@ function QuestionFields(input) {
|
|
|
1007
983
|
idPrefix,
|
|
1008
984
|
showFirstSectionTitle: input.props.showFirstSectionTitle,
|
|
1009
985
|
renderDocumentField: input.props.renderDocumentField
|
|
1010
|
-
})
|
|
986
|
+
})]
|
|
1011
987
|
});
|
|
1012
988
|
}
|
|
1013
989
|
function AlreadyAnswered(input) {
|
|
@@ -1049,7 +1025,7 @@ function OrganiserContactLine({ contact }) {
|
|
|
1049
1025
|
href: `mailto:${contact.email}`,
|
|
1050
1026
|
children: contact.email
|
|
1051
1027
|
}) : null,
|
|
1052
|
-
contact.email && contact.phone ? "
|
|
1028
|
+
contact.email && contact.phone ? "\xA0· " : null,
|
|
1053
1029
|
contact.phone ? /* @__PURE__ */ jsx("a", {
|
|
1054
1030
|
href: `tel:${contact.phone.replace(/\s+/g, "")}`,
|
|
1055
1031
|
children: contact.phone
|
|
@@ -1057,6 +1033,29 @@ function OrganiserContactLine({ contact }) {
|
|
|
1057
1033
|
] });
|
|
1058
1034
|
}
|
|
1059
1035
|
//#endregion
|
|
1036
|
+
//#region ../blocks/src/system/runtime/shared/components/BookingNextStep.tsx
|
|
1037
|
+
function bookingNextStepHref(target) {
|
|
1038
|
+
return target.kind === "appointment" ? portalPath({
|
|
1039
|
+
page: "booking",
|
|
1040
|
+
ref: {
|
|
1041
|
+
tag: "appointment",
|
|
1042
|
+
appointmentId: target.appointmentId
|
|
1043
|
+
}
|
|
1044
|
+
}) : portalPath({ page: "bookings" });
|
|
1045
|
+
}
|
|
1046
|
+
function BookingNextStep({ target, className }) {
|
|
1047
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1048
|
+
className: ["rb-mt-4", className ?? ""].join(" ").trim(),
|
|
1049
|
+
"data-booking-next-step": true,
|
|
1050
|
+
children: /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
1051
|
+
variant: "outline",
|
|
1052
|
+
size: "md",
|
|
1053
|
+
href: bookingNextStepHref(target),
|
|
1054
|
+
label: target.kind === "appointment" ? "View your booking" : "View your bookings"
|
|
1055
|
+
})
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
//#endregion
|
|
1060
1059
|
//#region ../blocks/src/system/runtime/shared/components/BookingMailingListNote.tsx
|
|
1061
1060
|
function BookingMailingListNote(props) {
|
|
1062
1061
|
const copy = getBookingMailingListNoteCopy(props.note, props.context);
|
|
@@ -1067,4 +1066,4 @@ function BookingMailingListNote(props) {
|
|
|
1067
1066
|
});
|
|
1068
1067
|
}
|
|
1069
1068
|
//#endregion
|
|
1070
|
-
export {
|
|
1069
|
+
export { SignInNotice as a, usePolling as c, portalSessionIdentity as d, useSignInReturn as f, BookingQuestionSections as i, parseBookingSubmissionFailure as l, PaymentChoiceRows as m, BookingNextStep as n, MagicLinkForm as o, useBookingQuestionsRefresh as p, OrganiserContactLine as r, BookingConsentAgreement as s, BookingMailingListNote as t, useBookingNowIso as u };
|
package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs}
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Xt as capitalize } from "./src-
|
|
3
|
-
import { l as getInitialFieldValue } from "./bookingCalendar
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { Xt as capitalize } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { l as getInitialFieldValue } from "./bookingCalendar-9nFa_do4.mjs";
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
|
+
import { n as SiteChoiceOptions } from "./SiteChoiceGroup-BZ5I0Vhy.mjs";
|
|
6
7
|
import "react";
|
|
7
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
const indefiniteArticle = (word) => /^(honest|honour|hour|heir)/i.test(word) ? "an" : /^(uni([^nmd]|$)|use|user|euro|one|once)/i.test(word) ? "a" : /^[aeiou]/i.test(word) ? "an" : "a";
|
|
@@ -98,24 +99,15 @@ function SelectQuestionInput({ field, inputId, value, disabled, control, onChang
|
|
|
98
99
|
});
|
|
99
100
|
}
|
|
100
101
|
function RadioQuestionInput({ field, inputId, value, disabled, control, onChange }) {
|
|
101
|
-
return /* @__PURE__ */ jsx(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
disabled,
|
|
111
|
-
className: "form-radio",
|
|
112
|
-
"aria-invalid": control["aria-invalid"],
|
|
113
|
-
onChange: (event) => onChange(event.target.value)
|
|
114
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
115
|
-
className: "form-check-label",
|
|
116
|
-
children: option.label
|
|
117
|
-
})]
|
|
118
|
-
}, option.value))
|
|
102
|
+
return /* @__PURE__ */ jsx(SiteChoiceOptions, {
|
|
103
|
+
size: "row",
|
|
104
|
+
name: inputId,
|
|
105
|
+
options: field.options ?? [],
|
|
106
|
+
value: toStringValue(value),
|
|
107
|
+
disabled,
|
|
108
|
+
invalid: control["aria-invalid"] === "true",
|
|
109
|
+
describedBy: control["aria-describedby"],
|
|
110
|
+
onChange
|
|
119
111
|
});
|
|
120
112
|
}
|
|
121
113
|
function toggledValues(selected, value, checked) {
|
|
@@ -195,13 +187,17 @@ function questionControlProps(field, ids, error) {
|
|
|
195
187
|
...field.required ? { "aria-required": "true" } : {}
|
|
196
188
|
};
|
|
197
189
|
}
|
|
198
|
-
/**
|
|
199
|
-
|
|
190
|
+
/**
|
|
191
|
+
* Radios and multi-choice checkboxes answer one question with several
|
|
192
|
+
* controls, so the question is a fieldset. The booking form's own fields
|
|
193
|
+
* follow the same rule, so it takes anything with a type and options.
|
|
194
|
+
*/
|
|
195
|
+
function isFieldsetQuestion(field) {
|
|
200
196
|
return field.type === "radio" || field.type === "checkbox" && (field.options?.length ?? 0) > 1;
|
|
201
197
|
}
|
|
202
198
|
function QuestionLabel({ field, inputId }) {
|
|
203
199
|
const text = /* @__PURE__ */ jsxs(Fragment, { children: [field.label, field.required ? null : /* @__PURE__ */ jsx(OptionalMark, {})] });
|
|
204
|
-
return
|
|
200
|
+
return isFieldsetQuestion(field) ? /* @__PURE__ */ jsx("legend", {
|
|
205
201
|
className: "form-label rb-p-0",
|
|
206
202
|
children: text
|
|
207
203
|
}) : /* @__PURE__ */ jsx("label", {
|
|
@@ -210,22 +206,38 @@ function QuestionLabel({ field, inputId }) {
|
|
|
210
206
|
children: text
|
|
211
207
|
});
|
|
212
208
|
}
|
|
213
|
-
/**
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
209
|
+
/**
|
|
210
|
+
* The fieldset of a question answered with several controls: the question is
|
|
211
|
+
* its legend, and it carries the help and error descriptions. Radios make it
|
|
212
|
+
* a radio group, which carries the required state. Every surface that asks
|
|
213
|
+
* booking questions frames them with this.
|
|
214
|
+
*/
|
|
215
|
+
function QuestionFieldset({ field, describedBy, required, className, children }) {
|
|
219
216
|
return /* @__PURE__ */ jsx("fieldset", {
|
|
220
|
-
className
|
|
221
|
-
"aria-describedby":
|
|
217
|
+
className,
|
|
218
|
+
"aria-describedby": describedBy,
|
|
222
219
|
...field.type === "radio" ? {
|
|
223
220
|
role: "radiogroup",
|
|
224
|
-
"aria-required":
|
|
221
|
+
"aria-required": required || void 0
|
|
225
222
|
} : {},
|
|
226
223
|
children
|
|
227
224
|
});
|
|
228
225
|
}
|
|
226
|
+
const BOOKING_FIELDSET_CLASS = "rb-space-y-2 rb-border-0 rb-p-0 rb-m-0 rb-min-w-0";
|
|
227
|
+
/** The booking surfaces' frame for one question: a fieldset for grouped controls, a plain stack otherwise. */
|
|
228
|
+
function BookingQuestionFrame({ field, describedBy, required, children }) {
|
|
229
|
+
if (!isFieldsetQuestion(field)) return /* @__PURE__ */ jsx("div", {
|
|
230
|
+
className: "rb-space-y-2",
|
|
231
|
+
children
|
|
232
|
+
});
|
|
233
|
+
return /* @__PURE__ */ jsx(QuestionFieldset, {
|
|
234
|
+
field,
|
|
235
|
+
describedBy,
|
|
236
|
+
required,
|
|
237
|
+
className: BOOKING_FIELDSET_CLASS,
|
|
238
|
+
children
|
|
239
|
+
});
|
|
240
|
+
}
|
|
229
241
|
function QuestionField({ field, value, error, disabled, idPrefix, onChange, renderDocumentField }) {
|
|
230
242
|
const inputId = `${idPrefix}${field.id}`;
|
|
231
243
|
const helpTextId = field.helpText ? `${inputId}-help` : void 0;
|
|
@@ -234,9 +246,10 @@ function QuestionField({ field, value, error, disabled, idPrefix, onChange, rend
|
|
|
234
246
|
errorId,
|
|
235
247
|
helpTextId
|
|
236
248
|
}, error);
|
|
237
|
-
return /* @__PURE__ */ jsxs(
|
|
249
|
+
return /* @__PURE__ */ jsxs(BookingQuestionFrame, {
|
|
238
250
|
field,
|
|
239
|
-
control,
|
|
251
|
+
describedBy: control["aria-describedby"],
|
|
252
|
+
required: Boolean(field.required),
|
|
240
253
|
children: [
|
|
241
254
|
/* @__PURE__ */ jsx(QuestionLabel, {
|
|
242
255
|
field,
|
|
@@ -297,4 +310,4 @@ function BookingQuestionFields({ sections, values, fieldErrors = {}, onChange, d
|
|
|
297
310
|
}, section.id)) });
|
|
298
311
|
}
|
|
299
312
|
//#endregion
|
|
300
|
-
export {
|
|
313
|
+
export { QuestionFieldset as a, clientPersonPhrases as c, OptionalMark as i, indefiniteArticle as l, BookingQuestionFields as n, isFieldsetQuestion as o, BookingQuestionFrame as r, questionControlProps as s, BookingQuestionFieldInput as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
|
6
6
|
/** Download effects happen only after a click, including in editor preview. */
|
|
7
7
|
async function downloadCalendar(calendar) {
|
|
8
|
-
const { renderCalendarFeedIcs } = await import("./src-
|
|
8
|
+
const { renderCalendarFeedIcs } = await import("./src-CXOxpNtj.mjs");
|
|
9
9
|
const url = URL.createObjectURL(new Blob([renderCalendarFeedIcs(calendar.feed)], { type: "text/calendar;charset=utf-8" }));
|
|
10
10
|
const link = document.createElement("a");
|
|
11
11
|
link.href = url;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as formatEventPrice } from "./newsletter-form.interactive-
|
|
3
|
-
import { bn as parseBookingLocalDate, nn as formatDate } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { d as listLookSlot, l as listItemPresentation } from "./islands-
|
|
6
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
7
|
-
import {
|
|
8
|
-
import { l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-
|
|
2
|
+
import { Cn as formatEventPrice } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { bn as parseBookingLocalDate, nn as formatDate } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { Ao as getEventAvailabilityStatus, Eo as formatEventRemainingPlaces, Ho as eventDateOptions, Mo as isEventFull, bo as resolveEventPageLink, es as formatTime, fo as eventPlaceName, mo as formatEventLocation, ns as resolveEventTimeZone, ts as groupEventsByDate, yo as resolveEventCta } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-C95FyxUF.mjs";
|
|
6
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
|
+
import { f as formatDateKey, y as isToday } from "./src-CMuv8vSO.mjs";
|
|
8
|
+
import { l as eventDisplayTitle, m as formatEventTeacherLine, r as EventItem, u as eventDisplayTitleText } from "./EventItem-CDMa9zOX.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-M2xKYQjX.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 {
|
|
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 { hr as isEmailAddress, oo as leavePage } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-D3Ttfv5x.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
6
|
+
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
7
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CgzNiOQ0.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
|
});
|