@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
package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
|
package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-BAdW5DvE.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { l as verifiedSiteTermsAcceptanceSchema, t as assertNever } from "./src-o7WEvbK1.mjs";
|
|
3
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-DtKdUdkO.mjs";
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-BZPLCgTU.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
7
|
import { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
@@ -217,29 +217,36 @@ function withSiteTermsCheckoutApi(api, execute) {
|
|
|
217
217
|
...api,
|
|
218
218
|
submitBooking: (request) => execute(request, api.submitBooking, appointmentPurchaseAccepted),
|
|
219
219
|
submitBookingWithPackage: (request) => execute(request, api.submitBookingWithPackage, appointmentPurchaseAccepted),
|
|
220
|
-
registerForEvent: (request) => execute(request, api.registerForEvent, purchaseAccepted,
|
|
220
|
+
registerForEvent: (request) => execute(request, api.registerForEvent, purchaseAccepted, eventRequestSiteTermsSurface(request)),
|
|
221
221
|
createEventCheckout: (request) => execute(request, api.createEventCheckout, purchaseAccepted),
|
|
222
222
|
createShopCheckout: (request) => execute(request, api.createShopCheckout, (response) => response.type !== "duplicate_membership_warning", "commerce"),
|
|
223
223
|
createUnifiedCheckout: (request) => execute(request, api.createUnifiedCheckout, purchaseAccepted, "commerce"),
|
|
224
224
|
createGiftingCheckout: (request) => execute(request, api.createGiftingCheckout, purchaseAccepted, "commerce")
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
/**
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
227
|
+
/** The same split read from the request on the wire: buying a pass or membership agrees on the commerce surface. */
|
|
228
|
+
function eventRequestSiteTermsSurface(request) {
|
|
229
|
+
if (request.funding !== void 0) {
|
|
230
|
+
if (request.funding.kind === "money") return "primary";
|
|
231
|
+
const source = request.funding.source;
|
|
232
|
+
switch (source.kind) {
|
|
233
|
+
case "buyPass":
|
|
234
|
+
case "buyMembership": return "commerce";
|
|
235
|
+
case "ownedPass":
|
|
236
|
+
case "ownedMembership": return "primary";
|
|
237
|
+
default: return assertNever(source);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
const method = request.paymentMethod;
|
|
241
|
+
switch (method) {
|
|
242
|
+
case "buy_pass":
|
|
243
|
+
case "buy_membership": return "commerce";
|
|
236
244
|
case "free":
|
|
237
245
|
case "pass":
|
|
238
246
|
case "membership":
|
|
239
247
|
case "stripe":
|
|
240
|
-
case null:
|
|
241
248
|
case void 0: return "primary";
|
|
242
|
-
default: return assertNever(
|
|
249
|
+
default: return assertNever(method);
|
|
243
250
|
}
|
|
244
251
|
}
|
|
245
252
|
function appointmentPurchaseAccepted(response) {
|
|
@@ -444,4 +451,4 @@ function SiteTermsChangedNotice(props) {
|
|
|
444
451
|
});
|
|
445
452
|
}
|
|
446
453
|
//#endregion
|
|
447
|
-
export {
|
|
454
|
+
export { useSiteTermsAgreement as i, SiteTermsChangedNotice as n, siteTermsFailureKind as r, SiteTermsAgreementField as t };
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ja as bookingPresentation } from "./wizardSteps-CWIQyRIw.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
|
|
6
|
+
/** The `[data-arrangement]` ancestor skin card rules need around an in-place booking panel. */
|
|
7
|
+
function BookingPanelArrangement({ pageKind, children }) {
|
|
8
|
+
const attributes = bookingPresentation(pageKind).arrangementAttributes;
|
|
9
|
+
return attributes ? /* @__PURE__ */ jsx("div", {
|
|
10
|
+
...attributes,
|
|
11
|
+
children
|
|
12
|
+
}) : /* @__PURE__ */ jsx(Fragment, { children });
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
5
15
|
//#region ../blocks/src/system/runtime/shared/components/StepIndicator.tsx
|
|
6
16
|
function slotClasses(slot, classPrefix, emitSharedClasses) {
|
|
7
17
|
return [emitSharedClasses ? `rb-${slot}` : null, classPrefix ? `${classPrefix}-${slot}` : null].filter((name) => name !== null).join(" ");
|
|
@@ -44,14 +54,4 @@ function StepIndicator({ currentStep, totalSteps, stepLabels, classPrefix, emitS
|
|
|
44
54
|
});
|
|
45
55
|
}
|
|
46
56
|
//#endregion
|
|
47
|
-
|
|
48
|
-
/** The `[data-arrangement]` ancestor skin card rules need around an in-place booking panel. */
|
|
49
|
-
function BookingPanelArrangement({ pageKind, children }) {
|
|
50
|
-
const attributes = bookingPresentation(pageKind).arrangementAttributes;
|
|
51
|
-
return attributes ? /* @__PURE__ */ jsx("div", {
|
|
52
|
-
...attributes,
|
|
53
|
-
children
|
|
54
|
-
}) : /* @__PURE__ */ jsx(Fragment, { children });
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
export { StepIndicator as n, BookingPanelArrangement as t };
|
|
57
|
+
export { BookingPanelArrangement as n, StepIndicator as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-7Of3eYn0.mjs";
|
|
3
|
+
import { $r as resolveSelectionBookingClosedDetail, Gr as getPublicEventCanonicalPath, Jr as planOrdinarySeriesSelection, Kr as isOrdinaryPublicEvent, Lr as closedDatesCopy, Rr as closedRunCopy, Ur as resolveEventRegistrationScopedEvents, Vr as normalizeEventRegistrationPageSurfaceSubject, Wr as eventOccurrenceContext, Xr as planWholeSeriesParentSelection, Yr as planWholeSeriesParentBooking, Zr as planWholeSeriesRunSelection, ds as orderedLiveRunSessions, ei as selectionRepresentativeEvent, fs as resolveWholeSeriesBookingPhase, ja as bookingPresentation, qr as planDropInPanel, ro as eventDateOptions, zr as closedDateCopy } from "./wizardSteps-CWIQyRIw.mjs";
|
|
4
|
+
import { Zt as formatDate, vn as toUtcIsoDateTimeString } from "./src-o7WEvbK1.mjs";
|
|
5
5
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
7
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
6
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-CQHWz5gJ.mjs";
|
|
7
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
|
|
8
|
+
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-PfYJsEZF.mjs";
|
|
9
|
+
import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-DCfdcb7s.mjs";
|
|
10
10
|
import React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/nodes/event-registration/BookingPanel.tsx
|
|
@@ -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 "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as buttonVariantIdSchema, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-
|
|
2
|
+
import { d as buttonVariantIdSchema, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-BEaKfam_.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../theme-core/src/buttons/affordanceSuppression.ts
|
|
@@ -79,6 +79,70 @@ function clsx() {
|
|
|
79
79
|
return n;
|
|
80
80
|
}
|
|
81
81
|
//#endregion
|
|
82
|
+
//#region ../blocks/src/system/runtime/nodes/spinner.tsx
|
|
83
|
+
function resolveColorStyle(color) {
|
|
84
|
+
switch (color) {
|
|
85
|
+
case void 0: return;
|
|
86
|
+
case "inherit": return { color: "inherit" };
|
|
87
|
+
case "foreground": return { color: "rgb(var(--tb-foreground))" };
|
|
88
|
+
case "text": return { color: "rgb(var(--tb-text))" };
|
|
89
|
+
default: return;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function SpinnerNode({ className, size = "md", color, strokeWidth = 3, srLabel, style, ...rest }) {
|
|
93
|
+
const hasExplicitAriaLabel = typeof rest["aria-label"] === "string" && rest["aria-label"].trim().length > 0;
|
|
94
|
+
const accessibilityProps = srLabel ? {
|
|
95
|
+
role: "status",
|
|
96
|
+
"aria-live": "polite"
|
|
97
|
+
} : hasExplicitAriaLabel ? {} : { "aria-hidden": true };
|
|
98
|
+
const trackStroke = color === "inherit" ? "currentColor" : "var(--rb-spinner-track-color)";
|
|
99
|
+
const trackOpacity = color === "inherit" ? .25 : 1;
|
|
100
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
101
|
+
...accessibilityProps,
|
|
102
|
+
className: clsx("rb-spinner", size ? `rb-spinner--${size}` : null, color === "inherit" ? "rb-spinner--inherit" : null, className),
|
|
103
|
+
style: {
|
|
104
|
+
...resolveColorStyle(color),
|
|
105
|
+
...style ?? {}
|
|
106
|
+
},
|
|
107
|
+
...rest,
|
|
108
|
+
children: [/* @__PURE__ */ jsxs("svg", {
|
|
109
|
+
viewBox: "0 0 24 24",
|
|
110
|
+
fill: "none",
|
|
111
|
+
"aria-hidden": "true",
|
|
112
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
113
|
+
cx: "12",
|
|
114
|
+
cy: "12",
|
|
115
|
+
r: "10",
|
|
116
|
+
stroke: trackStroke,
|
|
117
|
+
strokeWidth,
|
|
118
|
+
opacity: trackOpacity
|
|
119
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
120
|
+
d: "M12 2a10 10 0 0 1 10 10",
|
|
121
|
+
stroke: "currentColor",
|
|
122
|
+
strokeWidth,
|
|
123
|
+
strokeLinecap: "round"
|
|
124
|
+
})]
|
|
125
|
+
}), srLabel ? /* @__PURE__ */ jsx("span", {
|
|
126
|
+
className: "rb-sr-only",
|
|
127
|
+
children: srLabel
|
|
128
|
+
}) : null]
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region ../blocks/src/system/runtime/nodes/buttonAffordance.ts
|
|
133
|
+
function normalize(value) {
|
|
134
|
+
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
135
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Resolve the node-authored trailing affordance, or `null` when no icon exists.
|
|
139
|
+
*/
|
|
140
|
+
function resolveButtonAffordance(input) {
|
|
141
|
+
const nodeIcon = normalize(input.trailingIcon);
|
|
142
|
+
if (nodeIcon) return { iconId: nodeIcon };
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
82
146
|
//#region ../blocks/src/system/icons/svg.tsx
|
|
83
147
|
function createIcon(displayName, children) {
|
|
84
148
|
const Icon = ({ size = "1em", strokeWidth = 2, title, className, focusable = false, role, ...props }) => /* @__PURE__ */ jsxs("svg", {
|
|
@@ -383,70 +447,6 @@ const UsersIcon = createIcon("UsersIcon", /* @__PURE__ */ jsxs(Fragment, { child
|
|
|
383
447
|
const WrenchIcon = createIcon("WrenchIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M14.7 6.3A5 5 0 0 0 7 12.6L3.5 16a2.1 2.1 0 0 0 3 3L10 15.5A5 5 0 0 0 16.7 9Z" }), /* @__PURE__ */ jsx("path", { d: "m15 5 4 4" })] }));
|
|
384
448
|
const XIcon = createIcon("XIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })] }));
|
|
385
449
|
//#endregion
|
|
386
|
-
//#region ../blocks/src/system/runtime/nodes/spinner.tsx
|
|
387
|
-
function resolveColorStyle(color) {
|
|
388
|
-
switch (color) {
|
|
389
|
-
case void 0: return;
|
|
390
|
-
case "inherit": return { color: "inherit" };
|
|
391
|
-
case "foreground": return { color: "rgb(var(--tb-foreground))" };
|
|
392
|
-
case "text": return { color: "rgb(var(--tb-text))" };
|
|
393
|
-
default: return;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
function SpinnerNode({ className, size = "md", color, strokeWidth = 3, srLabel, style, ...rest }) {
|
|
397
|
-
const hasExplicitAriaLabel = typeof rest["aria-label"] === "string" && rest["aria-label"].trim().length > 0;
|
|
398
|
-
const accessibilityProps = srLabel ? {
|
|
399
|
-
role: "status",
|
|
400
|
-
"aria-live": "polite"
|
|
401
|
-
} : hasExplicitAriaLabel ? {} : { "aria-hidden": true };
|
|
402
|
-
const trackStroke = color === "inherit" ? "currentColor" : "var(--rb-spinner-track-color)";
|
|
403
|
-
const trackOpacity = color === "inherit" ? .25 : 1;
|
|
404
|
-
return /* @__PURE__ */ jsxs("span", {
|
|
405
|
-
...accessibilityProps,
|
|
406
|
-
className: clsx("rb-spinner", size ? `rb-spinner--${size}` : null, color === "inherit" ? "rb-spinner--inherit" : null, className),
|
|
407
|
-
style: {
|
|
408
|
-
...resolveColorStyle(color),
|
|
409
|
-
...style ?? {}
|
|
410
|
-
},
|
|
411
|
-
...rest,
|
|
412
|
-
children: [/* @__PURE__ */ jsxs("svg", {
|
|
413
|
-
viewBox: "0 0 24 24",
|
|
414
|
-
fill: "none",
|
|
415
|
-
"aria-hidden": "true",
|
|
416
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
417
|
-
cx: "12",
|
|
418
|
-
cy: "12",
|
|
419
|
-
r: "10",
|
|
420
|
-
stroke: trackStroke,
|
|
421
|
-
strokeWidth,
|
|
422
|
-
opacity: trackOpacity
|
|
423
|
-
}), /* @__PURE__ */ jsx("path", {
|
|
424
|
-
d: "M12 2a10 10 0 0 1 10 10",
|
|
425
|
-
stroke: "currentColor",
|
|
426
|
-
strokeWidth,
|
|
427
|
-
strokeLinecap: "round"
|
|
428
|
-
})]
|
|
429
|
-
}), srLabel ? /* @__PURE__ */ jsx("span", {
|
|
430
|
-
className: "rb-sr-only",
|
|
431
|
-
children: srLabel
|
|
432
|
-
}) : null]
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
//#endregion
|
|
436
|
-
//#region ../blocks/src/system/runtime/nodes/buttonAffordance.ts
|
|
437
|
-
function normalize(value) {
|
|
438
|
-
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
439
|
-
return trimmed.length > 0 ? trimmed : null;
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Resolve the node-authored trailing affordance, or `null` when no icon exists.
|
|
443
|
-
*/
|
|
444
|
-
function resolveButtonAffordance(input) {
|
|
445
|
-
const nodeIcon = normalize(input.trailingIcon);
|
|
446
|
-
if (nodeIcon) return { iconId: nodeIcon };
|
|
447
|
-
return null;
|
|
448
|
-
}
|
|
449
|
-
//#endregion
|
|
450
450
|
//#region ../blocks/src/system/icons/cta.ts
|
|
451
451
|
/**
|
|
452
452
|
* Curated icon set for CTA/button icons.
|
|
@@ -1403,4 +1403,4 @@ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disa
|
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
//#endregion
|
|
1406
|
-
export { parseThemeButtonVariantId as C, clsx as S, AFFORDANCE_SUPPRESS_CLASS as T,
|
|
1406
|
+
export { parseThemeButtonVariantId as C, clsx as S, AFFORDANCE_SUPPRESS_CLASS as T, FileSpreadsheetIcon as _, ThemedDownloadLink as a, PlusIcon as b, isSemanticIconId as c, CircleMinusIcon as d, CirclePlusIcon as f, FileAudioIcon as g, FileArchiveIcon as h, ThemedButtonLink as i, ArrowDownIcon as l, ExternalLinkIcon as m, ThemedAuthoredButton as n, ThemedFileChooser as o, ClockIcon as p, ThemedButton as r, getIconComponent as s, ThemedActionsButton as t, ChevronDownIcon as u, FileTextIcon as v, themeButtonSelector as w, SpinnerNode as x, MinusIcon as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
|
|
3
|
-
import { C as
|
|
3
|
+
import { C as paletteModeSchema, O as VARIANT_ROLES, T as parseThemeColorToken, _ as hexColorSchema, c as buttonEffectApplicationSchema, h as PALETTE_TOKEN_NAMES, m as parseOpaqueButtonColourToken, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, w as parseColorTokenParts, x as paletteColorsFromEntries, y as normalizePaletteHex } from "./types-BEaKfam_.mjs";
|
|
4
4
|
import { t as SURFACE_TRANSPORT_KEY } from "./surfaceTransportMarker-BuwkYxsI.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../theme-core/src/palette/utils/colorConversion.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|