@riverbankcms/sdk 0.166.0 → 0.168.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +5 -0
- package/dist/_dts/{BlocksIslandsHydrator-CPvN6RBW.d.ts → BlocksIslandsHydrator-CiD_VVGM.d.ts} +1 -1
- package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bj6VJRS5.d.ts} +9 -8
- package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-ChpsnwDX.d.ts} +2 -2
- package/dist/_dts/{client-D4BXQEZc.d.ts → client-C8mfUxrJ.d.ts} +73 -35
- package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-_vXZyR4H.d.ts} +2 -2
- package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-CJFfrVKU.d.ts} +9 -5
- package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-CMegb23G.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-D9YdAIMh.d.ts} +2 -2
- package/dist/_dts/{index-DdcwPqQN.d.ts → index-BQXaZ7aY.d.ts} +4 -4
- package/dist/_dts/{index-ahxQCUc7.d.ts → index-Bpr-wT5k.d.ts} +2 -2
- package/dist/_dts/{index--qflsCiy.d.ts → index-C7_Rz8EY.d.ts} +3 -3
- package/dist/_dts/{index-kQ5xkM6X.d.ts → index-Cx2BQlHL.d.ts} +3 -3
- package/dist/_dts/{index-Bmboeb49.d.ts → index-Dgz6yhsy.d.ts} +1 -1
- package/dist/_dts/index-Vh8B9FSa.d.ts +14 -0
- package/dist/_dts/{index-BgJ2aU5c.d.ts → index-vR3p9Bu-.d.ts} +2 -2
- package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-dhWSgLeS.d.ts} +7 -7
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
- package/dist/_dts/{index-wbBZ0awa.d.ts → request-BrYhNV9Z.d.ts} +81287 -47810
- package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-BfSHm8Ms.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-gZJ4i1wN.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +6 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -5
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BX3Y-EW3.d.ts → types-BB33-Spd.d.ts} +3 -3
- package/dist/_dts/{types-DF54stxv.d.ts → types-BVFXYtRg.d.ts} +7 -7
- package/dist/_dts/{types-DuiHLiPo.d.ts → types-FOsJ-KYb.d.ts} +4 -2
- package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-DckTc6TQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DcwEaliO.mjs} +21 -21
- package/dist/client/BookingMailingListNote-Dsugoe-n.mjs +946 -0
- package/dist/client/BookingQuestionFields-Bhh0cvsl.mjs +359 -0
- package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-CNe3ZjdC.mjs} +166 -17
- package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-BeiZxEUJ.mjs} +7 -7
- package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-BL943-tl.mjs} +11 -30
- package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-BFVxECTp.mjs} +137 -61
- package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
- package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-BIc4gjiD.mjs} +86 -17
- package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-a0QEIEf0.mjs} +1 -1
- package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-CEFTC3jH.mjs} +3 -3
- package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-Bt2sBBms.mjs} +41 -50
- package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-D9YBNb_E.mjs} +255 -40
- package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-gqzt5gkW.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-13JQI7_z.mjs} +22 -2
- package/dist/client/{Page-DNDZLRlB.mjs → Page-D_M2Vxz3.mjs} +26063 -22139
- package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
- package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-CaN8snZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-DkVKtK5a.mjs} +19 -19
- package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
- package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
- package/dist/client/{accordion-uVqNowRX.mjs → accordion-DE7OG--d.mjs} +1 -1
- package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-CS1PPjw7.mjs} +842 -374
- package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-DE2CwIU9.mjs} +5 -4
- package/dist/client/{src-DjnxOjXG.mjs → bookingQuestionValues-BjcyCru5.mjs} +88 -1
- package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
- package/dist/client/bookings.mjs +18 -13
- package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-DZyUdnFh.mjs} +3 -3
- package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
- package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
- package/dist/client/{cart-DCxjE3Is.mjs → cart-D7HkkNwe.mjs} +3 -3
- package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-H4sv2TpD.mjs} +1 -1
- package/dist/client/{checkout-B0EKbeVv.mjs → checkout-2qVyG-Sh.mjs} +3 -3
- package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DAjrBZ74.mjs} +1 -1
- package/dist/client/client.mjs +325 -65
- package/dist/client/{context-n6IZigd3.mjs → context-DXmIbXCK.mjs} +300 -3
- package/dist/client/{cta-CDeAwYoN.mjs → cta-DP_IBnq3.mjs} +2 -2
- package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-CwrkFZTr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-DQXK-Fh6.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-DheQj7rg.mjs} +4 -4
- package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-C5UufcRp.mjs} +1 -1
- package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-CMGg63IU.mjs} +73 -239
- package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-DlD0GCEy.mjs} +4 -4
- package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-DoSi8p_l.mjs} +4 -4
- package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-DzuQYgmO.mjs} +2 -2
- package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-CkiMjl0g.mjs} +4 -4
- package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-CjS3Zpjp.mjs} +4 -4
- package/dist/client/{form-BeNQiZ2V.mjs → form-DgQqm7T2.mjs} +3 -3
- package/dist/client/{form.client-BFdCKlp7.mjs → form.client-BI9Dcsq5.mjs} +5 -5
- package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-DevF0L_A.mjs} +3 -3
- package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DDyURjoe.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CalNAShx.mjs → headerSection-DYIG6Pwb.mjs} +2 -2
- package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
- package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
- package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-BWp7Y1e1.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-Dg8s9NwJ.mjs} +2 -2
- package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-DnPraMzx.mjs} +3 -3
- package/dist/client/{noop-D-RG9eR3.mjs → noop-ByFRHYQ2.mjs} +456 -491
- package/dist/client/portal/client.mjs +76 -229
- package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-BFAgHrdg.mjs} +1 -1
- package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DVrs_DyY.mjs} +1 -1
- package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-D4rvl6Xg.mjs} +3 -3
- package/dist/client/{productList-DjGrjOwD.mjs → productList-B8o5AOMX.mjs} +3 -3
- package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-hhotPP6P.mjs} +5 -5
- package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-Ch3EpupA.mjs} +2296 -2489
- package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
- package/dist/client/rendering/client.mjs +30 -30
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +10 -9
- package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-C3LabQ1O.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-CQGlxId8.mjs} +1 -1
- package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
- package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
- package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-VDbVaKY-.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-DqdgJ8Zw.mjs} +1 -1
- package/dist/client/{shop-DLufMauE.mjs → shop-rRXplPGZ.mjs} +3 -3
- package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-DdwvMvaK.mjs} +13 -13
- package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-C8OvFY06.mjs} +167 -68
- package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-BeuJiGPU.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
- package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-Cko9LRKy.mjs} +13 -158
- package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
- package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-M6QIEiWf.mjs} +3 -3
- package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-BJSnyO0f.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-D3XnOSCi.mjs} +1 -1
- package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-PhTIoFVX.mjs} +7 -7
- package/dist/client/{view-DAVEoe8A.mjs → view-448wvvEY.mjs} +21 -12
- package/dist/client/{view-8w4GA8rf.mjs → view-L_mkgtnk.mjs} +4 -4
- package/dist/client/{site-styles-DELkUk9s.mjs → wizardSteps-CFulHWnT.mjs} +19371 -17045
- package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-BpvnOGlN.mjs} +26 -17
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-C0OtdWu_.mjs} +432 -127
- package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-Csc5vH5k.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-BOLH_pm-.mjs} +252 -158
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-CKodLReY.mjs} +31 -32
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-BeEZpeKn.mjs} +19484 -18082
- package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
- package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-BBdN5kfY.mjs} +21470 -16697
- package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-VZtGwPuH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-kiZkMcuR.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-BiIHEeE0.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-BuFLIpmX.mjs} +2 -93
- package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-DlxYgmh_.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Bq7SUX3K.mjs → route-contract-C0sCvCYL.mjs} +248 -0
- package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-Dnhc0Wu5.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-NAQ_zsFu.mjs} +1173 -148
- package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-108nxyGc.mjs} +520 -129
- package/dist/server/{bindings-DjdUq9FR.mjs → bindings-DLoZYUxG.mjs} +2 -2
- package/dist/server/{client-07UeMDzA.mjs → client-Bc8jI8zN.mjs} +346 -63
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/headerVariant-BwR9NV4b.mjs +463 -0
- package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-D61gpqHB.mjs} +4 -5
- package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-B4ZYpIcd.mjs} +2 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
- package/dist/server/metadata.mjs +5 -1
- package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
- package/dist/server/next/revalidate.mjs +9 -4
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
- package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-CDReKy2P.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-ByVTA7-4.mjs} +375 -171
- package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-Dzz_Dze6.mjs} +291 -5
- package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Dk5Ku6hs.mjs} +12184 -11593
- package/dist/server/{schema-C2PqHrMo.mjs → parseThemeForPersistence-pJPGfMrf.mjs} +593 -1591
- package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-CW4M0WEZ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-Bvx0SiIM.mjs} +5 -34
- package/dist/server/{registry-TFPJdGQi.mjs → registry-Bh0Y25zH.mjs} +6041 -4562
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-OHlOXlOE.mjs → resolveBlockData-CnHHst9r.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +393 -502
- package/dist/server/responseMedia-t6gs0cB7.mjs +115 -0
- package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -3
- package/dist/server/theme.mjs +1 -2
- package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
- package/dist/server/{validation-DIBFZeMB.mjs → validation-D2bHWSxJ.mjs} +59 -10
- package/dist/server/{version-DZWZM1H6.mjs → version-DkM1eAxG.mjs} +1 -1
- package/dist/styles/index.css +991 -48
- package/package.json +4 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-mMMvLLAJ.d.ts +0 -31339
- package/dist/client/BookingMailingListNote-DOWOZYlK.mjs +0 -331
- package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
- package/dist/client/events-BmqPeeQm.mjs +0 -20
- package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
- package/dist/client/useBookingNowIso-Da-f9iHw.mjs +0 -58
- package/dist/client/wizardSteps-DNpajrAH.mjs +0 -6926
- package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +0 -52
- package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $r as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { Pr as assertNever$2, Rt as cardRoleSchema, b as resolveModeArrangement, ti as toNonEmptyReadonlyArray } from "./site-styles-DELkUk9s.mjs";
|
|
2
|
+
import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
+
import { $r as resolveEventRegistrationScopedEvents, $t as registrationDisplaySchema, An as resolveRuntimeEventDestination, Ar as calendarTabViewsSchema, Ba as parseBrevoListId, Bn as selectEventCapacitySource, Et as withOccurrenceTitle, Fa as resolveWholeSeriesRunLifecycle, Fr as eventLayoutSchema, Ga as formatEventPricing, Gr as browserReadAuthoritySchema, H as findPreSelectedEvent, Ha as parseMailchimpInterestId, Hn as groupPublicEventsByRun, Ia as parseMailingListRuntimeContext, Ir as filterAutoShowSchema, Ja as publicEventPricingDisplay, Jr as buildInteractiveIslandProps, Lr as previewStageSchema, Lt as toRegistrationEvents, Ma as nextLiveRunSessionStartMs, Mr as eventButtonVariantSchema, Nr as eventCalendarDefaultViewSchema, Pn as formatRemainingPlaces, Pr as eventCalendarDisplayModeSchema, Qt as placesLeftLabel, Ra as DEFAULT_MAILING_LIST_PRIVACY_NOTE, Rr as registrationButtonVariantSchema, Rt as toWholeSeriesRegistrationEvent, Sn as formatEventCompactDateRail, Ua as parseNewsletterListId, Va as parseMailchimpAudienceId, Vr as blockButtonRoleSchema, W as resolveEventRequiresPayment, Wa as formatBookingPriceDisplay, Wr as resolveDateRuntimeContext, Xi as assertNever, Xr as defineInteractiveIslandMetaKeys, Yr as createInteractiveIslandCodec, Zr as eventRegistrationPageSurfaceSubjectSchema, _a as cardRoleSchema, _n as eventDateOptions, an as computeMediaTransformStyle, c as registrationStepLabelContext, cn as renderVideo, ei as createZodCodec, en as resolveRegistrationDisplay, fn as resolveMediaNodeResponsiveImage, gn as eventDateLocale, hn as eventCalendarWeekStart, ii as listItemPresentation, in as MediaPlaceholder, jr as columnOptionSchema, kr as bookingNowSchema, mt as formatBookingWhen, n as getEventSelectionMode, ni as defineProgressiveBlockRuntime, nn as RichText, o as registrationRoute, oi as listLookSlot, on as mediaImageHostProps, p as isRegistrationLocked, ra as toNonEmptyReadonlyArray, ri as isDecodeSuccess, rn as ImagePresets, s as registrationStepLabel, si as lookListPresentationSchemaShape, sn as renderAudio, t as REGISTRATION_STEP_LABELS, ti as defineClientOwnedBlockRuntime, tn as shownVenue, to as parseEventSeriesId, vi as resolveModeArrangement, vn as eventLocalDateKey, vt as formatRegistrationSchedule, za as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, zr as weekStartSchema, zt as toWholeSeriesRegistrationEvents } from "./wizardSteps-CFulHWnT.mjs";
|
|
4
|
+
import { $t as formatCurrencyAmount, Et as formatDateRange, F as publicEventDestinationSchema, Gt as resolveBookingTimeZoneId, Ht as parseBookingLocalDate, I as publicEventSchema, It as buildBookingUtcDateWindow, Jt as toUtcIsoDateTimeString, Mt as inferSiteDateLocale, S as resolveEventCalendarReadPlan, Tt as formatDate, Vt as getLocalScheduleDate, Wt as resolveBookingBusinessTimeZone, _ as eventListArrangementValues, b as isEventCalendarListLayout, d as calendarWindowPageSchema, dt as eventSurfacePresetValues, ft as eventSurfaceScopeValues, g as eventCalendarVariantMeaning, kt as formatTime, m as eventCalendarListGroupingDecision, n as blockSiteTermsSchema, pt as publicEventLoaderQuerySchemaShape, qt as parseUtcIsoDateTimeString, ut as eventScheduleScopeValues } from "./noop-ByFRHYQ2.mjs";
|
|
5
|
+
import { O as assertNever$2, d as assertNever$1 } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
7
6
|
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-
|
|
7
|
+
import { S as clsx, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
8
|
+
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
10
9
|
import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
|
|
11
10
|
import "react";
|
|
12
11
|
import { z } from "zod";
|
|
@@ -397,7 +396,42 @@ const EVENT_PRESET_VOCABULARY = {
|
|
|
397
396
|
}
|
|
398
397
|
};
|
|
399
398
|
//#endregion
|
|
400
|
-
//#region ../
|
|
399
|
+
//#region ../site-contracts/src/siteData/products.ts
|
|
400
|
+
const publicProductVariantSchema = z.object({
|
|
401
|
+
id: z.string(),
|
|
402
|
+
title: z.string(),
|
|
403
|
+
sku: z.string().nullable(),
|
|
404
|
+
priceCents: z.number(),
|
|
405
|
+
stockQuantity: z.number().nullable(),
|
|
406
|
+
soldOut: z.boolean()
|
|
407
|
+
});
|
|
408
|
+
const publicProductSchema = z.object({
|
|
409
|
+
id: z.string(),
|
|
410
|
+
contentEntryId: z.string().nullable(),
|
|
411
|
+
title: z.string(),
|
|
412
|
+
slug: z.string(),
|
|
413
|
+
path: z.string().nullable(),
|
|
414
|
+
status: z.enum(["draft", "active"]),
|
|
415
|
+
priceCents: z.number(),
|
|
416
|
+
currency: z.string(),
|
|
417
|
+
productType: z.enum(["physical", "digital"]),
|
|
418
|
+
requiresShipping: z.boolean(),
|
|
419
|
+
hasVariants: z.boolean(),
|
|
420
|
+
trackInventory: z.boolean(),
|
|
421
|
+
soldOut: z.boolean(),
|
|
422
|
+
category: z.object({
|
|
423
|
+
id: z.string(),
|
|
424
|
+
name: z.string(),
|
|
425
|
+
slug: z.string()
|
|
426
|
+
}).nullable(),
|
|
427
|
+
summary: z.string().nullable(),
|
|
428
|
+
body: z.unknown().nullable(),
|
|
429
|
+
gallery: z.array(z.object({
|
|
430
|
+
url: z.string(),
|
|
431
|
+
alt: z.string().nullable()
|
|
432
|
+
})),
|
|
433
|
+
variants: z.array(publicProductVariantSchema)
|
|
434
|
+
});
|
|
401
435
|
/**
|
|
402
436
|
* Public pass product for shop display
|
|
403
437
|
*/
|
|
@@ -412,7 +446,24 @@ const publicPassProductFields = {
|
|
|
412
446
|
pricePerCredit: z.number(),
|
|
413
447
|
validDays: z.number().nullable(),
|
|
414
448
|
eligibleCategoryIds: z.array(z.string()),
|
|
415
|
-
eligibleCategoryNames: z.array(z.string())
|
|
449
|
+
eligibleCategoryNames: z.array(z.string()),
|
|
450
|
+
teamMemberSelection: z.discriminatedUnion("kind", [
|
|
451
|
+
z.object({ kind: z.literal("any") }),
|
|
452
|
+
z.object({
|
|
453
|
+
kind: z.literal("owner"),
|
|
454
|
+
teamMember: z.object({
|
|
455
|
+
id: z.string(),
|
|
456
|
+
name: z.string()
|
|
457
|
+
})
|
|
458
|
+
}),
|
|
459
|
+
z.object({
|
|
460
|
+
kind: z.literal("choose"),
|
|
461
|
+
teamMembers: z.array(z.object({
|
|
462
|
+
id: z.string(),
|
|
463
|
+
name: z.string()
|
|
464
|
+
}))
|
|
465
|
+
})
|
|
466
|
+
]).optional()
|
|
416
467
|
};
|
|
417
468
|
const purchasablePublicPassProductSchema = z.object({
|
|
418
469
|
...publicPassProductFields,
|
|
@@ -423,7 +474,6 @@ const publicPassProductSchema = z.discriminatedUnion("purchaseAvailability", [pu
|
|
|
423
474
|
purchaseAvailability: z.literal("display_only"),
|
|
424
475
|
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
425
476
|
})]);
|
|
426
|
-
const publicPassProductCollectionSchema = z.object({ passes: z.array(publicPassProductSchema) });
|
|
427
477
|
/**
|
|
428
478
|
* Public membership product for shop display
|
|
429
479
|
*/
|
|
@@ -446,6 +496,9 @@ const publicMembershipProductSchema = z.discriminatedUnion("purchaseAvailability
|
|
|
446
496
|
purchaseAvailability: z.literal("display_only"),
|
|
447
497
|
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
448
498
|
})]);
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region ../blocks/src/system/blocks/shop.shared.ts
|
|
501
|
+
const publicPassProductCollectionSchema = z.object({ passes: z.array(publicPassProductSchema) });
|
|
449
502
|
const publicMembershipProductCollectionSchema = z.object({ memberships: z.array(publicMembershipProductSchema) });
|
|
450
503
|
//#endregion
|
|
451
504
|
//#region ../theme-core/src/siteChromePlacement.ts
|
|
@@ -489,7 +542,7 @@ function planSiteChromePlacement(positioning) {
|
|
|
489
542
|
headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
|
|
490
543
|
standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
|
|
491
544
|
};
|
|
492
|
-
default: return assertNever
|
|
545
|
+
default: return assertNever(positioning);
|
|
493
546
|
}
|
|
494
547
|
}
|
|
495
548
|
function splitSiteChromePlacementClasses(className) {
|
|
@@ -555,6 +608,59 @@ function eventSeriesScopeCsv(value) {
|
|
|
555
608
|
return typeof value === "string" ? value : value.join(",");
|
|
556
609
|
}
|
|
557
610
|
//#endregion
|
|
611
|
+
//#region ../blocks/src/system/helpers/normalizeIds.ts
|
|
612
|
+
function normalizeIdList(parts) {
|
|
613
|
+
const seen = /* @__PURE__ */ new Set();
|
|
614
|
+
const normalized = [];
|
|
615
|
+
for (const part of parts) {
|
|
616
|
+
const trimmed = part.trim();
|
|
617
|
+
if (!trimmed || seen.has(trimmed)) continue;
|
|
618
|
+
seen.add(trimmed);
|
|
619
|
+
normalized.push(trimmed);
|
|
620
|
+
}
|
|
621
|
+
return normalized.sort();
|
|
622
|
+
}
|
|
623
|
+
//#endregion
|
|
624
|
+
//#region ../blocks/src/system/blocks/events/shared/filtering.ts
|
|
625
|
+
const unsafeAsEventCategoryId = (value) => value;
|
|
626
|
+
const unsafeAsVenueId = (value) => value;
|
|
627
|
+
function normalizeEventSurfaceScope(value) {
|
|
628
|
+
return value === "regularClassSchedule" || value === "specialDatedEvents" || value === "custom" ? value : "all";
|
|
629
|
+
}
|
|
630
|
+
function normalizeEventScheduleScope(value) {
|
|
631
|
+
return value === "recurring" || value === "oneOff" ? value : "any";
|
|
632
|
+
}
|
|
633
|
+
function isEventSurfacePreset(value) {
|
|
634
|
+
return eventSurfacePresetValues.some((preset) => preset === value);
|
|
635
|
+
}
|
|
636
|
+
function normalizeEventSurfacePresets(value) {
|
|
637
|
+
const normalized = (Array.isArray(value) ? value : typeof value === "string" ? value.split(",") : []).filter((entry) => typeof entry === "string").map((entry) => entry.trim()).filter(isEventSurfacePreset);
|
|
638
|
+
return Array.from(new Set(normalized));
|
|
639
|
+
}
|
|
640
|
+
function normalizeEventSurfacePresetsCsv(value) {
|
|
641
|
+
const normalized = normalizeEventSurfacePresets(value);
|
|
642
|
+
return normalized.length > 0 ? normalized.join(",") : null;
|
|
643
|
+
}
|
|
644
|
+
function normalizeEventCategoryIds(value) {
|
|
645
|
+
if (Array.isArray(value)) return normalizeIdList(value.filter((entry) => typeof entry === "string")).map(unsafeAsEventCategoryId);
|
|
646
|
+
if (typeof value === "string") return normalizeIdList(value.split(",")).map(unsafeAsEventCategoryId);
|
|
647
|
+
return [];
|
|
648
|
+
}
|
|
649
|
+
function normalizeEventCategoryIdsCsv(value) {
|
|
650
|
+
const normalized = normalizeEventCategoryIds(value);
|
|
651
|
+
return normalized.length > 0 ? normalized.join(",") : null;
|
|
652
|
+
}
|
|
653
|
+
function normalizeEventVenueId(value) {
|
|
654
|
+
if (typeof value !== "string") return null;
|
|
655
|
+
const trimmed = value.trim();
|
|
656
|
+
return trimmed ? unsafeAsVenueId(trimmed) : null;
|
|
657
|
+
}
|
|
658
|
+
function normalizeEventStaffMemberId(value) {
|
|
659
|
+
if (typeof value !== "string") return null;
|
|
660
|
+
const trimmed = value.trim();
|
|
661
|
+
return trimmed ? trimmed : null;
|
|
662
|
+
}
|
|
663
|
+
//#endregion
|
|
558
664
|
//#region ../blocks/src/system/runtime/nodes/events/domain/pricing.ts
|
|
559
665
|
/**
|
|
560
666
|
* Format event price for display.
|
|
@@ -821,6 +927,7 @@ function getCardOrientation(layout) {
|
|
|
821
927
|
case "stack": return "horizontal";
|
|
822
928
|
case "grid": return "vertical";
|
|
823
929
|
case "ledger":
|
|
930
|
+
case "timetable-rows":
|
|
824
931
|
case "day-groups":
|
|
825
932
|
case "week-columns":
|
|
826
933
|
case "compact": return "vertical";
|
|
@@ -870,7 +977,8 @@ const cardListArrangements = [
|
|
|
870
977
|
"sequence",
|
|
871
978
|
"plates",
|
|
872
979
|
"slides",
|
|
873
|
-
"track"
|
|
980
|
+
"track",
|
|
981
|
+
"type-columns"
|
|
874
982
|
];
|
|
875
983
|
const cardListPresentationSchemaShape = {
|
|
876
984
|
...lookListPresentationSchemaShape,
|
|
@@ -1002,7 +1110,8 @@ const partRenderers = {
|
|
|
1002
1110
|
action: (props) => props.actionNode === void 0 ? /* @__PURE__ */ jsx(CardListAction, { ...props }) : /* @__PURE__ */ jsx("div", {
|
|
1003
1111
|
...listLookSlot(props.presentation, "item-actions"),
|
|
1004
1112
|
children: props.actionNode
|
|
1005
|
-
})
|
|
1113
|
+
}),
|
|
1114
|
+
"date-stamp": (props) => CardListLeadDate(props)
|
|
1006
1115
|
};
|
|
1007
1116
|
/** Title and photo share the same destination and external-link behavior. */
|
|
1008
1117
|
function cardListItemLink(item) {
|
|
@@ -1297,21 +1406,21 @@ function eventPaginationLoadReducer(state, action) {
|
|
|
1297
1406
|
...createInitialEventPaginationLoadState(action.events, action.scope),
|
|
1298
1407
|
requestId: state.requestId + 1
|
|
1299
1408
|
};
|
|
1300
|
-
default: return assertNever(action);
|
|
1409
|
+
default: return assertNever$1(action);
|
|
1301
1410
|
}
|
|
1302
1411
|
}
|
|
1303
1412
|
function eventPageOperationScope(operation) {
|
|
1304
1413
|
switch (operation.kind) {
|
|
1305
1414
|
case "replace": return operation.scope;
|
|
1306
1415
|
case "append": return operation.page.scope;
|
|
1307
|
-
default: return assertNever(operation);
|
|
1416
|
+
default: return assertNever$1(operation);
|
|
1308
1417
|
}
|
|
1309
1418
|
}
|
|
1310
1419
|
function eventPageOperationQuery(operation) {
|
|
1311
1420
|
switch (operation.kind) {
|
|
1312
1421
|
case "replace": return operation.scope.query;
|
|
1313
1422
|
case "append": return operation.query;
|
|
1314
|
-
default: return assertNever(operation);
|
|
1423
|
+
default: return assertNever$1(operation);
|
|
1315
1424
|
}
|
|
1316
1425
|
}
|
|
1317
1426
|
function acceptEventPage(operation, events) {
|
|
@@ -1328,7 +1437,7 @@ function acceptEventPage(operation, events) {
|
|
|
1328
1437
|
events: mergeEventPaginationEvents(operation.page.events, events),
|
|
1329
1438
|
hasMore
|
|
1330
1439
|
};
|
|
1331
|
-
default: return assertNever(operation);
|
|
1440
|
+
default: return assertNever$1(operation);
|
|
1332
1441
|
}
|
|
1333
1442
|
}
|
|
1334
1443
|
/** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
|
|
@@ -1353,7 +1462,7 @@ function planEventPageOperation(state, scope, intent) {
|
|
|
1353
1462
|
}
|
|
1354
1463
|
};
|
|
1355
1464
|
}
|
|
1356
|
-
default: return assertNever(intent);
|
|
1465
|
+
default: return assertNever$1(intent);
|
|
1357
1466
|
}
|
|
1358
1467
|
}
|
|
1359
1468
|
/** A changed scope is pending even before the effect starts its replacement request. */
|
|
@@ -1380,7 +1489,7 @@ function getEventPaginationView(state, scope) {
|
|
|
1380
1489
|
loading: false,
|
|
1381
1490
|
error: state.error
|
|
1382
1491
|
};
|
|
1383
|
-
default: return assertNever(state);
|
|
1492
|
+
default: return assertNever$1(state);
|
|
1384
1493
|
}
|
|
1385
1494
|
}
|
|
1386
1495
|
function getOperationPage(operation) {
|
|
@@ -1390,7 +1499,7 @@ function getOperationPage(operation) {
|
|
|
1390
1499
|
hasMore: false
|
|
1391
1500
|
};
|
|
1392
1501
|
case "append": return operation.page;
|
|
1393
|
-
default: return assertNever(operation);
|
|
1502
|
+
default: return assertNever$1(operation);
|
|
1394
1503
|
}
|
|
1395
1504
|
}
|
|
1396
1505
|
function getEventIdentity(event) {
|
|
@@ -1785,6 +1894,16 @@ function buildEventListingInteractiveIslandProps(props) {
|
|
|
1785
1894
|
});
|
|
1786
1895
|
}
|
|
1787
1896
|
//#endregion
|
|
1897
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/combinedLook.ts
|
|
1898
|
+
const presentation = z.object({
|
|
1899
|
+
...lookListPresentationSchemaShape,
|
|
1900
|
+
hooks: z.record(z.string(), z.string())
|
|
1901
|
+
});
|
|
1902
|
+
const combinedLookSchema = z.object({
|
|
1903
|
+
list: presentation.extend({ arrangement: z.enum(eventListArrangementValues) }),
|
|
1904
|
+
month: presentation.extend({ arrangement: z.enum(["month-grid", "month-day"]) })
|
|
1905
|
+
});
|
|
1906
|
+
//#endregion
|
|
1788
1907
|
//#region ../blocks/src/system/blocks/events/recurring-schedule-projection.ts
|
|
1789
1908
|
const weekdayOrder = [
|
|
1790
1909
|
"Monday",
|
|
@@ -2077,6 +2196,7 @@ const eventCalendarSourceSchema = z.object({
|
|
|
2077
2196
|
seeAllButtonVariant: eventButtonVariantSchema.nullable().optional(),
|
|
2078
2197
|
effectiveListArrangementKey: z.enum(eventListArrangementValues).nullable().optional(),
|
|
2079
2198
|
listBy: z.enum(["upcoming", "week"]).optional(),
|
|
2199
|
+
combinedLook: combinedLookSchema.optional(),
|
|
2080
2200
|
monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
|
|
2081
2201
|
variant: eventCalendarDisplayModeSchema.nullable().optional(),
|
|
2082
2202
|
displayMode: eventCalendarDisplayModeSchema.nullable().optional(),
|
|
@@ -2092,6 +2212,7 @@ const eventCalendarDisplaySchema = z.object({
|
|
|
2092
2212
|
schedule: recurringScheduleProjectionSchema.optional(),
|
|
2093
2213
|
seeAllButtonVariant: eventButtonVariantSchema,
|
|
2094
2214
|
listBy: z.literal("week").optional(),
|
|
2215
|
+
combinedLook: combinedLookSchema.optional(),
|
|
2095
2216
|
monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
|
|
2096
2217
|
kind: z.literal("event-calendar"),
|
|
2097
2218
|
displayMode: eventCalendarDisplayModeSchema,
|
|
@@ -2127,13 +2248,14 @@ function normalizeOptionalText(value) {
|
|
|
2127
2248
|
return trimmed.length > 0 ? trimmed : void 0;
|
|
2128
2249
|
}
|
|
2129
2250
|
function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.effectiveListArrangementKey ?? resolveCalendarListArrangement(source)) {
|
|
2130
|
-
const
|
|
2251
|
+
const presentation = combinedCalendarPresentation(source, effectiveListArrangementKey);
|
|
2131
2252
|
return {
|
|
2132
2253
|
...buildEventCollectionDisplay({
|
|
2133
2254
|
...source,
|
|
2134
|
-
|
|
2255
|
+
...presentation,
|
|
2135
2256
|
listColumns: source.listColumns ?? source.columns
|
|
2136
2257
|
}),
|
|
2258
|
+
...presentation,
|
|
2137
2259
|
...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
|
|
2138
2260
|
...calendarListGrouping(source),
|
|
2139
2261
|
...weekListPaging(source),
|
|
@@ -2259,6 +2381,17 @@ function calendarRecurringWeekPresentation(source) {
|
|
|
2259
2381
|
seeAllButtonVariant: source.seeAllButtonVariant ?? "secondary"
|
|
2260
2382
|
};
|
|
2261
2383
|
}
|
|
2384
|
+
/** A resolved composition owns the layout and the allowed calendar view. */
|
|
2385
|
+
function combinedCalendarPresentation(source, listLayout) {
|
|
2386
|
+
const combinedLook = source.combinedLook;
|
|
2387
|
+
return combinedLook ? {
|
|
2388
|
+
...combinedLook.list,
|
|
2389
|
+
combinedLook,
|
|
2390
|
+
listLayout: combinedLook.list.arrangement,
|
|
2391
|
+
calendarTabViews: "month",
|
|
2392
|
+
defaultCalendarView: "month"
|
|
2393
|
+
} : { listLayout };
|
|
2394
|
+
}
|
|
2262
2395
|
//#endregion
|
|
2263
2396
|
//#region ../blocks/src/system/runtime/nodes/events/EventCombined.interactive.ts
|
|
2264
2397
|
const eventCombinedSourceSchema = z.object({ ...eventCollectionSourceSchemaShape });
|
|
@@ -2568,7 +2701,7 @@ function bookingPanelHeading(entry, display) {
|
|
|
2568
2701
|
title,
|
|
2569
2702
|
subtitle: entry.when
|
|
2570
2703
|
};
|
|
2571
|
-
default: return assertNever$
|
|
2704
|
+
default: return assertNever$2(entry);
|
|
2572
2705
|
}
|
|
2573
2706
|
}
|
|
2574
2707
|
const HIDDEN_BAR = {
|
|
@@ -2656,8 +2789,9 @@ function offeringsListingFor(arrangement) {
|
|
|
2656
2789
|
case "index":
|
|
2657
2790
|
case "sequence":
|
|
2658
2791
|
case "plates":
|
|
2659
|
-
case "stack":
|
|
2660
|
-
|
|
2792
|
+
case "stack":
|
|
2793
|
+
case "type-columns": return "by-type";
|
|
2794
|
+
default: return assertNever$2(arrangement);
|
|
2661
2795
|
}
|
|
2662
2796
|
}
|
|
2663
2797
|
Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.sourceKey, {
|
|
@@ -2829,7 +2963,7 @@ function buildOfferingsPreviewListing(input) {
|
|
|
2829
2963
|
...load,
|
|
2830
2964
|
items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
|
|
2831
2965
|
};
|
|
2832
|
-
default: return assertNever$
|
|
2966
|
+
default: return assertNever$2(load);
|
|
2833
2967
|
}
|
|
2834
2968
|
}));
|
|
2835
2969
|
if (!groups) return { kind: "no-groups" };
|
|
@@ -2846,7 +2980,7 @@ function buildOfferingsPreviewListing(input) {
|
|
|
2846
2980
|
}));
|
|
2847
2981
|
case "empty":
|
|
2848
2982
|
case "failed": return [];
|
|
2849
|
-
default: return assertNever$
|
|
2983
|
+
default: return assertNever$2(load);
|
|
2850
2984
|
}
|
|
2851
2985
|
}).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
|
|
2852
2986
|
return items ? {
|
|
@@ -2950,10 +3084,10 @@ function preferredPathsForSource(source) {
|
|
|
2950
3084
|
case "workshop": return ["/workshops", "/workshop"];
|
|
2951
3085
|
case "retreat": return ["/retreats", "/retreat"];
|
|
2952
3086
|
case "performance": return ["/performances", "/performance"];
|
|
2953
|
-
default: return assertNever$
|
|
3087
|
+
default: return assertNever$2(source.preset, "Unhandled offerings preview event preset");
|
|
2954
3088
|
}
|
|
2955
3089
|
case "wholeSeries": return ["/courses", "/course"];
|
|
2956
|
-
default: return assertNever$
|
|
3090
|
+
default: return assertNever$2(source, "Unhandled offerings preview source");
|
|
2957
3091
|
}
|
|
2958
3092
|
}
|
|
2959
3093
|
function normalizeRoutePath(value) {
|
|
@@ -3748,7 +3882,7 @@ function newsletterPresetFields(fields) {
|
|
|
3748
3882
|
placeholder: "Company name"
|
|
3749
3883
|
}
|
|
3750
3884
|
];
|
|
3751
|
-
default: return assertNever$
|
|
3885
|
+
default: return assertNever$2(fields);
|
|
3752
3886
|
}
|
|
3753
3887
|
}
|
|
3754
3888
|
function withOptionalPhone(fields, includePhone) {
|
|
@@ -3972,7 +4106,7 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
3972
4106
|
tag: "block-source",
|
|
3973
4107
|
sourceRef: null
|
|
3974
4108
|
};
|
|
3975
|
-
default: return assertNever$
|
|
4109
|
+
default: return assertNever$2(source.newsletterBlockSubmission);
|
|
3976
4110
|
}
|
|
3977
4111
|
case "signed-hosted-booking":
|
|
3978
4112
|
case "signed-footer": return {
|
|
@@ -3980,7 +4114,7 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
3980
4114
|
sourceRef: source.sourceRef
|
|
3981
4115
|
};
|
|
3982
4116
|
case "preview": return { tag: "preview" };
|
|
3983
|
-
default: return assertNever$
|
|
4117
|
+
default: return assertNever$2(source);
|
|
3984
4118
|
}
|
|
3985
4119
|
}
|
|
3986
4120
|
function resolveRuntimeChoices(assessment) {
|
|
@@ -4034,41 +4168,6 @@ function newsletterPrivacyNote(source, privacyNote) {
|
|
|
4034
4168
|
}
|
|
4035
4169
|
//#endregion
|
|
4036
4170
|
//#region ../blocks/src/system/blocks/products/shared.ts
|
|
4037
|
-
const publicProductVariantSchema = z.object({
|
|
4038
|
-
id: z.string(),
|
|
4039
|
-
title: z.string(),
|
|
4040
|
-
sku: z.string().nullable(),
|
|
4041
|
-
priceCents: z.number(),
|
|
4042
|
-
stockQuantity: z.number().nullable(),
|
|
4043
|
-
soldOut: z.boolean()
|
|
4044
|
-
});
|
|
4045
|
-
const publicProductSchema = z.object({
|
|
4046
|
-
id: z.string(),
|
|
4047
|
-
contentEntryId: z.string().nullable(),
|
|
4048
|
-
title: z.string(),
|
|
4049
|
-
slug: z.string(),
|
|
4050
|
-
path: z.string().nullable(),
|
|
4051
|
-
status: z.enum(["draft", "active"]),
|
|
4052
|
-
priceCents: z.number(),
|
|
4053
|
-
currency: z.string(),
|
|
4054
|
-
productType: z.enum(["physical", "digital"]),
|
|
4055
|
-
requiresShipping: z.boolean(),
|
|
4056
|
-
hasVariants: z.boolean(),
|
|
4057
|
-
trackInventory: z.boolean(),
|
|
4058
|
-
soldOut: z.boolean(),
|
|
4059
|
-
category: z.object({
|
|
4060
|
-
id: z.string(),
|
|
4061
|
-
name: z.string(),
|
|
4062
|
-
slug: z.string()
|
|
4063
|
-
}).nullable(),
|
|
4064
|
-
summary: z.string().nullable(),
|
|
4065
|
-
body: z.unknown().nullable(),
|
|
4066
|
-
gallery: z.array(z.object({
|
|
4067
|
-
url: z.string(),
|
|
4068
|
-
alt: z.string().nullable()
|
|
4069
|
-
})),
|
|
4070
|
-
variants: z.array(publicProductVariantSchema)
|
|
4071
|
-
});
|
|
4072
4171
|
const publicProductsResponseSchema = z.object({ products: z.array(publicProductSchema) });
|
|
4073
4172
|
//#endregion
|
|
4074
4173
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce.shared.ts
|
|
@@ -5062,4 +5161,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
5062
5161
|
};
|
|
5063
5162
|
}
|
|
5064
5163
|
//#endregion
|
|
5065
|
-
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $,
|
|
5164
|
+
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, MediaNodeServer as $t, parseStoredCommerceCartState as A, sameMailingListPlacementTargeting as An, combinedLookSchema as At, giftingBlockRuntime as B, toEventPaginationLoadError as Bt, membershipCardListContent as C, publicMembershipProductCollectionSchema as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, parseMailingListPlacementTargeting as Dn, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, assessMailingListTargeting as En, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPageOperationQuery as Ft, formInteractiveIslandPropsCodec as G, normalizeCsvString as Gt, publicGiftingOffersResponseSchema as H, buildEventRuntimeFilters as Ht, newsletterBlockSubmissionMessage as I, eventPaginationLoadReducer as It, displayButtonText as J, listingEventCardProps as Jt, buildEventRegistrationDisplayFromScopedEvents as K, normalizeOptionalId as Kt, newsletterFormBlockRuntime as L, getEventIdentity as Lt, reduceCommerceCart as M, eventListingBlockRuntime as Mt, publicProductsResponseSchema as N, eventListingInteractiveIslandPropsCodec as Nt, buildProductCartItem as O, parseMailingListVisitorSelection as On, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, createInitialEventPaginationLoadState as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, selectCardListPresentation as Qt, newsletterFormInteractiveIslandPropsCodec as R, getEventPaginationView as Rt, formatInterval as S, splitSiteChromePlacementClasses as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildMailingListSignupBlockSourceRef as Tn, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, getEventRuntimeFiltersKey as Ut, giftingInteractiveIslandPropsCodec as V, toError as Vt, formBlockRuntime as W, normalizeCsvIds as Wt, eventRegistrationInteractiveIslandPropsCodec as X, CardListLeadDate as Xt, eventRegistrationBlockRuntime as Y, CardListContentPart as Yt, offeringNounForEvent as Z, resolveCardListSchedule as Zt, shopProductPresentation as _, isHeaderScrollRuntimeEnabled as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, weekColumnDays as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, parseHeaderPositioning as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, formatEventPriceDisplay as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, normalizeEventStaffMemberId as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getCardOrientation as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, normalizeEventSurfacePresets as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, headerChromeRuntimeContractSchema as gn, bookingPanelHeading as gt, shopBlockRuntime as h, resolveEventSelection as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, eventListWeekDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, parseContentVersionId as jn, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, DEFAULT_MAILING_LIST_TARGETING as kn, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, normalizeEventCategoryIds as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, normalizeEventVenueId as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, Grid as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPrice as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, normalizeEventSurfaceScope as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, catalogueEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, buildEventListWeek as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceAmount as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, getContainerClass as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, normalizeEventScheduleScope as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, resolveHeaderChromeRuntimeContract as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, publicPassProductCollectionSchema as wn, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, planSiteChromePlacement as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, staticHeaderChromeRuntime as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, planEventPageOperation as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CQGlxId8.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
3
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
|
|
4
4
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
5
5
|
import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
6
6
|
export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region ../theme-core/src/site-styles/surfaceTransportMarker.ts
|
|
3
|
+
/**
|
|
4
|
+
* The envelope key `serializeSurfaceTree` writes and `parseSurfaceTree` reads.
|
|
5
|
+
*
|
|
6
|
+
* This module has no dependencies so browser code can check for transported
|
|
7
|
+
* surfaces without loading the surface resolver, then import it only when
|
|
8
|
+
* the payload needs it.
|
|
9
|
+
*/
|
|
10
|
+
const SURFACE_TRANSPORT_KEY = "$surfaceTransport";
|
|
11
|
+
/** Whether a JSON-shaped value holds a surface transport envelope anywhere. */
|
|
12
|
+
function containsSurfaceTransport(value) {
|
|
13
|
+
if (Array.isArray(value)) return value.some(containsSurfaceTransport);
|
|
14
|
+
if (typeof value !== "object" || value === null) return false;
|
|
15
|
+
if ("$surfaceTransport" in value) return true;
|
|
16
|
+
return Object.values(value).some(containsSurfaceTransport);
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { containsSurfaceTransport as n, SURFACE_TRANSPORT_KEY as t };
|