@riverbankcms/sdk 0.167.0 → 0.168.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-CiD_VVGM.d.ts} +1 -1
- package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-Bj6VJRS5.d.ts} +7 -6
- package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-ChpsnwDX.d.ts} +2 -2
- package/dist/_dts/{client-CwsI23pj.d.ts → client-C8mfUxrJ.d.ts} +65 -35
- package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-_vXZyR4H.d.ts} +2 -2
- package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CJFfrVKU.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-CMegb23G.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-D9YdAIMh.d.ts} +2 -2
- package/dist/_dts/{index-CS6b1B-c.d.ts → index-BQXaZ7aY.d.ts} +4 -4
- package/dist/_dts/{index-5_jf52sZ.d.ts → index-Bpr-wT5k.d.ts} +2 -2
- package/dist/_dts/{index-DeHDwMfu.d.ts → index-C7_Rz8EY.d.ts} +3 -3
- package/dist/_dts/{index-D7EbliE3.d.ts → index-Cx2BQlHL.d.ts} +3 -3
- package/dist/_dts/{index-C20yUyob.d.ts → index-Dgz6yhsy.d.ts} +1 -1
- package/dist/_dts/index-Vh8B9FSa.d.ts +14 -0
- package/dist/_dts/{index-bDln38Hm.d.ts → index-vR3p9Bu-.d.ts} +2 -2
- package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-dhWSgLeS.d.ts} +7 -7
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
- package/dist/_dts/{index-ChpjHK0U.d.ts → request-BrYhNV9Z.d.ts} +80718 -47665
- package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-BfSHm8Ms.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-gZJ4i1wN.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-CwtTcaQP.d.ts → types-BB33-Spd.d.ts} +3 -3
- package/dist/_dts/{types-D-WElMCy.d.ts → types-BVFXYtRg.d.ts} +7 -7
- package/dist/_dts/{types-BlaCuPLr.d.ts → types-FOsJ-KYb.d.ts} +4 -2
- package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-DckTc6TQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-DcwEaliO.mjs} +21 -21
- package/dist/client/BookingMailingListNote-Dsugoe-n.mjs +946 -0
- package/dist/client/BookingQuestionFields-Bhh0cvsl.mjs +359 -0
- package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-CNe3ZjdC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-BeiZxEUJ.mjs} +7 -7
- package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-BL943-tl.mjs} +9 -9
- package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-BFVxECTp.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
- package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-BIc4gjiD.mjs} +37 -15
- package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-a0QEIEf0.mjs} +1 -1
- package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-CEFTC3jH.mjs} +3 -3
- package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-Bt2sBBms.mjs} +34 -16
- package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-D9YBNb_E.mjs} +250 -40
- package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-gqzt5gkW.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-13JQI7_z.mjs} +1 -1
- package/dist/client/{Page-D4_H_u9V.mjs → Page-D_M2Vxz3.mjs} +4471 -1601
- package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
- package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-CaN8snZ8.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-DE7OG--d.mjs} +1 -1
- package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-CS1PPjw7.mjs} +842 -374
- package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-DE2CwIU9.mjs} +5 -4
- package/dist/client/{src-DjnxOjXG.mjs → bookingQuestionValues-BjcyCru5.mjs} +88 -1
- package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
- package/dist/client/bookings.mjs +18 -13
- package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DZyUdnFh.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-D7HkkNwe.mjs} +3 -3
- package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-H4sv2TpD.mjs} +1 -1
- package/dist/client/{checkout-CipmYL4A.mjs → checkout-2qVyG-Sh.mjs} +3 -3
- package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-DAjrBZ74.mjs} +1 -1
- package/dist/client/client.mjs +240 -63
- package/dist/client/{context-Cv3QHjAF.mjs → context-DXmIbXCK.mjs} +297 -3
- package/dist/client/{cta-P2vJVTEn.mjs → cta-DP_IBnq3.mjs} +2 -2
- package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-CwrkFZTr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-DQXK-Fh6.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-DheQj7rg.mjs} +3 -3
- package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-C5UufcRp.mjs} +1 -1
- package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-CMGg63IU.mjs} +72 -235
- package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DlD0GCEy.mjs} +4 -4
- package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DoSi8p_l.mjs} +4 -4
- package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzuQYgmO.mjs} +2 -2
- package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CkiMjl0g.mjs} +4 -4
- package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-CjS3Zpjp.mjs} +4 -4
- package/dist/client/{form-Bw1uuiUs.mjs → form-DgQqm7T2.mjs} +3 -3
- package/dist/client/{form.client-pZ-9gN33.mjs → form.client-BI9Dcsq5.mjs} +5 -5
- package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-DevF0L_A.mjs} +3 -3
- package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-DDyURjoe.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-DYIG6Pwb.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-BWp7Y1e1.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-Dg8s9NwJ.mjs} +2 -2
- package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-DnPraMzx.mjs} +3 -3
- package/dist/client/{noop-ByVtIWf4.mjs → noop-ByFRHYQ2.mjs} +437 -496
- package/dist/client/portal/client.mjs +76 -229
- package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-BFAgHrdg.mjs} +1 -1
- package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-DVrs_DyY.mjs} +1 -1
- package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-D4rvl6Xg.mjs} +3 -3
- package/dist/client/{productList-B21TGdpT.mjs → productList-B8o5AOMX.mjs} +3 -3
- package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-hhotPP6P.mjs} +5 -4
- package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Ch3EpupA.mjs} +2213 -2433
- 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-C3LabQ1O.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-CQGlxId8.mjs} +1 -1
- package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
- package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
- package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-VDbVaKY-.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-DqdgJ8Zw.mjs} +1 -1
- package/dist/client/{shop-mqyoOvOK.mjs → shop-rRXplPGZ.mjs} +3 -3
- package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-DdwvMvaK.mjs} +13 -13
- package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C8OvFY06.mjs} +141 -66
- package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-BeuJiGPU.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
- package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-Cko9LRKy.mjs} +11 -11
- package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
- package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-M6QIEiWf.mjs} +3 -3
- package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-BJSnyO0f.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-D3XnOSCi.mjs} +1 -1
- package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-PhTIoFVX.mjs} +7 -7
- package/dist/client/{view-BN-fxyfq.mjs → view-448wvvEY.mjs} +11 -7
- package/dist/client/{view-Dh2tGoS0.mjs → view-L_mkgtnk.mjs} +4 -4
- package/dist/client/{site-styles-D56hT2u1.mjs → wizardSteps-CFulHWnT.mjs} +19660 -18565
- package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-BpvnOGlN.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-C0OtdWu_.mjs} +128 -21
- package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-Csc5vH5k.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-BOLH_pm-.mjs} +199 -155
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-CKodLReY.mjs} +31 -32
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-BeEZpeKn.mjs} +3780 -3436
- 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-BBdN5kfY.mjs} +18697 -15557
- package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-VZtGwPuH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-kiZkMcuR.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-BiIHEeE0.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-BuFLIpmX.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-DlxYgmh_.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-C0sCvCYL.mjs} +165 -0
- package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-Dnhc0Wu5.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-NAQ_zsFu.mjs} +461 -128
- package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
- package/dist/server/{bindings-ConMYJ2U.mjs → bindings-DLoZYUxG.mjs} +2 -2
- package/dist/server/{client-Cot-H5fQ.mjs → client-Bc8jI8zN.mjs} +261 -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-BwR9NV4b.mjs +463 -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-D61gpqHB.mjs} +4 -5
- package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-B4ZYpIcd.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-CDReKy2P.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-ByVTA7-4.mjs} +255 -158
- package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-Dzz_Dze6.mjs} +291 -5
- package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-Dk5Ku6hs.mjs} +1285 -897
- package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-pJPGfMrf.mjs} +593 -1592
- package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-CW4M0WEZ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-Bvx0SiIM.mjs} +5 -4
- package/dist/server/{registry-BPFcpn6k.mjs → registry-Bh0Y25zH.mjs} +4399 -4065
- 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-CnHHst9r.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-D2bHWSxJ.mjs} +57 -8
- package/dist/server/{version-BLXZ31S-.mjs → version-DkM1eAxG.mjs} +1 -1
- package/dist/styles/index.css +340 -68
- 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/site-styles-CMCUxsIM.mjs +0 -3
- package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
- package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
- package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, cn as formatEventPriceDisplay, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import {
|
|
7
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
2
|
+
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, cn as formatEventPriceDisplay, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry } from "./shop.interactive-C8OvFY06.mjs";
|
|
3
|
+
import { $r as resolveEventRegistrationScopedEvents, A as isEventRegistrationAvailable, At as getTicketLineQuantity, B as paymentChoiceDetails, Bn as selectEventCapacitySource, Ct as getVisibleTicketTypes, D as settledRemainingPlaces, Dt as formatPrice, Et as withOccurrenceTitle, Ft as setTicketLineQuantity, Hn as groupPublicEventsByRun, In as getEventAvailability, Mn as canJoinEventWaitlistOnAnyMode, Mt as getTicketTypeLineMax, Ot as canRequestTicketOption, Qn as getRegistrationSuccessCopy, Qt as placesLeftLabel, Rn as getRemainingPlaces, St as getTicketTypeAvailabilityLabel, T as resolveRegistrationAvailabilityBlocker, V as paymentChoicePrice, Vn as selectMostOpenCapacitySource, Xa as publicEventPricingType, Ya as publicEventPricingStrategy, _ as shouldPromptForLogin, _t as formatPassCreditUsageLabel, b as placeCountCeiling, c as registrationStepLabelContext, dt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, ft as areEntitlementsDisabledForTicketCount, gt as formatEventDateTime, ht as formatDate, j as normalizeEventRegistrationMaxTickets, jn as canJoinEventWaitlist, jt as getTicketSelectionTotal, l as areEventRegistrationPaymentSelectionsEqual, lt as confirmationPaymentRows, mt as formatBookingWhen, n as getEventSelectionMode, qa as publicEventPricingCurrency, r as panelShouldOpen, s as registrationStepLabel, tn as shownVenue, ut as resolveFinishedPresentation, v as fullyBookedLabel, vt as formatRegistrationSchedule, wt as occurrenceTitleOverride, yt as formatTime, zn as isEventFull } from "./wizardSteps-CFulHWnT.mjs";
|
|
4
|
+
import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-BeiZxEUJ.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
|
|
7
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-D9YBNb_E.mjs";
|
|
8
|
+
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
8
9
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
10
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
|
|
10
11
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
11
12
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
12
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
14
|
+
import { i as useBookingNowIso } from "./BookingQuestionFields-Bhh0cvsl.mjs";
|
|
15
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-D3XnOSCi.mjs";
|
|
15
16
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
16
|
-
import { i as PaymentChoiceRows, n as
|
|
17
|
+
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-Dsugoe-n.mjs";
|
|
17
18
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
18
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
19
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-Cv3QHjAF.mjs";
|
|
20
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-BDmWkYUW.mjs";
|
|
21
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CXWZoV-d.mjs";
|
|
19
|
+
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CaN8snZ8.mjs";
|
|
22
20
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
23
|
-
import React, { useCallback, useEffect, useId, useLayoutEffect,
|
|
21
|
+
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
24
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
23
|
import { createPortal } from "react-dom";
|
|
26
24
|
//#region ../core/src/number-input.ts
|
|
@@ -455,206 +453,6 @@ function EventRegistrationBookingLayer(props) {
|
|
|
455
453
|
] });
|
|
456
454
|
}
|
|
457
455
|
//#endregion
|
|
458
|
-
//#region ../blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.ts
|
|
459
|
-
const initialMagicLinkSubmissionState = Object.freeze({ tag: "idle" });
|
|
460
|
-
function magicLinkSubmissionReducer(state, action) {
|
|
461
|
-
switch (action.type) {
|
|
462
|
-
case "submit-started":
|
|
463
|
-
if (state.tag === "submitting") return state;
|
|
464
|
-
return { tag: "submitting" };
|
|
465
|
-
case "submit-succeeded":
|
|
466
|
-
if (state.tag !== "submitting") return state;
|
|
467
|
-
return { tag: "success" };
|
|
468
|
-
case "submit-demo-link": return state.tag === "submitting" ? {
|
|
469
|
-
tag: "demo_link",
|
|
470
|
-
url: action.url
|
|
471
|
-
} : state;
|
|
472
|
-
case "submit-demo-refused": return state.tag === "submitting" ? {
|
|
473
|
-
tag: "demo_refused",
|
|
474
|
-
message: action.message
|
|
475
|
-
} : state;
|
|
476
|
-
case "submit-failed":
|
|
477
|
-
if (state.tag !== "submitting") return state;
|
|
478
|
-
return {
|
|
479
|
-
tag: "error",
|
|
480
|
-
message: action.message
|
|
481
|
-
};
|
|
482
|
-
case "reset": return initialMagicLinkSubmissionState;
|
|
483
|
-
default: return assertNever(action);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
function isMagicLinkSubmitting(state) {
|
|
487
|
-
return state.tag === "submitting";
|
|
488
|
-
}
|
|
489
|
-
function getMagicLinkError(state) {
|
|
490
|
-
return state.tag === "error" ? state.message : null;
|
|
491
|
-
}
|
|
492
|
-
//#endregion
|
|
493
|
-
//#region ../blocks/src/system/runtime/nodes/shared/MagicLinkForm.tsx
|
|
494
|
-
function MagicLinkForm(props) {
|
|
495
|
-
const api = useBlockApi();
|
|
496
|
-
const [email, setEmail] = useState(props.initialEmail ?? "");
|
|
497
|
-
const [state, dispatch] = useReducer(magicLinkSubmissionReducer, initialMagicLinkSubmissionState);
|
|
498
|
-
const loading = isMagicLinkSubmitting(state);
|
|
499
|
-
const handleSubmit = (event) => {
|
|
500
|
-
submitMagicLink({
|
|
501
|
-
event,
|
|
502
|
-
email,
|
|
503
|
-
loading,
|
|
504
|
-
api,
|
|
505
|
-
dispatch,
|
|
506
|
-
onSuccess: props.onSuccess
|
|
507
|
-
});
|
|
508
|
-
};
|
|
509
|
-
if (state.tag === "success" || state.tag === "demo_link") return /* @__PURE__ */ jsx(MagicLinkSuccess, {
|
|
510
|
-
state,
|
|
511
|
-
classPrefix: props.classPrefix ?? "er",
|
|
512
|
-
compact: props.compact ?? false,
|
|
513
|
-
successMessage: props.successMessage ?? "Check your email for a login link to sign in.",
|
|
514
|
-
onReset: () => {
|
|
515
|
-
setEmail("");
|
|
516
|
-
dispatch({ type: "reset" });
|
|
517
|
-
}
|
|
518
|
-
});
|
|
519
|
-
return /* @__PURE__ */ jsx(MagicLinkFormView, {
|
|
520
|
-
classPrefix: props.classPrefix ?? "er",
|
|
521
|
-
compact: props.compact ?? false,
|
|
522
|
-
email,
|
|
523
|
-
error: getMagicLinkError(state),
|
|
524
|
-
loading,
|
|
525
|
-
title: props.title,
|
|
526
|
-
subtitle: props.subtitle,
|
|
527
|
-
buttonText: props.buttonText ?? "Send login link",
|
|
528
|
-
state,
|
|
529
|
-
onEmailChange: setEmail,
|
|
530
|
-
onSubmit: handleSubmit
|
|
531
|
-
});
|
|
532
|
-
}
|
|
533
|
-
function MagicLinkFormView(props) {
|
|
534
|
-
const classPrefix = props.classPrefix;
|
|
535
|
-
return /* @__PURE__ */ jsxs("form", {
|
|
536
|
-
onSubmit: props.onSubmit,
|
|
537
|
-
className: `${classPrefix}-magic-link-form`,
|
|
538
|
-
children: [
|
|
539
|
-
props.title ? /* @__PURE__ */ jsx("h3", {
|
|
540
|
-
className: `${classPrefix}-magic-link-title`,
|
|
541
|
-
children: props.title
|
|
542
|
-
}) : null,
|
|
543
|
-
props.subtitle ? /* @__PURE__ */ jsx("p", {
|
|
544
|
-
className: `${classPrefix}-portal-auth-text`,
|
|
545
|
-
children: props.subtitle
|
|
546
|
-
}) : null,
|
|
547
|
-
/* @__PURE__ */ jsx("input", {
|
|
548
|
-
type: "email",
|
|
549
|
-
className: classPrefix === "cp" ? "cp-input" : `${classPrefix}-form__input`,
|
|
550
|
-
placeholder: "your@email.com",
|
|
551
|
-
value: props.email,
|
|
552
|
-
onChange: (event) => props.onEmailChange(event.target.value),
|
|
553
|
-
autoFocus: !props.compact,
|
|
554
|
-
required: true,
|
|
555
|
-
disabled: props.loading
|
|
556
|
-
}),
|
|
557
|
-
/* @__PURE__ */ jsx(MagicLinkFormFeedback, {
|
|
558
|
-
classPrefix,
|
|
559
|
-
error: props.error,
|
|
560
|
-
state: props.state
|
|
561
|
-
}),
|
|
562
|
-
/* @__PURE__ */ jsx(MagicLinkButton, {
|
|
563
|
-
themed: classPrefix === "cp",
|
|
564
|
-
type: "submit",
|
|
565
|
-
variant: "primary",
|
|
566
|
-
className: `${classPrefix}-modal-btn`,
|
|
567
|
-
label: props.loading ? "Sending..." : props.buttonText,
|
|
568
|
-
disabled: !props.email.trim() || props.loading
|
|
569
|
-
})
|
|
570
|
-
]
|
|
571
|
-
});
|
|
572
|
-
}
|
|
573
|
-
function MagicLinkFormFeedback(props) {
|
|
574
|
-
if (!props.error && props.state.tag !== "demo_refused") return null;
|
|
575
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [props.error ? /* @__PURE__ */ jsx("p", {
|
|
576
|
-
className: `${props.classPrefix}-portal-auth-text ${props.classPrefix}-portal-auth-text--error`,
|
|
577
|
-
children: props.error
|
|
578
|
-
}) : null, props.state.tag === "demo_refused" ? /* @__PURE__ */ jsx("p", {
|
|
579
|
-
role: "alert",
|
|
580
|
-
className: `${props.classPrefix}-portal-auth-text ${props.classPrefix}-portal-auth-text--error`,
|
|
581
|
-
children: props.state.message
|
|
582
|
-
}) : null] });
|
|
583
|
-
}
|
|
584
|
-
function MagicLinkSuccess(props) {
|
|
585
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
586
|
-
className: `${props.classPrefix}-magic-link-success`,
|
|
587
|
-
children: [props.state.tag === "success" ? /* @__PURE__ */ jsx("p", {
|
|
588
|
-
className: `${props.classPrefix}-portal-auth-text ${props.classPrefix}-portal-auth-text--success`,
|
|
589
|
-
children: props.successMessage
|
|
590
|
-
}) : /* @__PURE__ */ jsx(DemoPortalSignInLink, { url: props.state.url }), !props.compact ? /* @__PURE__ */ jsx(MagicLinkButton, {
|
|
591
|
-
themed: props.classPrefix === "cp",
|
|
592
|
-
type: "button",
|
|
593
|
-
variant: "secondary",
|
|
594
|
-
className: `${props.classPrefix}-modal-btn ${props.classPrefix}-modal-btn--secondary`,
|
|
595
|
-
label: "Try a different email",
|
|
596
|
-
onClick: props.onReset
|
|
597
|
-
}) : null]
|
|
598
|
-
});
|
|
599
|
-
}
|
|
600
|
-
function MagicLinkButton(props) {
|
|
601
|
-
return props.themed ? /* @__PURE__ */ jsx(ThemedButton, {
|
|
602
|
-
type: props.type,
|
|
603
|
-
variant: props.variant,
|
|
604
|
-
size: "md",
|
|
605
|
-
label: props.label,
|
|
606
|
-
disabled: props.disabled,
|
|
607
|
-
onClick: props.onClick
|
|
608
|
-
}) : /* @__PURE__ */ jsx("button", {
|
|
609
|
-
type: props.type,
|
|
610
|
-
className: props.className,
|
|
611
|
-
disabled: props.disabled,
|
|
612
|
-
onClick: props.onClick,
|
|
613
|
-
children: props.label
|
|
614
|
-
});
|
|
615
|
-
}
|
|
616
|
-
async function submitMagicLink(input) {
|
|
617
|
-
input.event.preventDefault();
|
|
618
|
-
const email = input.email.trim().toLowerCase();
|
|
619
|
-
if (!email || input.loading) return;
|
|
620
|
-
input.dispatch({ type: "submit-started" });
|
|
621
|
-
try {
|
|
622
|
-
const result = await requestDemoPortalMagicLink({
|
|
623
|
-
email,
|
|
624
|
-
redirectUrl: getMagicLinkRedirectUrl(),
|
|
625
|
-
send: (request) => input.api.sendMagicLink(request)
|
|
626
|
-
});
|
|
627
|
-
input.dispatch(magicLinkActionForResult(result));
|
|
628
|
-
if (result.kind === "email_sent") input.onSuccess?.();
|
|
629
|
-
} catch (error) {
|
|
630
|
-
console.error("Magic link error:", error);
|
|
631
|
-
input.dispatch({
|
|
632
|
-
type: "submit-failed",
|
|
633
|
-
message: getMagicLinkErrorMessage(error)
|
|
634
|
-
});
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
function magicLinkActionForResult(result) {
|
|
638
|
-
switch (result.kind) {
|
|
639
|
-
case "email_sent": return { type: "submit-succeeded" };
|
|
640
|
-
case "demo_sign_in": return {
|
|
641
|
-
type: "submit-demo-link",
|
|
642
|
-
url: result.url
|
|
643
|
-
};
|
|
644
|
-
case "refused": return {
|
|
645
|
-
type: "submit-demo-refused",
|
|
646
|
-
message: result.message
|
|
647
|
-
};
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
function getMagicLinkRedirectUrl() {
|
|
651
|
-
const redirectTo = `${window.location.pathname}${window.location.search}${window.location.hash}`;
|
|
652
|
-
return buildPortalCallbackUrl(window.location.origin, redirectTo);
|
|
653
|
-
}
|
|
654
|
-
function getMagicLinkErrorMessage(error) {
|
|
655
|
-
return error instanceof BlockApiError ? error.message : "We couldn’t send the sign-in link. Please try again.";
|
|
656
|
-
}
|
|
657
|
-
//#endregion
|
|
658
456
|
//#region ../blocks/src/system/runtime/nodes/event-registration/ErrorStep.tsx
|
|
659
457
|
/**
|
|
660
458
|
* Error Step
|
|
@@ -2108,7 +1906,8 @@ function EventConsentField({ consent, error, formData, idBase, onChange }) {
|
|
|
2108
1906
|
/* @__PURE__ */ jsx(BookingConsentAgreement, {
|
|
2109
1907
|
agreement: consent.agreement,
|
|
2110
1908
|
title: consent.title,
|
|
2111
|
-
titleId: `${idBase}-consent-title
|
|
1909
|
+
titleId: `${idBase}-consent-title`,
|
|
1910
|
+
requiredMark: "none"
|
|
2112
1911
|
}),
|
|
2113
1912
|
/* @__PURE__ */ jsx(CheckboxChoice, {
|
|
2114
1913
|
"aria-describedby": error ? errorId : void 0,
|
|
@@ -2118,14 +1917,7 @@ function EventConsentField({ consent, error, formData, idBase, onChange }) {
|
|
|
2118
1917
|
...formData,
|
|
2119
1918
|
consentAccepted: event.target.checked
|
|
2120
1919
|
}),
|
|
2121
|
-
label:
|
|
2122
|
-
consent.checkboxLabel,
|
|
2123
|
-
" ",
|
|
2124
|
-
/* @__PURE__ */ jsx("span", {
|
|
2125
|
-
className: "required-marker",
|
|
2126
|
-
children: "*"
|
|
2127
|
-
})
|
|
2128
|
-
] }),
|
|
1920
|
+
label: consent.checkboxLabel,
|
|
2129
1921
|
presentation: "tile",
|
|
2130
1922
|
className: "er-consent-check"
|
|
2131
1923
|
}),
|
|
@@ -2230,12 +2022,44 @@ function MailingListOptInField({ signup, formData, onChange }) {
|
|
|
2230
2022
|
});
|
|
2231
2023
|
}
|
|
2232
2024
|
/**
|
|
2025
|
+
* The end of the details form: the event's during-booking questions, then
|
|
2026
|
+
* consent and the site's terms, then the message under the form.
|
|
2027
|
+
*/
|
|
2028
|
+
function QuestionsAndAgreement(props) {
|
|
2029
|
+
const { bookingQuestions, consent } = props;
|
|
2030
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2031
|
+
bookingQuestions ? /* @__PURE__ */ jsx(BookingQuestionSections, {
|
|
2032
|
+
presentation: bookingQuestions.presentation,
|
|
2033
|
+
values: bookingQuestions.values,
|
|
2034
|
+
fieldErrors: bookingQuestions.fieldErrors,
|
|
2035
|
+
onChange: bookingQuestions.answer,
|
|
2036
|
+
answerMode: bookingQuestions.answerMode,
|
|
2037
|
+
onAnswerModeChange: bookingQuestions.chooseAnswerMode,
|
|
2038
|
+
signInEmail: props.formData.email.trim() || void 0,
|
|
2039
|
+
signInReturnPath: bookingQuestions.signInReturnPath
|
|
2040
|
+
}) : null,
|
|
2041
|
+
consent ? /* @__PURE__ */ jsx(EventConsentField, {
|
|
2042
|
+
consent,
|
|
2043
|
+
error: props.consentError,
|
|
2044
|
+
formData: props.formData,
|
|
2045
|
+
idBase: props.idBase,
|
|
2046
|
+
onChange: props.onChange
|
|
2047
|
+
}) : null,
|
|
2048
|
+
props.siteTerms,
|
|
2049
|
+
props.questionsMessage ? /* @__PURE__ */ jsx("p", {
|
|
2050
|
+
role: "alert",
|
|
2051
|
+
className: "er-error",
|
|
2052
|
+
children: props.questionsMessage
|
|
2053
|
+
}) : null
|
|
2054
|
+
] });
|
|
2055
|
+
}
|
|
2056
|
+
/**
|
|
2233
2057
|
* Attendee Details Step
|
|
2234
2058
|
*
|
|
2235
2059
|
* Collects attendee information: name, email, phone, and notes.
|
|
2236
2060
|
* Validates required fields and displays errors.
|
|
2237
2061
|
*/
|
|
2238
|
-
const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false, onLogout, ticketsCount = 1, requireGuestDetails = false, guests = [], onGuestsChange, guestErrors = {}, guestSectionShake = false, onGuestShakeEnd, consent, mailingListSignup, siteTerms, siteTermsNotice }) => {
|
|
2062
|
+
const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false, onLogout, ticketsCount = 1, requireGuestDetails = false, guests = [], onGuestsChange, guestErrors = {}, guestSectionShake = false, onGuestShakeEnd, consent, mailingListSignup, siteTerms, siteTermsNotice, bookingQuestions, questionsMessage }) => {
|
|
2239
2063
|
const idBase = useId();
|
|
2240
2064
|
const nameId = `${idBase}-name`;
|
|
2241
2065
|
const emailId = `${idBase}-email`;
|
|
@@ -2323,14 +2147,16 @@ const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false,
|
|
|
2323
2147
|
notes
|
|
2324
2148
|
})
|
|
2325
2149
|
}),
|
|
2326
|
-
|
|
2327
|
-
consent,
|
|
2328
|
-
error: errors.consentAccepted,
|
|
2150
|
+
/* @__PURE__ */ jsx(QuestionsAndAgreement, {
|
|
2329
2151
|
formData,
|
|
2152
|
+
onChange,
|
|
2330
2153
|
idBase,
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2154
|
+
consent,
|
|
2155
|
+
consentError: errors.consentAccepted,
|
|
2156
|
+
bookingQuestions,
|
|
2157
|
+
questionsMessage,
|
|
2158
|
+
siteTerms
|
|
2159
|
+
})
|
|
2334
2160
|
] }),
|
|
2335
2161
|
guestDetailsChangeHandler && /* @__PURE__ */ jsx(GuestDetailsSection, {
|
|
2336
2162
|
guests,
|
|
@@ -2965,11 +2791,14 @@ function AttendeeDetailsContent(props) {
|
|
|
2965
2791
|
onGuestShakeEnd: wizard.handleGuestShakeEnd,
|
|
2966
2792
|
consent: (wizard.selectedEvent ?? wizard.preSelectedEvent)?.consent ?? null,
|
|
2967
2793
|
mailingListSignup: wizard.mailingListSignup,
|
|
2794
|
+
bookingQuestions: wizard.bookingQuestions,
|
|
2795
|
+
questionsMessage: wizard.questionsMessage,
|
|
2968
2796
|
siteTerms: /* @__PURE__ */ jsx(SiteTermsAgreementField, {
|
|
2969
2797
|
agreement: wizard.siteTerms.view,
|
|
2970
2798
|
onChange: wizard.siteTerms.onChange,
|
|
2971
2799
|
error: wizard.siteTerms.error,
|
|
2972
|
-
disabled: wizard.siteTerms.disabled
|
|
2800
|
+
disabled: wizard.siteTerms.disabled,
|
|
2801
|
+
requiredMark: "none"
|
|
2973
2802
|
}),
|
|
2974
2803
|
siteTermsNotice: /* @__PURE__ */ jsx(SiteTermsChangedNotice, { message: wizard.siteTerms.notice })
|
|
2975
2804
|
})] });
|
|
@@ -3114,7 +2943,8 @@ function BundleSiteTerms({ wizard }) {
|
|
|
3114
2943
|
agreement: wizard.siteTerms.commerceView,
|
|
3115
2944
|
onChange: wizard.siteTerms.onChange,
|
|
3116
2945
|
error: wizard.siteTerms.error,
|
|
3117
|
-
disabled: wizard.siteTerms.disabled
|
|
2946
|
+
disabled: wizard.siteTerms.disabled,
|
|
2947
|
+
requiredMark: "none"
|
|
3118
2948
|
});
|
|
3119
2949
|
}
|
|
3120
2950
|
//#endregion
|
|
@@ -3258,8 +3088,15 @@ function EventRegistrationMagicLinkModal(props) {
|
|
|
3258
3088
|
className: "er-modal-content",
|
|
3259
3089
|
children: /* @__PURE__ */ jsx(MagicLinkForm, {
|
|
3260
3090
|
initialEmail: wizard.formData.email,
|
|
3261
|
-
subtitle: "Enter your email and we
|
|
3262
|
-
|
|
3091
|
+
subtitle: "Enter your email and we’ll send you a link to sign in.",
|
|
3092
|
+
buttonText: "Send sign-in link",
|
|
3093
|
+
successMessage: (email) => `We’ve sent a sign-in link to ${email}.`,
|
|
3094
|
+
successDetail: "Open it on this device and you’ll come back to this booking with everything you’ve typed so far.",
|
|
3095
|
+
successAction: {
|
|
3096
|
+
label: "Back to my booking",
|
|
3097
|
+
onClick: () => wizard.setShowMagicLinkModal(false)
|
|
3098
|
+
},
|
|
3099
|
+
returnPath: wizard.signInReturnPath,
|
|
3263
3100
|
classPrefix: "er"
|
|
3264
3101
|
})
|
|
3265
3102
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-BL943-tl.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-BFVxECTp.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-C5UufcRp.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-CEFTC3jH.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
2
|
+
import { t as EventRegistrationIslandClient } from "./event-registration.client-CMGg63IU.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-BI9Dcsq5.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
|
|
3
|
+
import { d as assertNever, f as err, p as ok } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
|
|
5
|
+
import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
|
|
5
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
-
import { n as useBlockApi } from "./context-Cv3QHjAF.mjs";
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DevF0L_A.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
2
|
+
import { ai as listLookControl, oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
|
|
3
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Dt as formatDateTime, Ht as parseBookingLocalDate, Tt as formatDate$1, qt as parseUtcIsoDateTimeString } from "./noop-ByFRHYQ2.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Gt as resolveBookingTimeZoneId, Jt as toUtcIsoDateTimeString, Tt as formatDate, en as formatGiftCardAmountLabel, t as logger } from "../noop-ByFRHYQ2.mjs";
|
|
4
|
+
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-DXmIbXCK.mjs";
|
|
5
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BdnEwA38.mjs";
|
|
5
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
6
|
-
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-Cv3QHjAF.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useRouter } from "next/navigation";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-DheQj7rg.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { n as renderableMediaAssetSchema } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
3
|
//#region src/rendering/mediaAssets.ts
|
|
4
4
|
function toBlocksMediaAssets(assets) {
|
|
5
5
|
if (!assets) return void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/mediaContextStore.ts
|
|
4
4
|
/**
|
|
5
5
|
* Client-side context storage.
|
package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-BWp7Y1e1.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { I as newsletterBlockSubmissionMessage,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { I as newsletterBlockSubmissionMessage, On as parseMailingListVisitorSelection, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-C8OvFY06.mjs";
|
|
3
|
+
import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
|
|
4
|
+
import { O as assertNever$1, d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
5
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-DXmIbXCK.mjs";
|
|
6
|
+
import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
|
|
6
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
8
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-Cv3QHjAF.mjs";
|
|
8
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-Dg8s9NwJ.mjs";
|
|
9
9
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
10
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
11
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-Dg8s9NwJ.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/newsletter-form.parts.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-BWp7Y1e1.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|