@riverbankcms/sdk 0.178.0 → 0.180.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 +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DC_AvZwy.d.ts} +1 -1
- package/dist/_dts/{Page-C9i27wZA.d.ts → Page-DQOxVtp3.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-DrLgY9_f.d.ts} +3 -2
- package/dist/_dts/{client-BnYN6XsH.d.ts → client-BP7VBRvs.d.ts} +281 -72
- package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-1-K2qi__.d.ts} +2 -2
- package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-Dfqz0Tcu.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CSfAqmry.d.ts} +2 -2
- package/dist/_dts/{index-BE9dWIsr.d.ts → index-B0_2-65A.d.ts} +3 -3
- package/dist/_dts/{index-0HFgCnGz.d.ts → index-BeM5Ylwf.d.ts} +5 -3
- package/dist/_dts/{index-D9-N1d9v.d.ts → index-Blrw2oVk.d.ts} +1 -1
- package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CB5Csefo.d.ts} +2 -2
- package/dist/_dts/{index-nnEdgc3Z.d.ts → index-DCcxLa8p.d.ts} +4 -2
- package/dist/_dts/{index-DCa-8TEY.d.ts → index-DQBGwBPx.d.ts} +1 -1
- package/dist/_dts/{index-CKDRr54L.d.ts → index-DQr358-m.d.ts} +4 -4
- package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-BG2tLGXj.d.ts} +15 -13
- package/dist/_dts/{request-B20VRWHH.d.ts → request-P08l6mkr.d.ts} +3641 -994
- package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-BDHc8lFs.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-Y3IZBbtL.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- 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 +7 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- 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 +16 -8
- 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 +3 -3
- 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 +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +19 -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-BvtNagjw.d.ts +583 -0
- package/dist/_dts/{types-CYcd15BQ.d.ts → types-BrK6SS5c.d.ts} +9 -7
- package/dist/_dts/{types-CMZ5mkpv.d.ts → types-DpEAnP4F.d.ts} +10 -39
- package/dist/_dts/{types-rm2M4LGx.d.ts → types-HAy1-Jjo.d.ts} +3 -3
- package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-D6q3tOBA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-DJSmdNUJ.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-CGxg37zx.mjs} +92 -60
- package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-DXegGSnS.mjs} +26 -5
- package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-VfP50sYm.mjs} +42 -9
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-0Ua44F1j.mjs} +13 -8
- package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-CrpiyDSP.mjs} +10 -10
- package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-D0me9wnz.mjs} +10 -10
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-CJITrGkF.mjs} +249 -8
- package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BlEm_xjq.mjs} +1 -1
- package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-BNM_HuS0.mjs} +3 -3
- package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-CXfb7RRy.mjs} +7 -16
- package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DiD9uYs6.mjs} +1439 -293
- package/dist/client/{Page-DqETUt-U.mjs → Page-bX7iy_MK.mjs} +24299 -20103
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-BAdW5DvE.mjs} +23 -16
- package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-DCfdcb7s.mjs} +12 -12
- package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-DCqorVne.mjs} +7 -7
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-wofJY8xY.mjs} +1 -1
- package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-CYl9NrqS.mjs} +412 -79
- package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-kgVWtuMe.mjs} +4 -4
- package/dist/client/bookings.mjs +40 -10
- package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-CQHWz5gJ.mjs} +19 -19
- package/dist/client/{carousel-B3UhbFu7.mjs → carousel-BE1dEFsD.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-DzOJfYOR.mjs → cart-BsjsdGZE.mjs} +3 -3
- package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-DylGUWXY.mjs} +1 -1
- package/dist/client/{checkout-LmePoEgM.mjs → checkout-B5KxEUDr.mjs} +3 -3
- package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C98fhch3.mjs} +1 -1
- package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-BMLYTf38.mjs} +1 -1
- package/dist/client/client.mjs +502 -341
- package/dist/client/constants-PfYJsEZF.mjs +101 -0
- package/dist/client/{context-CJIz4FdL.mjs → context-DtKdUdkO.mjs} +200 -27
- package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-BaGPvQS3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-B8eDjhuG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DvhD-8eE.mjs} +4 -4
- package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-Du9a_xAN.mjs} +1982 -1519
- package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-Di9wDfzl.mjs} +4 -4
- package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-CNW6nBsB.mjs} +4 -4
- package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-CQMxQ8By.mjs} +4 -4
- package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-CprS9k1D.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BBBtRwvy.mjs → form-Zl1_8RJ6.mjs} +3 -3
- package/dist/client/{form.client-CZeRQLGF.mjs → form.client-TaMUys6I.mjs} +5 -5
- package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CpNPbPPM.mjs} +3 -3
- package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-hhI1-tzt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -6
- package/dist/client/{gifting-Di9-SpwW.mjs → gifting-DNVa7-Wj.mjs} +4 -4
- package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-CFUq3GVx.mjs} +5 -5
- package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-CDQvxA4A.mjs} +2 -2
- package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-Cg6083rn.mjs} +2 -2
- package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-gJ3OqPf9.mjs} +258 -86
- package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-VuL9I96G.mjs} +6 -6
- package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-7Of3eYn0.mjs} +4023 -4029
- package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-OBqsfT24.mjs} +2 -2
- package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-BkJe_RTv.mjs} +3 -3
- package/dist/client/portal/client.mjs +301 -117
- package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-B2hdxqJN.mjs} +1 -1
- package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-CCEgu9rx.mjs} +1 -1
- package/dist/client/{productDetail-gxF5whea.mjs → productDetail-CRX_ZRfS.mjs} +3 -3
- package/dist/client/{productList-B9t0XJrN.mjs → productList-BAdJ6z5S.mjs} +3 -3
- package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-BLKAmX0S.mjs} +2 -48
- package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-Bj9cmHHF.mjs} +10464 -9113
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-Z45OLLEX.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-DHpTTK77.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-D1oTPDxm.mjs → shop-BKsgxm_-.mjs} +3 -3
- package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-Cbtk_kUW.mjs} +14 -14
- package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B-rv2p5h.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-CiCDLNh7.mjs} +2 -2
- package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-Rnqa74Tk.mjs} +14 -14
- package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-BaBfhjCq.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-D11X-B6n.mjs → src-o7WEvbK1.mjs} +398 -308
- package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-BOff1Kk5.mjs} +259 -11
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-DQJNh10g.mjs} +3 -23
- package/dist/client/useDiscountCodeUi-BcFQRI_7.mjs +196 -0
- package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-BvdcexDC.mjs} +8 -8
- package/dist/client/{view-bGU1ws-m.mjs → view-CTBwSpKv.mjs} +4 -4
- package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CWIQyRIw.mjs} +10263 -9078
- package/dist/preview-next/before-render.mjs +5 -3
- package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-CG6KwITA.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-BGBqrC9m.mjs} +8 -7
- package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-Bwkyx28x.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DB1l6JNU.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Bs6Cwzr3.mjs} +15 -7
- package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
- package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-T-oDD_Dd.mjs} +6252 -2461
- package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-BeukcDRy.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-ceDW_9q2.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-CCB9bScO.mjs} +35 -23
- package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-D4o0CKq7.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-Seccrvwu.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +103 -10
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-FwFj8zGL.mjs} +71 -10
- package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-D6WrRCxX.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQzjDQ2q.mjs} +8 -1
- package/dist/server/{bindings-DrbJuftt.mjs → bindings-CS6ih1Yc.mjs} +37 -6
- package/dist/server/{client-Bf06n9oj.mjs → client-m0ylCj_f.mjs} +436 -526
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-vgWMz1uD.mjs +694 -0
- package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-CIOL3-9t.mjs} +22 -4
- package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-m-91jGGn.mjs} +36 -0
- package/dist/server/next.mjs +67 -94
- package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-BiHmsvTZ.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-DJo_obpi.mjs} +15 -8
- package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-BnSuoHON.mjs} +54 -2
- package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-BJuOzxzn.mjs} +554 -304
- package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-Cr8p8T7V.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-BZh57-ua.mjs} +5 -3
- package/dist/server/{registry-D12XF_h1.mjs → registry-CvhFwbXJ.mjs} +358 -95
- 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 +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-Cv_W1LVB.mjs} +61 -34
- package/dist/server/resolvePageContent-BWKUZUIn.mjs +89 -0
- package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-KRKguBC5.mjs} +56 -1
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-CRKbTm_7.mjs} +719 -459
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLq5cw6M.mjs → validation-DCl-FCk_.mjs} +4 -4
- package/dist/server/{version-oPbhAx8E.mjs → version-DT_R5JAR.mjs} +1 -1
- package/dist/styles/index.css +504 -27
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
- package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
- package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
- package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
- package/dist/client/constants-4o4_hl34.mjs +0 -6
- package/dist/client/course-DBEU9IA9.mjs +0 -244
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
- package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
- package/dist/client/view-DNX59QwM.mjs +0 -1372
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
|
@@ -1,9 +1,9 @@
|
|
|
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-CYl9NrqS.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-DtKdUdkO.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DHpTTK77.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
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-
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
2
|
+
import { Ca as createHostedBlockApiConfig, F as resolveHeadlessEventRegistrationStatus, I as resolveHeadlessEventRegistrationView, Ia as resolveRuntimeEventDestination, L as toHeadlessPaymentSelection, N as normalizeEventRegistrationMaxTickets, P as resolveEventRegistrationSubmitPlan, R as toInternalPaymentSelection, Vr as normalizeEventRegistrationPageSurfaceSubject, Wi as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Zn as getSingleSelectedPricingOptionId, j as deriveEventRegistrationSteps, mi as normalizeBookingServices, mr as resolveRegistrationDisplay, pi as normalizeBookingFormConfig, qo as readRuntimeNow } from "./wizardSteps-CWIQyRIw.mjs";
|
|
3
|
+
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-CYl9NrqS.mjs";
|
|
4
|
+
import { t as assertNever, w as publicEventSchema } from "./src-o7WEvbK1.mjs";
|
|
5
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-DiD9uYs6.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-DtKdUdkO.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
|
|
@@ -156,7 +156,7 @@ function useEventRegistrationControllerWithDeps(options, deps) {
|
|
|
156
156
|
subtotalCents: wizard.ticketSelectionSubtotalCents,
|
|
157
157
|
selectedPricingOptionId,
|
|
158
158
|
selectedTicketType: wizard.selectedTicketType,
|
|
159
|
-
visibleTicketTypes: wizard.
|
|
159
|
+
visibleTicketTypes: wizard.listableTicketTypes,
|
|
160
160
|
selectionRequired: wizard.ticketTypeSelectionRequired,
|
|
161
161
|
hasValidSelection: wizard.hasValidTicketSelection,
|
|
162
162
|
eventRequiresPayment: wizard.eventRequiresPayment,
|
|
@@ -194,6 +194,7 @@ function useEventRegistrationControllerWithDeps(options, deps) {
|
|
|
194
194
|
updateAttendee,
|
|
195
195
|
updateGuests,
|
|
196
196
|
selectPayment,
|
|
197
|
+
...headlessFundingActions(wizard.selectionFunding),
|
|
197
198
|
setDiscountCode: wizard.setDiscountCode,
|
|
198
199
|
setDiscountOpen: wizard.setDiscountUiOpen,
|
|
199
200
|
applyDiscountCode: async () => {
|
|
@@ -215,9 +216,13 @@ function useEventRegistrationControllerWithDeps(options, deps) {
|
|
|
215
216
|
wizard
|
|
216
217
|
};
|
|
217
218
|
}
|
|
218
|
-
/**
|
|
219
|
+
/**
|
|
220
|
+
* Execute the existing submission decision through the wizard's booking owner. A pass
|
|
221
|
+
* or membership chosen for the dates submits as the payment step's button does.
|
|
222
|
+
*/
|
|
219
223
|
function useHeadlessRegistrationSubmit(wizard) {
|
|
220
224
|
return useCallback(async () => {
|
|
225
|
+
if (wizard.step === "select-payment" && wizard.selectionFunding?.view?.option.kind === "entitlement") return wizard.handlePaymentSelect();
|
|
221
226
|
const plan = resolveEventRegistrationSubmitPlan({
|
|
222
227
|
paymentSelection: wizard.paymentSelection,
|
|
223
228
|
eventRequiresPayment: wizard.eventRequiresPayment,
|
|
@@ -228,7 +233,7 @@ function useHeadlessRegistrationSubmit(wizard) {
|
|
|
228
233
|
reason: "blocked",
|
|
229
234
|
message: plan.message
|
|
230
235
|
};
|
|
231
|
-
return wizard.handleSubmit(plan.args.method, plan.args.
|
|
236
|
+
return wizard.handleSubmit(plan.args.method, plan.args.membershipId, plan.args.selection);
|
|
232
237
|
}, [wizard]);
|
|
233
238
|
}
|
|
234
239
|
/** The embedded payment's headless actions all come from the one payment controller. */
|
|
@@ -357,7 +362,8 @@ function resolvePaymentModel(wizard, directPaymentOptions) {
|
|
|
357
362
|
directPaymentOptions,
|
|
358
363
|
directPaymentSelectionState,
|
|
359
364
|
checkout: wizard.paymentController.state,
|
|
360
|
-
stepState: wizard.paymentStepState
|
|
365
|
+
stepState: wizard.paymentStepState,
|
|
366
|
+
funding: null
|
|
361
367
|
};
|
|
362
368
|
return {
|
|
363
369
|
kind: wizard.paymentStepState.status,
|
|
@@ -367,7 +373,31 @@ function resolvePaymentModel(wizard, directPaymentOptions) {
|
|
|
367
373
|
checkout: wizard.paymentController.state,
|
|
368
374
|
stepState: wizard.paymentStepState,
|
|
369
375
|
eligibility: wizard.eligibility,
|
|
370
|
-
eligibilityError: wizard.eligibilityError
|
|
376
|
+
eligibilityError: wizard.eligibilityError,
|
|
377
|
+
funding: projectFunding(wizard.selectionFunding)
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
/** Picks one of the dates' ways to pay by its row key, or asks for them again. */
|
|
381
|
+
function headlessFundingActions(model) {
|
|
382
|
+
return {
|
|
383
|
+
chooseFunding: (key) => {
|
|
384
|
+
const row = model?.view?.rows.find((candidate) => candidate.key === key);
|
|
385
|
+
if (row) model?.choose(row);
|
|
386
|
+
},
|
|
387
|
+
retryFunding: () => model?.retry()
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
/** The wizard's ways to pay for the dates, as a headless consumer renders them. */
|
|
391
|
+
function projectFunding(model) {
|
|
392
|
+
if (!model) return null;
|
|
393
|
+
const view = model.view;
|
|
394
|
+
return {
|
|
395
|
+
status: model.status,
|
|
396
|
+
rows: view?.rows ?? [],
|
|
397
|
+
summary: view?.summary ?? null,
|
|
398
|
+
buttonText: view?.buttonText ?? null,
|
|
399
|
+
note: view?.note ?? null,
|
|
400
|
+
notice: model.notice
|
|
371
401
|
};
|
|
372
402
|
}
|
|
373
403
|
function projectRegistrationDiscount(wizard) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Lo as asPartialObject } from "./wizardSteps-CWIQyRIw.mjs";
|
|
3
|
+
import { cn as runtimeBoxBackgroundSchema, dn as cardVariantRoleValues, fn as itemRoleValues, ln as boxlessCardVariantValue, on as boxBackgroundOverlaySchema, pn as openCardRoleValue, sn as boxBackgroundSchema } from "./lookSurfaces-gJ3OqPf9.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
z.enum(itemRoleValues);
|
|
6
6
|
z.enum(cardVariantRoleValues);
|
|
@@ -17,6 +17,22 @@ function normalizeCardRole(value) {
|
|
|
17
17
|
return normalizeCardVariantRole(value);
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
|
+
//#region ../blocks/src/system/fields/backgroundContent.ts
|
|
21
|
+
function parseBackgroundContent(value) {
|
|
22
|
+
const result = boxBackgroundSchema.safeParse(value);
|
|
23
|
+
return result.success ? result.data : null;
|
|
24
|
+
}
|
|
25
|
+
function parseBackgroundOverlay(value) {
|
|
26
|
+
const result = boxBackgroundOverlaySchema.safeParse(value);
|
|
27
|
+
return result.success ? result.data : void 0;
|
|
28
|
+
}
|
|
29
|
+
/** Rendering accepts explicit application sources separately from stored references. */
|
|
30
|
+
const runtimeBackgroundContentSchema = runtimeBoxBackgroundSchema;
|
|
31
|
+
function parseRuntimeBackgroundContent(value) {
|
|
32
|
+
const result = runtimeBackgroundContentSchema.safeParse(value);
|
|
33
|
+
return result.success ? result.data : null;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
20
36
|
//#region ../blocks/src/system/spacing.ts
|
|
21
37
|
/**
|
|
22
38
|
* Type-safe spacing system for sections and containers.
|
|
@@ -139,22 +155,6 @@ function resolveSectionMinHeight(minHeight) {
|
|
|
139
155
|
*/
|
|
140
156
|
const DEFAULT_SECTION_SPACING = "medium";
|
|
141
157
|
//#endregion
|
|
142
|
-
//#region ../blocks/src/system/fields/backgroundContent.ts
|
|
143
|
-
function parseBackgroundContent(value) {
|
|
144
|
-
const result = boxBackgroundSchema.safeParse(value);
|
|
145
|
-
return result.success ? result.data : null;
|
|
146
|
-
}
|
|
147
|
-
function parseBackgroundOverlay(value) {
|
|
148
|
-
const result = boxBackgroundOverlaySchema.safeParse(value);
|
|
149
|
-
return result.success ? result.data : void 0;
|
|
150
|
-
}
|
|
151
|
-
/** Rendering accepts explicit application sources separately from stored references. */
|
|
152
|
-
const runtimeBackgroundContentSchema = runtimeBoxBackgroundSchema;
|
|
153
|
-
function parseRuntimeBackgroundContent(value) {
|
|
154
|
-
const result = runtimeBackgroundContentSchema.safeParse(value);
|
|
155
|
-
return result.success ? result.data : null;
|
|
156
|
-
}
|
|
157
|
-
//#endregion
|
|
158
158
|
//#region ../blocks/src/system/transforms/registry/_utils/boxStyleClassNames.ts
|
|
159
159
|
/**
|
|
160
160
|
* @file The one place box-style content becomes CSS classes.
|
|
@@ -340,4 +340,4 @@ function boxStyleClassNames(value, options) {
|
|
|
340
340
|
].filter((token) => Boolean(token)).join(" ").trim() || "";
|
|
341
341
|
}
|
|
342
342
|
//#endregion
|
|
343
|
-
export {
|
|
343
|
+
export { parseRuntimeBackgroundContent as _, hasFixedFrameBackgroundMotion as a, resolveItemCardRole as c, isSectionMinHeight as d, isSemanticSpacing as f, parseBackgroundOverlay as g, parseBackgroundContent as h, fixedFrameScopeClass as i, DEFAULT_SECTION_SPACING as l, resolveSpacing as m, ROUNDED_CLASSES as n, normalizeBoxStylesBorder as o, resolveSectionMinHeight as p, boxStyleClassNames as r, resolveCardRoleForBoxStyles as s, RAISED_SHADOW_CLASS as t, SEMANTIC_SPACING_VALUES as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
3
2
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
|
-
import { t as
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.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 { S as clsx } from "./ThemedButton-
|
|
2
|
+
import { S as clsx } from "./ThemedButton-CnSa7o-I.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-BLKAmX0S.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-DylGUWXY.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BaBfhjCq.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-Cbtk_kUW.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-BLKAmX0S.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-C98fhch3.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BaBfhjCq.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-Cbtk_kUW.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ea as canonicalUrl } from "./wizardSteps-CWIQyRIw.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
|
|
4
4
|
/**
|
|
5
5
|
* Build return URLs for Stripe checkout redirect.
|