@riverbankcms/sdk 0.174.1 → 0.176.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-DvoTk7Py.d.ts} +1 -1
- package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-D-l374tU.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
- package/dist/_dts/{client-B1J6Akyf.d.ts → client-D4p0J1lK.d.ts} +487 -11
- package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
- package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
- package/dist/_dts/{index-BLEKFHt1.d.ts → index-CKkkCgb6.d.ts} +1 -1
- package/dist/_dts/{index-yWDbUojb.d.ts → index-CoLcwjqJ.d.ts} +1 -1
- package/dist/_dts/{index-DpJm0NpL.d.ts → index-D-ai8IQd.d.ts} +4 -4
- package/dist/_dts/{index-CXZSy_9M.d.ts → index-DDsfmM4d.d.ts} +2 -2
- package/dist/_dts/{index-CF62FntA.d.ts → index-EJMo-KSo.d.ts} +2 -2
- package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-ZKEDvLuN.d.ts} +1 -1
- package/dist/_dts/{index-BgOr1Xyz.d.ts → index-tcPtGdag.d.ts} +3 -3
- package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
- package/dist/_dts/{request-BK-pHf0P.d.ts → request-B8jVdvgI.d.ts} +1993 -407
- package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-Be4iL6-F.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 +5 -177
- 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 +3 -3
- 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-CwmB2NHU.d.ts → types-BXMX4z2j.d.ts} +7 -7
- package/dist/_dts/{types-DjVNADXR.d.ts → types-DXY64Xh4.d.ts} +4 -4
- package/dist/_dts/{types-Dmow_FI6.d.ts → types-lwSgCWZ4.d.ts} +11 -2
- package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-C5xp--Fu.d.ts} +7 -4
- package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -16
- package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-MbvIo2jS.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +36 -11
- package/dist/client/DemoBookingPortalAccess-C9Ggcfx3.mjs +545 -0
- package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-BSMuSqg0.mjs} +15 -25
- package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-BTrmSyUB.mjs} +25 -17
- package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-B0WjGXsH.mjs} +4 -3
- package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-BEH4UbSL.mjs} +18 -8
- package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-B2EikR3f.mjs} +635 -359
- package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -22
- package/dist/client/{Page-BpeP9xdt.mjs → Page-F3lhDvw1.mjs} +1036 -953
- package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +4 -301
- package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-Bb7rPtSq.mjs} +37 -12
- package/dist/client/{accordion-nR7D4m1a.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-B8ohIj13.mjs} +229 -42
- package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +22 -15
- package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -1
- package/dist/client/{carousel-CVUOatsY.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-DE0K6E0R.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-76cdHyPL.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +145 -21
- package/dist/client/{context-CNlesLfF.mjs → context-R9p5c8IH.mjs} +76 -58
- package/dist/client/{course-DHIrXqNT.mjs → course-CUFVJEAc.mjs} +2 -2
- package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
- package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/display-4HYOb-AK.mjs +11844 -0
- package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-DWvSODTI.mjs} +176 -75
- package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-CfqIAhfN.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -3
- package/dist/client/gifting-CbNSrp7C.mjs +28 -0
- package/dist/client/gifting.client-B__bGhFc.mjs +404 -0
- package/dist/client/gifting.parts-CTA1sDW6.mjs +86 -0
- package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BwiNdgMU.mjs} +2951 -14395
- package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-B17WYHxZ.mjs} +7 -5
- package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +3 -3
- package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-D5mFWXtN.mjs → noop-CaQxI-Js.mjs} +94 -36
- package/dist/client/portal/client.mjs +313 -148
- package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-DTgZXOEq.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-y3LvxaiG.mjs} +4 -3
- package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-CIWYKz1V.mjs} +369 -246
- package/dist/client/rendering/client.mjs +25 -491
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -21
- package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-5LBhftWx.mjs → shop-CFbWlv_W.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-C-I29eaA.mjs} +64 -32
- package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DOm7vx0X.mjs +83 -0
- package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-GHTWUKD6.mjs} +56 -19
- package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CxDJ8P2r.mjs} +113 -35
- package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel--R0zVzZO.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BGu_2F50.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +32 -17
- package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -6
- package/dist/client/{view-BvuYmQJ5.mjs → view-3foOzGWR.mjs} +3 -2
- package/dist/client/{view-D9ObkFtz.mjs → view-BbzH5MQb.mjs} +128 -32
- package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-0xyUPWUB.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +61 -55
- package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +156 -143
- package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +4535 -2913
- package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-DbKozRSn.mjs} +527 -236
- package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +28 -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-BOuNcOcN.mjs → route-contract-BYezcMx5.mjs} +94 -12
- package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
- package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
- package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-VGgS6UvF.mjs} +13 -34
- package/dist/server/{client-CGtU5fHI.mjs → client-Bvag5OtW.mjs} +145 -22
- 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-CxASA3PE.mjs} +6 -9
- package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next.mjs +35 -9
- package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-CfSnAkCO.mjs} +67 -40
- package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +7 -15
- package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-D23o5QgC.mjs} +1068 -891
- package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
- package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BuoXWT9y.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-DmqxC8th.mjs → registry-CXRXsFSx.mjs} +19721 -19621
- 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 +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- 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-CozQ7wE0.mjs} +4 -4
- package/dist/server/{version-DT_efohp.mjs → version-CgCWRFEY.mjs} +1 -1
- package/dist/styles/index.css +295 -37
- package/package.json +1 -1
- package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as __exportAll } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $ as useFooterComposerState, $
|
|
3
|
+
import { $ as useFooterComposerState, $c as composeEventHandlers, $i as themeRuntimeScopeProps, $n as readSliderFieldUiConfig, $o as gradientToCss, $s as DialogClose, $t as listEntryPageContentSlots, $u as unsafeAsEditorBlockId, A as usePreviewJoinOutcome, Ai as resolveMediaSlotContract, An as lifecycleOutcomeMessage, As as resolveBlockTitle, At as toRoutableLinkPayload, Au as parseMailchimpAudienceId, Ba as BLOCK_BUTTON_ROLE_OPTIONS, Bc as Root2$1, Bn as withoutServerVersions, Bo as concretePaletteFromTheme, Bt as derivePromotedFieldPlan, C as pageDesignLookTiles, Cl as buttonStyleHoverPreferenceValue, Cn as recoveryConflictCopy, Co as buildThemeRuntime, Cs as flowRepeaterGridItems, Cu as unsafeAsFooterModuleId, Dl as updateButtonStyleHoverPreference, Ds as resolveRepeaterGridAcceptedSpans, Dt as sendPageCommand, Du as mailingListTargetingChoiceIds, Ei as resolveImageUrlWithContext, El as resolveButtonStyleSelection, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Es as planRepeaterGridStartNewRow, Eu as DEFAULT_MAILING_LIST_TARGETING, F as lookTilePosition, Fc as Presence, Fr as siblingPath$2, Ft as NewsletterFormClient, Fu as parsePublicProfile, Gc as useFocusGuards, Gi as isOfferingsPreviewSourceKey, Gl as parseAspectRatioValue, Gn as createManifestFormAdapter, Gt as hasVisibilityConditions, Gu as pristineValueSync, Hc as useSize, Hl as isRotationDimensionSwap, Ht as evaluateVisibility, I as lookTilesFor, Ic as Portal$1, Ir as withValueAtPath, Iu as publicProfileWeekdays, J as footerLayoutSelection, Jc as useDirection, Ji as planOfferingPreviewCardSelection, Jn as getFieldDefault, Jt as createBlock, Ju as createEditorInsertBlockCommand, Kc as DismissableLayer, Ki as normalizeOfferingsPreviewGroupOrder, Kl as resolveMediaTransformForAspect, Kn as createManifestValidation, Ks as sidebarReturnView, Kt as isNonEmptyValue, Ku as syncStateOf, Lc as Anchor, Lt as useImageResolveContextOptional, Lu as publishedContactDetails, M as usePreviewRenderReadiness, Mo as sectionPhotoPresence, Mt as updateFooterComposition, Mu as parseNewsletterListId, Nt as footerCreditLine, Nu as knownSocialPlatformLabels, Ol as updateButtonStyleSelectionChoice, Oo as resolveVisiblePromotedFieldPathsForEditorBlock, Os as resolveRepeaterGridBreakpointForWidth, Ot as missingReceiptError, Pr as getAtPath, Pu as knownSocialPlatforms, Q as useFooterAuthoringOptional, Qa as isRichTextDoc, Qc as createContextScope, Qn as readNumberFieldUiConfig, Qs as Dialog, Qt as isSurfaceSlotBlockTarget, Qu as editorBlockCollectionOwnersEqual, R as selectedLookTile, Rc as Arrow$1, Ri as buildResolveImageUrlContext, Ro as getHeaderLayout, Rs as OPERATION_ID_HEADER, Rt as FormNodeClient, Sc as ReactRemoveScroll, Sl as siteOptionSources, Sn as useSidebarView, So as parseFieldDefinition, Ss as findFirstAvailableRepeaterGridPlacement, Su as setFooterSectionSelected, Ti as resolveImageSourceSetWithContext, Tl as findButtonStyleRecipe, Tn as unfinishedBlockCopy, Ts as normalizeRepeaterGridSpan, Tt as LeaseNoticeButtons, Tu as parseMailingListPlacementTargeting, U as usePreviewAuth, Uc as useId$1, Us as extractApiEnvelopeErrorDetails, Ut as getFieldIntent, Uu as displayedValues, Va as isBlockButtonRole, Vc as createPopperScope, Vn as deriveEditorValuePublicationState, Vo as concretePaletteToTheme, Vt as collectVisibleWhenWatchPaths, Wc as FocusScope, Wi as inferLegacyOfferingsPreviewGroupOrder, Wn as initialBlockDraftValues, Wo as defaultPolicyPageFlowPresetId, Ws as unwrapResponse, Wt as getWidgetKey, Wu as knownRevision, X as resolveFooterEngagementPreview, Xa as deriveFieldValidationPlan, Xc as useControllableState, Xi as resolveOfferingsPreviewGroupOrderEntries, Xl as runtimeMediaSchema, Xn as normalizeFieldForCanonicalValidation, Xo as palettesForSiteStyle, Xs as CalloutDescription, Xt as deleteBlock, Xu as createEditorReorderBlocksCommand, Y as resolveFooterEngagementAuthoringState, Ya as admitLayoutGridForPlan, Yc as createCollection, Yl as mediaSchema, Yn as getRepeaterItemDefault, Yo as offeredSiteStyles, Ys as Callout, Yt as createSlotBlock, Yu as createEditorRemoveBlockCommand, Z as FooterComposerProvider, Zi as buildThemeDataAttrs, Zn as getGroupChildFields, Zs as CalloutTitle, Zt as deleteSlotBlock, Zu as editorBlockCollectionOwnerKey, _c as Trigger$1, _i as chooseScheduleScope, _n as resolveContentTitle, _s as isInternalResolvedLinkValue, _u as deriveFooterEditorOverview, aa as suggestSemanticIconForFeatureCard, ac as DialogTrigger, ad as resolveBookingTimeZoneId, al as cva, ao as parseGeneratedIconSetId, at as readFooterEngagementDraft, au as isBodyFontFamily, b as buildPageDesignEditorReadModelForBlocks, bi as writeEventSelectionChips, bl as resolveRepeaterGridRowFieldId, bn as useEditorUiStoreInstance, bs as planRepeaterGridSpanChange, cd as assertNever$1, co as coerceInlineTextWithFallback, cr as planBackgroundTransition, cs as sectionTransitionFamilies, d as cycleSiteChromeSelectionId, dl as useShallow, dt as DONE, du as generateUuidV4, ea as FEATURE_CARD_GENERATED_ICON_SIZE_PX, ec as DialogContent, ed as unsafeAsEditorBlockValues, el as Primitive, en as listPageSurfaceContentSlots, eo as sanitizeHref, es as GRADIENT_PRESETS, ft as runHeldLifecycle, fu as slugify$1, gc as Root$2, gi as chooseAllEvents, gl as canEditorWrite, gn as resolvePageRouteSlug, gu as mailingListProviderName, hc as Content, hi as EVENT_SELECTION_TYPE_OPTIONS, hl as readLinkedEntryLease, hn as deriveRouteMetadataPresentation, hu as resolveMailingListDefaultDestination, i as usePreviewSidebarNavigation, ia as resolveFeatureCardGeneratedIconSizePx, ic as DialogTitle$1, id as resolveBookingBusinessTimeZone, in as blocksKeys, io as parseGeneratedIconAssetId, ir as imagePoolForOverride, it as footerPartKey, jc as hideOthers, jt as publishContentEntry, ju as parseMailchimpInterestId, ki as resolveMediaSlot, kl as buttonStyleSelectionKey, ks as resolveRepeaterGridColumnsForBreakpoint, kt as footerMenuNavigationFacts, ku as parseBrevoListId, ld as parseMediaAssetId, ll as useComposedRefs, lr as rankBackgroundImagePoolItems, ls as sectionTransitionFamilyForBoundaryOptionId, lt as useEntryController, md as expectParsedBrandedId, mi as EVENT_SELECTION_SCOPE_OPTIONS, ml as canWriteLinkedEntry, mn as routeLifecycleContext, ms as appearancePresets, mu as assessMailingListTargeting, n as usePreviewAssistantSlot, na as getFeatureCardIconCompletion, nc as DialogFooter, nd as formatDateTime, ni as getBlockDefinition, nl as Button$1, nn as reorderSlotBlocks, no as getGeneratedBlockIconStyleState, ns as buildFontPreviewUrl, nt as footerHeaderStatus, nu as mediaIdentifierSchema, o as usePreviewPageDesignEditorState, oa as toFeatureCardIconSuggestionInputs, od as parseUtcIsoDateTimeString, ol as createSlot, on as getDashboardUrl, oo as parseSiteIconStyleGuideVersionId, or as parseBackgroundOverrideFromContent, os as findCuratedPalette, ot as footerEngagementEventFields, ou as asAppearancePresetId, pc as DialogTitle, pd as parseSiteId, pl as isEdited, po as inlineTextToPlainText, pt as useServerRefresh, q as buildFooterRuntimeViewModel, ql as getDirectImageUrlForMediaAsset, qn as manifestFieldSectionOptions, qo as getCuratedSiteStyle, qt as partitionFieldsByIntent, qu as valueStatus, ra as parseFeatureCardGeneratedIconSizePx, rc as DialogHeader, rd as parseBookingLocalDate, ri as listBlockDescriptors, rl as buttonVariants, rn as withSlotCompositionHash, ro as parseBlockIconValue, rr as enabledBackgroundModes, rt as footerEngagementStarted, ru as asRecord, s as usePreviewPageDesignRenderState, sd as toUtcIsoDateTimeString, ss as defaultSectionTransitionVariantForFamily, st as parseFooterEngagementDraft, ta as createFeatureCardIconKey, tc as DialogDescription$1, td as formatDate, tn as reorderBlocks, to as getBlockIconSemanticId, tr as canCycleBackgroundOverrideValue, ts as getGradientPreset, tu as PUBLIC_FILE_FIELD_KINDS, u as useSiteChromeCustomizeOptional, uc as DialogDescription, ui as buildNewsletterFormInteractiveIslandProps, ul as cn, un as ApiRequestError, ur as resolveBackgroundCapability, us as sectionTransitionVariantForBoundaryOptionId, uu as authoredValuesEqual, v as useLiveFooterRuntime, vi as readEventSelectionChips, vl as isAcceptedRepeaterGridSpan, vn as planLeaseNotice, vo as plainTextToInlineText, vs as planLayoutGridColumnEdit, vu as normalizeLegacyFooterContentToV1, w as setPageDesignBlockBackground, wi as computeMediaTransformStyle, wl as buttonStyleSelectionParameterValue, ws as isRepeaterGridLayoutInvalid, wt as LeaseDiscardedNoticeView, wu as planFooterLayout, xc as usePortalContainer, xl as resolveRepeaterGridSpanFieldId, xs as projectRepeaterGridLayout, xu as resolveFooterSections, ya as buildFormInteractiveIslandProps, yi as toggleEventType, yl as resolveRepeaterGridColumnFieldId, yn as useEditorUiStore, ys as buildRepeaterGridDropTargets, yu as parseFooterCompositionV1, zc as Content$1, zl as paletteValueKey, zn as toEditorBlockItem, zo as getHeaderStyle, zt as BlockApiProvider } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
4
4
|
import { $ as EllipsisVertical, A as LoaderCircle, B as ImageOff, E as Maximize2, G as FileText, Kt as err, L as Image, O as Lock, P as Link2, R as ImageUp, S as Palette, U as GripVertical, Z as EyeOff, _t as Box$1, b as PanelTop, bt as ArrowUpRight, c as Trash2, d as SlidersHorizontal, dt as ChevronRight, f as Settings, ft as ChevronLeft, g as RotateCcw, ht as Calendar$1, i as Video, it as Clock3, lt as CircleAlert, m as Rows3, mt as Check, n as X$1, nt as Copy, pt as ChevronDown, qt as ok, rt as Clock, s as TriangleAlert, t as lucide_react_exports, tt as Crop, u as Sparkles, v as Plus, x as PanelBottom, xt as ArrowDown, y as Pencil, yt as ArrowUp, z as ImagePlus } from "./lucide-react-Dfgl3Vtq.mjs";
|
|
5
|
-
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-
|
|
5
|
+
import { $ as FieldFrame, B as useSiteOptionWidgetContext, Ct as clamp, D as SiteFontFaceStyles, Dt as Input, Et as NativeSelect, Ft as Content$2, H as useMediaEditor, It as List, J as SelectField, K as BlockContextProvider, L as siteColourCss, Lt as Root2$2, Mt as TabsContent, Nt as TabsList, Ot as FIELD_FOCUS_WITHIN_CLASS, Pt as TabsTrigger, Q as unmapValueFromSelect, R as locationWidgetOverrides, Rt as Trigger$2, St as usePrevious$1, Tt as FieldTrigger, X as mapCurrentValueForSelect, Y as hasEmptyOption, Z as mapOptionValueForSelect, _t as Select$1, at as ThemeScopeCore, bt as SelectTrigger, c as resolvePreviewSidebarChromeModel, d as dashboardLogoSettingsHref, et as FieldLabelText, f as HeaderMenuControls, gt as Textarea, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, k as useRememberSiteFonts, kt as FIELD_SURFACE_CLASS, m as CustomizeBackgroundControlRows, mt as ChoiceTileGroup, nt as useField, o as resolvePreviewEditorGuidanceModel, p as isHeaderMenuSurfaceState, pt as CHOSEN_OPTION_CLASS, q as useBlockContext, r as buildPreviewDashboardSetupUrl, rt as useLinkedInlineTextField, t as canInspectSiteStyle, tt as hintWithCharacterLimit, u as SiteChromeSurfaceControls, vt as SelectContent, wt as SearchInput, xt as SelectValue, yt as SelectItem, z as SiteOptionWidgetProvider, zt as classifyKnownMimeType } from "./siteStyleAccess-DbKozRSn.mjs";
|
|
6
6
|
import { J as paletteTokenNameSchema, V as hexColorSchema, W as paletteColorEntries, c as isKnownIconName, i as ThemedButtonSpecimen, l as isIconPickerPreset, o as getIconComponent, s as getIconPickerOptionsForPreset, tt as VARIANT_ROLES, u as resolveIconPickerPreset } from "./ThemedButton-CVYz7h68.mjs";
|
|
7
|
-
import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, O as Switch, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as SegmentedControl, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-
|
|
7
|
+
import { A as ScrollableDialogContent, C as EMPTY_DOC, D as resolveSdkFooterMode, F as resolveVideoSelectionIntentForMediaField, I as isSvgMimeType, M as Surface, N as surfaceVariants, O as Switch, P as emitMediaCropDebug, S as useRichTextEditor, T as InlineTextEditor, _ as MediaPickerMiniDialog, a as ArrangementOptionsBody, b as getRichTextImagePositionFromTarget, c as BackgroundChooser, d as gradientLabel, f as readBackgroundColorPaletteSnapshot, g as MediaEditor, h as getUnresolvedRichTextImageWarnings, i as ArrangementLookNote, j as ScrollableDialogShell, k as SegmentedControl, l as BackgroundPreviewSwatch, m as useRichTextImageProjection, n as pageSectionIdFromBlockId, o as lookIsAutomatic, p as useSiteColourVariables, s as useArrangementToolbar, u as formatTokenLabel, v as MediaPickerMini, x as insertOrReplaceRichTextImage, y as RichTextEditorSurface } from "./PageSectionToolbar-0xyUPWUB.mjs";
|
|
8
8
|
import { n as TZDate } from "./src-DzXUmsyK.mjs";
|
|
9
9
|
import { i as useOptionalLocationPickerEnvironment, n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
|
|
10
|
-
import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-
|
|
11
|
-
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-
|
|
10
|
+
import { a as publicationLabel, o as Spinner, s as Separator, t as useAutosaveStatus } from "./useAutosaveStatus-D9s6dyMW.mjs";
|
|
11
|
+
import { A as Tooltip, C as blockLookOwnedFieldPaths, D as showRawStyleFields, E as prepareBlockEditorManifest, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, O as getBlockManifestFromSdkConfig, P as Badge, S as arrangementVisibilityValues, T as hideThemeV2RawStyleFields, V as DropdownMenuSeparator, _ as createFieldObservation, b as arrangementLookResolution, f as arrangementBlockControlsFor, g as isRecord$1, h as isObjectRecord, i as NEEDS_SETUP_LABEL, j as TooltipContent, k as mergeBlockDescriptors, l as needsSetupOf, m as createStoreBackend, n as resolveBlockManifest, o as blockNoticeLabel, p as arrangementLookNameFor, r as useBlockCustomizeControls, s as blockNoticeMessage, u as useBlockNotice, v as SdkConfigProvider, w as lookNotShownFieldIds, x as arrangementOwnedFieldIds, y as useSdkConfig } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
|
|
12
12
|
import * as React$1 from "react";
|
|
13
13
|
import React, { Fragment, createContext, forwardRef, memo, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -2920,6 +2920,29 @@ function Label({ className, ...props }) {
|
|
|
2920
2920
|
});
|
|
2921
2921
|
}
|
|
2922
2922
|
//#endregion
|
|
2923
|
+
//#region ../ui/src/combobox-active-row.ts
|
|
2924
|
+
/**
|
|
2925
|
+
* The highlighted row: one the pointer or arrow keys picked while it is still
|
|
2926
|
+
* listed, else the selected row, else the first. Setting null goes back to
|
|
2927
|
+
* following the selection.
|
|
2928
|
+
*/
|
|
2929
|
+
function useActiveRow(rows, selectedRowId) {
|
|
2930
|
+
const [pickedId, setPickedId] = useState(null);
|
|
2931
|
+
const listed = (id) => Boolean(id) && rows.some((row) => row.id === id);
|
|
2932
|
+
const current = listed(pickedId) ? pickedId : listed(selectedRowId) ? selectedRowId : rows[0]?.id ?? null;
|
|
2933
|
+
const move = (by) => {
|
|
2934
|
+
if (rows.length === 0) return;
|
|
2935
|
+
const index = rows.findIndex((row) => row.id === current);
|
|
2936
|
+
setPickedId(rows[index === -1 ? by === 1 ? 0 : rows.length - 1 : (index + by + rows.length) % rows.length]?.id ?? null);
|
|
2937
|
+
};
|
|
2938
|
+
return {
|
|
2939
|
+
id: current,
|
|
2940
|
+
row: rows.find((row) => row.id === current) ?? null,
|
|
2941
|
+
set: setPickedId,
|
|
2942
|
+
move
|
|
2943
|
+
};
|
|
2944
|
+
}
|
|
2945
|
+
//#endregion
|
|
2923
2946
|
//#region ../ui/src/combobox-keys.ts
|
|
2924
2947
|
const NONE = { tag: "none" };
|
|
2925
2948
|
const CLOSE = { tag: "close" };
|
|
@@ -2991,6 +3014,16 @@ function searchKeyIntent(key) {
|
|
|
2991
3014
|
preventDefault: intent.tag !== "none"
|
|
2992
3015
|
};
|
|
2993
3016
|
}
|
|
3017
|
+
/** Carries an intent out. */
|
|
3018
|
+
function applyComboboxIntent(intent, handlers) {
|
|
3019
|
+
switch (intent.tag) {
|
|
3020
|
+
case "open": return handlers.openAt(intent.fallback);
|
|
3021
|
+
case "move": return handlers.move(intent.by);
|
|
3022
|
+
case "choose": return handlers.choose();
|
|
3023
|
+
case "close": return handlers.close();
|
|
3024
|
+
case "none": return;
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
2994
3027
|
//#endregion
|
|
2995
3028
|
//#region ../ui/src/combobox-rows.ts
|
|
2996
3029
|
const COMBOBOX_NONE_ROW_ID = "__none__";
|
|
@@ -3442,36 +3475,6 @@ function Combobox(props) {
|
|
|
3442
3475
|
}) : null]
|
|
3443
3476
|
});
|
|
3444
3477
|
}
|
|
3445
|
-
function applyComboboxIntent(intent, handlers) {
|
|
3446
|
-
switch (intent.tag) {
|
|
3447
|
-
case "open": return handlers.openAt(intent.fallback);
|
|
3448
|
-
case "move": return handlers.move(intent.by);
|
|
3449
|
-
case "choose": return handlers.choose();
|
|
3450
|
-
case "close": return handlers.close();
|
|
3451
|
-
case "none": return;
|
|
3452
|
-
}
|
|
3453
|
-
}
|
|
3454
|
-
/**
|
|
3455
|
-
* The highlighted row: one the pointer or arrow keys picked while it is still
|
|
3456
|
-
* listed, else the selected row, else the first. Setting null goes back to
|
|
3457
|
-
* following the selection.
|
|
3458
|
-
*/
|
|
3459
|
-
function useActiveRow(rows, selectedRowId) {
|
|
3460
|
-
const [pickedId, setPickedId] = useState(null);
|
|
3461
|
-
const listed = (id) => Boolean(id) && rows.some((row) => row.id === id);
|
|
3462
|
-
const current = listed(pickedId) ? pickedId : listed(selectedRowId) ? selectedRowId : rows[0]?.id ?? null;
|
|
3463
|
-
const move = (by) => {
|
|
3464
|
-
if (rows.length === 0) return;
|
|
3465
|
-
const index = rows.findIndex((row) => row.id === current);
|
|
3466
|
-
setPickedId(rows[index === -1 ? by === 1 ? 0 : rows.length - 1 : (index + by + rows.length) % rows.length]?.id ?? null);
|
|
3467
|
-
};
|
|
3468
|
-
return {
|
|
3469
|
-
id: current,
|
|
3470
|
-
row: rows.find((row) => row.id === current) ?? null,
|
|
3471
|
-
set: setPickedId,
|
|
3472
|
-
move
|
|
3473
|
-
};
|
|
3474
|
-
}
|
|
3475
3478
|
function useFocusOnOpen(shouldFocus, inputRef) {
|
|
3476
3479
|
useEffect(() => {
|
|
3477
3480
|
if (shouldFocus) inputRef.current?.focus();
|
|
@@ -3583,7 +3586,12 @@ function matchesQuery(item, query) {
|
|
|
3583
3586
|
if (!needle) return true;
|
|
3584
3587
|
return [item.label, item.subtitle].filter((value) => typeof value === "string" && value.length > 0).some((value) => value.toLowerCase().includes(needle));
|
|
3585
3588
|
}
|
|
3586
|
-
function
|
|
3589
|
+
function describeSelection(selected, props) {
|
|
3590
|
+
if (props.isLoading) return props.loadingLabel;
|
|
3591
|
+
if (selected.length === 0) return props.emptySelectionLabel ?? props.placeholder;
|
|
3592
|
+
return props.selectedSummary ? props.selectedSummary(selected) : `${selected.length} selected`;
|
|
3593
|
+
}
|
|
3594
|
+
function CommandMultiSelect({ id, items, values, onValuesChange, placeholder, "aria-describedby": ariaDescribedBy, disabled, emptyLabel, isLoading, loadingLabel = "Loading…", error, emptySelectionLabel, selectedSummary, showBadges = true, helpText, className, triggerClassName, popoverContentClassName, showSearch = true, searchPlaceholder = "Search...", searchInputAriaLabel = "Search options" }) {
|
|
3587
3595
|
const [open, setOpen] = useState(false);
|
|
3588
3596
|
const triggerRef = useRef(null);
|
|
3589
3597
|
const [portalContainer, setPortalContainer] = useState(null);
|
|
@@ -3591,18 +3599,6 @@ function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-
|
|
|
3591
3599
|
const toggle = (id) => {
|
|
3592
3600
|
onValuesChange(values.includes(id) ? values.filter((value) => value !== id) : [...values, id]);
|
|
3593
3601
|
};
|
|
3594
|
-
const buttonLabel = useMemo(() => {
|
|
3595
|
-
if (isLoading) return loadingLabel;
|
|
3596
|
-
if (selectedItems.length === 0) return emptySelectionLabel ?? placeholder;
|
|
3597
|
-
return selectedSummary ? selectedSummary(selectedItems) : `${selectedItems.length} selected`;
|
|
3598
|
-
}, [
|
|
3599
|
-
emptySelectionLabel,
|
|
3600
|
-
isLoading,
|
|
3601
|
-
loadingLabel,
|
|
3602
|
-
placeholder,
|
|
3603
|
-
selectedItems,
|
|
3604
|
-
selectedSummary
|
|
3605
|
-
]);
|
|
3606
3602
|
const isDisabled = Boolean(disabled || isLoading || error);
|
|
3607
3603
|
const handleOpenChange = (nextOpen) => {
|
|
3608
3604
|
if (isDisabled) return;
|
|
@@ -3625,6 +3621,7 @@ function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-
|
|
|
3625
3621
|
asChild: true,
|
|
3626
3622
|
children: /* @__PURE__ */ jsx(FieldTrigger, {
|
|
3627
3623
|
ref: triggerRef,
|
|
3624
|
+
id,
|
|
3628
3625
|
role: "combobox",
|
|
3629
3626
|
"aria-expanded": open,
|
|
3630
3627
|
"aria-describedby": ariaDescribedBy,
|
|
@@ -3632,7 +3629,13 @@ function CommandMultiSelect({ items, values, onValuesChange, placeholder, "aria-
|
|
|
3632
3629
|
disabled: isDisabled,
|
|
3633
3630
|
active: open,
|
|
3634
3631
|
isPlaceholder: selectedItems.length === 0 && !emptySelectionLabel,
|
|
3635
|
-
children:
|
|
3632
|
+
children: describeSelection(selectedItems, {
|
|
3633
|
+
isLoading,
|
|
3634
|
+
loadingLabel,
|
|
3635
|
+
emptySelectionLabel,
|
|
3636
|
+
placeholder,
|
|
3637
|
+
selectedSummary
|
|
3638
|
+
})
|
|
3636
3639
|
})
|
|
3637
3640
|
}), /* @__PURE__ */ jsx(PopoverContent, {
|
|
3638
3641
|
container: portalContainer,
|
|
@@ -4733,6 +4736,7 @@ function ContentSpinner({ className, size = "xl" }) {
|
|
|
4733
4736
|
*/
|
|
4734
4737
|
function EmptyState$1({ title, description, icon: Icon, action, className, variant = "default" }) {
|
|
4735
4738
|
if (variant === "simple") return /* @__PURE__ */ jsx("div", {
|
|
4739
|
+
"data-assistant-text": true,
|
|
4736
4740
|
className: cn("rounded-md border border-dashed p-6 text-sm text-muted-foreground", className),
|
|
4737
4741
|
children: title
|
|
4738
4742
|
});
|
|
@@ -4744,10 +4748,12 @@ function EmptyState$1({ title, description, icon: Icon, action, className, varia
|
|
|
4744
4748
|
children: /* @__PURE__ */ jsx(Icon, { className: "h-6 w-6 text-muted-foreground" })
|
|
4745
4749
|
}) : null,
|
|
4746
4750
|
/* @__PURE__ */ jsx("h3", {
|
|
4751
|
+
"data-assistant-text": true,
|
|
4747
4752
|
className: cn("font-semibold", Icon ? "mt-4 text-lg" : "text-base"),
|
|
4748
4753
|
children: title
|
|
4749
4754
|
}),
|
|
4750
4755
|
description ? /* @__PURE__ */ jsx("p", {
|
|
4756
|
+
"data-assistant-text": true,
|
|
4751
4757
|
className: "mt-2 text-sm text-muted-foreground",
|
|
4752
4758
|
children: description
|
|
4753
4759
|
}) : null,
|
|
@@ -20766,7 +20772,7 @@ function DateField({ path, backend, config, pickerDisplay, dateContext }) {
|
|
|
20766
20772
|
className: "flex justify-end border-t p-2",
|
|
20767
20773
|
children: /* @__PURE__ */ jsx(Button$1, {
|
|
20768
20774
|
type: "button",
|
|
20769
|
-
variant: "
|
|
20775
|
+
variant: "outline",
|
|
20770
20776
|
size: "sm",
|
|
20771
20777
|
onClick: () => {
|
|
20772
20778
|
handleSelectDate(null);
|
|
@@ -20978,7 +20984,7 @@ function DateTimeField({ path, backend, config, pickerDisplay, dateContext }) {
|
|
|
20978
20984
|
className: "flex justify-end gap-2",
|
|
20979
20985
|
children: [/* @__PURE__ */ jsx(Button$1, {
|
|
20980
20986
|
type: "button",
|
|
20981
|
-
variant: "
|
|
20987
|
+
variant: "outline",
|
|
20982
20988
|
size: "sm",
|
|
20983
20989
|
disabled: !current,
|
|
20984
20990
|
onClick: () => {
|
|
@@ -20989,7 +20995,7 @@ function DateTimeField({ path, backend, config, pickerDisplay, dateContext }) {
|
|
|
20989
20995
|
children: "Clear time"
|
|
20990
20996
|
}), /* @__PURE__ */ jsx(Button$1, {
|
|
20991
20997
|
type: "button",
|
|
20992
|
-
variant: "
|
|
20998
|
+
variant: "outline",
|
|
20993
20999
|
size: "sm",
|
|
20994
21000
|
onClick: () => {
|
|
20995
21001
|
backend.setValue(path, null);
|
|
@@ -27296,8 +27302,8 @@ function moveOfferingPreviewOrderItem(keys, fromIndex, toIndex) {
|
|
|
27296
27302
|
return next;
|
|
27297
27303
|
}
|
|
27298
27304
|
function mergeVisibleOrderWithStoredOrder(input) {
|
|
27299
|
-
const visibleQueue =
|
|
27300
|
-
const visibleKeys = new Set(
|
|
27305
|
+
const visibleQueue = input.visibleOrder.filter(isOfferingsPreviewSourceKey);
|
|
27306
|
+
const visibleKeys = new Set(visibleQueue);
|
|
27301
27307
|
const next = [];
|
|
27302
27308
|
for (const storedKey of input.storedOrder ?? []) {
|
|
27303
27309
|
if (!isOfferingsPreviewSourceKey(storedKey)) continue;
|
|
@@ -28148,7 +28154,7 @@ function SocialImageField({ path, backend, config }) {
|
|
|
28148
28154
|
error: error?.message,
|
|
28149
28155
|
children: () => /* @__PURE__ */ jsx(Fragment$1, { children: image.kind === "loading" ? /* @__PURE__ */ jsx(ContentSpinner, {}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [image.kind === "unavailable" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(UnreadableMediaWarning, {}), /* @__PURE__ */ jsx(Button$1, {
|
|
28150
28156
|
type: "button",
|
|
28151
|
-
variant: "
|
|
28157
|
+
variant: "outline",
|
|
28152
28158
|
onClick: () => setValue(null),
|
|
28153
28159
|
children: "Remove"
|
|
28154
28160
|
})] }) : null, /* @__PURE__ */ jsx(MediaEditor, {
|
package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-CRjS4gAu.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
2
|
+
import { $u as unsafeAsEditorBlockId, As as resolveBlockTitle, Ca as pageTemplateFromEntry, Ct as EditorWriteSurface, Ps as editorAdmissionIsOpen, Qs as Dialog, Sn as useSidebarView, U as usePreviewAuth, Un as editorAuthoredBlockDocument, Uu as displayedValues, Ws as unwrapResponse, Xr as publishReadinessWarning, Yr as PUBLISH_READINESS_COPY, Zr as readinessFactsFromPayload, al as cva, bn as useEditorUiStoreInstance, dn as PREVIEW_CHROME_Z_INDEX, ec as DialogContent, et as useFooterPanelOwnsNotice, ht as useSessionJournalHistory, ic as DialogTitle, jn as canDiscardDraft, mt as useSessionJournal, n as usePreviewAssistantSlot, nc as DialogFooter, nl as Button, pt as useServerRefresh, rc as DialogHeader, tc as DialogDescription, ul as cn, ut as useEntryEditorController, uu as authoredValuesEqual, yn as useEditorUiStore } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
3
3
|
import { $ as EllipsisVertical, A as LoaderCircle, S as Palette, X as Eye, _ as Redo2, o as Undo2, pt as ChevronDown, s as TriangleAlert, y as Pencil } from "./lucide-react-Dfgl3Vtq.mjs";
|
|
4
|
-
import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-
|
|
5
|
-
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-
|
|
6
|
-
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-
|
|
4
|
+
import { i as formatEditorStatus, n as useEditorWriteState, o as Spinner, r as decideEditorStatus } from "./useAutosaveStatus-D9s6dyMW.mjs";
|
|
5
|
+
import { A as Tooltip, B as DropdownMenuRadioItem, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, N as TooltipTrigger, P as Badge, R as DropdownMenuLabel, V as DropdownMenuSeparator, c as needsSetupAsk, j as TooltipContent, n as resolveBlockManifest, t as useOpenBlockForSetup, z as DropdownMenuRadioGroup } from "./useOpenBlockForSetup-Ce4WCxpT.mjs";
|
|
6
|
+
import { c as writePreviewThemeCookie, f as useEditor, n as usePreviewChromeRoot, o as readPreviewThemeCookie, p as FixedBottomSurface } from "./previewChromeRoot-BuRYe2iL.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import { useCallback, useEffect, useMemo, useRef, useState, useTransition } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import { t as PreviewQueryProvider } from "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { $
|
|
4
|
+
import { $i as themeRuntimeScopeProps, $l as indexRenderableMediaAssets, $u as unsafeAsEditorBlockId, B as initPreviewAuth, Ct as EditorWriteSurface, Dn as parseStoredSidebarWidth, Do as getResponsiveScopeSpec, En as SIDEBAR_WIDTH, Eo as DEFAULT_THEME_RESPONSIVE_MODE, Et as getEditorClientId, Fn as renderSourceFor, Fs as editorAdmissionNotice, G as renderSiteChromeBlock, Gs as selectedCanvasBlockId, H as renewPreviewSession, Hn as unsafeAsLinkedContentEntryId, Hu as parseEditLeaseScope, Is as editorAdmissionSession, It as ImageResolveContextProvider, Ln as resolveRenderedValues, Lr as LINKED_CONTENT_ENTRY_META_KEY, Ls as observeEditorAdmission, Mn as activeLinkedSaveHandover, Nn as planLinkedSaveHandoverRetention, O as PreviewRenderObservationsProvider, Pn as remoteDraftValues, Ql as renderableMediaAssetSchema$1, Qs as Dialog, Ri as buildResolveImageUrlContext, Rs as OPERATION_ID_HEADER, St as EditLeaseModal, U as usePreviewAuth, V as registerPreviewRenewalFetcher, W as usePreviewToken, Ws as unwrapResponse, Xs as CalloutDescription, Ys as Callout, Zi as buildThemeDataAttrs, Zl as buildRenderableMediaAssetIndex, _ as PreviewFooterProvider, _t as savedContentReceipt, a as PreviewPageDesignEditorStateProvider, bn as useEditorUiStoreInstance, bt as VIEWING_PARTICIPATION, bu as parseFooterModuleId, ca as SITE_OVERLAY_HEADER_CLEARANCE_CSS_VAR, cd as assertNever$2, ct as EntryControllerProvider, da as measureSiteStickyChromeHeightPx, ec as DialogContent, f as PreviewThemeJournalProvider, fl as baselineRevisionOf, fn as createRoutingHelpers, g as previewThemeBase, gl as canEditorWrite, gs as assertNever$1, gt as createEditorApiClientFactory, i as usePreviewSidebarNavigation, ic as DialogTitle, in as blocksKeys, l as SiteChromeCustomizeProvider, la as SITE_STICKY_CHROME_HEIGHT_CSS_VAR, m as usePreviewThemeSourceOptional, ma as siteTopChromeMeasurementTargets, nc as DialogFooter, nl as Button, p as usePreviewThemeSource, pa as planSiteOverlayHeaderClearance, pl as isEdited, pn as createSnapshotFromPageRecord, pt as useServerRefresh, r as PreviewSidebarBootstrap, rc as DialogHeader, t as PreviewAssistantSlotProvider, tc as DialogDescription, tt as SessionJournalHost, ua as SITE_STICKY_CHROME_HEIGHT_FALLBACK, ul as cn, un as ApiRequestError, ut as useEntryEditorController, uu as authoredValuesEqual, v as useLiveFooterRuntime, va as planSiteChromePlacement, vt as savedPageSurfaceMetadataReceipt, xn as useOptionalEditorUiStoreInstance, xt as EditLeaseDiscardedNotice, yn as useEditorUiStore, yt as useRetentionTicks, z as createGuardedPreviewApiClient, zr as getLinkedContentEntryMeta, zs as API_ENDPOINTS, zt as BlockApiProvider } from "./previewAssistantSlot-BqY2TTcZ.mjs";
|
|
5
5
|
import { U as GripVertical } from "./lucide-react-Dfgl3Vtq.mjs";
|
|
6
|
-
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-
|
|
6
|
+
import { C as PreviewCompiledThemeProvider, F as mergeResolvedDataContext, Mt as TabsContent, Nt as TabsList, O as SiteFontStorageProvider, Pt as TabsTrigger, T as usePreviewCompiledTheme, V as MediaEditorContextProvider, W as useApiMediaUploader, a as sanitizeDashboardPath, at as ThemeScopeCore, ht as Toaster, i as resolvePreviewDashboardSetupHandoff, it as revealEditorElement, jt as Tabs, l as SiteChromeCustomizeButton, n as resolveSiteStyleAccess, r as buildPreviewDashboardSetupUrl, s as resolvePreviewSetupBannerModel, t as canInspectSiteStyle, v as PreviewChromeLayerProvider, w as PreviewThemeRenderingProvider, x as PREVIEW_SITE_BANNER_ATTRIBUTE } from "./siteStyleAccess-DbKozRSn.mjs";
|
|
7
7
|
import { n as LocationPickerEnvironmentProvider } from "./LocationPickerEnvironment-8iKKoYZr.mjs";
|
|
8
|
-
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-
|
|
8
|
+
import { a as resolvePreviewChromeSurface, c as writePreviewThemeCookie, d as EditorProvider, f as useEditor, i as getPreviewChromeSurfaceDataProps, l as PREVIEW_KEEP_ALIVE_INTERVAL_MS, o as readPreviewThemeCookie, p as FixedBottomSurface, r as PREVIEW_CHROME_THEME_CLASS_NAME, s as subscribePreviewThemeCookie, t as PreviewChromeRootProvider, u as PREVIEW_KEEP_ALIVE_JITTER_RATIO } from "./previewChromeRoot-BuRYe2iL.mjs";
|
|
9
9
|
import React, { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/react-query";
|
|
@@ -4446,10 +4446,10 @@ function resolveShellThemeRoles(props, journalSource) {
|
|
|
4446
4446
|
}
|
|
4447
4447
|
const previewContainerResponsiveEnabled = process.env.NEXT_PUBLIC_ENABLE_PREVIEW_CONTAINER_RESPONSIVE !== "false";
|
|
4448
4448
|
const PreviewEditorSidebar = React.lazy(async () => {
|
|
4449
|
-
return { default: (await import("./PreviewEditorSidebar-
|
|
4449
|
+
return { default: (await import("./PreviewEditorSidebar-D8vUzXtI.mjs")).PreviewEditorSidebar };
|
|
4450
4450
|
});
|
|
4451
4451
|
const PreviewEditorUI = React.lazy(async () => {
|
|
4452
|
-
return { default: (await import("./PreviewEditorUI-
|
|
4452
|
+
return { default: (await import("./PreviewEditorUI-CRjS4gAu.mjs")).PreviewEditorUI };
|
|
4453
4453
|
});
|
|
4454
4454
|
function renderShellProviders(input) {
|
|
4455
4455
|
if (!input.themeRoles) return input.content;
|