@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,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
2
|
+
import { t as BookingFormClient } from "./booking-form.client-CS1PPjw7.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.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-CQGlxId8.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
|
@@ -16,6 +16,7 @@ const enhance = (root, props) => {
|
|
|
16
16
|
if (!apiBaseUrl) throw new Error("[sdk:islands] booking-form requires apiBaseUrl");
|
|
17
17
|
const apiConfig = buildRouteIslandApiConfig({
|
|
18
18
|
apiBaseUrl,
|
|
19
|
+
readAuthority: props.readAuthority,
|
|
19
20
|
portalToken,
|
|
20
21
|
siteId
|
|
21
22
|
});
|
|
@@ -214,4 +214,91 @@ function assertNever(value, message) {
|
|
|
214
214
|
throw new Error(message ?? `Unexpected value: ${String(value)}`);
|
|
215
215
|
}
|
|
216
216
|
//#endregion
|
|
217
|
-
|
|
217
|
+
//#region ../blocks/src/system/runtime/shared/bookingQuestionValues.ts
|
|
218
|
+
function getInitialFieldValue(field, answers) {
|
|
219
|
+
const value = answers[field.id];
|
|
220
|
+
if (value !== void 0) return value;
|
|
221
|
+
if (field.type === "checkbox" && field.options && field.options.length > 1) return [];
|
|
222
|
+
if (field.type === "checkbox") return false;
|
|
223
|
+
if (field.type === "document_upload") return null;
|
|
224
|
+
return "";
|
|
225
|
+
}
|
|
226
|
+
/** One value per question, taken from earlier answers where there are any. */
|
|
227
|
+
function initialBookingQuestionValues(sections, answers = {}) {
|
|
228
|
+
return Object.fromEntries(sections.flatMap((section) => section.items.map((field) => [field.id, getInitialFieldValue(field, answers)])));
|
|
229
|
+
}
|
|
230
|
+
/** Where a booker starts: keeping earlier answers when we already have them. */
|
|
231
|
+
function initialBookingQuestionsAnswerMode(presentation) {
|
|
232
|
+
return presentation.kind === "already_answered" ? "keep_existing" : "answers";
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* What the submission sends. Keeping earlier answers is only possible when the
|
|
236
|
+
* presentation says we have them, so a mode left over from an earlier
|
|
237
|
+
* presentation (say the booker switched service) can't send `keep_existing`
|
|
238
|
+
* beside questions they can see and edit.
|
|
239
|
+
*/
|
|
240
|
+
function resolveBookingQuestionsAnswerMode(presentation, answerMode) {
|
|
241
|
+
return presentation.kind === "already_answered" ? answerMode : "answers";
|
|
242
|
+
}
|
|
243
|
+
/** Both booking flows submit the same decision made from the current presentation. */
|
|
244
|
+
function buildBookingQuestionsSubmission(presentation, answerMode, values) {
|
|
245
|
+
if (presentation.kind === "none" || presentation.kind === "unavailable") return void 0;
|
|
246
|
+
const requirementId = presentation.set.requirementId;
|
|
247
|
+
return resolveBookingQuestionsAnswerMode(presentation, answerMode) === "keep_existing" ? {
|
|
248
|
+
requirementId,
|
|
249
|
+
kind: "keep_existing"
|
|
250
|
+
} : {
|
|
251
|
+
requirementId,
|
|
252
|
+
kind: "answers",
|
|
253
|
+
raw: values
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
/** Starting values, seeded from earlier answers when the presentation carries them. */
|
|
257
|
+
function initialBookingQuestionsValues(presentation) {
|
|
258
|
+
switch (presentation.kind) {
|
|
259
|
+
case "none":
|
|
260
|
+
case "unavailable": return {};
|
|
261
|
+
case "ask": return initialBookingQuestionValues(presentation.set.sections);
|
|
262
|
+
case "prefill":
|
|
263
|
+
case "already_answered": return initialBookingQuestionValues(presentation.set.sections, presentation.answers);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
/** No answer given: blank text, nothing chosen, an unticked box, or no file. Mirrors the server's required check. */
|
|
267
|
+
function isUnansweredBookingQuestion(value) {
|
|
268
|
+
if (value === void 0 || value === null || value === false) return true;
|
|
269
|
+
if (typeof value === "string") return value.trim() === "";
|
|
270
|
+
if (Array.isArray(value)) return value.every((item) => item.trim() === "");
|
|
271
|
+
return false;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* The required questions still without an answer, so a flow can point at
|
|
275
|
+
* them before sending; the server makes the same check and has the last word.
|
|
276
|
+
*/
|
|
277
|
+
function unansweredRequiredBookingQuestions(sections, values) {
|
|
278
|
+
return sections.flatMap((section) => section.items.flatMap((field) => field.required && isUnansweredBookingQuestion(values[field.id]) ? [field.id] : []));
|
|
279
|
+
}
|
|
280
|
+
/** The same words the server uses when it refuses an unanswered question. */
|
|
281
|
+
const UNANSWERED_QUESTION_MESSAGE = "Please answer this question.";
|
|
282
|
+
const UNANSWERED_QUESTIONS_SUMMARY = "Some questions still need an answer.";
|
|
283
|
+
/**
|
|
284
|
+
* The during-booking questions before the details step moves on: required
|
|
285
|
+
* questions need an answer, unless the booker is keeping earlier ones. Format
|
|
286
|
+
* checks (length, email and so on) are left to the server.
|
|
287
|
+
*/
|
|
288
|
+
function checkBookingQuestionsAnswered(view) {
|
|
289
|
+
const { presentation } = view;
|
|
290
|
+
if (presentation.kind === "none") return { kind: "ok" };
|
|
291
|
+
if (presentation.kind === "unavailable") return {
|
|
292
|
+
kind: "refused",
|
|
293
|
+
message: presentation.message
|
|
294
|
+
};
|
|
295
|
+
if (view.answerMode === "keep_existing") return { kind: "ok" };
|
|
296
|
+
const missing = unansweredRequiredBookingQuestions(presentation.set.sections, view.values);
|
|
297
|
+
return missing.length === 0 ? { kind: "ok" } : {
|
|
298
|
+
kind: "unanswered",
|
|
299
|
+
message: UNANSWERED_QUESTIONS_SUMMARY,
|
|
300
|
+
fieldErrors: Object.fromEntries(missing.map((fieldId) => [fieldId, UNANSWERED_QUESTION_MESSAGE]))
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
//#endregion
|
|
304
|
+
export { omitZeroAmountFutureRows as C, resolveFlexibleBalancePaymentEligibility as D, resolveFlexibleBalanceInitialPaymentCents as E, assertNever$3 as O, getBookingInstalmentPlanIntervalCount as S, resolveFlexibleBalanceDueAt as T, reportWorkflowSuccess as _, getInitialFieldValue as a, formatOrderInstalmentStatusLabel as b, initialBookingQuestionsValues as c, assertNever as d, err as f, reportWorkflowError as g, clearWorkflowFeedback as h, checkBookingQuestionsAnswered as i, resolveBookingQuestionsAnswerMode as l, okWith as m, UNANSWERED_QUESTION_MESSAGE as n, initialBookingQuestionValues as o, ok as p, buildBookingQuestionsSubmission as r, initialBookingQuestionsAnswerMode as s, UNANSWERED_QUESTIONS_SUMMARY as t, unansweredRequiredBookingQuestions as u, addIntervalPreservingMonthAnchor as v, splitAmountWithRemainderInFirst as w, getBookingInstalmentDepositRefundability as x, clampConfiguredAmount as y };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region ../site-contracts/src/siteData/bookingQuestions.ts
|
|
3
|
+
/**
|
|
4
|
+
* The read a booking flow makes for a question set's presentation. This is
|
|
5
|
+
* its one definition: the block client and `@riverbankcms/api`'s endpoint
|
|
6
|
+
* both build on it.
|
|
7
|
+
*/
|
|
8
|
+
const BEFORE_BOOKING_QUESTIONS_ROUTE = {
|
|
9
|
+
path: "/public/sites/{siteId}/bookings/questions",
|
|
10
|
+
method: "POST"
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { BEFORE_BOOKING_QUESTIONS_ROUTE as t };
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
2
|
+
import { An as resolveRuntimeEventDestination, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, Kr as createHostedBlockApiConfig, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, Or as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, P as resolveHeadlessEventRegistrationView, Qr as normalizeEventRegistrationPageSurfaceSubject, Ur as readRuntimeNow, en as resolveRegistrationDisplay, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, kt as getSingleSelectedPricingOptionId, nr as normalizeBookingServices, tr as normalizeBookingFormConfig } from "./wizardSteps-CFulHWnT.mjs";
|
|
3
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-CS1PPjw7.mjs";
|
|
4
|
+
import { I as publicEventSchema } from "./noop-ByFRHYQ2.mjs";
|
|
5
|
+
import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-DXmIbXCK.mjs";
|
|
7
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-D9YBNb_E.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -190,12 +190,7 @@ function useEventRegistrationControllerWithDeps(options, deps) {
|
|
|
190
190
|
registration: wizard.existingRegistration
|
|
191
191
|
},
|
|
192
192
|
waitlistClaim: wizard.waitlistClaim,
|
|
193
|
-
terminal:
|
|
194
|
-
result: wizard.registrationResult,
|
|
195
|
-
errorMessage: wizard.errorMessage,
|
|
196
|
-
verification: wizard.verification,
|
|
197
|
-
paymentStatusRecovery: wizard.paymentStatusRecovery
|
|
198
|
-
},
|
|
193
|
+
terminal: projectRegistrationTerminal(wizard),
|
|
199
194
|
actions: {
|
|
200
195
|
selectEvent: wizard.handleEventSelect,
|
|
201
196
|
selectAttendanceMode: wizard.setSelectedAttendanceMode,
|
|
@@ -382,7 +377,17 @@ function projectRegistrationAttendee(wizard) {
|
|
|
382
377
|
values: wizard.formData,
|
|
383
378
|
errors: wizard.errors,
|
|
384
379
|
siteTerms: wizard.siteTerms,
|
|
385
|
-
mailingListSignup: wizard.mailingListSignup
|
|
380
|
+
mailingListSignup: wizard.mailingListSignup,
|
|
381
|
+
bookingQuestions: wizard.bookingQuestions
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
function projectRegistrationTerminal(wizard) {
|
|
385
|
+
return {
|
|
386
|
+
result: wizard.registrationResult,
|
|
387
|
+
errorMessage: wizard.errorMessage,
|
|
388
|
+
questionFieldErrors: wizard.questionFieldErrors,
|
|
389
|
+
verification: wizard.verification,
|
|
390
|
+
paymentStatusRecovery: wizard.paymentStatusRecovery
|
|
386
391
|
};
|
|
387
392
|
}
|
|
388
393
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { i as carouselRegionAttributes } from "./carousel.shared-
|
|
4
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
3
|
+
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-BD4DXMtI.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-
|
|
2
|
+
import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
|
|
3
|
+
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
4
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1667,19 +1667,56 @@ function useCarouselSelection(api) {
|
|
|
1667
1667
|
}, [api]);
|
|
1668
1668
|
return selection;
|
|
1669
1669
|
}
|
|
1670
|
-
|
|
1670
|
+
/** Subscribe so a changed visitor preference also stops an already-running carousel. */
|
|
1671
|
+
function useCarouselReducedMotion() {
|
|
1672
|
+
return React.useSyncExternalStore(subscribeReducedMotion, prefersReducedMotion, () => true);
|
|
1673
|
+
}
|
|
1674
|
+
function prefersReducedMotion() {
|
|
1675
|
+
return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
1676
|
+
}
|
|
1677
|
+
function subscribeReducedMotion(onChange) {
|
|
1678
|
+
const query = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
1679
|
+
query.addEventListener("change", onChange);
|
|
1680
|
+
return () => query.removeEventListener("change", onChange);
|
|
1681
|
+
}
|
|
1682
|
+
/**
|
|
1683
|
+
* One answer to "should it move now": not while the pointer is over the carousel or keyboard focus
|
|
1684
|
+
* is anywhere in it, arrows and dots included. Embla pauses for the pointer and for a hidden tab
|
|
1685
|
+
* (resuming only if it was playing); these listeners run after its own, so a pointer leaving or
|
|
1686
|
+
* releasing never restarts a carousel that still holds focus, and losing focus never restarts one
|
|
1687
|
+
* that's still hovered.
|
|
1688
|
+
*/
|
|
1689
|
+
function useAutoplayPauses(api, enabled) {
|
|
1671
1690
|
React.useEffect(() => {
|
|
1672
1691
|
if (!api || !enabled) return;
|
|
1673
1692
|
const autoplay = api.plugins().autoplay;
|
|
1674
1693
|
if (!autoplay) return;
|
|
1675
|
-
const
|
|
1676
|
-
|
|
1677
|
-
|
|
1694
|
+
const root = carouselRoot(api.rootNode());
|
|
1695
|
+
const held = (focusTarget = document.activeElement) => root.matches(":hover") || focusTarget instanceof Node && root.contains(focusTarget);
|
|
1696
|
+
const onFocusIn = () => autoplay.stop();
|
|
1697
|
+
const onFocusOut = (event) => {
|
|
1698
|
+
if (held(event.relatedTarget)) autoplay.stop();
|
|
1699
|
+
else if (!document.hidden) autoplay.play();
|
|
1700
|
+
};
|
|
1701
|
+
const onRelease = () => {
|
|
1702
|
+
if (held()) autoplay.stop();
|
|
1703
|
+
};
|
|
1704
|
+
root.addEventListener("focusin", onFocusIn);
|
|
1705
|
+
root.addEventListener("focusout", onFocusOut);
|
|
1706
|
+
root.addEventListener("mouseleave", onRelease);
|
|
1707
|
+
api.on("pointerUp", onRelease);
|
|
1708
|
+
return () => {
|
|
1709
|
+
root.removeEventListener("focusin", onFocusIn);
|
|
1710
|
+
root.removeEventListener("focusout", onFocusOut);
|
|
1711
|
+
root.removeEventListener("mouseleave", onRelease);
|
|
1712
|
+
api.off("pointerUp", onRelease);
|
|
1678
1713
|
};
|
|
1679
|
-
document.addEventListener("visibilitychange", handleVisibility);
|
|
1680
|
-
return () => document.removeEventListener("visibilitychange", handleVisibility);
|
|
1681
1714
|
}, [api, enabled]);
|
|
1682
1715
|
}
|
|
1716
|
+
/** Pointer and focus pauses cover the whole carousel, not only its viewport. */
|
|
1717
|
+
function carouselRoot(emblaRoot) {
|
|
1718
|
+
return emblaRoot.closest(".carousel-root") ?? emblaRoot;
|
|
1719
|
+
}
|
|
1683
1720
|
//#endregion
|
|
1684
1721
|
//#region ../blocks/src/system/runtime/nodes/carousel.client.tsx
|
|
1685
1722
|
function normalizeCarouselProps(input) {
|
|
@@ -1717,7 +1754,7 @@ const CarouselNodeClient = (props) => {
|
|
|
1717
1754
|
function EnhancedCarousel(props) {
|
|
1718
1755
|
const slides = carouselContents(props);
|
|
1719
1756
|
const [status, setStatus] = React.useState("");
|
|
1720
|
-
const { normalized, plugins, canAutoplay } = useCarouselSettings(props, slides.length);
|
|
1757
|
+
const { normalized, plugins, canAutoplay, arrangement } = useCarouselSettings(props, slides.length);
|
|
1721
1758
|
const [viewportRef, api] = useEmblaCarousel({
|
|
1722
1759
|
align: "start",
|
|
1723
1760
|
axis: "x",
|
|
@@ -1726,8 +1763,7 @@ function EnhancedCarousel(props) {
|
|
|
1726
1763
|
loop: normalized.loop
|
|
1727
1764
|
}, plugins);
|
|
1728
1765
|
const selection = useCarouselSelection(api);
|
|
1729
|
-
|
|
1730
|
-
const arrangement = props.mode === "arrangement" ? props : void 0;
|
|
1766
|
+
useAutoplayPauses(api, canAutoplay);
|
|
1731
1767
|
const announce = () => {
|
|
1732
1768
|
if (arrangement && api) setStatus(carouselStatus(api.selectedScrollSnap(), arrangement.slides));
|
|
1733
1769
|
};
|
|
@@ -1791,19 +1827,29 @@ function CarouselRoot({ props, normalized, canAutoplay, children }) {
|
|
|
1791
1827
|
children
|
|
1792
1828
|
});
|
|
1793
1829
|
}
|
|
1794
|
-
/**
|
|
1830
|
+
/** The shared owner resolves arrangement behavior; the client applies visitor preferences. */
|
|
1795
1831
|
function useCarouselSettings(props, count) {
|
|
1796
|
-
const
|
|
1797
|
-
|
|
1832
|
+
const settings = props.mode === "arrangement" ? arrangementCarouselSettings(props) : {
|
|
1833
|
+
...props,
|
|
1834
|
+
indicator: void 0
|
|
1835
|
+
};
|
|
1836
|
+
const normalized = normalizeCarouselProps(settings);
|
|
1837
|
+
const reducedMotion = useCarouselReducedMotion();
|
|
1838
|
+
const canAutoplay = normalized.autoplay && count > 1 && !reducedMotion;
|
|
1798
1839
|
return {
|
|
1799
1840
|
normalized,
|
|
1800
1841
|
plugins: React.useMemo(() => canAutoplay ? [Autoplay({
|
|
1801
1842
|
delay: normalized.autoplayDelay,
|
|
1802
1843
|
stopOnMouseEnter: true,
|
|
1803
1844
|
stopOnFocusIn: true,
|
|
1804
|
-
stopOnInteraction: false
|
|
1845
|
+
stopOnInteraction: false,
|
|
1846
|
+
rootNode: carouselRoot
|
|
1805
1847
|
})] : void 0, [canAutoplay, normalized.autoplayDelay]),
|
|
1806
|
-
canAutoplay
|
|
1848
|
+
canAutoplay,
|
|
1849
|
+
arrangement: props.mode === "arrangement" ? {
|
|
1850
|
+
...props,
|
|
1851
|
+
indicator: settings.indicator ?? props.indicator
|
|
1852
|
+
} : void 0
|
|
1807
1853
|
};
|
|
1808
1854
|
}
|
|
1809
1855
|
function CarouselFrame(props) {
|
|
@@ -45,6 +45,8 @@ function carouselShape(count, _arrangement) {
|
|
|
45
45
|
return count <= 1 ? "static" : "carousel";
|
|
46
46
|
}
|
|
47
47
|
function arrangementCarouselSettings(props) {
|
|
48
|
+
const autoAdvance = props.arrangement === "track" && props.autoAdvance === true;
|
|
49
|
+
const indicator = autoAdvance ? "dots" : props.indicator;
|
|
48
50
|
return {
|
|
49
51
|
slidesToShow: props.arrangement === "slides" ? 1 : {
|
|
50
52
|
mobile: 1,
|
|
@@ -53,11 +55,12 @@ function arrangementCarouselSettings(props) {
|
|
|
53
55
|
},
|
|
54
56
|
transition: "slide",
|
|
55
57
|
showControls: true,
|
|
56
|
-
showDots:
|
|
58
|
+
showDots: indicator === "dots",
|
|
57
59
|
arrowVisibility: "always",
|
|
58
|
-
autoplay:
|
|
60
|
+
autoplay: autoAdvance,
|
|
59
61
|
autoplayDelay: 5e3,
|
|
60
|
-
loop:
|
|
62
|
+
loop: autoAdvance,
|
|
63
|
+
indicator
|
|
61
64
|
};
|
|
62
65
|
}
|
|
63
66
|
function carouselStatus(index, slides) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-H4sv2TpD.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BeuJiGPU.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-VDbVaKY-.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-DAjrBZ74.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BeuJiGPU.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-VDbVaKY-.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|