@riverbankcms/sdk 0.171.0 → 0.172.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-xuFmD41p.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
- package/dist/_dts/{Page-4fzXy8H9.d.ts → Page-DViYbakk.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-BlHgMsc8.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
- package/dist/_dts/{client-BPoU758C.d.ts → client-DZBOzd3U.d.ts} +1 -2
- package/dist/_dts/{content-types-TnkhoSls.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
- package/dist/_dts/{contracts-7wrMA79U.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DaOsPQ_Q.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9aDEzKK.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
- package/dist/_dts/{index-DDKJfaLY.d.ts → index-BnMavhoh.d.ts} +2 -2
- package/dist/_dts/{index-585vn6qb.d.ts → index-C0zjLMAW.d.ts} +49 -38
- package/dist/_dts/{index-W9R3Bnf2.d.ts → index-CpOkfBt1.d.ts} +3 -3
- package/dist/_dts/{index-Cbw0IiY7.d.ts → index-Da4UMgbs.d.ts} +2 -2
- package/dist/_dts/{index-DNCDENic.d.ts → index-DkFV_1Bc.d.ts} +1 -1
- package/dist/_dts/{index-ChNbrcgD.d.ts → index-Dns7OHyl.d.ts} +1 -1
- package/dist/_dts/{index-CZKSUcDs.d.ts → index-MuMYjetm.d.ts} +4 -4
- package/dist/_dts/{loadContent-DPyNAJym.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
- package/dist/_dts/{request-jXTRN1Y4.d.ts → request-wQ28JWbr.d.ts} +66983 -65876
- package/dist/_dts/{resolveBlockData-BbvE-gsZ.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BBgih00D.d.ts → resolvePageContent-Cc4zqaEC.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 -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 +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 +18 -1
- package/dist/_dts/{types-kWvBwYK6.d.ts → types-CpjyP5I4.d.ts} +7 -7
- package/dist/_dts/{types-DEAKoDNi.d.ts → types-DrinAfeW.d.ts} +3 -3
- package/dist/_dts/{types-BXuVxDYo.d.ts → types-ZuZoGsZV.d.ts} +2 -2
- package/dist/_dts/{validation-BAO0_ntM.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DfMsMIej.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-aaSicywS.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-OgftZ9QC.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-iMWrY6Hz.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
- package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BCumOTLY.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
- package/dist/client/{EventCalendar.client-kh7mkYnW.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
- package/dist/client/{EventCombined.client-DXD5i0Ar.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
- package/dist/client/{EventItem-BnwcoFQN.mjs → EventItem-sKBofjiW.mjs} +40 -14
- package/dist/client/{EventListWeekNavigation-DuG6z02f.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
- package/dist/client/{EventListing.client-18yfHrcr.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
- package/dist/client/{EventListing.view-BM7rTVSL.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
- package/dist/client/{EventRegistrationPayment-D5J3DR0x.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
- package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
- package/dist/client/{Page-DH2sm4Cf.mjs → Page-Ds1s3DuC.mjs} +1425 -490
- package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
- package/dist/client/{StepIndicator-CsRlU46Y.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
- package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
- package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-Bbn1-jJ8.mjs → accessibleSurfaces-OsAseM7H.mjs} +57 -42
- package/dist/client/{accordion-DT4MD3Np.mjs → accordion-DgwFZJSx.mjs} +1 -1
- package/dist/client/{booking-form.client-DdqNQNCa.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
- package/dist/client/{bookingForm-CLN396HU.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-iLF_3KX9.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
- package/dist/client/{carousel-DFLomCGm.mjs → carousel-0sw2Kc3a.mjs} +2 -2
- package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
- package/dist/client/{cart-BozMM5NK.mjs → cart-CPfvMDGJ.mjs} +3 -3
- package/dist/client/{cart.client-CqOOxPbW.mjs → cart.client-BJBPUTmg.mjs} +1 -1
- package/dist/client/{checkout-CTWF5nbB.mjs → checkout-DU4JFjGT.mjs} +3 -3
- package/dist/client/{checkout.client-CpqxN8e0.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
- package/dist/client/{checkoutUrls-Ccg6yfjq.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
- package/dist/client/client.mjs +151 -6
- package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
- package/dist/client/{cta-pzQkBLgS.mjs → cta-CNVQHLKs.mjs} +53 -11
- package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
- package/dist/client/{display-Cl6mgSJa.mjs → display-B5DfNb6A.mjs} +1869 -333
- package/dist/client/{enhanceHeaderSection-CJCl0HJC.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
- package/dist/client/{event-details.client-Pn9Kxh3I.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
- package/dist/client/{event-registration.client-BAmBdWXE.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
- package/dist/client/{eventCalendar-C5Bh2L8L.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
- package/dist/client/{eventCombined-dELKxxIe.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
- package/dist/client/{eventDetails-Do9D_fJ_.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
- package/dist/client/{eventListing-B2HTUWLq.mjs → eventListing-EhSDk4UL.mjs} +4 -4
- package/dist/client/{eventRegistration-ByOJnqGc.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
- package/dist/client/{form-DX70QG-J.mjs → form-BfChzSkS.mjs} +3 -3
- package/dist/client/{form.client-CJoqBrS6.mjs → form.client-D1zehtPk.mjs} +4 -4
- package/dist/client/{form.parts-DTof9pL3.mjs → form.parts-rMDlUQIv.mjs} +3 -3
- package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CJuPX_1K.mjs → headerSection-BX9bQ84k.mjs} +2 -2
- package/dist/client/{newsletter-form.client-CqzNjOft.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DjJsFms2.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
- package/dist/client/{newsletterForm-D1MHoPbh.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
- package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
- package/dist/client/portal/client.mjs +231 -117
- package/dist/client/{product-detail.client-DOQ7El1d.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
- package/dist/client/{product-list.client-CmxOZbzL.mjs → product-list.client-CDL-jihv.mjs} +1 -1
- package/dist/client/{productDetail-BN3zv5sa.mjs → productDetail-B97m0uZy.mjs} +3 -3
- package/dist/client/{productList-GN_Id4bF.mjs → productList-DE4vSSG_.mjs} +3 -3
- package/dist/client/{propsDecoder-BdmzM3D5.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
- package/dist/client/{registry.server-BOyra8CA.mjs → registry.server-Cn8XjRte.mjs} +1464 -1183
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +22 -16
- package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DnaJ8PQc.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
- package/dist/client/{runtimeResponse-BN8PoIVp.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
- package/dist/client/{runtimeResponse-B1-cyLXt.mjs → runtimeResponse-CPcA8xSm.mjs} +1 -1
- package/dist/client/{shop-LjBLDBqF.mjs → shop-BC4H0oYT.mjs} +3 -3
- package/dist/client/{shop-commerce-B8aZTdRJ.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
- package/dist/client/{shop-commerce-store-C1FtHYl7.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
- package/dist/client/{shop.client-D0qZ3KZp.mjs → shop.client-WgGVGelc.mjs} +12 -12
- package/dist/client/{shop.interactive-DAKyWK1B.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
- package/dist/client/{shopShared-CztcSe9i.mjs → shopShared-BE6TEk2A.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{timetableModel-D1jDTbms.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
- package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
- package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
- package/dist/client/{useDiscountApply-CHGYDxdM.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Dew9UAEy.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
- package/dist/client/{useEventPagination-BpC7-ksE.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
- package/dist/client/{view-BxeiAL3c.mjs → view-B0TFnP4y.mjs} +198 -60
- package/dist/client/{view-ShYH3WXh.mjs → view-DNNNbnNj.mjs} +3 -3
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-lW2aLGWd.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-C9InQJpd.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DsSqwrMS.mjs → PageSectionToolbar-D59tHj_L.mjs} +320 -395
- package/dist/preview-next/client/{PreviewEditorSidebar-BEEWzXnU.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +761 -416
- package/dist/preview-next/client/{PreviewEditorUI-C86Out4V.mjs → PreviewEditorUI--kS9Cwsc.mjs} +126 -137
- package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
- package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
- package/dist/preview-next/client/{PreviewShell-CBWYjBvQ.mjs → PreviewShell-Bi8-rclb.mjs} +312 -63
- package/dist/preview-next/client/{SdkPreviewModeRuntime-o-mVqWLx.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +308 -135
- package/dist/preview-next/client/{SiteChromeCustomizeButton-H_ciMNHA.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +1936 -320
- package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
- package/dist/preview-next/client/{lucide-react-DygTyy7K.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CuOcsG_N.mjs → previewAssistantSlot-Caofnr1Z.mjs} +23441 -21340
- package/dist/preview-next/client/{previewChromeRoot-DPeV7KaP.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -4
- package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
- package/dist/preview-next/client/{useAutosaveStatus-DNA1Q4L1.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BdnMlHC6.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +126 -11
- package/dist/preview-next/container-responsive.css +215 -4
- package/dist/preview-next/editor-base.css +14 -4
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CtSgU8UZ.mjs → route-contract-DsKDQoVW.mjs} +147 -2
- package/dist/server/{Block.shared-ifgaBglp.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DGDOH6OU.mjs → ThemeScopeCore-D1NTXZdX.mjs} +15 -10
- package/dist/server/{accessibleSurfaces-BuPNCWAK.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
- package/dist/server/{bindings-CiYpie1M.mjs → bindings-Bp6OnR3n.mjs} +109 -20
- package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
- package/dist/server/{client-ngWuFsmN.mjs → client-dROAfMRa.mjs} +149 -4
- package/dist/server/config-template-validation.mjs +3 -0
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-DeLQeJAZ.mjs → loadContent-zOIrtqz-.mjs} +19 -14
- package/dist/server/{loadPage-D4J747FQ.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-ukEz1BaM.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
- package/dist/server/{overrideResolution-DSuVkpqm.mjs → overrideResolution-DjboggbB.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-DFv3h4Ib.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
- package/dist/server/{pageRuntimeSupport-yHaRNWMj.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
- package/dist/server/{pageShared-CAZD0LcY.mjs → pageShared-BJjptSGp.mjs} +1039 -853
- package/dist/server/{parseThemeForPersistence-Dl7LIBJq.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
- package/dist/server/{prebuild-BKOCND3b.mjs → prebuild-CntSkZQI.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-GIoExi8A.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
- package/dist/server/{registry-BogXzcOD.mjs → registry-wYH0LH5f.mjs} +7269 -4975
- 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 +7 -7
- package/dist/server/{resolveBlockData-CT4YSBve.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-DVISOQD9.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +53 -33
- package/dist/server/{schema-C92Q8y0-.mjs → schema-BFOqYIMQ.mjs} +2 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-vSBCWU3w.mjs → validation-DAQdPDku.mjs} +4 -4
- package/dist/server/{version-Cw5vFmUY.mjs → version-DAB0O3yx.mjs} +1 -1
- package/dist/styles/index.css +1260 -15
- package/package.json +1 -1
- package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
- package/dist/preview-next/client/sdk-runtime-zTTFZ4MM.mjs +0 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Bn as formatDate, Cn as ImagePresets,
|
|
4
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
5
|
-
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-
|
|
6
|
-
import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-
|
|
7
|
-
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
8
|
-
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-
|
|
2
|
+
import { $t as groupEventsByWeek, Gt as EventQuickFacts, Wt as MediaNodeServer, en as weekColumnDays, tn as formatEventPrice } from "./shop.interactive-Bb67gPLL.mjs";
|
|
3
|
+
import { Bn as formatDate, Cn as ImagePresets, Gn as formatEventNextDateFact, Hn as formatEventCompactDateRail, Ji as listLookSlot, Ki as listItemPresentation, Ln as eventDateOptions, Rn as eventLocalDateKey, Xn as groupEventsByDate, qn as formatEventTimeRange } from "./display-B5DfNb6A.mjs";
|
|
4
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-B1Z_TGAe.mjs";
|
|
5
|
+
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
+
import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CNVQHLKs.mjs";
|
|
7
|
+
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-C7E7Lyfa.mjs";
|
|
8
|
+
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-sKBofjiW.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
@@ -17,7 +17,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
17
17
|
*
|
|
18
18
|
* This component is server-safe (uses no client APIs like Intl).
|
|
19
19
|
*/
|
|
20
|
-
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext }) => {
|
|
20
|
+
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, now }) => {
|
|
21
21
|
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
22
22
|
event,
|
|
23
23
|
presentation,
|
|
@@ -27,7 +27,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
27
27
|
showCategory,
|
|
28
28
|
showImage,
|
|
29
29
|
showCapacity,
|
|
30
|
-
orientation
|
|
30
|
+
orientation,
|
|
31
|
+
now
|
|
31
32
|
});
|
|
32
33
|
return /* @__PURE__ */ jsxs("article", {
|
|
33
34
|
...listLookSlot({
|
|
@@ -279,13 +280,13 @@ function EventLookDate({ event, ...presentation }) {
|
|
|
279
280
|
})]
|
|
280
281
|
});
|
|
281
282
|
}
|
|
282
|
-
function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation }) {
|
|
283
|
+
function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation, now }) {
|
|
283
284
|
const { presentation: cardPresentation, presentationClass, headingLevel: cardHeadingLevel } = resolveEventCardOptions({
|
|
284
285
|
presentation,
|
|
285
286
|
headingLevel
|
|
286
287
|
});
|
|
287
288
|
const { formattedDate, formattedTime } = formatEventCardWhen(event);
|
|
288
|
-
const booking =
|
|
289
|
+
const booking = eventCardBooking(event, presentation, buttonText, now);
|
|
289
290
|
const { cta } = booking;
|
|
290
291
|
const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
|
|
291
292
|
const title = event.title;
|
|
@@ -317,6 +318,9 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
317
318
|
orientationClass: eventCardOrientationClass(orientation)
|
|
318
319
|
};
|
|
319
320
|
}
|
|
321
|
+
function eventCardBooking(event, presentation, buttonText, now) {
|
|
322
|
+
return resolveEventCardBooking(event, presentation === "catalogue" ? "series" : "occurrence", buttonText, { now: now ?? null });
|
|
323
|
+
}
|
|
320
324
|
//#endregion
|
|
321
325
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCompactRow.tsx
|
|
322
326
|
/**
|
|
@@ -460,6 +464,7 @@ function EventListingFrameView(props) {
|
|
|
460
464
|
return /* @__PURE__ */ jsxs("div", {
|
|
461
465
|
className: `event-listing ${display.className ?? ""}`,
|
|
462
466
|
"data-block": "event-listing",
|
|
467
|
+
"data-event-rows": display.eventRows,
|
|
463
468
|
children: [
|
|
464
469
|
filters,
|
|
465
470
|
display.state === "loading" ? /* @__PURE__ */ jsx(EmptyState, { message: display.loadingMessage }) : display.state === "empty" ? emptyState ?? /* @__PURE__ */ jsx(EmptyState, { message: display.emptyMessage }) : /* @__PURE__ */ jsx(EventListBody, {
|
|
@@ -476,69 +481,27 @@ function EventListBody({ display, renderEventCard, footer }) {
|
|
|
476
481
|
className: display.containerClass,
|
|
477
482
|
children: display.events.map(renderEventCard)
|
|
478
483
|
});
|
|
479
|
-
|
|
480
|
-
display
|
|
481
|
-
week: display
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
...listLookSlot(display, "group-date"),
|
|
496
|
-
children: [
|
|
497
|
-
date.day,
|
|
498
|
-
" ",
|
|
499
|
-
date.month
|
|
500
|
-
]
|
|
501
|
-
})]
|
|
502
|
-
}), /* @__PURE__ */ jsx("ol", { children: display.events.filter((event) => eventLocalDateKey(event) === eventLocalDateKey(first)).map((event) => /* @__PURE__ */ jsx(EventItem, {
|
|
503
|
-
...listItemPresentation(display, display.events.indexOf(event), display.events.length),
|
|
504
|
-
event,
|
|
505
|
-
arrangement: "day-groups"
|
|
506
|
-
}, event.occurrenceId || event.id)) })]
|
|
507
|
-
}, eventLocalDateKey(first));
|
|
508
|
-
})
|
|
509
|
-
});
|
|
510
|
-
if (display.listLayout === "ledger" || display.listLayout === "timetable-rows") {
|
|
511
|
-
const arrangement = display.listLayout;
|
|
512
|
-
return /* @__PURE__ */ jsx("ol", {
|
|
484
|
+
switch (display.listLayout) {
|
|
485
|
+
case "week-groups": return /* @__PURE__ */ jsx(WeekGroups, { display });
|
|
486
|
+
case "week-columns": return /* @__PURE__ */ jsx(WeekColumnList, { display });
|
|
487
|
+
case "day-groups": return /* @__PURE__ */ jsx(DayGroups, { display });
|
|
488
|
+
case "ledger":
|
|
489
|
+
case "timetable-rows": return /* @__PURE__ */ jsx(EventRows, {
|
|
490
|
+
display,
|
|
491
|
+
arrangement: display.listLayout
|
|
492
|
+
});
|
|
493
|
+
case "compact": return /* @__PURE__ */ jsx(CompactPanel, {
|
|
494
|
+
display,
|
|
495
|
+
renderEventCard,
|
|
496
|
+
footer
|
|
497
|
+
});
|
|
498
|
+
case "grid":
|
|
499
|
+
case "stack": return /* @__PURE__ */ jsx("div", {
|
|
513
500
|
...listLookSlot(display, "list"),
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
event,
|
|
517
|
-
arrangement,
|
|
518
|
-
continued: index > 0 && eventLocalDateKey(event) === eventLocalDateKey(events[index - 1] ?? event)
|
|
519
|
-
}, event.occurrenceId || event.id))
|
|
501
|
+
className: display.containerClass,
|
|
502
|
+
children: display.events.map(renderEventCard)
|
|
520
503
|
});
|
|
521
504
|
}
|
|
522
|
-
if (display.listLayout === "compact") return /* @__PURE__ */ jsxs("aside", {
|
|
523
|
-
...listLookSlot(display, "panel"),
|
|
524
|
-
className: display.containerClass,
|
|
525
|
-
children: [
|
|
526
|
-
display.panelHeading !== void 0 ? /* @__PURE__ */ jsx("h3", {
|
|
527
|
-
...listLookSlot(display, "panel-heading"),
|
|
528
|
-
children: display.panelHeading
|
|
529
|
-
}) : null,
|
|
530
|
-
/* @__PURE__ */ jsx("div", {
|
|
531
|
-
...listLookSlot(display, "list"),
|
|
532
|
-
children: display.events.map(renderEventCard)
|
|
533
|
-
}),
|
|
534
|
-
footer
|
|
535
|
-
]
|
|
536
|
-
});
|
|
537
|
-
return /* @__PURE__ */ jsx("div", {
|
|
538
|
-
...listLookSlot(display, "list"),
|
|
539
|
-
className: display.containerClass,
|
|
540
|
-
children: display.events.map(renderEventCard)
|
|
541
|
-
});
|
|
542
505
|
}
|
|
543
506
|
/** All seven days of the shown week; a day known to be empty says so, and a wholly empty week never reaches here. */
|
|
544
507
|
function WeekColumns({ display, week }) {
|
|
@@ -582,7 +545,19 @@ function hasArrangementPanel(display) {
|
|
|
582
545
|
}
|
|
583
546
|
/** Nearest slot parents in EventListBody and WeekColumns. */
|
|
584
547
|
/** `root` is the declared slot the listing renders inside (a Look may paint the block's layout), or null. */
|
|
585
|
-
function eventListSlotParents(arrangement, root = null) {
|
|
548
|
+
function eventListSlotParents(arrangement, root = null, eventRows) {
|
|
549
|
+
if (eventRows === "day-schedule") return {
|
|
550
|
+
list: root,
|
|
551
|
+
group: "list",
|
|
552
|
+
"group-label": "group",
|
|
553
|
+
"group-date": "group-label",
|
|
554
|
+
"group-day": "group-label",
|
|
555
|
+
day: "group-date",
|
|
556
|
+
month: "group-date",
|
|
557
|
+
items: "group",
|
|
558
|
+
row: "items",
|
|
559
|
+
"row-continued": "items"
|
|
560
|
+
};
|
|
586
561
|
return {
|
|
587
562
|
list: arrangement === "compact" ? "panel" : root,
|
|
588
563
|
panel: root,
|
|
@@ -590,9 +565,150 @@ function eventListSlotParents(arrangement, root = null) {
|
|
|
590
565
|
"group-label": "group",
|
|
591
566
|
"group-date": "group-label",
|
|
592
567
|
item: "list",
|
|
593
|
-
|
|
568
|
+
...arrangement === "week-groups" ? {
|
|
569
|
+
items: "group",
|
|
570
|
+
row: "items"
|
|
571
|
+
} : { row: arrangement === "week-columns" || arrangement === "day-groups" ? "group" : "list" },
|
|
594
572
|
"row-continued": "list"
|
|
595
573
|
};
|
|
596
574
|
}
|
|
575
|
+
function WeekGroups({ display }) {
|
|
576
|
+
const context = display.weekGrouping;
|
|
577
|
+
if (!context) return /* @__PURE__ */ jsx(DayGroups, { display });
|
|
578
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
579
|
+
...listLookSlot(display, "list"),
|
|
580
|
+
children: groupEventsByWeek(display.events, context).map((week) => /* @__PURE__ */ jsxs("li", {
|
|
581
|
+
...listLookSlot(display, "group"),
|
|
582
|
+
children: [/* @__PURE__ */ jsx("h3", {
|
|
583
|
+
...listLookSlot(display, "group-label"),
|
|
584
|
+
children: week.label
|
|
585
|
+
}), /* @__PURE__ */ jsx("ol", {
|
|
586
|
+
...listLookSlot(display, "items"),
|
|
587
|
+
children: week.events.map((event) => /* @__PURE__ */ jsx(EventItem, {
|
|
588
|
+
...listItemPresentation(display, display.events.indexOf(event), display.events.length),
|
|
589
|
+
event,
|
|
590
|
+
arrangement: "week-groups"
|
|
591
|
+
}, event.occurrenceId || event.id))
|
|
592
|
+
})]
|
|
593
|
+
}, week.key))
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
function DayGroups({ display }) {
|
|
597
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
598
|
+
...listLookSlot(display, "list"),
|
|
599
|
+
children: display.events.filter((event, index, events) => events.findIndex((candidate) => eventLocalDateKey(candidate) === eventLocalDateKey(event)) === index).map((first) => {
|
|
600
|
+
const date = formatEventCompactDateRail(first.startsAt, eventDateOptions(first), "as-written");
|
|
601
|
+
return /* @__PURE__ */ jsxs("li", {
|
|
602
|
+
...listLookSlot(display, "group"),
|
|
603
|
+
children: [/* @__PURE__ */ jsxs("h3", {
|
|
604
|
+
...listLookSlot(display, "group-label"),
|
|
605
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
606
|
+
...listLookSlot(display, "group-day"),
|
|
607
|
+
children: date.weekday
|
|
608
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
609
|
+
...listLookSlot(display, "group-date"),
|
|
610
|
+
children: [
|
|
611
|
+
date.day,
|
|
612
|
+
" ",
|
|
613
|
+
date.month
|
|
614
|
+
]
|
|
615
|
+
})]
|
|
616
|
+
}), /* @__PURE__ */ jsx("ol", { children: display.events.filter((event) => eventLocalDateKey(event) === eventLocalDateKey(first)).map((event) => /* @__PURE__ */ jsx(EventItem, {
|
|
617
|
+
...listItemPresentation(display, display.events.indexOf(event), display.events.length),
|
|
618
|
+
event,
|
|
619
|
+
arrangement: "day-groups"
|
|
620
|
+
}, event.occurrenceId || event.id)) })]
|
|
621
|
+
}, eventLocalDateKey(first));
|
|
622
|
+
})
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
function EventRows({ display, arrangement }) {
|
|
626
|
+
if (display.eventRows === "day-schedule") return /* @__PURE__ */ jsx(DaySchedule, { display });
|
|
627
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
628
|
+
...listLookSlot(display, "list"),
|
|
629
|
+
children: display.events.map((event, index, events) => /* @__PURE__ */ jsx(EventItem, {
|
|
630
|
+
...listItemPresentation(display, index, events.length),
|
|
631
|
+
event,
|
|
632
|
+
arrangement,
|
|
633
|
+
continued: index > 0 && eventLocalDateKey(event) === eventLocalDateKey(events[index - 1] ?? event)
|
|
634
|
+
}, event.occurrenceId || event.id))
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
function CompactPanel({ display, renderEventCard, footer }) {
|
|
638
|
+
return /* @__PURE__ */ jsxs("aside", {
|
|
639
|
+
...listLookSlot(display, "panel"),
|
|
640
|
+
className: display.containerClass,
|
|
641
|
+
children: [
|
|
642
|
+
display.panelHeading !== void 0 ? /* @__PURE__ */ jsx("h3", {
|
|
643
|
+
...listLookSlot(display, "panel-heading"),
|
|
644
|
+
children: display.panelHeading
|
|
645
|
+
}) : null,
|
|
646
|
+
/* @__PURE__ */ jsx("div", {
|
|
647
|
+
...listLookSlot(display, "list"),
|
|
648
|
+
children: display.events.map(renderEventCard)
|
|
649
|
+
}),
|
|
650
|
+
footer
|
|
651
|
+
]
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
function WeekColumnList({ display }) {
|
|
655
|
+
return display.week ? /* @__PURE__ */ jsx(WeekColumns, {
|
|
656
|
+
display,
|
|
657
|
+
week: display.week
|
|
658
|
+
}) : /* @__PURE__ */ jsx(DayGroups, { display });
|
|
659
|
+
}
|
|
660
|
+
/** Opt-in structure on the ledger: each session shows its quick facts as tags above its title. */
|
|
661
|
+
function DaySchedule({ display }) {
|
|
662
|
+
const options = eventDateOptions({ siteTimeZone: display.weekGrouping?.timeZone ?? display.events[0]?.siteTimeZone });
|
|
663
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
664
|
+
...listLookSlot(display, "list"),
|
|
665
|
+
children: [...groupEventsByDate([...display.events], options.timeZone)].map(([key, events]) => {
|
|
666
|
+
const first = events[0];
|
|
667
|
+
if (!first) return null;
|
|
668
|
+
const date = formatEventCompactDateRail(first.startsAt, options, "as-written");
|
|
669
|
+
return /* @__PURE__ */ jsxs("li", {
|
|
670
|
+
...listLookSlot(display, "group"),
|
|
671
|
+
children: [/* @__PURE__ */ jsxs("h3", {
|
|
672
|
+
...listLookSlot(display, "group-label"),
|
|
673
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
674
|
+
...listLookSlot(display, "group-date"),
|
|
675
|
+
"aria-hidden": "true",
|
|
676
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
677
|
+
...listLookSlot(display, "day"),
|
|
678
|
+
children: date.day
|
|
679
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
680
|
+
...listLookSlot(display, "month"),
|
|
681
|
+
children: date.month
|
|
682
|
+
})]
|
|
683
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
684
|
+
...listLookSlot(display, "group-day"),
|
|
685
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
686
|
+
"aria-hidden": "true",
|
|
687
|
+
children: date.fullWeekday
|
|
688
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
689
|
+
className: "rb-sr-only",
|
|
690
|
+
children: date.label
|
|
691
|
+
})]
|
|
692
|
+
})]
|
|
693
|
+
}), /* @__PURE__ */ jsx("ol", {
|
|
694
|
+
...listLookSlot(display, "items"),
|
|
695
|
+
children: events.map((event) => /* @__PURE__ */ jsx(EventItem, {
|
|
696
|
+
...listItemPresentation(display, display.events.indexOf(event), display.events.length),
|
|
697
|
+
event,
|
|
698
|
+
arrangement: "ledger",
|
|
699
|
+
showCapacity: display.showCapacity,
|
|
700
|
+
parts: [
|
|
701
|
+
"title",
|
|
702
|
+
"time",
|
|
703
|
+
"places",
|
|
704
|
+
"action"
|
|
705
|
+
],
|
|
706
|
+
itemActionStyle: "button"
|
|
707
|
+
}, event.occurrenceId || event.id))
|
|
708
|
+
})]
|
|
709
|
+
}, key);
|
|
710
|
+
})
|
|
711
|
+
});
|
|
712
|
+
}
|
|
597
713
|
//#endregion
|
|
598
714
|
export { EventCard as a, EventCompactRow as i, eventListSlotParents as n, EmptyState as r, EventListingFrameView as t };
|
package/dist/client/{EventRegistrationPayment-D5J3DR0x.mjs → EventRegistrationPayment-BWb295cD.mjs}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as normalizeTicketSelectionLines, A as createInitialRegistrationFlowState,
|
|
3
|
-
import {
|
|
2
|
+
import { $t as normalizeTicketSelectionLines, A as createInitialRegistrationFlowState, Ai as PAGE_NAVIGATION, Bt as getImplicitSingleTicketType, Ct as parseCurrencyInputToCents, Ds as publicEventPricingStrategy, Dt as registrationQuestionsMessage, E as registrationRoute, Et as withRegistrationAvailability, F as buildEventRegistrationPaymentOptionsViewModel, Gr as deriveBookingQuestions, Gt as transformRegistrationOptionsResponse, H as planRegistrationDetailsContinuation, I as decideEventRegistrationPayment, J as visitorHoldsOwnPlace, Jt as getSingleSelectedPricingOptionId, K as resolveRegistrationTicketContinuation, Kr as needsBookingQuestionsRefresh, M as getDeclinedPass, Mi as leavePage, Mr as formatCentsAsCurrencyInput, N as isRegistrationLocked, Nt as findSelectedTicketType, Ot as validateFormData, P as registrationFlowReducer, Pi as requestSignIn, Q as resolveEventRegistrationSubmitPlan, Qt as hasValidPricingOptionSelection, St as getTicketSelectionRemainingPlaces, T as registrationPresentation, Tt as shouldLoadRegistrationOptions, U as resolveGuestNextStepCheck, Ur as bookingQuestionsPaymentSnapshotSchema, Ut as getVisibleTicketTypes, V as planRegistrationDetailsCheck, Vi as resolveEventRegistrationScopedEvents, Vt as getPortalSubjectEmail, W as resolveRegistrationAdmission, Wr as decideBookingQuestionsRestoration, Xt as getTicketSelectionTotal, Yr as toBookingQuestionsPaymentSnapshot, _t as getCurrentTicketSelection, an as EVENT_SIGN_IN_FORM_ID, bt as getSlidingScaleForEvent, cn as eventSignInRestoration, ct as findPreSelectedEvent, dt as resolveRegistrationTarget, ft as resolveRouteRequiresPayment, gt as invitationSubmission, ht as createRegistrationDraftData, in as toWholeSeriesRegistrationEvents, j as decideEventChoice, ln as toEventSignInDraft, lt as resolveDiscountContext, mt as beginWaitlistInvitation, nn as toRegistrationEvents, on as eventSignInDraftStore, ps as resolveBookingSignupOffer, pt as toRegistrationRequestSubject, rt as calculateEventRegistrationPreviewTotal, sn as eventSignInEnds, tn as getRegistrationStartAt, ut as resolveEventRequiresPayment, vt as getEligibilityFlowFlags, w as registrationPaymentRoute, wt as resolveHeldTicketPlaces, xt as getSlidingScaleSelectionMessage, yt as getRegistrationOccurrenceId, z as getTicketSelectionPurpose } from "./display-B5DfNb6A.mjs";
|
|
3
|
+
import { Ut as inferSiteDateLocale, tn as resolveBookingBusinessTimeZone } from "./noop-CamIX2yK.mjs";
|
|
4
4
|
import { o as checkBookingQuestionsAnswered, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
5
|
-
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-CmZLVXOy.mjs";
|
|
6
6
|
import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
|
|
7
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
7
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-xNC1Cyjw.mjs";
|
|
8
8
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
9
|
-
import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-
|
|
10
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
11
|
-
import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-
|
|
9
|
+
import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-CzOT8ZWo.mjs";
|
|
10
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-B4fRd2jy.mjs";
|
|
11
|
+
import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-VjRYhx1c.mjs";
|
|
12
12
|
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
13
|
-
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
13
|
+
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BhjGxhX3.mjs";
|
|
14
14
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
16
|
import { z } from "zod";
|
|
@@ -2807,7 +2807,7 @@ function resolveWizardPaymentView(input) {
|
|
|
2807
2807
|
}
|
|
2808
2808
|
//#endregion
|
|
2809
2809
|
//#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
|
|
2810
|
-
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-
|
|
2810
|
+
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-B18VbNS_.mjs"));
|
|
2811
2811
|
/** The one Stripe mount, shared by the standard wizard and headless arrangements. */
|
|
2812
2812
|
function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
|
|
2813
2813
|
if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { kt as normalizeLocationAddressText } from "./noop-CamIX2yK.mjs";
|
|
3
|
+
import { i as ThemedButtonLink } from "./ThemedButton-DuaYtnvG.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../core/src/locationLinks.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ft as mapDrawingSchema } from "./noop-CamIX2yK.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|