@riverbankcms/sdk 0.164.0 → 0.166.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-CubPwupc.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-rW0xgQCA.d.ts} +18 -256
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +107 -72
- package/dist/_dts/{client-CbeYTSry.d.ts → client-D4BXQEZc.d.ts} +5 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-MUzta0l9.d.ts} +3 -3
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index--qflsCiy.d.ts} +4 -3
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-BgJ2aU5c.d.ts} +2 -2
- package/dist/_dts/{index-BZE-1azr.d.ts → index-Bmboeb49.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-DdcwPqQN.d.ts} +4 -4
- package/dist/_dts/{index-DriYVLfT.d.ts → index-ahxQCUc7.d.ts} +2 -2
- package/dist/_dts/{index-DYQFmf--.d.ts → index-kQ5xkM6X.d.ts} +1 -1
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-mMMvLLAJ.d.ts} +2996 -3079
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-wbBZ0awa.d.ts} +49398 -48202
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
- package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -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 +9 -6
- 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 +20 -0
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
- package/dist/_dts/sdk/src/data/types.d.ts +54 -0
- 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 +9 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
- 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 +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +7 -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-DiciZDrk.d.ts → types-BX3Y-EW3.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-DF54stxv.d.ts} +8 -7
- package/dist/_dts/{types-W40f2olO.d.ts → types-DuiHLiPo.d.ts} +2 -2
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-Bxi0f81D.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-BhADnDCg.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-CMKrtkT7.mjs} +33 -12
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-3BBRdNVa.mjs} +70 -15
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DNDZLRlB.mjs} +3388 -11530
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-uVqNowRX.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-DNMojb6A.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-C8kxI3Dm.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-DCxjE3Is.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-Ceeng8fB.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-B0EKbeVv.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
- package/dist/client/client.mjs +9465 -15
- package/dist/client/{context-BNAM7NsW.mjs → context-n6IZigd3.mjs} +8 -6
- package/dist/client/cta-CDeAwYoN.mjs +121 -0
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-BhygihpQ.mjs} +43 -17
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-2-xjn2nz.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-BeNQiZ2V.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BFdCKlp7.mjs} +7 -7
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-C7gLK3jh.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-CWfelfMt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-CalNAShx.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DpPauppt.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-Dq7GHGXU.mjs} +9 -9
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-D-RG9eR3.mjs} +399 -169
- package/dist/client/portal/client.mjs +13 -14
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-BmH40fNf.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-DjGrjOwD.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CKK_RXZo.mjs} +350 -424
- package/dist/client/rendering/client.mjs +29 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +70 -8
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DLufMauE.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-CBy9_alG.mjs} +13 -13
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BM0NRsFQ.mjs} +265 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-lS23OQE-.mjs} +2 -2
- package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
- package/dist/{preview-next/client/ThemedButton-g7NPrsGp.mjs → client/site-styles-DELkUk9s.mjs} +25654 -17259
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/src-DjnxOjXG.mjs +217 -0
- package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-DzRWikCU.mjs} +157 -139
- package/dist/client/types-sF-IrGQr.mjs +633 -0
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-Ccr4TZlm.mjs} +12 -159
- package/dist/client/{view-BnaOmrap.mjs → view-8w4GA8rf.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DAVEoe8A.mjs} +310 -247
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DNpajrAH.mjs} +495 -173
- package/dist/preview-next/before-render.mjs +4 -141
- package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
- package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
- package/dist/preview-next/client/PreviewEditorUI-C7ZmYE33.mjs +1189 -0
- package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
- package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
- package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
- package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
- package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
- package/dist/preview-next/client/previewChromeSurface-D2cREDJ5.mjs +190 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
- package/dist/preview-next/client/useAutosaveStatus--Pw8vnef.mjs +138 -0
- package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
- package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
- package/dist/preview-next/keepAlive.mjs +27 -4
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-Bq7SUX3K.mjs} +143 -126
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
- package/dist/server/{src-cbbK3Bho.mjs → ThemeScopeCore-BI2mld9R.mjs} +1153 -2523
- package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-DjdUq9FR.mjs} +2 -3
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → client-07UeMDzA.mjs} +2492 -357
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +33 -2
- package/dist/server/data/dataLoaderContext.mjs +2 -0
- package/dist/server/data/resolveBlockData.mjs +2 -0
- package/dist/server/data/types.mjs +1 -0
- package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
- package/dist/server/identity-Bn9OQiT1.mjs +6 -0
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-ClpaSlBb.mjs} +6 -5
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-BwtVqpaA.mjs} +4 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/media-DnlczCMA.mjs +231 -0
- package/dist/server/mode-Cv_TG9gP.mjs +63 -0
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +13 -13
- package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
- package/dist/server/overrides-CD4d-1w7.mjs +177 -0
- package/dist/server/page-converter.mjs +243 -91
- package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
- package/dist/server/{overrides-DVemf-GV.mjs → pageShared-HdKFBpaX.mjs} +3594 -1726
- package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
- package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-TFPJdGQi.mjs} +20901 -792
- package/dist/server/rendering/components/pageShared.mjs +2 -0
- package/dist/server/rendering/helpers/loadPage.mjs +2 -0
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering/themeAdmission.mjs +2 -0
- package/dist/server/rendering.mjs +11 -10
- package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
- package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
- package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/schema-C2PqHrMo.mjs +2523 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1031 -1
- package/dist/server/theme.mjs +2 -1
- package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
- package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
- package/dist/server/validation-CDd6m8Ry.mjs +140 -0
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DIBFZeMB.mjs} +419 -3
- package/dist/server/{version-DoOG6F13.mjs → version-DZWZM1H6.mjs} +1 -1
- package/dist/styles/index.css +924 -10
- package/package.json +39 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/client/cta-ChiN1Vgg.mjs +0 -80
- package/dist/client/purchase-BMsWpx8y.mjs +0 -894
- package/dist/client/schema-DMUkBtIO.mjs +0 -15915
- package/dist/client/site-styles-BLHYJ8S7.mjs +0 -12339
- package/dist/client/src-VIsPY-kw.mjs +0 -62
- package/dist/preview-next/client/PreviewEditorSidebar-C3AQVxQt.mjs +0 -5441
- package/dist/preview-next/client/PreviewEditorUI-C-1zDCR_.mjs +0 -756
- package/dist/preview-next/client/SdkPreviewModeRuntime-B47yHFL0.mjs +0 -9130
- package/dist/preview-next/client/SdkPreviewModeRuntime-C6Rhm2NQ.mjs +0 -3
- package/dist/preview-next/client/previewAuthStore-By_zfrS5.mjs +0 -212195
- package/dist/preview-next/client/previewChromeSurface-Cjwxv90x.mjs +0 -85
- package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
- package/dist/preview-next/client/sdk-runtime-BG2HYvQj.mjs +0 -4
- package/dist/preview-next/client/siteStyleAccess-BiSyYyyr.mjs +0 -14178
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
- package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
- package/dist/server/client-CiKaE8ms.mjs +0 -2330
- package/dist/server/effectiveNavLinkStyle-EDSdd_oK.mjs +0 -11574
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
- package/dist/server/prefetchBlockData-Bnbwoe5n.mjs +0 -4156
- package/dist/server/schema-BlTWmTSl.mjs +0 -16142
- package/dist/server/site-styles-yHytcXIB.mjs +0 -768
- package/dist/server/siteChromeOverlayClearance-D0uCNZ7E.mjs +0 -802
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Tt as buildEventCalendarListingRender, Vt as buildEventRuntimeFilters, nn as buildEventListWeek, rn as eventListWeekDays } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { mn as formatEventHourLabel, vn as groupEventsByDate } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { _ as resolveCalendarReadProfile } from "./noop-D-RG9eR3.mjs";
|
|
5
|
+
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, p as MonthLookView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-DzRWikCU.mjs";
|
|
2
6
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { i as
|
|
8
|
-
import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
|
|
9
|
-
import { i as useEventCollectionFilters } from "./useEventPagination-Dk3g64we.mjs";
|
|
10
|
-
import { n as EventListingController } from "./EventListing.client-Cp11sBX_.mjs";
|
|
11
|
-
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-C98ucpcP.mjs";
|
|
7
|
+
import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
8
|
+
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-5a0x0vcC.mjs";
|
|
9
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-Ccr4TZlm.mjs";
|
|
10
|
+
import { n as EventListingController } from "./EventListing.client-DZeDM0Qt.mjs";
|
|
11
|
+
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-jik34zTb.mjs";
|
|
12
12
|
import React, { useEffect, useMemo, useState } from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
|
|
@@ -490,8 +490,15 @@ function EventCalendarWeekListClient({ render }) {
|
|
|
490
490
|
display.startOfWeek,
|
|
491
491
|
context.timeZone
|
|
492
492
|
]);
|
|
493
|
+
const listing = buildEventCalendarListingRender(render);
|
|
493
494
|
return /* @__PURE__ */ jsx(EventListingController, {
|
|
494
|
-
render:
|
|
495
|
+
render: {
|
|
496
|
+
...listing,
|
|
497
|
+
display: {
|
|
498
|
+
...listing.display,
|
|
499
|
+
week: eventListWeekDays(current, today, context.timeZone)
|
|
500
|
+
}
|
|
501
|
+
},
|
|
495
502
|
week: {
|
|
496
503
|
dateWindow: {
|
|
497
504
|
initial,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Bt as toError, Ht as getEventRuntimeFiltersKey, Vt as buildEventRuntimeFilters, jt as eventListingBlockRuntime } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { Gt as getBlockApiReadStage, _n as formatTime, an as eventCalendarWeekStart, in as buildCalendarViewport, sn as eventDateOptions, vn as groupEventsByDate } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { Dt as getLocalScheduleDate, c as calendarMonthDate, d as calendarQueryKey, dt as formatDate, f as calendarWindowBounds, g as planCalendarMonthRanges, l as calendarMonthKey, p as calendarWindowMonths$1, u as calendarPageResponseError } from "./noop-D-RG9eR3.mjs";
|
|
2
5
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-C2vZse15.mjs";
|
|
6
|
-
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
|
|
7
|
-
import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
|
|
6
|
+
import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
7
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-5a0x0vcC.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
9
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
10
|
-
import { t as TabBarFragment } from "./TabBarFragment-
|
|
11
|
-
import { n as useBlockApi } from "./context-
|
|
12
|
-
import {
|
|
10
|
+
import { t as TabBarFragment } from "./TabBarFragment-_IAthZVM.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-n6IZigd3.mjs";
|
|
12
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Ccr4TZlm.mjs";
|
|
13
13
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-BGVwNwE-.mjs";
|
|
2
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-8jUc02mZ.mjs";
|
|
4
3
|
import { useEffect, useRef, useState } from "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
//#region \0rolldown/runtime.js
|
|
7
6
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
8
7
|
//#endregion
|
|
8
|
+
//#region ../commerce/src/purchase/checkoutPresentation.ts
|
|
9
|
+
function publishableKeyMode(publishableKey) {
|
|
10
|
+
if (publishableKey.startsWith("pk_live_")) return "live";
|
|
11
|
+
if (publishableKey.startsWith("pk_test_")) return "test";
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
function checkBrowserStripeKey(publishableKey, livemode) {
|
|
15
|
+
const key = publishableKey?.trim();
|
|
16
|
+
if (!key) return {
|
|
17
|
+
tag: "unavailable",
|
|
18
|
+
reason: "missing_key"
|
|
19
|
+
};
|
|
20
|
+
const mode = publishableKeyMode(key);
|
|
21
|
+
if (mode === null) return {
|
|
22
|
+
tag: "unavailable",
|
|
23
|
+
reason: "invalid_key"
|
|
24
|
+
};
|
|
25
|
+
return mode === (livemode ? "live" : "test") ? {
|
|
26
|
+
tag: "ready",
|
|
27
|
+
publishableKey: key
|
|
28
|
+
} : {
|
|
29
|
+
tag: "unavailable",
|
|
30
|
+
reason: "mode_mismatch"
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
9
34
|
//#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
|
|
10
35
|
var require_pure$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
11
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { Jt as CardListContentPart, Xt as resolveCardListSchedule, Yt as CardListLeadDate, Zt as selectCardListPresentation, an as formatEventPrice } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Nr as listLookSlot, fn as formatEventCompactDateRail, gn as formatEventTimeRange, jr as listItemPresentation, sn as eventDateOptions } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
|
|
5
|
+
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-CDeAwYoN.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
@@ -90,6 +90,12 @@ const eventItemParts = {
|
|
|
90
90
|
"description",
|
|
91
91
|
"action"
|
|
92
92
|
],
|
|
93
|
+
"week-columns": [
|
|
94
|
+
"time",
|
|
95
|
+
"title",
|
|
96
|
+
"meta",
|
|
97
|
+
"places"
|
|
98
|
+
],
|
|
93
99
|
grid: [
|
|
94
100
|
"image",
|
|
95
101
|
"date",
|
|
@@ -201,7 +207,7 @@ function renderCalendarTrailingParts(props, parts, renderPart) {
|
|
|
201
207
|
}) : content;
|
|
202
208
|
}
|
|
203
209
|
function eventItemTag(arrangement) {
|
|
204
|
-
return arrangement === "ledger" || arrangement === "day-groups" ? "li" : "article";
|
|
210
|
+
return arrangement === "ledger" || arrangement === "day-groups" || arrangement === "week-columns" ? "li" : "article";
|
|
205
211
|
}
|
|
206
212
|
function renderEventItemContentPart({ part, props, facts }) {
|
|
207
213
|
switch (part) {
|
|
@@ -462,14 +468,29 @@ function cardListSlides(items, presentation, Title = "h3") {
|
|
|
462
468
|
}));
|
|
463
469
|
}
|
|
464
470
|
function leadItemPresentation(presentation, index, count) {
|
|
465
|
-
|
|
471
|
+
return listItemPresentation(presentation, index, count);
|
|
472
|
+
}
|
|
473
|
+
/** These parents describe the JSX above, independently of any Look or style. */
|
|
474
|
+
function eventItemSlotParents(arrangement) {
|
|
475
|
+
const root = arrangement === "grid" ? "item" : "row";
|
|
476
|
+
return {
|
|
477
|
+
date: root,
|
|
478
|
+
availability: arrangement === "grid" ? "item-body" : "what",
|
|
479
|
+
"item-body": root,
|
|
480
|
+
what: root
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
function cardItemSlotParents(arrangement) {
|
|
484
|
+
const body = arrangement === "index" || arrangement === "sequence" ? "item" : "item-body";
|
|
466
485
|
return {
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
486
|
+
item: "items",
|
|
487
|
+
lead: "items",
|
|
488
|
+
"item-body": "item",
|
|
489
|
+
"item-media": "item",
|
|
490
|
+
dates: body,
|
|
491
|
+
date: arrangement === "slides" || arrangement === "track" ? "item-media" : "dates",
|
|
492
|
+
availability: body
|
|
472
493
|
};
|
|
473
494
|
}
|
|
474
495
|
//#endregion
|
|
475
|
-
export {
|
|
496
|
+
export { eventItemSlotParents as a, formatEventTeacherLine as c, cardItemSlotParents as i, CardListItems as n, CalendarIcon as o, EventItem as r, MapPinIcon as s, CardListCollection as t };
|
package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-AGHjxy6C.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
4
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { Vt as buildEventRuntimeFilters } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-AGHjxy6C.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Ccr4TZlm.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
2
|
+
import { Qt as MediaNodeServer, an as formatEventPrice, in as weekColumnDays } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { Nr as listLookSlot, cn as eventLocalDateKey, fn as formatEventCompactDateRail, gn as formatEventTimeRange, hn as formatEventNextDateFact, jr as listItemPresentation, qt as ImagePresets, sn as eventDateOptions, un as formatDate } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { Bt as normalizeCardRole, Jn as boxBackgroundSchema, Yn as runtimeBoxBackgroundSchema, _i as isCssColorLiteral, bi as resolveTokenOrCssColorValue, qn as boxBackgroundOverlaySchema, vi as resolveOnColorForThemeToken, zi as getTextColorForBackground } from "./site-styles-DELkUk9s.mjs";
|
|
5
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
|
|
6
|
+
import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CDeAwYoN.mjs";
|
|
7
|
+
import { c as formatEventTeacherLine, o as CalendarIcon, r as EventItem, s as MapPinIcon } from "./EventItem-CMKrtkT7.mjs";
|
|
8
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-C30geMl-.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
@@ -374,7 +374,7 @@ function eventCardCategoryBadge(category) {
|
|
|
374
374
|
*
|
|
375
375
|
* This component is server-safe (uses no client APIs like Intl).
|
|
376
376
|
*/
|
|
377
|
-
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots,
|
|
377
|
+
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 }) => {
|
|
378
378
|
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
379
379
|
event,
|
|
380
380
|
presentation,
|
|
@@ -389,14 +389,14 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
389
389
|
return /* @__PURE__ */ jsxs("article", {
|
|
390
390
|
...listLookSlot({
|
|
391
391
|
lookSlots,
|
|
392
|
-
|
|
392
|
+
surfacePresentation
|
|
393
393
|
}, "item"),
|
|
394
394
|
className: `${cardClass} group rb-flex rb-flex-col rb-h-full ${orientationClass}${presentationClass}`,
|
|
395
395
|
"data-orientation": orientation,
|
|
396
396
|
children: [/* @__PURE__ */ jsx(EventCardMedia, {
|
|
397
397
|
lookPresentation: {
|
|
398
398
|
lookSlots,
|
|
399
|
-
|
|
399
|
+
surfacePresentation
|
|
400
400
|
},
|
|
401
401
|
event,
|
|
402
402
|
categoryBadge,
|
|
@@ -407,7 +407,7 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
407
407
|
imageResolveContext
|
|
408
408
|
}), /* @__PURE__ */ jsx(EventCardContent, {
|
|
409
409
|
lookSlots,
|
|
410
|
-
|
|
410
|
+
surfacePresentation,
|
|
411
411
|
allowMap,
|
|
412
412
|
buttonVariant,
|
|
413
413
|
capacityText,
|
|
@@ -659,7 +659,8 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
659
659
|
headingLevel
|
|
660
660
|
});
|
|
661
661
|
const { formattedDate, formattedTime } = formatEventCardWhen(event);
|
|
662
|
-
const
|
|
662
|
+
const booking = resolveEventCardBooking(event, presentation === "catalogue" ? "series" : "occurrence", buttonText);
|
|
663
|
+
const { cta } = booking;
|
|
663
664
|
const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
|
|
664
665
|
const title = event.title;
|
|
665
666
|
const summary = event.presentation?.summary ?? event.description;
|
|
@@ -686,7 +687,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
686
687
|
}),
|
|
687
688
|
priceText: resolveEventCardPrice(event, cardPresentation),
|
|
688
689
|
teacherLine: formatEventTeacherLine(event),
|
|
689
|
-
capacityText: showCapacity
|
|
690
|
+
capacityText: showCapacity && booking.availability ? booking.availability.label : null,
|
|
690
691
|
orientationClass: eventCardOrientationClass(orientation)
|
|
691
692
|
};
|
|
692
693
|
}
|
|
@@ -843,7 +844,11 @@ function EventListBody({ display, renderEventCard, footer }) {
|
|
|
843
844
|
className: display.containerClass,
|
|
844
845
|
children: display.events.map(renderEventCard)
|
|
845
846
|
});
|
|
846
|
-
if (display.listLayout === "
|
|
847
|
+
if (display.listLayout === "week-columns" && display.week !== void 0) return /* @__PURE__ */ jsx(WeekColumns, {
|
|
848
|
+
display,
|
|
849
|
+
week: display.week
|
|
850
|
+
});
|
|
851
|
+
if (display.listLayout === "day-groups" || display.listLayout === "week-columns") return /* @__PURE__ */ jsx("ol", {
|
|
847
852
|
...listLookSlot(display, "list"),
|
|
848
853
|
children: display.events.filter((event, index, events) => events.findIndex((candidate) => eventLocalDateKey(candidate) === eventLocalDateKey(event)) === index).map((first) => {
|
|
849
854
|
const date = formatEventCompactDateRail(first.startsAt, eventDateOptions(first), "as-written");
|
|
@@ -900,8 +905,58 @@ function EventListBody({ display, renderEventCard, footer }) {
|
|
|
900
905
|
children: display.events.map(renderEventCard)
|
|
901
906
|
});
|
|
902
907
|
}
|
|
908
|
+
/** All seven days of the shown week; a day known to be empty says so, and a wholly empty week never reaches here. */
|
|
909
|
+
function WeekColumns({ display, week }) {
|
|
910
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
911
|
+
...listLookSlot(display, "list"),
|
|
912
|
+
children: weekColumnDays(week, display.events, display.allLoaded === true).map((day) => /* @__PURE__ */ jsxs("li", {
|
|
913
|
+
...listLookSlot(display, "group"),
|
|
914
|
+
...day.isToday ? { "data-today": "true" } : {},
|
|
915
|
+
children: [/* @__PURE__ */ jsxs("h3", {
|
|
916
|
+
...listLookSlot(display, "group-label"),
|
|
917
|
+
children: [
|
|
918
|
+
/* @__PURE__ */ jsxs("span", {
|
|
919
|
+
...listLookSlot(display, "group-day"),
|
|
920
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
921
|
+
"aria-hidden": "true",
|
|
922
|
+
children: day.label.weekday
|
|
923
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
924
|
+
className: "rb-sr-only",
|
|
925
|
+
children: day.label.fullWeekday
|
|
926
|
+
})]
|
|
927
|
+
}),
|
|
928
|
+
" ",
|
|
929
|
+
/* @__PURE__ */ jsx("span", {
|
|
930
|
+
...listLookSlot(display, "group-date", day.isToday ? "today" : void 0),
|
|
931
|
+
children: day.label.day
|
|
932
|
+
})
|
|
933
|
+
]
|
|
934
|
+
}), day.sessions.kind === "some" ? /* @__PURE__ */ jsx("ol", { children: day.sessions.events.map((event) => /* @__PURE__ */ jsx(EventItem, {
|
|
935
|
+
...listItemPresentation(display, display.events.indexOf(event), display.events.length),
|
|
936
|
+
event,
|
|
937
|
+
arrangement: "week-columns"
|
|
938
|
+
}, event.occurrenceId || event.id)) }) : day.sessions.kind === "none" ? /* @__PURE__ */ jsx("p", {
|
|
939
|
+
...listLookSlot(display, "group-empty"),
|
|
940
|
+
children: "Nothing on"
|
|
941
|
+
}) : null]
|
|
942
|
+
}, day.dateKey))
|
|
943
|
+
});
|
|
944
|
+
}
|
|
903
945
|
function hasArrangementPanel(display) {
|
|
904
946
|
return display.state === "ready" && display.lookSlots !== void 0 && display.listLayout === "compact";
|
|
905
947
|
}
|
|
948
|
+
/** Nearest slot parents in EventListBody and WeekColumns. */
|
|
949
|
+
function eventListSlotParents(arrangement) {
|
|
950
|
+
return {
|
|
951
|
+
list: arrangement === "compact" ? "panel" : null,
|
|
952
|
+
panel: null,
|
|
953
|
+
group: "list",
|
|
954
|
+
"group-label": "group",
|
|
955
|
+
"group-date": "group-label",
|
|
956
|
+
item: "list",
|
|
957
|
+
row: arrangement === "week-columns" || arrangement === "day-groups" ? "group" : "list",
|
|
958
|
+
"row-continued": "list"
|
|
959
|
+
};
|
|
960
|
+
}
|
|
906
961
|
//#endregion
|
|
907
|
-
export {
|
|
962
|
+
export { asPartialObject as C, resolveSpacing as S, runTransforms as T, DEFAULT_SECTION_SPACING as _, EventCard as a, isSemanticSpacing as b, boxStyleClassNames as c, normalizeBoxStylesBorder as d, resolveCardRoleForBoxStyles as f, parseRuntimeBackgroundContent as g, parseBackgroundOverlay as h, EventCompactRow as i, fixedFrameScopeClass as l, parseBackgroundContent as m, eventListSlotParents as n, RAISED_SHADOW_CLASS as o, resolveItemCardRole as p, EmptyState as r, ROUNDED_CLASSES as s, EventListingFrameView as t, hasFixedFrameBackgroundMotion as u, SEMANTIC_SPACING_VALUES as v, createTransformRegistry as w, resolveSectionMinHeight as x, isSectionMinHeight as y };
|
package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CpNcpga4.mjs}
RENAMED
|
@@ -1,19 +1,115 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
|
|
2
|
+
import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, E as resolveRegistrationTicketContinuation, Er as resolveEventRegistrationScopedEvents, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Kr as resolveBookingSignupOffer, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, ii as publicEventPricingStrategy, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
|
+
import { At as resolveBookingBusinessTimeZone, vt as inferSiteDateLocale } from "./noop-D-RG9eR3.mjs";
|
|
4
|
+
import { t as assertNever } from "./src-DjnxOjXG.mjs";
|
|
5
|
+
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-B2qLkPRB.mjs";
|
|
7
6
|
import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
|
|
8
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
9
|
-
import { r as usePolling } from "./BookingMailingListNote-
|
|
7
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-D6a2BJij.mjs";
|
|
8
|
+
import { r as usePolling } from "./BookingMailingListNote-DOWOZYlK.mjs";
|
|
10
9
|
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
11
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
12
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
13
|
-
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
10
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-n6IZigd3.mjs";
|
|
11
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-Da-f9iHw.mjs";
|
|
12
|
+
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BdXu0fj-.mjs";
|
|
14
13
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
15
14
|
import { z } from "zod";
|
|
16
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
+
//#region ../commerce/src/purchase/event-registration-errors.ts
|
|
17
|
+
const eventRegistrationErrors = {
|
|
18
|
+
registrationClosed: {
|
|
19
|
+
endsCommand: false,
|
|
20
|
+
message: "Booking is currently closed for this event. Please contact the organiser if you’d like to find out more.",
|
|
21
|
+
action: "none"
|
|
22
|
+
},
|
|
23
|
+
paymentInvestigationRequired: {
|
|
24
|
+
endsCommand: false,
|
|
25
|
+
message: "We still can’t confirm your payment. Please don’t make another payment. Contact the organiser so they can check your booking.",
|
|
26
|
+
action: "none"
|
|
27
|
+
},
|
|
28
|
+
paymentProviderUnavailable: {
|
|
29
|
+
endsCommand: false,
|
|
30
|
+
message: "We couldn’t reach the payment provider. Please try again in a minute.",
|
|
31
|
+
action: "retry"
|
|
32
|
+
},
|
|
33
|
+
paymentHostUnavailable: {
|
|
34
|
+
endsCommand: false,
|
|
35
|
+
message: "Card payments aren’t available on this web address yet. Please contact the organiser to book.",
|
|
36
|
+
action: "none"
|
|
37
|
+
},
|
|
38
|
+
paymentPageUnavailable: {
|
|
39
|
+
endsCommand: false,
|
|
40
|
+
message: "We couldn’t open the payment page. Please refresh this page and try again. If this keeps happening, contact the organiser for help.",
|
|
41
|
+
action: "retry"
|
|
42
|
+
},
|
|
43
|
+
paymentUnavailable: {
|
|
44
|
+
endsCommand: false,
|
|
45
|
+
message: "Online payment is not available for this event right now. Please contact the organiser for help with booking.",
|
|
46
|
+
action: "none"
|
|
47
|
+
},
|
|
48
|
+
capacityChanged: {
|
|
49
|
+
endsCommand: false,
|
|
50
|
+
message: "Sorry, there aren’t enough places left for your selection. Please check the available places and choose again.",
|
|
51
|
+
action: "places"
|
|
52
|
+
},
|
|
53
|
+
selectionChanged: {
|
|
54
|
+
endsCommand: false,
|
|
55
|
+
message: "The booking options for this event have changed. Please check the latest options and choose your places again.",
|
|
56
|
+
action: "places"
|
|
57
|
+
},
|
|
58
|
+
paymentSetupFailed: {
|
|
59
|
+
endsCommand: true,
|
|
60
|
+
message: "We couldn't set up payment for this booking, so your place hasn't been reserved and you haven't been charged. Please try again in a few minutes, or contact the organiser if it keeps happening.",
|
|
61
|
+
action: "retry"
|
|
62
|
+
},
|
|
63
|
+
registrationAttemptEnded: {
|
|
64
|
+
endsCommand: true,
|
|
65
|
+
message: "That booking attempt has ended, so we couldn't finish it. You haven't been charged. Please start your booking again.",
|
|
66
|
+
action: "start"
|
|
67
|
+
},
|
|
68
|
+
registrationPreparationChanged: {
|
|
69
|
+
endsCommand: true,
|
|
70
|
+
message: "The booking options for this event have changed. Please check the latest options and choose your places again.",
|
|
71
|
+
action: "places"
|
|
72
|
+
},
|
|
73
|
+
registrationAlreadyExists: {
|
|
74
|
+
endsCommand: false,
|
|
75
|
+
message: "You already have a booking for this event. Please check your bookings to see its status. If you need help, contact the organiser.",
|
|
76
|
+
action: "portal"
|
|
77
|
+
},
|
|
78
|
+
holdExpired: {
|
|
79
|
+
endsCommand: false,
|
|
80
|
+
message: "Your reservation has timed out. Please check availability and choose your places again.",
|
|
81
|
+
action: "start"
|
|
82
|
+
},
|
|
83
|
+
waitlistUnavailable: {
|
|
84
|
+
endsCommand: false,
|
|
85
|
+
message: "Sorry, the waiting list place offered in this invitation is no longer available. Please check the event for available places or contact the organiser for help.",
|
|
86
|
+
action: "event"
|
|
87
|
+
},
|
|
88
|
+
paymentContextMismatch: {
|
|
89
|
+
endsCommand: false,
|
|
90
|
+
message: "The payment options for this event have changed. Please check the latest options before continuing.",
|
|
91
|
+
action: "payment-options"
|
|
92
|
+
},
|
|
93
|
+
idempotencyConflict: {
|
|
94
|
+
endsCommand: false,
|
|
95
|
+
message: "You’ve already started booking this event. Please finish in the other tab if it’s still open, or check your booking status before starting again.",
|
|
96
|
+
action: "portal"
|
|
97
|
+
},
|
|
98
|
+
invalidCommitInput: {
|
|
99
|
+
endsCommand: false,
|
|
100
|
+
message: "We couldn’t accept your booking details. Please check the information you entered and try again. If this keeps happening, contact the organiser for help.",
|
|
101
|
+
action: "details"
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
function parseEventRegistrationErrorReason(value) {
|
|
105
|
+
return typeof value === "string" && Object.prototype.hasOwnProperty.call(eventRegistrationErrors, value) ? value : null;
|
|
106
|
+
}
|
|
107
|
+
/** Only a server-confirmed refusal ends an identity; transport uncertainty retains it. */
|
|
108
|
+
function eventRegistrationErrorEndsCommand(value) {
|
|
109
|
+
const reason = parseEventRegistrationErrorReason(value);
|
|
110
|
+
return reason !== null && eventRegistrationErrors[reason].endsCommand;
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
17
113
|
//#region ../blocks/src/system/runtime/shared/utils/portalLogout.ts
|
|
18
114
|
/**
|
|
19
115
|
* Portal Logout Utility
|
|
@@ -2386,6 +2482,7 @@ function resolveWizardDirectPaymentOptions(input) {
|
|
|
2386
2482
|
approvedPaymentOptions: eligibility.paymentOptions,
|
|
2387
2483
|
paymentTerms: eligibility.paymentTerms,
|
|
2388
2484
|
currency: eligibility.currency,
|
|
2485
|
+
instalmentCollectionDeadlineAt: eligibility.instalmentCollectionDeadlineAt,
|
|
2389
2486
|
quotedSubtotalCents: input.ticketSelectionSubtotalCents ?? eligibility.price,
|
|
2390
2487
|
totalPriceCents: calculateEventRegistrationPreviewTotal({
|
|
2391
2488
|
subtotalCents: input.ticketSelectionSubtotalCents ?? eligibility.price,
|
|
@@ -2425,7 +2522,7 @@ function resolveWizardPaymentView(input) {
|
|
|
2425
2522
|
}
|
|
2426
2523
|
//#endregion
|
|
2427
2524
|
//#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
|
|
2428
|
-
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-
|
|
2525
|
+
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-D_14yqAU.mjs"));
|
|
2429
2526
|
/** The one Stripe mount, shared by the standard wizard and headless arrangements. */
|
|
2430
2527
|
function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
|
|
2431
2528
|
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 { at as normalizeLocationAddressText } from "./noop-D-RG9eR3.mjs";
|
|
3
|
+
import { i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../core/src/locationLinks.ts
|