@riverbankcms/sdk 0.165.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-CdsSMQEv.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
- package/dist/_dts/{Page-D6gp2Ipb.d.ts → Page-rW0xgQCA.d.ts} +18 -256
- package/dist/_dts/{SdkPreviewMode-DNXAvnet.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +26 -3
- package/dist/_dts/{client-BkkExozE.d.ts → client-D4BXQEZc.d.ts} +5 -1
- package/dist/_dts/{content-types-CXNAD7ef.d.ts → content-types-MUzta0l9.d.ts} +3 -3
- package/dist/_dts/{contracts-XRXhbLWP.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-BP2bJYdY.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DcMtbztV.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
- package/dist/_dts/{index-RXkE3a7M.d.ts → index--qflsCiy.d.ts} +4 -3
- package/dist/_dts/{index-C_3kdrUb.d.ts → index-BgJ2aU5c.d.ts} +2 -2
- package/dist/_dts/{index-CQfJhOEA.d.ts → index-Bmboeb49.d.ts} +1 -1
- package/dist/_dts/{index-CRRiddNp.d.ts → index-DdcwPqQN.d.ts} +4 -4
- package/dist/_dts/{index-DKNEgSOS.d.ts → index-ahxQCUc7.d.ts} +2 -2
- package/dist/_dts/{index-BdkHhyf8.d.ts → index-kQ5xkM6X.d.ts} +1 -1
- package/dist/_dts/{index-DAPTSmBM.d.ts → index-mMMvLLAJ.d.ts} +2596 -2511
- package/dist/_dts/{index-B4ozSzFP.d.ts → index-wbBZ0awa.d.ts} +9248 -8251
- package/dist/_dts/{loadContent-B9vJMq3s.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
- package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
- package/dist/_dts/{resolvePageContent-DIQyYUi-.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-Cl0nP6al.d.ts → types-BX3Y-EW3.d.ts} +3 -3
- package/dist/_dts/{types-mstFvhK4.d.ts → types-DF54stxv.d.ts} +8 -7
- package/dist/_dts/{types-BDF73NzM.d.ts → types-DuiHLiPo.d.ts} +2 -2
- package/dist/_dts/{validation-DVWqSvjK.d.ts → validation-Bxi0f81D.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CzKpH9Pm.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
- package/dist/client/{BookingMailingListNote-rUqsBN7L.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-YGzw2IPB.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-DlTC4J2a.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-D2LyS_Bi.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-BaFg2Uit.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
- package/dist/client/{EventCalendar.client-tRrhPscX.mjs → EventCalendar.client-BhADnDCg.mjs} +9 -9
- package/dist/client/{EventCombined.client-6cfAVtnZ.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CDNUpI0S.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
- package/dist/client/{EventItem-dILw2PN_.mjs → EventItem-CMKrtkT7.mjs} +26 -11
- package/dist/client/{EventListWeekNavigation-ClgLtjNY.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
- package/dist/client/{EventListing.client-BNueAHmU.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
- package/dist/client/{EventListing.view-DtVbKVkt.mjs → EventListing.view-3BBRdNVa.mjs} +31 -20
- package/dist/client/{EventRegistrationPayment-CzkG0NSJ.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
- package/dist/client/{LocationMapActions-zWQsJhE5.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-D1AO_o4h.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
- package/dist/client/{Page-DUr2YhFR.mjs → Page-DNDZLRlB.mjs} +1894 -11322
- package/dist/client/{ProtectedSubmitButton-2fJqT_NR.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
- package/dist/client/{StepIndicator-udNHcpOT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
- package/dist/client/{TabBarFragment-C_kt-PXh.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
- package/dist/client/{ThemedButton-Cfbo1bfh.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
- package/dist/client/{accordion-3CYNWzTS.mjs → accordion-uVqNowRX.mjs} +1 -1
- package/dist/client/{booking-form.client-BSbWgLyx.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
- package/dist/client/{bookingForm-2MoFBWSt.mjs → bookingForm-DNMojb6A.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-Cu5mcpO-.mjs → carousel-C8kxI3Dm.mjs} +2 -2
- package/dist/client/{carousel.client-CQLV8_Al.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
- package/dist/client/{cart-CDc6x9cR.mjs → cart-DCxjE3Is.mjs} +3 -3
- package/dist/client/{cart.client-BWS2r5Ef.mjs → cart.client-Ceeng8fB.mjs} +1 -1
- package/dist/client/{checkout-CkxPqSwD.mjs → checkout-B0EKbeVv.mjs} +3 -3
- package/dist/client/{checkout.client-DJfomKQc.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
- package/dist/client/client.mjs +9465 -15
- package/dist/client/{context-CBV21-9L.mjs → context-n6IZigd3.mjs} +8 -6
- package/dist/client/{cta-Bw-al3cs.mjs → cta-CDeAwYoN.mjs} +45 -28
- package/dist/client/{dateFormatting-CFIUJ4Uf.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0veHJyi.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CEqqq92r.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
- package/dist/client/{event-details.client-Bk2kQ7ax.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
- package/dist/client/{event-registration.client-QMqtIywj.mjs → event-registration.client-BhygihpQ.mjs} +33 -16
- package/dist/client/{eventCalendar-BTDTMosr.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
- package/dist/client/{eventCombined-BC7a709c.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
- package/dist/client/{eventDetails-DL08GpUc.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
- package/dist/client/{eventListing-BfzuEQp_.mjs → eventListing-2-xjn2nz.mjs} +4 -4
- package/dist/client/{eventRegistration-Lfyzh1Ab.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
- package/dist/client/{form-L-xZOBUS.mjs → form-BeNQiZ2V.mjs} +3 -3
- package/dist/client/{form.client-BtpK3TZW.mjs → form.client-BFdCKlp7.mjs} +5 -5
- package/dist/client/{form.parts-Djos5Un4.mjs → form.parts-C7gLK3jh.mjs} +3 -3
- package/dist/client/{formatDate-DGmrm7YB.mjs → formatDate-CWfelfMt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -4
- package/dist/client/{headerSection-f16OGkz-.mjs → headerSection-CalNAShx.mjs} +2 -2
- package/dist/client/{mediaAssets-DHAmrVIi.mjs → mediaAssets-DpPauppt.mjs} +1 -1
- package/dist/client/{mediaContext-CwT6ZOm7.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
- package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-Dq7GHGXU.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
- package/dist/client/{newsletterForm-BEU0Ocu9.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
- package/dist/client/{noop-CQU7tiMg.mjs → noop-D-RG9eR3.mjs} +394 -168
- package/dist/client/portal/client.mjs +13 -14
- package/dist/client/{product-detail.client-Be-om1BT.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
- package/dist/client/{product-list.client-DR7hD5Vs.mjs → product-list.client-BmH40fNf.mjs} +1 -1
- package/dist/client/{productDetail-BD42UOmG.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
- package/dist/client/{productList-CSk8sXCl.mjs → productList-DjGrjOwD.mjs} +3 -3
- package/dist/client/{propsDecoder-C_Y6VYnF.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
- package/dist/client/{registry.server-CIKtTsCl.mjs → registry.server-CKK_RXZo.mjs} +213 -314
- 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-spWtx86G.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CROHPlYS.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
- package/dist/client/{shop-DscvMz86.mjs → shop-DLufMauE.mjs} +3 -3
- package/dist/client/{shop-commerce-CDUohm_2.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B9nw4lRP.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
- package/dist/client/{shop.client-M3kNsVPi.mjs → shop.client-CBy9_alG.mjs} +13 -13
- package/dist/client/{shop.interactive-BGmkdIAZ.mjs → shop.interactive-BM0NRsFQ.mjs} +48 -34
- package/dist/client/{shopShared-BdWp6LHa.mjs → shopShared-lS23OQE-.mjs} +2 -2
- package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
- package/dist/{preview-next/client/ThemedButton-Dc6aJ34Z.mjs → client/site-styles-DELkUk9s.mjs} +25468 -17264
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-DjnxOjXG.mjs +217 -0
- package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
- package/dist/client/{timetableModel-Dynh5-j4.mjs → timetableModel-DzRWikCU.mjs} +157 -139
- package/dist/client/types-sF-IrGQr.mjs +633 -0
- package/dist/client/{useAvailableSlots-Cw9paRPY.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
- package/dist/client/{useBookingNowIso-C9SF2rC6.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
- package/dist/client/{useDiscountApply-B-QJfBg0.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-Uvum8q9d.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
- package/dist/client/{useEventPagination-BfM3xk6j.mjs → useEventPagination-Ccr4TZlm.mjs} +9 -9
- package/dist/client/{view-DXOuduIr.mjs → view-8w4GA8rf.mjs} +4 -4
- package/dist/client/{view-DlkCDfuN.mjs → view-DAVEoe8A.mjs} +277 -227
- package/dist/client/{wizardSteps-DManVJpc.mjs → wizardSteps-DNpajrAH.mjs} +453 -141
- package/dist/preview-next/before-render.mjs +3 -140
- package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-Die6Y25O.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
- package/dist/preview-next/client/{LocationPickerEnvironment-Bp4BHLCL.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Cb0JhM9p.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
- package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
- package/dist/preview-next/client/{PreviewEditorUI-CxwlLBGw.mjs → PreviewEditorUI-C7ZmYE33.mjs} +45 -17
- 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-CqxuVAyz.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
- package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
- package/dist/preview-next/client/{previewChromeSurface-yuwnDP3B.mjs → previewChromeSurface-D2cREDJ5.mjs} +90 -28
- 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/{editorStatusDecision-DR4BBKhy.mjs → useAutosaveStatus--Pw8vnef.mjs} +40 -3
- 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 +25 -2
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BBAJjFIz.mjs → route-contract-Bq7SUX3K.mjs} +132 -118
- package/dist/server/{Block.shared-ClFI3qpX.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
- package/dist/server/{src-DsYPhTbs.mjs → ThemeScopeCore-BI2mld9R.mjs} +178 -2532
- package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
- package/dist/server/{bindings-Bi8EoRZD.mjs → bindings-DjdUq9FR.mjs} +2 -3
- package/dist/server/{publicProducts-Bz8loTRn.mjs → client-07UeMDzA.mjs} +2483 -351
- 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-dEEhQxL7.mjs → loadContent-ClpaSlBb.mjs} +6 -5
- package/dist/server/{loadPage-DBFBad8A.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.mjs +11 -11
- package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
- package/dist/server/{overrideResolution-BIJbiXYc.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-CSknYpxk.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
- package/dist/server/{overrides-DhF87Vsd.mjs → pageShared-HdKFBpaX.mjs} +3472 -1795
- package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
- package/dist/server/{prebuild-DaemmWQL.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-Cdvz1OtL.mjs → registry-TFPJdGQi.mjs} +20624 -640
- 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-CLpAJWWf.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-DYxhLzqQ.mjs → validation-DIBFZeMB.mjs} +419 -3
- package/dist/server/{version-Beu4q-Gv.mjs → version-DZWZM1H6.mjs} +1 -1
- package/dist/styles/index.css +14 -4
- package/package.json +39 -1
- package/dist/client/purchase-BV5xfaZH.mjs +0 -894
- package/dist/client/schema-BdSglH2X.mjs +0 -16084
- package/dist/client/site-styles-CWHmlVT5.mjs +0 -14503
- package/dist/client/src-VIsPY-kw.mjs +0 -62
- package/dist/preview-next/client/PreviewEditorSidebar-DEP3xD9K.mjs +0 -5810
- package/dist/preview-next/client/SdkPreviewModeRuntime-Cpe-XP8e.mjs +0 -3
- package/dist/preview-next/client/SdkPreviewModeRuntime-QDkMPASV.mjs +0 -8059
- package/dist/preview-next/client/SiteChromeCustomizeButton-1JaoGOKX.mjs +0 -9367
- package/dist/preview-next/client/previewSidebarNavigation-AXUj9-qQ.mjs +0 -224683
- package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
- package/dist/preview-next/client/sdk-runtime-O-eA9-rV.mjs +0 -4
- package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
- package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
- package/dist/server/client-DfMDbZ41.mjs +0 -2330
- package/dist/server/effectiveNavLinkStyle-BHIYPVG1.mjs +0 -13713
- package/dist/server/loadPage-CnVB-aeL.mjs +0 -2
- package/dist/server/prefetchBlockData-FwcsT5H2.mjs +0 -4359
- package/dist/server/schema-uSA_x1Zh.mjs +0 -16311
- package/dist/server/site-styles-CntHn2KI.mjs +0 -793
- package/dist/server/siteChromeOverlayClearance-DqP40Ka0.mjs +0 -802
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema,
|
|
2
|
+
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, m as calendarWindowPageSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema } from "./noop-D-RG9eR3.mjs";
|
|
3
3
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
4
4
|
import { createContext, useContext, useMemo } from "react";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1304,17 +1304,19 @@ function protectedFormBody({ authorization, ...data }) {
|
|
|
1304
1304
|
};
|
|
1305
1305
|
}
|
|
1306
1306
|
//#endregion
|
|
1307
|
+
//#region ../blocks/src/system/runtime/api/blockApiContext.ts
|
|
1308
|
+
function getGlobalContext() {
|
|
1309
|
+
if (!globalThis.__RIVERBANK_BLOCK_API_CONTEXT__) globalThis.__RIVERBANK_BLOCK_API_CONTEXT__ = createContext(null);
|
|
1310
|
+
return globalThis.__RIVERBANK_BLOCK_API_CONTEXT__;
|
|
1311
|
+
}
|
|
1312
|
+
const BlockApiContext = getGlobalContext();
|
|
1313
|
+
//#endregion
|
|
1307
1314
|
//#region ../blocks/src/system/runtime/api/context.tsx
|
|
1308
1315
|
/**
|
|
1309
1316
|
* Block API React Context
|
|
1310
1317
|
*
|
|
1311
1318
|
* Provider and hook for accessing the Block API Client in React components.
|
|
1312
1319
|
*/
|
|
1313
|
-
function getGlobalContext() {
|
|
1314
|
-
if (!globalThis.__RIVERBANK_BLOCK_API_CONTEXT__) globalThis.__RIVERBANK_BLOCK_API_CONTEXT__ = createContext(null);
|
|
1315
|
-
return globalThis.__RIVERBANK_BLOCK_API_CONTEXT__;
|
|
1316
|
-
}
|
|
1317
|
-
const BlockApiContext = getGlobalContext();
|
|
1318
1320
|
/**
|
|
1319
1321
|
* Provider for Block API Client
|
|
1320
1322
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Sn as canJoinEventWaitlistOnAnyMode, bn as resolveRuntimeEventDestination, kn as isEventFull } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
|
+
import { v as assertNever } from "./src-DjnxOjXG.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5
5
|
/**
|
|
6
6
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -41,10 +41,7 @@ function resolveEventLinkProps(event) {
|
|
|
41
41
|
*/
|
|
42
42
|
function resolveEventCta(event, buttonText) {
|
|
43
43
|
const isSoldOut = isEventFull(event);
|
|
44
|
-
const
|
|
45
|
-
const isExternal = destination.kind === "external";
|
|
46
|
-
const defaultButtonText = isExternal ? destination.label : "Book";
|
|
47
|
-
const effectiveButtonText = buttonText ?? defaultButtonText;
|
|
44
|
+
const isExternal = resolveRuntimeEventDestination(event).kind === "external";
|
|
48
45
|
const href = resolveEventHref(event);
|
|
49
46
|
if (event.bookingAvailability.kind === "closed") {
|
|
50
47
|
const linksToClosedWholeSeriesDetails = event.bookingAvailability.reason === "enrollment_closed" && !isExternal;
|
|
@@ -69,36 +66,56 @@ function resolveEventCta(event, buttonText) {
|
|
|
69
66
|
hidden: true
|
|
70
67
|
};
|
|
71
68
|
}
|
|
69
|
+
return destinationCta(event, buttonText);
|
|
70
|
+
}
|
|
71
|
+
function destinationCta(event, buttonText) {
|
|
72
|
+
const destination = resolveRuntimeEventDestination(event);
|
|
72
73
|
return {
|
|
73
|
-
label:
|
|
74
|
-
href,
|
|
75
|
-
external:
|
|
74
|
+
label: buttonText ?? (destination.kind === "external" ? destination.label : "Book"),
|
|
75
|
+
href: resolveEventHref(event),
|
|
76
|
+
external: destination.kind === "external",
|
|
76
77
|
hidden: false
|
|
77
78
|
};
|
|
78
79
|
}
|
|
79
80
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* series
|
|
83
|
-
* when none of `upcomingDates` can be booked. The first date with places
|
|
84
|
-
* decides; failing that, the first full date with a waitlist; failing both,
|
|
85
|
-
* the next occurrence as {@link resolveEventCta} reads it. The link always
|
|
86
|
-
* goes to the series, never to the date that decided.
|
|
87
|
-
*
|
|
88
|
-
* Whole-series events share one run capacity, so they need no dates and read
|
|
89
|
-
* exactly as {@link resolveEventCta}; so does a dated series with none listed.
|
|
81
|
+
* A bounded date strip cannot prove a series sold out. Its destination owns date selection,
|
|
82
|
+
* so the card offers that destination and leaves capacity with the individual date rows.
|
|
83
|
+
* Whole-series bookings still have one shared capacity, as do ordinary occurrence cards.
|
|
90
84
|
*/
|
|
91
|
-
function
|
|
92
|
-
|
|
93
|
-
|
|
85
|
+
function resolveEventCardBooking(event, scope, buttonText) {
|
|
86
|
+
if (scope === "series" && event.bookingScope === "single_occurrence") return {
|
|
87
|
+
cta: seriesBookingClosed(event) ? resolveEventCta(event, buttonText) : destinationCta(event, buttonText),
|
|
88
|
+
availability: null
|
|
89
|
+
};
|
|
94
90
|
return {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
external: resolveRuntimeEventDestination(series).kind === "external"
|
|
91
|
+
cta: resolveEventCta(event, buttonText),
|
|
92
|
+
availability: occurrenceCardAvailability(event)
|
|
98
93
|
};
|
|
99
94
|
}
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
/** Only a series-wide closure closes its card; a cancelled or started date says nothing about later dates. */
|
|
96
|
+
function seriesBookingClosed(event) {
|
|
97
|
+
if (event.bookingAvailability.kind !== "closed") return false;
|
|
98
|
+
switch (event.bookingAvailability.reason) {
|
|
99
|
+
case "occurrence_cancelled":
|
|
100
|
+
case "occurrence_completed":
|
|
101
|
+
case "already_started": return false;
|
|
102
|
+
case "series_cancelled":
|
|
103
|
+
case "series_completed":
|
|
104
|
+
case "series_draft":
|
|
105
|
+
case "series_archived":
|
|
106
|
+
case "parent_archived":
|
|
107
|
+
case "parent_inconsistent":
|
|
108
|
+
case "enrollment_closed": return true;
|
|
109
|
+
default: return assertNever(event.bookingAvailability.reason);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function occurrenceCardAvailability(event) {
|
|
113
|
+
const label = formatEventRemainingPlaces(event, { full: "Sold out" });
|
|
114
|
+
const availability = getEventAvailabilityStatus(event);
|
|
115
|
+
return label ? {
|
|
116
|
+
label,
|
|
117
|
+
status: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available"
|
|
118
|
+
} : null;
|
|
102
119
|
}
|
|
103
120
|
//#endregion
|
|
104
|
-
export { resolveEventCta as n, resolveEventLinkProps as r,
|
|
121
|
+
export { resolveEventCta as n, resolveEventLinkProps as r, resolveEventCardBooking as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Nt as parseUtcIsoDateTimeString, Pt as toUtcIsoDateTimeString, dt as formatDate$1, ht as formatTime, jt as resolveBookingTimeZoneId, mt as formatDateTimeRange, pt as formatDateTime$1, yt as resolveBookingDisplayContext } from "./noop-D-RG9eR3.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as BlockApiError } from "./context-
|
|
2
|
+
import { r as BlockApiError } from "./context-n6IZigd3.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { fn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-
|
|
3
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { fn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
4
4
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
5
5
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
6
6
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
7
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
7
|
+
import { n as useCommerceCart } from "./shop-commerce-store-Dp3Nl5YK.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { createPortal } from "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-DAVEoe8A.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
|
|
@@ -9,7 +9,7 @@ function toEventDetailsClientProps(props) {
|
|
|
9
9
|
entryTitle: props.entryTitle,
|
|
10
10
|
actionSize: props.actionSize,
|
|
11
11
|
lookSlots: props.lookSlots,
|
|
12
|
-
|
|
12
|
+
surfacePresentation: props.surfacePresentation,
|
|
13
13
|
panelHeading: props.panelHeading,
|
|
14
14
|
occurrenceContext: props.occurrenceContext,
|
|
15
15
|
subject: props.subject,
|
|
@@ -1,28 +1,45 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry, sn as formatEventPriceDisplay } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-
|
|
7
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
2
|
+
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry, sn as formatEventPriceDisplay } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { A as isEventRegistrationAvailable, An as selectEventCapacitySource, At as getTicketSelectionTotal, B as paymentChoiceDetails, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dt as canRequestTicketOption, En as getEventAvailability, Er as resolveEventRegistrationScopedEvents, Et as formatPrice, Hn as getRegistrationSuccessCopy, Ht as shownVenue, Mn as groupPublicEventsByRun, On as getRemainingPlaces, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlistOnAnyMode, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingType, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, ii as publicEventPricingStrategy, j as normalizeEventRegistrationMaxTickets, jn as selectMostOpenCapacitySource, jt as getTicketTypeLineMax, kn as isEventFull, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, ni as publicEventPricingCurrency, pt as formatBookingWhen, r as panelShouldOpen, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xn as canJoinEventWaitlist, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { t as assertNever } from "./src-DjnxOjXG.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-B2qLkPRB.mjs";
|
|
6
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-8jUc02mZ.mjs";
|
|
7
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-CpNcpga4.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
9
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
|
|
10
10
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
11
11
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-
|
|
14
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
13
|
+
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-B9YrzZt2.mjs";
|
|
14
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-D6a2BJij.mjs";
|
|
15
15
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
16
|
-
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
16
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-DOWOZYlK.mjs";
|
|
17
17
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
18
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
19
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
20
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
21
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
18
|
+
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bin7YR0A.mjs";
|
|
19
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-n6IZigd3.mjs";
|
|
20
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-Da-f9iHw.mjs";
|
|
21
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-BdXu0fj-.mjs";
|
|
22
22
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { createPortal } from "react-dom";
|
|
26
|
+
//#region ../core/src/number-input.ts
|
|
27
|
+
function clampToBounds(value, bounds) {
|
|
28
|
+
const floor = bounds.min ?? Number.NEGATIVE_INFINITY;
|
|
29
|
+
const ceiling = bounds.max ?? Number.POSITIVE_INFINITY;
|
|
30
|
+
return Math.min(ceiling, Math.max(floor, value));
|
|
31
|
+
}
|
|
32
|
+
/** Decimal places in a step, so 0.5 steps don't drift into 1.4999999. */
|
|
33
|
+
function stepPrecision(step) {
|
|
34
|
+
const [, decimals = ""] = String(step).split(".");
|
|
35
|
+
return decimals.length;
|
|
36
|
+
}
|
|
37
|
+
/** One press of − or +: moves by `step` and stays inside the bounds. */
|
|
38
|
+
function stepNumber(value, direction, bounds = {}) {
|
|
39
|
+
const step = bounds.step ?? 1;
|
|
40
|
+
return clampToBounds(Number((value + direction * step).toFixed(stepPrecision(step))), bounds);
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
26
43
|
//#region ../blocks/src/system/runtime/shared/components/ClockIcon.tsx
|
|
27
44
|
function ClockIcon({ className, strokeWidth = 2 }) {
|
|
28
45
|
return /* @__PURE__ */ jsx("svg", {
|
|
@@ -1545,7 +1562,7 @@ function TicketCounter(props) {
|
|
|
1545
1562
|
/* @__PURE__ */ jsx("button", {
|
|
1546
1563
|
type: "button",
|
|
1547
1564
|
"aria-label": `Decrease ${label}`,
|
|
1548
|
-
onClick: () => onTicketsChange(
|
|
1565
|
+
onClick: () => onTicketsChange(stepNumber(ticketsCount, -1, { min: minAllowed })),
|
|
1549
1566
|
disabled: ticketsCount <= minAllowed,
|
|
1550
1567
|
className: "er-counter-btn",
|
|
1551
1568
|
children: "-"
|
|
@@ -1557,7 +1574,7 @@ function TicketCounter(props) {
|
|
|
1557
1574
|
/* @__PURE__ */ jsx("button", {
|
|
1558
1575
|
type: "button",
|
|
1559
1576
|
"aria-label": `Increase ${label}`,
|
|
1560
|
-
onClick: () => onTicketsChange(
|
|
1577
|
+
onClick: () => onTicketsChange(stepNumber(ticketsCount, 1, { max: maxAllowed })),
|
|
1561
1578
|
disabled: ticketsCount >= maxAllowed,
|
|
1562
1579
|
className: "er-counter-btn",
|
|
1563
1580
|
children: "+"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-BhADnDCg.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.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 defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-jik34zTb.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-Cfr1_Cj4.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-DZeDM0Qt.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as EventRegistrationIslandClient } from "./event-registration.client-BhygihpQ.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-BFdCKlp7.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
|
+
import { n as err, r as ok, t as assertNever } from "./src-DjnxOjXG.mjs";
|
|
4
|
+
import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-C7gLK3jh.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-n6IZigd3.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
2
|
+
import { Mr as listLookControl, Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-8DuDw2ag.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Nt as parseUtcIsoDateTimeString, Ot as parseBookingLocalDate, dt as formatDate$1, pt as formatDateTime } from "./noop-D-RG9eR3.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-Cfbo1bfh.mjs";
|
|
3
|
+
import { Pt as toUtcIsoDateTimeString, dt as formatDate, jt as resolveBookingTimeZoneId, t as logger, zt as formatGiftCardAmountLabel } from "../noop-D-RG9eR3.mjs";
|
|
4
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-8jUc02mZ.mjs";
|
|
6
5
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
|
-
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-
|
|
6
|
+
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-n6IZigd3.mjs";
|
|
8
7
|
import React from "react";
|
|
9
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { useRouter } from "next/navigation";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-VHfv8M6-.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { i as renderableMediaAssetSchema } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
3
|
//#region src/rendering/mediaAssets.ts
|
|
4
4
|
function toBlocksMediaAssets(assets) {
|
|
5
5
|
if (!assets) return void 0;
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as buildRenderableMediaAssetIndex } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
|
+
//#region ../blocks/src/system/runtime/nodes/mediaContextStore.ts
|
|
4
|
+
/**
|
|
5
|
+
* Client-side context storage.
|
|
6
|
+
* Safe because browsers are single-threaded per tab.
|
|
7
|
+
*
|
|
8
|
+
* IMPORTANT: This must be shared across bundles.
|
|
9
|
+
* SDK preview mode can load multiple independently-bundled entrypoints
|
|
10
|
+
* (e.g. `@riverbankcms/sdk/rendering` + `@riverbankcms/sdk/preview-next/client`),
|
|
11
|
+
* which can otherwise each get their own module-scoped singleton.
|
|
12
|
+
*
|
|
13
|
+
* It lives in its own module, with no runtime imports, so the dashboard test
|
|
14
|
+
* lanes can create the shared global before their global-leak snapshots
|
|
15
|
+
* without loading the rest of the renderer.
|
|
16
|
+
*/
|
|
17
|
+
const RB_MEDIA_CONTEXT_KEY = Symbol.for("riverbankcms.blocks.mediaContext");
|
|
18
|
+
function getClientContextStore() {
|
|
19
|
+
const g = globalThis;
|
|
20
|
+
const existing = g[RB_MEDIA_CONTEXT_KEY];
|
|
21
|
+
if (existing && typeof existing === "object") return existing;
|
|
22
|
+
const next = {};
|
|
23
|
+
g[RB_MEDIA_CONTEXT_KEY] = next;
|
|
24
|
+
return next;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
3
27
|
//#region ../blocks/src/system/runtime/nodes/mediaContext.ts
|
|
4
28
|
function buildMediaAssetIndex(assets) {
|
|
5
29
|
return buildRenderableMediaAssetIndex(assets);
|
|
@@ -42,24 +66,6 @@ function getServerStorage() {
|
|
|
42
66
|
}
|
|
43
67
|
}
|
|
44
68
|
/**
|
|
45
|
-
* Client-side context storage.
|
|
46
|
-
* Safe because browsers are single-threaded per tab.
|
|
47
|
-
*
|
|
48
|
-
* IMPORTANT: This must be shared across bundles.
|
|
49
|
-
* SDK preview mode can load multiple independently-bundled entrypoints
|
|
50
|
-
* (e.g. `@riverbankcms/sdk/rendering` + `@riverbankcms/sdk/preview-next/client`),
|
|
51
|
-
* which can otherwise each get their own module-scoped singleton.
|
|
52
|
-
*/
|
|
53
|
-
const RB_MEDIA_CONTEXT_KEY = Symbol.for("riverbankcms.blocks.mediaContext");
|
|
54
|
-
function getClientContextStore() {
|
|
55
|
-
const g = globalThis;
|
|
56
|
-
const existing = g[RB_MEDIA_CONTEXT_KEY];
|
|
57
|
-
if (existing && typeof existing === "object") return existing;
|
|
58
|
-
const next = {};
|
|
59
|
-
g[RB_MEDIA_CONTEXT_KEY] = next;
|
|
60
|
-
return next;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
69
|
* Get the current media context.
|
|
64
70
|
* Server-side: Uses AsyncLocalStorage for request isolation.
|
|
65
71
|
* Client-side: Uses module-level state (safe in single-threaded browser).
|
package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-Dq7GHGXU.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, xn as parseMailingListVisitorSelection } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, xn as parseMailingListVisitorSelection } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
|
|
5
|
+
import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
8
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
7
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-BSMDYQiS.mjs";
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-n6IZigd3.mjs";
|
|
9
9
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
10
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
11
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-BSMDYQiS.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-8DuDw2ag.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/newsletter-form.parts.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-Dq7GHGXU.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|