@riverbankcms/sdk 0.167.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/dist/_dts/{BlocksIslandsHydrator-Dgb-ptph.d.ts → BlocksIslandsHydrator-CiD_VVGM.d.ts} +1 -1
- package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-Bj6VJRS5.d.ts} +7 -6
- package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-ChpsnwDX.d.ts} +2 -2
- package/dist/_dts/{client-CwsI23pj.d.ts → client-C8mfUxrJ.d.ts} +65 -35
- package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-_vXZyR4H.d.ts} +2 -2
- package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CJFfrVKU.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-CMegb23G.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-D9YdAIMh.d.ts} +2 -2
- package/dist/_dts/{index-CS6b1B-c.d.ts → index-BQXaZ7aY.d.ts} +4 -4
- package/dist/_dts/{index-5_jf52sZ.d.ts → index-Bpr-wT5k.d.ts} +2 -2
- package/dist/_dts/{index-DeHDwMfu.d.ts → index-C7_Rz8EY.d.ts} +3 -3
- package/dist/_dts/{index-D7EbliE3.d.ts → index-Cx2BQlHL.d.ts} +3 -3
- package/dist/_dts/{index-C20yUyob.d.ts → index-Dgz6yhsy.d.ts} +1 -1
- package/dist/_dts/index-Vh8B9FSa.d.ts +14 -0
- package/dist/_dts/{index-bDln38Hm.d.ts → index-vR3p9Bu-.d.ts} +2 -2
- package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-dhWSgLeS.d.ts} +7 -7
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
- package/dist/_dts/{index-ChpjHK0U.d.ts → request-BrYhNV9Z.d.ts} +80718 -47665
- package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-BfSHm8Ms.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-JPwgRxwh.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 +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -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-CwtTcaQP.d.ts → types-BB33-Spd.d.ts} +3 -3
- package/dist/_dts/{types-D-WElMCy.d.ts → types-BVFXYtRg.d.ts} +7 -7
- package/dist/_dts/{types-BlaCuPLr.d.ts → types-FOsJ-KYb.d.ts} +4 -2
- package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-DckTc6TQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DFqkx158.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-DQwJ7BPx.mjs → CalendarNavigationChevron-CNe3ZjdC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-BeiZxEUJ.mjs} +7 -7
- package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-BL943-tl.mjs} +9 -9
- package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-BFVxECTp.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
- package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-BIc4gjiD.mjs} +37 -15
- package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-a0QEIEf0.mjs} +1 -1
- package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-CEFTC3jH.mjs} +3 -3
- package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-Bt2sBBms.mjs} +34 -16
- package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-D9YBNb_E.mjs} +250 -40
- package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-gqzt5gkW.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-13JQI7_z.mjs} +1 -1
- package/dist/client/{Page-D4_H_u9V.mjs → Page-D_M2Vxz3.mjs} +4471 -1601
- package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
- package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-CaN8snZ8.mjs} +3 -3
- package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
- package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
- package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
- package/dist/client/{accordion--EUHmEGa.mjs → accordion-DE7OG--d.mjs} +1 -1
- package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-CS1PPjw7.mjs} +842 -374
- package/dist/client/{bookingForm-sHHcdism.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-Cp9xPBFZ.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-CCZZC-Lq.mjs → cart-D7HkkNwe.mjs} +3 -3
- package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-H4sv2TpD.mjs} +1 -1
- package/dist/client/{checkout-CipmYL4A.mjs → checkout-2qVyG-Sh.mjs} +3 -3
- package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-DAjrBZ74.mjs} +1 -1
- package/dist/client/client.mjs +240 -63
- package/dist/client/{context-Cv3QHjAF.mjs → context-DXmIbXCK.mjs} +297 -3
- package/dist/client/{cta-P2vJVTEn.mjs → cta-DP_IBnq3.mjs} +2 -2
- package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-CwrkFZTr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-DQXK-Fh6.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-DheQj7rg.mjs} +3 -3
- package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-C5UufcRp.mjs} +1 -1
- package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-CMGg63IU.mjs} +72 -235
- package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DlD0GCEy.mjs} +4 -4
- package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DoSi8p_l.mjs} +4 -4
- package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzuQYgmO.mjs} +2 -2
- package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CkiMjl0g.mjs} +4 -4
- package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-CjS3Zpjp.mjs} +4 -4
- package/dist/client/{form-Bw1uuiUs.mjs → form-DgQqm7T2.mjs} +3 -3
- package/dist/client/{form.client-pZ-9gN33.mjs → form.client-BI9Dcsq5.mjs} +5 -5
- package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-DevF0L_A.mjs} +3 -3
- package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-DDyURjoe.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BpJYUMd6.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-CSoP0cGR.mjs → newsletter-form.client-BWp7Y1e1.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-Dg8s9NwJ.mjs} +2 -2
- package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-DnPraMzx.mjs} +3 -3
- package/dist/client/{noop-ByVtIWf4.mjs → noop-ByFRHYQ2.mjs} +437 -496
- package/dist/client/portal/client.mjs +76 -229
- package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-BFAgHrdg.mjs} +1 -1
- package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-DVrs_DyY.mjs} +1 -1
- package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-D4rvl6Xg.mjs} +3 -3
- package/dist/client/{productList-B21TGdpT.mjs → productList-B8o5AOMX.mjs} +3 -3
- package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-hhotPP6P.mjs} +5 -4
- package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Ch3EpupA.mjs} +2213 -2433
- 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-DHkBtO0G.mjs → richText-coerce-C3LabQ1O.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DbHX4JOS.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-B2UmrQg_.mjs → shop-commerce-VDbVaKY-.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-DqdgJ8Zw.mjs} +1 -1
- package/dist/client/{shop-mqyoOvOK.mjs → shop-rRXplPGZ.mjs} +3 -3
- package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-DdwvMvaK.mjs} +13 -13
- package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C8OvFY06.mjs} +141 -66
- package/dist/client/{shopShared-CXF5wxdg.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-CrC80EOG.mjs → timetableModel-Cko9LRKy.mjs} +11 -11
- package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
- package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-M6QIEiWf.mjs} +3 -3
- package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-BJSnyO0f.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-D3XnOSCi.mjs} +1 -1
- package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-PhTIoFVX.mjs} +7 -7
- package/dist/client/{view-BN-fxyfq.mjs → view-448wvvEY.mjs} +11 -7
- package/dist/client/{view-Dh2tGoS0.mjs → view-L_mkgtnk.mjs} +4 -4
- package/dist/client/{site-styles-D56hT2u1.mjs → wizardSteps-CFulHWnT.mjs} +19660 -18565
- package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.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-Ckr2zk_L.mjs → PreviewEditorSidebar-C0OtdWu_.mjs} +128 -21
- package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-Csc5vH5k.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-BOLH_pm-.mjs} +199 -155
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-CKodLReY.mjs} +31 -32
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-BeEZpeKn.mjs} +3780 -3436
- 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-DBi-WybM.mjs → previewAssistantSlot-BBdN5kfY.mjs} +18697 -15557
- package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-VZtGwPuH.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-kiZkMcuR.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-BiIHEeE0.mjs} +2 -2
- package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-BuFLIpmX.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.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-Bv3nkdpV.mjs → route-contract-C0sCvCYL.mjs} +165 -0
- package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-Dnhc0Wu5.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-NAQ_zsFu.mjs} +461 -128
- package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
- package/dist/server/{bindings-ConMYJ2U.mjs → bindings-DLoZYUxG.mjs} +2 -2
- package/dist/server/{client-Cot-H5fQ.mjs → client-Bc8jI8zN.mjs} +261 -61
- 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-BkaWYEwt.mjs → loadContent-D61gpqHB.mjs} +4 -5
- package/dist/server/{loadPage-kviUdH8c.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/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
- package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-CDReKy2P.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-ByVTA7-4.mjs} +255 -158
- package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-Dzz_Dze6.mjs} +291 -5
- package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-Dk5Ku6hs.mjs} +1285 -897
- package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-pJPGfMrf.mjs} +593 -1592
- package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-CW4M0WEZ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-Bvx0SiIM.mjs} +5 -4
- package/dist/server/{registry-BPFcpn6k.mjs → registry-Bh0Y25zH.mjs} +4399 -4065
- 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-BHvfGD4y.mjs → resolveBlockData-CnHHst9r.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
- package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
- 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-bl6WcAi_.mjs → validation-D2bHWSxJ.mjs} +57 -8
- package/dist/server/{version-BLXZ31S-.mjs → version-DkM1eAxG.mjs} +1 -1
- package/dist/styles/index.css +340 -68
- package/package.json +4 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
- package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
- package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
- package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
- package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
- package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
- package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
//#region ../
|
|
4
|
-
const
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
3
|
+
//#region ../site-contracts/src/tokens.ts
|
|
4
|
+
const blockColorTokenNames = [
|
|
5
|
+
"text",
|
|
6
|
+
"heading",
|
|
7
|
+
"mutedText",
|
|
8
|
+
"surface",
|
|
9
|
+
"background",
|
|
10
|
+
"foreground",
|
|
11
|
+
"border",
|
|
12
|
+
"primary",
|
|
13
|
+
"secondary",
|
|
14
|
+
"accent",
|
|
15
|
+
"success",
|
|
16
|
+
"warning",
|
|
17
|
+
"info",
|
|
18
|
+
"error",
|
|
19
|
+
"destructive",
|
|
20
|
+
"scrim",
|
|
21
|
+
"shadow",
|
|
22
|
+
"onPrimary",
|
|
23
|
+
"onSecondary",
|
|
24
|
+
"onAccent",
|
|
25
|
+
"onSuccess",
|
|
26
|
+
"onWarning",
|
|
27
|
+
"onInfo",
|
|
28
|
+
"onError",
|
|
29
|
+
"onDestructive",
|
|
30
|
+
"onSurface",
|
|
31
|
+
"onText"
|
|
32
|
+
];
|
|
27
33
|
function parseOpacityPercent(source) {
|
|
28
34
|
const trimmed = source.trim();
|
|
29
35
|
if (!trimmed) return null;
|
|
@@ -60,49 +66,6 @@ function parseColorTokenParts(source) {
|
|
|
60
66
|
opacityPercent
|
|
61
67
|
};
|
|
62
68
|
}
|
|
63
|
-
//#endregion
|
|
64
|
-
//#region ../theme-core/src/tokens/blockColorTokens.ts
|
|
65
|
-
const blockColorTokenNames = [
|
|
66
|
-
"text",
|
|
67
|
-
"heading",
|
|
68
|
-
"mutedText",
|
|
69
|
-
"surface",
|
|
70
|
-
"background",
|
|
71
|
-
"foreground",
|
|
72
|
-
"border",
|
|
73
|
-
"primary",
|
|
74
|
-
"secondary",
|
|
75
|
-
"accent",
|
|
76
|
-
"success",
|
|
77
|
-
"warning",
|
|
78
|
-
"info",
|
|
79
|
-
"error",
|
|
80
|
-
"destructive",
|
|
81
|
-
"scrim",
|
|
82
|
-
"shadow",
|
|
83
|
-
"onPrimary",
|
|
84
|
-
"onSecondary",
|
|
85
|
-
"onAccent",
|
|
86
|
-
"onSuccess",
|
|
87
|
-
"onWarning",
|
|
88
|
-
"onInfo",
|
|
89
|
-
"onError",
|
|
90
|
-
"onDestructive",
|
|
91
|
-
"onSurface",
|
|
92
|
-
"onText"
|
|
93
|
-
];
|
|
94
|
-
const blockColorTokenNameSet = new Set(blockColorTokenNames);
|
|
95
|
-
function isBlockColorToken(value) {
|
|
96
|
-
if (typeof value !== "string") return false;
|
|
97
|
-
const parts = parseColorTokenParts(value);
|
|
98
|
-
return parts.kind === "token" && blockColorTokenNameSet.has(parts.token);
|
|
99
|
-
}
|
|
100
|
-
function parseBlockColorToken(value) {
|
|
101
|
-
if (!isBlockColorToken(value)) return null;
|
|
102
|
-
return value.trim();
|
|
103
|
-
}
|
|
104
|
-
//#endregion
|
|
105
|
-
//#region ../theme-core/src/tokens/themeColorTokens.ts
|
|
106
69
|
/**
|
|
107
70
|
* Known palette role token names. This is the low-level source of truth for
|
|
108
71
|
* palette roles used by palette variants, Theme V2 schemas, and runtime color
|
|
@@ -169,8 +132,110 @@ function parseThemeColorToken(value) {
|
|
|
169
132
|
return value.trim();
|
|
170
133
|
}
|
|
171
134
|
const themeColorTokenSchema = z.string().min(1).refine((value) => Boolean(isThemeColorToken(value)), "Expected a known Theme V2 color token");
|
|
135
|
+
const HEX_COLOR_REGEX = /^#[0-9a-f]{6}$/;
|
|
136
|
+
const NORMALIZABLE_HEX_REGEX = /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
137
|
+
const THEME_PALETTE_COLOR_ORDER = [
|
|
138
|
+
"primary",
|
|
139
|
+
"secondary",
|
|
140
|
+
"accent",
|
|
141
|
+
"success",
|
|
142
|
+
"warning",
|
|
143
|
+
"destructive",
|
|
144
|
+
"background",
|
|
145
|
+
"surface",
|
|
146
|
+
"surfaceAlt",
|
|
147
|
+
"muted",
|
|
148
|
+
"text",
|
|
149
|
+
"primaryForeground",
|
|
150
|
+
"border"
|
|
151
|
+
];
|
|
152
|
+
const hexColorSchema = z.string().regex(HEX_COLOR_REGEX, "Hex must be #RRGGBB (lowercase)").transform((value) => value);
|
|
153
|
+
const paletteModeSchema = z.enum(["light", "dark"]);
|
|
154
|
+
const paletteColorsSchema = z.object({
|
|
155
|
+
primary: hexColorSchema,
|
|
156
|
+
primaryForeground: hexColorSchema,
|
|
157
|
+
secondary: hexColorSchema,
|
|
158
|
+
accent: hexColorSchema,
|
|
159
|
+
success: hexColorSchema,
|
|
160
|
+
warning: hexColorSchema,
|
|
161
|
+
destructive: hexColorSchema,
|
|
162
|
+
background: hexColorSchema,
|
|
163
|
+
surface: hexColorSchema,
|
|
164
|
+
surfaceAlt: hexColorSchema,
|
|
165
|
+
muted: hexColorSchema,
|
|
166
|
+
text: hexColorSchema,
|
|
167
|
+
border: hexColorSchema
|
|
168
|
+
}).strict().transform((value) => value);
|
|
169
|
+
function normalizePaletteHex(value) {
|
|
170
|
+
if (!NORMALIZABLE_HEX_REGEX.test(value)) return null;
|
|
171
|
+
const normalized = value.toLowerCase();
|
|
172
|
+
if (normalized.length === 7) return normalized;
|
|
173
|
+
const triplet = normalized.slice(1);
|
|
174
|
+
const red = triplet.charAt(0);
|
|
175
|
+
const green = triplet.charAt(1);
|
|
176
|
+
const blue = triplet.charAt(2);
|
|
177
|
+
return `#${red}${red}${green}${green}${blue}${blue}`;
|
|
178
|
+
}
|
|
179
|
+
function admitPaletteEntry(values, entry) {
|
|
180
|
+
const parsedRole = paletteTokenNameSchema.safeParse(entry.name);
|
|
181
|
+
if (!parsedRole.success) return {
|
|
182
|
+
ok: false,
|
|
183
|
+
error: {
|
|
184
|
+
kind: "unknown-role",
|
|
185
|
+
role: entry.name
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
const role = parsedRole.data;
|
|
189
|
+
if (values[role] !== void 0) return {
|
|
190
|
+
ok: false,
|
|
191
|
+
error: {
|
|
192
|
+
kind: "duplicate-role",
|
|
193
|
+
role
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
const hex = normalizePaletteHex(entry.hex);
|
|
197
|
+
if (hex === null) return {
|
|
198
|
+
ok: false,
|
|
199
|
+
error: {
|
|
200
|
+
kind: "invalid-color",
|
|
201
|
+
role,
|
|
202
|
+
value: entry.hex
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
return {
|
|
206
|
+
ok: true,
|
|
207
|
+
values: {
|
|
208
|
+
...values,
|
|
209
|
+
[role]: hex
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function paletteColorsFromEntries(entries) {
|
|
214
|
+
const admitted = entries.reduce((result, entry) => result.ok ? admitPaletteEntry(result.values, entry) : result, {
|
|
215
|
+
ok: true,
|
|
216
|
+
values: {}
|
|
217
|
+
});
|
|
218
|
+
if (!admitted.ok) return admitted;
|
|
219
|
+
const missing = PALETTE_TOKEN_NAMES.filter((role) => admitted.values[role] === void 0);
|
|
220
|
+
return missing.length > 0 ? {
|
|
221
|
+
ok: false,
|
|
222
|
+
error: {
|
|
223
|
+
kind: "missing-roles",
|
|
224
|
+
roles: missing
|
|
225
|
+
}
|
|
226
|
+
} : {
|
|
227
|
+
ok: true,
|
|
228
|
+
colors: paletteColorsSchema.parse(admitted.values)
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function paletteColorEntries(colors) {
|
|
232
|
+
return THEME_PALETTE_COLOR_ORDER.map((name) => ({
|
|
233
|
+
name,
|
|
234
|
+
hex: colors[name]
|
|
235
|
+
}));
|
|
236
|
+
}
|
|
172
237
|
//#endregion
|
|
173
|
-
//#region ../
|
|
238
|
+
//#region ../site-contracts/src/identity/blockKinds.ts
|
|
174
239
|
/**
|
|
175
240
|
* Standard semantic variant roles a theme exposes.
|
|
176
241
|
*
|
|
@@ -184,9 +249,77 @@ const VARIANT_ROLES = [
|
|
|
184
249
|
"ghost",
|
|
185
250
|
"accent"
|
|
186
251
|
];
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
252
|
+
const variantRoleSchema = z.enum(VARIANT_ROLES);
|
|
253
|
+
const SYSTEM_BLOCK_KINDS = [
|
|
254
|
+
"block.hero",
|
|
255
|
+
"block.intro",
|
|
256
|
+
"block.columns",
|
|
257
|
+
"block.collection",
|
|
258
|
+
"block.feature-cards",
|
|
259
|
+
"block.media-text",
|
|
260
|
+
"block.cta-full",
|
|
261
|
+
"block.single-button",
|
|
262
|
+
"block.body-text",
|
|
263
|
+
"block.location-map",
|
|
264
|
+
"block.faq",
|
|
265
|
+
"block.testimonials",
|
|
266
|
+
"block.team-members",
|
|
267
|
+
"block.embed",
|
|
268
|
+
"block.blog-post",
|
|
269
|
+
"block.blog-listing",
|
|
270
|
+
"block.site-header",
|
|
271
|
+
"block.site-footer",
|
|
272
|
+
"block.form",
|
|
273
|
+
"block.contact-newsletter",
|
|
274
|
+
"block.appointment-booking",
|
|
275
|
+
"block.appointment-services",
|
|
276
|
+
"block.weekly-slot-availability",
|
|
277
|
+
"block.event-registration",
|
|
278
|
+
...[
|
|
279
|
+
"block.event-details",
|
|
280
|
+
"block.event-spotlight",
|
|
281
|
+
"block.event-listing",
|
|
282
|
+
"block.event-calendar",
|
|
283
|
+
"block.recurring-schedule",
|
|
284
|
+
"block.offerings-preview"
|
|
285
|
+
],
|
|
286
|
+
"block.shop",
|
|
287
|
+
"block.product-list",
|
|
288
|
+
"block.product-detail",
|
|
289
|
+
"block.cart",
|
|
290
|
+
"block.checkout",
|
|
291
|
+
"block.gifting",
|
|
292
|
+
"block.newsletter-signup",
|
|
293
|
+
"block.image-gallery",
|
|
294
|
+
"block.video-grid",
|
|
295
|
+
"block.audio-player",
|
|
296
|
+
"block.file-download"
|
|
297
|
+
];
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region ../site-contracts/src/theme/buttonTypography.ts
|
|
300
|
+
const textTransformSchema = z.enum([
|
|
301
|
+
"none",
|
|
302
|
+
"uppercase",
|
|
303
|
+
"lowercase",
|
|
304
|
+
"capitalize"
|
|
305
|
+
]);
|
|
306
|
+
const fontWeightSchema = z.union([
|
|
307
|
+
z.literal(400),
|
|
308
|
+
z.literal(500),
|
|
309
|
+
z.literal(600),
|
|
310
|
+
z.literal(700),
|
|
311
|
+
z.literal(800)
|
|
312
|
+
]);
|
|
313
|
+
const buttonTypographySchema = z.enum(["body", "heading"]);
|
|
314
|
+
const letterSpacingSchema = z.enum([
|
|
315
|
+
"tight",
|
|
316
|
+
"normal",
|
|
317
|
+
"slight",
|
|
318
|
+
"loose",
|
|
319
|
+
"wide"
|
|
320
|
+
]);
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region ../site-contracts/src/theme/buttons.ts
|
|
190
323
|
/**
|
|
191
324
|
* Canonical persisted/CSS-safe button variant identifier.
|
|
192
325
|
*
|
|
@@ -194,26 +327,12 @@ function isVariantRole(value) {
|
|
|
194
327
|
* an arbitrary string and shared with every authoring/runtime boundary.
|
|
195
328
|
*/
|
|
196
329
|
const buttonVariantIdSchema = z.string().min(1).max(50).regex(/^[a-z0-9-]+$/, "Button variant IDs may contain lowercase letters, numbers, and hyphens only").refine((value) => value !== "link" && value !== "tertiary", { message: "Retired button role IDs are not valid variant IDs" });
|
|
197
|
-
function asSpecialVariantId(value) {
|
|
198
|
-
const parsed = buttonVariantIdSchema.safeParse(value);
|
|
199
|
-
if (!parsed.success) throw new Error("SpecialVariantId must be a CSS-safe button variant ID");
|
|
200
|
-
return parsed.data;
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* Magic alias the CSS generator emits for the highest-priority variant.
|
|
204
|
-
*
|
|
205
|
-
* Shared between generator and renderer so neither side hard-codes the string.
|
|
206
|
-
*/
|
|
207
|
-
const DEFAULT_VARIANT_ALIAS_ID = "default";
|
|
208
330
|
function parseOpaqueButtonColourToken(value) {
|
|
209
331
|
const token = parseThemeColorToken(value);
|
|
210
332
|
if (token === null) return null;
|
|
211
333
|
const parts = parseColorTokenParts(token);
|
|
212
334
|
return parts.kind === "token" && parts.opacityPercent === null ? token : null;
|
|
213
335
|
}
|
|
214
|
-
function unsafeAsOpaqueButtonColourToken(value) {
|
|
215
|
-
return value;
|
|
216
|
-
}
|
|
217
336
|
const opaqueButtonColourTokenSchema = themeColorTokenSchema.refine((value) => parseOpaqueButtonColourToken(value) !== null, "Button colour tokens must be opaque").transform((value) => {
|
|
218
337
|
const token = parseOpaqueButtonColourToken(value);
|
|
219
338
|
if (token === null) throw new Error("Invariant: opaque button token passed its schema");
|
|
@@ -360,7 +479,6 @@ const hoverTransformSchema = z.enum([
|
|
|
360
479
|
"scale",
|
|
361
480
|
"press"
|
|
362
481
|
]);
|
|
363
|
-
z.enum(["none", "token"]);
|
|
364
482
|
const buttonPaddingPresetSchema = z.enum([
|
|
365
483
|
"compact",
|
|
366
484
|
"default",
|
|
@@ -381,36 +499,12 @@ const prioritySchema = z.union([
|
|
|
381
499
|
z.literal(2),
|
|
382
500
|
z.literal(3)
|
|
383
501
|
]);
|
|
384
|
-
const variantRoleSchema = z.enum(VARIANT_ROLES);
|
|
385
502
|
const buttonSurfaceFallbackSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("surface-outline") }), z.strictObject({
|
|
386
503
|
kind: z.literal("variant"),
|
|
387
504
|
role: variantRoleSchema
|
|
388
505
|
})]);
|
|
389
|
-
const standardButtonSurfacePolicy = {
|
|
390
|
-
primary: [{ kind: "surface-outline" }],
|
|
391
|
-
secondary: [{ kind: "surface-outline" }, {
|
|
392
|
-
kind: "variant",
|
|
393
|
-
role: "primary"
|
|
394
|
-
}],
|
|
395
|
-
outline: [{ kind: "surface-outline" }],
|
|
396
|
-
ghost: [{ kind: "surface-outline" }],
|
|
397
|
-
accent: [{ kind: "surface-outline" }, {
|
|
398
|
-
kind: "variant",
|
|
399
|
-
role: "primary"
|
|
400
|
-
}]
|
|
401
|
-
};
|
|
402
|
-
const STANDARD_BUTTON_SURFACE_POLICY = Object.freeze(Object.fromEntries(VARIANT_ROLES.map((role) => [role, Object.freeze([...standardButtonSurfacePolicy[role]])])));
|
|
403
|
-
function createStandardButtonSurfacePolicy() {
|
|
404
|
-
return Object.fromEntries(VARIANT_ROLES.map((role) => [role, [...STANDARD_BUTTON_SURFACE_POLICY[role]]]));
|
|
405
|
-
}
|
|
406
506
|
const buttonSurfacePolicyShape = Object.fromEntries(VARIANT_ROLES.map((role) => [role, z.array(buttonSurfaceFallbackSchema).max(VARIANT_ROLES.length)]));
|
|
407
507
|
const buttonSurfacePolicySchema = z.strictObject(buttonSurfacePolicyShape);
|
|
408
|
-
const buttonSizeNameSchema = z.enum([
|
|
409
|
-
"sm",
|
|
410
|
-
"md",
|
|
411
|
-
"lg",
|
|
412
|
-
"xl"
|
|
413
|
-
]);
|
|
414
508
|
/**
|
|
415
509
|
* CSS padding string in `"<vertical> <horizontal>"` shorthand form.
|
|
416
510
|
*
|
|
@@ -630,4 +724,47 @@ const buttonSystemSchema = z.strictObject({
|
|
|
630
724
|
});
|
|
631
725
|
});
|
|
632
726
|
//#endregion
|
|
633
|
-
|
|
727
|
+
//#region ../theme-core/src/buttons/types.ts
|
|
728
|
+
function isVariantRole(value) {
|
|
729
|
+
return VARIANT_ROLES.includes(value);
|
|
730
|
+
}
|
|
731
|
+
function asSpecialVariantId(value) {
|
|
732
|
+
const parsed = buttonVariantIdSchema.safeParse(value);
|
|
733
|
+
if (!parsed.success) throw new Error("SpecialVariantId must be a CSS-safe button variant ID");
|
|
734
|
+
return parsed.data;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* Magic alias the CSS generator emits for the highest-priority variant.
|
|
738
|
+
*
|
|
739
|
+
* Shared between generator and renderer so neither side hard-codes the string.
|
|
740
|
+
*/
|
|
741
|
+
const DEFAULT_VARIANT_ALIAS_ID = "default";
|
|
742
|
+
function unsafeAsOpaqueButtonColourToken(value) {
|
|
743
|
+
return value;
|
|
744
|
+
}
|
|
745
|
+
z.enum(["none", "token"]);
|
|
746
|
+
const standardButtonSurfacePolicy = {
|
|
747
|
+
primary: [{ kind: "surface-outline" }],
|
|
748
|
+
secondary: [{ kind: "surface-outline" }, {
|
|
749
|
+
kind: "variant",
|
|
750
|
+
role: "primary"
|
|
751
|
+
}],
|
|
752
|
+
outline: [{ kind: "surface-outline" }],
|
|
753
|
+
ghost: [{ kind: "surface-outline" }],
|
|
754
|
+
accent: [{ kind: "surface-outline" }, {
|
|
755
|
+
kind: "variant",
|
|
756
|
+
role: "primary"
|
|
757
|
+
}]
|
|
758
|
+
};
|
|
759
|
+
const STANDARD_BUTTON_SURFACE_POLICY = Object.freeze(Object.fromEntries(VARIANT_ROLES.map((role) => [role, Object.freeze([...standardButtonSurfacePolicy[role]])])));
|
|
760
|
+
function createStandardButtonSurfacePolicy() {
|
|
761
|
+
return Object.fromEntries(VARIANT_ROLES.map((role) => [role, [...STANDARD_BUTTON_SURFACE_POLICY[role]]]));
|
|
762
|
+
}
|
|
763
|
+
const buttonSizeNameSchema = z.enum([
|
|
764
|
+
"sm",
|
|
765
|
+
"md",
|
|
766
|
+
"lg",
|
|
767
|
+
"xl"
|
|
768
|
+
]);
|
|
769
|
+
//#endregion
|
|
770
|
+
export { paletteColorsFromEntries as C, parseThemeColorToken as D, parseColorTokenParts as E, themeColorTokenSchema as O, paletteColorEntries as S, paletteModeSchema as T, PALETTE_TOKEN_NAMES as _, createStandardButtonSurfacePolicy as a, isThemeColorToken as b, buttonEffectApplicationSchema as c, buttonVariantIdSchema as d, buttonVisualStatesSchema as f, VARIANT_ROLES as g, SYSTEM_BLOCK_KINDS as h, buttonSizeNameSchema as i, buttonPressOffsetSchema as l, parseOpaqueButtonColourToken as m, STANDARD_BUTTON_SURFACE_POLICY as n, isVariantRole as o, opaqueButtonColourTokenSchema as p, asSpecialVariantId as r, unsafeAsOpaqueButtonColourToken as s, DEFAULT_VARIANT_ALIAS_ID as t, buttonSystemSchema as u, blockColorTokenNames as v, paletteColorsSchema as w, normalizePaletteHex as x, hexColorSchema as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Gt as resolveBookingTimeZoneId, Ht as parseBookingLocalDate, Lt as addLocalScheduleDays, Tt as formatDate$1, Vt as getLocalScheduleDate, kt as formatTime$1, qt as parseUtcIsoDateTimeString, zt as formatLocalScheduleDate } from "./noop-ByFRHYQ2.mjs";
|
|
3
|
+
import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
|
|
5
5
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
6
6
|
//#region ../core/src/branded/appointments.ts
|
|
7
7
|
const unsafeAsAppointmentServiceId = (id) => id;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
+
import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
4
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-BeiZxEUJ.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { useCallback } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-BeiZxEUJ.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bt as toEventPaginationLoadError, Ft as eventPageOperationQuery, Gt as normalizeCsvString, It as eventPaginationLoadReducer, Kt as normalizeOptionalId, Lt as getEventIdentity, Pt as createInitialEventPaginationLoadState, Rt as getEventPaginationView, Ut as getEventRuntimeFiltersKey, Vt as toError, Wt as normalizeCsvIds, zt as planEventPageOperation } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { Bt as toEventPaginationLoadError, Ft as eventPageOperationQuery, Gt as normalizeCsvString, It as eventPaginationLoadReducer, Kt as normalizeOptionalId, Lt as getEventIdentity, Pt as createInitialEventPaginationLoadState, Rt as getEventPaginationView, Ut as getEventRuntimeFiltersKey, Vt as toError, Wt as normalizeCsvIds, zt as planEventPageOperation } from "./shop.interactive-C8OvFY06.mjs";
|
|
3
|
+
import { ii as listItemPresentation, oi as listLookSlot, qr as getBlockApiReadStage } from "./wizardSteps-CFulHWnT.mjs";
|
|
4
|
+
import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
|
|
6
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-Bt2sBBms.mjs";
|
|
7
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
8
|
+
import { r as EventItem } from "./EventItem-BIc4gjiD.mjs";
|
|
9
9
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as MediaNodeServer, Yt as CardListContentPart, _t as formatBookingSchedulePresentation, cn as formatEventPriceDisplay, on as formatEventPrice, sn as formatEventPriceAmount } from "./shop.interactive-
|
|
3
|
-
import { $r as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { $t as MediaNodeServer, Yt as CardListContentPart, _t as formatBookingSchedulePresentation, cn as formatEventPriceDisplay, on as formatEventPrice, sn as formatEventPriceAmount } from "./shop.interactive-C8OvFY06.mjs";
|
|
3
|
+
import { $r as resolveEventRegistrationScopedEvents, Cn as formatEventDateParts, Fn as formatTotalCapacity, Ja as publicEventPricingDisplay, Ka as isPublicEventPricingOptionDisplayable, Na as orderedLiveRunSessions, Pa as resolveWholeSeriesBookingPhase, Sn as formatEventCompactDateRail, Wa as formatBookingPriceDisplay, Xa as publicEventPricingType, _n as eventDateOptions, ja as CANCELLED_SESSION_STATUS, oi as listLookSlot, qa as publicEventPricingCurrency, rn as ImagePresets } from "./wizardSteps-CFulHWnT.mjs";
|
|
4
|
+
import { $t as formatCurrencyAmount, Bt as getBookingLocalDateKey, Et as formatDateRange, Ft as toScheduledBookingDateTime, Jt as toUtcIsoDateTimeString, Kt as toBookingTimeZone, Ot as formatDateTimeRange, Rt as compareLocalScheduleDates, Tt as formatDate, Vt as getLocalScheduleDate, Wt as resolveBookingBusinessTimeZone } from "./noop-ByFRHYQ2.mjs";
|
|
5
|
+
import { O as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
6
6
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
7
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
8
|
-
import { r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-
|
|
9
|
-
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
7
|
+
import { t as LocationMapActions } from "./LocationMapActions-gqzt5gkW.mjs";
|
|
8
|
+
import { r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-DP_IBnq3.mjs";
|
|
9
|
+
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-13JQI7_z.mjs";
|
|
10
10
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
11
11
|
import "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -230,6 +230,10 @@ function offeringFacts(event, places, offering) {
|
|
|
230
230
|
label: "Length",
|
|
231
231
|
value: formatEventDuration(event, "readable")
|
|
232
232
|
}] : [],
|
|
233
|
+
...offering && event.venue ? [{
|
|
234
|
+
label: "Venue",
|
|
235
|
+
value: event.venue.name
|
|
236
|
+
}] : [],
|
|
233
237
|
...places ? [{
|
|
234
238
|
label: "Places",
|
|
235
239
|
value: places,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
2
|
+
import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-C8OvFY06.mjs";
|
|
3
|
+
import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
|
|
4
|
+
import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-BIc4gjiD.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|