@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { O as clsx } from "./ThemedButton-C4rCsPCt.mjs";
|
|
3
3
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
4
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-hB_9MimN.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BNWzgWAC.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-CDth2_qq.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-Bt_GtHW9.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BNWzgWAC.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-CDth2_qq.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ao as canonicalUrl } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
|
|
4
4
|
/**
|
|
5
5
|
* Build return URLs for Stripe checkout redirect.
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { A as materializeEntriesMedia, C as siteBlockRenderContext, F as attachResilienceStatusToError, M as rethrowClientFrameworkSignal, P as RiverbankApiError, R as requireSdkTheme, S as projectRenderablePageOutline, _ as loadContentFromContentResponse, _t as isSupportedLoaderEndpoint, b as buildSiteRenderSupport, gt as encodePublicProductCategorySelector, j as findFrameworkSignal, k as prefetchBlockDataWithFailures, m as isPageContent, t as Page, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline } from "./Page-
|
|
4
|
-
import {
|
|
2
|
+
import { Oc as parseSiteId } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
|
+
import { A as materializeEntriesMedia, C as siteBlockRenderContext, F as attachResilienceStatusToError, M as rethrowClientFrameworkSignal, P as RiverbankApiError, R as requireSdkTheme, S as projectRenderablePageOutline, _ as loadContentFromContentResponse, _t as isSupportedLoaderEndpoint, b as buildSiteRenderSupport, gt as encodePublicProductCategorySelector, j as findFrameworkSignal, k as prefetchBlockDataWithFailures, m as isPageContent, t as Page, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline } from "./Page-uP7AKSyp.mjs";
|
|
4
|
+
import { rr as publicMapLocationParamsSchema } from "./registry.server-0UDNY7dO.mjs";
|
|
5
5
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
6
|
-
import { t as restoreRuntimeResponse } from "./runtimeResponse-
|
|
6
|
+
import { t as restoreRuntimeResponse } from "./runtimeResponse-DBVXbcuz.mjs";
|
|
7
7
|
import { useEffect, useState } from "react";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
/**
|
|
@@ -855,8 +855,7 @@ const arrangementScheduleCommandSchema = z.discriminatedUnion("kind", [z.object(
|
|
|
855
855
|
weekday,
|
|
856
856
|
localStart,
|
|
857
857
|
effectiveFrom: localDate,
|
|
858
|
-
bookAhead: z.number().int().min(0).max(52)
|
|
859
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
858
|
+
bookAhead: z.number().int().min(0).max(52)
|
|
860
859
|
}).strict()]);
|
|
861
860
|
const arrangementEndSchema = z.discriminatedUnion("kind", [
|
|
862
861
|
z.object({ kind: z.literal("open") }).strict(),
|
|
@@ -869,17 +868,14 @@ const arrangementEndSchema = z.discriminatedUnion("kind", [
|
|
|
869
868
|
sessions: z.number().int().min(1).max(1e4)
|
|
870
869
|
}).strict()
|
|
871
870
|
]);
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
z.
|
|
879
|
-
|
|
880
|
-
sendOffsetMinutes: z.number().int().min(1).max(525600)
|
|
881
|
-
}).strict()
|
|
882
|
-
]);
|
|
871
|
+
/**
|
|
872
|
+
* How a session no package covers gets chased. What pays for each session isn't chosen: it uses a
|
|
873
|
+
* package the client holds that covers it, soonest-expiring first.
|
|
874
|
+
*/
|
|
875
|
+
const arrangementOwedFollowUpSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("direct") }).strict(), z.object({
|
|
876
|
+
kind: z.literal("payment_link"),
|
|
877
|
+
sendOffsetMinutes: z.number().int().min(1).max(525600)
|
|
878
|
+
}).strict()]);
|
|
883
879
|
z.object({
|
|
884
880
|
effectiveFrom: localDate,
|
|
885
881
|
pattern: arrangementPatternSchema
|
|
@@ -897,17 +893,15 @@ const createClientArrangementSchema = z.object({
|
|
|
897
893
|
timezone: z.string().min(1),
|
|
898
894
|
holdsTime: z.boolean(),
|
|
899
895
|
end: arrangementEndSchema,
|
|
900
|
-
|
|
896
|
+
owedFollowUp: arrangementOwedFollowUpSchema,
|
|
901
897
|
schedule: arrangementSetUpScheduleSchema,
|
|
902
|
-
bookAhead: z.number().int().min(0).max(52)
|
|
903
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
898
|
+
bookAhead: z.number().int().min(0).max(52)
|
|
904
899
|
}).strict();
|
|
905
900
|
/** The UI selects the next N dates from get.dates, then retains this body for retry. */
|
|
906
901
|
const bookNextArrangementSchema = z.object({
|
|
907
902
|
...operation,
|
|
908
903
|
confirmation: z.string().optional(),
|
|
909
|
-
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once.")
|
|
910
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
904
|
+
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once.")
|
|
911
905
|
}).strict();
|
|
912
906
|
const arrangementAwaySchema = z.object({
|
|
913
907
|
...operation,
|
|
@@ -922,10 +916,8 @@ const arrangementChangeFromSchema = z.object({
|
|
|
922
916
|
const arrangementOneWeekSchema = z.object({
|
|
923
917
|
...operation,
|
|
924
918
|
occurrenceDate: localDate,
|
|
925
|
-
startAt: z.iso.datetime({ offset: true })
|
|
926
|
-
|
|
927
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
928
|
-
}).strict().refine((value) => Date.parse(value.endAt) > Date.parse(value.startAt), "Choose an end after the start.");
|
|
919
|
+
startAt: z.iso.datetime({ offset: true })
|
|
920
|
+
}).strict();
|
|
929
921
|
/**
|
|
930
922
|
* Ending all of it, or one day: that day stops after `lastDate`, its bookings after then are
|
|
931
923
|
* cancelled, and the other days carry on.
|
|
@@ -950,7 +942,7 @@ const arrangementEditSchema = z.object({
|
|
|
950
942
|
expectedUpdatedAt: z.string().min(1),
|
|
951
943
|
serviceId: z.string().uuid(),
|
|
952
944
|
holdsTime: z.boolean(),
|
|
953
|
-
|
|
945
|
+
owedFollowUp: arrangementOwedFollowUpSchema
|
|
954
946
|
}).strict();
|
|
955
947
|
z.discriminatedUnion("kind", [
|
|
956
948
|
z.object({
|
|
@@ -1102,11 +1094,7 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
|
|
|
1102
1094
|
outcome: z.literal("refused"),
|
|
1103
1095
|
appointmentId: z.string().optional()
|
|
1104
1096
|
}), z.discriminatedUnion("code", [
|
|
1105
|
-
z.object({ code: z.enum([
|
|
1106
|
-
"package_shortfall",
|
|
1107
|
-
"not_available",
|
|
1108
|
-
"client_not_found"
|
|
1109
|
-
]) }),
|
|
1097
|
+
z.object({ code: z.enum(["not_available", "client_not_found"]) }),
|
|
1110
1098
|
z.object({
|
|
1111
1099
|
code: z.literal("clash"),
|
|
1112
1100
|
customerFirstName: z.string().nullable(),
|
|
@@ -4523,6 +4511,35 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
4523
4511
|
}
|
|
4524
4512
|
});
|
|
4525
4513
|
//#endregion
|
|
4514
|
+
//#region ../api/src/portalMembershipEndpointDefinitions.ts
|
|
4515
|
+
/**
|
|
4516
|
+
* Customer portal endpoints for a membership: paying an overdue payment (#1825),
|
|
4517
|
+
* cancelling at the end of the period, and resuming.
|
|
4518
|
+
*/
|
|
4519
|
+
const PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
4520
|
+
portalMembershipPayment: {
|
|
4521
|
+
path: "/portal/memberships/{customerMembershipId}/payment",
|
|
4522
|
+
method: "POST",
|
|
4523
|
+
auth: "public",
|
|
4524
|
+
responseKind: "json",
|
|
4525
|
+
errors: []
|
|
4526
|
+
},
|
|
4527
|
+
portalCancelMembershipAtPeriodEnd: {
|
|
4528
|
+
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
4529
|
+
method: "POST",
|
|
4530
|
+
auth: "public",
|
|
4531
|
+
responseKind: "json",
|
|
4532
|
+
errors: []
|
|
4533
|
+
},
|
|
4534
|
+
portalResumeMembership: {
|
|
4535
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
4536
|
+
method: "POST",
|
|
4537
|
+
auth: "public",
|
|
4538
|
+
responseKind: "json",
|
|
4539
|
+
errors: []
|
|
4540
|
+
}
|
|
4541
|
+
});
|
|
4542
|
+
//#endregion
|
|
4526
4543
|
//#region ../api/src/clientErrorReporting.ts
|
|
4527
4544
|
const CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({ reportClientError: {
|
|
4528
4545
|
path: "/client/error-report",
|
|
@@ -7779,6 +7796,14 @@ const API_ENDPOINTS$1 = {
|
|
|
7779
7796
|
auth: "public",
|
|
7780
7797
|
responseKind: "text"
|
|
7781
7798
|
},
|
|
7799
|
+
getPublicCourseCalendarIcs: {
|
|
7800
|
+
path: "/public/sites/{siteId}/bookings/courses/{token}/course.ics",
|
|
7801
|
+
method: "GET",
|
|
7802
|
+
tags: ["public-course-calendar-{siteId}"],
|
|
7803
|
+
auth: "public",
|
|
7804
|
+
responseKind: "text",
|
|
7805
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
7806
|
+
},
|
|
7782
7807
|
getPublicAppointmentCalendarIcs: {
|
|
7783
7808
|
path: "/public/sites/{siteId}/bookings/appointments/{token}/appointment.ics",
|
|
7784
7809
|
method: "GET",
|
|
@@ -8856,6 +8881,7 @@ const API_ENDPOINTS$1 = {
|
|
|
8856
8881
|
errors: []
|
|
8857
8882
|
},
|
|
8858
8883
|
...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS,
|
|
8884
|
+
...PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS,
|
|
8859
8885
|
createBookingCustomer: {
|
|
8860
8886
|
path: "/sites/{siteId}/bookings/customers",
|
|
8861
8887
|
method: "POST",
|
|
@@ -10173,19 +10199,6 @@ const API_ENDPOINTS$1 = {
|
|
|
10173
10199
|
auth: "public",
|
|
10174
10200
|
responseKind: "json"
|
|
10175
10201
|
},
|
|
10176
|
-
portalCancelMembershipAtPeriodEnd: {
|
|
10177
|
-
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
10178
|
-
method: "POST",
|
|
10179
|
-
auth: "public",
|
|
10180
|
-
responseKind: "json"
|
|
10181
|
-
},
|
|
10182
|
-
portalResumeMembership: {
|
|
10183
|
-
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
10184
|
-
method: "POST",
|
|
10185
|
-
auth: "public",
|
|
10186
|
-
responseKind: "json",
|
|
10187
|
-
errors: []
|
|
10188
|
-
},
|
|
10189
10202
|
portalSendMagicLink: {
|
|
10190
10203
|
path: "/portal/auth/send-magic-link",
|
|
10191
10204
|
method: "POST",
|
|
@@ -11966,7 +11979,7 @@ var SimpleCache = class {
|
|
|
11966
11979
|
//#endregion
|
|
11967
11980
|
//#region src/request-options.ts
|
|
11968
11981
|
/** Every API client the SDK creates sends its version as `x-sdk-version`. */
|
|
11969
|
-
const sdkRequestOptions = { sdkVersion: "0.
|
|
11982
|
+
const sdkRequestOptions = { sdkVersion: "0.185.0" };
|
|
11970
11983
|
//#endregion
|
|
11971
11984
|
//#region src/public-api/runtime.ts
|
|
11972
11985
|
const PUBLIC_ENDPOINT_NAMES = [
|
|
@@ -13365,7 +13378,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
13365
13378
|
const result = await reader({
|
|
13366
13379
|
cacheKey: plan.cacheKey,
|
|
13367
13380
|
endpoint: plan.endpoint,
|
|
13368
|
-
payloadSchemaVersion:
|
|
13381
|
+
payloadSchemaVersion: 10
|
|
13369
13382
|
});
|
|
13370
13383
|
if (result.kind === "miss") return {
|
|
13371
13384
|
kind: "miss",
|
|
@@ -13414,7 +13427,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
13414
13427
|
payload,
|
|
13415
13428
|
siteId: plan.siteId ?? getRuntimePayloadSiteId(payload),
|
|
13416
13429
|
...publishedCacheLifetime(plan, payload),
|
|
13417
|
-
payloadSchemaVersion:
|
|
13430
|
+
payloadSchemaVersion: 10,
|
|
13418
13431
|
writeReason: "live_success"
|
|
13419
13432
|
});
|
|
13420
13433
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Cc as publicEventPricingDisplay, Js as bookingCollectionDatesOpen, Ys as flexibleBalanceDueDay, ac as resolveWholeSeriesPaymentDates, gc as getBookingInstalmentProtectedDepositAmountCents } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/events/domain/depositOffer.ts
|
|
4
4
|
const NO_DEPOSIT = { kind: "none" };
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { Dn as parsePositiveCents, Tt as normalizeCurrencyCode, _t as unknownKind, c as blockSiteTermsSchema, ft as bookingQuestionsDocumentAnswerValueSchema, gt as exactSchema, ht as evolvingSchema, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, m as calendarWindowPageSchema, pt as bookingQuestionsTaskDetailSchema, v as publicPassProductCollectionSchema } from "./src-
|
|
3
|
+
import { Dn as parsePositiveCents, Tt as normalizeCurrencyCode, _t as unknownKind, c as blockSiteTermsSchema, ft as bookingQuestionsDocumentAnswerValueSchema, gt as exactSchema, ht as evolvingSchema, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, m as calendarWindowPageSchema, pt as bookingQuestionsTaskDetailSchema, v as publicPassProductCollectionSchema } from "./src-CJf3u16T.mjs";
|
|
4
4
|
import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
|
|
5
|
-
import { C as customerProfileSchema, E as eventTicketBreakdownLineSchema, S as portalCreditSchema, T as eventGuestSchema, b as customerPassSchema, d as verifiedSiteTermsAcceptanceSchema, n as customerOrderSchema, s as cancelledMoneySchema, v as customerMembershipSchema, w as enabledModulesSchema } from "./portalOrders-
|
|
5
|
+
import { C as customerProfileSchema, E as eventTicketBreakdownLineSchema, S as portalCreditSchema, T as eventGuestSchema, b as customerPassSchema, d as verifiedSiteTermsAcceptanceSchema, n as customerOrderSchema, p as portalMoneySchema, s as cancelledMoneySchema, v as customerMembershipSchema, w as enabledModulesSchema } from "./portalOrders-CAfjTyV9.mjs";
|
|
6
6
|
import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
|
|
7
7
|
import { t as EVENT_BOOKING_RESPONSE_QUERY } from "./events-9LPvwbWp.mjs";
|
|
8
8
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
@@ -812,6 +812,27 @@ const portalEventRescheduleResultSchema = exactSchema()(z.union([z.object({
|
|
|
812
812
|
]),
|
|
813
813
|
message: z.string()
|
|
814
814
|
})]));
|
|
815
|
+
const portalMembershipPaymentSchema = exactSchema()(z.discriminatedUnion("kind", [
|
|
816
|
+
z.object({
|
|
817
|
+
kind: z.literal("pay"),
|
|
818
|
+
reason: z.enum(["authenticate", "new_card"]),
|
|
819
|
+
invoiceId: z.string(),
|
|
820
|
+
clientSecret: z.string().transform((secret) => secret),
|
|
821
|
+
amount: portalMoneySchema,
|
|
822
|
+
nextAttempt: z.string().nullable(),
|
|
823
|
+
browser: eventEmbeddedCheckoutSchema.shape.browser
|
|
824
|
+
}),
|
|
825
|
+
z.object({ kind: z.literal("checking") }),
|
|
826
|
+
z.object({
|
|
827
|
+
kind: z.literal("paid"),
|
|
828
|
+
nextRenewal: z.object({
|
|
829
|
+
date: z.string(),
|
|
830
|
+
usesThisCard: z.boolean()
|
|
831
|
+
}).nullable()
|
|
832
|
+
}),
|
|
833
|
+
z.object({ kind: z.literal("nothing_to_pay") }),
|
|
834
|
+
z.object({ kind: z.literal("unavailable") })
|
|
835
|
+
]));
|
|
815
836
|
//#endregion
|
|
816
837
|
//#region ../site-contracts/src/siteData/eventSelectionPayment.ts
|
|
817
838
|
const cents = z.number().int().nonnegative();
|
|
@@ -1304,6 +1325,12 @@ const PORTAL = {
|
|
|
1304
1325
|
authScope: "portal",
|
|
1305
1326
|
skipPreviewStage: true
|
|
1306
1327
|
},
|
|
1328
|
+
membershipPayment: {
|
|
1329
|
+
path: "/portal/memberships/{customerMembershipId}/payment",
|
|
1330
|
+
method: "POST",
|
|
1331
|
+
authScope: "portal",
|
|
1332
|
+
skipPreviewStage: true
|
|
1333
|
+
},
|
|
1307
1334
|
cancelMembershipAtPeriodEnd: {
|
|
1308
1335
|
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
1309
1336
|
method: "POST",
|
|
@@ -1650,13 +1677,14 @@ function encodePublicProductCategorySelector(selector) {
|
|
|
1650
1677
|
* field detail, or when what it carried was not a well-formed field error list.
|
|
1651
1678
|
*/
|
|
1652
1679
|
var BlockApiError = class extends Error {
|
|
1653
|
-
constructor(message, status, code, tag, fieldErrors = [], giftCardExpiry) {
|
|
1680
|
+
constructor(message, status, code, tag, fieldErrors = [], giftCardExpiry, organiserContact) {
|
|
1654
1681
|
super(message);
|
|
1655
1682
|
this.status = status;
|
|
1656
1683
|
this.code = code;
|
|
1657
1684
|
this.tag = tag;
|
|
1658
1685
|
this.fieldErrors = fieldErrors;
|
|
1659
1686
|
this.giftCardExpiry = giftCardExpiry;
|
|
1687
|
+
this.organiserContact = organiserContact;
|
|
1660
1688
|
this.name = "BlockApiError";
|
|
1661
1689
|
}
|
|
1662
1690
|
};
|
|
@@ -1702,7 +1730,9 @@ function getBlockApiErrorDetails(data) {
|
|
|
1702
1730
|
const message = typeof nestedError?.message === "string" ? nestedError.message : typeof data.message === "string" ? data.message : void 0;
|
|
1703
1731
|
const code = typeof nestedError?.code === "string" ? nestedError.code : typeof data.code === "string" ? data.code : void 0;
|
|
1704
1732
|
const fieldErrors = fieldErrorsFromUnknown(nestedError?.fieldErrors) ?? fieldErrorsFromUnknown(data.fieldErrors);
|
|
1733
|
+
const contact = organiserContactSchema.safeParse(nestedError?.organiserContact);
|
|
1705
1734
|
return {
|
|
1735
|
+
organiserContact: contact.success ? contact.data : void 0,
|
|
1706
1736
|
message,
|
|
1707
1737
|
code,
|
|
1708
1738
|
tag: typeof nestedError?.tag === "string" ? nestedError.tag : void 0,
|
|
@@ -1729,7 +1759,8 @@ async function extractErrorDetails(response) {
|
|
|
1729
1759
|
code: details.code,
|
|
1730
1760
|
tag: details.tag,
|
|
1731
1761
|
fieldErrors: details.fieldErrors,
|
|
1732
|
-
giftCardExpiry: details.giftCardExpiry
|
|
1762
|
+
giftCardExpiry: details.giftCardExpiry,
|
|
1763
|
+
organiserContact: details.organiserContact
|
|
1733
1764
|
};
|
|
1734
1765
|
}
|
|
1735
1766
|
case "invalid-json": return { message: `${fallbackMessage} (received invalid JSON)` };
|
|
@@ -1887,7 +1918,7 @@ function createBlockApi(config) {
|
|
|
1887
1918
|
const response = timeoutMs === void 0 ? await fetch(url, fetchOptions) : await fetchWithTimeout(url, fetchOptions, timeoutMs);
|
|
1888
1919
|
if (!response.ok) {
|
|
1889
1920
|
const details = await extractErrorDetails(response);
|
|
1890
|
-
throw new BlockApiError(details.message, response.status, details.code, details.tag, details.fieldErrors, details.giftCardExpiry);
|
|
1921
|
+
throw new BlockApiError(details.message, response.status, details.code, details.tag, details.fieldErrors, details.giftCardExpiry, details.organiserContact);
|
|
1891
1922
|
}
|
|
1892
1923
|
return readSuccessfulResponse(response, decoder);
|
|
1893
1924
|
};
|
|
@@ -2250,9 +2281,14 @@ function protectedFormBody({ authorization, ...data }) {
|
|
|
2250
2281
|
}
|
|
2251
2282
|
};
|
|
2252
2283
|
}
|
|
2284
|
+
const organiserContactSchema = z.object({
|
|
2285
|
+
email: z.string().nullable(),
|
|
2286
|
+
phone: z.string().nullable()
|
|
2287
|
+
}).nullable().optional();
|
|
2253
2288
|
const occurrenceId = z.string().min(1);
|
|
2254
2289
|
/** The same endpoint answers a dates subject with the server's funding plan; the block renders it as sent. */
|
|
2255
2290
|
const selectionFundingResponseSchema = z.object({
|
|
2291
|
+
organiserContact: organiserContactSchema,
|
|
2256
2292
|
subject: z.object({
|
|
2257
2293
|
kind: z.literal("dates"),
|
|
2258
2294
|
occurrenceIds: z.tuple([occurrenceId]).rest(occurrenceId).readonly()
|
|
@@ -2264,6 +2300,7 @@ const selectionFundingResponseSchema = z.object({
|
|
|
2264
2300
|
const eventSeriesId = z.string().min(1);
|
|
2265
2301
|
/** And a runs subject with how those runs can be paid. */
|
|
2266
2302
|
const runsSelectionPaymentResponseSchema = z.object({
|
|
2303
|
+
organiserContact: organiserContactSchema,
|
|
2267
2304
|
subject: z.object({
|
|
2268
2305
|
kind: z.literal("runs"),
|
|
2269
2306
|
eventSeriesIds: z.tuple([eventSeriesId]).rest(eventSeriesId).readonly()
|
|
@@ -2352,4 +2389,4 @@ function useBlockApiOptional() {
|
|
|
2352
2389
|
return useContext(BlockApiContext);
|
|
2353
2390
|
}
|
|
2354
2391
|
//#endregion
|
|
2355
|
-
export { portalMeUpdateResponseSchema as C, portalTransferEventRegistrationResultSchema as E, portalMeResponseSchema as S,
|
|
2392
|
+
export { portalMeUpdateResponseSchema as C, portalTransferEventRegistrationResultSchema as D, portalRescheduleAppointmentResponseSchema as E, portalMeResponseSchema as S, portalOrderCheckoutResponseSchema as T, portalDigitalProductsResponseSchema as _, createPortalTransport as a, portalEventRescheduleResultSchema as b, PORTAL as c, portalBookingQuestionsTaskResponseSchema as d, portalBookingQuestionsUploadUrlResponseSchema as f, portalDigitalProductDownloadUrlResponseSchema as g, portalDigitalProductAccessResponseSchema as h, BlockApiError as i, magicLinkResponseSchema as l, portalCancelOutcomeSchema as m, useBlockApi as n, field as o, portalCancelMembershipAtPeriodEndResultSchema as p, useBlockApiOptional as r, isUncertainPortalFailure as s, BlockApiProvider as t, portalBookingQuestionsFinalizeUploadResponseSchema as u, portalEventGuestsResponseSchema as v, portalMembershipPaymentSchema as w, portalEventTicketResponseSchema as x, portalEventRescheduleDatesSchema as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Cn as toUtcIsoDateTimeString, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, an as formatDateTimeRange, cn as formatTime, fn as resolveBookingDisplayContext, in as formatDateTime$1, nn as formatDate } from "./src-
|
|
2
|
+
import { Cn as toUtcIsoDateTimeString, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, an as formatDateTimeRange, cn as formatTime, fn as resolveBookingDisplayContext, in as formatDateTime$1, nn as formatDate } from "./src-CJf3u16T.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as BlockApiError } from "./context-
|
|
2
|
+
import { i as BlockApiError } from "./context-CG77Keax.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _n as staticHeaderChromeRuntime } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { _n as staticHeaderChromeRuntime } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { Kr as buildCartDisplay } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
5
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
6
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
6
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-CE0aaSHJ.mjs";
|
|
7
7
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|