@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
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region ../core/src/date-math.ts
|
|
3
|
+
function addDaysToDate(date, dayCount) {
|
|
4
|
+
const next = new Date(date);
|
|
5
|
+
next.setUTCDate(next.getUTCDate() + dayCount);
|
|
6
|
+
return next;
|
|
7
|
+
}
|
|
8
|
+
function addDaysToIso(isoString, dayCount) {
|
|
9
|
+
const date = new Date(isoString);
|
|
10
|
+
if (!Number.isFinite(date.getTime())) return isoString;
|
|
11
|
+
return addDaysToDate(date, dayCount).toISOString();
|
|
12
|
+
}
|
|
13
|
+
function subtractDaysFromIso(isoString, dayCount) {
|
|
14
|
+
return addDaysToIso(isoString, -dayCount);
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region ../core/src/assert-never.ts
|
|
18
|
+
function assertNever$4(value, message = "Unexpected variant") {
|
|
19
|
+
throw new Error(`${message}: ${String(value)}`);
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region ../core/src/booking-flexible-balance.ts
|
|
23
|
+
function clampFlexibleBalanceConfiguredAmount(amountCents, totalAmountCents) {
|
|
24
|
+
return Math.max(0, Math.min(amountCents, totalAmountCents));
|
|
25
|
+
}
|
|
26
|
+
function resolveFlexibleBalanceInitialPaymentCents(input) {
|
|
27
|
+
return clampFlexibleBalanceConfiguredAmount(input.config.upfrontAmountCents, input.totalAmountCents);
|
|
28
|
+
}
|
|
29
|
+
function resolveFlexibleBalanceDueAt(input) {
|
|
30
|
+
switch (input.dueDateRule.kind) {
|
|
31
|
+
case "relative_to_start_date": return subtractDaysFromIso(input.bookingStartAt, input.dueDateRule.daysBeforeStart);
|
|
32
|
+
case "fixed_calendar_date": return input.dueDateRule.dueAt;
|
|
33
|
+
default: return assertNever$3(input.dueDateRule);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function calculateFlexibleBalanceMinimumPaymentCents(input) {
|
|
37
|
+
if (input.remainingBalanceCents <= 0) return 0;
|
|
38
|
+
const minimumPercentageBps = input.minimumPercentageBps ?? 1e3;
|
|
39
|
+
const percentageFloor = Math.ceil(input.remainingBalanceCents * minimumPercentageBps / 1e4);
|
|
40
|
+
return Math.min(input.remainingBalanceCents, Math.max(input.stripeMinimumChargeCents, percentageFloor));
|
|
41
|
+
}
|
|
42
|
+
function resolveFlexibleBalancePaymentEligibility(input) {
|
|
43
|
+
if (input.remainingBalanceCents <= 0 || input.status === "completed") return {
|
|
44
|
+
kind: "unavailable",
|
|
45
|
+
reason: "already_settled"
|
|
46
|
+
};
|
|
47
|
+
switch (input.status) {
|
|
48
|
+
case "payment_pending":
|
|
49
|
+
case "cancelled_due_to_non_payment":
|
|
50
|
+
case "refunded":
|
|
51
|
+
case "waived": return {
|
|
52
|
+
kind: "unavailable",
|
|
53
|
+
reason: input.status
|
|
54
|
+
};
|
|
55
|
+
case "closed_order_failed": return {
|
|
56
|
+
kind: "unavailable",
|
|
57
|
+
reason: "order_failed"
|
|
58
|
+
};
|
|
59
|
+
case "overdue": return {
|
|
60
|
+
kind: "full_balance_only",
|
|
61
|
+
remainingBalanceCents: input.remainingBalanceCents,
|
|
62
|
+
reason: "overdue"
|
|
63
|
+
};
|
|
64
|
+
case "active": {
|
|
65
|
+
const minimumAmountCents = calculateFlexibleBalanceMinimumPaymentCents({
|
|
66
|
+
remainingBalanceCents: input.remainingBalanceCents,
|
|
67
|
+
stripeMinimumChargeCents: input.stripeMinimumChargeCents,
|
|
68
|
+
minimumPercentageBps: input.minimumPercentageBps
|
|
69
|
+
});
|
|
70
|
+
if (minimumAmountCents >= input.remainingBalanceCents) return {
|
|
71
|
+
kind: "full_balance_only",
|
|
72
|
+
remainingBalanceCents: input.remainingBalanceCents,
|
|
73
|
+
reason: "dust_balance"
|
|
74
|
+
};
|
|
75
|
+
return {
|
|
76
|
+
kind: "eligible",
|
|
77
|
+
minimumAmountCents,
|
|
78
|
+
maximumCustomAmountCents: input.remainingBalanceCents,
|
|
79
|
+
suggestedPayFullAmountCents: input.remainingBalanceCents
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
default: return assertNever$3(input.status);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function assertNever$3(value) {
|
|
86
|
+
throw new Error(`Unexpected value: ${String(value)}`);
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region ../core/src/booking-instalments.ts
|
|
90
|
+
function isDepositBearingBookingInstalmentPlan(plan) {
|
|
91
|
+
switch (plan.kind) {
|
|
92
|
+
case "deposit_plus_one_remainder":
|
|
93
|
+
case "deposit_plus_scheduled_instalments": return true;
|
|
94
|
+
case "equal_scheduled_instalments": return false;
|
|
95
|
+
default: return assertNever$2(plan);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function getBookingInstalmentDepositRefundability(plan) {
|
|
99
|
+
return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositRefundability : null;
|
|
100
|
+
}
|
|
101
|
+
function clampConfiguredAmount(amountCents, totalAmountCents) {
|
|
102
|
+
return Math.max(0, Math.min(amountCents, totalAmountCents));
|
|
103
|
+
}
|
|
104
|
+
function splitAmountWithRemainderInFirst(totalAmountCents, partCount) {
|
|
105
|
+
if (partCount <= 0) return [];
|
|
106
|
+
const baseAmountCents = Math.floor(totalAmountCents / partCount);
|
|
107
|
+
const remainderCents = totalAmountCents - baseAmountCents * partCount;
|
|
108
|
+
return Array.from({ length: partCount }, (_, index) => index === 0 ? baseAmountCents + remainderCents : baseAmountCents);
|
|
109
|
+
}
|
|
110
|
+
function addIntervalPreservingMonthAnchor(isoString, intervalCount, intervalUnit) {
|
|
111
|
+
const date = new Date(isoString);
|
|
112
|
+
if (!Number.isFinite(date.getTime())) return isoString;
|
|
113
|
+
switch (intervalUnit) {
|
|
114
|
+
case "day":
|
|
115
|
+
date.setUTCDate(date.getUTCDate() + intervalCount);
|
|
116
|
+
return date.toISOString();
|
|
117
|
+
case "week":
|
|
118
|
+
date.setUTCDate(date.getUTCDate() + intervalCount * 7);
|
|
119
|
+
return date.toISOString();
|
|
120
|
+
case "month": return addMonthsPreservingAnchorDay(date, intervalCount).toISOString();
|
|
121
|
+
default: return assertNever$2(intervalUnit);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
function getBookingInstalmentPlanIntervalCount(plan) {
|
|
125
|
+
switch (plan.kind) {
|
|
126
|
+
case "deposit_plus_one_remainder": return plan.remainderDueCount;
|
|
127
|
+
case "deposit_plus_scheduled_instalments":
|
|
128
|
+
case "equal_scheduled_instalments": return plan.intervalCount;
|
|
129
|
+
default: return assertNever$2(plan);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
function omitZeroAmountFutureRows(rows) {
|
|
133
|
+
if (rows.length <= 1) return rows;
|
|
134
|
+
const firstRow = rows[0];
|
|
135
|
+
if (firstRow === void 0) return [];
|
|
136
|
+
return [firstRow, ...rows.slice(1).filter((row) => row.amountCents > 0)];
|
|
137
|
+
}
|
|
138
|
+
function formatOrderInstalmentStatusLabel(input) {
|
|
139
|
+
switch (input.status) {
|
|
140
|
+
case "pending_initial_payment": return input.phaseKind === "initial" ? "Due today" : "Scheduled";
|
|
141
|
+
case "scheduled": return "Scheduled";
|
|
142
|
+
case "paid": return input.phaseKind === "initial" ? "Paid today" : "Paid";
|
|
143
|
+
case "failed": return "Payment failed";
|
|
144
|
+
case "waived": return "Waived";
|
|
145
|
+
case "cancelled": return "Cancelled";
|
|
146
|
+
case "cancelled_as_paid_early": return "Paid early";
|
|
147
|
+
case "refunded": return "Refunded";
|
|
148
|
+
default: return assertNever$2(input.status);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
function addMonthsPreservingAnchorDay(date, intervalCount) {
|
|
152
|
+
const anchorDay = date.getUTCDate();
|
|
153
|
+
const nextMonth = new Date(Date.UTC(date.getUTCFullYear(), date.getUTCMonth() + intervalCount, 1, date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds()));
|
|
154
|
+
const lastDayOfTargetMonth = new Date(Date.UTC(nextMonth.getUTCFullYear(), nextMonth.getUTCMonth() + 1, 0)).getUTCDate();
|
|
155
|
+
nextMonth.setUTCDate(Math.min(anchorDay, lastDayOfTargetMonth));
|
|
156
|
+
return nextMonth;
|
|
157
|
+
}
|
|
158
|
+
function assertNever$2(value) {
|
|
159
|
+
throw new Error(`Unexpected value: ${String(value)}`);
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region ../frontend-state/src/submission.ts
|
|
163
|
+
function clearWorkflowFeedback(state) {
|
|
164
|
+
return {
|
|
165
|
+
...state,
|
|
166
|
+
feedback: idleSubmissionFeedback()
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function reportWorkflowError(state, message) {
|
|
170
|
+
return {
|
|
171
|
+
...state,
|
|
172
|
+
feedback: errorSubmissionFeedback(message)
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function reportWorkflowSuccess(state, message) {
|
|
176
|
+
return {
|
|
177
|
+
...state,
|
|
178
|
+
feedback: successSubmissionFeedback(message)
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
function idleSubmissionFeedback() {
|
|
182
|
+
return { tag: "idle" };
|
|
183
|
+
}
|
|
184
|
+
function errorSubmissionFeedback(message) {
|
|
185
|
+
return {
|
|
186
|
+
tag: "error",
|
|
187
|
+
message
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function successSubmissionFeedback(message) {
|
|
191
|
+
return {
|
|
192
|
+
tag: "success",
|
|
193
|
+
message
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region ../frontend-state/src/index.ts
|
|
198
|
+
function ok() {
|
|
199
|
+
return { ok: true };
|
|
200
|
+
}
|
|
201
|
+
function okWith(data) {
|
|
202
|
+
return {
|
|
203
|
+
ok: true,
|
|
204
|
+
data
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
function err(error) {
|
|
208
|
+
return {
|
|
209
|
+
ok: false,
|
|
210
|
+
error
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function assertNever$1(value, message) {
|
|
214
|
+
throw new Error(message ?? `Unexpected value: ${String(value)}`);
|
|
215
|
+
}
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region ../blocks/src/system/runtime/shared/bookingQuestionValues.ts
|
|
218
|
+
function getInitialFieldValue(field, answers) {
|
|
219
|
+
const value = answers[field.id];
|
|
220
|
+
if (value !== void 0) return value;
|
|
221
|
+
if (field.type === "checkbox" && field.options && field.options.length > 1) return [];
|
|
222
|
+
if (field.type === "checkbox") return false;
|
|
223
|
+
if (field.type === "document_upload") return null;
|
|
224
|
+
return "";
|
|
225
|
+
}
|
|
226
|
+
/** One value per question, taken from earlier answers where there are any. */
|
|
227
|
+
function initialBookingQuestionValues(sections, answers = {}) {
|
|
228
|
+
return Object.fromEntries(sections.flatMap((section) => section.items.map((field) => [field.id, getInitialFieldValue(field, answers)])));
|
|
229
|
+
}
|
|
230
|
+
/** Where a booker starts: keeping earlier answers when we already have them. */
|
|
231
|
+
function initialBookingQuestionsAnswerMode(presentation) {
|
|
232
|
+
return presentation.kind === "already_answered" ? "keep_existing" : "answers";
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* What the submission sends. Keeping earlier answers is only possible when the
|
|
236
|
+
* presentation says we have them, so a mode left over from an earlier
|
|
237
|
+
* presentation (say the booker switched service) can't send `keep_existing`
|
|
238
|
+
* beside questions they can see and edit.
|
|
239
|
+
*/
|
|
240
|
+
function resolveBookingQuestionsAnswerMode(presentation, answerMode) {
|
|
241
|
+
return presentation.kind === "already_answered" ? answerMode : "answers";
|
|
242
|
+
}
|
|
243
|
+
/** Both booking flows submit the same decision made from the current presentation. */
|
|
244
|
+
function buildBookingQuestionsSubmission(presentation, answerMode, values) {
|
|
245
|
+
if (presentation.kind === "none" || presentation.kind === "unavailable") return void 0;
|
|
246
|
+
const requirementId = presentation.set.requirementId;
|
|
247
|
+
return resolveBookingQuestionsAnswerMode(presentation, answerMode) === "keep_existing" ? {
|
|
248
|
+
requirementId,
|
|
249
|
+
kind: "keep_existing"
|
|
250
|
+
} : {
|
|
251
|
+
requirementId,
|
|
252
|
+
kind: "answers",
|
|
253
|
+
raw: values
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
/** Starting values, seeded from earlier answers when the presentation carries them. */
|
|
257
|
+
function initialBookingQuestionsValues(presentation) {
|
|
258
|
+
switch (presentation.kind) {
|
|
259
|
+
case "none":
|
|
260
|
+
case "unavailable": return {};
|
|
261
|
+
case "ask": return initialBookingQuestionValues(presentation.set.sections);
|
|
262
|
+
case "prefill":
|
|
263
|
+
case "already_answered": return initialBookingQuestionValues(presentation.set.sections, presentation.answers);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/** No answer given: blank text, nothing chosen, an unticked box, or no file. Mirrors the server's required check. */
|
|
267
|
+
function isUnansweredBookingQuestion(value) {
|
|
268
|
+
if (value === void 0 || value === null || value === false) return true;
|
|
269
|
+
if (typeof value === "string") return value.trim() === "";
|
|
270
|
+
if (Array.isArray(value)) return value.every((item) => item.trim() === "");
|
|
271
|
+
return false;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* The required questions still without an answer, so a flow can point at
|
|
275
|
+
* them before sending; the server makes the same check and has the last word.
|
|
276
|
+
*/
|
|
277
|
+
function unansweredRequiredBookingQuestions(sections, values) {
|
|
278
|
+
return sections.flatMap((section) => section.items.flatMap((field) => field.required && isUnansweredBookingQuestion(values[field.id]) ? [field.id] : []));
|
|
279
|
+
}
|
|
280
|
+
/** The same words the server uses when it refuses an unanswered question. */
|
|
281
|
+
const UNANSWERED_QUESTION_MESSAGE = "Please answer this question.";
|
|
282
|
+
const UNANSWERED_QUESTIONS_SUMMARY = "Some questions still need an answer.";
|
|
283
|
+
/**
|
|
284
|
+
* The during-booking questions before the details step moves on: required
|
|
285
|
+
* questions need an answer, unless the booker is keeping earlier ones. Format
|
|
286
|
+
* checks (length, email and so on) are left to the server.
|
|
287
|
+
*/
|
|
288
|
+
function checkBookingQuestionsAnswered(view) {
|
|
289
|
+
const { presentation } = view;
|
|
290
|
+
if (presentation.kind === "none") return { kind: "ok" };
|
|
291
|
+
if (presentation.kind === "unavailable") return {
|
|
292
|
+
kind: "refused",
|
|
293
|
+
message: presentation.message
|
|
294
|
+
};
|
|
295
|
+
if (view.answerMode === "keep_existing") return { kind: "ok" };
|
|
296
|
+
const missing = unansweredRequiredBookingQuestions(presentation.set.sections, view.values);
|
|
297
|
+
return missing.length === 0 ? { kind: "ok" } : {
|
|
298
|
+
kind: "unanswered",
|
|
299
|
+
message: UNANSWERED_QUESTIONS_SUMMARY,
|
|
300
|
+
fieldErrors: Object.fromEntries(missing.map((fieldId) => [fieldId, UNANSWERED_QUESTION_MESSAGE]))
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
//#endregion
|
|
304
|
+
//#region ../blocks/src/system/runtime/api/creditProducts.ts
|
|
305
|
+
function assertNever(value) {
|
|
306
|
+
throw new Error(`Unhandled credit product case: ${String(value)}`);
|
|
307
|
+
}
|
|
308
|
+
function useCasesFromModules(modules) {
|
|
309
|
+
if (!modules) return [];
|
|
310
|
+
return [...modules.events ? ["event_pass"] : [], ...modules.appointments ? ["appointment_package"] : []];
|
|
311
|
+
}
|
|
312
|
+
function deriveUseCases(products, modules) {
|
|
313
|
+
if (products.length > 0) return products.map((product) => product.productUseCase);
|
|
314
|
+
return useCasesFromModules(modules);
|
|
315
|
+
}
|
|
316
|
+
function getCreditProductTypeLabel(useCase) {
|
|
317
|
+
switch (useCase) {
|
|
318
|
+
case "event_pass": return "Event pass";
|
|
319
|
+
case "appointment_package": return "Appointment package";
|
|
320
|
+
default: return assertNever(useCase);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
function getCreditProductCreditUnit(useCase) {
|
|
324
|
+
switch (useCase) {
|
|
325
|
+
case "event_pass": return {
|
|
326
|
+
singular: "class",
|
|
327
|
+
plural: "classes",
|
|
328
|
+
perCreditSuffix: "class"
|
|
329
|
+
};
|
|
330
|
+
case "appointment_package": return {
|
|
331
|
+
singular: "credit",
|
|
332
|
+
plural: "credits",
|
|
333
|
+
perCreditSuffix: "credit"
|
|
334
|
+
};
|
|
335
|
+
default: return assertNever(useCase);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
function getPortalCreditProductCreditNoun(useCase, count) {
|
|
339
|
+
switch (useCase) {
|
|
340
|
+
case "event_pass": return count === 1 ? "pass credit" : "pass credits";
|
|
341
|
+
case "appointment_package": return count === 1 ? "package credit" : "package credits";
|
|
342
|
+
default: return assertNever(useCase);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
function deriveCreditProductLabels(products, options = {}) {
|
|
346
|
+
const style = options.style ?? "generic";
|
|
347
|
+
const useCases = deriveUseCases(products, options.modules);
|
|
348
|
+
const hasEventPass = useCases.includes("event_pass");
|
|
349
|
+
const hasAppointmentPackage = useCases.includes("appointment_package");
|
|
350
|
+
if (hasEventPass && hasAppointmentPackage) return {
|
|
351
|
+
heading: "Passes & Packages",
|
|
352
|
+
emptyMessage: "You don't have any passes or packages yet."
|
|
353
|
+
};
|
|
354
|
+
if (hasAppointmentPackage) return {
|
|
355
|
+
heading: style === "class" ? "Appointment Packages" : "Packages",
|
|
356
|
+
emptyMessage: "You don't have any packages yet."
|
|
357
|
+
};
|
|
358
|
+
return {
|
|
359
|
+
heading: style === "class" ? "Class Passes" : "Passes",
|
|
360
|
+
emptyMessage: "You don't have any passes yet."
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
export { resolveFlexibleBalanceInitialPaymentCents as A, clampConfiguredAmount as C, omitZeroAmountFutureRows as D, getBookingInstalmentPlanIntervalCount as E, assertNever$4 as M, splitAmountWithRemainderInFirst as O, addIntervalPreservingMonthAnchor as S, getBookingInstalmentDepositRefundability as T, ok as _, UNANSWERED_QUESTIONS_SUMMARY as a, reportWorkflowError as b, checkBookingQuestionsAnswered as c, initialBookingQuestionsAnswerMode as d, initialBookingQuestionsValues as f, err as g, assertNever$1 as h, getPortalCreditProductCreditNoun as i, resolveFlexibleBalancePaymentEligibility as j, resolveFlexibleBalanceDueAt as k, getInitialFieldValue as l, unansweredRequiredBookingQuestions as m, getCreditProductCreditUnit as n, UNANSWERED_QUESTION_MESSAGE as o, resolveBookingQuestionsAnswerMode as p, getCreditProductTypeLabel as r, buildBookingQuestionsSubmission as s, deriveCreditProductLabels as t, initialBookingQuestionValues as u, okWith as v, formatOrderInstalmentStatusLabel as w, reportWorkflowSuccess as x, clearWorkflowFeedback as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { $n as canJoinEventWaitlistOnAnyMode, Zn as resolveRuntimeEventDestination, er as formatEventRemainingPlaces, ir as getEventAvailabilityStatus, or as isEventFull } from "./display-CT8KMSpH.mjs";
|
|
3
|
+
import { M as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5
5
|
/**
|
|
6
6
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Bt as resolveBookingDisplayContext, Ft as formatDateTimeRange, It as formatTime, Mt as formatDate$1, Pt as formatDateTime$1, Qt as resolveBookingTimeZoneId, en as parseUtcIsoDateTimeString, tn as toUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { i as BlockApiError } from "./context-DQnTyApV.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|