@riverbankcms/sdk 0.183.0 → 0.184.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-DjBTJYiF.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-BpXEM2ET.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-Bb3h7KRE.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-DgTRRtl_.d.ts} +13 -1
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-DZQJp_ak.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-Ww1fmd-c.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-BGc7dju6.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-BECaUNYs.d.ts} +2 -2
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-Cc85KVLW.d.ts} +3 -3
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-Cni4jykw.d.ts} +4 -4
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DxxTQ_0V.d.ts} +2 -2
- package/dist/_dts/{index-BxCmCit0.d.ts → index-W9-7djG3.d.ts} +1 -1
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-ukS-Ffem.d.ts} +1 -1
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BlSWTlbD.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-CZz2BoXJ.d.ts} +74180 -73974
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-D12HXnS3.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BteMsSGP.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-aTlOvO3U.d.ts} +15 -7
- package/dist/_dts/{types-BoITy0rA.d.ts → types-Bi7R07RX.d.ts} +6 -2
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-CCcQlRBi.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-Du4aMnWC.d.ts} +13 -15
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-CjCWVmwe.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CFLWxjxR.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-C4LcfwyA.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-DdcmoHqQ.mjs} +1 -1
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-DYGewmvh.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-ZfrUiiiI.mjs} +5 -5
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-pzkGVkgG.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-Ct1B3xI4.mjs} +9 -9
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-DgfNtcgW.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → EventEmbeddedCheckoutStep-CjoaG1zy.mjs} +1 -1
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-KGKkK19N.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-Ba9ezxuC.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-xFKRDLwC.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-Dy36vWHi.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-Dth9L00x.mjs} +108 -45
- package/dist/client/{Page-CgbQZP5g.mjs → Page-DB5KODiu.mjs} +1735 -501
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDVP_HeK.mjs} +2 -2
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-CLgDVzCs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-DRyZ8igu.mjs} +6 -6
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-CqroimVQ.mjs} +745 -557
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BQYRP5xV.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-B7ckDuOC.mjs} +16 -16
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-BeD4650p.mjs} +7 -6
- package/dist/client/bookings.mjs +4 -4
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CA7FirMH.mjs} +2 -2
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-DJ9Aa1m3.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-DdCenbTy.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-BQm06qNw.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-45wPQULN.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-bSv4cc5z.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CwlaMl3W.mjs} +1 -1
- package/dist/client/client.mjs +23 -35
- package/dist/client/{constants-C_8AxMdm.mjs → constants-DXV4KR7l.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-lCPfX-xe.mjs} +13 -3
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-Ce3Gyin_.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-CGcDE9aE.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-DlPfn4YG.mjs} +51 -28
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-CioAdryV.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-Dwt0G6ez.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-B3H9ifOC.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-Do7cAhXb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CsqzgC6v.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-DVDB7hY6.mjs} +4 -4
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-1q2rzSYt.mjs} +3 -3
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-CufPM38H.mjs → gifting-BrXQGX-k.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client--zAjnY5N.mjs} +6 -7
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-CrwHpUJG.mjs} +59 -9
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-CcKdDaQq.mjs} +7 -2
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-DlcDH4bi.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-dMh0Oxli.mjs} +1986 -1170
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BxA1PsdS.mjs} +5 -5
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-D0iRg7p2.mjs} +6 -5
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-Dmuklz0r.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-CBzvgIfg.mjs} +3 -3
- package/dist/client/portal/client.mjs +27 -15
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-DiGibcZI.mjs} +9 -2
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-D9MP8hvH.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-wCz1qcUY.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-D9-fCY6c.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-PJyxXSac.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-B8lrKGPw.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-CI63JVHW.mjs} +689 -569
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-Jt9hDHdh.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-ZSPcJWx1.mjs} +1 -1
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +3 -0
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-_iW9oEYc.mjs} +1 -1
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-CbdJlWOw.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-BqLbzUUn.mjs} +44 -26
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-BT0-zRqN.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-Cws0lnSb.mjs} +1 -1
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-0cNErhJT.mjs} +37 -18
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-COuQ2MhQ.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DqI6U1BS.mjs} +6 -6
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CeVUVzGf.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-B0mjVhZr.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-B_hfgdAP.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-Ct4A6iR1.mjs} +13 -15
- package/dist/client/{view-4gnPcpWJ.mjs → view-Cj151w4m.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-B3gsXNnb.mjs} +212 -68
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-Dv4CW0AQ.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-B7WW58uE.mjs} +1095 -282
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-BnJ1ughv.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-C7qWzAe4.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-CYi4UHtG.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DrUoRNu9.mjs} +6239 -2558
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-CEYp90mM.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DnO2_c0A.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-B3PwHw2z.mjs} +16 -10
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-DrdQ4ier.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-kuGRKaRL.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +150 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CwrXkLT3.mjs} +16 -28
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-C5ucphCJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-DvbqYXdK.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CAcf1lHT.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-DjcsqjCK.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-CFw4M-gZ.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-D0XCgITW.mjs} +26 -34
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-BZduY8jG.mjs} +9 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-C-qyB8Tq.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BpKKmi8E.mjs} +3 -3
- package/dist/server/lookMediaFrame-EFws7tAj.mjs +31835 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-DYkuiNXa.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-DmZn4xUE.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DRB7cUZ0.mjs} +595 -208
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-Uv1xDieJ.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-BdQF875z.mjs} +596 -383
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-CwcWZL7u.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-BQ8qiQnk.mjs} +22 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-B51QZVNe.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-CppDAfJW.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-Bf4W8Qa7.mjs} +1499 -28631
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DMHAZooQ.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-BMtAAPzp.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-DKYfR518.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-DGaihVwp.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CRvmreX7.mjs} +8 -7
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-mcy2E1Yd.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-B2qFOUwZ.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-C_S0pWbR.mjs} +9 -2
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-CUtNT_EZ.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-DebJQ4zn.mjs} +1 -1
- package/dist/styles/index.css +495 -50
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-B8lrKGPw.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { An as formatCurrencyAmount, Cn as toUtcIsoDateTimeString, D as isBookingRequirementConsentFieldId, Fn as unsafeAsAppointmentResourceId, In as unsafeAsAppointmentServiceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Zt as hasText, a as clearWorkflowFeedback, an as formatDateTimeRange, cn as formatTime, dn as inferSiteDateLocale, fn as resolveBookingDisplayContext, i as okWith, n as err, nn as formatDate, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever, un as formatTimeZoneCityLabel, wn as resolveBookingBusinessTimeZone } from "./src-Do_s2lqH.mjs";
|
|
3
|
-
import { $i as resolveDefaultBookingServiceId, $r as formatValidity, Aa as bookingHasPackagePaymentChoices, Ba as resolveBookingPurchasablePackages, Bi as getBookingSuccessCopy, Da as BOOKING_FORM_DATA_RESERVED_KEYS, Fa as resolveBookingPackagePaymentSelection, Fi as buildBookingFormInteractiveIslandProps, Gi as normalizeBookingFormConfig, Ha as getBookingServiceSlidingScale, Ia as resolveBookingPackageSources, Ii as readOverrideServiceCategories, Ji as prepareBookingSubmission,
|
|
4
|
-
import { f as unsafeAsCustomerPassId, p as unsafeAsPassId } from "./portalRoutes-
|
|
3
|
+
import { $i as resolveDefaultBookingServiceId, $r as formatValidity, Aa as bookingHasPackagePaymentChoices, Ba as resolveBookingPurchasablePackages, Bi as getBookingSuccessCopy, Da as BOOKING_FORM_DATA_RESERVED_KEYS, Ec as unsafeAsSiteId, Fa as resolveBookingPackagePaymentSelection, Fi as buildBookingFormInteractiveIslandProps, Gi as normalizeBookingFormConfig, Ha as getBookingServiceSlidingScale, Ia as resolveBookingPackageSources, Ii as readOverrideServiceCategories, Ji as prepareBookingSubmission, Ki as normalizeBookingServices, La as resolveBookingPaymentAvailability, Li as deriveBookingFormViewState, Ma as bookingPackageRequestKey, Ms as resolveDateRuntimeContext, Na as bookingRequiresResourceSelection, Pa as reconcileBookingPackagePurchase, Pr as createSignInReturnDraftStore, Qi as resolveBookingSiteId, Ra as resolveBookingPaymentChoice, Ri as formatBookingSubmissionPreparationError, Sa as toBookingQuestionsAnswerDraft, Ta as formatCentsAsCurrencyInput, Ui as isBookingServiceSlidingAmountInRange, Va as toBookingPurchasablePackages, Wi as isSameOpenCheckout, Xi as resolveBookingPaymentStep, Xs as formatCreditProductPayment, Yi as resolveAppointmentCheckoutVerificationState, Ys as formatCreditProductBalance, Zi as resolveBookingSelectedService, Zr as formatCommercePrice, Zs as formatCreditProductUnits, _a as decideBookingQuestionsRestoration, aa as resolveSelectedAppointmentConsent, ac as resolveBookingSignupOffer, ao as leavePage, ca as appointmentQuestionsRefusal, da as needsAppointmentQuestionsRefresh, dt as paymentChoiceDetails, ea as resolveLowestBookingPaymentStep, fa as resolveSelectedAppointmentQuestions, ft as paymentChoicePrice, ga as bookingQuestionsTabDraftSchema, gt as createBookingBrowserDraftStore, ha as bookingQuestionsOwnerSchema, ia as projectSelectedAppointmentConsentIntoForm, ja as bookingPackagePurchaseId, js as readRuntimeNow, ka as applyBookingPaymentAdmission, la as deriveAppointmentBookingQuestions, lo as bookingPresentation, lt as buildBookingPaymentSelectionViewModel, ma as bookingQuestionsOwnerOf, mr as isEmailAddress, na as snapshotBookingShownTerms, oa as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, pa as bookingQuestionsAnswerDraftSchema, qi as parseBookingCurrencyInputToCents, qs as repriceBookingCollectionOptions, ra as toSelectedCollectionOptionKind, sa as applyAppointmentBookingQuestionsEvent, st as onlineBookingUnavailableMessage, ta as selectedBookingCollectionOptionKind, ua as isAppointmentBookingQuestionsEvent, ut as buildReviewedBookingPaymentViewModel, wa as toBookingQuestionsTabDraft, xa as restoreBookingQuestionsAnswers, ya as isBookingQuestionsOwner, za as resolveBookingPaymentMode, zi as getBookingRedirectStateFromLocation } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { f as unsafeAsCustomerPassId, p as unsafeAsPassId } from "./portalRoutes-DiGibcZI.mjs";
|
|
5
5
|
import { c as checkBookingQuestionsAnswered, h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDVP_HeK.mjs";
|
|
7
7
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
8
|
-
import { o as clientPersonPhrases, r as OptionalMark } from "./BookingQuestionFields-
|
|
9
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
10
|
-
import { c as logger } from "./islands-
|
|
11
|
-
import {
|
|
12
|
-
import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-
|
|
13
|
-
import { i as discountEmailProblem, m as DiscountCodeDisclosure, p as NavigationHandOffPanel, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
14
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
8
|
+
import { o as clientPersonPhrases, r as OptionalMark } from "./BookingQuestionFields-DdcmoHqQ.mjs";
|
|
9
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-lCPfX-xe.mjs";
|
|
10
|
+
import { c as logger } from "./islands-dMh0Oxli.mjs";
|
|
11
|
+
import { D as SpinnerNode, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
12
|
+
import { n as BookingPanelArrangement, t as StepIndicator } from "./StepIndicator-CLgDVzCs.mjs";
|
|
13
|
+
import { i as discountEmailProblem, m as DiscountCodeDisclosure, p as NavigationHandOffPanel, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-pzkGVkgG.mjs";
|
|
14
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CwlaMl3W.mjs";
|
|
15
15
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
16
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
16
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
|
|
17
17
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
18
18
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
19
19
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
20
|
-
import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, i as SignInNotice, l as useBookingNowIso, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, s as usePolling, t as BookingMailingListNote, u as portalSessionIdentity } from "./BookingMailingListNote-
|
|
21
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
22
|
-
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-
|
|
23
|
-
import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-
|
|
24
|
-
import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-
|
|
20
|
+
import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, i as SignInNotice, l as useBookingNowIso, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, s as usePolling, t as BookingMailingListNote, u as portalSessionIdentity } from "./BookingMailingListNote-C4LcfwyA.mjs";
|
|
21
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-B_hfgdAP.mjs";
|
|
22
|
+
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-B0mjVhZr.mjs";
|
|
23
|
+
import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-Ce3Gyin_.mjs";
|
|
24
|
+
import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-Cws0lnSb.mjs";
|
|
25
25
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
26
26
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
27
27
|
import { z } from "zod";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as BookingFormClient } from "./booking-form.client-B7ckDuOC.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-lCPfX-xe.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-B8lrKGPw.mjs";
|
|
5
|
+
import { t as resolveFormPortalToken } from "./portalSession-0XhXyTxT.mjs";
|
|
5
6
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
7
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-ZSPcJWx1.mjs";
|
|
7
8
|
import "react";
|
|
8
9
|
import { jsx } from "react/jsx-runtime";
|
|
9
10
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
|
10
11
|
const decode = defineIslandPropsDecoder("booking-form");
|
|
11
|
-
const enhance = (root, props) => {
|
|
12
|
+
const enhance = async (root, props) => {
|
|
12
13
|
const { apiBaseUrl, portalToken } = props;
|
|
13
14
|
if (!props.render.hydration.formId) throw new Error("[sdk:islands] booking-form requires formId");
|
|
14
15
|
const siteId = props.siteId;
|
|
@@ -19,7 +20,7 @@ const enhance = (root, props) => {
|
|
|
19
20
|
...buildRouteIslandApiConfig({
|
|
20
21
|
apiBaseUrl,
|
|
21
22
|
readAuthority: props.readAuthority,
|
|
22
|
-
portalToken,
|
|
23
|
+
portalToken: await resolveFormPortalToken(portalToken),
|
|
23
24
|
siteId
|
|
24
25
|
}),
|
|
25
26
|
pageNavigation: props.render.hydration.pageNavigation
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { S as publicEventSchema, t as assertNever } from "./src-Do_s2lqH.mjs";
|
|
3
|
-
import { $ as deriveEventRegistrationSteps, Gi as normalizeBookingFormConfig, Hr as resolveRegistrationDisplay, Ki as normalizeBookingServices, Oa as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Tr as getSingleSelectedPricingOptionId, at as toHeadlessPaymentSelection, it as resolveHeadlessEventRegistrationView, js as readRuntimeNow, nt as resolveEventRegistrationSubmitPlan, ot as toInternalPaymentSelection, rt as resolveHeadlessEventRegistrationStatus, to as createHostedBlockApiConfig, tt as normalizeEventRegistrationMaxTickets, vi as normalizeEventRegistrationPageSurfaceSubject, yo as resolveRuntimeEventDestination, yt as entryChoosesEvent } from "./wizardSteps-
|
|
4
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
5
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
3
|
+
import { $ as deriveEventRegistrationSteps, Gi as normalizeBookingFormConfig, Hr as resolveRegistrationDisplay, Ki as normalizeBookingServices, Oa as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Tr as getSingleSelectedPricingOptionId, at as toHeadlessPaymentSelection, it as resolveHeadlessEventRegistrationView, js as readRuntimeNow, nt as resolveEventRegistrationSubmitPlan, ot as toInternalPaymentSelection, rt as resolveHeadlessEventRegistrationStatus, to as createHostedBlockApiConfig, tt as normalizeEventRegistrationMaxTickets, vi as normalizeEventRegistrationPageSurfaceSubject, yo as resolveRuntimeEventDestination, yt as entryChoosesEvent } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-B7ckDuOC.mjs";
|
|
5
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-Dth9L00x.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-lCPfX-xe.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
9
9
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { xs as asPartialObject } from "./wizardSteps-
|
|
3
|
-
import {
|
|
2
|
+
import { xs as asPartialObject } from "./wizardSteps-B3gsXNnb.mjs";
|
|
3
|
+
import { An as boxlessCardVariantValue, Dn as boxBackgroundSchema, En as boxBackgroundOverlaySchema, Mn as cardVariantRoleValues, Nn as itemRoleValues, On as runtimeBoxBackgroundSchema, Pn as openCardRoleValue } from "./islands-dMh0Oxli.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
z.enum(itemRoleValues);
|
|
6
6
|
z.enum(cardVariantRoleValues);
|
|
@@ -151,9 +151,16 @@ const PALETTE_TOKEN_NAMES = [
|
|
|
151
151
|
"border"
|
|
152
152
|
];
|
|
153
153
|
const paletteTokenNameSchema = z.enum(PALETTE_TOKEN_NAMES);
|
|
154
|
+
/** Fixed solver endpoints, distinct from the palette-local legacy `white`. Not picker options. */
|
|
155
|
+
const absoluteInkColors = {
|
|
156
|
+
absoluteBlack: "#000000",
|
|
157
|
+
absoluteWhite: "#ffffff"
|
|
158
|
+
};
|
|
154
159
|
const themeColorBaseTokenNames = [
|
|
155
160
|
...PALETTE_TOKEN_NAMES,
|
|
156
161
|
...blockColorTokenNames,
|
|
162
|
+
"absoluteBlack",
|
|
163
|
+
"absoluteWhite",
|
|
157
164
|
"white",
|
|
158
165
|
"neutral",
|
|
159
166
|
"primaryText",
|
|
@@ -181,7 +188,7 @@ function isKnownShadeToken(value) {
|
|
|
181
188
|
const match = value.match(/^([a-zA-Z][a-zA-Z0-9]*)(?:-([0-9]{2,3}))$/);
|
|
182
189
|
if (!match) return false;
|
|
183
190
|
const [, base, shade] = match;
|
|
184
|
-
return Boolean(base && shade && isKnownBaseToken(base) && shadeStepSet.has(shade));
|
|
191
|
+
return Boolean(base && shade && isKnownBaseToken(base) && !(base in absoluteInkColors) && shadeStepSet.has(shade));
|
|
185
192
|
}
|
|
186
193
|
function isThemeColorTokenBase(value) {
|
|
187
194
|
return isKnownBaseToken(value) || isKnownShadeToken(value);
|
|
@@ -1508,4 +1515,4 @@ function buttonPartsCss(variant, selector, paint) {
|
|
|
1508
1515
|
].join("\n\n");
|
|
1509
1516
|
}
|
|
1510
1517
|
//#endregion
|
|
1511
|
-
export {
|
|
1518
|
+
export { isThemeColorToken as A, VARIANT_ROLES as B, parseOpaqueButtonColourToken as C, absoluteInkColors as D, PALETTE_TOKEN_NAMES as E, paletteModeSchema as F, parseColorTokenParts as I, parseThemeColorToken as L, paletteColorEntries as M, paletteColorsFromEntries as N, blockColorTokenNames as O, paletteColorsSchema as P, themeColorTokenSchema as R, opaqueButtonColourTokenSchema as S, isFreeButtonRadius as T, buttonEffectApplicationSchema as _, partOwnedPseudoElements as a, buttonVariantIdSchema as b, STANDARD_BUTTON_SURFACE_POLICY as c, createStandardButtonSurfacePolicy as d, isVariantRole as f, actionVariablePrefix as g, actionVariableName as h, buttonShadowLayersValue as i, normalizePaletteHex as j, hexColorSchema as k, asSpecialVariantId as l, actionVariableFallback as m, BUTTON_LABEL_CLASS as n, affordanceIconMaskUrl as o, unsafeAsOpaqueButtonColourToken as p, buttonPartsCss as r, DEFAULT_VARIANT_ALIAS_ID as s, BUTTON_LABEL_ATTRIBUTE as t, buttonSizeNameSchema as u, buttonPressOffsetSchema as v, buttonKeyframesSchema as w, buttonVisualStatesSchema as x, buttonSystemSchema as y, SYSTEM_BLOCK_KINDS as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-B8lrKGPw.mjs";
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { O as clsx } from "./ThemedButton-C4rCsPCt.mjs";
|
|
3
3
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
4
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-B8lrKGPw.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-BQm06qNw.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-COuQ2MhQ.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-BqLbzUUn.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-B8lrKGPw.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-bSv4cc5z.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-COuQ2MhQ.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-BqLbzUUn.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 { io as canonicalUrl } from "./wizardSteps-
|
|
2
|
+
import { io as canonicalUrl } from "./wizardSteps-B3gsXNnb.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 { cr as publicMapLocationParamsSchema } from "./registry.server-
|
|
2
|
+
import { Tc as parseSiteId } from "./wizardSteps-B3gsXNnb.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-DB5KODiu.mjs";
|
|
4
|
+
import { cr as publicMapLocationParamsSchema } from "./registry.server-CI63JVHW.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-_iW9oEYc.mjs";
|
|
7
7
|
import { useEffect, useState } from "react";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
/**
|
|
@@ -855,8 +855,7 @@ const arrangementScheduleCommandSchema = z.discriminatedUnion("kind", [z.object(
|
|
|
855
855
|
weekday,
|
|
856
856
|
localStart,
|
|
857
857
|
effectiveFrom: localDate,
|
|
858
|
-
bookAhead: z.number().int().min(0).max(52)
|
|
859
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
858
|
+
bookAhead: z.number().int().min(0).max(52)
|
|
860
859
|
}).strict()]);
|
|
861
860
|
const arrangementEndSchema = z.discriminatedUnion("kind", [
|
|
862
861
|
z.object({ kind: z.literal("open") }).strict(),
|
|
@@ -869,17 +868,14 @@ const arrangementEndSchema = z.discriminatedUnion("kind", [
|
|
|
869
868
|
sessions: z.number().int().min(1).max(1e4)
|
|
870
869
|
}).strict()
|
|
871
870
|
]);
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
z.
|
|
879
|
-
|
|
880
|
-
sendOffsetMinutes: z.number().int().min(1).max(525600)
|
|
881
|
-
}).strict()
|
|
882
|
-
]);
|
|
871
|
+
/**
|
|
872
|
+
* How a session no package covers gets chased. What pays for each session isn't chosen: it uses a
|
|
873
|
+
* package the client holds that covers it, soonest-expiring first.
|
|
874
|
+
*/
|
|
875
|
+
const arrangementOwedFollowUpSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("direct") }).strict(), z.object({
|
|
876
|
+
kind: z.literal("payment_link"),
|
|
877
|
+
sendOffsetMinutes: z.number().int().min(1).max(525600)
|
|
878
|
+
}).strict()]);
|
|
883
879
|
z.object({
|
|
884
880
|
effectiveFrom: localDate,
|
|
885
881
|
pattern: arrangementPatternSchema
|
|
@@ -897,17 +893,15 @@ const createClientArrangementSchema = z.object({
|
|
|
897
893
|
timezone: z.string().min(1),
|
|
898
894
|
holdsTime: z.boolean(),
|
|
899
895
|
end: arrangementEndSchema,
|
|
900
|
-
|
|
896
|
+
owedFollowUp: arrangementOwedFollowUpSchema,
|
|
901
897
|
schedule: arrangementSetUpScheduleSchema,
|
|
902
|
-
bookAhead: z.number().int().min(0).max(52)
|
|
903
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
898
|
+
bookAhead: z.number().int().min(0).max(52)
|
|
904
899
|
}).strict();
|
|
905
900
|
/** The UI selects the next N dates from get.dates, then retains this body for retry. */
|
|
906
901
|
const bookNextArrangementSchema = z.object({
|
|
907
902
|
...operation,
|
|
908
903
|
confirmation: z.string().optional(),
|
|
909
|
-
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once.")
|
|
910
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
904
|
+
occurrenceDates: z.array(localDate).min(1).max(52).refine((values) => new Set(values).size === values.length, "Choose each date once.")
|
|
911
905
|
}).strict();
|
|
912
906
|
const arrangementAwaySchema = z.object({
|
|
913
907
|
...operation,
|
|
@@ -922,10 +916,8 @@ const arrangementChangeFromSchema = z.object({
|
|
|
922
916
|
const arrangementOneWeekSchema = z.object({
|
|
923
917
|
...operation,
|
|
924
918
|
occurrenceDate: localDate,
|
|
925
|
-
startAt: z.iso.datetime({ offset: true })
|
|
926
|
-
|
|
927
|
-
bookShortfallAsOwed: z.boolean().default(false)
|
|
928
|
-
}).strict().refine((value) => Date.parse(value.endAt) > Date.parse(value.startAt), "Choose an end after the start.");
|
|
919
|
+
startAt: z.iso.datetime({ offset: true })
|
|
920
|
+
}).strict();
|
|
929
921
|
/**
|
|
930
922
|
* Ending all of it, or one day: that day stops after `lastDate`, its bookings after then are
|
|
931
923
|
* cancelled, and the other days carry on.
|
|
@@ -950,7 +942,7 @@ const arrangementEditSchema = z.object({
|
|
|
950
942
|
expectedUpdatedAt: z.string().min(1),
|
|
951
943
|
serviceId: z.string().uuid(),
|
|
952
944
|
holdsTime: z.boolean(),
|
|
953
|
-
|
|
945
|
+
owedFollowUp: arrangementOwedFollowUpSchema
|
|
954
946
|
}).strict();
|
|
955
947
|
z.discriminatedUnion("kind", [
|
|
956
948
|
z.object({
|
|
@@ -1102,11 +1094,7 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
|
|
|
1102
1094
|
outcome: z.literal("refused"),
|
|
1103
1095
|
appointmentId: z.string().optional()
|
|
1104
1096
|
}), z.discriminatedUnion("code", [
|
|
1105
|
-
z.object({ code: z.enum([
|
|
1106
|
-
"package_shortfall",
|
|
1107
|
-
"not_available",
|
|
1108
|
-
"client_not_found"
|
|
1109
|
-
]) }),
|
|
1097
|
+
z.object({ code: z.enum(["not_available", "client_not_found"]) }),
|
|
1110
1098
|
z.object({
|
|
1111
1099
|
code: z.literal("clash"),
|
|
1112
1100
|
customerFirstName: z.string().nullable(),
|
|
@@ -11966,7 +11954,7 @@ var SimpleCache = class {
|
|
|
11966
11954
|
//#endregion
|
|
11967
11955
|
//#region src/request-options.ts
|
|
11968
11956
|
/** Every API client the SDK creates sends its version as `x-sdk-version`. */
|
|
11969
|
-
const sdkRequestOptions = { sdkVersion: "0.
|
|
11957
|
+
const sdkRequestOptions = { sdkVersion: "0.184.0" };
|
|
11970
11958
|
//#endregion
|
|
11971
11959
|
//#region src/public-api/runtime.ts
|
|
11972
11960
|
const PUBLIC_ENDPOINT_NAMES = [
|
|
@@ -13365,7 +13353,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
13365
13353
|
const result = await reader({
|
|
13366
13354
|
cacheKey: plan.cacheKey,
|
|
13367
13355
|
endpoint: plan.endpoint,
|
|
13368
|
-
payloadSchemaVersion:
|
|
13356
|
+
payloadSchemaVersion: 10
|
|
13369
13357
|
});
|
|
13370
13358
|
if (result.kind === "miss") return {
|
|
13371
13359
|
kind: "miss",
|
|
@@ -13414,7 +13402,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
13414
13402
|
payload,
|
|
13415
13403
|
siteId: plan.siteId ?? getRuntimePayloadSiteId(payload),
|
|
13416
13404
|
...publishedCacheLifetime(plan, payload),
|
|
13417
|
-
payloadSchemaVersion:
|
|
13405
|
+
payloadSchemaVersion: 10,
|
|
13418
13406
|
writeReason: "live_success"
|
|
13419
13407
|
});
|
|
13420
13408
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Gs as
|
|
2
|
+
import { Gs as bookingCollectionDatesOpen, Ks as flexibleBalanceDueDay, bc as publicEventPricingDisplay, nc as resolveWholeSeriesPaymentDates, pc as getBookingInstalmentProtectedDepositAmountCents } from "./wizardSteps-B3gsXNnb.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/events/domain/depositOffer.ts
|
|
4
4
|
const NO_DEPOSIT = { kind: "none" };
|
|
5
5
|
/**
|
|
@@ -1650,13 +1650,14 @@ function encodePublicProductCategorySelector(selector) {
|
|
|
1650
1650
|
* field detail, or when what it carried was not a well-formed field error list.
|
|
1651
1651
|
*/
|
|
1652
1652
|
var BlockApiError = class extends Error {
|
|
1653
|
-
constructor(message, status, code, tag, fieldErrors = [], giftCardExpiry) {
|
|
1653
|
+
constructor(message, status, code, tag, fieldErrors = [], giftCardExpiry, organiserContact) {
|
|
1654
1654
|
super(message);
|
|
1655
1655
|
this.status = status;
|
|
1656
1656
|
this.code = code;
|
|
1657
1657
|
this.tag = tag;
|
|
1658
1658
|
this.fieldErrors = fieldErrors;
|
|
1659
1659
|
this.giftCardExpiry = giftCardExpiry;
|
|
1660
|
+
this.organiserContact = organiserContact;
|
|
1660
1661
|
this.name = "BlockApiError";
|
|
1661
1662
|
}
|
|
1662
1663
|
};
|
|
@@ -1702,7 +1703,9 @@ function getBlockApiErrorDetails(data) {
|
|
|
1702
1703
|
const message = typeof nestedError?.message === "string" ? nestedError.message : typeof data.message === "string" ? data.message : void 0;
|
|
1703
1704
|
const code = typeof nestedError?.code === "string" ? nestedError.code : typeof data.code === "string" ? data.code : void 0;
|
|
1704
1705
|
const fieldErrors = fieldErrorsFromUnknown(nestedError?.fieldErrors) ?? fieldErrorsFromUnknown(data.fieldErrors);
|
|
1706
|
+
const contact = organiserContactSchema.safeParse(nestedError?.organiserContact);
|
|
1705
1707
|
return {
|
|
1708
|
+
organiserContact: contact.success ? contact.data : void 0,
|
|
1706
1709
|
message,
|
|
1707
1710
|
code,
|
|
1708
1711
|
tag: typeof nestedError?.tag === "string" ? nestedError.tag : void 0,
|
|
@@ -1729,7 +1732,8 @@ async function extractErrorDetails(response) {
|
|
|
1729
1732
|
code: details.code,
|
|
1730
1733
|
tag: details.tag,
|
|
1731
1734
|
fieldErrors: details.fieldErrors,
|
|
1732
|
-
giftCardExpiry: details.giftCardExpiry
|
|
1735
|
+
giftCardExpiry: details.giftCardExpiry,
|
|
1736
|
+
organiserContact: details.organiserContact
|
|
1733
1737
|
};
|
|
1734
1738
|
}
|
|
1735
1739
|
case "invalid-json": return { message: `${fallbackMessage} (received invalid JSON)` };
|
|
@@ -1887,7 +1891,7 @@ function createBlockApi(config) {
|
|
|
1887
1891
|
const response = timeoutMs === void 0 ? await fetch(url, fetchOptions) : await fetchWithTimeout(url, fetchOptions, timeoutMs);
|
|
1888
1892
|
if (!response.ok) {
|
|
1889
1893
|
const details = await extractErrorDetails(response);
|
|
1890
|
-
throw new BlockApiError(details.message, response.status, details.code, details.tag, details.fieldErrors, details.giftCardExpiry);
|
|
1894
|
+
throw new BlockApiError(details.message, response.status, details.code, details.tag, details.fieldErrors, details.giftCardExpiry, details.organiserContact);
|
|
1891
1895
|
}
|
|
1892
1896
|
return readSuccessfulResponse(response, decoder);
|
|
1893
1897
|
};
|
|
@@ -2250,9 +2254,14 @@ function protectedFormBody({ authorization, ...data }) {
|
|
|
2250
2254
|
}
|
|
2251
2255
|
};
|
|
2252
2256
|
}
|
|
2257
|
+
const organiserContactSchema = z.object({
|
|
2258
|
+
email: z.string().nullable(),
|
|
2259
|
+
phone: z.string().nullable()
|
|
2260
|
+
}).nullable().optional();
|
|
2253
2261
|
const occurrenceId = z.string().min(1);
|
|
2254
2262
|
/** The same endpoint answers a dates subject with the server's funding plan; the block renders it as sent. */
|
|
2255
2263
|
const selectionFundingResponseSchema = z.object({
|
|
2264
|
+
organiserContact: organiserContactSchema,
|
|
2256
2265
|
subject: z.object({
|
|
2257
2266
|
kind: z.literal("dates"),
|
|
2258
2267
|
occurrenceIds: z.tuple([occurrenceId]).rest(occurrenceId).readonly()
|
|
@@ -2264,6 +2273,7 @@ const selectionFundingResponseSchema = z.object({
|
|
|
2264
2273
|
const eventSeriesId = z.string().min(1);
|
|
2265
2274
|
/** And a runs subject with how those runs can be paid. */
|
|
2266
2275
|
const runsSelectionPaymentResponseSchema = z.object({
|
|
2276
|
+
organiserContact: organiserContactSchema,
|
|
2267
2277
|
subject: z.object({
|
|
2268
2278
|
kind: z.literal("runs"),
|
|
2269
2279
|
eventSeriesIds: z.tuple([eventSeriesId]).rest(eventSeriesId).readonly()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as BlockApiError } from "./context-
|
|
2
|
+
import { i as BlockApiError } from "./context-lCPfX-xe.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 { Gr as buildCartDisplay } from "./wizardSteps-
|
|
4
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { _n as staticHeaderChromeRuntime } from "./newsletter-form.interactive-D0iRg7p2.mjs";
|
|
3
|
+
import { Gr as buildCartDisplay } from "./wizardSteps-B3gsXNnb.mjs";
|
|
4
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
5
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
6
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
6
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-BT0-zRqN.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";
|