@riverbankcms/sdk 0.174.1 → 0.175.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-YRmc-Yxz.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
- package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
- package/dist/_dts/{client-B1J6Akyf.d.ts → client-B6tCvmG4.d.ts} +487 -11
- package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-B9qryk4R.d.ts} +2 -2
- package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
- package/dist/_dts/{index-yWDbUojb.d.ts → index-Bl5_pjmq.d.ts} +1 -1
- package/dist/_dts/{index-CF62FntA.d.ts → index-Btp5nIoz.d.ts} +2 -2
- package/dist/_dts/{index-BLEKFHt1.d.ts → index-CQUzwOxO.d.ts} +1 -1
- package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-DmhFb6R1.d.ts} +1 -1
- package/dist/_dts/{index-CXZSy_9M.d.ts → index-OtazQE3U.d.ts} +2 -2
- package/dist/_dts/{index-BgOr1Xyz.d.ts → index-YRQulWB4.d.ts} +3 -3
- package/dist/_dts/{index-DpJm0NpL.d.ts → index-_pXaCO12.d.ts} +4 -4
- package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
- package/dist/_dts/{request-BK-pHf0P.d.ts → request-BT8i_vH-.d.ts} +1621 -385
- package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-CVLYWcoI.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/gifting/client.d.ts +13 -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 +3 -3
- 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 +3 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- 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 +2 -1
- package/dist/_dts/{types-DjVNADXR.d.ts → types-C0XZnjXz.d.ts} +3 -3
- package/dist/_dts/{types-CwmB2NHU.d.ts → types-CXL1QJSY.d.ts} +7 -7
- package/dist/_dts/{types-Dmow_FI6.d.ts → types-OKzbqRBx.d.ts} +2 -2
- package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
- package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
- package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
- package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
- package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
- package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-BybMSKNL.mjs} +4 -3
- package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
- package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
- package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
- package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +635 -359
- package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-BecH-qhI.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BJzmFdcn.mjs} +18 -3
- package/dist/client/{Page-BpeP9xdt.mjs → Page-CWN_8cLZ.mjs} +601 -579
- package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
- package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-C7RJBOW3.mjs} +37 -12
- package/dist/client/{accordion-nR7D4m1a.mjs → accordion-uUi_N6mZ.mjs} +1 -1
- package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
- package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
- package/dist/client/bookings.mjs +22 -15
- package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-C-gFwhnO.mjs} +2 -1
- package/dist/client/{carousel-CVUOatsY.mjs → carousel-C0_BqMA0.mjs} +1 -1
- package/dist/client/{cart-DE0K6E0R.mjs → cart-BOHuppVu.mjs} +3 -3
- package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-IfJE1zAp.mjs} +1 -1
- package/dist/client/{checkout-76cdHyPL.mjs → checkout-C3Aj-aNa.mjs} +3 -3
- package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
- package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
- package/dist/client/client.mjs +112 -21
- package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
- package/dist/client/{course-DHIrXqNT.mjs → course-DHmeQAvq.mjs} +2 -2
- package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
- package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-ABCZWkpT.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-BdcuW_pa.mjs} +1 -1
- package/dist/client/display-DMqotaGU.mjs +11797 -0
- package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
- package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-CJapNbTv.mjs} +1 -1
- package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-CAdcpnLc.mjs} +176 -75
- package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
- package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-B9Ly3024.mjs} +4 -4
- package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
- package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-ZSmvhWII.mjs} +4 -4
- package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
- package/dist/client/{form-CfqIAhfN.mjs → form-DG_YZSNn.mjs} +3 -3
- package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BU6dM0-C.mjs} +4 -4
- package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-Db0Iq7nx.mjs} +1 -1
- package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-DFfWHpQB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -3
- package/dist/client/gifting-DMrsN4B4.mjs +28 -0
- package/dist/client/gifting.client-BVa2XYJB.mjs +404 -0
- package/dist/client/gifting.parts-C2u4Y-pf.mjs +86 -0
- package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-D91EzlOR.mjs} +2 -2
- package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BDZLALxj.mjs} +2951 -14395
- package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
- package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
- package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-B_67sNwa.mjs} +3 -3
- package/dist/client/{noop-D5mFWXtN.mjs → noop-DF8_EiFt.mjs} +93 -28
- package/dist/client/portal/client.mjs +313 -148
- package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
- package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
- package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-W0_0lDGe.mjs} +3 -3
- package/dist/client/{productList-DTgZXOEq.mjs → productList-ayAtPJdb.mjs} +3 -3
- package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
- package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-B1EEZkcr.mjs} +307 -240
- package/dist/client/rendering/client.mjs +25 -491
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -6
- package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
- package/dist/client/{shop-5LBhftWx.mjs → shop-DbUUoHFJ.mjs} +3 -3
- package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
- package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
- package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
- package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
- package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CJAINJr3.mjs} +113 -35
- package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-DwVAuGsx.mjs} +2 -2
- package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel-DBTIFWTb.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
- package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
- package/dist/client/{view-BvuYmQJ5.mjs → view-BTk470k0.mjs} +3 -2
- package/dist/client/{view-D9ObkFtz.mjs → view-Cw4EmEPv.mjs} +99 -30
- package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +28 -25
- package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
- package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-B61mZd81.mjs} +4141 -2677
- package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-BZDIC-fA.mjs} +527 -236
- package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +13 -4
- package/dist/preview-next/container-responsive.css +51 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BOuNcOcN.mjs → route-contract-0gSlK9S0.mjs} +86 -12
- package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-DeXXycg8.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
- package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-7L3pC5Os.mjs} +13 -34
- package/dist/server/{client-CGtU5fHI.mjs → client-CgghATBm.mjs} +111 -20
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-ChnkJSay.mjs → loadContent-D7M5Vcug.mjs} +5 -5
- package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CiTId05y.mjs} +2 -2
- package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
- package/dist/server/next.mjs +35 -9
- package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-Cuos4Xcd.mjs} +97 -39
- package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
- package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-JxlV8_Bo.mjs} +1261 -1129
- package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
- package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BDhlJbAx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
- package/dist/server/{registry-DmqxC8th.mjs → registry-cQ9N5W-n.mjs} +20432 -20165
- 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-EYogtwQc.mjs → resolveBlockData-CN4UmmTK.mjs} +1 -1
- package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-Bt_8IL1g.mjs → validation-3puM5SM8.mjs} +3 -3
- package/dist/server/{version-DT_efohp.mjs → version-B8g-Wx57.mjs} +1 -1
- package/dist/styles/index.css +295 -37
- package/package.json +1 -1
- package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Dt as parseThemeColorToken, G as hexToRgb, J as oklchToHexGamut, K as oklabToOklch, P as getTextColorForBackground, R as contrastRatio, X as rgbToHex, Z as srgbToOklab, q as oklabToSrgb } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
|
-
import { $
|
|
2
|
+
import { $i as eventScopeLoaderParam, $n as chromeLogoTransforms, $s as resolvePricingOptionsPriceDisplay, $t as formatEventCompactDateRail, Aa as arrangementManifestFromVariants, An as canJoinEventWaitlistOnAnyMode, Ar as formatEventPrice, Bs as getLocalScheduleDate, Co as resolveSectionBackground, Do as themeV2CompilerOwnedFieldNames, Dr as resolveClassPriceItems, Dt as groupOfferingRunsByCourse, Eo as stripStaleTransitionStyleGroup, Er as classPricesDataSchema, Fn as isEventFull, Fr as getAnchorClasses, Gn as contentTransforms, Go as formatDateKey, Gs as toUtcIsoDateTimeString, Gt as weekColumnDays, I as combinedLookSchema, Ia as deriveSiteStyleBlockPolicy, J as CardListLeadDate, Ji as eventReadinessLoaderKey, Jt as eventDateOptions, Ka as gradientToCss, Lt as ThemedButtonLink, Ma as resolveEffectiveArrangement, Mn as formatTotalCapacity, Mr as formatEventPriceDisplay, Ms as formatDate, Na as resolveModeArrangement, Nn as getEventAvailability, Nr as formatEventStartingPrice, Ns as formatDateRange, Oi as ClockIcon, Or as formatCoursePrice, Pa as resolvePublishedLook, Pn as getEventAvailabilityStatus, Pr as BACKGROUND_POSITION_PRESET_VALUES, Ps as formatDateTimeRange, Q as MediaNodeServer, Qi as eventDiscoveryFilterKeys, Qn as headerRuntimeTransforms, Qr as boxStylesTransforms, Qs as resolveExactOrFreePriceDisplay, Rs as compareLocalScheduleDates, So as parseCanonicalRuntimeBackground, Tr as classPricesCopySchema, Ui as augmentManifest, Us as resolveBookingBusinessTimeZone, Vs as parseBookingLocalDate, Vt as buildEventListWeek, Wi as isObjectRecord, Wt as groupEventsByWeek, X as resolveCardListSchedule, Xi as eventReadinessQueryKeys, Yi as eventReadinessQuery, Yn as readRuntimeNow, Yt as eventLocalDateKey, Z as selectCardListPresentation, Zn as mediaTransforms, Zo as isToday, _a as heroPhotoPaintsGround, _i as createTransformRegistry, _s as orderedLiveRunSessions, aa as resolveEventCalendarReadPlan, ac as arrangementSlotNames, ai as resolveSectionSurfaceForeground, an as formatEventWeekdayTime, bo as applyLookPhotoTreatment, cn as resolveEventTimeZone, co as sectionShapeHook, ct as systemCustomizeFacetDefinitionsForBlock, da as resolveLookSurfacePresentation, do as boundaryRuntimeMetricsForDecorativeTransition, ea as eventScopeQuery, en as formatEventDateParts, er as layoutTransforms, et as ImagePresets, fi as lookCarouselRegionTransform, ft as EventQuickFacts, gi as asPartialObject, gs as nextLiveRunSessionStartMs, hi as lookSkinSlotTransform, hn as closedRunCopy, hr as listLookSlot, ia as eventCalendarListGroupingDecision, ic as parseGradientPresetId, ii as parseRuntimeBackgroundContent, in as formatEventTimeRange, ja as readStoredMode, jn as formatEventRemainingPlaces, ka as styleSectionBackgroundForColour, kn as isBookableEvent, kr as formatEventDepositNote, li as isSemanticSpacing, ln as resolveRuntimeEventDestination, mi as lookQuoteLimitTransform, na as resolveEventScope, ni as parseBackgroundContent, nr as uiTransforms, nt as computeMediaTransformStyle, oi as resolveSurfaceForegroundStyles, on as formatTime, oo as sectionShapeForGround, pi as lookLeadSlotTransform, pr as listItemPresentation, q as CardListContentPart, qa as getGradientPreset, qi as blockChecksForEvents, qs as formatBookingPriceDisplay, qt as eventCalendarWeekStart, ra as resolveCalendarReadProfile, ri as parseBackgroundOverlay, rn as formatEventRunDates, rr as formattingTransforms, si as resolveBackgroundColorValue, sn as groupEventsByDate, so as sectionShapeFromContent, st as resolveArrangementKnobs, t as getBlockDefinition, ta as eventScopeQueryKeys, ua as lookPresentationOnPalette, un as formatBookingSchedulePresentation, vs as resolveWholeSeriesBookingPhase, wo as sectionSurfaceBase, xa as arrangementAppearancePresets, xo as deriveSectionGround, xr as heroMorePhotoCount } from "./registry-cQ9N5W-n.mjs";
|
|
3
3
|
import { A as resolveOnColorForThemeToken, G as resolveConcreteColorHex, M as resolveTokenOrCssColorValue, k as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
4
|
-
import { D as asSiteStyleId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey } from "./customCss-
|
|
4
|
+
import { D as asSiteStyleId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey } from "./customCss-BZ8YSrQg.mjs";
|
|
5
5
|
import { o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
6
6
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
7
7
|
import { o as isRecord$2 } from "./richTextSchema-QLaQrbII.mjs";
|
|
8
|
-
import { f as assertNever$1, n as resolveLookMediaFrame } from "./lookMediaFrame-
|
|
8
|
+
import { f as assertNever$1, n as resolveLookMediaFrame } from "./lookMediaFrame-CaH018pK.mjs";
|
|
9
9
|
import { i as outlineRegions, n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
10
10
|
import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
|
|
11
11
|
import React from "react";
|
|
@@ -985,6 +985,41 @@ function readableDuration(minutes) {
|
|
|
985
985
|
].filter(Boolean).join(" ");
|
|
986
986
|
}
|
|
987
987
|
//#endregion
|
|
988
|
+
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|
|
989
|
+
function formatEventLocation(event) {
|
|
990
|
+
switch (event.deliveryMode) {
|
|
991
|
+
case "online": return "Online";
|
|
992
|
+
case "hybrid": return event.venue ? `${event.venue.name} + online` : "In person or online";
|
|
993
|
+
case "in_person": return event.venue?.name ?? "In person";
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
/** The line under the venue name. A booked-only venue shows its area, and the address follows the booking. */
|
|
997
|
+
function eventVenuePlace(venue) {
|
|
998
|
+
if (venue.addressWithBooking) return {
|
|
999
|
+
place: venue.area ?? null,
|
|
1000
|
+
addressWithBooking: true
|
|
1001
|
+
};
|
|
1002
|
+
return {
|
|
1003
|
+
place: venue.address,
|
|
1004
|
+
addressWithBooking: false
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
/**
|
|
1008
|
+
* Where an online or hybrid event happens, for the place a venue would go.
|
|
1009
|
+
*
|
|
1010
|
+
* Booking here sends a confirmation email that carries the joining link (the
|
|
1011
|
+
* link is required for an online event people book here), so the note only
|
|
1012
|
+
* promises it when the visitor books on this site. Null for in-person events.
|
|
1013
|
+
*/
|
|
1014
|
+
function eventOnlinePlace(event) {
|
|
1015
|
+
if (event.deliveryMode === "in_person") return null;
|
|
1016
|
+
const bookedHere = event.requiresRegistration && event.destination.kind !== "external";
|
|
1017
|
+
return {
|
|
1018
|
+
mode: event.deliveryMode,
|
|
1019
|
+
note: bookedHere ? "The joining link comes with your booking confirmation." : null
|
|
1020
|
+
};
|
|
1021
|
+
}
|
|
1022
|
+
//#endregion
|
|
988
1023
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
989
1024
|
function formatTeamMemberNames(names) {
|
|
990
1025
|
const normalized = names.map((name) => name.trim()).filter(Boolean);
|
|
@@ -1726,7 +1761,7 @@ const EmptyState = ({ message = "No upcoming events scheduled.", className, hasA
|
|
|
1726
1761
|
}), hasActiveFilters && onResetFilters && /* @__PURE__ */ jsx("button", {
|
|
1727
1762
|
type: "button",
|
|
1728
1763
|
onClick: onResetFilters,
|
|
1729
|
-
className: "event-
|
|
1764
|
+
className: "rb-item-text-link event-list-empty-action",
|
|
1730
1765
|
children: resetFiltersText
|
|
1731
1766
|
})]
|
|
1732
1767
|
});
|
|
@@ -2022,9 +2057,9 @@ function offeringFacts(event, places, offering) {
|
|
|
2022
2057
|
label: "Length",
|
|
2023
2058
|
value: sessions
|
|
2024
2059
|
}] : lengthFact(event, !offering || course),
|
|
2025
|
-
...offering && event.venue ? [{
|
|
2060
|
+
...offering && (event.venue || event.deliveryMode !== "in_person") ? [{
|
|
2026
2061
|
label: "Venue",
|
|
2027
|
-
value: event
|
|
2062
|
+
value: formatEventLocation(event)
|
|
2028
2063
|
}] : [],
|
|
2029
2064
|
...places ? [{
|
|
2030
2065
|
label: "Places",
|
|
@@ -2584,7 +2619,7 @@ function MonthLookView(props) {
|
|
|
2584
2619
|
...listItemPresentation(props, index, entries.length),
|
|
2585
2620
|
event,
|
|
2586
2621
|
arrangement: "month-day"
|
|
2587
|
-
}, event.occurrenceId ?? event.id)) : /* @__PURE__ */ jsx("p", {
|
|
2622
|
+
}, event.occurrenceId ?? event.id)) : props.showEmptyState === false ? null : /* @__PURE__ */ jsx("p", {
|
|
2588
2623
|
...listLookSlot(props, "intro"),
|
|
2589
2624
|
children: props.emptyMessage
|
|
2590
2625
|
})
|
|
@@ -2642,7 +2677,7 @@ function eventHeaderContent(selection, show) {
|
|
|
2642
2677
|
label: "Time",
|
|
2643
2678
|
value: timeRange
|
|
2644
2679
|
},
|
|
2645
|
-
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price") : [],
|
|
2680
|
+
...show.cost ? (item.facts ?? []).filter(({ label }) => label === "Price").map((fact) => withDepositNote(fact, event)) : [],
|
|
2646
2681
|
...groupSize === null ? [] : [{
|
|
2647
2682
|
label: "Group size",
|
|
2648
2683
|
value: groupSize
|
|
@@ -2651,6 +2686,14 @@ function eventHeaderContent(selection, show) {
|
|
|
2651
2686
|
action: headerAction(selection, item.action)
|
|
2652
2687
|
};
|
|
2653
2688
|
}
|
|
2689
|
+
/** The page states a deposit option beside the price, so it isn't first seen at checkout. */
|
|
2690
|
+
function withDepositNote(fact, event) {
|
|
2691
|
+
const note = formatEventDepositNote(event.pricing, event.paymentTerms, event);
|
|
2692
|
+
return note ? {
|
|
2693
|
+
...fact,
|
|
2694
|
+
value: `${fact.value}, ${note}`
|
|
2695
|
+
} : fact;
|
|
2696
|
+
}
|
|
2654
2697
|
/** A course run is described by its whole span, not by whichever session was selected. */
|
|
2655
2698
|
function headerDateFact(selection) {
|
|
2656
2699
|
const event = selection.selected;
|
|
@@ -3555,8 +3598,7 @@ const eventCalendarReadEnabled = {
|
|
|
3555
3598
|
summary: "Choose the read projection required by the calendar display mode",
|
|
3556
3599
|
schema: readJobSchema,
|
|
3557
3600
|
run(value, options) {
|
|
3558
|
-
|
|
3559
|
-
return plan.jobs === options.job || plan.jobs === "both" && options.job !== "schedule";
|
|
3601
|
+
return resolveEventCalendarReadPlan(asPartialObject(value) ?? {}).jobs === options.job;
|
|
3560
3602
|
}
|
|
3561
3603
|
};
|
|
3562
3604
|
/**
|
|
@@ -3607,7 +3649,7 @@ const builtinTransformDefinitions = [
|
|
|
3607
3649
|
kind: "formatter",
|
|
3608
3650
|
run(value) {
|
|
3609
3651
|
const content = asPartialObject(value) ?? {};
|
|
3610
|
-
return content
|
|
3652
|
+
return blockChecksForEvents(content) && eventReadinessLoaderKey(content) !== "schedule";
|
|
3611
3653
|
}
|
|
3612
3654
|
},
|
|
3613
3655
|
{
|
|
@@ -4274,7 +4316,7 @@ function planBlock(block, renderableContent, resolveTarget, audience, siteStyleI
|
|
|
4274
4316
|
}
|
|
4275
4317
|
function renderableBlockPlan(common, target, audience, siteStyleId) {
|
|
4276
4318
|
const { definition, systemDefinition, override } = target;
|
|
4277
|
-
const renderableContent =
|
|
4319
|
+
const { renderableContent, ownerEditableContent } = planArrangementBlockContent(common.block.kind, definition.manifest, common.renderableContent, audience);
|
|
4278
4320
|
const effectiveArrangementKey = resolveEffectiveArrangement({
|
|
4279
4321
|
manifest: arrangementManifestFromVariants(definition.manifest),
|
|
4280
4322
|
...definition.manifest.variantMeaning.kind !== "mode" ? { look: effectiveLookFromContent(renderableContent)?.look } : {},
|
|
@@ -4286,6 +4328,7 @@ function renderableBlockPlan(common, target, audience, siteStyleId) {
|
|
|
4286
4328
|
}).key;
|
|
4287
4329
|
return {
|
|
4288
4330
|
...common,
|
|
4331
|
+
ownerEditableContent,
|
|
4289
4332
|
renderableContent,
|
|
4290
4333
|
kind: "renderable",
|
|
4291
4334
|
definition,
|
|
@@ -4385,8 +4428,14 @@ function effectiveLookFromContent(content) {
|
|
|
4385
4428
|
return isObjectRecord(value) && isObjectRecord(value.look) ? restoreCompiledLook(value) : null;
|
|
4386
4429
|
}
|
|
4387
4430
|
function planArrangementContent(blockKind, manifest, authored, audience) {
|
|
4431
|
+
return planArrangementBlockContent(blockKind, manifest, authored, audience).renderableContent;
|
|
4432
|
+
}
|
|
4433
|
+
function planArrangementBlockContent(blockKind, manifest, authored, audience) {
|
|
4388
4434
|
const runtime = arrangementRuntime(authored);
|
|
4389
|
-
if (!runtime) return
|
|
4435
|
+
if (!runtime) return {
|
|
4436
|
+
renderableContent: authored,
|
|
4437
|
+
ownerEditableContent: authored
|
|
4438
|
+
};
|
|
4390
4439
|
const spacingHook = authoredSectionSpacingHook(authored);
|
|
4391
4440
|
const content = withoutSectionSpacing(authored);
|
|
4392
4441
|
const mode = readStoredMode({
|
|
@@ -4394,7 +4443,10 @@ function planArrangementContent(blockKind, manifest, authored, audience) {
|
|
|
4394
4443
|
variantMeaning: manifest.variantMeaning
|
|
4395
4444
|
}, content);
|
|
4396
4445
|
const effective = resolveArrangementContentLook(runtime, mode, content, audience);
|
|
4397
|
-
if (!effective) return
|
|
4446
|
+
if (!effective) return {
|
|
4447
|
+
renderableContent: content,
|
|
4448
|
+
ownerEditableContent: content
|
|
4449
|
+
};
|
|
4398
4450
|
const { facts } = arrangementContentFacts(content);
|
|
4399
4451
|
const { length, knobs } = resolveArrangementKnobs({
|
|
4400
4452
|
blockKind,
|
|
@@ -4408,7 +4460,7 @@ function planArrangementContent(blockKind, manifest, authored, audience) {
|
|
|
4408
4460
|
manifest,
|
|
4409
4461
|
arrangementLook: true
|
|
4410
4462
|
}), ["look"]);
|
|
4411
|
-
const activeContent = withoutLookOwnedContent(Object.fromEntries(Object.entries(content).filter(([key]) => knobs[key]?.kind
|
|
4463
|
+
const activeContent = withoutLookOwnedContent(Object.fromEntries(Object.entries(content).filter(([key]) => (knobs[key]?.kind ?? "used") === "used")), lookOwnedPaths);
|
|
4412
4464
|
const photoContent = arrangementPhotoContent(activeContent, effectiveContent);
|
|
4413
4465
|
const photoCount = arrangementContentFacts({
|
|
4414
4466
|
...activeContent,
|
|
@@ -4416,28 +4468,31 @@ function planArrangementContent(blockKind, manifest, authored, audience) {
|
|
|
4416
4468
|
...photoContent
|
|
4417
4469
|
}).photoCount + lookPartPhotoCount(blockKind, activeContent, effective.look.structure.byMode[mode ?? "default"] ?? null);
|
|
4418
4470
|
return {
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4471
|
+
ownerEditableContent: activeContent,
|
|
4472
|
+
renderableContent: {
|
|
4473
|
+
...activeContent,
|
|
4474
|
+
...arrangementPhotoTreatmentContent(activeContent, effective, runtime.surfaceContext.palette, values.photoTint === "brand" ? "brand" : "dark"),
|
|
4475
|
+
...mode !== null ? { variant: mode } : {},
|
|
4476
|
+
...effectiveContent,
|
|
4477
|
+
...photoContent,
|
|
4478
|
+
...arrangementMediaFrameContent(blockKind, effective, values, authored),
|
|
4479
|
+
...arrangementPanelContent(activeContent, effective, mode),
|
|
4480
|
+
...arrangementQuoteContent(blockKind, effective, values),
|
|
4481
|
+
_arrangementLooks: runtime,
|
|
4482
|
+
_effectiveLook: effective,
|
|
4483
|
+
_lookHooks: {
|
|
4484
|
+
...arrangementContentHooks(effective, mode, length, {
|
|
4485
|
+
...facts.content,
|
|
4486
|
+
photo: photoCount > 0
|
|
4487
|
+
}, values, photoCount),
|
|
4488
|
+
...spacingHook
|
|
4489
|
+
},
|
|
4490
|
+
_effectiveKnobs: knobs,
|
|
4491
|
+
_lookOwnedPaths: lookOwnedPaths,
|
|
4492
|
+
_lookAudience: audience,
|
|
4493
|
+
_lookSlots: arrangementContentSlots(blockKind),
|
|
4494
|
+
blockLook: effective.look.id
|
|
4495
|
+
}
|
|
4441
4496
|
};
|
|
4442
4497
|
}
|
|
4443
4498
|
/**
|
|
@@ -4481,7 +4536,10 @@ function arrangementMediaFrameContent(blockKind, look, knobs, authored) {
|
|
|
4481
4536
|
return frame.kind === "fixed" ? {
|
|
4482
4537
|
aspectRatio: frame.aspectRatio,
|
|
4483
4538
|
_lookMediaFrame: frame
|
|
4484
|
-
} : {
|
|
4539
|
+
} : {
|
|
4540
|
+
aspectRatio: typeof authored.aspectRatio === "string" ? authored.aspectRatio : frame.aspectRatio,
|
|
4541
|
+
...frame.borderRadius ? { _lookMediaFrame: frame } : {}
|
|
4542
|
+
};
|
|
4485
4543
|
}
|
|
4486
4544
|
function arrangementQuoteContent(blockKind, effective, values) {
|
|
4487
4545
|
if (blockKind !== "block.testimonials") return {};
|
|
@@ -4708,4 +4766,4 @@ function plannedSlotParents(entry, look) {
|
|
|
4708
4766
|
return arrangementSlotParentsForManifest(entry.definition.manifest, look.look.target, arrangement, look.look.structure.eventRows);
|
|
4709
4767
|
}
|
|
4710
4768
|
//#endregion
|
|
4711
|
-
export {
|
|
4769
|
+
export { formatEventDuration as $, deriveEventScheduleSummary as A, MapPinIcon as B, EventHeader as C, OfferingCourseCards as D, EventListingFrameView as E, CardListCollection as F, buildMonthDay as G, eventDisplayTitleText as H, CardListItems as I, selectQuickDateEvents as J, resolveMonthSelectedDay as K, EventItem as L, createEditorPresentationPageReader as M, createPresentationPageReader as N, eventCardListContent as O, EmptyState as P, formatEventLocation as Q, eventCategoryBadge as R, lookPartShown as S, MonthLookView as T, formatCourseDatesAfter as U, eventDisplayTitle as V, formatCourseSessions as W, eventOnlinePlace as X, formatEventTeacherLine as Y, eventVenuePlace as Z, publicAppointmentPricingSchema as _, joinSlotKey as a, lookFillPartsFromContent as at, resolvePageRouteTarget as b, buildLinkedContentEditTarget as c, defaultThemeTokens as ct, builtinTransformDefinitions as d, resolveEventCardBooking as et, defaultTransforms as f, publicAppointmentLocationSchema as g, formatAppointmentPrice as h, composePageJoins as i, selectBlockContent as it, derivePreviewRunSchedule as j, offeringDatesBySeries as k, coerceLinkedContentEntriesPayload as l, formatAppointmentLocation as m, createPageRenderPlanReader as n, resolveEventLinkProps as nt, renderedJoinLayout as o, resolveRuntimeSection as ot, formatAppointmentDuration as p, formatEventQuickDate as q, planArrangementContent as r, parseStoredVariant as rt, retargetJoinsAcrossOmissions as s, buildThemeTokens as st, buildPageRenderPlan as t, resolveEventCta as tt, resolveLinkedEntryInlineFieldEligibility as u, resolveAuthoredLinkHref as v, EVENT_REGISTRATION_ANCHOR_ID as w, resolveRouteTarget as x, resolveEntryRouteTarget as y, CalendarIcon as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-
|
|
1
|
+
import { As as trimmedStringOrNull, Bo as resolveRepeaterGridRowFieldId, Es as locationValueSchema, Fi as inlineTextToPlainText, Gs as toUtcIsoDateTimeString, Li as parseInlineTextFromUnknown, Lo as isAcceptedRepeaterGridSpan, Os as projectPublicLocation, Ri as plainTextToInlineText, Ro as parseRepeaterGridInteger, Si as parseBlockIconValue, Us as resolveBookingBusinessTimeZone, Vi as parseFieldDefinitions, Vo as resolveRepeaterGridSpanFieldId, jo as DEFAULT_MEDIA_FIELD_KINDS, ks as publicLocationSchema, l as sanitizeNewsletterSignupPublicContent, os as linkSchema, ps as isRecord$1, t as getBlockDefinition, tc as parseContentVersionId, zi as normalizeSelectSource, zo as resolveRepeaterGridColumnFieldId } from "./registry-cQ9N5W-n.mjs";
|
|
2
|
+
import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-BpsqaSSU.mjs";
|
|
3
3
|
import { f as PUBLIC_FILE_FIELD_KINDS, h as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
4
4
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
5
5
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
@@ -1530,7 +1530,8 @@ function compileManifestContentContract(manifestOrFields, options = {}) {
|
|
|
1530
1530
|
renderSourceSchema: deriveStrictContentZodFromPlans(plans, "render-source"),
|
|
1531
1531
|
writeSchema: deriveNormalizedContentZodFromPlans(plans, strictOptions, normalizeManifestContentForWrite).superRefine((value, ctx) => {
|
|
1532
1532
|
if (options.unknownFields !== "reject") return;
|
|
1533
|
-
|
|
1533
|
+
const ownedElsewhere = new Set(options.unknownFieldsOwnedElsewhere ?? []);
|
|
1534
|
+
unknownManifestFieldPaths(plans, value).filter((path) => !(path.length > 1 && ownedElsewhere.has(String(path[0])))).forEach((path) => {
|
|
1534
1535
|
ctx.addIssue({
|
|
1535
1536
|
code: "custom",
|
|
1536
1537
|
path,
|