@riverbankcms/sdk 0.167.0 → 0.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-Dgb-ptph.d.ts → BlocksIslandsHydrator-DpROiz12.d.ts} +1 -1
- package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-DHBBDRC_.d.ts} +7 -6
- package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-CG7Qib7u.d.ts} +2 -2
- package/dist/_dts/{client-CwsI23pj.d.ts → client-MURxFla9.d.ts} +90 -418
- package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-ClBGjxBV.d.ts} +2 -2
- package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CHNvzh0y.d.ts} +6 -4
- package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-DQM934Fm.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-ConZaEqB.d.ts} +2 -2
- package/dist/_dts/{index-CS6b1B-c.d.ts → index-BaDqRekr.d.ts} +4 -4
- package/dist/_dts/{index-bDln38Hm.d.ts → index-CVB5wgbz.d.ts} +2 -2
- package/dist/_dts/{index-D7EbliE3.d.ts → index-CiR_oPYT.d.ts} +3 -3
- package/dist/_dts/{index-5_jf52sZ.d.ts → index-CovKPftP.d.ts} +2 -2
- package/dist/_dts/{index-C20yUyob.d.ts → index-DCw8LO4M.d.ts} +1 -1
- package/dist/_dts/index-DDaX-K2D.d.ts +14 -0
- package/dist/_dts/{index-DeHDwMfu.d.ts → index-rfAssXq0.d.ts} +3 -3
- package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-CRLKVVDP.d.ts} +7 -7
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
- package/dist/_dts/{index-ChpjHK0U.d.ts → request-DeVetKBr.d.ts} +81273 -46979
- package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-C5KYFeig.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-D8MZWyNO.d.ts} +2 -2
- 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/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 +2 -2
- 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/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 -5
- 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 +5 -5
- 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/{types-BlaCuPLr.d.ts → types-B4MBlP_B.d.ts} +4 -2
- package/dist/_dts/{types-D-WElMCy.d.ts → types-Fj31kIi2.d.ts} +7 -7
- package/dist/_dts/{types-CwtTcaQP.d.ts → types-OwqfS8Gn.d.ts} +3 -3
- package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-B1Fa8o_b.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-qq4Vhs7k.mjs} +21 -21
- package/dist/client/BookingMailingListNote-y3qWjnOo.mjs +957 -0
- package/dist/client/BookingQuestionFields-DjLjd0vc.mjs +359 -0
- package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-VM7C2fdh.mjs} +8 -8
- package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-C2QCj_Ta.mjs} +68 -12
- package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-DDjz7tuX.mjs} +10 -10
- package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-CeYbNsch.mjs} +9 -9
- package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
- package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-B5J0IeF4.mjs} +37 -15
- package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-eH04D8-V.mjs} +1 -1
- package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-slpvrTrM.mjs} +3 -3
- package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-BYBaElec.mjs} +34 -16
- package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-Do7Q0wRG.mjs} +362 -90
- package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-BFp2uQQQ.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
- package/dist/client/{Page-D4_H_u9V.mjs → Page-Dv9eIOGr.mjs} +4475 -1600
- package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
- package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-BZNUd0-v.mjs} +3 -3
- package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
- package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
- package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
- package/dist/client/{accordion--EUHmEGa.mjs → accordion-BCtVxnDZ.mjs} +1 -1
- package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-Cr5G-HHO.mjs} +1323 -567
- package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-B1Fc62Sl.mjs} +9 -5
- package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
- package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
- package/dist/client/bookings.mjs +28 -20
- package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DW-HgjvT.mjs} +3 -3
- package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
- package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
- package/dist/client/{cart-CCZZC-Lq.mjs → cart-D1zWe4R7.mjs} +3 -3
- package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-CIfbTLHS.mjs} +1 -1
- package/dist/client/{checkout-CipmYL4A.mjs → checkout-fDCNZ3IT.mjs} +3 -3
- package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-C4l2KjtV.mjs} +1 -1
- package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-cWL6I-Vz.mjs} +3 -2
- package/dist/client/client.mjs +287 -63
- package/dist/client/{context-Cv3QHjAF.mjs → context-DQnTyApV.mjs} +320 -4
- package/dist/client/creditProducts-CMOmhWm2.mjs +364 -0
- package/dist/client/{cta-P2vJVTEn.mjs → cta-Bj5WHgcv.mjs} +2 -2
- package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-3uVu3WgG.mjs} +1 -1
- package/dist/client/{site-styles-D56hT2u1.mjs → display-CT8KMSpH.mjs} +19832 -17912
- package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-B27KFGDv.mjs} +4 -3
- package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-CL4Lqz2c.mjs} +1 -1
- package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-Dj3Kyp5X.mjs} +118 -241
- package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DGsdSF8J.mjs} +4 -4
- package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DFSVDJ3D.mjs} +4 -4
- package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzMskXYA.mjs} +2 -2
- package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CpFFcAUr.mjs} +4 -4
- package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-BipMUOCw.mjs} +8 -5
- package/dist/client/{form-Bw1uuiUs.mjs → form-57k2JQnm.mjs} +3 -3
- package/dist/client/{form.client-pZ-9gN33.mjs → form.client-CCl6CpRJ.mjs} +5 -5
- package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-BOJ1yDDf.mjs} +3 -3
- package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-BGlhrmhF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-q_bEzfhW.mjs} +2 -2
- package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
- package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
- package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-CiqKAmPs.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-x1RzAMNO.mjs} +2 -2
- package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-Cn7h4zFe.mjs} +3 -3
- package/dist/client/{noop-ByVtIWf4.mjs → noop-B_f7RqLD.mjs} +544 -494
- package/dist/client/portal/client.mjs +86 -231
- package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-rWUvpVvZ.mjs} +1 -1
- package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-J0wDOmKv.mjs} +1 -1
- package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-LtCkMrJ0.mjs} +3 -3
- package/dist/client/{productList-B21TGdpT.mjs → productList-C0MLeh-v.mjs} +3 -3
- package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-CAmEkJ6Y.mjs} +5 -4
- package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Bf2YX_4v.mjs} +2218 -2435
- package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
- package/dist/client/rendering/client.mjs +30 -30
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +10 -9
- package/dist/client/{richText-coerce-DHkBtO0G.mjs → richText-coerce-BTurYEao.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-UdAlnZGQ.mjs} +1 -1
- package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
- package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
- package/dist/client/{shop-mqyoOvOK.mjs → shop-Dkn6EasY.mjs} +3 -3
- package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-bo0Z6kwf.mjs} +13 -13
- package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-Ckxa4_jI.mjs} +1 -1
- package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-B_GqU6_U.mjs} +111 -32
- package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C6L_Ig5F.mjs} +87 -528
- package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-CO1Y8lFd.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-BozhJ43Z.mjs +3 -0
- package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
- package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
- package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-D62jfOxZ.mjs} +12 -12
- package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
- package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-CStfVmyY.mjs} +3 -3
- package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-Ca2pHUDu.mjs} +6 -4
- package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-AEifktGO.mjs} +1 -1
- package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-uxnUWI2v.mjs} +7 -7
- package/dist/client/{view-BN-fxyfq.mjs → view-B6KSxQMO.mjs} +11 -7
- package/dist/client/{view-Dh2tGoS0.mjs → view-SVnWic7i.mjs} +3 -4
- package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-kbdqYkWM.mjs} +26 -17
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-Ckr2zk_L.mjs → PreviewEditorSidebar-DI_LhsMQ.mjs} +212 -55
- package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-yyD-ZREP.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-YauP65Gi.mjs} +199 -155
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-Bl7jQMI1.mjs} +32 -32
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-CQFRP9aM.mjs} +4772 -3687
- package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
- package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-DBi-WybM.mjs → previewAssistantSlot-DSR0IdAw.mjs} +16547 -13046
- package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-uSnVzeNs.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-6Q0RVJTQ.mjs} +2 -2
- package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-Cdx3kAGm.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-ZrWdhcB6.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-CK-GWb9k.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Bv3nkdpV.mjs → route-contract-BU1m9SV3.mjs} +212 -0
- package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-4vx7wzxj.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-C3HLgqBF.mjs} +463 -127
- package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
- package/dist/server/{bindings-ConMYJ2U.mjs → bindings-TAQbo2P5.mjs} +2 -2
- package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
- package/dist/server/{client-Cot-H5fQ.mjs → client-DzCxEl3L.mjs} +308 -61
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/headerVariant-8O5MvxIU.mjs +464 -0
- package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BkaWYEwt.mjs → loadContent-BO1M9Hdf.mjs} +4 -5
- package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-BvWzmZcD.mjs} +2 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
- package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
- package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-fxuB1zZg.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-DzduDSqY.mjs} +255 -158
- package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-BU8pwTNx.mjs} +291 -5
- package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-CSOJ8p8E.mjs} +1303 -907
- package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-BebSeE17.mjs} +593 -1592
- package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-C5ZYo7wA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-BvbxqeKn.mjs} +5 -4
- package/dist/server/{registry-BPFcpn6k.mjs → registry-Fv-7D8o2.mjs} +4595 -4045
- 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 +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-BHvfGD4y.mjs → resolveBlockData-xPgkvoWS.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
- package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
- package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -3
- package/dist/server/theme.mjs +1 -2
- package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
- package/dist/server/{validation-bl6WcAi_.mjs → validation-DddhgNdb.mjs} +58 -9
- package/dist/server/{version-BLXZ31S-.mjs → version-D_W2mt8w.mjs} +1 -1
- package/dist/styles/index.css +342 -67
- package/package.json +4 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
- package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
- package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
- package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
- package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
- package/dist/client/src-CdRISvQp.mjs +0 -3
- package/dist/client/src-DjnxOjXG.mjs +0 -217
- package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
- package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
- package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
- package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as PortalProfile, An as EventBookingOutcome, B as PaymentSelection, Bt as BookingFormService, C as EventRegistrationDirectPaymentSelectionState, D as BookingQuestionsModel, Dn as BrowserReadAuthority, E as BookingPaymentSelectionViewModel, En as BlockApiConfig, F as EventPaymentState, G as RegistrationResult, Gr as MailingListRuntimeContext, Gt as BookingPaymentAvailability, H as PaymentStepState, Hr as BlockButtonRole, Ht as BookingFormServiceCategory, I as EventRegistrationClientProps, Ir as BookingQuestionsSubmissionFailure, J as ThemedButtonProps, K as RegistrationStep, Kt as BookingPaymentChoice, L as EventTicketSelectionLine, Lr as EventRegistrationPricingOption, M as ExistingRegistrationLookupState, N as SelectableEventTicketType, O as PortalAuthState, On as BlockSiteTerms, P as EligibilityData, R as Guest, Rt as BookingFormConfig$1, S as EventRegistrationDirectPaymentOption, Sn as ProtectedSubmission, U as RegistrationAttendanceMode, Ut as BookingFormField$1, V as PaymentStatusRecoveryState, Vt as BookingSelectedCollectionOptionKind, W as RegistrationEvent, X as OccurrenceContext, Y as FormData, Zt as BookingAppointmentPackagesModel, ai as UtcIsoDateTimeString, an as BookingFlowStepId, ar as DirectCheckoutCollectionOptionKind, at as EventSourceRecovery, bn as BookingQuestionsPaymentSnapshot, cn as BookingSlotSelection, cr as PaymentMethod, ct as BoundBlockApiClient, di as NonNegativeCents, dn as BookingSubmitOptions, dt as ResolveWaitlistClaimResponse, en as BookingFieldView, et as RegistrationPresentation, fi as PositiveCents, fr as PublicEvent, in as BookingFlowStep, ir as CustomerEventRegistration, j as EligibilityLookupState, jn as EventEmbeddedCheckout, k as PortalCreditState, kn as EventRegistrationPageSurfaceSubject, ln as BookingSlotView, lr as EventRegistrationErrorAction, lt as AutoAppliedDiscountPreview, mn as LoadState, ni as DisplayContext, nn as BookingFlowFeedback, nt as RegistrationTicketContinuation, oi as AppointmentBookingReview, on as BookingFlowView, or as EventCheckoutReturnRequest, q as RegistrationSubject, qt as BookingPurchasablePackagesModel, ri as ZoneLabel, rn as BookingFlowStatus, rt as TicketSelectionPurpose, sn as BookingResourceView, sr as EventRegistrationPaymentSubject, tn as BookingFlowActionResult, tt as RegistrationAdmission, un as BookingSubmitActionResult, ur as CurrencyCode, ut as DiscountContext, vn as BookingFieldValue, w as EventRegistrationSiteCreditPreview, x as BookingFormInteractiveIslandProps, xn as getBookingServiceSlidingScale, yn as BookingQuestionsAnswerState, z as GuestErrors, zt as BookingFormData$1 } from "./request-DeVetKBr.js";
|
|
2
|
+
import { z as z$1 } from "zod";
|
|
2
3
|
import * as React$1 from "react";
|
|
3
4
|
import React, { ReactNode } from "react";
|
|
4
5
|
|
|
5
|
-
//#region .cache/declarations/core/src/branded/entitlements.d.ts
|
|
6
|
-
type PassId = Brand<string, 'PassId'>;
|
|
7
|
-
type CustomerPassId = Brand<string, 'CustomerPassId'>;
|
|
8
|
-
//#endregion
|
|
9
6
|
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.client.d.ts
|
|
10
7
|
type Service$1 = BookingFormService;
|
|
11
8
|
type FormConfig = BookingFormConfig$1;
|
|
@@ -71,380 +68,6 @@ type BookingPaymentConfirmationSummary = Readonly<{
|
|
|
71
68
|
priceCurrency: string;
|
|
72
69
|
}>;
|
|
73
70
|
//#endregion
|
|
74
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts
|
|
75
|
-
/**
|
|
76
|
-
* The booking flow's validation vocabulary: what a step can complain about, and
|
|
77
|
-
* when the user has earned the right to be told.
|
|
78
|
-
*
|
|
79
|
-
* Split out of `booking-form.headless.state.ts` so the reducer file carries
|
|
80
|
-
* behaviour rather than this small closed value type and its constructors.
|
|
81
|
-
*/
|
|
82
|
-
type BookingValidationErrors = Readonly<{
|
|
83
|
-
formError: string | null;
|
|
84
|
-
fieldErrors: Readonly<Record<string, string>>;
|
|
85
|
-
}>;
|
|
86
|
-
//#endregion
|
|
87
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts
|
|
88
|
-
type BookingFieldValue = string | number | boolean | readonly string[] | null;
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts
|
|
91
|
-
type LoadState<T> = Readonly<{
|
|
92
|
-
tag: "idle";
|
|
93
|
-
}> | Readonly<{
|
|
94
|
-
tag: "loading";
|
|
95
|
-
}> | Readonly<{
|
|
96
|
-
tag: "loaded";
|
|
97
|
-
value: T;
|
|
98
|
-
}> | Readonly<{
|
|
99
|
-
tag: "error";
|
|
100
|
-
message: string;
|
|
101
|
-
}>;
|
|
102
|
-
type BookingFlowStepId = "service-selection" | "datetime-selection" | "payment-selection" | "custom-fields";
|
|
103
|
-
type BookingFlowStepState = "complete" | "active" | "available" | "blocked" | "hidden";
|
|
104
|
-
type BookingFlowStep = Readonly<{
|
|
105
|
-
id: BookingFlowStepId;
|
|
106
|
-
label: string;
|
|
107
|
-
state: BookingFlowStepState;
|
|
108
|
-
index: number;
|
|
109
|
-
visibleIndex: number | null;
|
|
110
|
-
errors: BookingValidationErrors;
|
|
111
|
-
canEnter: boolean;
|
|
112
|
-
canLeave: boolean;
|
|
113
|
-
}>;
|
|
114
|
-
type BookingFieldId = Brand<string, "BookingFieldId">;
|
|
115
|
-
type BookingSlotView = Readonly<{
|
|
116
|
-
key: string;
|
|
117
|
-
startAt: string;
|
|
118
|
-
endAt: string;
|
|
119
|
-
resourceId: AppointmentResourceId;
|
|
120
|
-
resourceName?: string;
|
|
121
|
-
label?: string;
|
|
122
|
-
}>;
|
|
123
|
-
type BookingSlotSelection = Readonly<{
|
|
124
|
-
startAt: string;
|
|
125
|
-
endAt: string;
|
|
126
|
-
resourceId: string;
|
|
127
|
-
resourceName?: string;
|
|
128
|
-
label?: string;
|
|
129
|
-
}>;
|
|
130
|
-
type BookingResourceView = Readonly<{
|
|
131
|
-
id: AppointmentResourceId;
|
|
132
|
-
label: string;
|
|
133
|
-
}>;
|
|
134
|
-
/** A request sent for approval rather than a confirmed booking (issue 1494). */
|
|
135
|
-
type BookingRequestSummary = Readonly<{
|
|
136
|
-
serviceName: string;
|
|
137
|
-
startAt: string;
|
|
138
|
-
timezone: string;
|
|
139
|
-
}>;
|
|
140
|
-
type BookingFlowFeedback = Readonly<{
|
|
141
|
-
kind: "none";
|
|
142
|
-
}> | Readonly<{
|
|
143
|
-
kind: "success";
|
|
144
|
-
message: string;
|
|
145
|
-
resourceName: string | null;
|
|
146
|
-
request: BookingRequestSummary | null;
|
|
147
|
-
appointment: BookingAppointmentSummary | null;
|
|
148
|
-
}> | Readonly<{
|
|
149
|
-
kind: "error";
|
|
150
|
-
scope: "submission" | "verification" | "discount" | "availability" | "payment";
|
|
151
|
-
message: string;
|
|
152
|
-
}> | Readonly<{
|
|
153
|
-
kind: "info";
|
|
154
|
-
scope: "verification" | "payment";
|
|
155
|
-
message: string;
|
|
156
|
-
}>;
|
|
157
|
-
type BookingFlowStatus = Readonly<{
|
|
158
|
-
tag: "ready";
|
|
159
|
-
}> | Readonly<{
|
|
160
|
-
tag: "submitting";
|
|
161
|
-
}> | Readonly<{
|
|
162
|
-
tag: "success";
|
|
163
|
-
resourceName: string | null;
|
|
164
|
-
}> | Readonly<{
|
|
165
|
-
tag: "error";
|
|
166
|
-
message: string;
|
|
167
|
-
}>;
|
|
168
|
-
type BookingFlowView = Readonly<{
|
|
169
|
-
kind: "missing";
|
|
170
|
-
message: string;
|
|
171
|
-
}> | Readonly<{
|
|
172
|
-
kind: "form";
|
|
173
|
-
}> | Readonly<{
|
|
174
|
-
kind: "success";
|
|
175
|
-
message: string;
|
|
176
|
-
resourceName: string | null;
|
|
177
|
-
request: BookingRequestSummary | null;
|
|
178
|
-
appointment: BookingAppointmentSummary | null;
|
|
179
|
-
}> | Readonly<{
|
|
180
|
-
kind: "error";
|
|
181
|
-
message: string;
|
|
182
|
-
}>;
|
|
183
|
-
type BookingFlowActionResult = Readonly<{
|
|
184
|
-
ok: true;
|
|
185
|
-
}> | Readonly<{
|
|
186
|
-
ok: false;
|
|
187
|
-
reason: "validation-failed";
|
|
188
|
-
/**
|
|
189
|
-
* Empty when only the site terms box is unticked: that message lives on
|
|
190
|
-
* `siteTerms.error`, beside the box.
|
|
191
|
-
*/
|
|
192
|
-
errors: BookingValidationErrors;
|
|
193
|
-
}> | Readonly<{
|
|
194
|
-
ok: false;
|
|
195
|
-
reason: "blocked";
|
|
196
|
-
message: string;
|
|
197
|
-
}> | Readonly<{
|
|
198
|
-
ok: false;
|
|
199
|
-
reason: "submission-failed";
|
|
200
|
-
message: string;
|
|
201
|
-
}>;
|
|
202
|
-
type BookingSubmitOptions = Readonly<{
|
|
203
|
-
/**
|
|
204
|
-
* Checkout return URLs apply only to standard paid bookings. Appointment
|
|
205
|
-
* package submissions complete directly through the portal booking API and
|
|
206
|
-
* intentionally ignore these URLs.
|
|
207
|
-
*/
|
|
208
|
-
redirect?: "manual" | "auto";
|
|
209
|
-
successUrl?: string;
|
|
210
|
-
cancelUrl?: string;
|
|
211
|
-
}>;
|
|
212
|
-
type BookingSubmitActionResult = Readonly<{
|
|
213
|
-
ok: false;
|
|
214
|
-
reason: "review-required";
|
|
215
|
-
review: AppointmentBookingReview;
|
|
216
|
-
}> | Readonly<{
|
|
217
|
-
ok: false;
|
|
218
|
-
reason: "payment-choice-required";
|
|
219
|
-
paymentChoices: BookingPaymentChoices;
|
|
220
|
-
}> | Readonly<{
|
|
221
|
-
ok: true;
|
|
222
|
-
outcome: {
|
|
223
|
-
kind: "booked";
|
|
224
|
-
appointmentId: string;
|
|
225
|
-
resourceName: string | null;
|
|
226
|
-
customerEmail: string | null;
|
|
227
|
-
demoBookingPass?: string;
|
|
228
|
-
mailingListSignupNote?: BookingMailingListNote;
|
|
229
|
-
};
|
|
230
|
-
}> | Readonly<{
|
|
231
|
-
ok: true;
|
|
232
|
-
outcome: {
|
|
233
|
-
kind: "requested";
|
|
234
|
-
appointmentId: string;
|
|
235
|
-
customerEmail: string | null;
|
|
236
|
-
demoBookingPass?: string;
|
|
237
|
-
mailingListSignupNote?: BookingMailingListNote;
|
|
238
|
-
};
|
|
239
|
-
}> | Readonly<{
|
|
240
|
-
ok: true;
|
|
241
|
-
outcome: {
|
|
242
|
-
kind: "checkout_redirect";
|
|
243
|
-
checkoutUrl: string;
|
|
244
|
-
sessionId: string;
|
|
245
|
-
customerEmail: string | null;
|
|
246
|
-
demoBookingPass?: string;
|
|
247
|
-
mailingListSignupNote?: BookingMailingListNote;
|
|
248
|
-
};
|
|
249
|
-
}> | Exclude<BookingFlowActionResult, Readonly<{
|
|
250
|
-
ok: true;
|
|
251
|
-
}>>;
|
|
252
|
-
type BookingFieldView = Readonly<{
|
|
253
|
-
field: BookingFormField$1;
|
|
254
|
-
id: BookingFieldId;
|
|
255
|
-
label: string;
|
|
256
|
-
type: BookingFormField$1["type"];
|
|
257
|
-
value: BookingFieldValue;
|
|
258
|
-
required: boolean;
|
|
259
|
-
error: string | null;
|
|
260
|
-
helpText: string | null;
|
|
261
|
-
inputId: string;
|
|
262
|
-
labelId: string;
|
|
263
|
-
helpTextId: string | null;
|
|
264
|
-
errorId: string | null;
|
|
265
|
-
describedBy: string | undefined;
|
|
266
|
-
ariaInvalid: boolean;
|
|
267
|
-
}>;
|
|
268
|
-
/**
|
|
269
|
-
* Steps the user has actually tried to advance past. Step validation is derived
|
|
270
|
-
* continuously (it gates whether a step can be left), but a step's errors are
|
|
271
|
-
* only ever *shown* once the step has been attempted — so a freshly mounted
|
|
272
|
-
* form is never scolded for input it has not had the chance to give yet.
|
|
273
|
-
*/
|
|
274
|
-
type BookingAttemptedStepIds = Readonly<Partial<Record<BookingFlowStepId, boolean>>>;
|
|
275
|
-
type BookingStepValidationResult = Readonly<{
|
|
276
|
-
ok: true;
|
|
277
|
-
}> | Readonly<{
|
|
278
|
-
ok: false;
|
|
279
|
-
errors: BookingValidationErrors;
|
|
280
|
-
}>;
|
|
281
|
-
type DeriveBookingFlowStepsInput = Readonly<{
|
|
282
|
-
forcePaymentSelection?: boolean;
|
|
283
|
-
nowIso: string;
|
|
284
|
-
form: BookingFormConfig$1 | null;
|
|
285
|
-
services: readonly BookingFormService[];
|
|
286
|
-
data: Partial<BookingFormData$1>;
|
|
287
|
-
defaultServiceId?: AppointmentServiceId;
|
|
288
|
-
defaultResourceId?: AppointmentResourceId;
|
|
289
|
-
currentStepId: BookingFlowStepId;
|
|
290
|
-
requiresServiceSelection?: boolean;
|
|
291
|
-
requiresResourceSelection?: boolean;
|
|
292
|
-
enableAppointmentPackages?: boolean;
|
|
293
|
-
/**
|
|
294
|
-
* Steps whose validation messaging has been earned by an advance attempt.
|
|
295
|
-
* Omitted means "none attempted yet", so callers that only need gating can
|
|
296
|
-
* keep ignoring it.
|
|
297
|
-
*/
|
|
298
|
-
attemptedStepIds?: BookingAttemptedStepIds;
|
|
299
|
-
}>;
|
|
300
|
-
type DerivedBookingFlowSteps = Readonly<{
|
|
301
|
-
paymentResolution: BookingPaymentStepResolution;
|
|
302
|
-
steps: readonly BookingFlowStep[];
|
|
303
|
-
currentStepIndex: number;
|
|
304
|
-
currentStep: BookingFlowStep | null;
|
|
305
|
-
stepIds: readonly BookingFlowStepId[];
|
|
306
|
-
validations: ReadonlyMap<BookingFlowStepId, BookingStepValidationResult>;
|
|
307
|
-
}>;
|
|
308
|
-
type BookingAvailabilityQuery = Readonly<{
|
|
309
|
-
ok: true;
|
|
310
|
-
key: string;
|
|
311
|
-
serviceId: AppointmentServiceId;
|
|
312
|
-
resourceId?: AppointmentResourceId;
|
|
313
|
-
selectedDate?: string;
|
|
314
|
-
timezone: string;
|
|
315
|
-
}> | Readonly<{
|
|
316
|
-
ok: false;
|
|
317
|
-
reason: "missing-service" | "missing-date";
|
|
318
|
-
key: string;
|
|
319
|
-
}>;
|
|
320
|
-
type BookingAppointmentPackagesModel = Readonly<{
|
|
321
|
-
kind: "disabled";
|
|
322
|
-
enabled: false;
|
|
323
|
-
canLoad: false;
|
|
324
|
-
unavailableReason: "disabled";
|
|
325
|
-
state: Readonly<{
|
|
326
|
-
tag: "idle";
|
|
327
|
-
}>;
|
|
328
|
-
items: readonly [];
|
|
329
|
-
selected: null;
|
|
330
|
-
}> | Readonly<{
|
|
331
|
-
kind: "unavailable";
|
|
332
|
-
enabled: true;
|
|
333
|
-
canLoad: false;
|
|
334
|
-
unavailableReason: "missing-portal-auth" | "missing-priced-service";
|
|
335
|
-
state: Readonly<{
|
|
336
|
-
tag: "idle";
|
|
337
|
-
}>;
|
|
338
|
-
items: readonly [];
|
|
339
|
-
selected: null;
|
|
340
|
-
}> | Readonly<{
|
|
341
|
-
kind: "idle";
|
|
342
|
-
enabled: true;
|
|
343
|
-
canLoad: true;
|
|
344
|
-
unavailableReason: null;
|
|
345
|
-
state: Readonly<{
|
|
346
|
-
tag: "idle";
|
|
347
|
-
}>;
|
|
348
|
-
items: readonly [];
|
|
349
|
-
selected: null;
|
|
350
|
-
}> | Readonly<{
|
|
351
|
-
kind: "loading";
|
|
352
|
-
enabled: true;
|
|
353
|
-
canLoad: true;
|
|
354
|
-
unavailableReason: null;
|
|
355
|
-
state: Readonly<{
|
|
356
|
-
tag: "loading";
|
|
357
|
-
}>;
|
|
358
|
-
items: readonly [];
|
|
359
|
-
selected: null;
|
|
360
|
-
}> | Readonly<{
|
|
361
|
-
kind: "error";
|
|
362
|
-
enabled: true;
|
|
363
|
-
canLoad: true;
|
|
364
|
-
unavailableReason: null;
|
|
365
|
-
state: Readonly<{
|
|
366
|
-
tag: "error";
|
|
367
|
-
message: string;
|
|
368
|
-
}>;
|
|
369
|
-
items: readonly [];
|
|
370
|
-
selected: null;
|
|
371
|
-
}> | Readonly<{
|
|
372
|
-
kind: "ready";
|
|
373
|
-
enabled: true;
|
|
374
|
-
canLoad: true;
|
|
375
|
-
unavailableReason: null;
|
|
376
|
-
state: Readonly<{
|
|
377
|
-
tag: "loaded";
|
|
378
|
-
value: readonly HeadlessEligibleAppointmentPackage[];
|
|
379
|
-
}>;
|
|
380
|
-
items: readonly HeadlessEligibleAppointmentPackage[];
|
|
381
|
-
selected: HeadlessEligibleAppointmentPackage | null;
|
|
382
|
-
}>;
|
|
383
|
-
type BookingAppointmentPackagesUnavailableReason = "disabled" | "missing-portal-auth" | "missing-priced-service";
|
|
384
|
-
type AppointmentBookingOverrideData = Readonly<{
|
|
385
|
-
form?: BookingFormConfig$1 | Record<string, unknown> | null;
|
|
386
|
-
services?: BookingFormServicesSource | Record<string, unknown> | null;
|
|
387
|
-
}>;
|
|
388
|
-
type AppointmentBookingOverrideContent = Readonly<{
|
|
389
|
-
formId?: string;
|
|
390
|
-
serviceId?: string;
|
|
391
|
-
resourceId?: string;
|
|
392
|
-
requiresServiceSelection?: boolean;
|
|
393
|
-
requiresResourceSelection?: boolean;
|
|
394
|
-
shouldAutoSelectSingleResource?: boolean;
|
|
395
|
-
successMessage?: string;
|
|
396
|
-
}>;
|
|
397
|
-
type AppointmentBookingOverridePropsLike = Readonly<{
|
|
398
|
-
now?: string;
|
|
399
|
-
dateContext?: Readonly<{
|
|
400
|
-
locale: string;
|
|
401
|
-
timeZone: string;
|
|
402
|
-
}>;
|
|
403
|
-
bookingTimeZone?: string | null;
|
|
404
|
-
content?: AppointmentBookingOverrideContent | null;
|
|
405
|
-
data?: AppointmentBookingOverrideData | Record<string, unknown> | null;
|
|
406
|
-
siteId?: string;
|
|
407
|
-
apiBaseUrl?: string;
|
|
408
|
-
portalToken?: string | null;
|
|
409
|
-
blockId?: string | null;
|
|
410
|
-
}>;
|
|
411
|
-
type AppointmentBookingOverrideInput = Readonly<{
|
|
412
|
-
now: UtcIsoDateTimeString;
|
|
413
|
-
dateContext: DisplayContext;
|
|
414
|
-
siteId: SiteId;
|
|
415
|
-
apiBaseUrl: string;
|
|
416
|
-
portalToken: string | null;
|
|
417
|
-
formId: FormId;
|
|
418
|
-
form: BookingFormConfig$1;
|
|
419
|
-
services: readonly BookingFormService[]; /** Ordered service categories (issue 1403); empty when the site has none. */
|
|
420
|
-
serviceCategories: readonly BookingFormServiceCategory[];
|
|
421
|
-
initialServiceId?: AppointmentServiceId;
|
|
422
|
-
initialResourceId?: AppointmentResourceId;
|
|
423
|
-
requiresServiceSelection: boolean;
|
|
424
|
-
requiresResourceSelection: boolean;
|
|
425
|
-
shouldAutoSelectSingleResource: boolean;
|
|
426
|
-
successMessage?: string;
|
|
427
|
-
blockId?: string | null;
|
|
428
|
-
}>;
|
|
429
|
-
type HeadlessEligibleAppointmentPackage = Omit<EligibleAppointmentPackage, "customerPassId" | "passId"> & Readonly<{
|
|
430
|
-
customerPassId: CustomerPassId;
|
|
431
|
-
passId: PassId;
|
|
432
|
-
}>;
|
|
433
|
-
type AppointmentBookingOverrideInputResult = Readonly<{
|
|
434
|
-
ok: true;
|
|
435
|
-
value: AppointmentBookingOverrideInput;
|
|
436
|
-
}> | Readonly<{
|
|
437
|
-
ok: false;
|
|
438
|
-
reason: "missing-site-id" | "missing-api-base-url" | "missing-form" | "missing-form-id" | "missing-services";
|
|
439
|
-
message: string;
|
|
440
|
-
}>;
|
|
441
|
-
declare function getAppointmentBookingOverrideInput(props: AppointmentBookingOverridePropsLike): AppointmentBookingOverrideInputResult;
|
|
442
|
-
declare function createBookingBlockApiConfig(input: Readonly<{
|
|
443
|
-
siteId: string;
|
|
444
|
-
apiBaseUrl: string;
|
|
445
|
-
portalToken?: string | null;
|
|
446
|
-
}>): BlockApiConfig;
|
|
447
|
-
//#endregion
|
|
448
71
|
//#region .cache/declarations/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts
|
|
449
72
|
type HeadlessBookingFlowOptions = Readonly<{
|
|
450
73
|
now: UtcIsoDateTimeString;
|
|
@@ -471,7 +94,6 @@ type HeadlessBookingFlowOptions = Readonly<{
|
|
|
471
94
|
successMessage?: string;
|
|
472
95
|
anchorId?: string;
|
|
473
96
|
viewerTimeZone?: string;
|
|
474
|
-
navigateToCheckout?: (checkoutUrl: string) => void;
|
|
475
97
|
}>;
|
|
476
98
|
type BookingServicesModel = Readonly<{
|
|
477
99
|
items: readonly BookingFormService[]; /** Ordered service categories for grouping `items`; empty when the site has none. */
|
|
@@ -485,6 +107,7 @@ type BookingResourcesModel = Readonly<{
|
|
|
485
107
|
selected: BookingResourceView | null;
|
|
486
108
|
selectedResourceId?: string;
|
|
487
109
|
state: LoadState<readonly BookingResourceView[]>;
|
|
110
|
+
configuredRequiresSelection: boolean;
|
|
488
111
|
requiresSelection: boolean;
|
|
489
112
|
}>;
|
|
490
113
|
type BookingAvailabilityModel = Readonly<{
|
|
@@ -507,7 +130,12 @@ type BookingFieldsModel = Readonly<{
|
|
|
507
130
|
errors: Readonly<Record<string, string>>;
|
|
508
131
|
touched: Readonly<Record<string, boolean>>;
|
|
509
132
|
}>;
|
|
510
|
-
type
|
|
133
|
+
type BookingPackagePaymentModel = Readonly<{
|
|
134
|
+
choice: BookingPaymentChoice;
|
|
135
|
+
purchasablePackages: BookingPurchasablePackagesModel;
|
|
136
|
+
availability: BookingPaymentAvailability;
|
|
137
|
+
}>;
|
|
138
|
+
type BookingPaymentModel = BookingPackagePaymentModel & (Readonly<{
|
|
511
139
|
kind: "unsupported";
|
|
512
140
|
mode: "unsupported";
|
|
513
141
|
selection: null;
|
|
@@ -530,7 +158,7 @@ type BookingPaymentModel = Readonly<{
|
|
|
530
158
|
slidingScale: ReturnType<typeof getBookingServiceSlidingScale>;
|
|
531
159
|
appointmentPackages: BookingAppointmentPackagesModel;
|
|
532
160
|
confirmationSummary: BookingPaymentConfirmationSummary | null;
|
|
533
|
-
}
|
|
161
|
+
}>);
|
|
534
162
|
type BookingDiscountModel = Readonly<{
|
|
535
163
|
code: string;
|
|
536
164
|
isOpen: boolean;
|
|
@@ -551,6 +179,7 @@ type BookingFlowActions = Readonly<{
|
|
|
551
179
|
markFieldTouched: (fieldId: string) => void;
|
|
552
180
|
selectPaymentOption: (kind: BookingSelectedCollectionOptionKind | null) => void;
|
|
553
181
|
selectAppointmentPackage: (packageId: string | null) => void;
|
|
182
|
+
selectPackageToBuy: (passId: string | null) => void;
|
|
554
183
|
setSlidingAmountInput: (value: string) => void;
|
|
555
184
|
setDiscountCode: (code: string) => void;
|
|
556
185
|
clearDiscountCode: () => void;
|
|
@@ -585,7 +214,9 @@ type HeadlessBookingFlow = Readonly<{
|
|
|
585
214
|
availability: BookingAvailabilityModel;
|
|
586
215
|
fields: BookingFieldsModel;
|
|
587
216
|
payment: BookingPaymentModel;
|
|
588
|
-
discount: BookingDiscountModel;
|
|
217
|
+
discount: BookingDiscountModel; /** During-booking questions for the selected service, kept apart from `fields`. */
|
|
218
|
+
questions: BookingQuestionsModel;
|
|
219
|
+
questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
|
|
589
220
|
feedback: BookingFlowFeedback;
|
|
590
221
|
actions: BookingFlowActions;
|
|
591
222
|
}>;
|
|
@@ -657,6 +288,7 @@ type BookingFormData<TCustomFieldId extends string = never> = BookingFormData$1<
|
|
|
657
288
|
* Data submitted to create a booking
|
|
658
289
|
*/
|
|
659
290
|
interface BookingSubmissionData {
|
|
291
|
+
purchasePassId?: string;
|
|
660
292
|
formId: string;
|
|
661
293
|
serviceId: string;
|
|
662
294
|
resourceId?: string;
|
|
@@ -758,38 +390,15 @@ type RegistrationDraftData = Readonly<{
|
|
|
758
390
|
guests: Guest[];
|
|
759
391
|
selectedAttendanceMode: 'in_person' | 'online' | null;
|
|
760
392
|
selectedTicketLines: EventTicketSelectionLine[];
|
|
761
|
-
selectedSlidingAmountInput: string;
|
|
393
|
+
selectedSlidingAmountInput: string; /** The during-booking answers; changed only through the shared answer events. */
|
|
394
|
+
bookingQuestions: BookingQuestionsAnswerState;
|
|
762
395
|
}>;
|
|
763
396
|
type StateUpdate<T> = T | ((current: T) => T);
|
|
764
397
|
//#endregion
|
|
765
|
-
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts
|
|
766
|
-
type EventRegistrationSubmitResult = Readonly<{
|
|
767
|
-
ok: true;
|
|
768
|
-
outcome: {
|
|
769
|
-
kind: 'completed';
|
|
770
|
-
};
|
|
771
|
-
}> | Readonly<{
|
|
772
|
-
ok: true;
|
|
773
|
-
outcome: {
|
|
774
|
-
kind: 'payment_status';
|
|
775
|
-
};
|
|
776
|
-
}> | Readonly<{
|
|
777
|
-
ok: true;
|
|
778
|
-
outcome: {
|
|
779
|
-
kind: 'checkout_ready';
|
|
780
|
-
checkout: EventEmbeddedCheckout;
|
|
781
|
-
subject: EventRegistrationPaymentSubject;
|
|
782
|
-
};
|
|
783
|
-
}> | Readonly<{
|
|
784
|
-
ok: false;
|
|
785
|
-
reason: 'blocked' | 'missing-target' | 'submission-failed';
|
|
786
|
-
message: string;
|
|
787
|
-
}>;
|
|
788
|
-
type EventRegistrationSubmit = (method: PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection) => Promise<EventRegistrationSubmitResult>;
|
|
789
|
-
//#endregion
|
|
790
398
|
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts
|
|
791
399
|
type SelectionSource = 'auto' | 'manual';
|
|
792
400
|
type RegistrationDraftState = {
|
|
401
|
+
questionFieldErrors: BookingQuestionsSubmissionFailure['questionFieldErrors'];
|
|
793
402
|
draft: RegistrationDraftData;
|
|
794
403
|
ticketsCount: number;
|
|
795
404
|
eligibility: EligibilityData | null;
|
|
@@ -811,6 +420,39 @@ type RegistrationFlowState = Readonly<{
|
|
|
811
420
|
}>;
|
|
812
421
|
}>);
|
|
813
422
|
//#endregion
|
|
423
|
+
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationQuestions.d.ts
|
|
424
|
+
type EventRegistrationQuestionsModel = BookingQuestionsModel & Readonly<{
|
|
425
|
+
/** The answers this checkout sends, kept so a payment return can put them back for the same person. */paymentSnapshot: BookingQuestionsPaymentSnapshot | undefined;
|
|
426
|
+
}>;
|
|
427
|
+
//#endregion
|
|
428
|
+
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts
|
|
429
|
+
type EventRegistrationSubmitResult = Readonly<{
|
|
430
|
+
ok: true;
|
|
431
|
+
outcome: {
|
|
432
|
+
kind: 'completed';
|
|
433
|
+
};
|
|
434
|
+
}> | Readonly<{
|
|
435
|
+
ok: true;
|
|
436
|
+
outcome: {
|
|
437
|
+
kind: 'payment_status';
|
|
438
|
+
};
|
|
439
|
+
}> | Readonly<{
|
|
440
|
+
ok: true;
|
|
441
|
+
outcome: {
|
|
442
|
+
kind: 'checkout_ready';
|
|
443
|
+
checkout: EventEmbeddedCheckout;
|
|
444
|
+
subject: EventRegistrationPaymentSubject;
|
|
445
|
+
};
|
|
446
|
+
}> | Readonly<{
|
|
447
|
+
ok: false;
|
|
448
|
+
reason: 'blocked' | 'missing-target';
|
|
449
|
+
message: string;
|
|
450
|
+
}> | (Readonly<{
|
|
451
|
+
ok: false;
|
|
452
|
+
reason: 'submission-failed';
|
|
453
|
+
}> & BookingQuestionsSubmissionFailure);
|
|
454
|
+
type EventRegistrationSubmit = (method: PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection) => Promise<EventRegistrationSubmitResult>;
|
|
455
|
+
//#endregion
|
|
814
456
|
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts
|
|
815
457
|
type EventRegistrationDetailsCompleteResult = Readonly<{
|
|
816
458
|
ok: true;
|
|
@@ -829,9 +471,20 @@ type UseEventRegistrationWizardOptions = Readonly<{
|
|
|
829
471
|
maxTicketsNum: number;
|
|
830
472
|
mailingList?: EventRegistrationClientProps['mailingList'];
|
|
831
473
|
siteTerms?: BlockSiteTerms;
|
|
474
|
+
offeringNoun?: EventRegistrationClientProps['offeringNoun'];
|
|
475
|
+
pageNavigation?: EventRegistrationClientProps['pageNavigation'];
|
|
832
476
|
siteName?: string;
|
|
833
477
|
}>;
|
|
834
478
|
declare function useEventRegistrationWizard(options: UseEventRegistrationWizardOptions): {
|
|
479
|
+
handOff?: Readonly<{
|
|
480
|
+
kind: 'handOff';
|
|
481
|
+
url: string;
|
|
482
|
+
}> & Readonly<{
|
|
483
|
+
purpose: 'signIn' | 'navigation';
|
|
484
|
+
}>;
|
|
485
|
+
dismissHandOff?: () => void;
|
|
486
|
+
handOffBusinessName?: string;
|
|
487
|
+
handOffOfferingLabel?: string;
|
|
835
488
|
api: BoundBlockApiClient;
|
|
836
489
|
nowIso: UtcIsoDateTimeString;
|
|
837
490
|
directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
|
|
@@ -935,12 +588,16 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
935
588
|
guestSectionShake: boolean;
|
|
936
589
|
handleGuestShakeEnd: () => void;
|
|
937
590
|
errorMessage: string;
|
|
591
|
+
questionFieldErrors: Readonly<Record<string, string>>;
|
|
592
|
+
bookingQuestions: EventRegistrationQuestionsModel; /** Where a sign-in link brings the booker back to, keeping this booking for that attempt. */
|
|
593
|
+
signInReturnPath: (email: string) => string; /** The message under the details form while questions there need attention. */
|
|
594
|
+
questionsMessage: string;
|
|
938
595
|
errorAction: EventRegistrationErrorAction;
|
|
939
596
|
portalAuthState: PortalAuthState;
|
|
940
597
|
portalProfile: PortalProfile | null;
|
|
941
598
|
portalCreditState: PortalCreditState;
|
|
942
599
|
showMagicLinkModal: boolean;
|
|
943
|
-
setShowMagicLinkModal:
|
|
600
|
+
setShowMagicLinkModal: (show: boolean) => void;
|
|
944
601
|
handleLogout: () => void;
|
|
945
602
|
paymentStepState: PaymentStepState;
|
|
946
603
|
handlePaymentSelectionChange: (value: Parameters<(selection: PaymentSelection) => void>[0]) => void;
|
|
@@ -958,7 +615,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
958
615
|
registrationOptionsState: EligibilityLookupState;
|
|
959
616
|
eligibilityLoading: boolean;
|
|
960
617
|
eligibilityError: string | null;
|
|
961
|
-
|
|
618
|
+
existingRegistrations: CustomerEventRegistration[];
|
|
962
619
|
existingRegistrationLoading: boolean;
|
|
963
620
|
existingRegistrationState: ExistingRegistrationLookupState;
|
|
964
621
|
registrationState: Readonly<{
|
|
@@ -1326,6 +983,15 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1326
983
|
step: "success";
|
|
1327
984
|
registrationResult: RegistrationResult;
|
|
1328
985
|
} | {
|
|
986
|
+
handOff?: Readonly<{
|
|
987
|
+
kind: 'handOff';
|
|
988
|
+
url: string;
|
|
989
|
+
}> & Readonly<{
|
|
990
|
+
purpose: 'signIn' | 'navigation';
|
|
991
|
+
}>;
|
|
992
|
+
dismissHandOff?: () => void;
|
|
993
|
+
handOffBusinessName?: string;
|
|
994
|
+
handOffOfferingLabel?: string;
|
|
1329
995
|
api: BoundBlockApiClient;
|
|
1330
996
|
nowIso: UtcIsoDateTimeString;
|
|
1331
997
|
directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
|
|
@@ -1429,12 +1095,16 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1429
1095
|
guestSectionShake: boolean;
|
|
1430
1096
|
handleGuestShakeEnd: () => void;
|
|
1431
1097
|
errorMessage: string;
|
|
1098
|
+
questionFieldErrors: Readonly<Record<string, string>>;
|
|
1099
|
+
bookingQuestions: EventRegistrationQuestionsModel; /** Where a sign-in link brings the booker back to, keeping this booking for that attempt. */
|
|
1100
|
+
signInReturnPath: (email: string) => string; /** The message under the details form while questions there need attention. */
|
|
1101
|
+
questionsMessage: string;
|
|
1432
1102
|
errorAction: EventRegistrationErrorAction;
|
|
1433
1103
|
portalAuthState: PortalAuthState;
|
|
1434
1104
|
portalProfile: PortalProfile | null;
|
|
1435
1105
|
portalCreditState: PortalCreditState;
|
|
1436
1106
|
showMagicLinkModal: boolean;
|
|
1437
|
-
setShowMagicLinkModal:
|
|
1107
|
+
setShowMagicLinkModal: (show: boolean) => void;
|
|
1438
1108
|
handleLogout: () => void;
|
|
1439
1109
|
paymentStepState: PaymentStepState;
|
|
1440
1110
|
handlePaymentSelectionChange: (value: Parameters<(selection: PaymentSelection) => void>[0]) => void;
|
|
@@ -1452,7 +1122,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1452
1122
|
registrationOptionsState: EligibilityLookupState;
|
|
1453
1123
|
eligibilityLoading: boolean;
|
|
1454
1124
|
eligibilityError: string | null;
|
|
1455
|
-
|
|
1125
|
+
existingRegistrations: CustomerEventRegistration[];
|
|
1456
1126
|
existingRegistrationLoading: boolean;
|
|
1457
1127
|
existingRegistrationState: ExistingRegistrationLookupState;
|
|
1458
1128
|
registrationState: Readonly<{
|
|
@@ -1924,7 +1594,8 @@ type EventRegistrationAttendeeModel = Readonly<{
|
|
|
1924
1594
|
siteTerms: ReturnType<typeof useSiteTermsAgreement>;
|
|
1925
1595
|
mailingListSignup: Readonly<{
|
|
1926
1596
|
siteName: string;
|
|
1927
|
-
}> | null;
|
|
1597
|
+
}> | null; /** The event's during-booking questions; render with `BookingQuestionSections`, or your own fields. */
|
|
1598
|
+
bookingQuestions: BookingQuestionsModel;
|
|
1928
1599
|
}>;
|
|
1929
1600
|
type EventRegistrationGuestsModel = Readonly<{
|
|
1930
1601
|
required: boolean;
|
|
@@ -1989,6 +1660,7 @@ type EventRegistrationPortalAuthModel = Readonly<{
|
|
|
1989
1660
|
}>;
|
|
1990
1661
|
type EventRegistrationTerminalModel = Readonly<{
|
|
1991
1662
|
result: RegistrationResult | null;
|
|
1663
|
+
questionFieldErrors: Readonly<Record<string, string>>;
|
|
1992
1664
|
errorMessage: string;
|
|
1993
1665
|
verification: UseEventRegistrationWizardResult['verification'];
|
|
1994
1666
|
paymentStatusRecovery: PaymentStatusRecoveryState | null;
|
|
@@ -2031,9 +1703,9 @@ type HeadlessEventRegistrationFlow = Readonly<{
|
|
|
2031
1703
|
payment: EventRegistrationPaymentModel;
|
|
2032
1704
|
discount: EventRegistrationDiscountModel;
|
|
2033
1705
|
portalAuth: EventRegistrationPortalAuthModel;
|
|
2034
|
-
|
|
2035
|
-
state: EventRegistrationLoadState<UseEventRegistrationWizardResult['
|
|
2036
|
-
|
|
1706
|
+
existingRegistrations: Readonly<{
|
|
1707
|
+
state: EventRegistrationLoadState<UseEventRegistrationWizardResult['existingRegistrations']>;
|
|
1708
|
+
registrations: UseEventRegistrationWizardResult['existingRegistrations'];
|
|
2037
1709
|
}>;
|
|
2038
1710
|
waitlistClaim: WaitlistInvitation;
|
|
2039
1711
|
terminal: EventRegistrationTerminalModel;
|
|
@@ -2145,4 +1817,4 @@ declare function EventRegistrationPayment({
|
|
|
2145
1817
|
flow: HeadlessEventRegistrationFlow;
|
|
2146
1818
|
}>): import("react").JSX.Element;
|
|
2147
1819
|
//#endregion
|
|
2148
|
-
export { HeadlessBookingProviderProps as $, BookingFormClient as A, BookingFormField as B, EventRegistrationPaymentModel as C,
|
|
1820
|
+
export { HeadlessBookingProviderProps as $, BookingFormClient as A, BookingFormField as B, EventRegistrationPaymentModel as C, EventRegistrationTicketsModel as D, EventRegistrationTerminalModel as E, BookingFormClientForm as F, BookingSubmissionResult as G, BookingFormSettings as H, BookingFormClientProps as I, UseBookingFormConfigResult as J, Service as K, BookingFormClientService as L, HeadlessBookingProvider as M, HeadlessEventRegistrationProvider as N, HeadlessEventRegistrationFlow as O, useBookingFormConfig as P, HeadlessBookingFlowOptions as Q, BookingFormConfig as R, EventRegistrationOverridePropsLike as S, EventRegistrationPortalAuthModel as T, BookingService as U, BookingFormSchema as V, BookingSubmissionData as W, BookingResourcesModel as X, HeadlessBookingPaymentSelectionStepProps as Y, HeadlessBookingFlow as Z, EventRegistrationGuestsModel as _, useHeadlessEventRegistrationFlow as a, EventRegistrationOverrideInput as b, EventRegistrationAttendeeModel as c, EventRegistrationFlowActionResult as d, useHeadlessBookingFlow as et, EventRegistrationFlowActions as f, EventRegistrationFlowView as g, EventRegistrationFlowStepId as h, HeadlessEventRegistrationProviderProps as i, HeadlessBookingPaymentSelectionStep as j, EventRegistrationSubmitResult as k, EventRegistrationDiscountModel as l, EventRegistrationFlowStep as m, ProtectedSubmitButton as n, createEventRegistrationBlockApiConfig as o, EventRegistrationFlowStatus as p, TimeSlot as q, HeadlessEventRegistrationFlowOptions as r, getEventRegistrationOverrideInput as s, EventRegistrationPayment as t, EventRegistrationEventsModel as u, EventRegistrationLoadState as v, EventRegistrationPaymentSelection as w, EventRegistrationOverrideInputResult as x, EventRegistrationOverrideData as y, BookingFormData as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as BindingTransformName } from "./index-
|
|
1
|
+
import { gt as NavigationConfigItemInput, ht as NavigationAuthoringLinkInput } from "./request-DeVetKBr.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-CiR_oPYT.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
5
5
|
/**
|