@riverbankcms/sdk 0.174.0 → 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-GqVX3I8E.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
- package/dist/_dts/{Page-BhUH31M-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
- package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B6tCvmG4.d.ts} +487 -11
- package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-B9qryk4R.d.ts} +2 -2
- package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
- package/dist/_dts/{index--39uLjrr.d.ts → index-Bl5_pjmq.d.ts} +1 -1
- package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-Btp5nIoz.d.ts} +2 -2
- package/dist/_dts/{index-Bq-488M7.d.ts → index-CQUzwOxO.d.ts} +1 -1
- package/dist/_dts/{index-DYlfdT1O.d.ts → index-DmhFb6R1.d.ts} +1 -1
- package/dist/_dts/{index-3GzargmS.d.ts → index-OtazQE3U.d.ts} +2 -2
- package/dist/_dts/{index-DYsP4k6S.d.ts → index-YRQulWB4.d.ts} +3 -3
- package/dist/_dts/{index-DdEi2iXd.d.ts → index-_pXaCO12.d.ts} +4 -4
- package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
- package/dist/_dts/{request-Be1E-H-V.d.ts → request-BT8i_vH-.d.ts} +2070 -503
- package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-B4sbTf96.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-Bm5_3VEd.d.ts → types-C0XZnjXz.d.ts} +3 -3
- package/dist/_dts/{types-5MeDI1w8.d.ts → types-CXL1QJSY.d.ts} +7 -7
- package/dist/_dts/{types-CVoCc_Ia.d.ts → types-OKzbqRBx.d.ts} +2 -2
- package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
- package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
- package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
- package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
- package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
- package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-BybMSKNL.mjs} +4 -3
- package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
- package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
- package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
- package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +664 -362
- 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--xJ23nA5.mjs → Page-CWN_8cLZ.mjs} +736 -1667
- package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
- package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-C7RJBOW3.mjs} +37 -249
- package/dist/client/{accordion-BQtTkDN8.mjs → accordion-uUi_N6mZ.mjs} +1 -1
- package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
- package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
- package/dist/client/bookings.mjs +22 -15
- package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-C-gFwhnO.mjs} +3 -29
- package/dist/client/{carousel-CPsW-FPh.mjs → carousel-C0_BqMA0.mjs} +1 -1
- package/dist/client/{cart-CwElmocm.mjs → cart-BOHuppVu.mjs} +3 -3
- package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-IfJE1zAp.mjs} +1 -1
- package/dist/client/{checkout-CfMgqY8H.mjs → checkout-C3Aj-aNa.mjs} +3 -3
- package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
- package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
- package/dist/client/client.mjs +113 -21
- package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
- package/dist/client/{course-q1sA4Cj-.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-BzjY6AiY.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
- package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-CJapNbTv.mjs} +1 -1
- package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-CAdcpnLc.mjs} +295 -188
- package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
- package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-B9Ly3024.mjs} +4 -4
- package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
- package/dist/client/{eventListing-_14atrj8.mjs → eventListing-ZSmvhWII.mjs} +4 -4
- package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
- package/dist/client/{form-DfAB-llc.mjs → form-DG_YZSNn.mjs} +3 -3
- package/dist/client/{form.client-DN-I9_qC.mjs → form.client-BU6dM0-C.mjs} +4 -4
- package/dist/client/{form.parts-t2Q1neM6.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-Dces54pb.mjs → headerSection-D91EzlOR.mjs} +2 -2
- package/dist/client/{display-D8MW2b0e.mjs → lookSurfaces-BDZLALxj.mjs} +3084 -12938
- package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
- package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
- package/dist/client/{newsletterForm-_c9fKIzS.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-CVW1UIxJ.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
- package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
- package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-W0_0lDGe.mjs} +3 -3
- package/dist/client/{productList-Df5qDD0z.mjs → productList-ayAtPJdb.mjs} +3 -3
- package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
- package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-B1EEZkcr.mjs} +311 -262
- package/dist/client/rendering/client.mjs +25 -491
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
- package/dist/client/{shop-gteEpeO5.mjs → shop-DbUUoHFJ.mjs} +3 -3
- package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
- package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
- package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
- package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
- package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-CJAINJr3.mjs} +118 -39
- package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-DwVAuGsx.mjs} +2 -2
- package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DBTIFWTb.mjs} +11 -148
- package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
- package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
- package/dist/client/{view-CvlTplao.mjs → view-BTk470k0.mjs} +3 -2
- package/dist/client/{view-CxUpgcM6.mjs → view-Cw4EmEPv.mjs} +100 -32
- package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +32 -29
- package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
- package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-B61mZd81.mjs} +4981 -3275
- package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-BZDIC-fA.mjs} +529 -238
- package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +25 -5
- 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-DV6SeCNv.mjs → route-contract-0gSlK9S0.mjs} +87 -12
- package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-DeXXycg8.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
- package/dist/server/{bindings-CQg2lzZn.mjs → bindings-7L3pC5Os.mjs} +13 -34
- package/dist/server/{client-aYRTVneD.mjs → client-CgghATBm.mjs} +112 -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-Cgpfr44e.mjs → loadContent-D7M5Vcug.mjs} +5 -5
- package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-CiTId05y.mjs} +2 -2
- package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-CaH018pK.mjs} +129 -12
- package/dist/server/next.mjs +35 -9
- package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-Cuos4Xcd.mjs} +105 -357
- package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
- package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-JxlV8_Bo.mjs} +1707 -1811
- package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
- package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-BDhlJbAx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
- package/dist/server/{registry-34rkAfaU.mjs → registry-cQ9N5W-n.mjs} +21091 -20209
- 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-D7VeoWgr.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-CLVKoJrX.mjs → validation-3puM5SM8.mjs} +3 -3
- package/dist/server/{version-HVfdvBJ0.mjs → version-B8g-Wx57.mjs} +1 -1
- package/dist/styles/index.css +361 -57
- package/package.json +1 -1
- package/dist/client/bookability-CE637yDE.mjs +0 -17
- package/dist/client/useDiscountApply-BZU5DWZQ.mjs +0 -199
package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-BbzLMf-l.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { On as selectAutosaveStatus, Rn as useStore,
|
|
2
|
+
import { On as selectAutosaveStatus, Rn as useStore, Xc as Primitive, kn as selectEditorWriteState, mt as useSessionJournal, ol as cn, sl as useShallow, yn as useEditorUiStore } from "./previewAssistantSlot-B61mZd81.mjs";
|
|
3
3
|
import { A as LoaderCircle } from "./lucide-react-Dfgl3Vtq.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ac as
|
|
2
|
+
import { Ac as createRovingFocusGroupScope, Ai as isSystemCustomizeFacetId, Bc as FocusScope, Bo as readStoredMode, Bt as derivePromotedFieldPlan, Dc as hideOthers, Fc as Content, Gc as createCollection, Gn as createManifestFormAdapter, Hc as DismissableLayer, Hu as syncStateOf, I as lookTilesFor, Ic as Root2$1, Jc as createContextScope, Kc as useControllableState, Lc as createPopperScope, M as usePreviewRenderReadiness, Mc as Portal$2, Mi as systemCustomizeFacetDefinitionForBlock, Mo as resolveEditorArrangementLook, Nc as Anchor, Ni as systemCustomizeFacetDefinitionsForBlock, Oc as Item, Oi as arrangementKnobChoices, Oo as decideSectionPhoto, Os as augmentManifestWithStyleGroups, Pc as Arrow, Pi as systemCustomizeFacetStoredValue, To as resolveVisiblePromotedFieldPathsForEditorBlock, Uc as useCallbackRef, Us as Root$1, Vc as useFocusGuards, Wc as useDirection, Wo as getCuratedSiteStyle, Wr as fieldsNotShownIn, Xc as Primitive, Yc as composeEventHandlers, Zc as dispatchDiscreteCustomEvent, _a as eventCalendarListGroupingDecision, _c as usePortalContainer, _r as createCustomBlockRegistry, al as useComposedRefs, ar as parseBackgroundColorToken, au as asSiteStyleId, bn as useEditorUiStoreInstance, ei as fieldPathsOwnedBy, fs as lookModes, hc as menuTriggerInteractionClassName, i as usePreviewSidebarNavigation, il as composeRefs, jc as Presence, ji as systemCustomizeFacetAppliesToLayoutVariant, kc as Root, ki as resolveArrangementKnobs, ko as sectionPhotoPresence, ls as isThemeV2NormalEditorRawStyleFieldName, mc as menuItemInteractionClassName, ni as getBlockDefinition, nl as createSlot, o as usePreviewPageDesignEditorState, ol as cn, qn as manifestFieldSectionOptions, rl as createSlottable, sr as parseCanonicalSectionBackground, ti as resolveFieldOwnership, tl as cva, ui as eventCalendarPagingFields, us as isThemeV2NormalEditorRawStylePath, vc as ReactRemoveScroll, vr as mergeBlockDescriptorsWithRegistry, wn as shouldRevealAllBlockFieldValidation, yr as mergeManifestWithSdkOptions, zc as useId$1, zo as lookDefinitionForId } from "./previewAssistantSlot-B61mZd81.mjs";
|
|
3
3
|
import { at as Circle, dt as ChevronRight, mt as Check } from "./lucide-react-Dfgl3Vtq.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { createContext, useContext, useMemo } from "react";
|
|
@@ -1729,7 +1729,10 @@ const READINESS_REASON_COPY = {
|
|
|
1729
1729
|
product_gone: "The product this block showed is no longer available. Choose another one. Until you do, this block stays hidden from visitors.",
|
|
1730
1730
|
gallery_empty: "Add a photo. Until you do, this gallery stays hidden from visitors."
|
|
1731
1731
|
};
|
|
1732
|
-
const HIDDEN_REASON_COPY = {
|
|
1732
|
+
const HIDDEN_REASON_COPY = {
|
|
1733
|
+
events_empty: "Nothing's scheduled here yet, so visitors won't see this section. It'll appear once you add something.",
|
|
1734
|
+
events_coming_up: "The events you picked have dates coming up, so visitors won't see this signup. It'll come back once those dates have passed."
|
|
1735
|
+
};
|
|
1733
1736
|
//#endregion
|
|
1734
1737
|
//#region ../editor-blocks/src/block-form/debug.ts
|
|
1735
1738
|
const noop = () => {};
|
|
@@ -1997,9 +2000,20 @@ function arrangementVisibilityValues(block) {
|
|
|
1997
2000
|
lookId: resolved.look.id,
|
|
1998
2001
|
arrangementField,
|
|
1999
2002
|
arrangement,
|
|
2000
|
-
|
|
2003
|
+
mediaLook: editorMediaLook(block, resolved.look, resolved.skin)
|
|
2001
2004
|
} : null;
|
|
2002
2005
|
}
|
|
2006
|
+
/** Keep the style's knob restrictions with the Look until live field values are available. */
|
|
2007
|
+
function editorMediaLook(block, look, skin) {
|
|
2008
|
+
const offer = block.arrangementLookSelection?.style.offers.find((entry) => entry.id === look.id);
|
|
2009
|
+
return {
|
|
2010
|
+
look,
|
|
2011
|
+
skin,
|
|
2012
|
+
removeKnobs: offer?.removeKnobs ?? [],
|
|
2013
|
+
addKnobs: offer?.addKnobs ?? [],
|
|
2014
|
+
knobValues: offer?.knobValues ?? {}
|
|
2015
|
+
};
|
|
2016
|
+
}
|
|
2003
2017
|
/** Legacy Look knobs keep their ordinary manifest fields in Look, without a second widget inventory. */
|
|
2004
2018
|
function blockLookOwnedFieldPaths(block) {
|
|
2005
2019
|
if (!block || block.arrangementLookSelection) return [];
|
|
@@ -2591,8 +2605,14 @@ function surfaceForToken(options, token) {
|
|
|
2591
2605
|
//#region ../preview-next/src/client/blocks/blockNeedsSetup.ts
|
|
2592
2606
|
/** The short label every editing surface uses for a block that isn't set up. */
|
|
2593
2607
|
const NEEDS_SETUP_LABEL = "Needs setting up";
|
|
2594
|
-
const HIDDEN_LABEL = {
|
|
2595
|
-
|
|
2608
|
+
const HIDDEN_LABEL = {
|
|
2609
|
+
events_empty: "Hidden while empty",
|
|
2610
|
+
events_coming_up: "Hidden while dates are coming up"
|
|
2611
|
+
};
|
|
2612
|
+
const HIDDEN_ACTION = {
|
|
2613
|
+
events_empty: "Choose what shows when empty",
|
|
2614
|
+
events_coming_up: "Choose when this shows"
|
|
2615
|
+
};
|
|
2596
2616
|
/**
|
|
2597
2617
|
* Whether the draft as rendered needs setting up. This reads the preview's own
|
|
2598
2618
|
* render, so it's for editing surfaces; publishing checks published facts on the server.
|
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
:where([data-block='event-registration'].event-registration--embedded)
|
|
842
842
|
.er-container {
|
|
843
843
|
display: flex;
|
|
844
|
-
max-height: calc(100dvh -
|
|
844
|
+
max-height: calc(100dvh - var(--site-sticky-chrome-height, 0px) - 7.5rem);
|
|
845
845
|
min-height: 0;
|
|
846
846
|
}
|
|
847
847
|
|
|
@@ -1107,8 +1107,8 @@
|
|
|
1107
1107
|
:where(.theme-scope:is(*, :scope))
|
|
1108
1108
|
:where([data-block='event-calendar'])
|
|
1109
1109
|
.event-calendar-container {
|
|
1110
|
-
|
|
1111
|
-
margin-
|
|
1110
|
+
/* Edge to edge on a phone, whatever gutter the site style gives the page. */
|
|
1111
|
+
margin-inline: calc(50% - 50cqi);
|
|
1112
1112
|
border-left: none;
|
|
1113
1113
|
border-right: none;
|
|
1114
1114
|
border-radius: 0;
|
|
@@ -3295,6 +3295,13 @@
|
|
|
3295
3295
|
}
|
|
3296
3296
|
@container rb-site (max-width: 767px) {
|
|
3297
3297
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3298
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="actions"])) { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
|
|
3299
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="actions"]))::before { grid-row: auto; }
|
|
3300
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="actions"])) > * { grid-column: 1; }
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
@container rb-site (max-width: 767px) {
|
|
3304
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3298
3305
|
[data-skin="orbit"]:is(*, :scope) [data-arrangement]:is([data-treat="cta-centred"], [data-treat="cta-panel"], [data-treat="cta-beside"]) [data-slot="actions"] > * { box-sizing: border-box; flex: 1 1 100%; justify-content: center; }
|
|
3299
3306
|
/* The panel sits straight in the section, so on a phone it keeps the page gutter itself. */
|
|
3300
3307
|
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="section"] > [data-slot="copy"] { margin-inline: 1rem; }
|
|
@@ -3387,3 +3394,44 @@
|
|
|
3387
3394
|
}
|
|
3388
3395
|
}
|
|
3389
3396
|
}
|
|
3397
|
+
@layer rb-utilities {
|
|
3398
|
+
@container rb-site (min-width: 1024px) {
|
|
3399
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3400
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) :is([data-slot="frame"], [data-slot="layout"], [data-slot="lead"]) {
|
|
3401
|
+
grid-template-columns: minmax(0, 1fr) !important;
|
|
3402
|
+
width: auto !important;
|
|
3403
|
+
max-width: 100% !important;
|
|
3404
|
+
margin-inline: 0 !important;
|
|
3405
|
+
}
|
|
3406
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) :is([data-slot="frame"], [data-slot="layout"], [data-slot="lead"]) > * {
|
|
3407
|
+
grid-column: 1 / -1 !important;
|
|
3408
|
+
grid-row: auto !important;
|
|
3409
|
+
}
|
|
3410
|
+
/* Looks that never stack on a wide screen can leave no gap between the rows. */
|
|
3411
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) [data-slot="frame"] {
|
|
3412
|
+
row-gap: var(--rb-skin-stack-gap, 2rem) !important;
|
|
3413
|
+
}
|
|
3414
|
+
/* A photo running off the page's edge stops at the column's edge instead. */
|
|
3415
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) [data-slot="frame"] > [data-slot="media"] {
|
|
3416
|
+
--rb-edge-bleed: 0px !important;
|
|
3417
|
+
}
|
|
3418
|
+
/* So does a photo that a reading column widens past its words. */
|
|
3419
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block]:not([data-block="hero"]) :is([data-slot="copy"], [data-slot="item-body"]) [data-slot="photo"] {
|
|
3420
|
+
width: 100% !important;
|
|
3421
|
+
margin-inline: 0 !important;
|
|
3422
|
+
}
|
|
3423
|
+
/* Cards: two across only when two fit, whatever count the Look asks for. */
|
|
3424
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block="feature-cards"] :is([data-slot="items"], [data-card-list]) {
|
|
3425
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
|
|
3426
|
+
}
|
|
3427
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] [data-block="feature-cards"] :is([data-slot="items"], [data-card-list]) > * {
|
|
3428
|
+
grid-column: auto !important;
|
|
3429
|
+
grid-row: auto !important;
|
|
3430
|
+
}
|
|
3431
|
+
/* A list's heading goes above its ticks, so a long word in it can't reach them. */
|
|
3432
|
+
:where(.theme-scope:is(*, :scope)) .rb-page-layout [data-page-region="main"] .rb-list-ticks {
|
|
3433
|
+
grid-template-columns: minmax(0, 1fr) !important;
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-
|
|
2
|
+
import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-0gSlK9S0.mjs";
|
|
3
3
|
import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
|
|
4
4
|
import { NextResponse } from "next/server";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
|
|
2
|
-
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-
|
|
2
|
+
import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-0gSlK9S0.mjs";
|
|
3
3
|
import { NextResponse } from "next/server";
|
|
4
4
|
//#region ../preview-next/src/middleware.ts
|
|
5
5
|
const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
|
|
@@ -114,6 +114,7 @@ const PUBLIC_READ_CACHE_POLICIES = {
|
|
|
114
114
|
"public_passes",
|
|
115
115
|
"public_memberships"
|
|
116
116
|
], "batch_only"),
|
|
117
|
+
getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
|
|
117
118
|
resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
|
|
118
119
|
listPublicRouteCandidates: content(["published_content"], "batch_only"),
|
|
119
120
|
listPublicTeamMembers: content(["public_team_members"]),
|
|
@@ -1036,6 +1037,42 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1036
1037
|
"server:internal_error"
|
|
1037
1038
|
]
|
|
1038
1039
|
},
|
|
1040
|
+
updateOwnTrainerProfile: {
|
|
1041
|
+
path: "/sites/{siteId}/bookings/my-trainer-profile",
|
|
1042
|
+
method: "PUT",
|
|
1043
|
+
auth: "user",
|
|
1044
|
+
responseKind: "json",
|
|
1045
|
+
errors: [
|
|
1046
|
+
"validation:invalid_input",
|
|
1047
|
+
"auth:forbidden",
|
|
1048
|
+
"resource:not_found",
|
|
1049
|
+
"server:internal_error"
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
createOwnTrainerPhotoUploadUrl: {
|
|
1053
|
+
path: "/sites/{siteId}/bookings/my-trainer-profile/photo/upload-url",
|
|
1054
|
+
method: "POST",
|
|
1055
|
+
tags: ["media"],
|
|
1056
|
+
auth: "user",
|
|
1057
|
+
responseKind: "json",
|
|
1058
|
+
errors: [
|
|
1059
|
+
"validation:invalid_input",
|
|
1060
|
+
"auth:forbidden",
|
|
1061
|
+
"server:internal_error"
|
|
1062
|
+
]
|
|
1063
|
+
},
|
|
1064
|
+
finalizeOwnTrainerPhotoUpload: {
|
|
1065
|
+
path: "/sites/{siteId}/bookings/my-trainer-profile/photo/finalize",
|
|
1066
|
+
method: "POST",
|
|
1067
|
+
tags: ["media"],
|
|
1068
|
+
auth: "user",
|
|
1069
|
+
responseKind: "json",
|
|
1070
|
+
errors: [
|
|
1071
|
+
"validation:invalid_input",
|
|
1072
|
+
"auth:forbidden",
|
|
1073
|
+
"server:internal_error"
|
|
1074
|
+
]
|
|
1075
|
+
},
|
|
1039
1076
|
createTeamMemberProfile: {
|
|
1040
1077
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile",
|
|
1041
1078
|
method: "POST",
|
|
@@ -1670,6 +1707,18 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
|
|
|
1670
1707
|
"server:internal_error"
|
|
1671
1708
|
]
|
|
1672
1709
|
},
|
|
1710
|
+
findTransferRecipient: {
|
|
1711
|
+
path: "/sites/{siteId}/bookings/transfer-recipient",
|
|
1712
|
+
method: "POST",
|
|
1713
|
+
auth: "user",
|
|
1714
|
+
responseKind: "json",
|
|
1715
|
+
demoMutation: DEMO_MUTATION_ALLOWED,
|
|
1716
|
+
errors: [
|
|
1717
|
+
"validation:invalid_input",
|
|
1718
|
+
"auth:forbidden",
|
|
1719
|
+
"server:internal_error"
|
|
1720
|
+
]
|
|
1721
|
+
},
|
|
1673
1722
|
correctBookingCheckIn: {
|
|
1674
1723
|
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/check-in",
|
|
1675
1724
|
method: "PATCH",
|
|
@@ -3939,6 +3988,18 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3939
3988
|
"server:internal_error"
|
|
3940
3989
|
]
|
|
3941
3990
|
},
|
|
3991
|
+
exportPersonDataReadable: {
|
|
3992
|
+
path: "/sites/{siteId}/bookings/people/{personId}/export.html",
|
|
3993
|
+
method: "GET",
|
|
3994
|
+
auth: "user",
|
|
3995
|
+
responseKind: "blob",
|
|
3996
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
3997
|
+
errors: [
|
|
3998
|
+
"auth:forbidden",
|
|
3999
|
+
"resource:not_found",
|
|
4000
|
+
"server:internal_error"
|
|
4001
|
+
]
|
|
4002
|
+
},
|
|
3942
4003
|
lookupBookingPersonByEmail: {
|
|
3943
4004
|
path: "/sites/{siteId}/bookings/people/lookup-email",
|
|
3944
4005
|
method: "POST",
|
|
@@ -3951,6 +4012,18 @@ const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
3951
4012
|
"server:internal_error"
|
|
3952
4013
|
]
|
|
3953
4014
|
},
|
|
4015
|
+
addStaffClient: {
|
|
4016
|
+
path: "/sites/{siteId}/bookings/people/add-client",
|
|
4017
|
+
method: "POST",
|
|
4018
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
4019
|
+
auth: "user",
|
|
4020
|
+
responseKind: "json",
|
|
4021
|
+
errors: [
|
|
4022
|
+
"auth:forbidden",
|
|
4023
|
+
"validation:invalid_input",
|
|
4024
|
+
"server:internal_error"
|
|
4025
|
+
]
|
|
4026
|
+
},
|
|
3954
4027
|
getBookingPerson: {
|
|
3955
4028
|
path: "/sites/{siteId}/bookings/people/{personId}",
|
|
3956
4029
|
method: "GET",
|
|
@@ -4453,18 +4526,6 @@ const API_ENDPOINTS = {
|
|
|
4453
4526
|
"server:internal_error"
|
|
4454
4527
|
]
|
|
4455
4528
|
},
|
|
4456
|
-
turnOnCourses: {
|
|
4457
|
-
path: "/sites/{siteId}/bookings/settings/courses",
|
|
4458
|
-
method: "POST",
|
|
4459
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
|
|
4460
|
-
auth: "user",
|
|
4461
|
-
responseKind: "json",
|
|
4462
|
-
errors: [
|
|
4463
|
-
"auth:forbidden",
|
|
4464
|
-
"resource:conflict",
|
|
4465
|
-
"server:internal_error"
|
|
4466
|
-
]
|
|
4467
|
-
},
|
|
4468
4529
|
sendTestEmail: {
|
|
4469
4530
|
path: "/sites/{siteId}/settings/emails/test",
|
|
4470
4531
|
method: "POST",
|
|
@@ -5862,6 +5923,19 @@ const API_ENDPOINTS = {
|
|
|
5862
5923
|
],
|
|
5863
5924
|
responseKind: "json"
|
|
5864
5925
|
},
|
|
5926
|
+
accountUpdateName: {
|
|
5927
|
+
path: "/account/name",
|
|
5928
|
+
method: "POST",
|
|
5929
|
+
tags: ["account"],
|
|
5930
|
+
auth: "user",
|
|
5931
|
+
errors: [
|
|
5932
|
+
"auth:unauthenticated",
|
|
5933
|
+
"auth:forbidden",
|
|
5934
|
+
"validation:invalid_input",
|
|
5935
|
+
"server:internal_error"
|
|
5936
|
+
],
|
|
5937
|
+
responseKind: "json"
|
|
5938
|
+
},
|
|
5865
5939
|
accountDismissTwoStepPrompt: {
|
|
5866
5940
|
path: "/account/two-step-prompt/dismiss",
|
|
5867
5941
|
method: "POST",
|
|
@@ -8241,6 +8315,7 @@ const API_ENDPOINTS = {
|
|
|
8241
8315
|
responseKind: "json",
|
|
8242
8316
|
errors: [
|
|
8243
8317
|
"validation:invalid_input",
|
|
8318
|
+
"auth:forbidden",
|
|
8244
8319
|
"resource:already_exists",
|
|
8245
8320
|
"server:internal_error"
|
|
8246
8321
|
]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-
|
|
3
|
-
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-
|
|
1
|
+
import { Bn as siteFooterManifest, Gs as toUtcIsoDateTimeString, Vn as siteHeaderManifest, Xn as resolveDateRuntimeContext, Yn as readRuntimeNow, dt as setContextResolveImageUrlContext, lt as buildResolveImageUrlContext, t as getBlockDefinition } from "./registry-cQ9N5W-n.mjs";
|
|
2
|
+
import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-JxlV8_Bo.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-CuVj3bkd.mjs";
|
|
4
4
|
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-iC_hXjJI.mjs";
|
|
5
5
|
import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
|
|
6
|
-
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-kERh_c0v.mjs";
|
|
7
7
|
import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
|
|
8
8
|
import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";
|
|
9
9
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as SURFACE_FOREGROUND_CSS_VARS, Dt as parseThemeColorToken, Et as parseColorTokenParts, Q as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValue, et as SURFACE_INK_CSS_VARS, ft as cssVarValue, lt as surfaceInkValue, mt as rgbColorValue, ot as surfaceForegroundValueWithOpacity, st as surfaceInkDeclarations } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
2
|
import { F as resolveSurfaceForeground, I as safeTokenOr, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex, z as solveSurfaceInks } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
3
|
-
import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-
|
|
4
|
-
import {
|
|
3
|
+
import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-BZ8YSrQg.mjs";
|
|
4
|
+
import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-CaH018pK.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../theme-core/src/cards/decorations.ts
|
|
@@ -409,6 +409,20 @@ const opaquePanels = [
|
|
|
409
409
|
kind: "solid",
|
|
410
410
|
token: "surface"
|
|
411
411
|
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
selector: "[data-block=\"gifting\"] .gifting-panel",
|
|
415
|
+
paint: {
|
|
416
|
+
kind: "solid",
|
|
417
|
+
token: "surface"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
selector: "[data-block=\"gifting\"] .gifting-field :is(input, textarea)",
|
|
422
|
+
paint: {
|
|
423
|
+
kind: "solid",
|
|
424
|
+
token: "surface"
|
|
425
|
+
}
|
|
412
426
|
}
|
|
413
427
|
];
|
|
414
428
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-
|
|
4
|
-
import { r as sectionStylesOverrideSchema } from "./schema-
|
|
5
|
-
import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-
|
|
1
|
+
import { at as lookFillPartsFromContent, ot as resolveRuntimeSection, rt as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-Cuos4Xcd.mjs";
|
|
2
|
+
import { Ca as arrangementStyleAvailability, Co as resolveSectionBackground, Da as resolveArrangementLookForBlock, Ea as getCompatibleBlockAppearancePresets, Gi as isRecord, Ia as deriveSiteStyleBlockPolicy, La as filterLayoutProfilesForPolicy, Ma as resolveEffectiveArrangement, Oa as resolveLookForBlock, Ra as filterLookIdsForPolicy, Ri as plainTextToInlineText, So as parseCanonicalRuntimeBackground, Ta as compileArrangementLookRuntime, To as defaultHeroImageSurfaceTreatment, Ua as compilePageRuntimeFields, Va as getCuratedSiteStyle, Wa as stripCompiledRuntimeStyleFields, _o as transitionIntentForTreatment, ao as resolvePageDesignBoundaryChoice, ct as systemCustomizeFacetDefinitionsForBlock, fo as boundaryTreatmentForBoundaryOptionId, go as spaciousBoundaryOption, ho as softBoundaryOption, io as resolvePageDesignBlockLookChoice, ir as formatDate, ja as readStoredMode, lo as boundaryOptionForTransitionIntent, mo as noneBoundaryOption, po as isDecorativeTransitionIntent, t as getBlockDefinition, uo as boundaryOptions, wa as automaticArrangementLook, wr as resolveDeclaredBlockDesignCapability, xa as arrangementAppearancePresets } from "./registry-cQ9N5W-n.mjs";
|
|
3
|
+
import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
|
|
4
|
+
import { r as sectionStylesOverrideSchema } from "./schema-BpsqaSSU.mjs";
|
|
5
|
+
import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-CuVj3bkd.mjs";
|
|
6
6
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
7
|
-
import { E as
|
|
7
|
+
import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-CaH018pK.mjs";
|
|
8
8
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
9
9
|
//#region ../theme-core/src/site-styles/resolver.ts
|
|
10
10
|
const repairActionsByIssueKind = {
|
|
@@ -23,8 +23,7 @@ const repairActionsByIssueKind = {
|
|
|
23
23
|
"unsupported-block-composition": ["remove-composition"],
|
|
24
24
|
"image-surface-treatment-without-image-surface": ["fallback-image-surface-treatment"],
|
|
25
25
|
"image-surface-motion-without-image-surface": ["fallback-image-surface-motion"],
|
|
26
|
-
"hero-
|
|
27
|
-
"hero-image-without-legibility": ["fallback-hero-legibility"]
|
|
26
|
+
"hero-image-without-treatment": ["fallback-image-surface-treatment"]
|
|
28
27
|
};
|
|
29
28
|
function repairActionsForIssue(issueKind) {
|
|
30
29
|
return repairActionsByIssueKind[issueKind];
|
|
@@ -67,7 +66,6 @@ const blockDesignFallback = {
|
|
|
67
66
|
sectionSurface: "base",
|
|
68
67
|
contentFrame: plainFrame,
|
|
69
68
|
sectionHeight: "default",
|
|
70
|
-
heroLegibility: "none",
|
|
71
69
|
imageSurfaceTreatment: { kind: "none" },
|
|
72
70
|
imageSurfaceMotion: "static",
|
|
73
71
|
tileTreatment: "default",
|
|
@@ -83,7 +81,6 @@ const appliedBlockDesignFallback = {
|
|
|
83
81
|
appliedContentFrame: blockDesignFallback.contentFrame,
|
|
84
82
|
appliedCardRole: null,
|
|
85
83
|
appliedSectionHeight: blockDesignFallback.sectionHeight,
|
|
86
|
-
appliedHeroLegibility: blockDesignFallback.heroLegibility,
|
|
87
84
|
appliedImageSurfaceTreatment: blockDesignFallback.imageSurfaceTreatment,
|
|
88
85
|
appliedImageSurfaceMotion: blockDesignFallback.imageSurfaceMotion,
|
|
89
86
|
appliedTileTreatment: blockDesignFallback.tileTreatment,
|
|
@@ -108,7 +105,6 @@ function blockDesignRequest(block) {
|
|
|
108
105
|
contentFrame: block.contentFrame,
|
|
109
106
|
...block.cardRole ? { cardRole: block.cardRole } : {},
|
|
110
107
|
sectionHeight: block.sectionHeight,
|
|
111
|
-
heroLegibility: block.heroLegibility,
|
|
112
108
|
imageSurfaceTreatment: block.imageSurfaceTreatment,
|
|
113
109
|
imageSurfaceMotion: block.imageSurfaceMotion,
|
|
114
110
|
tileTreatment: block.tileTreatment,
|
|
@@ -127,7 +123,6 @@ function resolveBlockDesignPlan(input) {
|
|
|
127
123
|
let appliedContentFrame = block.contentFrame;
|
|
128
124
|
const appliedCardRole = appliedCardRoleFor(block, capability);
|
|
129
125
|
let appliedSectionHeight = block.sectionHeight ?? "default";
|
|
130
|
-
let appliedHeroLegibility = block.heroLegibility ?? "none";
|
|
131
126
|
let appliedImageSurfaceTreatment = block.imageSurfaceTreatment ?? { kind: "none" };
|
|
132
127
|
let appliedImageSurfaceMotion = block.imageSurfaceMotion ?? "static";
|
|
133
128
|
let appliedTileTreatment = block.tileTreatment ?? "default";
|
|
@@ -354,33 +349,18 @@ function resolveBlockDesignPlan(input) {
|
|
|
354
349
|
allowedRepairActions: repairActionsForIssue("image-surface-motion-without-image-surface")
|
|
355
350
|
});
|
|
356
351
|
}
|
|
357
|
-
if (appliedSectionSurface === "hero-image" && appliedImageSurfaceTreatment.kind
|
|
358
|
-
|
|
359
|
-
appliedHeroLegibility = "none";
|
|
352
|
+
if (appliedSectionSurface === "hero-image" && appliedImageSurfaceTreatment.kind === "none") {
|
|
353
|
+
appliedImageSurfaceTreatment = defaultHeroImageSurfaceTreatment;
|
|
360
354
|
issues.push({
|
|
361
|
-
kind: "hero-
|
|
355
|
+
kind: "hero-image-without-treatment",
|
|
362
356
|
blockId: block.blockId,
|
|
363
357
|
blockKind: block.blockKind,
|
|
364
358
|
purpose: block.purpose,
|
|
365
|
-
requested,
|
|
366
|
-
fallback:
|
|
367
|
-
policy: input.policy,
|
|
368
|
-
severity: designIssueSeverityForPolicy(input.policy),
|
|
369
|
-
allowedRepairActions: repairActionsForIssue("hero-legibility-overridden-by-image-surface-treatment")
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
if (appliedSectionSurface === "hero-image" && appliedImageSurfaceTreatment.kind === "none" && (block.heroLegibility === void 0 || appliedHeroLegibility === "none")) {
|
|
373
|
-
appliedHeroLegibility = "scrim-gradient";
|
|
374
|
-
issues.push({
|
|
375
|
-
kind: "hero-image-without-legibility",
|
|
376
|
-
blockId: block.blockId,
|
|
377
|
-
blockKind: block.blockKind,
|
|
378
|
-
purpose: block.purpose,
|
|
379
|
-
requested: block.heroLegibility,
|
|
380
|
-
fallback: appliedHeroLegibility,
|
|
359
|
+
requested: block.imageSurfaceTreatment,
|
|
360
|
+
fallback: appliedImageSurfaceTreatment,
|
|
381
361
|
policy: input.policy,
|
|
382
362
|
severity: designIssueSeverityForPolicy(input.policy),
|
|
383
|
-
allowedRepairActions: repairActionsForIssue("hero-image-without-
|
|
363
|
+
allowedRepairActions: repairActionsForIssue("hero-image-without-treatment")
|
|
384
364
|
});
|
|
385
365
|
}
|
|
386
366
|
return {
|
|
@@ -390,7 +370,6 @@ function resolveBlockDesignPlan(input) {
|
|
|
390
370
|
appliedCardRole,
|
|
391
371
|
appliedSectionBackgroundPaints: capability.sectionBackgroundPaints,
|
|
392
372
|
appliedSectionHeight,
|
|
393
|
-
appliedHeroLegibility,
|
|
394
373
|
appliedImageSurfaceTreatment,
|
|
395
374
|
appliedImageSurfaceMotion,
|
|
396
375
|
appliedTileTreatment,
|