@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
package/dist/preview-next/client/{previewChromeRoot-CEYp90mM.mjs → previewChromeRoot-VqseF0yf.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { cn as resolveSurfaceDocumentAttributes, fl as PortalContainerProvider, nu as cn, sn as SURFACE_DOCUMENT_DATA_ATTRIBUTE } from "./previewAssistantSlot-
|
|
2
|
+
import { cn as resolveSurfaceDocumentAttributes, fl as PortalContainerProvider, nu as cn, sn as SURFACE_DOCUMENT_DATA_ATTRIBUTE } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
3
3
|
import { createContext, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../ui/src/fixed-bottom-surface.tsx
|
|
@@ -6,13 +6,13 @@ import React from "react";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/preview-next/client/runtime.tsx
|
|
8
8
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
9
|
-
return { default: (await import("./SdkPreviewModeRuntime-
|
|
9
|
+
return { default: (await import("./SdkPreviewModeRuntime-BexDQWGj.mjs")).SdkPreviewModeRuntime };
|
|
10
10
|
});
|
|
11
11
|
const LazyPreviewShell = React.lazy(async () => {
|
|
12
|
-
return { default: (await import("./sdk-runtime-
|
|
12
|
+
return { default: (await import("./sdk-runtime-DcoVpKUf.mjs")).PreviewShell };
|
|
13
13
|
});
|
|
14
14
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
15
|
-
return { default: (await import("./sdk-runtime-
|
|
15
|
+
return { default: (await import("./sdk-runtime-DcoVpKUf.mjs")).PreviewShellLayout };
|
|
16
16
|
});
|
|
17
17
|
function SdkPreviewMode(props) {
|
|
18
18
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-
|
|
5
|
-
import "./SdkPreviewModeRuntime-
|
|
4
|
+
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-CKjkFOZS.mjs";
|
|
5
|
+
import "./SdkPreviewModeRuntime-BexDQWGj.mjs";
|
|
6
6
|
export { PreviewShell, PreviewShellLayout };
|
package/dist/preview-next/client/{siteStyleAccess-B3PwHw2z.mjs → siteStyleAccess-BL1fZnUD.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
|
-
import { $c as Dialog, $d as unsafeAsEditorBlockId, Ac as extractApiEnvelopeErrorDetails, Al as Arrow, Bc as Callout, Bl as useDirection, Bo as getResponsiveScopeSpec, Bs as surfaceResolutionContextFromTheme, Bu as expandPalette, Cl as hideOthers, Cn as useOptionalEditorUiStoreInstance, Cr as resolveBlockVariantKey, Cs as resolveCompiledSectionContextFromContent, Dl as Presence, El as createRovingFocusGroupScope, Fl as useId$1, Fo as buildThemeRuntime, G as siteChromeHeaderLogoMayBeHardToSee, Gl as composeEventHandlers, Hl as useControllableState, Il as FocusScope, In as remoteDraftValues, Io as escapeStyleContent, Is as headerStyleRecipeForTheme, Iu as mapDrawingStyle, Jl as Button, Js as getSiteFontsStorageUrl, Kl as Primitive, Ks as buildGoogleFontFamilyQuery, Ll as useFocusGuards, Ln as renderSourceFor, Lu as parseSurfaceTree, Ml as Root2$1, Mu as surfaceForegroundStyle, Nl as createPopperScope, Nr as LocationMapView, Ns as componentRuntimeRulesForTheme, Ol as Portal, Pl as useSize, Ps as designRuntimeRulesForTheme, Pu as rgbColorValue, Ql as createSlot, Rl as DismissableLayer, Ru as resolveSurfaceForeground, Tl as Root, Ts as formatSiteChromeBackgroundTokenLabel, Uc as Spinner, Ul as useLayoutEffect2, Vl as createCollection, Wl as createContextScope, Xl as useControlReadiness, _a as measureSiteTopChromeBottomPx, ai as getBlockDefinition, al as DialogTitle, bo as deriveInlineTextFieldChanges, c as usePreviewShownTheme, el as DialogClose, fa as SITE_CHROME_VISIBLE_HEADER_SELECTOR, fr as planArrangementContent, h as composePreviewTheme, ia as themeRuntimeScopeProps, id as getFontWidthRange, il as DialogPortal, jc as unwrapResponse, jl as Content$1, ju as surfaceForegroundInputFromResolved, kc as ApiEnvelopeError, kl as Anchor, ln as ApiRequestError, mf as unsafeAsPositiveSeconds, ml as ReactRemoveScroll, na as buildThemeDataAttrs, nu as cn$1, ol as DialogTrigger, pf as unsafeAsPositiveByteCount, pl as usePortalContainer, pn as useIsEditingMode, qs as generateFontFaceCss, s as usePreviewPageDesignRenderState, sd as asDesignBlockId, tl as DialogContent, tn as applyBindingsToContent, tu as useComposedRefs, u as useSiteChromeCustomizeOptional, ud as authoredValuesEqual, uf as assertNever, ul as menuItemInteractionClassName, us as heroPhotoPaintsGround, vs as applyCompiledRuntimeFieldsToContent, wl as Item, ws as sectionDecisionFromContent, xs as restoreCompiledRuntimeFieldsFromContent, ya as siteTopChromeMeasurementTargets$1, yc as isRecord$1, yo as coerceInlineTextWithFallback, ys as compileEditorModelRuntime, zc as VISUALLY_HIDDEN_STYLES, zl as useCallbackRef, zn as resolveRenderedValues, zo as DEFAULT_THEME_RESPONSIVE_MODE, zr as withValueAtPath, zs as compiledRuntimeStyleFieldNames } from "./previewAssistantSlot-
|
|
3
|
+
import { $c as Dialog, $d as unsafeAsEditorBlockId, Ac as extractApiEnvelopeErrorDetails, Al as Arrow, Bc as Callout, Bl as useDirection, Bo as getResponsiveScopeSpec, Bs as surfaceResolutionContextFromTheme, Bu as expandPalette, Cl as hideOthers, Cn as useOptionalEditorUiStoreInstance, Cr as resolveBlockVariantKey, Cs as resolveCompiledSectionContextFromContent, Dl as Presence, El as createRovingFocusGroupScope, Fl as useId$1, Fo as buildThemeRuntime, G as siteChromeHeaderLogoMayBeHardToSee, Gl as composeEventHandlers, Hl as useControllableState, Il as FocusScope, In as remoteDraftValues, Io as escapeStyleContent, Is as headerStyleRecipeForTheme, Iu as mapDrawingStyle, Jl as Button, Js as getSiteFontsStorageUrl, Kl as Primitive, Ks as buildGoogleFontFamilyQuery, Ll as useFocusGuards, Ln as renderSourceFor, Lu as parseSurfaceTree, Ml as Root2$1, Mu as surfaceForegroundStyle, Nl as createPopperScope, Nr as LocationMapView, Ns as componentRuntimeRulesForTheme, Ol as Portal, Pl as useSize, Ps as designRuntimeRulesForTheme, Pu as rgbColorValue, Ql as createSlot, Rl as DismissableLayer, Ru as resolveSurfaceForeground, Tl as Root, Ts as formatSiteChromeBackgroundTokenLabel, Uc as Spinner, Ul as useLayoutEffect2, Vl as createCollection, Wl as createContextScope, Xl as useControlReadiness, _a as measureSiteTopChromeBottomPx, ai as getBlockDefinition, al as DialogTitle, bo as deriveInlineTextFieldChanges, c as usePreviewShownTheme, el as DialogClose, fa as SITE_CHROME_VISIBLE_HEADER_SELECTOR, fr as planArrangementContent, h as composePreviewTheme, ia as themeRuntimeScopeProps, id as getFontWidthRange, il as DialogPortal, jc as unwrapResponse, jl as Content$1, ju as surfaceForegroundInputFromResolved, kc as ApiEnvelopeError, kl as Anchor, ln as ApiRequestError, mf as unsafeAsPositiveSeconds, ml as ReactRemoveScroll, na as buildThemeDataAttrs, nu as cn$1, ol as DialogTrigger, pf as unsafeAsPositiveByteCount, pl as usePortalContainer, pn as useIsEditingMode, qs as generateFontFaceCss, s as usePreviewPageDesignRenderState, sd as asDesignBlockId, tl as DialogContent, tn as applyBindingsToContent, tu as useComposedRefs, u as useSiteChromeCustomizeOptional, ud as authoredValuesEqual, uf as assertNever, ul as menuItemInteractionClassName, us as heroPhotoPaintsGround, vs as applyCompiledRuntimeFieldsToContent, wl as Item, ws as sectionDecisionFromContent, xs as restoreCompiledRuntimeFieldsFromContent, ya as siteTopChromeMeasurementTargets$1, yc as isRecord$1, yo as coerceInlineTextWithFallback, ys as compileEditorModelRuntime, zc as VISUALLY_HIDDEN_STYLES, zl as useCallbackRef, zn as resolveRenderedValues, zo as DEFAULT_THEME_RESPONSIVE_MODE, zr as withValueAtPath, zs as compiledRuntimeStyleFieldNames } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
4
4
|
import { $ as ExternalLink, At as editLocationValue, Dt as confirmLocationPair, E as Mountain, Et as LOCATION_MATCH_THRESHOLDS_METRES, Ft as decideLocationSourcePermission, H as House, It as formatLocationAddress, L as Info, Lt as locationAddressSchema, Mt as sameLocationSpatialPair, Nt as sameMeaningfulAddress, Ot as decideLocationRelationship, Qt as ok, Rt as locationPinSchema, T as Move, Vt as parseLocationValue, Zt as err, _ as RotateCcw, _t as Building2, b as Pencil, c as TriangleAlert, dt as ChevronUp, ft as ChevronRight, g as Route, ht as Check, jt as locationDistanceMetres, k as MapPin, kt as decideLocationSave, l as Trash2, lt as CircleCheck, m as Search, mt as ChevronDown, n as X, ot as Circle, pt as ChevronLeft, r as WifiOff, tt as Crosshair, u as Store, y as Plus } from "./lucide-react-B4c6U3ZU.mjs";
|
|
5
5
|
import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-DuRUwUrK.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
@@ -553,6 +553,10 @@ function calendarLinks(entry) {
|
|
|
553
553
|
outlookUrl: outlook.toString()
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
|
+
/** A booking keeps its calendar identity when its time changes or a neighbouring date is removed. */
|
|
557
|
+
function customerBookingCalendarUid(identity) {
|
|
558
|
+
return identity.kind === "appointment" ? `appointment-${identity.appointmentId}@riverbankcms.com` : `booking-${identity.bookingId}-${identity.occurrenceId}@riverbankcms.com`;
|
|
559
|
+
}
|
|
556
560
|
//#endregion
|
|
557
561
|
//#region ../../node_modules/.pnpm/@date-fns+tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js
|
|
558
562
|
/**
|
|
@@ -1692,4 +1696,4 @@ function calendarEvent(entry, generatedAt) {
|
|
|
1692
1696
|
};
|
|
1693
1697
|
}
|
|
1694
1698
|
//#endregion
|
|
1695
|
-
export {
|
|
1699
|
+
export { getWeekCalendarDayTuple as _, groupItemsByDate as a, isToday as b, MONTH_NAMES as c, buildCalendarViewport as d, formatCalendarTitle as f, getOrderedDayNames as g, getMonthCalendarDays as h, customerBookingCalendarUid as i, addDays as l, getDayOfWeek as m, TZDate as n, buildTimetableModel as o, formatDateKey as p, calendarLinks as r, DAY_NAMES as s, renderCalendarFeedIcs as t, addMonths as u, getWeekCalendarDays as v, shiftCalendarAnchorDate as x, isSameCalendarDay as y };
|
package/dist/preview-next/client/{useAutosaveStatus-DrdQ4ier.mjs → useAutosaveStatus-CdFnzKac.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as selectAutosaveStatus, Bn as useStore, Jl as Button, Kl as Primitive, jn as selectEditorWriteState, nu as cn, pt as useSessionJournal, ru as useShallow, xn as useEditorUiStore } from "./previewAssistantSlot-
|
|
2
|
+
import { An as selectAutosaveStatus, Bn as useStore, Jl as Button, Kl as Primitive, jn as selectEditorWriteState, nu as cn, pt as useSessionJournal, ru as useShallow, xn as useEditorUiStore } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
3
3
|
import { s as Undo2, v as Redo2 } from "./lucide-react-B4c6U3ZU.mjs";
|
|
4
|
-
import { at as Tooltip, ct as TooltipTrigger, ot as TooltipContent } from "./useOpenBlockForSetup-
|
|
4
|
+
import { at as Tooltip, ct as TooltipTrigger, ot as TooltipContent } from "./useOpenBlockForSetup-B62h7dhR.mjs";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+re_a0767706651230e21f3454caa0ad586a/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $l as createSlottable, Al as Arrow, Bi as systemCustomizeFacetDefinitionsForBlock, Bl as useDirection, Cl as hideOthers, Dl as Presence, El as createRovingFocusGroupScope, En as shouldRevealAllBlockFieldValidation, Fi as resolveArrangementKnobs, Fl as useId$1, Fs as getCuratedSiteStyle, Gi as fieldsNotShownIn, Gl as composeEventHandlers, Hl as useControllableState, Ii as shownKnobValues, Il as FocusScope, Jn as createManifestFormAdapter, Kd as syncStateOf, Kl as Primitive, Ll as useFocusGuards, Lr as getAtPath, Ml as Root2$1, Nl as createPopperScope, Ol as Portal$2, Pa as classPriceItemKinds, Ql as createSlot, Rc as Root$1, Ri as systemCustomizeFacetAppliesToLayoutVariant, Rl as DismissableLayer, Sn as useEditorUiStoreInstance, Su as unavailableSiteFacts, Tl as Root, Vl as createCollection, Wl as createContextScope, Zl as cva, Zs as isThemeV2NormalEditorRawStyleFieldName, _c as augmentManifestWithStyleGroups, _r as createCustomBlockRegistry, _s as sectionPhotoPresence, _u as matchVisibleWhen, ai as getBlockDefinition, br as mergeManifestWithSdkOptions, bs as resolveEditorArrangementLook, bu as unknownBlockObservations, dl as menuTriggerInteractionClassName, ds as decideSectionPhoto, du as matchSummaryPart, eu as composeRefs, fu as placedEditingPaths, hs as sectionPhotoFieldShown, i as usePreviewSidebarNavigation, ii as resolveFieldOwnership, jc as unwrapResponse, jl as Content, js as readStoredMode, jt as useEditorPageTemplate, k as usePreviewRenderReadiness, kl as Anchor, ld as asSiteStyleId, ml as ReactRemoveScroll, ms as sectionPhotoFieldLabel, ni as fieldPathsOwnedBy, nu as cn, o as usePreviewPageDesignEditorState, pl as usePortalContainer, ps as sectionPhotoFieldHint, ql as dispatchDiscreteCustomEvent, ri as isDedicatedStyleField, tu as useComposedRefs, uf as assertNever, ul as menuItemInteractionClassName, uu as editingGroups, vr as mergeBlockDescriptorsWithRegistry, wl as Item, xu as readConditionFact, yr as blockEditingIssues, zl as useCallbackRef } from "./previewAssistantSlot-
|
|
2
|
+
import { $l as createSlottable, Al as Arrow, Bi as systemCustomizeFacetDefinitionsForBlock, Bl as useDirection, Cl as hideOthers, Dl as Presence, El as createRovingFocusGroupScope, En as shouldRevealAllBlockFieldValidation, Fi as resolveArrangementKnobs, Fl as useId$1, Fs as getCuratedSiteStyle, Gi as fieldsNotShownIn, Gl as composeEventHandlers, Hl as useControllableState, Ii as shownKnobValues, Il as FocusScope, Jn as createManifestFormAdapter, Kd as syncStateOf, Kl as Primitive, Ll as useFocusGuards, Lr as getAtPath, Ml as Root2$1, Nl as createPopperScope, Ol as Portal$2, Pa as classPriceItemKinds, Ql as createSlot, Rc as Root$1, Ri as systemCustomizeFacetAppliesToLayoutVariant, Rl as DismissableLayer, Sn as useEditorUiStoreInstance, Su as unavailableSiteFacts, Tl as Root, Vl as createCollection, Wl as createContextScope, Zl as cva, Zs as isThemeV2NormalEditorRawStyleFieldName, _c as augmentManifestWithStyleGroups, _r as createCustomBlockRegistry, _s as sectionPhotoPresence, _u as matchVisibleWhen, ai as getBlockDefinition, br as mergeManifestWithSdkOptions, bs as resolveEditorArrangementLook, bu as unknownBlockObservations, dl as menuTriggerInteractionClassName, ds as decideSectionPhoto, du as matchSummaryPart, eu as composeRefs, fu as placedEditingPaths, hs as sectionPhotoFieldShown, i as usePreviewSidebarNavigation, ii as resolveFieldOwnership, jc as unwrapResponse, jl as Content, js as readStoredMode, jt as useEditorPageTemplate, k as usePreviewRenderReadiness, kl as Anchor, ld as asSiteStyleId, ml as ReactRemoveScroll, ms as sectionPhotoFieldLabel, ni as fieldPathsOwnedBy, nu as cn, o as usePreviewPageDesignEditorState, pl as usePortalContainer, ps as sectionPhotoFieldHint, ql as dispatchDiscreteCustomEvent, ri as isDedicatedStyleField, tu as useComposedRefs, uf as assertNever, ul as menuItemInteractionClassName, uu as editingGroups, vr as mergeBlockDescriptorsWithRegistry, wl as Item, xu as readConditionFact, yr as blockEditingIssues, zl as useCallbackRef } from "./previewAssistantSlot-DcEwU9l_.mjs";
|
|
3
3
|
import { ft as ChevronRight, ht as Check, ot as Circle } from "./lucide-react-B4c6U3ZU.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { createContext, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -952,6 +952,14 @@
|
|
|
952
952
|
min-height: 0;
|
|
953
953
|
overflow: auto;
|
|
954
954
|
}
|
|
955
|
+
|
|
956
|
+
/* A finished booking has nothing left to step through, so the card grows to
|
|
957
|
+
show the whole confirmation, its next steps included. */
|
|
958
|
+
:where(.theme-scope:is(*, :scope))
|
|
959
|
+
:where([data-block='event-registration'].event-registration--embedded)
|
|
960
|
+
.er-container:has(.er-whole-screen) {
|
|
961
|
+
max-height: none;
|
|
962
|
+
}
|
|
955
963
|
}
|
|
956
964
|
}
|
|
957
965
|
@container rb-site (max-width: 1023px) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-
|
|
2
|
+
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-CQfEvfbg.mjs";
|
|
3
3
|
import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
|
|
4
4
|
import { NextResponse } from "next/server";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-
|
|
2
|
+
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-CQfEvfbg.mjs";
|
|
3
3
|
import { NextResponse } from "next/server";
|
|
4
4
|
//#region ../preview-next/src/middleware.ts
|
|
5
5
|
const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
|
|
@@ -4242,6 +4242,35 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
4242
4242
|
}
|
|
4243
4243
|
});
|
|
4244
4244
|
//#endregion
|
|
4245
|
+
//#region ../api/src/portalMembershipEndpointDefinitions.ts
|
|
4246
|
+
/**
|
|
4247
|
+
* Customer portal endpoints for a membership: paying an overdue payment (#1825),
|
|
4248
|
+
* cancelling at the end of the period, and resuming.
|
|
4249
|
+
*/
|
|
4250
|
+
const PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
4251
|
+
portalMembershipPayment: {
|
|
4252
|
+
path: "/portal/memberships/{customerMembershipId}/payment",
|
|
4253
|
+
method: "POST",
|
|
4254
|
+
auth: "public",
|
|
4255
|
+
responseKind: "json",
|
|
4256
|
+
errors: []
|
|
4257
|
+
},
|
|
4258
|
+
portalCancelMembershipAtPeriodEnd: {
|
|
4259
|
+
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
4260
|
+
method: "POST",
|
|
4261
|
+
auth: "public",
|
|
4262
|
+
responseKind: "json",
|
|
4263
|
+
errors: []
|
|
4264
|
+
},
|
|
4265
|
+
portalResumeMembership: {
|
|
4266
|
+
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
4267
|
+
method: "POST",
|
|
4268
|
+
auth: "public",
|
|
4269
|
+
responseKind: "json",
|
|
4270
|
+
errors: []
|
|
4271
|
+
}
|
|
4272
|
+
});
|
|
4273
|
+
//#endregion
|
|
4245
4274
|
//#region ../api/src/clientErrorReporting.ts
|
|
4246
4275
|
const CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({ reportClientError: {
|
|
4247
4276
|
path: "/client/error-report",
|
|
@@ -7498,6 +7527,14 @@ const API_ENDPOINTS = {
|
|
|
7498
7527
|
auth: "public",
|
|
7499
7528
|
responseKind: "text"
|
|
7500
7529
|
},
|
|
7530
|
+
getPublicCourseCalendarIcs: {
|
|
7531
|
+
path: "/public/sites/{siteId}/bookings/courses/{token}/course.ics",
|
|
7532
|
+
method: "GET",
|
|
7533
|
+
tags: ["public-course-calendar-{siteId}"],
|
|
7534
|
+
auth: "public",
|
|
7535
|
+
responseKind: "text",
|
|
7536
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
7537
|
+
},
|
|
7501
7538
|
getPublicAppointmentCalendarIcs: {
|
|
7502
7539
|
path: "/public/sites/{siteId}/bookings/appointments/{token}/appointment.ics",
|
|
7503
7540
|
method: "GET",
|
|
@@ -8575,6 +8612,7 @@ const API_ENDPOINTS = {
|
|
|
8575
8612
|
errors: []
|
|
8576
8613
|
},
|
|
8577
8614
|
...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS,
|
|
8615
|
+
...PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS,
|
|
8578
8616
|
createBookingCustomer: {
|
|
8579
8617
|
path: "/sites/{siteId}/bookings/customers",
|
|
8580
8618
|
method: "POST",
|
|
@@ -9892,19 +9930,6 @@ const API_ENDPOINTS = {
|
|
|
9892
9930
|
auth: "public",
|
|
9893
9931
|
responseKind: "json"
|
|
9894
9932
|
},
|
|
9895
|
-
portalCancelMembershipAtPeriodEnd: {
|
|
9896
|
-
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
9897
|
-
method: "POST",
|
|
9898
|
-
auth: "public",
|
|
9899
|
-
responseKind: "json"
|
|
9900
|
-
},
|
|
9901
|
-
portalResumeMembership: {
|
|
9902
|
-
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
9903
|
-
method: "POST",
|
|
9904
|
-
auth: "public",
|
|
9905
|
-
responseKind: "json",
|
|
9906
|
-
errors: []
|
|
9907
|
-
},
|
|
9908
9933
|
portalSendMagicLink: {
|
|
9909
9934
|
path: "/portal/auth/send-magic-link",
|
|
9910
9935
|
method: "POST",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-
|
|
3
|
-
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-
|
|
4
|
-
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-
|
|
1
|
+
import { Or as readRuntimeNow, Os as toUtcIsoDateTimeString, br as siteHeaderManifest, ht as setContextResolveImageUrlContext, kr as resolveDateRuntimeContext, pt as buildResolveImageUrlContext, t as getBlockDefinition, yr as siteFooterManifest } from "./registry-DD_s7l3Y.mjs";
|
|
2
|
+
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-ALu7y5Dq.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
4
|
+
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-9TOyY5Zf.mjs";
|
|
5
5
|
import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
|
|
6
|
-
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-aR5W1dVF.mjs";
|
|
7
7
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
8
8
|
import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
|
|
9
9
|
import "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as parseColorTokenParts, A as surfaceInkDeclarations, C as SURFACE_INK_CSS_VARS, F as cssVarValue, L as rgbColorValue, M as surfaceInkValue, O as surfaceForegroundValue, S as SURFACE_FOREGROUND_CSS_VARS, et as parseThemeColorToken, k as surfaceForegroundValueWithOpacity, x as DEFAULT_SURFACE_TEXT_COLOR } from "./types-
|
|
2
|
-
import { G as neutralInk, H as resolveConcreteColorHex, R as compositeHex, U as resolveOpaqueSurfaceHex, at as solidPaint, et as ORDINARY_TEXT_MIN_CONTRAST_RATIO, k as SURFACE_SECONDARY_TEXT_TINT_ALPHA, tt as contrastRatio } from "./resolveButtonColourStates-
|
|
3
|
-
import { H as solveSurfaceInks, R as resolveSurfaceForeground, S as BUTTON_LABEL_CLASS, i as prepareSurfaceIndex, j as actionVariableFallback, s as resolveSurface, z as safeTokenOr } from "./accessibleSurfaces-
|
|
4
|
-
import { t as generateLookMediaFrameCss, tn as opaqueSurfaceDeclarations } from "./lookMediaFrame-
|
|
5
|
-
import { c as customCssRuleSchema, s as blockCustomCssRuleSchema } from "./schema-
|
|
1
|
+
import { $ as parseColorTokenParts, A as surfaceInkDeclarations, C as SURFACE_INK_CSS_VARS, F as cssVarValue, L as rgbColorValue, M as surfaceInkValue, O as surfaceForegroundValue, S as SURFACE_FOREGROUND_CSS_VARS, et as parseThemeColorToken, k as surfaceForegroundValueWithOpacity, x as DEFAULT_SURFACE_TEXT_COLOR } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { G as neutralInk, H as resolveConcreteColorHex, R as compositeHex, U as resolveOpaqueSurfaceHex, at as solidPaint, et as ORDINARY_TEXT_MIN_CONTRAST_RATIO, k as SURFACE_SECONDARY_TEXT_TINT_ALPHA, tt as contrastRatio } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { H as solveSurfaceInks, R as resolveSurfaceForeground, S as BUTTON_LABEL_CLASS, i as prepareSurfaceIndex, j as actionVariableFallback, s as resolveSurface, z as safeTokenOr } from "./accessibleSurfaces-CZ7pLuJ7.mjs";
|
|
4
|
+
import { t as generateLookMediaFrameCss, tn as opaqueSurfaceDeclarations } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
5
|
+
import { c as customCssRuleSchema, s as blockCustomCssRuleSchema } from "./schema-ClDfFtz2.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../theme-core/src/cards/decorations.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as parseColorTokenParts, K as hexColorSchema, L as rgbColorValue, W as absoluteInkColors, _ as isFreeButtonRadius, a as createStandardButtonSurfacePolicy, b as VARIANT_ROLES, et as parseThemeColorToken, h as BUTTON_PART_NAMES, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, u as buttonSystemSchema, v as parseButtonPartValue, w as completeSurfaceForegrounds } from "./types-
|
|
2
|
-
import { A as deriveSurfaceDecorationColors, H as resolveConcreteColorHex, I as onColorTokenName, J as paletteInkRoles, K as paletteInk, L as pickBlackOrWhiteTextColor, M as deriveSurfaceMutedColor, N as expandPalette, R as compositeHex, U as resolveOpaqueSurfaceHex, W as inkFrom, X as colourFamily, Y as paletteInkToken, at as solidPaint, ct as hexToRgb, d as generateShadowValue, dt as oklabToSrgb, et as ORDINARY_TEXT_MIN_CONTRAST_RATIO, it as preparePaletteColourIndex, j as deriveSurfaceLineColor, l as ELEVATION_OFFSET, mt as rgbToHex, n as compileButtonColourStates, nt as hexLuminance, o as BORDER_RADIUS_MAP, ot as worstContrast, pt as oklchToOklab, q as paletteInkOnSolid, rt as luminanceInterval, s as BORDER_WIDTH_MAP, st as featuresFromHex, t as buttonStateBorder, tt as contrastRatio, u as FONT_SIZE_MAP } from "./resolveButtonColourStates-
|
|
1
|
+
import { $ as parseColorTokenParts, K as hexColorSchema, L as rgbColorValue, W as absoluteInkColors, _ as isFreeButtonRadius, a as createStandardButtonSurfacePolicy, b as VARIANT_ROLES, et as parseThemeColorToken, h as BUTTON_PART_NAMES, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, u as buttonSystemSchema, v as parseButtonPartValue, w as completeSurfaceForegrounds } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { A as deriveSurfaceDecorationColors, H as resolveConcreteColorHex, I as onColorTokenName, J as paletteInkRoles, K as paletteInk, L as pickBlackOrWhiteTextColor, M as deriveSurfaceMutedColor, N as expandPalette, R as compositeHex, U as resolveOpaqueSurfaceHex, W as inkFrom, X as colourFamily, Y as paletteInkToken, at as solidPaint, ct as hexToRgb, d as generateShadowValue, dt as oklabToSrgb, et as ORDINARY_TEXT_MIN_CONTRAST_RATIO, it as preparePaletteColourIndex, j as deriveSurfaceLineColor, l as ELEVATION_OFFSET, mt as rgbToHex, n as compileButtonColourStates, nt as hexLuminance, o as BORDER_RADIUS_MAP, ot as worstContrast, pt as oklchToOklab, q as paletteInkOnSolid, rt as luminanceInterval, s as BORDER_WIDTH_MAP, st as featuresFromHex, t as buttonStateBorder, tt as contrastRatio, u as FONT_SIZE_MAP } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region ../theme-core/src/surfaces/inkCertificate.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { D as getCuratedSiteStyle, Ft as lookModes, Gt as plainFrame, It as assertNever, Kt as requireNonEmptyReadonlyArray, Lt as defineBlockDesignCapability, P as defaultHeroImageSurfaceTreatment, S as filterLookIdsForPolicy, St as noneBoundaryOption, Vt as designIssueSeverityForPolicy, Yt as toNonEmptyReadonlyArray, _t as boundaryOptionIdForTreatment, a as arrangementStyleAvailability, b as deriveSiteStyleBlockPolicy, c as getCompatibleBlockAppearancePresets, d as resolveLookForBlock, ht as boundaryOptionForTransitionIntent, j as stripCompiledRuntimeStyleFields, k as compilePageRuntimeFields, m as resolveEffectiveArrangement, mt as resolvePageDesignBoundaryChoice, o as automaticArrangementLook, p as readStoredMode, pt as resolvePageDesignBlockLookChoice, qt as sectionBackgroundPaintValues, r as arrangementAppearancePresets, rt as sectionOwnerStyleChoices, s as compileArrangementLookRuntime, u as resolveArrangementLookForBlock, wt as sectionTransitionFamilies, x as filterLayoutProfilesForPolicy, xt as isDecorativeTransitionIntent } from "./lookMediaFrame-
|
|
4
|
-
import { B as makeBoundaryId, L as asLayoutVariantKey, P as asDesignBlockId, k as isArrangementMode, r as sectionStylesOverrideSchema } from "./schema-
|
|
5
|
-
import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-
|
|
1
|
+
import { at as lookFillPartsFromContent, et as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-DmP0HVMu.mjs";
|
|
2
|
+
import { Lr as formatDate, Ta as plainTextToInlineText, ao as boundaryOptionsForStyle, co as resolvePageJoins, ft as systemCustomizeFacetDefinitionsForBlock, lo as siteStyleEdges, mo as resolveSectionBackground, oo as pageFlowDefaultJoinCandidate, po as parseCanonicalRuntimeBackground, ri as resolveDeclaredBlockDesignCapability, so as resolveJoinTreatment, t as getBlockDefinition, uo as pageFlowPresets } from "./registry-DD_s7l3Y.mjs";
|
|
3
|
+
import { D as getCuratedSiteStyle, Ft as lookModes, Gt as plainFrame, It as assertNever, Kt as requireNonEmptyReadonlyArray, Lt as defineBlockDesignCapability, P as defaultHeroImageSurfaceTreatment, S as filterLookIdsForPolicy, St as noneBoundaryOption, Vt as designIssueSeverityForPolicy, Yt as toNonEmptyReadonlyArray, _t as boundaryOptionIdForTreatment, a as arrangementStyleAvailability, b as deriveSiteStyleBlockPolicy, c as getCompatibleBlockAppearancePresets, d as resolveLookForBlock, ht as boundaryOptionForTransitionIntent, j as stripCompiledRuntimeStyleFields, k as compilePageRuntimeFields, m as resolveEffectiveArrangement, mt as resolvePageDesignBoundaryChoice, o as automaticArrangementLook, p as readStoredMode, pt as resolvePageDesignBlockLookChoice, qt as sectionBackgroundPaintValues, r as arrangementAppearancePresets, rt as sectionOwnerStyleChoices, s as compileArrangementLookRuntime, u as resolveArrangementLookForBlock, wt as sectionTransitionFamilies, x as filterLayoutProfilesForPolicy, xt as isDecorativeTransitionIntent } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
4
|
+
import { B as makeBoundaryId, L as asLayoutVariantKey, P as asDesignBlockId, k as isArrangementMode, r as sectionStylesOverrideSchema } from "./schema-ClDfFtz2.mjs";
|
|
5
|
+
import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
6
6
|
import { n as isRecord, s as isRichTextDoc } from "./typeGuards-DZOaGTEv.mjs";
|
|
7
7
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
8
8
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as parseSurfaceTree } from "./accessibleSurfaces-
|
|
2
|
-
import { i as rethrowClientFrameworkSignal, l as isSupportedLoaderEndpoint, o as encodePublicProductCategorySelector, r as findFrameworkSignal, t as materializeEntriesMedia } from "./responseMedia-
|
|
1
|
+
import { r as parseSurfaceTree } from "./accessibleSurfaces-CZ7pLuJ7.mjs";
|
|
2
|
+
import { i as rethrowClientFrameworkSignal, l as isSupportedLoaderEndpoint, o as encodePublicProductCategorySelector, r as findFrameworkSignal, t as materializeEntriesMedia } from "./responseMedia-D6F1tvIm.mjs";
|
|
3
3
|
import { f as parseSiteId, t as publicMapLocationParamsSchema } from "./mapLocation-MDDSubTp.mjs";
|
|
4
4
|
import { a as ApiEnvelopeError, c as unwrapResponse, i as ApiRequestError, l as CLIENT_ERROR_REPORT_ENDPOINT_DEFINITIONS, n as attachResilienceStatusToError, o as extractApiEnvelopeErrorDetails, s as isApiError, t as RiverbankApiError, u as defineEndpointDefinitions } from "./error-f4g44bKx.mjs";
|
|
5
|
-
import { t as SDK_VERSION } from "./version-
|
|
5
|
+
import { t as SDK_VERSION } from "./version-BY48jPoe.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
/**
|
|
8
8
|
* How long a rendered page may hold availability it read through the batch
|
|
@@ -4510,6 +4510,35 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
4510
4510
|
]
|
|
4511
4511
|
}
|
|
4512
4512
|
});
|
|
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
|
+
});
|
|
4513
4542
|
const API_ENDPOINTS$1 = {
|
|
4514
4543
|
...PAGE_SECTION_LOOK_ENDPOINT_DEFINITIONS,
|
|
4515
4544
|
...PAGE_JOURNAL_ENDPOINT_DEFINITIONS,
|
|
@@ -7721,6 +7750,14 @@ const API_ENDPOINTS$1 = {
|
|
|
7721
7750
|
auth: "public",
|
|
7722
7751
|
responseKind: "text"
|
|
7723
7752
|
},
|
|
7753
|
+
getPublicCourseCalendarIcs: {
|
|
7754
|
+
path: "/public/sites/{siteId}/bookings/courses/{token}/course.ics",
|
|
7755
|
+
method: "GET",
|
|
7756
|
+
tags: ["public-course-calendar-{siteId}"],
|
|
7757
|
+
auth: "public",
|
|
7758
|
+
responseKind: "text",
|
|
7759
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
7760
|
+
},
|
|
7724
7761
|
getPublicAppointmentCalendarIcs: {
|
|
7725
7762
|
path: "/public/sites/{siteId}/bookings/appointments/{token}/appointment.ics",
|
|
7726
7763
|
method: "GET",
|
|
@@ -8798,6 +8835,7 @@ const API_ENDPOINTS$1 = {
|
|
|
8798
8835
|
errors: []
|
|
8799
8836
|
},
|
|
8800
8837
|
...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS,
|
|
8838
|
+
...PORTAL_MEMBERSHIP_ENDPOINT_DEFINITIONS,
|
|
8801
8839
|
createBookingCustomer: {
|
|
8802
8840
|
path: "/sites/{siteId}/bookings/customers",
|
|
8803
8841
|
method: "POST",
|
|
@@ -10115,19 +10153,6 @@ const API_ENDPOINTS$1 = {
|
|
|
10115
10153
|
auth: "public",
|
|
10116
10154
|
responseKind: "json"
|
|
10117
10155
|
},
|
|
10118
|
-
portalCancelMembershipAtPeriodEnd: {
|
|
10119
|
-
path: "/portal/memberships/{customerMembershipId}/cancel",
|
|
10120
|
-
method: "POST",
|
|
10121
|
-
auth: "public",
|
|
10122
|
-
responseKind: "json"
|
|
10123
|
-
},
|
|
10124
|
-
portalResumeMembership: {
|
|
10125
|
-
path: "/portal/memberships/{customerMembershipId}/resume",
|
|
10126
|
-
method: "POST",
|
|
10127
|
-
auth: "public",
|
|
10128
|
-
responseKind: "json",
|
|
10129
|
-
errors: []
|
|
10130
|
-
},
|
|
10131
10156
|
portalSendMagicLink: {
|
|
10132
10157
|
path: "/portal/auth/send-magic-link",
|
|
10133
10158
|
method: "POST",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-
|
|
1
|
+
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-BbImAsVs.mjs";
|
|
2
2
|
export { activeThemeSchema, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, contentConfigSchema, deployConfigSchema, fieldSelectOptionSchema, layoutConfigSchema, loaderParamBindingSchema, loaderParamValueSchema, loaderWhenValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkSiteUrlSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sdkWorkflowConfigSchema, sdkWorkflowConfirmationSchema, sdkWorkflowEndpointSchema, sdkWorkflowIdSchema, sdkWorkflowTriggerSchema, sdkWorkflowsSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, syncConfigSchema, themeSourceSchema, validateFieldIdConflicts };
|
package/dist/server/config.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-
|
|
1
|
+
import { ps as isCanonicalRichTextDoc } from "./registry-DD_s7l3Y.mjs";
|
|
2
|
+
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-BbImAsVs.mjs";
|
|
3
3
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
4
4
|
//#region src/config/bindings.ts
|
|
5
5
|
function fieldBinding(path) {
|
|
@@ -13,7 +13,9 @@ const parseWaitlistEntryId = (value) => parseUuidBrand(value, unsafeAsWaitlistEn
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region ../core/src/branded/entitlements.ts
|
|
15
15
|
const unsafeAsEntitlementId = (id) => id;
|
|
16
|
+
const unsafeAsCustomerMembershipId = (id) => id;
|
|
16
17
|
const parseEntitlementId = (value) => parseUuidBrand(value, unsafeAsEntitlementId);
|
|
18
|
+
const parseCustomerMembershipId = (value) => parseUuidBrand(value, unsafeAsCustomerMembershipId);
|
|
17
19
|
//#endregion
|
|
18
20
|
//#region ../core/src/appointment-lifecycle.ts
|
|
19
21
|
const APPOINTMENT_REQUEST_OUTCOME_VALUES = [
|
|
@@ -768,18 +770,14 @@ const portalRegularSessionSchema = exactSchema()(z.object({
|
|
|
768
770
|
trainerName: z.string().nullable(),
|
|
769
771
|
serviceName: z.string().nullable(),
|
|
770
772
|
holdsTime: z.boolean(),
|
|
771
|
-
payment: z.
|
|
772
|
-
kind: z.literal("package"),
|
|
773
|
-
name: z.string().nullable(),
|
|
774
|
-
sessionsLeft: z.number()
|
|
775
|
-
}), z.object({ kind: z.enum(["owed", "payment_link"]) })]), z.object({
|
|
773
|
+
payment: z.object({
|
|
776
774
|
coverage: z.object({ packages: z.array(z.object({
|
|
777
775
|
name: z.string().nullable(),
|
|
778
776
|
sessionsLeft: z.number(),
|
|
779
777
|
forNewSessions: z.boolean()
|
|
780
778
|
})).readonly() }),
|
|
781
779
|
owedFollowUp: z.enum(["direct", "payment_link"])
|
|
782
|
-
})
|
|
780
|
+
}),
|
|
783
781
|
dates: z.array(dateSchema).readonly()
|
|
784
782
|
}));
|
|
785
783
|
exactSchema()(z.object({ arrangements: z.array(portalRegularSessionSchema).readonly() }));
|
|
@@ -1101,7 +1099,7 @@ const eventDetailSchema = exactSchema()(z.object({
|
|
|
1101
1099
|
}));
|
|
1102
1100
|
const courseDetailSchema = exactSchema()(z.object({
|
|
1103
1101
|
eventPath: z.string().nullable(),
|
|
1104
|
-
sessions: z.array(whenSchema).readonly(),
|
|
1102
|
+
sessions: z.array(whenSchema.extend({ calendarUid: z.string() })).readonly(),
|
|
1105
1103
|
nextSessionAt: z.string().nullable(),
|
|
1106
1104
|
ticketLines: z.array(ticketLineSchema).readonly()
|
|
1107
1105
|
}));
|
|
@@ -1200,7 +1198,13 @@ const ENTRY_REASON_PARAMS = {
|
|
|
1200
1198
|
};
|
|
1201
1199
|
/** The query a page's own data puts in its address. */
|
|
1202
1200
|
function targetParams(target) {
|
|
1203
|
-
|
|
1201
|
+
if (target.page === "continue") return ENTRY_REASON_PARAMS[target.reason];
|
|
1202
|
+
return target.page === "membership_payment" && target.invoiceId ? [[INVOICE_PARAM, target.invoiceId]] : [];
|
|
1203
|
+
}
|
|
1204
|
+
const INVOICE_PARAM = "invoice";
|
|
1205
|
+
/** A Stripe invoice id as the payment page keeps it in the address. */
|
|
1206
|
+
function parseInvoiceParam(value) {
|
|
1207
|
+
return value && value.length <= 255 && /^in_[A-Za-z0-9]+$/.test(value) ? value : null;
|
|
1204
1208
|
}
|
|
1205
1209
|
function withQuery(path, params) {
|
|
1206
1210
|
const query = new URLSearchParams(params.map(([name, value]) => [name, value])).toString();
|
|
@@ -1223,6 +1227,7 @@ function targetPath(target) {
|
|
|
1223
1227
|
case "ticket": return `${bookingPath(target.ref)}/ticket`;
|
|
1224
1228
|
case "waitlist_offer": return `${base}/bookings/waitlist/${target.entryId}`;
|
|
1225
1229
|
case "passes": return `${base}/passes`;
|
|
1230
|
+
case "membership_payment": return `${base}/passes/memberships/${target.customerMembershipId}/payment`;
|
|
1226
1231
|
case "payments": return `${base}/payments`;
|
|
1227
1232
|
case "order": return `${base}/payments/orders/${target.orderId}`;
|
|
1228
1233
|
case "receipt": return `${base}/payments/receipts/${target.receiptId}`;
|
|
@@ -1257,6 +1262,15 @@ const CONSUMED_PARAMS = [
|
|
|
1257
1262
|
"portal_login",
|
|
1258
1263
|
"order"
|
|
1259
1264
|
];
|
|
1265
|
+
/**
|
|
1266
|
+
* What Stripe adds to a return address, client secret included: never kept,
|
|
1267
|
+
* whichever page it lands on (the payment page reads its invoice from `invoice`).
|
|
1268
|
+
*/
|
|
1269
|
+
const STRIPE_RETURN_PARAMS = [
|
|
1270
|
+
"payment_intent",
|
|
1271
|
+
"payment_intent_client_secret",
|
|
1272
|
+
"redirect_status"
|
|
1273
|
+
];
|
|
1260
1274
|
/** Continue's own query, which only Continue reads. */
|
|
1261
1275
|
const ENTRY_PARAMS = [
|
|
1262
1276
|
"entry",
|
|
@@ -1305,10 +1319,19 @@ function portalSegments(pathname) {
|
|
|
1305
1319
|
return null;
|
|
1306
1320
|
}
|
|
1307
1321
|
}
|
|
1322
|
+
/** Query a page reads into its route, which the route then writes back (or drops, when it wasn't valid). */
|
|
1323
|
+
function ownParams(route) {
|
|
1324
|
+
if (route.page === "continue") return ENTRY_PARAMS;
|
|
1325
|
+
return route.page === "membership_payment" ? [INVOICE_PARAM] : [];
|
|
1326
|
+
}
|
|
1308
1327
|
function rewriteFor(url, route) {
|
|
1309
1328
|
if (route.page === "not_found") return null;
|
|
1310
1329
|
const kept = new URLSearchParams(url.searchParams);
|
|
1311
|
-
[
|
|
1330
|
+
[
|
|
1331
|
+
...CONSUMED_PARAMS,
|
|
1332
|
+
...STRIPE_RETURN_PARAMS,
|
|
1333
|
+
...ownParams(route)
|
|
1334
|
+
].forEach((name) => kept.delete(name));
|
|
1312
1335
|
const canonical = withQuery(targetPath(route), [...targetParams(route), ...kept.entries()]);
|
|
1313
1336
|
const visited = url.searchParams.toString();
|
|
1314
1337
|
return canonical === `${url.pathname}${visited ? `?${visited}` : ""}` ? null : canonical;
|
|
@@ -1323,7 +1346,7 @@ function routeFromSegments(segments, params) {
|
|
|
1323
1346
|
switch (first) {
|
|
1324
1347
|
case void 0: return { page: "home" };
|
|
1325
1348
|
case "bookings": return bookingsRoute(rest);
|
|
1326
|
-
case "passes": return
|
|
1349
|
+
case "passes": return passesRoute(rest, params);
|
|
1327
1350
|
case "payments": return paymentsRoute(rest);
|
|
1328
1351
|
case "downloads":
|
|
1329
1352
|
case "digital-products": return downloadsRoute(rest);
|
|
@@ -1477,6 +1500,18 @@ const LEGACY_TABS = /* @__PURE__ */ new Map([
|
|
|
1477
1500
|
function legacyTabRoute(value) {
|
|
1478
1501
|
return value === null ? null : LEGACY_TABS.get(value) ?? null;
|
|
1479
1502
|
}
|
|
1503
|
+
function passesRoute(rest, params) {
|
|
1504
|
+
if (rest.length === 0) return { page: "passes" };
|
|
1505
|
+
const [kind, id, action, ...extra] = rest;
|
|
1506
|
+
const membershipId = parseCustomerMembershipId(id);
|
|
1507
|
+
if (kind !== "memberships" || !membershipId.ok || action !== "payment" || extra.length > 0) return NOT_FOUND;
|
|
1508
|
+
const invoiceId = parseInvoiceParam(params.get(INVOICE_PARAM));
|
|
1509
|
+
return {
|
|
1510
|
+
page: "membership_payment",
|
|
1511
|
+
customerMembershipId: membershipId.value,
|
|
1512
|
+
...invoiceId ? { invoiceId } : {}
|
|
1513
|
+
};
|
|
1514
|
+
}
|
|
1480
1515
|
//#endregion
|
|
1481
1516
|
//#region src/portal/constants.ts
|
|
1482
1517
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-
|
|
1
|
+
import { a as resolveBlockData, i as hasRegisteredDataLoaders, n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy, s as warnHostDataLoaderFailure, t as CONFIG_ONLY_BLOCK_DATA_POLICY } from "../resolveBlockData-DnQ2N0lI.mjs";
|
|
2
2
|
export { CONFIG_ONLY_BLOCK_DATA_POLICY, DEFAULT_RESOLVE_BLOCK_DATA_DEPS, createBlockDataLoadPolicy, hasRegisteredDataLoaders, resolveBlockData, resolveBlockDataWithDeps, warnHostDataLoaderFailure };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as parseCanonicalMediaIdentifier, E as mediaIdentifierSchema, O as parseMediaIdentifier, S as resolveManagedMediaReference, _ as runtimeMediaSchema, b as renderableMediaAssetSchema, g as persistableMediaSchema, h as mediaSchema, y as buildRenderableMediaAssetIndex } from "./resolveButtonColourStates-
|
|
2
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as normalizeRuntimePublicPath, d as parsePublishedRuntimeCachePayloadSchemaVersion, f as readsCanonicalPath, g as buildEndpointURL, h as API_ENDPOINTS, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKey, m as siteWideReadPath, n as classifyPublishedRuntimeCacheFreshness, o as decideSiteReadPath, p as siteReadIncludesTermsHistory, r as derivePublishedRuntimeCacheKey, s as isPublishedRuntimeCacheKeyEndpoint, t as createRiverbankClient, u as parsePublishedRuntimeCacheKeyDetails } from "./client-
|
|
1
|
+
import { D as parseCanonicalMediaIdentifier, E as mediaIdentifierSchema, O as parseMediaIdentifier, S as resolveManagedMediaReference, _ as runtimeMediaSchema, b as renderableMediaAssetSchema, g as persistableMediaSchema, h as mediaSchema, y as buildRenderableMediaAssetIndex } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
2
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as normalizeRuntimePublicPath, d as parsePublishedRuntimeCachePayloadSchemaVersion, f as readsCanonicalPath, g as buildEndpointURL, h as API_ENDPOINTS, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKey, m as siteWideReadPath, n as classifyPublishedRuntimeCacheFreshness, o as decideSiteReadPath, p as siteReadIncludesTermsHistory, r as derivePublishedRuntimeCacheKey, s as isPublishedRuntimeCacheKeyEndpoint, t as createRiverbankClient, u as parsePublishedRuntimeCacheKeyDetails } from "./client-BGGlrkft.mjs";
|
|
3
3
|
import { r as getResilienceStatusFromError, t as RiverbankApiError } from "./error-f4g44bKx.mjs";
|
|
4
4
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-BCY9z3oB.mjs";
|
|
5
5
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
6
|
-
import { t as prebuildCache } from "./prebuild-
|
|
6
|
+
import { t as prebuildCache } from "./prebuild-BLL6RhjS.mjs";
|
|
7
7
|
import * as path from "path";
|
|
8
8
|
import * as fs from "fs";
|
|
9
9
|
//#region src/prebuild/loader.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteBlockRenderContext, h as compileManifestContentContract, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as admitTransportedRenderableManifestContent, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-
|
|
1
|
+
import { Qn as registrationDataForEventSelection, er as selectionRepresentativeEvent, kr as resolveDateRuntimeContext, ks as resolveBookingBusinessTimeZone } from "./registry-DD_s7l3Y.mjs";
|
|
2
|
+
import { P as readPublishedBlockPlacement, a as invalidRenderableBlock, d as siteBlockRenderContext, h as compileManifestContentContract, i as collectMediaAssetSidecar, l as resolveSdkBlockManifest, m as admitTransportedRenderableManifestContent, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport, s as readInvalidBlockAdmission, u as sanitizeSdkRuntimeBlockContent } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
3
3
|
import { n as isRecord } from "./typeGuards-DZOaGTEv.mjs";
|
|
4
|
-
import { _ as buildTemplatePageOutline, b as selectBlocksForDeclaredEntrySlot, c as buildBookingPageOutline, l as bookingPageIdentity, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, v as selectTemplateComposition, y as readStoredSectionValues } from "./servicePageContent-
|
|
4
|
+
import { _ as buildTemplatePageOutline, b as selectBlocksForDeclaredEntrySlot, c as buildBookingPageOutline, l as bookingPageIdentity, n as SERVICE_BOOKING_BLOCK_IDS, o as bookingPageFacts, r as buildServiceBookingOutline, s as bookingPageSeedData, t as parseServicePageContent, v as selectTemplateComposition, y as readStoredSectionValues } from "./servicePageContent-CsUerbJ1.mjs";
|
|
5
5
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
6
6
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
7
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
7
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-DnQ2N0lI.mjs";
|
|
8
8
|
//#region ../api/src/publicBookingService.ts
|
|
9
9
|
/** Adapt an admitted service to the catalogue row consumed by booking pickers. */
|
|
10
10
|
function toPublicBookingServiceCatalogueItem(service, categoryId) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-
|
|
1
|
+
import { d as siteBlockRenderContext, i as collectMediaAssetSidecar, n as buildRenderablePageOutline, o as projectRenderablePageOutline, r as buildSiteRenderSupport } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
2
2
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
3
|
-
import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-
|
|
3
|
+
import { a as loadContentFromContentResponseWithDeps, n as isPageContent } from "./loadContent-8H1hHdXo.mjs";
|
|
4
4
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-lMRTfG5Z.mjs";
|
|
5
|
-
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-
|
|
5
|
+
import { n as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, o as resolveBlockDataWithDeps, r as createBlockDataLoadPolicy } from "./resolveBlockData-DnQ2N0lI.mjs";
|
|
6
6
|
//#region src/rendering/helpers/loadPage.ts
|
|
7
7
|
/**
|
|
8
8
|
* Server-side helper to fetch all data needed for <Page> component.
|