@riverbankcms/sdk 0.163.0 → 0.165.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/README.md +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
- package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
- package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
- package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
- package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
- package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/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/index.d.ts +7 -7
- 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/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 +32 -52
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
- package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
- package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
- package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
- package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
- package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
- package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
- package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
- package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
- package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
- package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
- package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
- package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
- package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -4
- package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
- package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
- package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BV5xfaZH.mjs +894 -0
- package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +11 -7
- package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
- package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
- package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
- package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
- package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
- package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
- package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
- package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
- package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
- package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
- package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
- package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +1173 -72
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
- package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import { $t as
|
|
4
|
-
import {
|
|
3
|
+
import { $t as getCardOrientation, At as buildEventListingInteractiveIslandProps, B as giftingBlockRuntime, Ct as buildEventCalendarInteractiveIslandProps, Et as eventCalendarBlockRuntime, F as buildNewsletterFormInteractiveIslandProps, H as publicGiftingOffersResponseSchema, I as newsletterBlockSubmissionMessage, Kt as catalogueEventCardProps, L as newsletterFormBlockRuntime, N as publicProductsResponseSchema, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, Qt as MediaNodeServer, Sn as DEFAULT_MAILING_LIST_TARGETING, U as buildFormInteractiveIslandProps, W as formBlockRuntime, Y as eventRegistrationBlockRuntime, _ as shopProductPresentation, _n as publicPassProductCollectionSchema, a as buildShopInteractiveIslandProps, an as formatEventPrice, bn as parseMailingListPlacementTargeting, bt as buildEventCombinedListingDisplay, c as checkoutBlockRuntime, ct as resolveOfferingsPreviewGroupCta, d as productDetailBlockRuntime, en as getContainerClass, fn as staticHeaderChromeRuntime, gn as publicMembershipProductCollectionSchema, h as shopBlockRuntime, hn as splitSiteChromePlacementClasses, i as buildProductListInteractiveIslandProps, jt as eventListingBlockRuntime, kt as recurringScheduleProjectionSchema, lt as resolveOfferingsPreviewGroups, n as buildCheckoutInteractiveIslandProps, nn as buildEventListWeek, nt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, o as cartBlockRuntime, ot as normalizeOfferingsPreviewItemLimit, p as productListBlockRuntime, q as buildEventRegistrationInteractiveIslandProps, qt as listingEventCardProps, r as buildProductDetailInteractiveIslandProps, rn as eventListWeekDays, rt as buildOfferingsPreviewListing, sn as formatEventPriceDisplay, st as offeringsListingFor, t as buildCartInteractiveIslandProps, tn as Grid, ut as resolveOfferingsRenderInput, vt as occurrenceContextSchema, wt as buildEventCalendarListingDisplay, xt as eventCombinedBlockRuntime, yn as assessMailingListTargeting, yt as buildEventCombinedInteractiveIslandProps, z as buildGiftingInteractiveIslandProps } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
4
|
+
import { E as ICON_CONFIG, Nr as err, Pr as ok, U as cardVariantRoleValues, cn as backgroundColorStyle, cr as runtimeMediaSchema, dn as mergeStyles, en as serializeSurfaceTree, fn as rgbColorValue, on as resolveThemeColorReferenceValue, pn as textColorStyle, vt as arrangementModes } from "./schema-BdSglH2X.mjs";
|
|
5
5
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
6
6
|
import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, G as publicEventsArraySchema, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, Nt as toUtcIsoDateTimeString, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, Z as RichTextDocSchema, at as parseLocationValue, ct as toLocationCoordinates, it as normalizeLocationAddressText, kt as resolveBookingBusinessTimeZone, ot as projectPublicLocation, p as calendarWindowPageSchema, st as publicLocationSchema$1, ut as formatDate, x as eventCalendarListLayoutOptions, z as normalizeEventVenueId } from "./noop-
|
|
7
|
+
import { An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Er as normalizeEventRegistrationPageSurfaceSubject, Fn as buildBookingFormInteractiveIslandProps, Fr as lookListPresentationSchemaShape, Hr as orderedLiveRunSessions, Kt as RichText, Mr as listItemPresentation, Nn as groupPublicEventsByRun, On as getEventAvailabilityStatus, Pr as listLookSlot, Rr as parseAspectRatioValue, Ur as resolveWholeSeriesBookingPhase, Vr as nextLiveRunSessionStartMs, _n as formatEventTimeRange, _r as BLOCK_BUTTON_ROLE_OPTIONS, an as buildCalendarViewport, ci as resolvePricingOptionsPriceDisplay, cn as eventDateOptions, ei as formatBookingPriceDisplay, hn as formatEventHourLabel, in as sanitizeHref, pn as formatEventCompactDateRail, qt as ImagePresets, rn as resolvePublicMediaUrl, si as resolveExactOrFreePriceDisplay, un as formatCalendarTitle, vn as formatTime, xn as resolveRuntimeEventDestination, yn as groupEventsByDate, yr as isBlockButtonRole } from "./wizardSteps-DManVJpc.mjs";
|
|
8
|
+
import { C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, E as isEventCalendarDisplayMode, F as normalizeEventStaffMemberId, G as publicEventsArraySchema, I as normalizeEventSurfacePresets, M as normalizeEventCategoryIds, Nt as toUtcIsoDateTimeString, O as normalizeEventCalendarDisplayMode$1, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, T as isEventCalendarDefaultView, Z as RichTextDocSchema, at as parseLocationValue, ct as toLocationCoordinates, it as normalizeLocationAddressText, kt as resolveBookingBusinessTimeZone, ot as projectPublicLocation, p as calendarWindowPageSchema, st as publicLocationSchema$1, ut as formatDate, x as eventCalendarListLayoutOptions, z as normalizeEventVenueId } from "./noop-CQU7tiMg.mjs";
|
|
9
9
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
10
|
-
import { a as MonthLookView, c as ButtonNode, d as TextNode, f as LocationMapView, i as buildWeekBoardViewProps, l as LinkNode, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, s as RecurringSchedule, t as buildTimetableModel, u as RichTextNode } from "./timetableModel-
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { i as SvgNode } from "./MapDrawingSvg-
|
|
18
|
-
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-
|
|
10
|
+
import { a as MonthLookView, c as ButtonNode, d as TextNode, f as LocationMapView, i as buildWeekBoardViewProps, l as LinkNode, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, s as RecurringSchedule, t as buildTimetableModel, u as RichTextNode } from "./timetableModel-Dynh5-j4.mjs";
|
|
11
|
+
import { C as compiledRuntimeStyleFieldNames, p as arrangementSlotNames } from "./site-styles-CWHmlVT5.mjs";
|
|
12
|
+
import { a as resolveEventDetailsPresentation, i as derivePreviewRunSchedule, n as eventCardListContent, r as deriveEventScheduleSummary, t as EventDetailsView } from "./view-DlkCDfuN.mjs";
|
|
13
|
+
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-Bw-al3cs.mjs";
|
|
14
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, s as formatEventLocation } from "./CalendarNavigationChevron-YGzw2IPB.mjs";
|
|
15
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-dILw2PN_.mjs";
|
|
16
|
+
import { C as clsx, S as PlusIcon, _ as FileArchiveIcon, a as ThemedDownloadLink, b as FileTextIcon, c as ICON_PICKER_PRESETS, d as ArrowDownIcon, f as ChevronDownIcon, i as ThemedButtonLink, l as isSemanticIconId, m as CirclePlusIcon, p as CircleMinusIcon, r as ThemedButton, s as getIconComponent, u as SpinnerNode, v as FileAudioIcon, x as MinusIcon, y as FileSpreadsheetIcon } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
17
|
+
import { i as SvgNode } from "./MapDrawingSvg-D1AO_o4h.mjs";
|
|
18
|
+
import { S as asPartialObject, d as resolveCardRoleForBoxStyles, g as DEFAULT_SECTION_SPACING, i as EventCard, n as EmptyState, r as EventCompactRow, s as boxStyleClassNames, t as EventListingFrameView, u as normalizeBoxStylesBorder } from "./EventListing.view-DtVbKVkt.mjs";
|
|
19
19
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-Bqlyu5Vb.mjs";
|
|
20
20
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
21
21
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-DBnWEJzo.mjs";
|
|
22
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
22
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-spWtx86G.mjs";
|
|
23
23
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
24
|
-
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
25
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
26
|
-
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
27
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
28
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
24
|
+
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-DXOuduIr.mjs";
|
|
25
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-ClgLtjNY.mjs";
|
|
26
|
+
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-udNHcpOT.mjs";
|
|
27
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Djos5Un4.mjs";
|
|
28
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-CLGH20PL.mjs";
|
|
29
29
|
import React, { forwardRef } from "react";
|
|
30
30
|
import { z } from "zod";
|
|
31
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -228,6 +228,7 @@ function createButtonGroup(options = {}) {
|
|
|
228
228
|
...defaultVariant ? { defaultValue: defaultVariant } : {},
|
|
229
229
|
ui: {
|
|
230
230
|
intent: "style",
|
|
231
|
+
underLooks: "owner",
|
|
231
232
|
widget: "buttonVariant"
|
|
232
233
|
}
|
|
233
234
|
},
|
|
@@ -268,6 +269,7 @@ function createButtonGroup(options = {}) {
|
|
|
268
269
|
maxLength: 64,
|
|
269
270
|
ui: {
|
|
270
271
|
intent: "style",
|
|
272
|
+
underLooks: "owner",
|
|
271
273
|
widget: "iconPicker",
|
|
272
274
|
iconPickerPreset: "cta"
|
|
273
275
|
}
|
|
@@ -280,6 +282,7 @@ function createButtonGroup(options = {}) {
|
|
|
280
282
|
maxLength: 64,
|
|
281
283
|
ui: {
|
|
282
284
|
intent: "style",
|
|
285
|
+
underLooks: "owner",
|
|
283
286
|
widget: "iconPicker",
|
|
284
287
|
iconPickerPreset: "cta"
|
|
285
288
|
}
|
|
@@ -1079,7 +1082,7 @@ const eventDisplayFields = [
|
|
|
1079
1082
|
description: "Shows the venue's name and address.",
|
|
1080
1083
|
required: false,
|
|
1081
1084
|
defaultValue: true,
|
|
1082
|
-
ui: { intent: "
|
|
1085
|
+
ui: { intent: "behavior" }
|
|
1083
1086
|
},
|
|
1084
1087
|
{
|
|
1085
1088
|
id: "showMap",
|
|
@@ -1088,7 +1091,7 @@ const eventDisplayFields = [
|
|
|
1088
1091
|
description: "Shows a map when the event's venue has a location set.",
|
|
1089
1092
|
required: false,
|
|
1090
1093
|
defaultValue: true,
|
|
1091
|
-
ui: { intent: "
|
|
1094
|
+
ui: { intent: "behavior" }
|
|
1092
1095
|
},
|
|
1093
1096
|
{
|
|
1094
1097
|
id: "showCapacity",
|
|
@@ -1097,7 +1100,7 @@ const eventDisplayFields = [
|
|
|
1097
1100
|
description: "Shows how many places are left.",
|
|
1098
1101
|
required: false,
|
|
1099
1102
|
defaultValue: true,
|
|
1100
|
-
ui: { intent: "
|
|
1103
|
+
ui: { intent: "behavior" }
|
|
1101
1104
|
}
|
|
1102
1105
|
];
|
|
1103
1106
|
/**
|
|
@@ -1112,7 +1115,7 @@ const emptyStateField = {
|
|
|
1112
1115
|
multiline: false,
|
|
1113
1116
|
defaultValue: "No upcoming events scheduled.",
|
|
1114
1117
|
maxLength: 200,
|
|
1115
|
-
ui: { intent: "
|
|
1118
|
+
ui: { intent: "behavior" }
|
|
1116
1119
|
};
|
|
1117
1120
|
/**
|
|
1118
1121
|
* Layout selection field with grid/stack options
|
|
@@ -2098,6 +2101,12 @@ const uiSchema = z.object({
|
|
|
2098
2101
|
"behavior",
|
|
2099
2102
|
"style"
|
|
2100
2103
|
]).optional(),
|
|
2104
|
+
/**
|
|
2105
|
+
* Under an arrangement Look, `display` and `style` fields belong to the
|
|
2106
|
+
* Look. `'owner'` keeps a presentation choice with the owner anyway, such
|
|
2107
|
+
* as primary or secondary on a button they added.
|
|
2108
|
+
*/
|
|
2109
|
+
underLooks: z.literal("owner").optional(),
|
|
2101
2110
|
valueContract: z.enum(["boxBackground", "location"]).optional()
|
|
2102
2111
|
}).partial().superRefine((ui, ctx) => {
|
|
2103
2112
|
if (ui.layoutGridColumns !== void 0 && ui.layoutGridColumnsFields !== void 0) ctx.addIssue({
|
|
@@ -2573,8 +2582,6 @@ z.object({
|
|
|
2573
2582
|
}).optional()
|
|
2574
2583
|
}).optional(),
|
|
2575
2584
|
promotedFields: z.array(z.string().min(1)).optional(),
|
|
2576
|
-
/** Legacy presentation fields owned by arrangement Looks, including nested schema paths. */
|
|
2577
|
-
arrangementOwnedFieldIds: z.array(z.string().min(1)).readonly().optional(),
|
|
2578
2585
|
variantMeaning: z.discriminatedUnion("kind", [z.object({
|
|
2579
2586
|
kind: z.literal("arrangement"),
|
|
2580
2587
|
lookOnlyKeys: z.array(z.string().min(1)).readonly().optional()
|
|
@@ -2657,7 +2664,8 @@ function pageTemplateFromEntry(entry) {
|
|
|
2657
2664
|
//#region ../blocks/src/system/blocks/readiness.ts
|
|
2658
2665
|
const newsletterReadiness = {
|
|
2659
2666
|
needs: ["mailingList"],
|
|
2660
|
-
assess: (content, facts) => {
|
|
2667
|
+
assess: (content, facts, interaction) => {
|
|
2668
|
+
if (interaction?.kind === "demo") return ready;
|
|
2661
2669
|
if (facts.mailingList.kind === "Unavailable") return unknownReadiness;
|
|
2662
2670
|
const targeting = parseMailingListPlacementTargeting(content.targeting ?? { mode: "default" });
|
|
2663
2671
|
if (!targeting.ok) return unknownReadiness;
|
|
@@ -2989,45 +2997,24 @@ function resolveBlockIconRenderValue(value, generatedAssets = /* @__PURE__ */ ne
|
|
|
2989
2997
|
}
|
|
2990
2998
|
}
|
|
2991
2999
|
//#endregion
|
|
2992
|
-
//#region ../blocks/src/system/
|
|
2993
|
-
/**
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
/** Compiler-owned slots are absent for legacy Looks, preserving their HTML. */
|
|
3001
|
-
const lookSlot = (name, source = "look") => source === "skin" ? { "data-slot": { $bind: {
|
|
3002
|
-
from: "theme.skin",
|
|
3003
|
-
transforms: [{
|
|
3004
|
-
id: "look.skinSlot",
|
|
3005
|
-
options: { slot: name }
|
|
3006
|
-
}]
|
|
3007
|
-
} } } : { "data-slot": { $bind: { from: `content._lookSlots.${name}` } } };
|
|
3008
|
-
/** Non-Look widgets expose section geometry only when a theme has a skin. */
|
|
3009
|
-
const lookSkinSlotTransform = {
|
|
3010
|
-
id: "look.skinSlot",
|
|
3011
|
-
kind: "string",
|
|
3012
|
-
run: (value, options) => typeof value === "string" && value.length > 0 ? arrangementSlotNames.find((slot) => slot === asPartialObject(options)?.slot) : void 0
|
|
3013
|
-
};
|
|
3014
|
-
const lookLeadSlotTransform = {
|
|
3015
|
-
id: "look.leadSlot",
|
|
3016
|
-
kind: "string",
|
|
3017
|
-
run: (value, _options, context) => asPartialObject(context.viewModel?.content)?._lookSlots === void 0 ? void 0 : value === 0 ? "lead" : "item"
|
|
3018
|
-
};
|
|
3019
|
-
const lookQuoteLimitTransform = {
|
|
3020
|
-
id: "look.quoteLimit",
|
|
3021
|
-
kind: "string",
|
|
3022
|
-
run: (value) => testimonialLoaderLimit(asPartialObject(value) ?? {})
|
|
3023
|
-
};
|
|
3024
|
-
/** Blank headings use the same non-empty region fallback as absent headings. */
|
|
3025
|
-
const lookCarouselRegionTransform = {
|
|
3026
|
-
schema: z.object({ fallback: z.string().trim().min(1) }),
|
|
3027
|
-
id: "look.carouselRegion",
|
|
3028
|
-
kind: "string",
|
|
3029
|
-
run: (value, options) => typeof value === "string" && value.trim() ? value.trim() : options?.fallback ?? "Carousel"
|
|
3000
|
+
//#region ../blocks/src/system/helpers/api-bindings.ts
|
|
3001
|
+
/**
|
|
3002
|
+
* Standard API bindings that all interactive blocks need.
|
|
3003
|
+
*/
|
|
3004
|
+
const apiBindings = {
|
|
3005
|
+
now: { $bind: { from: "$root.now" } },
|
|
3006
|
+
siteId: { $bind: { from: "$root.siteId" } },
|
|
3007
|
+
apiBaseUrl: { $bind: { from: "$root.apiBaseUrl" } }
|
|
3030
3008
|
};
|
|
3009
|
+
function withApiBindings(props, options) {
|
|
3010
|
+
return {
|
|
3011
|
+
...options?.includeApiBaseUrl ?? true ? apiBindings : {
|
|
3012
|
+
siteId: apiBindings.siteId,
|
|
3013
|
+
now: apiBindings.now
|
|
3014
|
+
},
|
|
3015
|
+
...props
|
|
3016
|
+
};
|
|
3017
|
+
}
|
|
3031
3018
|
//#endregion
|
|
3032
3019
|
//#region ../blocks/src/utils/env.ts
|
|
3033
3020
|
/**
|
|
@@ -3209,6 +3196,46 @@ function devValidate(node) {
|
|
|
3209
3196
|
return node;
|
|
3210
3197
|
}
|
|
3211
3198
|
//#endregion
|
|
3199
|
+
//#region ../blocks/src/system/customize/testimonialCount.ts
|
|
3200
|
+
/** The loader consumes the content-stage plan; it never selects a Look. */
|
|
3201
|
+
function testimonialLoaderLimit(content) {
|
|
3202
|
+
if (typeof content._quoteLoaderLimit === "string") return content._quoteLoaderLimit;
|
|
3203
|
+
return typeof content.maxEntries === "string" || typeof content.maxEntries === "number" ? String(content.maxEntries) : "6";
|
|
3204
|
+
}
|
|
3205
|
+
//#endregion
|
|
3206
|
+
//#region ../blocks/src/system/node/fragments/lookSlot.ts
|
|
3207
|
+
/** Compiler-owned slots are absent for legacy Looks, preserving their HTML. */
|
|
3208
|
+
const lookSlot = (name, source = "look") => source === "skin" ? { "data-slot": { $bind: {
|
|
3209
|
+
from: "theme.skin",
|
|
3210
|
+
transforms: [{
|
|
3211
|
+
id: "look.skinSlot",
|
|
3212
|
+
options: { slot: name }
|
|
3213
|
+
}]
|
|
3214
|
+
} } } : { "data-slot": { $bind: { from: `content._lookSlots.${name}` } } };
|
|
3215
|
+
/** Non-Look widgets expose section geometry only when a theme has a skin. */
|
|
3216
|
+
const lookSkinSlotTransform = {
|
|
3217
|
+
id: "look.skinSlot",
|
|
3218
|
+
kind: "string",
|
|
3219
|
+
run: (value, options) => typeof value === "string" && value.length > 0 ? arrangementSlotNames.find((slot) => slot === asPartialObject(options)?.slot) : void 0
|
|
3220
|
+
};
|
|
3221
|
+
const lookLeadSlotTransform = {
|
|
3222
|
+
id: "look.leadSlot",
|
|
3223
|
+
kind: "string",
|
|
3224
|
+
run: (value, _options, context) => asPartialObject(context.viewModel?.content)?._lookSlots === void 0 ? void 0 : value === 0 ? "lead" : "item"
|
|
3225
|
+
};
|
|
3226
|
+
const lookQuoteLimitTransform = {
|
|
3227
|
+
id: "look.quoteLimit",
|
|
3228
|
+
kind: "string",
|
|
3229
|
+
run: (value) => testimonialLoaderLimit(asPartialObject(value) ?? {})
|
|
3230
|
+
};
|
|
3231
|
+
/** Blank headings use the same non-empty region fallback as absent headings. */
|
|
3232
|
+
const lookCarouselRegionTransform = {
|
|
3233
|
+
schema: z.object({ fallback: z.string().trim().min(1) }),
|
|
3234
|
+
id: "look.carouselRegion",
|
|
3235
|
+
kind: "string",
|
|
3236
|
+
run: (value, options) => typeof value === "string" && value.trim() ? value.trim() : options?.fallback ?? "Carousel"
|
|
3237
|
+
};
|
|
3238
|
+
//#endregion
|
|
3212
3239
|
//#region ../blocks/src/system/node/fragments/backgroundLayer.ts
|
|
3213
3240
|
const BACKGROUND_FRAME_BASE_CLASS = "rb-background-frame rb-absolute rb-inset-0 rb-z-neg-10 rb-h-full rb-w-full rb-isolate rb-pointer-events-none";
|
|
3214
3241
|
/**
|
|
@@ -3897,25 +3924,6 @@ const formCopyFragment = defineFragment({
|
|
|
3897
3924
|
} }), bind("content.intro"))]
|
|
3898
3925
|
});
|
|
3899
3926
|
//#endregion
|
|
3900
|
-
//#region ../blocks/src/system/helpers/api-bindings.ts
|
|
3901
|
-
/**
|
|
3902
|
-
* Standard API bindings that all interactive blocks need.
|
|
3903
|
-
*/
|
|
3904
|
-
const apiBindings = {
|
|
3905
|
-
now: { $bind: { from: "$root.now" } },
|
|
3906
|
-
siteId: { $bind: { from: "$root.siteId" } },
|
|
3907
|
-
apiBaseUrl: { $bind: { from: "$root.apiBaseUrl" } }
|
|
3908
|
-
};
|
|
3909
|
-
function withApiBindings(props, options) {
|
|
3910
|
-
return {
|
|
3911
|
-
...options?.includeApiBaseUrl ?? true ? apiBindings : {
|
|
3912
|
-
siteId: apiBindings.siteId,
|
|
3913
|
-
now: apiBindings.now
|
|
3914
|
-
},
|
|
3915
|
-
...props
|
|
3916
|
-
};
|
|
3917
|
-
}
|
|
3918
|
-
//#endregion
|
|
3919
3927
|
//#region ../blocks/src/system/fragments/library/formEmbed.ts
|
|
3920
3928
|
const formEmbedFragment = defineFragment({
|
|
3921
3929
|
variantMeaning: { kind: "arrangement" },
|
|
@@ -4060,6 +4068,7 @@ const newsletterFormFragment = defineFragment({
|
|
|
4060
4068
|
}
|
|
4061
4069
|
],
|
|
4062
4070
|
layout: [el("newsletter-form", withApiBindings({
|
|
4071
|
+
interactionContext: { $bind: { from: "$root.interactionContext" } },
|
|
4063
4072
|
lookSlots: { $bind: { from: "content._lookSlots" } },
|
|
4064
4073
|
source: { $bind: {
|
|
4065
4074
|
from: "mailingListSource",
|
|
@@ -4135,7 +4144,6 @@ function createBlockManifest(config) {
|
|
|
4135
4144
|
icon: config.icon ?? "Box",
|
|
4136
4145
|
layout,
|
|
4137
4146
|
variants,
|
|
4138
|
-
arrangementOwnedFieldIds: config.arrangementOwnedFieldIds,
|
|
4139
4147
|
variantMeaning: config.variantMeaning,
|
|
4140
4148
|
defaultVariant: config.defaultVariant,
|
|
4141
4149
|
variantOptions: config.variantOptions,
|
|
@@ -5308,6 +5316,31 @@ const eventListingBlockDefinition = {
|
|
|
5308
5316
|
} }
|
|
5309
5317
|
};
|
|
5310
5318
|
//#endregion
|
|
5319
|
+
//#region ../blocks/src/system/blocks/events/eventSelectionChips.ts
|
|
5320
|
+
/** The event types a calendar can be narrowed to, in the order they're offered. */
|
|
5321
|
+
const EVENT_SELECTION_TYPE_OPTIONS = [
|
|
5322
|
+
{
|
|
5323
|
+
value: "course",
|
|
5324
|
+
label: "Courses"
|
|
5325
|
+
},
|
|
5326
|
+
{
|
|
5327
|
+
value: "class",
|
|
5328
|
+
label: "Classes"
|
|
5329
|
+
},
|
|
5330
|
+
{
|
|
5331
|
+
value: "workshop",
|
|
5332
|
+
label: "Workshops"
|
|
5333
|
+
},
|
|
5334
|
+
{
|
|
5335
|
+
value: "retreat",
|
|
5336
|
+
label: "Retreats"
|
|
5337
|
+
},
|
|
5338
|
+
{
|
|
5339
|
+
value: "performance",
|
|
5340
|
+
label: "Performances"
|
|
5341
|
+
}
|
|
5342
|
+
];
|
|
5343
|
+
//#endregion
|
|
5311
5344
|
//#region ../blocks/src/system/blocks/events/eventSelectionFields.ts
|
|
5312
5345
|
const eventSelectionFields = [{
|
|
5313
5346
|
id: "eventSelection",
|
|
@@ -5790,7 +5823,7 @@ const eventCalendarAdditionalFields = [
|
|
|
5790
5823
|
label: "Week"
|
|
5791
5824
|
}],
|
|
5792
5825
|
ui: {
|
|
5793
|
-
intent: "
|
|
5826
|
+
intent: "behavior",
|
|
5794
5827
|
visibleWhen: {
|
|
5795
5828
|
field: "variant",
|
|
5796
5829
|
equals: "list"
|
|
@@ -5904,7 +5937,7 @@ const eventCalendarAdditionalFields = [
|
|
|
5904
5937
|
}
|
|
5905
5938
|
],
|
|
5906
5939
|
ui: {
|
|
5907
|
-
intent: "
|
|
5940
|
+
intent: "behavior",
|
|
5908
5941
|
visibleWhen: {
|
|
5909
5942
|
field: "variant",
|
|
5910
5943
|
oneOf: ["combined", "list"]
|
|
@@ -5934,7 +5967,7 @@ const eventCalendarAdditionalFields = [
|
|
|
5934
5967
|
}
|
|
5935
5968
|
],
|
|
5936
5969
|
ui: {
|
|
5937
|
-
intent: "
|
|
5970
|
+
intent: "behavior",
|
|
5938
5971
|
visibleWhen: {
|
|
5939
5972
|
field: "variant",
|
|
5940
5973
|
oneOf: ["combined", "list"]
|
|
@@ -5947,7 +5980,7 @@ const eventCalendarAdditionalFields = [
|
|
|
5947
5980
|
label: "Link to the full list",
|
|
5948
5981
|
required: false,
|
|
5949
5982
|
ui: {
|
|
5950
|
-
intent: "
|
|
5983
|
+
intent: "behavior",
|
|
5951
5984
|
visibleWhen: { anyOf: [{ allOf: [{
|
|
5952
5985
|
field: "variant",
|
|
5953
5986
|
oneOf: ["combined", "list"]
|
|
@@ -5969,7 +6002,7 @@ const eventCalendarAdditionalFields = [
|
|
|
5969
6002
|
multiline: false,
|
|
5970
6003
|
defaultValue: "Load more events",
|
|
5971
6004
|
ui: {
|
|
5972
|
-
intent: "
|
|
6005
|
+
intent: "behavior",
|
|
5973
6006
|
visibleWhen: {
|
|
5974
6007
|
field: "variant",
|
|
5975
6008
|
oneOf: [
|
|
@@ -5996,7 +6029,7 @@ const eventCalendarAdditionalFields = [
|
|
|
5996
6029
|
label: "Monday"
|
|
5997
6030
|
}],
|
|
5998
6031
|
ui: {
|
|
5999
|
-
intent: "
|
|
6032
|
+
intent: "behavior",
|
|
6000
6033
|
visibleWhen: {
|
|
6001
6034
|
field: "variant",
|
|
6002
6035
|
oneOf: [
|
|
@@ -6032,7 +6065,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6032
6065
|
}
|
|
6033
6066
|
],
|
|
6034
6067
|
ui: {
|
|
6035
|
-
intent: "
|
|
6068
|
+
intent: "behavior",
|
|
6036
6069
|
visibleWhen: {
|
|
6037
6070
|
field: "variant",
|
|
6038
6071
|
equals: "combined"
|
|
@@ -6076,7 +6109,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6076
6109
|
required: false,
|
|
6077
6110
|
defaultValue: true,
|
|
6078
6111
|
ui: {
|
|
6079
|
-
intent: "
|
|
6112
|
+
intent: "behavior",
|
|
6080
6113
|
visibleWhen: {
|
|
6081
6114
|
field: "variant",
|
|
6082
6115
|
oneOf: [
|
|
@@ -6112,7 +6145,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6112
6145
|
}
|
|
6113
6146
|
],
|
|
6114
6147
|
ui: {
|
|
6115
|
-
intent: "
|
|
6148
|
+
intent: "behavior",
|
|
6116
6149
|
visibleWhen: { allOf: [{
|
|
6117
6150
|
field: "variant",
|
|
6118
6151
|
oneOf: [
|
|
@@ -6136,7 +6169,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6136
6169
|
required: false,
|
|
6137
6170
|
defaultValue: false,
|
|
6138
6171
|
ui: {
|
|
6139
|
-
intent: "
|
|
6172
|
+
intent: "behavior",
|
|
6140
6173
|
visibleWhen: { allOf: [{
|
|
6141
6174
|
field: "variant",
|
|
6142
6175
|
oneOf: [
|
|
@@ -6160,7 +6193,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6160
6193
|
required: false,
|
|
6161
6194
|
defaultValue: true,
|
|
6162
6195
|
ui: {
|
|
6163
|
-
intent: "
|
|
6196
|
+
intent: "behavior",
|
|
6164
6197
|
visibleWhen: { allOf: [{
|
|
6165
6198
|
field: "variant",
|
|
6166
6199
|
oneOf: [
|
|
@@ -6266,8 +6299,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6266
6299
|
{
|
|
6267
6300
|
id: "eventSurface",
|
|
6268
6301
|
type: "select",
|
|
6269
|
-
label: "
|
|
6270
|
-
description: "Choose whether this block shows everything, regular classes, or workshops and special events.",
|
|
6302
|
+
label: "Which events",
|
|
6271
6303
|
required: false,
|
|
6272
6304
|
multiple: false,
|
|
6273
6305
|
defaultValue: "all",
|
|
@@ -6289,7 +6321,10 @@ const eventCalendarAdditionalFields = [
|
|
|
6289
6321
|
label: "Custom"
|
|
6290
6322
|
}
|
|
6291
6323
|
],
|
|
6292
|
-
ui: {
|
|
6324
|
+
ui: {
|
|
6325
|
+
intent: "behavior",
|
|
6326
|
+
widget: "eventSelectionChips"
|
|
6327
|
+
}
|
|
6293
6328
|
},
|
|
6294
6329
|
{
|
|
6295
6330
|
id: "filterEventPresets",
|
|
@@ -6299,34 +6334,10 @@ const eventCalendarAdditionalFields = [
|
|
|
6299
6334
|
required: false,
|
|
6300
6335
|
multiple: true,
|
|
6301
6336
|
defaultValue: [],
|
|
6302
|
-
options:
|
|
6303
|
-
{
|
|
6304
|
-
value: "course",
|
|
6305
|
-
label: "Courses"
|
|
6306
|
-
},
|
|
6307
|
-
{
|
|
6308
|
-
value: "class",
|
|
6309
|
-
label: "Classes"
|
|
6310
|
-
},
|
|
6311
|
-
{
|
|
6312
|
-
value: "workshop",
|
|
6313
|
-
label: "Workshops"
|
|
6314
|
-
},
|
|
6315
|
-
{
|
|
6316
|
-
value: "retreat",
|
|
6317
|
-
label: "Retreats"
|
|
6318
|
-
},
|
|
6319
|
-
{
|
|
6320
|
-
value: "performance",
|
|
6321
|
-
label: "Performances"
|
|
6322
|
-
}
|
|
6323
|
-
],
|
|
6337
|
+
options: EVENT_SELECTION_TYPE_OPTIONS.map((option) => ({ ...option })),
|
|
6324
6338
|
ui: {
|
|
6325
6339
|
intent: "behavior",
|
|
6326
|
-
|
|
6327
|
-
field: "eventSurface",
|
|
6328
|
-
equals: "custom"
|
|
6329
|
-
}
|
|
6340
|
+
hidden: true
|
|
6330
6341
|
}
|
|
6331
6342
|
},
|
|
6332
6343
|
{
|
|
@@ -6353,10 +6364,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6353
6364
|
],
|
|
6354
6365
|
ui: {
|
|
6355
6366
|
intent: "behavior",
|
|
6356
|
-
|
|
6357
|
-
field: "eventSurface",
|
|
6358
|
-
equals: "custom"
|
|
6359
|
-
}
|
|
6367
|
+
hidden: true
|
|
6360
6368
|
}
|
|
6361
6369
|
},
|
|
6362
6370
|
createSiteOptionSelectField({
|
|
@@ -6403,13 +6411,7 @@ const eventCalendarAdditionalFields = [
|
|
|
6403
6411
|
intent: field.id === "_cardStyles" || field.id === "buttonVariant" ? "style" : "content"
|
|
6404
6412
|
}
|
|
6405
6413
|
})),
|
|
6406
|
-
|
|
6407
|
-
...emptyStateField,
|
|
6408
|
-
ui: {
|
|
6409
|
-
...emptyStateField.ui ?? {},
|
|
6410
|
-
intent: "display"
|
|
6411
|
-
}
|
|
6412
|
-
},
|
|
6414
|
+
emptyStateField,
|
|
6413
6415
|
sectionStylesField({
|
|
6414
6416
|
id: "_sectionStyles",
|
|
6415
6417
|
label: "Section styles",
|
|
@@ -6561,7 +6563,6 @@ const generatedEventCalendarManifest = createBlockManifestWithContentShape({
|
|
|
6561
6563
|
icon: "CalendarDays",
|
|
6562
6564
|
layout: eventCalendarLayout,
|
|
6563
6565
|
variants: eventCalendarVariants,
|
|
6564
|
-
arrangementOwnedFieldIds: ["defaultCalendarView"],
|
|
6565
6566
|
variantMeaning: eventCalendarVariantMeaning,
|
|
6566
6567
|
defaultVariant: "combined",
|
|
6567
6568
|
variantOptions: {
|
|
@@ -6579,7 +6580,11 @@ const eventCalendarBlockDefinition = {
|
|
|
6579
6580
|
fields: generatedEventCalendarManifest.fields?.map((field) => field.id === "variant" ? {
|
|
6580
6581
|
...field,
|
|
6581
6582
|
label: "Show events as",
|
|
6582
|
-
description: void 0
|
|
6583
|
+
description: void 0,
|
|
6584
|
+
ui: {
|
|
6585
|
+
...field.ui,
|
|
6586
|
+
widget: "segmented"
|
|
6587
|
+
}
|
|
6583
6588
|
} : field)
|
|
6584
6589
|
},
|
|
6585
6590
|
contentNormalizer: {
|
|
@@ -6657,7 +6662,6 @@ function matchesGroup(group, event) {
|
|
|
6657
6662
|
}
|
|
6658
6663
|
const shopBlockDefinition = {
|
|
6659
6664
|
manifest: createBlockManifest({
|
|
6660
|
-
arrangementOwnedFieldIds: ["layout", "columns"],
|
|
6661
6665
|
variantMeaning: {
|
|
6662
6666
|
kind: "arrangement",
|
|
6663
6667
|
lookOnlyKeys: [
|
|
@@ -6698,7 +6702,7 @@ const shopBlockDefinition = {
|
|
|
6698
6702
|
description: "Lets visitors buy your class passes.",
|
|
6699
6703
|
required: false,
|
|
6700
6704
|
defaultValue: true,
|
|
6701
|
-
ui: { intent: "
|
|
6705
|
+
ui: { intent: "behavior" }
|
|
6702
6706
|
},
|
|
6703
6707
|
{
|
|
6704
6708
|
id: "showMemberships",
|
|
@@ -6707,7 +6711,7 @@ const shopBlockDefinition = {
|
|
|
6707
6711
|
description: "Lets visitors buy your memberships.",
|
|
6708
6712
|
required: false,
|
|
6709
6713
|
defaultValue: true,
|
|
6710
|
-
ui: { intent: "
|
|
6714
|
+
ui: { intent: "behavior" }
|
|
6711
6715
|
},
|
|
6712
6716
|
{
|
|
6713
6717
|
id: "layout",
|
|
@@ -6768,7 +6772,7 @@ const shopBlockDefinition = {
|
|
|
6768
6772
|
description: "Shows the description under each one.",
|
|
6769
6773
|
required: false,
|
|
6770
6774
|
defaultValue: true,
|
|
6771
|
-
ui: { intent: "
|
|
6775
|
+
ui: { intent: "behavior" }
|
|
6772
6776
|
},
|
|
6773
6777
|
{
|
|
6774
6778
|
id: "showValidityPeriod",
|
|
@@ -6777,7 +6781,7 @@ const shopBlockDefinition = {
|
|
|
6777
6781
|
description: "Shows how long each pass lasts, like 'Valid for 30 days'.",
|
|
6778
6782
|
required: false,
|
|
6779
6783
|
defaultValue: true,
|
|
6780
|
-
ui: { intent: "
|
|
6784
|
+
ui: { intent: "behavior" }
|
|
6781
6785
|
},
|
|
6782
6786
|
{
|
|
6783
6787
|
id: "showPricePerCredit",
|
|
@@ -6786,7 +6790,7 @@ const shopBlockDefinition = {
|
|
|
6786
6790
|
description: "Shows what each credit works out at, for passes and packs.",
|
|
6787
6791
|
required: false,
|
|
6788
6792
|
defaultValue: true,
|
|
6789
|
-
ui: { intent: "
|
|
6793
|
+
ui: { intent: "behavior" }
|
|
6790
6794
|
},
|
|
6791
6795
|
createButtonVariantField({
|
|
6792
6796
|
label: "Button style",
|
|
@@ -9597,10 +9601,22 @@ function buildLoadedOfferingsPreviewListing(input) {
|
|
|
9597
9601
|
}
|
|
9598
9602
|
//#endregion
|
|
9599
9603
|
//#region ../blocks/src/system/runtime/nodes/events/shared/offeringNextDates.ts
|
|
9604
|
+
/**
|
|
9605
|
+
* The upcoming dates a dated series' card lists: its next three live
|
|
9606
|
+
* occurrences from the block's one occurrence batch. The date rows and the
|
|
9607
|
+
* card's own booking button both read from this, so they can't disagree.
|
|
9608
|
+
*/
|
|
9609
|
+
function upcomingOccurrencesBySeries(events, now) {
|
|
9610
|
+
const groups = events.reduce((result, event) => new Map([...result, [event.seriesId, [...result.get(event.seriesId) ?? [], event]]]), /* @__PURE__ */ new Map());
|
|
9611
|
+
return new Map([...groups].map(([seriesId, occurrences]) => [seriesId, orderedUniqueEventOccurrences(occurrences.filter((event) => event.bookingScope !== "whole_series" && Date.parse(event.startsAt) >= now.getTime())).slice(0, 3)]));
|
|
9612
|
+
}
|
|
9600
9613
|
/** One occurrence batch supplies every occurrence-targeted card in the block. */
|
|
9601
9614
|
function offeringDatesBySeries(events, now, booking) {
|
|
9602
|
-
|
|
9603
|
-
|
|
9615
|
+
return offeringDateRowsBySeries(upcomingOccurrencesBySeries(events, now), booking);
|
|
9616
|
+
}
|
|
9617
|
+
/** Date rows for occurrences already chosen by {@link upcomingOccurrencesBySeries}. */
|
|
9618
|
+
function offeringDateRowsBySeries(upcoming, booking) {
|
|
9619
|
+
return new Map([...upcoming].map(([seriesId, occurrences]) => [seriesId, occurrences.map((event) => offeringDateRow(event, event, booking))]));
|
|
9604
9620
|
}
|
|
9605
9621
|
/** Whole-series sessions share the run-level booking capacity, by contract. */
|
|
9606
9622
|
function offeringRunDates(event, now) {
|
|
@@ -9732,25 +9748,31 @@ function renderOfferingsCatalogueGroups({ props, groups, shape }) {
|
|
|
9732
9748
|
}
|
|
9733
9749
|
function renderCatalogueItems({ props, items, shape, groupTitle }) {
|
|
9734
9750
|
const events = items.map((item) => item.kind === "event" ? item.event : item.run.representative);
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9741
|
-
|
|
9742
|
-
items: items.map((item) => catalogueCardContent(item, now, dates, shape === "single" ? groupTitle : void 0))
|
|
9743
|
-
});
|
|
9744
|
-
}
|
|
9751
|
+
const dates = catalogueDates(props.quickDateEvents ?? [], props.now, shape, props.pathname);
|
|
9752
|
+
if (props.lookSlots) return CardListItems({
|
|
9753
|
+
Carousel: props.Carousel,
|
|
9754
|
+
Title: shape === "single" ? "h3" : "h4",
|
|
9755
|
+
presentation: props,
|
|
9756
|
+
items: items.map((item) => catalogueCardContent(item, props.now, dates, shape === "single" ? groupTitle : void 0))
|
|
9757
|
+
});
|
|
9745
9758
|
return /* @__PURE__ */ jsx("div", {
|
|
9746
9759
|
className: "rb-grid rb-gap-6",
|
|
9747
9760
|
style: { gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, 18rem), 1fr))" },
|
|
9748
9761
|
children: events.map((event) => /* @__PURE__ */ jsx(EventCard, {
|
|
9749
9762
|
event,
|
|
9763
|
+
upcomingDates: dates.upcoming.get(event.seriesId),
|
|
9750
9764
|
...catalogueEventCardProps(event, props.buttonVariant ?? "primary")
|
|
9751
9765
|
}, event.seriesId))
|
|
9752
9766
|
});
|
|
9753
9767
|
}
|
|
9768
|
+
/** The listed dates and their rows, from one reading so the button and the rows agree. */
|
|
9769
|
+
function catalogueDates(events, now, shape, pathname) {
|
|
9770
|
+
const upcoming = upcomingOccurrencesBySeries(events, now);
|
|
9771
|
+
return {
|
|
9772
|
+
upcoming,
|
|
9773
|
+
rows: offeringDateRowsBySeries(upcoming, catalogueDateBooking(shape, pathname))
|
|
9774
|
+
};
|
|
9775
|
+
}
|
|
9754
9776
|
function catalogueCardContent(item, now, dates, typeLabel) {
|
|
9755
9777
|
const event = item.kind === "event" ? item.event : item.run.representative;
|
|
9756
9778
|
return {
|
|
@@ -9758,9 +9780,10 @@ function catalogueCardContent(item, now, dates, typeLabel) {
|
|
|
9758
9780
|
kind: "offering",
|
|
9759
9781
|
now,
|
|
9760
9782
|
nextStartMs: item.nextStartMs,
|
|
9761
|
-
typeLabel
|
|
9783
|
+
typeLabel,
|
|
9784
|
+
upcomingDates: dates.upcoming.get(event.seriesId)
|
|
9762
9785
|
}, catalogueEventCardProps(event).buttonText),
|
|
9763
|
-
dates: event.bookingScope === "whole_series" ? offeringRunDates(event, now) : dates.get(event.seriesId)
|
|
9786
|
+
dates: event.bookingScope === "whole_series" ? offeringRunDates(event, now) : dates.rows.get(event.seriesId)
|
|
9764
9787
|
};
|
|
9765
9788
|
}
|
|
9766
9789
|
function renderCatalogueEmpty({ props, failed }) {
|
|
@@ -9775,7 +9798,7 @@ function renderCatalogueEmpty({ props, failed }) {
|
|
|
9775
9798
|
});
|
|
9776
9799
|
}
|
|
9777
9800
|
function renderCatalogueMergedList({ props, listing, now, shape }) {
|
|
9778
|
-
const dates =
|
|
9801
|
+
const dates = catalogueDates(props.quickDateEvents ?? [], now, shape, props.pathname);
|
|
9779
9802
|
const items = listing.items.map(({ item, group }) => catalogueCardContent(item, now, dates, group.singularLabel));
|
|
9780
9803
|
return /* @__PURE__ */ jsxs("div", {
|
|
9781
9804
|
...listLookSlot(props, "layout"),
|
|
@@ -10382,13 +10405,12 @@ function previewCardContent(item, props, datesBySeries, typeLabel) {
|
|
|
10382
10405
|
}
|
|
10383
10406
|
function nativeRunCardContent(item, content, props) {
|
|
10384
10407
|
const open = resolveWholeSeriesBookingPhase(item.run.run, props.now).kind === "open";
|
|
10408
|
+
const path = content.titleLink?.href ?? null;
|
|
10385
10409
|
return {
|
|
10386
10410
|
...content,
|
|
10387
|
-
href: item.path,
|
|
10388
|
-
titleLink: void 0,
|
|
10389
10411
|
action: {
|
|
10390
|
-
label: open ?
|
|
10391
|
-
...open &&
|
|
10412
|
+
label: open ? path ? props.buttonText || "Book" : "Details coming soon" : "Registration closed",
|
|
10413
|
+
...open && path ? { href: path } : {}
|
|
10392
10414
|
}
|
|
10393
10415
|
};
|
|
10394
10416
|
}
|
|
@@ -10812,13 +10834,19 @@ function renderCombinedSsr(display, prefetchedEvents) {
|
|
|
10812
10834
|
});
|
|
10813
10835
|
}
|
|
10814
10836
|
function renderListSsr(display, hydration) {
|
|
10815
|
-
const
|
|
10816
|
-
|
|
10837
|
+
const { initialToday, timeZone } = hydration.calendarContext;
|
|
10838
|
+
const week = display.listBy === "week" ? buildEventListWeek(initialToday, display.startOfWeek, timeZone) : null;
|
|
10839
|
+
const listing = buildEventCalendarListingDisplay(display, hydration.prefetchedEvents);
|
|
10840
|
+
const listDisplay = week === null ? listing : {
|
|
10841
|
+
...listing,
|
|
10842
|
+
week: eventListWeekDays(week, initialToday, timeZone)
|
|
10843
|
+
};
|
|
10844
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [week !== null ? /* @__PURE__ */ jsx(EventListWeekNavigation, {
|
|
10817
10845
|
...display,
|
|
10818
|
-
title:
|
|
10846
|
+
title: week.title
|
|
10819
10847
|
}) : null, /* @__PURE__ */ jsx(EventListingFrameView, {
|
|
10820
10848
|
display: listDisplay,
|
|
10821
|
-
emptyState:
|
|
10849
|
+
emptyState: week !== null && display.lookSlots !== void 0 ? /* @__PURE__ */ jsx(EventListWeekEmptyState, {
|
|
10822
10850
|
...display,
|
|
10823
10851
|
nextWeek: {}
|
|
10824
10852
|
}) : void 0,
|
|
@@ -11244,6 +11272,7 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
11244
11272
|
lookSlots: display.lookSlots
|
|
11245
11273
|
}),
|
|
11246
11274
|
/* @__PURE__ */ jsx(FormSubmitAction, {
|
|
11275
|
+
submission: { kind: "waiting" },
|
|
11247
11276
|
submitLabel: display.submitLabel,
|
|
11248
11277
|
lookSlots: display.lookSlots
|
|
11249
11278
|
})
|
|
@@ -11311,6 +11340,7 @@ function NewsletterFormSSR(props) {
|
|
|
11311
11340
|
}, field.id))
|
|
11312
11341
|
}) : null,
|
|
11313
11342
|
/* @__PURE__ */ jsx(NewsletterSubmitRow, {
|
|
11343
|
+
submission: { kind: "waiting" },
|
|
11314
11344
|
lookSlots: display.lookSlots,
|
|
11315
11345
|
emailField,
|
|
11316
11346
|
buttonVariant: display.buttonVariant,
|
|
@@ -11534,4 +11564,4 @@ const serverComponentRegistry = {
|
|
|
11534
11564
|
...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
|
|
11535
11565
|
};
|
|
11536
11566
|
//#endregion
|
|
11537
|
-
export {
|
|
11567
|
+
export { defineFragment as $, normalizeSelectSource as $t, eventRegistrationBlockDefinition as A, text as At, markEditableSurfaceForwarding as B, testimonialsReadiness as Bt, cartBlockDefinition as C, containerStylesField as Cn, link as Ct, eventCalendarBlockDefinition as D, createButtonGroup as Dn, richText as Dt, shopBlockDefinition as E, getAnchorClasses as En, repeat as Et, cardListPhotoNumberFields as F, PUBLIC_DOWNLOAD_MEDIA_TYPES as Ft, normalizeMailingListBlockContent as G, DEFAULT_MEDIA_FIELD_KINDS as Gt, desktopOnlyDisplay as H, loadedReadinessFact as Ht, cardListPresentationBindings as I, augmentManifest as It, createBlockManifest as J, blockSectionDeclarationShape as Jt, formBlockDefinition as K, PUBLIC_FILE_FIELD_KINDS as Kt, cardListSectionActionFields as L, chosenString as Lt, FEATURE_CARD_ICON_TREATMENTS as M, when as Mt, cardListSectionAction as N, withApiBindings as Nt, eventListingBlockDefinition as O, createButtonVariantField as On, section as Ot, cardListKnobFields as P, parseBlockIconValue as Pt, composeFragments as Q, fieldSchema as Qt, normalizeCardListContent as R, galleryReadiness as Rt, checkoutBlockDefinition as S, cardStylesField as Sn, inline as St, productListBlockDefinition as T, BACKGROUND_POSITION_PRESET_VALUES as Tn, props as Tt, mobileOnlyDisplay as U, pageTemplateFromEntry as Ut, splitPositioningClasses as V, admitReadinessFacts as Vt, teamMemberCardBiographyFallback as W, unavailableReadinessFact as Wt, formCopyFragment as X, createSdkSelectField as Xt, formEmbedFragment as Y, builtInBlockKindsSchema as Yt, buildFragmentDataLoaders as Z, createSiteOptionSelectField as Zt, normalizeLocationMapSource as _, cardStylingFields as _n, el as _t, buildLoadedOfferingsPreviewListing as a, projectRepeaterGridLayout as an, sectionContainer as at, sanitizeNewsletterSignupPublicContent as b, eventDisplayFields as bn, headerSection as bt, HeaderSectionFrame as c, parseRepeaterGridInteger as cn, lookLeadSlotTransform as ct, accordionIconColorStyle as d, resolveRepeaterGridRowFieldId as dn, lookSlot as dt, parseFieldDefinition as en, sectionHeaderFields as et, resolveAccordionIconStyle as f, resolveRepeaterGridSpanFieldId as fn, accordionList as ft, normalizeLocationMapProps as g, linkSchema as gn, carousel as gt, LOCATION_MAP_LIMITS as h, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as hn, button as ht, WeeklySlotAvailabilityView as i, validateSdkBlockDeclaration as in, styledContainer as it, FEATURE_CARD_GENERATED_ICON_SIZE_PX as j, videoEmbed as jt, mapDrawingStyleBinding as k, stack as kt, accordionItemPartSlots as l, resolveRepeaterGridColumnFieldId as ln, lookQuoteLimitTransform as lt, LOCATION_MAP_DEFAULTS as m, bindingSchema as mn, bookingForm as mt, runtimeBackedBlockModes as n, validateManifestLookField as nn, resolveBackgroundColorValue as nt, LocationMapSSR as o, projectRepeaterGridLayoutForRendering as on, backgroundFrame as ot, SectionNode as p, NodeSchema as pn, bind as pt, formDataSchema as q, blockCategoryEnum as qt, runtimeBackedBlockServerEntries as r, sdkBlockPresentationShape as rn, styledSection as rt, buildAppointmentServicesView as s, buildRepeaterGridLayout as sn, lookCarouselRegionTransform as st, serverComponentRegistry as t, parseFieldDefinitions as tn, sectionHeaderLayoutNodes as tt, accordionLookAttributes as u, resolveRepeaterGridColumnsForBreakpoint as un, lookSkinSlotTransform as ut, resolveLocationMapLocation as v, columnsField as vn, fileDownload as vt, productDetailBlockDefinition as w, sectionStylesField as wn, media as wt, giftingBlockDefinition as x, layoutField as xn, icon as xt, newsletterSignupBlockDefinition as y, emptyStateField as yn, form as yt, composeHeaderSectionWrapperClassName as z, teamReadiness as zt };
|