@riverbankcms/sdk 0.166.0 → 0.167.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-Dgb-ptph.d.ts} +1 -1
- package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bs3WxFgr.d.ts} +8 -8
- package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +2 -2
- package/dist/_dts/{client-D4BXQEZc.d.ts → client-CwsI23pj.d.ts} +9 -1
- package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-CAeP_-cV.d.ts} +2 -2
- package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
- package/dist/_dts/{index-ahxQCUc7.d.ts → index-5_jf52sZ.d.ts} +2 -2
- package/dist/_dts/{index-Bmboeb49.d.ts → index-C20yUyob.d.ts} +1 -1
- package/dist/_dts/{index-DdcwPqQN.d.ts → index-CS6b1B-c.d.ts} +4 -4
- package/dist/_dts/{index-wbBZ0awa.d.ts → index-ChpjHK0U.d.ts} +498 -74
- package/dist/_dts/{index-kQ5xkM6X.d.ts → index-D7EbliE3.d.ts} +1 -1
- package/dist/_dts/{index--qflsCiy.d.ts → index-DeHDwMfu.d.ts} +3 -3
- package/dist/_dts/{index-mMMvLLAJ.d.ts → index-RugyUnqR.d.ts} +207 -11
- package/dist/_dts/{index-BgJ2aU5c.d.ts → index-bDln38Hm.d.ts} +2 -2
- package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-CTqcL7CS.d.ts} +7 -7
- package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-C3s9WMPs.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-JPwgRxwh.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 +8 -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-DuiHLiPo.d.ts → types-BlaCuPLr.d.ts} +2 -2
- package/dist/_dts/{types-BX3Y-EW3.d.ts → types-CwtTcaQP.d.ts} +3 -3
- package/dist/_dts/{types-DF54stxv.d.ts → types-D-WElMCy.d.ts} +7 -7
- package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-DOWOZYlK.mjs → BookingMailingListNote-CCVXX1LN.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +165 -16
- package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-DAeQPV76.mjs} +10 -29
- package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-Bus9R0bj.mjs} +136 -60
- package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-DPBLjGwj.mjs} +53 -6
- package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
- package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
- package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-CEumpN7i.mjs} +13 -40
- package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +13 -8
- package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-BVO-qx4q.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
- package/dist/client/{Page-DNDZLRlB.mjs → Page-D4_H_u9V.mjs} +22658 -21604
- package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-Dptantmg.mjs} +1 -1
- package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-BxEGsKUx.mjs} +18 -18
- package/dist/client/{accordion-uVqNowRX.mjs → accordion--EUHmEGa.mjs} +1 -1
- package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-BCXwOnhc.mjs} +9 -9
- package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-sHHcdism.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-Cp9xPBFZ.mjs} +1 -1
- package/dist/client/{cart-DCxjE3Is.mjs → cart-CCZZC-Lq.mjs} +3 -3
- package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-B7JfA19I.mjs} +1 -1
- package/dist/client/{checkout-B0EKbeVv.mjs → checkout-CipmYL4A.mjs} +3 -3
- package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DraalWdH.mjs} +1 -1
- package/dist/client/client.mjs +89 -6
- package/dist/client/{context-n6IZigd3.mjs → context-Cv3QHjAF.mjs} +4 -1
- package/dist/client/{cta-CDeAwYoN.mjs → cta-P2vJVTEn.mjs} +1 -1
- package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +3 -3
- package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-dLmyuPap.mjs} +1 -1
- package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-BEhC2_-Y.mjs} +11 -14
- package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
- package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
- package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
- package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-Bih-BgQM.mjs} +4 -4
- package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
- package/dist/client/{form-BeNQiZ2V.mjs → form-Bw1uuiUs.mjs} +3 -3
- package/dist/client/{form.client-BFdCKlp7.mjs → form.client-pZ-9gN33.mjs} +3 -3
- package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-PXlu6XQO.mjs} +1 -1
- package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DI3DP48e.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-CalNAShx.mjs → headerSection-BpJYUMd6.mjs} +2 -2
- package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-CSoP0cGR.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +1 -1
- package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
- package/dist/client/{noop-D-RG9eR3.mjs → noop-ByVtIWf4.mjs} +28 -4
- package/dist/client/portal/client.mjs +8 -8
- package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
- package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DEad-Pma.mjs} +1 -1
- package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-G1SMXG13.mjs} +3 -3
- package/dist/client/{productList-DjGrjOwD.mjs → productList-B21TGdpT.mjs} +3 -3
- package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-B3vIBkex.mjs} +3 -4
- package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-B8aQhJpO.mjs} +205 -178
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
- package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-B2UmrQg_.mjs} +9 -9
- package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
- package/dist/client/{shop-DLufMauE.mjs → shop-mqyoOvOK.mjs} +3 -3
- package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-BH-BBnA9.mjs} +10 -10
- package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-mdM3UMWG.mjs} +30 -6
- package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-CXF5wxdg.mjs} +2 -2
- package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
- package/dist/client/{site-styles-DELkUk9s.mjs → site-styles-D56hT2u1.mjs} +1637 -406
- package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-CrC80EOG.mjs} +11 -156
- package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-C4LOaI_Z.mjs} +2 -2
- package/dist/client/{useBookingNowIso-Da-f9iHw.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
- package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-6Q0nToVA.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
- package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-Bcs89BR5.mjs} +5 -5
- package/dist/client/{view-DAVEoe8A.mjs → view-BN-fxyfq.mjs} +16 -11
- package/dist/client/{view-8w4GA8rf.mjs → view-Dh2tGoS0.mjs} +3 -3
- package/dist/client/{wizardSteps-DNpajrAH.mjs → wizardSteps-DtkhwKXK.mjs} +17 -10
- package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-D4VjPs-r.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-Ckr2zk_L.mjs} +309 -111
- package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-KOZgw_gS.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-CyO2V4kB.mjs} +58 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-DW3uKvNF.mjs} +7 -7
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-CU9VD-7O.mjs} +17439 -16381
- package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-DBi-WybM.mjs} +2014 -381
- package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-BhkUJst9.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-BjCb6lOn.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-CKxTaC3j.mjs} +1 -1
- package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-B7MLTjBX.mjs} +1 -92
- package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-BTUc0g9X.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-Bv3nkdpV.mjs} +83 -0
- package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-4fMqzltx.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-C72VC_lR.mjs} +756 -64
- package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-B_Y_dA20.mjs} +300 -97
- package/dist/server/{bindings-DjdUq9FR.mjs → bindings-ConMYJ2U.mjs} +1 -1
- package/dist/server/{client-07UeMDzA.mjs → client-Cot-H5fQ.mjs} +88 -5
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-BkaWYEwt.mjs} +4 -4
- package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-kviUdH8c.mjs} +2 -2
- package/dist/server/metadata.mjs +5 -1
- package/dist/server/next/revalidate.mjs +9 -4
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BTnS09GS.mjs} +2 -2
- package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-itXZCXs7.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-CDyn7iLy.mjs} +132 -25
- package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +2 -2
- package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Q_Vij87H.mjs} +11752 -11549
- package/dist/server/{parseThemeForPersistence-CJMrEkze.mjs → parseThemeForPersistence-CDrF51tJ.mjs} +2 -2
- package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-DOG4MkOy.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-DlprLLsc.mjs} +3 -33
- package/dist/server/{registry-TFPJdGQi.mjs → registry-BPFcpn6k.mjs} +1326 -181
- 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 +7 -7
- package/dist/server/{resolveBlockData-OHlOXlOE.mjs → resolveBlockData-BHvfGD4y.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-OXFRGn5M.mjs} +15 -5
- package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
- package/dist/server/{schema-C2PqHrMo.mjs → schema-DEizlyi4.mjs} +4 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DIBFZeMB.mjs → validation-bl6WcAi_.mjs} +6 -6
- package/dist/server/{version-DZWZM1H6.mjs → version-BLXZ31S-.mjs} +1 -1
- package/dist/styles/index.css +696 -25
- package/package.json +1 -1
- package/dist/client/events-BmqPeeQm.mjs +0 -20
- package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
- package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ShopClient } from "./shop.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-B3vIBkex.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-BH-BBnA9.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-CXF5wxdg.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-
|
|
3
|
-
import { Un as getShopSuccessCopy } from "./wizardSteps-
|
|
2
|
+
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-mdM3UMWG.mjs";
|
|
3
|
+
import { Un as getShopSuccessCopy } from "./wizardSteps-DtkhwKXK.mjs";
|
|
4
4
|
import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-DdkY86qI.mjs";
|
|
6
6
|
import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
7
7
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-6Q0nToVA.mjs";
|
|
10
10
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
11
11
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
13
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-CM-DTX5X.mjs";
|
|
14
14
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
15
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
16
|
-
import { n as useBlockApi } from "./context-
|
|
17
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
15
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-Dh2tGoS0.mjs";
|
|
16
|
+
import { n as useBlockApi } from "./context-Cv3QHjAF.mjs";
|
|
17
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CXWZoV-d.mjs";
|
|
18
18
|
import { t as CarouselNodeClient } from "./carousel.client-BO7sCEpH.mjs";
|
|
19
|
-
import { r as formatEntitlementEnd } from "./dateFormatting-
|
|
20
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
19
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-D8D47VT4.mjs";
|
|
20
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-B7n-Z7nY.mjs";
|
|
21
21
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
23
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { h as ok, m as err, p as parseUuidBrand } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
|
-
import { $r as formatBookingPriceDisplay, An as selectEventCapacitySource, Ar as isDecodeSuccess, Bt as registrationDisplaySchema, Cr as defineInteractiveIslandMetaKeys, Dr as createZodCodec, Er as resolveEventRegistrationScopedEvents, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mn as groupPublicEventsByRun, Nr as listLookSlot, Or as defineClientOwnedBlockRuntime, Pr as lookListPresentationSchemaShape, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as createInteractiveIslandCodec, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _r as blockButtonRoleSchema, _t as formatRegistrationSchedule, an as eventCalendarWeekStart, ar as bookingNowSchema, bn as resolveRuntimeEventDestination, br as resolveDateRuntimeContext, c as registrationStepLabelContext, cn as eventLocalDateKey, cr as eventButtonVariantSchema, dr as eventLayoutSchema, ei as formatEventPricing, fn as formatEventCompactDateRail, fr as filterAutoShowSchema, hr as weekStartSchema, jr as listItemPresentation, kr as defineProgressiveBlockRuntime, lr as eventCalendarDefaultViewSchema, mr as registrationButtonVariantSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventDateLocale, or as calendarTabViewsSchema, p as isRegistrationLocked, pr as previewStageSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateOptions, sr as columnOptionSchema, t as REGISTRATION_STEP_LABELS, ui as parseEventSeriesId, ur as eventCalendarDisplayModeSchema, wn as formatRemainingPlaces, wr as eventRegistrationPageSurfaceSubjectSchema, xr as buildInteractiveIslandProps, zt as placesLeftLabel } from "./wizardSteps-
|
|
4
|
-
import { A as
|
|
3
|
+
import { $r as formatBookingPriceDisplay, An as selectEventCapacitySource, Ar as isDecodeSuccess, Bt as registrationDisplaySchema, Cr as defineInteractiveIslandMetaKeys, Dr as createZodCodec, Er as resolveEventRegistrationScopedEvents, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mn as groupPublicEventsByRun, Nr as listLookSlot, Or as defineClientOwnedBlockRuntime, Pr as lookListPresentationSchemaShape, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as createInteractiveIslandCodec, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _r as blockButtonRoleSchema, _t as formatRegistrationSchedule, an as eventCalendarWeekStart, ar as bookingNowSchema, bn as resolveRuntimeEventDestination, br as resolveDateRuntimeContext, c as registrationStepLabelContext, cn as eventLocalDateKey, cr as eventButtonVariantSchema, dr as eventLayoutSchema, ei as formatEventPricing, fn as formatEventCompactDateRail, fr as filterAutoShowSchema, hr as weekStartSchema, jr as listItemPresentation, kr as defineProgressiveBlockRuntime, lr as eventCalendarDefaultViewSchema, mr as registrationButtonVariantSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventDateLocale, or as calendarTabViewsSchema, p as isRegistrationLocked, pr as previewStageSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateOptions, sr as columnOptionSchema, t as REGISTRATION_STEP_LABELS, ui as parseEventSeriesId, ur as eventCalendarDisplayModeSchema, wn as formatRemainingPlaces, wr as eventRegistrationPageSurfaceSubjectSchema, xr as buildInteractiveIslandProps, zt as placesLeftLabel } from "./wizardSteps-DtkhwKXK.mjs";
|
|
4
|
+
import { A as isEventCalendarListLayout, At as parseBookingLocalDate, B as normalizeEventSurfacePresetsCsv, Bt as formatCurrencyAmount, D as eventListArrangementValues, E as eventCalendarVariantMeaning, Ft as parseUtcIsoDateTimeString, G as publicEventDestinationSchema, H as normalizeEventVenueId, I as normalizeEventCategoryIdsCsv, It as toUtcIsoDateTimeString, K as publicEventLoaderQuerySchemaShape, L as normalizeEventScheduleScope, M as resolveEventCalendarReadPlan, Mt as resolveBookingBusinessTimeZone, N as eventScheduleScopeValues, Nt as resolveBookingTimeZoneId, P as eventSurfaceScopeValues, R as normalizeEventStaffMemberId, S as eventCalendarListGroupingDecision, U as normalizeIdList, V as normalizeEventSurfaceScope, _t as formatTime, bt as inferSiteDateLocale, g as calendarWindowPageSchema, kt as getLocalScheduleDate, mt as formatDateRange, n as blockSiteTermsSchema, pt as formatDate, q as publicEventSchema, wt as buildBookingUtcDateWindow } from "./noop-ByVtIWf4.mjs";
|
|
5
5
|
import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { Ht as cardRoleSchema, S as resolveModeArrangement, oi as toNonEmptyReadonlyArray, zr as assertNever$2 } from "./site-styles-D56hT2u1.mjs";
|
|
7
7
|
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
8
8
|
import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
9
9
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-BLo4NtjP.mjs";
|
|
@@ -1785,6 +1785,16 @@ function buildEventListingInteractiveIslandProps(props) {
|
|
|
1785
1785
|
});
|
|
1786
1786
|
}
|
|
1787
1787
|
//#endregion
|
|
1788
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/combinedLook.ts
|
|
1789
|
+
const presentation = z.object({
|
|
1790
|
+
...lookListPresentationSchemaShape,
|
|
1791
|
+
hooks: z.record(z.string(), z.string())
|
|
1792
|
+
});
|
|
1793
|
+
const combinedLookSchema = z.object({
|
|
1794
|
+
list: presentation.extend({ arrangement: z.enum(eventListArrangementValues) }),
|
|
1795
|
+
month: presentation.extend({ arrangement: z.enum(["month-grid", "month-day"]) })
|
|
1796
|
+
});
|
|
1797
|
+
//#endregion
|
|
1788
1798
|
//#region ../blocks/src/system/blocks/events/recurring-schedule-projection.ts
|
|
1789
1799
|
const weekdayOrder = [
|
|
1790
1800
|
"Monday",
|
|
@@ -2077,6 +2087,7 @@ const eventCalendarSourceSchema = z.object({
|
|
|
2077
2087
|
seeAllButtonVariant: eventButtonVariantSchema.nullable().optional(),
|
|
2078
2088
|
effectiveListArrangementKey: z.enum(eventListArrangementValues).nullable().optional(),
|
|
2079
2089
|
listBy: z.enum(["upcoming", "week"]).optional(),
|
|
2090
|
+
combinedLook: combinedLookSchema.optional(),
|
|
2080
2091
|
monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
|
|
2081
2092
|
variant: eventCalendarDisplayModeSchema.nullable().optional(),
|
|
2082
2093
|
displayMode: eventCalendarDisplayModeSchema.nullable().optional(),
|
|
@@ -2092,6 +2103,7 @@ const eventCalendarDisplaySchema = z.object({
|
|
|
2092
2103
|
schedule: recurringScheduleProjectionSchema.optional(),
|
|
2093
2104
|
seeAllButtonVariant: eventButtonVariantSchema,
|
|
2094
2105
|
listBy: z.literal("week").optional(),
|
|
2106
|
+
combinedLook: combinedLookSchema.optional(),
|
|
2095
2107
|
monthArrangement: z.enum(["month-grid", "month-day"]).optional(),
|
|
2096
2108
|
kind: z.literal("event-calendar"),
|
|
2097
2109
|
displayMode: eventCalendarDisplayModeSchema,
|
|
@@ -2127,13 +2139,14 @@ function normalizeOptionalText(value) {
|
|
|
2127
2139
|
return trimmed.length > 0 ? trimmed : void 0;
|
|
2128
2140
|
}
|
|
2129
2141
|
function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.effectiveListArrangementKey ?? resolveCalendarListArrangement(source)) {
|
|
2130
|
-
const
|
|
2142
|
+
const presentation = combinedCalendarPresentation(source, effectiveListArrangementKey);
|
|
2131
2143
|
return {
|
|
2132
2144
|
...buildEventCollectionDisplay({
|
|
2133
2145
|
...source,
|
|
2134
|
-
|
|
2146
|
+
...presentation,
|
|
2135
2147
|
listColumns: source.listColumns ?? source.columns
|
|
2136
2148
|
}),
|
|
2149
|
+
...presentation,
|
|
2137
2150
|
...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
|
|
2138
2151
|
...calendarListGrouping(source),
|
|
2139
2152
|
...weekListPaging(source),
|
|
@@ -2259,6 +2272,17 @@ function calendarRecurringWeekPresentation(source) {
|
|
|
2259
2272
|
seeAllButtonVariant: source.seeAllButtonVariant ?? "secondary"
|
|
2260
2273
|
};
|
|
2261
2274
|
}
|
|
2275
|
+
/** A resolved composition owns the layout and the allowed calendar view. */
|
|
2276
|
+
function combinedCalendarPresentation(source, listLayout) {
|
|
2277
|
+
const combinedLook = source.combinedLook;
|
|
2278
|
+
return combinedLook ? {
|
|
2279
|
+
...combinedLook.list,
|
|
2280
|
+
combinedLook,
|
|
2281
|
+
listLayout: combinedLook.list.arrangement,
|
|
2282
|
+
calendarTabViews: "month",
|
|
2283
|
+
defaultCalendarView: "month"
|
|
2284
|
+
} : { listLayout };
|
|
2285
|
+
}
|
|
2262
2286
|
//#endregion
|
|
2263
2287
|
//#region ../blocks/src/system/runtime/nodes/events/EventCombined.interactive.ts
|
|
2264
2288
|
const eventCombinedSourceSchema = z.object({ ...eventCollectionSourceSchemaShape });
|
|
@@ -5062,4 +5086,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
5062
5086
|
};
|
|
5063
5087
|
}
|
|
5064
5088
|
//#endregion
|
|
5065
|
-
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $,
|
|
5089
|
+
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, MediaNodeServer as $t, parseStoredCommerceCartState as A, combinedLookSchema as At, giftingBlockRuntime as B, toEventPaginationLoadError as Bt, membershipCardListContent as C, DEFAULT_MAILING_LIST_TARGETING as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, 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, 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, parseMailingListVisitorSelection as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, parseContentVersionId 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 _, publicMembershipProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, weekColumnDays as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, assessMailingListTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, formatEventPriceDisplay as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, isHeaderScrollRuntimeEnabled as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getCardOrientation as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, resolveHeaderChromeRuntimeContract as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, splitSiteChromePlacementClasses as gn, bookingPanelHeading as gt, shopBlockRuntime as h, planSiteChromePlacement as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, eventListWeekDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, resolveEventSelection as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, parseHeaderPositioning 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, staticHeaderChromeRuntime 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, headerChromeRuntimeContractSchema as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, publicPassProductCollectionSchema as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, sameMailingListPlacementTargeting as wn, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListPlacementTargeting as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, buildMailingListSignupBlockSourceRef 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-Cv3QHjAF.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-DbHX4JOS.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|