@riverbankcms/sdk 0.183.0 → 0.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- 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/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +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/portal/index.d.ts +10 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +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 +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
- package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
- package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +61 -48
- package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
- package/dist/client/gifting/client.mjs +8 -8
- package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +999 -81
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
- package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +158 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
- 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 +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +684 -181
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as bookingPanelHeading, D as bookingCardEntry, E as bookingBarPlacement, M as
|
|
3
|
-
import { An as formatCurrencyAmount, t as assertNever } from "./src-
|
|
4
|
-
import { An as
|
|
5
|
-
import { i as portalPath } from "./portalRoutes-
|
|
6
|
-
import { n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { a as ONE_DATE_FUNDING_LOAD_FAILED, c as planEventRegistrationSurface, i as summaryExplainsMoreThanTheOption, l as registrationAdmissionSurface, o as SELECTION_FUNDING_LOAD_FAILED, r as useEventRegistrationWizard, s as useEventRegistrationRecoveryRequest, t as EventPaymentMount, u as resolveEventRegistrationClientSurface } from "./EventRegistrationPayment-
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
9
|
-
import {
|
|
10
|
-
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-
|
|
11
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-
|
|
12
|
-
import { m as DiscountCodeDisclosure, p as NavigationHandOffPanel, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { A as bookingPanelHeading, D as bookingCardEntry, E as bookingBarPlacement, M as cancelledRegistrationCopy, O as bookingEntry, T as DEFAULT_BOOKING_BUTTON_TEXT, Tn as formatEventPriceDisplay, b as displayButtonText, j as courseTitleOf, k as bookingEntryProgress, v as buildEventRegistrationDisplayFromScopedEvents, w as offeringNounForEvent, y as buildEventRegistrationInteractiveIslandProps } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { An as formatCurrencyAmount, t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { An as selectionAtLimit, B as closedAdmissionLabel, Bs as setRoomChoicePeople, Da as formatPrice, Dn as runNeedsPricingChoice, Dr as getTicketLineQuantity, Ea as formatCentsAsCurrencyInput, En as runChoiceUsable, Hi as getRegistrationSuccessCopy, In as selectionItemsLabel, Jn as combinationOffersOf, Ln as selectionPlacesLabel, Lt as ADD_A_PLACE, Mn as selectionConsentLabel, Mo as isEventFull, Mr as setTicketLineQuantity, Nn as selectionEntitlementNote, No as selectEventCapacitySource, On as runPricingChoice, Or as getTicketSelectionTotal, Pn as selectionIncludes, Po as selectMostOpenCapacitySource, Q as settledRemainingPlaces, Qn as selectionItemName, Rn as selectionPlacesNote, Rs as INCOMPATIBLE_ATTENDANCE_MESSAGE, Sc as publicEventPricingCurrency, Tc as publicEventPricingType, To as canJoinEventWaitlistOnAnyMode, Tr as canRequestTicketOption, U as placeCountCeiling, Us as eventRegistrationErrors, V as fullyBookedLabel, Vn as severalConfirmationSentence, Vr as placesLeftLabel, Vs as defaultEventRegistrationErrorAppearance, Wr as shownVenue, X as resolveRegistrationAvailabilityBlocker, Xt as resolveFinishedPresentation, Yt as confirmationPaymentRows, _n as SELECTION_LIMIT_NOTE, ar as formatRegistrationSchedule, bn as canToggleSelectionItem, bt as entryChoosesEvent, c as registrationStepLabelContext, dr as getVisibleTicketTypes, fr as occurrenceTitleOverride, ft as paymentChoiceDetails, ir as formatEventDateTime, jn as selectionConfirmationHint, jo as getRemainingPlaces, kn as runUnitPriceCents, ko as getEventAvailability, kr as getTicketTypeLineMax, l as areEventRegistrationPaymentSelectionsEqual, mr as withOccurrenceTitle, n as getEventSelectionMode, nr as formatBookingWhen, nt as normalizeEventRegistrationMaxTickets, or as formatRunScheduleLines, pt as paymentChoicePrice, q as registrationStopsHere, qn as combinationOfferLine, r as panelShouldOpen, rr as formatDate, s as registrationStepLabel, sr as formatTime, tt as isEventRegistrationAvailable, uo as bookingPresentation, ur as getTicketTypeAvailabilityLabel, vn as SEVERAL_BOOKINGS_ACCOUNT_NOTE, wc as publicEventPricingStrategy, wo as canJoinEventWaitlist, xi as resolveEventRegistrationScopedEvents, z as shouldPromptForLogin, zn as selectionRowAvailability } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { i as portalPath } from "./portalRoutes-D3Ttfv5x.mjs";
|
|
6
|
+
import { n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
7
|
+
import { a as ONE_DATE_FUNDING_LOAD_FAILED, c as planEventRegistrationSurface, i as summaryExplainsMoreThanTheOption, l as registrationAdmissionSurface, o as SELECTION_FUNDING_LOAD_FAILED, r as useEventRegistrationWizard, s as useEventRegistrationRecoveryRequest, t as EventPaymentMount, u as resolveEventRegistrationClientSurface } from "./EventRegistrationPayment-CARdr15t.mjs";
|
|
8
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
9
|
+
import { D as SpinnerNode, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
10
|
+
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-yA1RJGXD.mjs";
|
|
11
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-Cb3NMw-Y.mjs";
|
|
12
|
+
import { m as DiscountCodeDisclosure, p as NavigationHandOffPanel, t as BookingConfirmation } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
13
13
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
14
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
14
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
|
|
15
15
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
16
16
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
17
17
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
18
|
-
import {
|
|
19
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
18
|
+
import { i as BookingQuestionSections, m as PaymentChoiceRows, n as BookingNextStep, o as MagicLinkForm, r as OrganiserContactLine, s as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-D_khdttF.mjs";
|
|
19
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-DMtTHqex.mjs";
|
|
20
20
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
22
|
-
import { t as CalendarAction } from "./CalendarAction-
|
|
22
|
+
import { t as CalendarAction } from "./CalendarAction-C-AbMmct.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { createPortal } from "react-dom";
|
|
@@ -1216,33 +1216,51 @@ function RoomChooserSummary(props) {
|
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Error Step
|
|
1218
1218
|
*
|
|
1219
|
-
* Displays
|
|
1219
|
+
* Displays the catalogue’s refusal and the next step available to the booker.
|
|
1220
1220
|
*/
|
|
1221
1221
|
const labels = {
|
|
1222
1222
|
none: "",
|
|
1223
1223
|
retry: "Try again",
|
|
1224
1224
|
places: "Choose places",
|
|
1225
1225
|
start: "Start again",
|
|
1226
|
-
details: "
|
|
1226
|
+
details: "Back to my details",
|
|
1227
1227
|
"payment-options": "View payment options",
|
|
1228
1228
|
portal: "View my bookings",
|
|
1229
1229
|
event: "View event"
|
|
1230
1230
|
};
|
|
1231
|
-
const ErrorStep = ({ message, onRetry, action = "retry", canJoinWaitlist = false }) => {
|
|
1231
|
+
const ErrorStep = ({ message, heading = defaultEventRegistrationErrorAppearance.heading, tone = defaultEventRegistrationErrorAppearance.tone, organiserContact, onRetry, action = "retry", canJoinWaitlist = false }) => {
|
|
1232
1232
|
const offerWaitlist = action === "places" && canJoinWaitlist;
|
|
1233
1233
|
return /* @__PURE__ */ jsx(TerminalPanel, {
|
|
1234
|
-
tone
|
|
1234
|
+
tone,
|
|
1235
1235
|
className: "er-center",
|
|
1236
1236
|
titleClassName: "er-title--lg er-message",
|
|
1237
1237
|
icon: /* @__PURE__ */ jsx(StateIcon, {
|
|
1238
|
-
variant:
|
|
1239
|
-
children: /* @__PURE__ */ jsx(CrossIcon, {})
|
|
1238
|
+
variant: tone,
|
|
1239
|
+
children: tone === "error" ? /* @__PURE__ */ jsx(CrossIcon, {}) : /* @__PURE__ */ jsx("svg", {
|
|
1240
|
+
fill: "none",
|
|
1241
|
+
stroke: "currentColor",
|
|
1242
|
+
viewBox: "0 0 24 24",
|
|
1243
|
+
"aria-hidden": "true",
|
|
1244
|
+
children: tone === "info" ? /* @__PURE__ */ jsx("path", {
|
|
1245
|
+
strokeLinecap: "round",
|
|
1246
|
+
strokeLinejoin: "round",
|
|
1247
|
+
strokeWidth: 2,
|
|
1248
|
+
d: "M12 8h.01M11 12h1v4h1"
|
|
1249
|
+
}) : /* @__PURE__ */ jsx("path", {
|
|
1250
|
+
strokeLinecap: "round",
|
|
1251
|
+
strokeLinejoin: "round",
|
|
1252
|
+
strokeWidth: 2,
|
|
1253
|
+
d: "M12 8v4m0 4h.01"
|
|
1254
|
+
})
|
|
1255
|
+
})
|
|
1240
1256
|
}),
|
|
1241
|
-
title:
|
|
1257
|
+
title: heading,
|
|
1242
1258
|
body: /* @__PURE__ */ jsx("p", {
|
|
1243
1259
|
className: "er-text--muted er-message",
|
|
1244
1260
|
children: offerWaitlist ? "Sorry, this event is now full. You can join the waiting list, and we’ll email you if a place becomes available." : message
|
|
1245
1261
|
}),
|
|
1262
|
+
secondaryBody: organiserContact && (organiserContact.email || organiserContact.phone) ? /* @__PURE__ */ jsx(OrganiserContactLine, { contact: organiserContact }) : void 0,
|
|
1263
|
+
secondaryBodyClassName: action === "none" ? void 0 : "er-terminal-help",
|
|
1246
1264
|
actions: action === "none" ? void 0 : action === "portal" ? /* @__PURE__ */ jsx("a", {
|
|
1247
1265
|
href: portalPath({ page: "bookings" }),
|
|
1248
1266
|
className: "er-retry-btn",
|
|
@@ -3241,7 +3259,8 @@ function QuestionsSection(props) {
|
|
|
3241
3259
|
answerMode: bookingQuestions.answerMode,
|
|
3242
3260
|
onAnswerModeChange: bookingQuestions.chooseAnswerMode,
|
|
3243
3261
|
signInEmail: props.signInEmail.trim() || void 0,
|
|
3244
|
-
signInReturnPath: bookingQuestions.signInReturnPath
|
|
3262
|
+
signInReturnPath: bookingQuestions.signInReturnPath,
|
|
3263
|
+
severalPeople: props.severalPeople
|
|
3245
3264
|
});
|
|
3246
3265
|
}
|
|
3247
3266
|
/** One run's questions and agreement, headed with the run's name. */
|
|
@@ -3259,7 +3278,8 @@ function RunRequirementsBlock(props) {
|
|
|
3259
3278
|
}),
|
|
3260
3279
|
section.bookingQuestions ? /* @__PURE__ */ jsx(QuestionsSection, {
|
|
3261
3280
|
bookingQuestions: section.bookingQuestions,
|
|
3262
|
-
signInEmail: props.signInEmail
|
|
3281
|
+
signInEmail: props.signInEmail,
|
|
3282
|
+
severalPeople: props.severalPeople
|
|
3263
3283
|
}) : null,
|
|
3264
3284
|
section.consent ? /* @__PURE__ */ jsx(EventConsentField, {
|
|
3265
3285
|
consent: section.consent,
|
|
@@ -3276,7 +3296,8 @@ function QuestionsAndAgreement(props) {
|
|
|
3276
3296
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3277
3297
|
bookingQuestions ? /* @__PURE__ */ jsx(QuestionsSection, {
|
|
3278
3298
|
bookingQuestions,
|
|
3279
|
-
signInEmail: formData.email
|
|
3299
|
+
signInEmail: formData.email,
|
|
3300
|
+
severalPeople: props.severalPeople
|
|
3280
3301
|
}) : null,
|
|
3281
3302
|
consent ? /* @__PURE__ */ jsx(EventConsentField, {
|
|
3282
3303
|
consent,
|
|
@@ -3291,7 +3312,8 @@ function QuestionsAndAgreement(props) {
|
|
|
3291
3312
|
props.runRequirements?.map((section) => /* @__PURE__ */ jsx(RunRequirementsBlock, {
|
|
3292
3313
|
section,
|
|
3293
3314
|
idBase: props.idBase,
|
|
3294
|
-
signInEmail: formData.email
|
|
3315
|
+
signInEmail: formData.email,
|
|
3316
|
+
severalPeople: props.severalPeople
|
|
3295
3317
|
}, section.seriesId)),
|
|
3296
3318
|
props.siteTerms,
|
|
3297
3319
|
props.questionsMessage ? /* @__PURE__ */ jsx("p", {
|
|
@@ -3405,7 +3427,8 @@ const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false,
|
|
|
3405
3427
|
bookingQuestions,
|
|
3406
3428
|
runRequirements,
|
|
3407
3429
|
questionsMessage,
|
|
3408
|
-
siteTerms
|
|
3430
|
+
siteTerms,
|
|
3431
|
+
severalPeople: ticketsCount > 1
|
|
3409
3432
|
})
|
|
3410
3433
|
] }),
|
|
3411
3434
|
guestDetailsChangeHandler && /* @__PURE__ */ jsx(GuestDetailsSection, {
|
|
@@ -3592,6 +3615,48 @@ function SeveralBookingsNote({ several }) {
|
|
|
3592
3615
|
children: SEVERAL_BOOKINGS_ACCOUNT_NOTE
|
|
3593
3616
|
}) : null;
|
|
3594
3617
|
}
|
|
3618
|
+
/** Where to see the booking again; a waiting-list place isn't a booking yet, and a demo has its own portal button. */
|
|
3619
|
+
function SuccessNextStep({ context, variant, demo }) {
|
|
3620
|
+
return context === "booking" && variant === "success" && !demo ? /* @__PURE__ */ jsx(BookingNextStep, {
|
|
3621
|
+
target: { kind: "bookings" },
|
|
3622
|
+
className: "er-center"
|
|
3623
|
+
}) : null;
|
|
3624
|
+
}
|
|
3625
|
+
function SuccessIcon({ variant }) {
|
|
3626
|
+
return /* @__PURE__ */ jsx(StateIcon, {
|
|
3627
|
+
variant,
|
|
3628
|
+
children: /* @__PURE__ */ jsx("svg", {
|
|
3629
|
+
fill: "none",
|
|
3630
|
+
stroke: "currentColor",
|
|
3631
|
+
viewBox: "0 0 24 24",
|
|
3632
|
+
children: variant === "info" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3633
|
+
/* @__PURE__ */ jsx("path", {
|
|
3634
|
+
strokeLinecap: "round",
|
|
3635
|
+
strokeLinejoin: "round",
|
|
3636
|
+
strokeWidth: 2,
|
|
3637
|
+
d: "M12 8h.01"
|
|
3638
|
+
}),
|
|
3639
|
+
/* @__PURE__ */ jsx("path", {
|
|
3640
|
+
strokeLinecap: "round",
|
|
3641
|
+
strokeLinejoin: "round",
|
|
3642
|
+
strokeWidth: 2,
|
|
3643
|
+
d: "M11 12h1v4h1"
|
|
3644
|
+
}),
|
|
3645
|
+
/* @__PURE__ */ jsx("path", {
|
|
3646
|
+
strokeLinecap: "round",
|
|
3647
|
+
strokeLinejoin: "round",
|
|
3648
|
+
strokeWidth: 2,
|
|
3649
|
+
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
|
|
3650
|
+
})
|
|
3651
|
+
] }) : /* @__PURE__ */ jsx("path", {
|
|
3652
|
+
strokeLinecap: "round",
|
|
3653
|
+
strokeLinejoin: "round",
|
|
3654
|
+
strokeWidth: 2,
|
|
3655
|
+
d: "M5 13l4 4L19 7"
|
|
3656
|
+
})
|
|
3657
|
+
})
|
|
3658
|
+
});
|
|
3659
|
+
}
|
|
3595
3660
|
function defaultHeading(variant, several) {
|
|
3596
3661
|
if (variant === "info") return "You’re already booked";
|
|
3597
3662
|
return several ? "You’re booked" : "You’re booked!";
|
|
@@ -3605,44 +3670,12 @@ const SuccessStep = ({ title, copy, variant = "success", mailingListSignupNote,
|
|
|
3605
3670
|
const heading = title ?? defaultHeading(variant, several);
|
|
3606
3671
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3607
3672
|
/* @__PURE__ */ jsx(TerminalPanel, {
|
|
3608
|
-
tone: variant
|
|
3673
|
+
tone: variant,
|
|
3609
3674
|
className: "er-center",
|
|
3610
3675
|
iconClassName: "er-icon",
|
|
3611
3676
|
titleClassName: "er-title--lg er-message",
|
|
3612
3677
|
bodyClassName: "er-text--muted",
|
|
3613
|
-
icon: /* @__PURE__ */ jsx(
|
|
3614
|
-
variant: variant === "info" ? "info" : "success",
|
|
3615
|
-
children: /* @__PURE__ */ jsx("svg", {
|
|
3616
|
-
fill: "none",
|
|
3617
|
-
stroke: "currentColor",
|
|
3618
|
-
viewBox: "0 0 24 24",
|
|
3619
|
-
children: variant === "info" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3620
|
-
/* @__PURE__ */ jsx("path", {
|
|
3621
|
-
strokeLinecap: "round",
|
|
3622
|
-
strokeLinejoin: "round",
|
|
3623
|
-
strokeWidth: 2,
|
|
3624
|
-
d: "M12 8h.01"
|
|
3625
|
-
}),
|
|
3626
|
-
/* @__PURE__ */ jsx("path", {
|
|
3627
|
-
strokeLinecap: "round",
|
|
3628
|
-
strokeLinejoin: "round",
|
|
3629
|
-
strokeWidth: 2,
|
|
3630
|
-
d: "M11 12h1v4h1"
|
|
3631
|
-
}),
|
|
3632
|
-
/* @__PURE__ */ jsx("path", {
|
|
3633
|
-
strokeLinecap: "round",
|
|
3634
|
-
strokeLinejoin: "round",
|
|
3635
|
-
strokeWidth: 2,
|
|
3636
|
-
d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
|
|
3637
|
-
})
|
|
3638
|
-
] }) : /* @__PURE__ */ jsx("path", {
|
|
3639
|
-
strokeLinecap: "round",
|
|
3640
|
-
strokeLinejoin: "round",
|
|
3641
|
-
strokeWidth: 2,
|
|
3642
|
-
d: "M5 13l4 4L19 7"
|
|
3643
|
-
})
|
|
3644
|
-
})
|
|
3645
|
-
}),
|
|
3678
|
+
icon: /* @__PURE__ */ jsx(SuccessIcon, { variant }),
|
|
3646
3679
|
title: heading,
|
|
3647
3680
|
body: /* @__PURE__ */ jsx(BookingConfirmation, {
|
|
3648
3681
|
demoEmailSuppressed,
|
|
@@ -3661,7 +3694,12 @@ const SuccessStep = ({ title, copy, variant = "success", mailingListSignupNote,
|
|
|
3661
3694
|
payment
|
|
3662
3695
|
}),
|
|
3663
3696
|
/* @__PURE__ */ jsx(SeveralBookingsNote, { several }),
|
|
3664
|
-
/* @__PURE__ */ jsx(CalendarAction, { calendar })
|
|
3697
|
+
/* @__PURE__ */ jsx(CalendarAction, { calendar }),
|
|
3698
|
+
/* @__PURE__ */ jsx(SuccessNextStep, {
|
|
3699
|
+
context,
|
|
3700
|
+
variant,
|
|
3701
|
+
demo: demoEmailSuppressed
|
|
3702
|
+
})
|
|
3665
3703
|
] });
|
|
3666
3704
|
};
|
|
3667
3705
|
//#endregion
|
|
@@ -3699,7 +3737,7 @@ const VerifyingPaymentStep = () => {
|
|
|
3699
3737
|
* Displays when the payment was definitively declined/failed.
|
|
3700
3738
|
* Provides a retry option that returns to payment selection with form state preserved.
|
|
3701
3739
|
*/
|
|
3702
|
-
const PaymentFailedStep = ({ onRetry }) => {
|
|
3740
|
+
const PaymentFailedStep = ({ onRetry, organiserContact }) => {
|
|
3703
3741
|
return /* @__PURE__ */ jsx(TerminalPanel, {
|
|
3704
3742
|
tone: "error",
|
|
3705
3743
|
className: "er-center",
|
|
@@ -3709,10 +3747,10 @@ const PaymentFailedStep = ({ onRetry }) => {
|
|
|
3709
3747
|
children: /* @__PURE__ */ jsx(CrossIcon, {})
|
|
3710
3748
|
}),
|
|
3711
3749
|
title: "Your payment didn’t go through",
|
|
3712
|
-
body: /* @__PURE__ */ jsx("p", {
|
|
3750
|
+
body: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", {
|
|
3713
3751
|
className: "er-text--muted er-message",
|
|
3714
3752
|
children: "Please try again or choose another payment option. If this keeps happening, contact the organiser for help."
|
|
3715
|
-
}),
|
|
3753
|
+
}), organiserContact && (organiserContact.email || organiserContact.phone) ? /* @__PURE__ */ jsx(OrganiserContactLine, { contact: organiserContact }) : null] }),
|
|
3716
3754
|
actions: /* @__PURE__ */ jsx("button", {
|
|
3717
3755
|
type: "button",
|
|
3718
3756
|
onClick: onRetry,
|
|
@@ -3734,7 +3772,7 @@ const PaymentFailedStep = ({ onRetry }) => {
|
|
|
3734
3772
|
* - "Check Again" button to restart polling
|
|
3735
3773
|
* - Contact support option for user reassurance
|
|
3736
3774
|
*/
|
|
3737
|
-
const VerifyingTimeoutStep = ({ onCheckAgain, supportEmail, title = "We’re checking your payment", buttonVariant = "primary", message = "Your booking is not confirmed yet. Please don’t make another booking while we check. You can check your payment status again in a moment." }) => {
|
|
3775
|
+
const VerifyingTimeoutStep = ({ onCheckAgain, organiserContact, supportEmail, title = "We’re checking your payment", buttonVariant = "primary", message = "Your booking is not confirmed yet. Please don’t make another booking while we check. You can check your payment status again in a moment." }) => {
|
|
3738
3776
|
return /* @__PURE__ */ jsx(TerminalPanel, {
|
|
3739
3777
|
tone: "warning",
|
|
3740
3778
|
className: "er-center",
|
|
@@ -3744,10 +3782,10 @@ const VerifyingTimeoutStep = ({ onCheckAgain, supportEmail, title = "We’re che
|
|
|
3744
3782
|
children: /* @__PURE__ */ jsx(ClockIcon, {})
|
|
3745
3783
|
}),
|
|
3746
3784
|
title,
|
|
3747
|
-
body: /* @__PURE__ */ jsx("p", {
|
|
3785
|
+
body: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", {
|
|
3748
3786
|
className: "er-text--muted er-message",
|
|
3749
|
-
children: onCheckAgain ? message :
|
|
3750
|
-
}),
|
|
3787
|
+
children: onCheckAgain ? message : eventRegistrationErrors.paymentInvestigationRequired.message
|
|
3788
|
+
}), organiserContact && (organiserContact.email || organiserContact.phone) ? /* @__PURE__ */ jsx(OrganiserContactLine, { contact: organiserContact }) : null] }),
|
|
3751
3789
|
actions: onCheckAgain ? /* @__PURE__ */ jsx(ThemedButton, {
|
|
3752
3790
|
type: "button",
|
|
3753
3791
|
variant: buttonVariant,
|
|
@@ -3755,7 +3793,7 @@ const VerifyingTimeoutStep = ({ onCheckAgain, supportEmail, title = "We’re che
|
|
|
3755
3793
|
onClick: onCheckAgain,
|
|
3756
3794
|
label: "Check payment status"
|
|
3757
3795
|
}) : void 0,
|
|
3758
|
-
secondaryBody: supportEmail ? /* @__PURE__ */ jsxs("p", {
|
|
3796
|
+
secondaryBody: !organiserContact && supportEmail ? /* @__PURE__ */ jsxs("p", {
|
|
3759
3797
|
className: "er-text er-text--muted er-message",
|
|
3760
3798
|
children: [
|
|
3761
3799
|
"If you were charged but don't receive a confirmation email, please",
|
|
@@ -3825,7 +3863,7 @@ function heroMembership(wizard) {
|
|
|
3825
3863
|
}
|
|
3826
3864
|
/** The event's consent, with its checkbox worded for every item being booked. */
|
|
3827
3865
|
function selectionConsent(wizard) {
|
|
3828
|
-
const consent =
|
|
3866
|
+
const consent = wizard.bookingConsent;
|
|
3829
3867
|
if (!consent) return null;
|
|
3830
3868
|
return {
|
|
3831
3869
|
...consent,
|
|
@@ -4351,6 +4389,7 @@ function EventRegistrationWholeScreen(props) {
|
|
|
4351
4389
|
buttonVariant: props.buttonVariant
|
|
4352
4390
|
});
|
|
4353
4391
|
case "paymentFailed": return /* @__PURE__ */ jsx(PaymentFailedStep, {
|
|
4392
|
+
organiserContact: wizard.organiserContact,
|
|
4354
4393
|
message: wizard.errorMessage,
|
|
4355
4394
|
onRetry: () => wizard.setStep("select-payment")
|
|
4356
4395
|
});
|
|
@@ -4552,6 +4591,7 @@ function RegistrationProcessing({ selection, takesPayment }) {
|
|
|
4552
4591
|
function RegistrationVerificationTimeout({ wizard, supportEmail, buttonVariant }) {
|
|
4553
4592
|
const timedOut = wizard.verification.status === "timeout";
|
|
4554
4593
|
return /* @__PURE__ */ jsx(VerifyingTimeoutStep, {
|
|
4594
|
+
organiserContact: wizard.organiserContact,
|
|
4555
4595
|
onCheckAgain: timedOut ? wizard.verification.retry : wizard.verification.retryReturn,
|
|
4556
4596
|
title: timedOut ? void 0 : "We’re checking your payment",
|
|
4557
4597
|
message: timedOut ? void 0 : wizard.errorMessage,
|
|
@@ -4573,6 +4613,9 @@ function RegistrationError({ wizard }) {
|
|
|
4573
4613
|
const admission = wizard.admission;
|
|
4574
4614
|
return /* @__PURE__ */ jsx(ErrorStep, {
|
|
4575
4615
|
message: wizard.errorMessage,
|
|
4616
|
+
heading: wizard.errorHeading,
|
|
4617
|
+
tone: wizard.errorTone,
|
|
4618
|
+
organiserContact: wizard.organiserContact,
|
|
4576
4619
|
action: wizard.errorAction,
|
|
4577
4620
|
canJoinWaitlist: admission.kind === "waitlist",
|
|
4578
4621
|
onRetry: wizard.handleRetry
|
|
@@ -5009,9 +5052,10 @@ const EventRegistrationClient = (clientProps) => {
|
|
|
5009
5052
|
subject: clientProps.subject
|
|
5010
5053
|
})
|
|
5011
5054
|
});
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5055
|
+
const cancelled = cancelledRegistrationCopy(clientProps.events ?? [], clientProps.occurrenceContext?.id);
|
|
5056
|
+
if (cancelled) return /* @__PURE__ */ jsx(RegistrationClosedState, {
|
|
5057
|
+
title: cancelled.titleText,
|
|
5058
|
+
body: cancelled.bodyText
|
|
5015
5059
|
});
|
|
5016
5060
|
switch (surface) {
|
|
5017
5061
|
case "wizard": return /* @__PURE__ */ jsx(EventRegistrationWizard, { ...clientProps });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-By7e9nyF.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.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 BlockApiProvider } from "./context-
|
|
3
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-BdRZXB14.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-BEGiiFnO.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-Ckb4aDE9.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
5
|
+
import { t as resolveFormPortalToken } from "./portalSession-0XhXyTxT.mjs";
|
|
5
6
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
7
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
|
|
7
8
|
import "react";
|
|
8
9
|
import { jsx } from "react/jsx-runtime";
|
|
9
10
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
10
11
|
const decode = defineIslandPropsDecoder("event-registration");
|
|
11
|
-
const enhance = (root, props) => {
|
|
12
|
+
const enhance = async (root, props) => {
|
|
12
13
|
const { siteId, apiBaseUrl, stage, portalToken, previewToken } = props;
|
|
13
14
|
if (!siteId) throw new Error("[sdk:islands] event-registration requires siteId");
|
|
14
15
|
if (!apiBaseUrl) throw new Error("[sdk:islands] event-registration requires apiBaseUrl");
|
|
@@ -17,7 +18,7 @@ const enhance = (root, props) => {
|
|
|
17
18
|
...buildRouteIslandApiConfig({
|
|
18
19
|
readAuthority: props.readAuthority,
|
|
19
20
|
apiBaseUrl,
|
|
20
|
-
portalToken,
|
|
21
|
+
portalToken: await resolveFormPortalToken(portalToken),
|
|
21
22
|
previewToken,
|
|
22
23
|
siteId,
|
|
23
24
|
stage
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-Whi43oio.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as err, r as ok, t as assertNever } from "./src-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { d as listLookSlot } from "./islands-
|
|
5
|
-
import {
|
|
2
|
+
import { n as err, r as ok, t as assertNever } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
4
|
+
import { d as listLookSlot } from "./islands-C95FyxUF.mjs";
|
|
5
|
+
import { O as clsx } from "./ThemedButton-C4rCsPCt.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-BgsWo2Me.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 { d as listLookSlot, u as listLookControl } from "./islands-
|
|
3
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
2
|
+
import { d as listLookSlot, u as listLookControl } from "./islands-C95FyxUF.mjs";
|
|
3
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-CY6u5sQa.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,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { Cn as toUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, jn as formatGiftCardAmountLabel, nn as formatDate } from "../src-
|
|
4
|
-
import { i as portalPath } from "../portalRoutes-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
6
|
-
import { c as logger } from "../islands-
|
|
7
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "../ThemedButton-
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, jn as formatGiftCardAmountLabel, nn as formatDate } from "../src-CJf3u16T.mjs";
|
|
4
|
+
import { i as portalPath } from "../portalRoutes-D3Ttfv5x.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-CG77Keax.mjs";
|
|
6
|
+
import { c as logger } from "../islands-C95FyxUF.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "../ThemedButton-C4rCsPCt.mjs";
|
|
8
8
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { t as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-
|
|
11
|
-
import { t as GiftingClient } from "../gifting.client
|
|
9
|
+
import { u as readChosenGiftAmounts } from "../gifting.parts-_mgGOcbA.mjs";
|
|
10
|
+
import { t as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
11
|
+
import { t as GiftingClient } from "../gifting.client-CraWj4I4.mjs";
|
|
12
12
|
import React from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useRouter } from "next/navigation";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import {
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
5
|
-
import { t as GiftingClient } from "./gifting.client
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
|
+
import { u as readChosenGiftAmounts } from "./gifting.parts-_mgGOcbA.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
5
|
+
import { t as GiftingClient } from "./gifting.client-CraWj4I4.mjs";
|
|
6
6
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|