@riverbankcms/sdk 0.184.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/dist/_dts/{BlocksIslandsHydrator-DjBTJYiF.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-BpXEM2ET.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-Bb3h7KRE.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-DgTRRtl_.d.ts → client-BKdjJ7A0.d.ts} +23 -4
- package/dist/_dts/{content-types-DZQJp_ak.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-Ww1fmd-c.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BGc7dju6.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-Cni4jykw.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-ukS-Ffem.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-W9-7djG3.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-Cc85KVLW.d.ts → index-DTKn1H8g.d.ts} +1 -1
- package/dist/_dts/{index-DxxTQ_0V.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-BECaUNYs.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BlSWTlbD.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-CZz2BoXJ.d.ts → request-BwYvMqLf.d.ts} +459 -109
- package/dist/_dts/{resolveBlockData-D12HXnS3.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BteMsSGP.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 +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-aTlOvO3U.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +10 -7
- package/dist/_dts/{types-CCcQlRBi.d.ts → types-BBazdRQf.d.ts} +3 -3
- package/dist/_dts/{types-Du4aMnWC.d.ts → types-BwngWRQ8.d.ts} +7 -7
- package/dist/_dts/{types-Bi7R07RX.d.ts → types-C9_amrul.d.ts} +2 -2
- package/dist/_dts/{validation-CjCWVmwe.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CFLWxjxR.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-C4LcfwyA.mjs → BookingMailingListNote-D_khdttF.mjs} +59 -60
- package/dist/client/{BookingQuestionFields-DdcmoHqQ.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +48 -35
- package/dist/client/{CalendarAction-DYGewmvh.mjs → CalendarAction-C-AbMmct.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-ZfrUiiiI.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-pzkGVkgG.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +4 -4
- package/dist/client/{EventCalendar.client-Ct1B3xI4.mjs → EventCalendar.client-By7e9nyF.mjs} +10 -10
- package/dist/client/{EventCombined.client-DgfNtcgW.mjs → EventCombined.client-BdRZXB14.mjs} +9 -9
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-KGKkK19N.mjs → EventItem-CDMa9zOX.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-Ba9ezxuC.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-xFKRDLwC.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-Dy36vWHi.mjs → EventListing.view-B6LOK-z4.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Dth9L00x.mjs → EventRegistrationPayment-CARdr15t.mjs} +44 -35
- package/dist/client/{Page-DB5KODiu.mjs → Page-uP7AKSyp.mjs} +37 -30
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-BDVP_HeK.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +2 -2
- package/dist/client/{StepIndicator-CLgDVzCs.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DRyZ8igu.mjs → StepIndicator-Cb3NMw-Y.mjs} +29 -17
- package/dist/client/{accessibleSurfaces-CqroimVQ.mjs → accessibleSurfaces-q-dDOwsW.mjs} +5 -3
- package/dist/client/{accordion-BQYRP5xV.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-B7ckDuOC.mjs → booking-form.client-DAlWWWjV.mjs} +108 -70
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-BeD4650p.mjs → bookingForm-DtVk9p5l.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CA7FirMH.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-CjoaG1zy.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{carousel-DJ9Aa1m3.mjs → carousel-msur7fxW.mjs} +1 -1
- package/dist/client/{cart-DdCenbTy.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-BQm06qNw.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-45wPQULN.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-bSv4cc5z.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwlaMl3W.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +43 -18
- package/dist/client/{constants-DXV4KR7l.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-lCPfX-xe.mjs → context-CG77Keax.mjs} +30 -3
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-Ce3Gyin_.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CGcDE9aE.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +3 -3
- package/dist/client/{event-registration.client-DlPfn4YG.mjs → event-registration.client-Ckb4aDE9.mjs} +79 -58
- package/dist/client/{eventCalendar-CioAdryV.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-Dwt0G6ez.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-B3H9ifOC.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-Do7cAhXb.mjs → eventRegistration-BhAqvkCb.mjs} +4 -4
- package/dist/client/{form-CsqzgC6v.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-DVDB7hY6.mjs → form.client-Whi43oio.mjs} +4 -4
- package/dist/client/{form.parts-1q2rzSYt.mjs → form.parts-BgsWo2Me.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-BrXQGX-k.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--zAjnY5N.mjs → gifting.client-CraWj4I4.mjs} +173 -71
- package/dist/client/{gifting.interactive-CrwHpUJG.mjs → gifting.interactive-DiPDObN0.mjs} +3 -2
- package/dist/client/{gifting.parts-CcKdDaQq.mjs → gifting.parts-_mgGOcbA.mjs} +12 -43
- package/dist/client/{headerSection-DlcDH4bi.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-dMh0Oxli.mjs → islands-C95FyxUF.mjs} +11 -9
- package/dist/client/{newsletter-form.client-BxA1PsdS.mjs → newsletter-form.client-BgVJdKVe.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-D0iRg7p2.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +35 -15
- package/dist/client/{newsletter-form.parts-Dmuklz0r.mjs → newsletter-form.parts-poPgHrUh.mjs} +1 -1
- package/dist/client/{newsletterForm-CBzvgIfg.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +978 -72
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DiGibcZI.mjs → portalRoutes-D3Ttfv5x.mjs} +48 -13
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-D9MP8hvH.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-wCz1qcUY.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-D9-fCY6c.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-PJyxXSac.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-B8lrKGPw.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-CI63JVHW.mjs → registry.server-0UDNY7dO.mjs} +185 -224
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Jt9hDHdh.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-ZSPcJWx1.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-_iW9oEYc.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-CbdJlWOw.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-BqLbzUUn.mjs → shop-commerce-CDth2_qq.mjs} +13 -13
- package/dist/client/{shop-commerce-store-BT0-zRqN.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Cws0lnSb.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-0cNErhJT.mjs → shop.client-BI2iw6Z3.mjs} +56 -21
- package/dist/client/{shopShared-COuQ2MhQ.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- 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-DqI6U1BS.mjs → timetableModel-DZzGD6rS.mjs} +8 -8
- package/dist/client/{useAutomaticDiscountPreview-CeVUVzGf.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +1 -1
- package/dist/client/{useAvailableSlots-B0mjVhZr.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B_hfgdAP.mjs → useDiscountCodeUi-DMtTHqex.mjs} +1 -1
- package/dist/client/{useEventPagination-Ct4A6iR1.mjs → useEventPagination-CM-DCokc.mjs} +7 -7
- package/dist/client/{view-Cj151w4m.mjs → view-CHOhliHv.mjs} +3 -3
- package/dist/client/{wizardSteps-B3gsXNnb.mjs → wizardSteps-BbroaNkT.mjs} +68 -22
- package/dist/preview-next/client/{PageSectionToolbar-Dv4CW0AQ.mjs → PageSectionToolbar-CR99z8BL.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-B7WW58uE.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +6 -6
- package/dist/preview-next/client/{PreviewEditorUI-BnJ1ughv.mjs → PreviewEditorUI-D6IG119o.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-C7qWzAe4.mjs → PreviewShell-CKjkFOZS.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CYi4UHtG.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +4 -4
- package/dist/preview-next/client/{previewAssistantSlot-DrUoRNu9.mjs → previewAssistantSlot-DcEwU9l_.mjs} +977 -505
- package/dist/preview-next/client/{previewChromeRoot-CEYp90mM.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DnO2_c0A.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B3PwHw2z.mjs → siteStyleAccess-BL1fZnUD.mjs} +1 -1
- 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-DrdQ4ier.mjs → useAutosaveStatus-CdFnzKac.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-kuGRKaRL.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +8 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CwrXkLT3.mjs → route-contract-CQfEvfbg.mjs} +38 -13
- package/dist/server/{Block.shared-C5ucphCJ.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DvbqYXdK.mjs → ThemeScopeCore-BjxlpVaV.mjs} +5 -5
- package/dist/server/{accessibleSurfaces-CAcf1lHT.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +2 -2
- package/dist/server/{accordions-DjcsqjCK.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-CFw4M-gZ.mjs → bindings-D-n66Oqc.mjs} +5 -5
- package/dist/server/{client-D0XCgITW.mjs → client-BGGlrkft.mjs} +41 -16
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-BZduY8jG.mjs → constants-TkO9Uxma.mjs} +45 -10
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C-qyB8Tq.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-BpKKmi8E.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/{lookMediaFrame-EFws7tAj.mjs → lookMediaFrame-Dw6R9B0L.mjs} +13 -11
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-DYkuiNXa.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DmZn4xUE.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DRB7cUZ0.mjs → pageRenderPlan-DmP0HVMu.mjs} +30 -8
- package/dist/server/{pageRuntimeSupport-Uv1xDieJ.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +3 -3
- package/dist/server/{pageShared-BdQF875z.mjs → pageShared-ALu7y5Dq.mjs} +272 -165
- package/dist/server/{parseThemeForPersistence-CwcWZL7u.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-BQ8qiQnk.mjs → portal-P4oHSRho.mjs} +2 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-B51QZVNe.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CppDAfJW.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-Bf4W8Qa7.mjs → registry-DD_s7l3Y.mjs} +82 -33
- 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-DMHAZooQ.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-BMtAAPzp.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1 -1
- package/dist/server/{responseMedia-DKYfR518.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-DGaihVwp.mjs → schema-ClDfFtz2.mjs} +3 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRvmreX7.mjs → servicePageContent-CsUerbJ1.mjs} +14 -12
- package/dist/server/theme-bridge.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-mcy2E1Yd.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-B2qFOUwZ.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -2
- package/dist/server/{types-C_S0pWbR.mjs → types-CcKy8_tj.mjs} +5 -3
- package/dist/server/{validation-CUtNT_EZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-DebJQ4zn.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +192 -134
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
|
@@ -1,36 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { D as SpinnerNode, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
3
|
-
import { useEffect, useRef, useState } from "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
2
|
//#region \0rolldown/runtime.js
|
|
6
3
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
7
4
|
//#endregion
|
|
8
|
-
//#region ../commerce/src/purchase/checkoutPresentation.ts
|
|
9
|
-
function publishableKeyMode(publishableKey) {
|
|
10
|
-
if (publishableKey.startsWith("pk_live_")) return "live";
|
|
11
|
-
if (publishableKey.startsWith("pk_test_")) return "test";
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
14
|
-
function checkBrowserStripeKey(publishableKey, livemode) {
|
|
15
|
-
const key = publishableKey?.trim();
|
|
16
|
-
if (!key) return {
|
|
17
|
-
tag: "unavailable",
|
|
18
|
-
reason: "missing_key"
|
|
19
|
-
};
|
|
20
|
-
const mode = publishableKeyMode(key);
|
|
21
|
-
if (mode === null) return {
|
|
22
|
-
tag: "unavailable",
|
|
23
|
-
reason: "invalid_key"
|
|
24
|
-
};
|
|
25
|
-
return mode === (livemode ? "live" : "test") ? {
|
|
26
|
-
tag: "ready",
|
|
27
|
-
publishableKey: key
|
|
28
|
-
} : {
|
|
29
|
-
tag: "unavailable",
|
|
30
|
-
reason: "mode_mismatch"
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
5
|
//#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
|
|
35
6
|
var require_pure$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
36
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -196,120 +167,43 @@ function loadBrowserStripe(context) {
|
|
|
196
167
|
stripeByContext.set(cacheKey, loading);
|
|
197
168
|
return loading;
|
|
198
169
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
const lifecycle = {
|
|
207
|
-
active: true,
|
|
208
|
-
instance: null
|
|
209
|
-
};
|
|
210
|
-
setStatus("loading");
|
|
211
|
-
const fail = () => {
|
|
212
|
-
if (!lifecycle.active) return;
|
|
213
|
-
lifecycle.active = false;
|
|
214
|
-
lifecycle.instance?.destroy();
|
|
215
|
-
lifecycle.instance = null;
|
|
216
|
-
setStatus("failed");
|
|
217
|
-
};
|
|
218
|
-
const timeout = window.setTimeout(fail, 3e4);
|
|
219
|
-
const mount = async () => {
|
|
220
|
-
if (checkBrowserStripeKey(props.checkout.browser.publishableKey, props.checkout.livemode).tag !== "ready") throw new Error("Invalid payment configuration");
|
|
221
|
-
const stripe = await load(props.checkout.browser);
|
|
222
|
-
if (!lifecycle.active) return;
|
|
223
|
-
if (!stripe) throw new Error("Payment form unavailable");
|
|
224
|
-
const instance = await stripe.createEmbeddedCheckoutPage({
|
|
225
|
-
clientSecret: props.checkout.clientSecret,
|
|
226
|
-
onComplete: () => {
|
|
227
|
-
if (lifecycle.active) callbacks.current.onComplete();
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
if (!lifecycle.active || !container.current) {
|
|
231
|
-
instance.destroy();
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
lifecycle.instance = instance;
|
|
235
|
-
instance.mount(container.current);
|
|
236
|
-
clearTimeout(timeout);
|
|
237
|
-
setStatus("ready");
|
|
238
|
-
};
|
|
239
|
-
mount().catch(fail);
|
|
240
|
-
return () => {
|
|
241
|
-
lifecycle.active = false;
|
|
242
|
-
clearTimeout(timeout);
|
|
243
|
-
lifecycle.instance?.destroy();
|
|
244
|
-
};
|
|
245
|
-
}, [
|
|
246
|
-
props.checkout,
|
|
247
|
-
container,
|
|
248
|
-
load
|
|
249
|
-
]);
|
|
250
|
-
return status;
|
|
170
|
+
const PAYMENT_RETURN_PARAMETERS = [
|
|
171
|
+
"payment_intent",
|
|
172
|
+
"payment_intent_client_secret",
|
|
173
|
+
"redirect_status"
|
|
174
|
+
];
|
|
175
|
+
function replaceUrl(url) {
|
|
176
|
+
window.history.replaceState(window.history.state, "", url.toString());
|
|
251
177
|
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
178
|
+
/**
|
|
179
|
+
* Reads the invoice ID kept in `param` and strips Stripe's payment return
|
|
180
|
+
* parameters. The ID is nonsecret and stays in the URL until the page has
|
|
181
|
+
* verified completion, so a reload can still read it back.
|
|
182
|
+
*/
|
|
183
|
+
function readInvoiceReturn(param) {
|
|
184
|
+
const url = new URL(window.location.href);
|
|
185
|
+
PAYMENT_RETURN_PARAMETERS.forEach((key) => url.searchParams.delete(key));
|
|
186
|
+
replaceUrl(url);
|
|
187
|
+
const invoiceId = url.searchParams.get(param);
|
|
188
|
+
return invoiceId && /^in_[A-Za-z0-9]+$/.test(invoiceId) && invoiceId.length <= 255 ? invoiceId : null;
|
|
257
189
|
}
|
|
258
|
-
function
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
ref: heading,
|
|
276
|
-
tabIndex: -1,
|
|
277
|
-
className: "rb-sr-only",
|
|
278
|
-
children: "Payment"
|
|
279
|
-
}),
|
|
280
|
-
status === "loading" && /* @__PURE__ */ jsxs("div", {
|
|
281
|
-
className: "er-center er-message",
|
|
282
|
-
role: "status",
|
|
283
|
-
"aria-live": "polite",
|
|
284
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
285
|
-
className: "er-icon",
|
|
286
|
-
children: /* @__PURE__ */ jsx(SpinnerNode, { size: "lg" })
|
|
287
|
-
}), /* @__PURE__ */ jsx("p", {
|
|
288
|
-
className: "er-text--muted",
|
|
289
|
-
children: "Loading secure payment…"
|
|
290
|
-
})]
|
|
291
|
-
}),
|
|
292
|
-
status === "failed" && /* @__PURE__ */ jsxs("div", {
|
|
293
|
-
className: "er-center er-message",
|
|
294
|
-
role: "alert",
|
|
295
|
-
children: [/* @__PURE__ */ jsx("p", {
|
|
296
|
-
className: "er-text--muted er-message",
|
|
297
|
-
children: "We couldn’t load the payment form."
|
|
298
|
-
}), /* @__PURE__ */ jsx(ThemedButton, {
|
|
299
|
-
type: "button",
|
|
300
|
-
variant: props.buttonVariant,
|
|
301
|
-
size: "md",
|
|
302
|
-
onClick: props.onRetry,
|
|
303
|
-
label: "Try again"
|
|
304
|
-
})]
|
|
305
|
-
}),
|
|
306
|
-
/* @__PURE__ */ jsx("div", {
|
|
307
|
-
ref: container,
|
|
308
|
-
className: "er-message",
|
|
309
|
-
style: { width: "100%" }
|
|
310
|
-
})
|
|
311
|
-
]
|
|
312
|
-
});
|
|
190
|
+
function rememberInvoiceReturn(param, invoiceId) {
|
|
191
|
+
const url = new URL(window.location.href);
|
|
192
|
+
url.searchParams.set(param, invoiceId);
|
|
193
|
+
replaceUrl(url);
|
|
194
|
+
}
|
|
195
|
+
function clearInvoiceReturn(param) {
|
|
196
|
+
const url = new URL(window.location.href);
|
|
197
|
+
url.searchParams.delete(param);
|
|
198
|
+
replaceUrl(url);
|
|
199
|
+
}
|
|
200
|
+
/** A Stripe `return_url` that carries only our nonsecret invoice ID. */
|
|
201
|
+
function invoiceStripeReturnUrl(param) {
|
|
202
|
+
const current = new URL(window.location.href);
|
|
203
|
+
const url = new URL(current.pathname, current.origin);
|
|
204
|
+
const invoiceId = readInvoiceReturn(param);
|
|
205
|
+
if (invoiceId) url.searchParams.set(param, invoiceId);
|
|
206
|
+
return url.toString();
|
|
313
207
|
}
|
|
314
208
|
//#endregion
|
|
315
|
-
export {
|
|
209
|
+
export { rememberInvoiceReturn as i, invoiceStripeReturnUrl as n, loadBrowserStripe as r, clearInvoiceReturn as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
4
|
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import "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
|
/**
|
|
@@ -4511,6 +4511,35 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
4511
4511
|
}
|
|
4512
4512
|
});
|
|
4513
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
|
|
4514
4543
|
//#region ../api/src/clientErrorReporting.ts
|
|
4515
4544
|
const CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({ reportClientError: {
|
|
4516
4545
|
path: "/client/error-report",
|
|
@@ -7767,6 +7796,14 @@ const API_ENDPOINTS$1 = {
|
|
|
7767
7796
|
auth: "public",
|
|
7768
7797
|
responseKind: "text"
|
|
7769
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
|
+
},
|
|
7770
7807
|
getPublicAppointmentCalendarIcs: {
|
|
7771
7808
|
path: "/public/sites/{siteId}/bookings/appointments/{token}/appointment.ics",
|
|
7772
7809
|
method: "GET",
|
|
@@ -8844,6 +8881,7 @@ const API_ENDPOINTS$1 = {
|
|
|
8844
8881
|
errors: []
|
|
8845
8882
|
},
|
|
8846
8883
|
...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS,
|
|
8884
|
+
...PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS,
|
|
8847
8885
|
createBookingCustomer: {
|
|
8848
8886
|
path: "/sites/{siteId}/bookings/customers",
|
|
8849
8887
|
method: "POST",
|
|
@@ -10161,19 +10199,6 @@ const API_ENDPOINTS$1 = {
|
|
|
10161
10199
|
auth: "public",
|
|
10162
10200
|
responseKind: "json"
|
|
10163
10201
|
},
|
|
10164
|
-
portalCancelMembershipAtPeriodEnd: {
|
|
10165
|
-
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
10166
|
-
method: "POST",
|
|
10167
|
-
auth: "public",
|
|
10168
|
-
responseKind: "json"
|
|
10169
|
-
},
|
|
10170
|
-
portalResumeMembership: {
|
|
10171
|
-
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
10172
|
-
method: "POST",
|
|
10173
|
-
auth: "public",
|
|
10174
|
-
responseKind: "json",
|
|
10175
|
-
errors: []
|
|
10176
|
-
},
|
|
10177
10202
|
portalSendMagicLink: {
|
|
10178
10203
|
path: "/portal/auth/send-magic-link",
|
|
10179
10204
|
method: "POST",
|
|
@@ -11954,7 +11979,7 @@ var SimpleCache = class {
|
|
|
11954
11979
|
//#endregion
|
|
11955
11980
|
//#region src/request-options.ts
|
|
11956
11981
|
/** Every API client the SDK creates sends its version as `x-sdk-version`. */
|
|
11957
|
-
const sdkRequestOptions = { sdkVersion: "0.
|
|
11982
|
+
const sdkRequestOptions = { sdkVersion: "0.185.0" };
|
|
11958
11983
|
//#endregion
|
|
11959
11984
|
//#region src/public-api/runtime.ts
|
|
11960
11985
|
const PUBLIC_ENDPOINT_NAMES = [
|
|
@@ -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",
|
|
@@ -2362,4 +2389,4 @@ function useBlockApiOptional() {
|
|
|
2362
2389
|
return useContext(BlockApiContext);
|
|
2363
2390
|
}
|
|
2364
2391
|
//#endregion
|
|
2365
|
-
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 {
|
|
2
|
+
import { _n as staticHeaderChromeRuntime } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { Kr as buildCartDisplay } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
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";
|