@riverbankcms/sdk 0.178.0 → 0.180.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DC_AvZwy.d.ts} +1 -1
- package/dist/_dts/{Page-C9i27wZA.d.ts → Page-DQOxVtp3.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-DrLgY9_f.d.ts} +3 -2
- package/dist/_dts/{client-BnYN6XsH.d.ts → client-BP7VBRvs.d.ts} +281 -72
- package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-1-K2qi__.d.ts} +2 -2
- package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-Dfqz0Tcu.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CSfAqmry.d.ts} +2 -2
- package/dist/_dts/{index-BE9dWIsr.d.ts → index-B0_2-65A.d.ts} +3 -3
- package/dist/_dts/{index-0HFgCnGz.d.ts → index-BeM5Ylwf.d.ts} +5 -3
- package/dist/_dts/{index-D9-N1d9v.d.ts → index-Blrw2oVk.d.ts} +1 -1
- package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CB5Csefo.d.ts} +2 -2
- package/dist/_dts/{index-nnEdgc3Z.d.ts → index-DCcxLa8p.d.ts} +4 -2
- package/dist/_dts/{index-DCa-8TEY.d.ts → index-DQBGwBPx.d.ts} +1 -1
- package/dist/_dts/{index-CKDRr54L.d.ts → index-DQr358-m.d.ts} +4 -4
- package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-BG2tLGXj.d.ts} +15 -13
- package/dist/_dts/{request-B20VRWHH.d.ts → request-P08l6mkr.d.ts} +3641 -994
- package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-BDHc8lFs.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-Y3IZBbtL.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- 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 +7 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +16 -8
- 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 -3
- 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 +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 +19 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/serviceBookingOutline-BvtNagjw.d.ts +583 -0
- package/dist/_dts/{types-CYcd15BQ.d.ts → types-BrK6SS5c.d.ts} +9 -7
- package/dist/_dts/{types-CMZ5mkpv.d.ts → types-DpEAnP4F.d.ts} +10 -39
- package/dist/_dts/{types-rm2M4LGx.d.ts → types-HAy1-Jjo.d.ts} +3 -3
- package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-D6q3tOBA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-DJSmdNUJ.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-CGxg37zx.mjs} +92 -60
- package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-DXegGSnS.mjs} +26 -5
- package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-VfP50sYm.mjs} +42 -9
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-0Ua44F1j.mjs} +13 -8
- package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-CrpiyDSP.mjs} +10 -10
- package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-D0me9wnz.mjs} +10 -10
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-CJITrGkF.mjs} +249 -8
- package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BlEm_xjq.mjs} +1 -1
- package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-BNM_HuS0.mjs} +3 -3
- package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-CXfb7RRy.mjs} +7 -16
- package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DiD9uYs6.mjs} +1439 -293
- package/dist/client/{Page-DqETUt-U.mjs → Page-bX7iy_MK.mjs} +24299 -20103
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-BAdW5DvE.mjs} +23 -16
- package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-DCfdcb7s.mjs} +12 -12
- package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-DCqorVne.mjs} +7 -7
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-wofJY8xY.mjs} +1 -1
- package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-CYl9NrqS.mjs} +412 -79
- package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-kgVWtuMe.mjs} +4 -4
- package/dist/client/bookings.mjs +40 -10
- package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-CQHWz5gJ.mjs} +19 -19
- package/dist/client/{carousel-B3UhbFu7.mjs → carousel-BE1dEFsD.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-DzOJfYOR.mjs → cart-BsjsdGZE.mjs} +3 -3
- package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-DylGUWXY.mjs} +1 -1
- package/dist/client/{checkout-LmePoEgM.mjs → checkout-B5KxEUDr.mjs} +3 -3
- package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C98fhch3.mjs} +1 -1
- package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-BMLYTf38.mjs} +1 -1
- package/dist/client/client.mjs +502 -341
- package/dist/client/constants-PfYJsEZF.mjs +101 -0
- package/dist/client/{context-CJIz4FdL.mjs → context-DtKdUdkO.mjs} +200 -27
- package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-BaGPvQS3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-B8eDjhuG.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DvhD-8eE.mjs} +4 -4
- package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-Du9a_xAN.mjs} +1982 -1519
- package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-Di9wDfzl.mjs} +4 -4
- package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-CNW6nBsB.mjs} +4 -4
- package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-CQMxQ8By.mjs} +4 -4
- package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-CprS9k1D.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BBBtRwvy.mjs → form-Zl1_8RJ6.mjs} +3 -3
- package/dist/client/{form.client-CZeRQLGF.mjs → form.client-TaMUys6I.mjs} +5 -5
- package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CpNPbPPM.mjs} +3 -3
- package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-hhI1-tzt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -6
- package/dist/client/{gifting-Di9-SpwW.mjs → gifting-DNVa7-Wj.mjs} +4 -4
- package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-CFUq3GVx.mjs} +5 -5
- package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-CDQvxA4A.mjs} +2 -2
- package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-Cg6083rn.mjs} +2 -2
- package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-gJ3OqPf9.mjs} +258 -86
- package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-VuL9I96G.mjs} +6 -6
- package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-7Of3eYn0.mjs} +4023 -4029
- package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-OBqsfT24.mjs} +2 -2
- package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-BkJe_RTv.mjs} +3 -3
- package/dist/client/portal/client.mjs +301 -117
- package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-B2hdxqJN.mjs} +1 -1
- package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-CCEgu9rx.mjs} +1 -1
- package/dist/client/{productDetail-gxF5whea.mjs → productDetail-CRX_ZRfS.mjs} +3 -3
- package/dist/client/{productList-B9t0XJrN.mjs → productList-BAdJ6z5S.mjs} +3 -3
- package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-BLKAmX0S.mjs} +2 -48
- package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-Bj9cmHHF.mjs} +10464 -9113
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-Z45OLLEX.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-DHpTTK77.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-D1oTPDxm.mjs → shop-BKsgxm_-.mjs} +3 -3
- package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-Cbtk_kUW.mjs} +14 -14
- package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B-rv2p5h.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-CiCDLNh7.mjs} +2 -2
- package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-Rnqa74Tk.mjs} +14 -14
- package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-BaBfhjCq.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-D11X-B6n.mjs → src-o7WEvbK1.mjs} +398 -308
- package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-BOff1Kk5.mjs} +259 -11
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-DQJNh10g.mjs} +3 -23
- package/dist/client/useDiscountCodeUi-BcFQRI_7.mjs +196 -0
- package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-BvdcexDC.mjs} +8 -8
- package/dist/client/{view-bGU1ws-m.mjs → view-CTBwSpKv.mjs} +4 -4
- package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CWIQyRIw.mjs} +10263 -9078
- package/dist/preview-next/before-render.mjs +5 -3
- package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-CG6KwITA.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-BGBqrC9m.mjs} +8 -7
- package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-Bwkyx28x.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DB1l6JNU.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Bs6Cwzr3.mjs} +15 -7
- package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
- package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-T-oDD_Dd.mjs} +6252 -2461
- package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-BeukcDRy.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-ceDW_9q2.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-CCB9bScO.mjs} +35 -23
- package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-D4o0CKq7.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-Seccrvwu.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +103 -10
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-FwFj8zGL.mjs} +71 -10
- package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-D6WrRCxX.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQzjDQ2q.mjs} +8 -1
- package/dist/server/{bindings-DrbJuftt.mjs → bindings-CS6ih1Yc.mjs} +37 -6
- package/dist/server/{client-Bf06n9oj.mjs → client-m0ylCj_f.mjs} +436 -526
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-vgWMz1uD.mjs +694 -0
- package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-CIOL3-9t.mjs} +22 -4
- package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-m-91jGGn.mjs} +36 -0
- package/dist/server/next.mjs +67 -94
- package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-BiHmsvTZ.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-DJo_obpi.mjs} +15 -8
- package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-BnSuoHON.mjs} +54 -2
- package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-BJuOzxzn.mjs} +554 -304
- package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-Cr8p8T7V.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-BZh57-ua.mjs} +5 -3
- package/dist/server/{registry-D12XF_h1.mjs → registry-CvhFwbXJ.mjs} +358 -95
- 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 +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-Cv_W1LVB.mjs} +61 -34
- package/dist/server/resolvePageContent-BWKUZUIn.mjs +89 -0
- package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-KRKguBC5.mjs} +56 -1
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-CRKbTm_7.mjs} +719 -459
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLq5cw6M.mjs → validation-DCl-FCk_.mjs} +4 -4
- package/dist/server/{version-oPbhAx8E.mjs → version-DT_R5JAR.mjs} +1 -1
- package/dist/styles/index.css +504 -27
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
- package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
- package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
- package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
- package/dist/client/constants-4o4_hl34.mjs +0 -6
- package/dist/client/course-DBEU9IA9.mjs +0 -244
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
- package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
- package/dist/client/view-DNX59QwM.mjs +0 -1372
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-BeukcDRy.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Sc as PortalContainerProvider, fl as cn, ln as SURFACE_DOCUMENT_DATA_ATTRIBUTE, un as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-
|
|
2
|
+
import { Sc as PortalContainerProvider, fl as cn, ln as SURFACE_DOCUMENT_DATA_ATTRIBUTE, un as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-T-oDD_Dd.mjs";
|
|
3
3
|
import { createContext, useContext, useEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../ui/src/fixed-bottom-surface.tsx
|
|
@@ -6,13 +6,13 @@ import React from "react";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/preview-next/client/runtime.tsx
|
|
8
8
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
9
|
-
return { default: (await import("./SdkPreviewModeRuntime-
|
|
9
|
+
return { default: (await import("./SdkPreviewModeRuntime-Bs6Cwzr3.mjs")).SdkPreviewModeRuntime };
|
|
10
10
|
});
|
|
11
11
|
const LazyPreviewShell = React.lazy(async () => {
|
|
12
|
-
return { default: (await import("./sdk-runtime-
|
|
12
|
+
return { default: (await import("./sdk-runtime-ceDW_9q2.mjs")).PreviewShell };
|
|
13
13
|
});
|
|
14
14
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
15
|
-
return { default: (await import("./sdk-runtime-
|
|
15
|
+
return { default: (await import("./sdk-runtime-ceDW_9q2.mjs")).PreviewShellLayout };
|
|
16
16
|
});
|
|
17
17
|
function SdkPreviewMode(props) {
|
|
18
18
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
3
|
import "./PreviewQueryProvider-BgIucg_5.mjs";
|
|
4
|
-
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-
|
|
5
|
-
import "./SdkPreviewModeRuntime-
|
|
4
|
+
import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-DB1l6JNU.mjs";
|
|
5
|
+
import "./SdkPreviewModeRuntime-Bs6Cwzr3.mjs";
|
|
6
6
|
export { PreviewShell, PreviewShellLayout };
|
package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-CCB9bScO.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as useOptionalPreviewLayout } from "./PreviewLayoutContext-Dy0LwcHc.mjs";
|
|
3
|
-
import { $c as useLayoutEffect2, $o as surfaceResolutionContextFromTheme, $s as Spinner, Ao as heroPhotoPaintsGround, Bc as Arrow, Bl as resolveSurfaceForeground, Cc as usePortalContainer, Do as DEFAULT_THEME_RESPONSIVE_MODE, Fc as Root, Fn as remoteDraftValues, Fo as compileEditorModelRuntime, Gc as useId$1, Gs as unwrapResponse, Hc as Root2$1, Ic as createRovingFocusGroupScope, Il as rgbColorValue, In as renderSourceFor, Jc as DismissableLayer, K as siteChromeHeaderLogoMayBeHardToSee, Kc as FocusScope, Ko as componentRuntimeRulesForTheme, Lc as Presence, Lo as restoreCompiledRuntimeFieldsFromContent, Lr as withValueAtPath, Nc as hideOthers, Nl as surfaceForegroundInputFromResolved, Oo as getResponsiveScopeSpec, Pc as Item, Pl as surfaceForegroundStyle, Po as applyCompiledRuntimeFieldsToContent, Ps as isRecord$1, Qc as useControllableState, Qi as buildThemeDataAttrs, Qo as compiledRuntimeStyleFieldNames, Rc as Portal, Rl as mapDrawingStyle, Rn as resolveRenderedValues, Ro as formatSiteChromeBackgroundTokenLabel, Sn as useOptionalEditorUiStoreInstance, Sr as resolveBlockVariantKey, To as escapeStyleContent, Uc as createPopperScope, Ul as expandPalette, Us as ApiEnvelopeError, Vc as Content$1, Wc as useSize, Ws as extractApiEnvelopeErrorDetails, Xc as useDirection, Xs as Callout, Yc as useCallbackRef, Yo as headerStyleRecipeForTheme, Ys as VISUALLY_HIDDEN_STYLES, Zc as createCollection, as as generateFontFaceCss, bc as menuItemInteractionClassName, c as usePreviewShownTheme, ca as SITE_CHROME_VISIBLE_HEADER_SELECTOR, cl as createSlot, dc as DialogContent, dl as useComposedRefs, dn as ApiRequestError, ea as themeRuntimeScopeProps, el as createContextScope, fl as cn$1, fs as resolveCompiledSectionContextFromContent, fu as authoredValuesEqual, gc as DialogTrigger, h as composePreviewTheme, ha as siteTopChromeMeasurementTargets$1, hc as DialogTitle, il as Button, is as buildGoogleFontFamilyQuery, jr as LocationMapView, lc as Dialog, lo as coerceInlineTextWithFallback, lu as asDesignBlockId, mc as DialogPortal, md as unsafeAsPositiveSeconds, nl as Primitive, ol as useControlReadiness, os as getSiteFontsStorageUrl, ou as getFontWidthRange, pa as measureSiteTopChromeBottomPx, pd as unsafeAsPositiveByteCount, pr as planArrangementContent, qc as useFocusGuards, qo as designRuntimeRulesForTheme, ri as getBlockDefinition, s as usePreviewPageDesignRenderState, td as unsafeAsEditorBlockId, tl as composeEventHandlers, u as useSiteChromeCustomizeOptional, uc as DialogClose, ud as assertNever, uo as deriveInlineTextFieldChanges, wc as ReactRemoveScroll, wo as buildThemeRuntime, y as applyBindingsToContent, zc as Anchor, zl as parseSurfaceTree } from "./previewAssistantSlot-
|
|
4
|
-
import { $ as Crosshair, B as House, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, F as Info,
|
|
5
|
-
import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-
|
|
3
|
+
import { $c as useLayoutEffect2, $o as surfaceResolutionContextFromTheme, $s as Spinner, Ao as heroPhotoPaintsGround, Bc as Arrow, Bl as resolveSurfaceForeground, Cc as usePortalContainer, Do as DEFAULT_THEME_RESPONSIVE_MODE, Fc as Root, Fn as remoteDraftValues, Fo as compileEditorModelRuntime, Gc as useId$1, Gs as unwrapResponse, Hc as Root2$1, Ic as createRovingFocusGroupScope, Il as rgbColorValue, In as renderSourceFor, Jc as DismissableLayer, K as siteChromeHeaderLogoMayBeHardToSee, Kc as FocusScope, Ko as componentRuntimeRulesForTheme, Lc as Presence, Lo as restoreCompiledRuntimeFieldsFromContent, Lr as withValueAtPath, Nc as hideOthers, Nl as surfaceForegroundInputFromResolved, Oo as getResponsiveScopeSpec, Pc as Item, Pl as surfaceForegroundStyle, Po as applyCompiledRuntimeFieldsToContent, Ps as isRecord$1, Qc as useControllableState, Qi as buildThemeDataAttrs, Qo as compiledRuntimeStyleFieldNames, Rc as Portal, Rl as mapDrawingStyle, Rn as resolveRenderedValues, Ro as formatSiteChromeBackgroundTokenLabel, Sn as useOptionalEditorUiStoreInstance, Sr as resolveBlockVariantKey, To as escapeStyleContent, Uc as createPopperScope, Ul as expandPalette, Us as ApiEnvelopeError, Vc as Content$1, Wc as useSize, Ws as extractApiEnvelopeErrorDetails, Xc as useDirection, Xs as Callout, Yc as useCallbackRef, Yo as headerStyleRecipeForTheme, Ys as VISUALLY_HIDDEN_STYLES, Zc as createCollection, as as generateFontFaceCss, bc as menuItemInteractionClassName, c as usePreviewShownTheme, ca as SITE_CHROME_VISIBLE_HEADER_SELECTOR, cl as createSlot, dc as DialogContent, dl as useComposedRefs, dn as ApiRequestError, ea as themeRuntimeScopeProps, el as createContextScope, fl as cn$1, fs as resolveCompiledSectionContextFromContent, fu as authoredValuesEqual, gc as DialogTrigger, h as composePreviewTheme, ha as siteTopChromeMeasurementTargets$1, hc as DialogTitle, il as Button, is as buildGoogleFontFamilyQuery, jr as LocationMapView, lc as Dialog, lo as coerceInlineTextWithFallback, lu as asDesignBlockId, mc as DialogPortal, md as unsafeAsPositiveSeconds, nl as Primitive, ol as useControlReadiness, os as getSiteFontsStorageUrl, ou as getFontWidthRange, pa as measureSiteTopChromeBottomPx, pd as unsafeAsPositiveByteCount, pr as planArrangementContent, qc as useFocusGuards, qo as designRuntimeRulesForTheme, ri as getBlockDefinition, s as usePreviewPageDesignRenderState, td as unsafeAsEditorBlockId, tl as composeEventHandlers, u as useSiteChromeCustomizeOptional, uc as DialogClose, ud as assertNever, uo as deriveInlineTextFieldChanges, wc as ReactRemoveScroll, wo as buildThemeRuntime, y as applyBindingsToContent, zc as Anchor, zl as parseSurfaceTree } from "./previewAssistantSlot-T-oDD_Dd.mjs";
|
|
4
|
+
import { $ as Crosshair, B as House, C as Move, Ct as confirmLocationPair, D as MapPin, Dt as locationDistanceMetres, Et as editLocationValue, F as Info, Kt as err, Lt as parseLocationValue, Mt as formatLocationAddress, Nt as locationAddressSchema, Ot as sameLocationSpatialPair, Pt as locationPinSchema, St as LOCATION_MATCH_THRESHOLDS_METRES, Tt as decideLocationSave, Z as ExternalLink, c as Trash2, dt as ChevronLeft, ft as ChevronDown, g as RotateCcw, h as Route, ht as Building2, it as Circle, jt as decideLocationSourcePermission, kt as sameMeaningfulAddress, l as Store, lt as ChevronUp, n as X, p as Search, pt as Check, qt as ok, r as WifiOff, s as TriangleAlert, st as CircleCheck, ut as ChevronRight, v as Plus, w as Mountain, wt as decideLocationRelationship, y as Pencil } from "./lucide-react-00FF_oar.mjs";
|
|
5
|
+
import { a as NO_EDIT_MAP_OVERLAY, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, r as useLocationPickerWidgetContext, t as LocationDashboardLink } from "./LocationPickerEnvironment-BW3dRFIv.mjs";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import React, { Suspense, cloneElement, createContext, forwardRef, isValidElement, lazy, useCallback, useContext, useEffect, useEffectEvent, useId, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5265,7 +5265,7 @@ function PlaceSearch({ controller, idBase, siteCountry, changingFrom, onKeepCurr
|
|
|
5265
5265
|
const [activeKey, setActiveKey] = useState(null);
|
|
5266
5266
|
const input = useRef(null);
|
|
5267
5267
|
const listId = `${idBase}-results`;
|
|
5268
|
-
const rows = searchRows(state
|
|
5268
|
+
const rows = searchRows(state);
|
|
5269
5269
|
const showList = open && (state.query !== "" || rows.length > 0);
|
|
5270
5270
|
const active = rows.findIndex((row) => rowKey(row) === activeKey);
|
|
5271
5271
|
const setActive = (index) => setActiveKey(rows[index] ? rowKey(rows[index]) : null);
|
|
@@ -5274,8 +5274,7 @@ function PlaceSearch({ controller, idBase, siteCountry, changingFrom, onKeepCurr
|
|
|
5274
5274
|
const choose = (row) => {
|
|
5275
5275
|
setOpen(false);
|
|
5276
5276
|
setActive(-1);
|
|
5277
|
-
if (row.kind === "
|
|
5278
|
-
else if (row.kind === "candidate") onChosen(row.candidate);
|
|
5277
|
+
if (row.kind === "candidate") onChosen(row.candidate);
|
|
5279
5278
|
else if (row.kind === "coordinates") onCoordinates(row.pin);
|
|
5280
5279
|
else onTyped(row.text);
|
|
5281
5280
|
};
|
|
@@ -5303,11 +5302,11 @@ function PlaceSearch({ controller, idBase, siteCountry, changingFrom, onKeepCurr
|
|
|
5303
5302
|
query: ""
|
|
5304
5303
|
});
|
|
5305
5304
|
};
|
|
5306
|
-
return /* @__PURE__ */
|
|
5305
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
5307
5306
|
onBlur: (event) => {
|
|
5308
5307
|
if (!event.currentTarget.contains(event.relatedTarget)) setOpen(false);
|
|
5309
5308
|
},
|
|
5310
|
-
children: /* @__PURE__ */ jsx(FieldFrame, {
|
|
5309
|
+
children: [/* @__PURE__ */ jsx(FieldFrame, {
|
|
5311
5310
|
id: `${idBase}-search`,
|
|
5312
5311
|
label: "Find the place",
|
|
5313
5312
|
hint: open ? void 0 : "You'll get a short list to choose from. You can also paste coordinates, like 50.4312, -3.6851.",
|
|
@@ -5355,7 +5354,7 @@ function PlaceSearch({ controller, idBase, siteCountry, changingFrom, onKeepCurr
|
|
|
5355
5354
|
"aria-activedescendant": open && active >= 0 ? `${idBase}-row-${active}` : void 0,
|
|
5356
5355
|
"aria-describedby": messageId,
|
|
5357
5356
|
autoComplete: "off",
|
|
5358
|
-
placeholder: "
|
|
5357
|
+
placeholder: "Address, postcode or business name",
|
|
5359
5358
|
className: "pl-9 pr-9",
|
|
5360
5359
|
value: state.query,
|
|
5361
5360
|
onKeyDown,
|
|
@@ -5389,7 +5388,10 @@ function PlaceSearch({ controller, idBase, siteCountry, changingFrom, onKeepCurr
|
|
|
5389
5388
|
}) : null
|
|
5390
5389
|
]
|
|
5391
5390
|
})
|
|
5392
|
-
})
|
|
5391
|
+
}), businessOffer && state.query === "" ? /* @__PURE__ */ jsx(BusinessAddressButton, {
|
|
5392
|
+
offer: businessOffer,
|
|
5393
|
+
onUse: () => onBusinessAddress(businessOffer)
|
|
5394
|
+
}) : null]
|
|
5393
5395
|
});
|
|
5394
5396
|
}
|
|
5395
5397
|
const IGNORE = { kind: "ignore" };
|
|
@@ -5415,13 +5417,9 @@ function canKeepTypedText(state) {
|
|
|
5415
5417
|
const text = state.query.trim();
|
|
5416
5418
|
return (text.length >= MIN_QUERY || failed) && coordinateSearch(state.query).kind === "place" && addressFromTypedText(text, state.mode) !== null;
|
|
5417
5419
|
}
|
|
5418
|
-
function searchRows(state
|
|
5420
|
+
function searchRows(state) {
|
|
5419
5421
|
const coordinates = searchedCoordinates(state.query);
|
|
5420
5422
|
return [
|
|
5421
|
-
...businessOffer ? [{
|
|
5422
|
-
kind: "business",
|
|
5423
|
-
offer: businessOffer
|
|
5424
|
-
}] : [],
|
|
5425
5423
|
...coordinates ? [{
|
|
5426
5424
|
kind: "coordinates",
|
|
5427
5425
|
pin: coordinates
|
|
@@ -5445,6 +5443,26 @@ function useAnnounceResults({ state }, open, announce) {
|
|
|
5445
5443
|
say(state.response.kind === "found" ? `${count} ${count === 1 ? "result" : "results"}. Use the down arrow to choose.` : state.response.kind === "no-match" ? `Nothing matches ${state.query.trim()}.` : "Search isn't working at the moment.");
|
|
5446
5444
|
}, [state.response]);
|
|
5447
5445
|
}
|
|
5446
|
+
function BusinessAddressButton({ offer, onUse }) {
|
|
5447
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
5448
|
+
type: "button",
|
|
5449
|
+
onClick: onUse,
|
|
5450
|
+
className: cn$1(FIELD_SURFACE_CLASS, "mt-2 flex w-full cursor-pointer items-center gap-2.5 px-3 py-2 text-left hover:bg-accent focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"),
|
|
5451
|
+
children: [/* @__PURE__ */ jsx(House, {
|
|
5452
|
+
className: "size-4 flex-none text-[color:var(--primary-ink,var(--primary))]",
|
|
5453
|
+
"aria-hidden": "true"
|
|
5454
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
5455
|
+
className: "min-w-0",
|
|
5456
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
5457
|
+
className: "block text-sm font-semibold leading-[1.3]",
|
|
5458
|
+
children: "Use your business address"
|
|
5459
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
5460
|
+
className: "block text-[13px] leading-[1.35] text-muted-foreground",
|
|
5461
|
+
children: offer.line
|
|
5462
|
+
})]
|
|
5463
|
+
})]
|
|
5464
|
+
});
|
|
5465
|
+
}
|
|
5448
5466
|
function ResultList({ controller, rows, active, listId, idBase, homeCountry, onChoose, onHover }) {
|
|
5449
5467
|
const { state } = controller;
|
|
5450
5468
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -5635,12 +5653,6 @@ function SearchRowItem({ row, homeCountry, id, selected, query, separated, onCho
|
|
|
5635
5653
|
});
|
|
5636
5654
|
}
|
|
5637
5655
|
function rowContent(row, homeCountry) {
|
|
5638
|
-
if (row.kind === "business") return {
|
|
5639
|
-
icon: House,
|
|
5640
|
-
title: "Use your business address",
|
|
5641
|
-
detail: row.offer.line,
|
|
5642
|
-
kind: null
|
|
5643
|
-
};
|
|
5644
5656
|
if (row.kind === "typed") return {
|
|
5645
5657
|
icon: Pencil,
|
|
5646
5658
|
title: "Use this address as typed",
|
|
@@ -6316,7 +6328,7 @@ function usePreviewTheme(siteId, enabled) {
|
|
|
6316
6328
|
}
|
|
6317
6329
|
//#endregion
|
|
6318
6330
|
//#region ../editor-blocks/src/widgets/location/PickerMapArea.tsx
|
|
6319
|
-
const LazyEditMap = lazy(() => import("./MapLibreEditMap-
|
|
6331
|
+
const LazyEditMap = lazy(() => import("./MapLibreEditMap-Db9BHyXh.mjs").then((mod) => ({ default: mod.MapLibreEditMap })));
|
|
6320
6332
|
function EditMap(props) {
|
|
6321
6333
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
6322
6334
|
fallback: null,
|
|
@@ -7126,7 +7138,7 @@ function PlaceRow({ controller, ui, idBase, siteCountry, businessOffer }) {
|
|
|
7126
7138
|
announce: ui.setAnnouncement,
|
|
7127
7139
|
changingFrom: address ? addressName(address) : null,
|
|
7128
7140
|
onKeepCurrent: ui.keepCurrent,
|
|
7129
|
-
businessOffer,
|
|
7141
|
+
businessOffer: address ? null : businessOffer,
|
|
7130
7142
|
onBusinessAddress: ui.adoptBusinessAddress,
|
|
7131
7143
|
onChosen: ui.choose,
|
|
7132
7144
|
onTyped: ui.keepTyped,
|
package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-D4o0CKq7.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as selectEditorWriteState, bn as useEditorUiStore, fl as cn, kn as selectAutosaveStatus, mt as useSessionJournal, nl as Primitive, pl as useShallow, zn as useStore } from "./previewAssistantSlot-
|
|
2
|
+
import { An as selectEditorWriteState, bn as useEditorUiStore, fl as cn, kn as selectAutosaveStatus, mt as useSessionJournal, nl as Primitive, pl as useShallow, zn as useStore } from "./previewAssistantSlot-T-oDD_Dd.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.3.0_@types+react@19.3.0__@types+re_a0767706651230e21f3454caa0ad586a/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bc as Arrow, Cc as usePortalContainer, Fc as Root, Fi as systemCustomizeFacetAppliesToLayoutVariant, Gc as useId$1, Gr as fieldsNotShownIn, Hc as Root2$1, I as lookTilesFor, Ic as createRovingFocusGroupScope, Ii as systemCustomizeFacetDefinitionForBlock, Io as resolveEditorArrangementLook, Jc as DismissableLayer, Jn as manifestFieldSectionOptions, Jo as getCuratedSiteStyle, Js as Root$1, Ju as syncStateOf, Kc as FocusScope, Kn as createManifestFormAdapter, Lc as Presence, Li as systemCustomizeFacetDefinitionsForBlock, M as usePreviewRenderReadiness, Mi as arrangementKnobChoices, Mo as decideSectionPhoto, Ms as augmentManifestWithStyleGroups, Nc as hideOthers, Ni as resolveArrangementKnobs, No as sectionPhotoPresence, Pc as Item, Pi as isSystemCustomizeFacetId, Qc as useControllableState, Rc as Portal$2, Ri as systemCustomizeFacetStoredValue, Tn as shouldRevealAllBlockFieldValidation, Uc as createPopperScope, Uo as lookDefinitionForId, Vc as Content, Vt as derivePromotedFieldPlan, Wo as readStoredMode, Xc as useDirection, Yc as useCallbackRef, Zc as createCollection, bc as menuItemInteractionClassName, br as mergeManifestWithSdkOptions, cl as createSlot, cr as parseCanonicalSectionBackground, dl as useComposedRefs, du as asSiteStyleId, el as createContextScope, fl as cn, gs as lookModes, i as usePreviewSidebarNavigation, ko as resolveVisiblePromotedFieldPathsForEditorBlock, ll as createSlottable, mi as eventCalendarPagingFields, ms as isThemeV2NormalEditorRawStylePath, ni as resolveFieldOwnership, nl as Primitive, o as usePreviewPageDesignEditorState, or as parseBackgroundColorToken, ps as isThemeV2NormalEditorRawStyleFieldName, qc as useFocusGuards, ri as getBlockDefinition, rl as dispatchDiscreteCustomEvent, sl as cva, ti as fieldPathsOwnedBy, tl as composeEventHandlers, ul as composeRefs, vr as createCustomBlockRegistry, wc as ReactRemoveScroll, xa as eventCalendarListGroupingDecision, xc as menuTriggerInteractionClassName, xn as useEditorUiStoreInstance, yr as mergeBlockDescriptorsWithRegistry, zc as Anchor } from "./previewAssistantSlot-
|
|
3
|
-
import { it as Circle, pt as Check, ut as ChevronRight } from "./lucide-react-
|
|
2
|
+
import { Bc as Arrow, Cc as usePortalContainer, Fc as Root, Fi as systemCustomizeFacetAppliesToLayoutVariant, Gc as useId$1, Gr as fieldsNotShownIn, Hc as Root2$1, I as lookTilesFor, Ic as createRovingFocusGroupScope, Ii as systemCustomizeFacetDefinitionForBlock, Io as resolveEditorArrangementLook, Jc as DismissableLayer, Jn as manifestFieldSectionOptions, Jo as getCuratedSiteStyle, Js as Root$1, Ju as syncStateOf, Kc as FocusScope, Kn as createManifestFormAdapter, Lc as Presence, Li as systemCustomizeFacetDefinitionsForBlock, M as usePreviewRenderReadiness, Mi as arrangementKnobChoices, Mo as decideSectionPhoto, Ms as augmentManifestWithStyleGroups, Nc as hideOthers, Ni as resolveArrangementKnobs, No as sectionPhotoPresence, Pc as Item, Pi as isSystemCustomizeFacetId, Qc as useControllableState, Rc as Portal$2, Ri as systemCustomizeFacetStoredValue, Tn as shouldRevealAllBlockFieldValidation, Uc as createPopperScope, Uo as lookDefinitionForId, Vc as Content, Vt as derivePromotedFieldPlan, Wo as readStoredMode, Xc as useDirection, Yc as useCallbackRef, Zc as createCollection, bc as menuItemInteractionClassName, br as mergeManifestWithSdkOptions, cl as createSlot, cr as parseCanonicalSectionBackground, dl as useComposedRefs, du as asSiteStyleId, el as createContextScope, fl as cn, gs as lookModes, i as usePreviewSidebarNavigation, ko as resolveVisiblePromotedFieldPathsForEditorBlock, ll as createSlottable, mi as eventCalendarPagingFields, ms as isThemeV2NormalEditorRawStylePath, ni as resolveFieldOwnership, nl as Primitive, o as usePreviewPageDesignEditorState, or as parseBackgroundColorToken, ps as isThemeV2NormalEditorRawStyleFieldName, qc as useFocusGuards, ri as getBlockDefinition, rl as dispatchDiscreteCustomEvent, sl as cva, ti as fieldPathsOwnedBy, tl as composeEventHandlers, ul as composeRefs, vr as createCustomBlockRegistry, wc as ReactRemoveScroll, xa as eventCalendarListGroupingDecision, xc as menuTriggerInteractionClassName, xn as useEditorUiStoreInstance, yr as mergeBlockDescriptorsWithRegistry, zc as Anchor } from "./previewAssistantSlot-T-oDD_Dd.mjs";
|
|
3
|
+
import { it as Circle, pt as Check, ut as ChevronRight } from "./lucide-react-00FF_oar.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { createContext, useContext, useMemo } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -863,6 +863,25 @@
|
|
|
863
863
|
min-height: 0;
|
|
864
864
|
overflow: auto;
|
|
865
865
|
padding-bottom: 1rem;
|
|
866
|
+
/* Fades the edge that has more beyond it, so a cut-off step reads as
|
|
867
|
+
scrollable. The fades stay at 0 while nothing overflows, and in browsers
|
|
868
|
+
without scroll-driven animations. */
|
|
869
|
+
mask-image: linear-gradient(
|
|
870
|
+
to bottom,
|
|
871
|
+
transparent 0,
|
|
872
|
+
black var(--er-scroll-fade-top),
|
|
873
|
+
black calc(100% - var(--er-scroll-fade-bottom)),
|
|
874
|
+
transparent 100%
|
|
875
|
+
);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
@supports (animation-timeline: scroll()) {
|
|
879
|
+
:where(.theme-scope:is(*, :scope))
|
|
880
|
+
:where([data-block='event-registration'].event-registration--embedded)
|
|
881
|
+
.er-payment-layout-main {
|
|
882
|
+
animation: er-scroll-fade linear both;
|
|
883
|
+
animation-timeline: scroll(self);
|
|
884
|
+
}
|
|
866
885
|
}
|
|
867
886
|
|
|
868
887
|
:where(.theme-scope:is(*, :scope))
|
|
@@ -892,6 +911,49 @@
|
|
|
892
911
|
}
|
|
893
912
|
@container rb-site (max-width: 639px) {
|
|
894
913
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
914
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-room-price-note-beside-stay {
|
|
915
|
+
display: block;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-room-price-note-in-bar {
|
|
919
|
+
display: none;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/* The name gets its own line, with the price and counter under it. */
|
|
923
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-room-option-text {
|
|
924
|
+
flex-basis: 100%;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-room-option-price {
|
|
928
|
+
margin-right: auto;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/* A grid item can only stick within its own area, so the layout stops being a grid. */
|
|
932
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-container:not(.er-container--overlay) .er-payment-layout[data-room-chooser] {
|
|
933
|
+
display: block;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-container:not(.er-container--overlay) .er-payment-layout-footer[data-room-chooser] {
|
|
937
|
+
position: sticky;
|
|
938
|
+
bottom: 0;
|
|
939
|
+
z-index: 10;
|
|
940
|
+
padding-block: 0.75rem;
|
|
941
|
+
background: rgb(var(--tb-surface));
|
|
942
|
+
box-shadow: 0 -12px 26px rgb(var(--tb-shadow) / 0.12);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/* On a phone the total sits under the people, to leave room for the button. */
|
|
946
|
+
:where(.theme-scope:is(*, :scope)) :where([data-block='event-registration']) .er-payment-layout-footer[data-room-chooser] .er-room-summary {
|
|
947
|
+
flex-direction: column;
|
|
948
|
+
align-items: flex-start;
|
|
949
|
+
gap: 0;
|
|
950
|
+
padding: 0;
|
|
951
|
+
border: 0;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
@container rb-site (max-width: 639px) {
|
|
956
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
895
957
|
:where(.theme-scope:is(*, :scope))
|
|
896
958
|
:where([data-block='event-calendar'])
|
|
897
959
|
.event-agenda-card--agenda {
|
|
@@ -2275,6 +2337,22 @@
|
|
|
2275
2337
|
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-ruled-names"] :is([data-slot="item-title"], [data-slot="facts"], [data-slot="chips"], [data-slot="item-actions"]) { grid-column: 1; grid-row: auto; }
|
|
2276
2338
|
}
|
|
2277
2339
|
}
|
|
2340
|
+
@container rb-site (min-width: 768px) {
|
|
2341
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
2342
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-card-list-item] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); grid-template-rows: auto auto 1fr; column-gap: clamp(2.5rem, 7cqi, 7rem); row-gap: 0; align-items: start; }
|
|
2343
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-slot="item-body"] { display: contents; }
|
|
2344
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] :is([data-slot="item-media"], [data-slot="facts"]) { grid-column: 1; grid-row: 1 / -1; align-self: start; }
|
|
2345
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-slot="item-media"] { width: 100%; }
|
|
2346
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-slot="facts"] { margin-top: 0; }
|
|
2347
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-card-list-item]:has(> [data-slot="item-media"]) [data-slot="facts"] { margin-top: calc(100% + 2rem); }
|
|
2348
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-card-list-item] [data-slot="eyebrow"] { grid-column: 2; grid-row: 1; }
|
|
2349
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-slot="item-title"] { grid-column: 2; grid-row: 2; }
|
|
2350
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-slot="item-text"] { grid-column: 2; grid-row: 3; }
|
|
2351
|
+
/* With neither a photo nor facts, the words take the whole row. */
|
|
2352
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-card-list-item]:not(:has([data-slot="item-media"], [data-slot="facts"])) { grid-template-columns: minmax(0, 1fr); }
|
|
2353
|
+
.theme-scope:is(*, :scope) [data-arrangement][data-look="team-members-person-rows"] [data-card-list-item]:not(:has([data-slot="item-media"], [data-slot="facts"])) :is([data-slot="eyebrow"], [data-slot="item-title"], [data-slot="item-text"]) { grid-column: 1; }
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2278
2356
|
@container rb-site (max-width: 767px) {
|
|
2279
2357
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
2280
2358
|
.theme-scope:is(*, :scope) [data-arrangement]:is([data-look="shop-price-cards"], [data-look="shop-price-cards-featured"]) [data-card-list] { grid-template-columns: minmax(0, 1fr); }
|
|
@@ -3229,20 +3307,20 @@
|
|
|
3229
3307
|
}
|
|
3230
3308
|
@container rb-site (min-width: 768px) {
|
|
3231
3309
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3232
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"] [data-slot="frame"] { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2rem, 4.5cqi, 4rem); }
|
|
3233
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"] [data-slot="frame"] > [data-slot="media"] { grid-column: 1; width: clamp(11rem, 18cqi, 16.25rem); }
|
|
3234
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"] [data-slot="frame"] > [data-slot="copy"] { grid-column: 2; }
|
|
3235
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"][data-knob-image-position="right"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr) auto; }
|
|
3236
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"][data-knob-image-position="right"] [data-slot="frame"] > [data-slot="media"] { grid-column: 2; }
|
|
3237
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"][data-knob-image-position="right"] [data-slot="frame"] > [data-slot="copy"] { grid-column: 1; }
|
|
3238
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"] [data-slot="intro"] { max-width: 48rem; }
|
|
3239
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement][data-treat="media-circle"][data-section-spacing="compact"] [data-slot="intro"] > [data-slot="lede"] { max-width: none; }
|
|
3310
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"] [data-slot="frame"] { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2rem, 4.5cqi, 4rem); }
|
|
3311
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"] [data-slot="frame"] > [data-slot="media"] { grid-column: 1; width: clamp(11rem, 18cqi, 16.25rem); }
|
|
3312
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"] [data-slot="frame"] > [data-slot="copy"] { grid-column: 2; }
|
|
3313
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"][data-knob-image-position="right"] [data-slot="frame"] { grid-template-columns: minmax(0, 1fr) auto; }
|
|
3314
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"][data-knob-image-position="right"] [data-slot="frame"] > [data-slot="media"] { grid-column: 2; }
|
|
3315
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"][data-knob-image-position="right"] [data-slot="frame"] > [data-slot="copy"] { grid-column: 1; }
|
|
3316
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"] [data-slot="intro"] { max-width: 48rem; }
|
|
3317
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement] + [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-section-spacing="compact"] [data-slot="intro"] > [data-slot="lede"] { max-width: none; }
|
|
3240
3318
|
}
|
|
3241
3319
|
}
|
|
3242
3320
|
@container rb-site (max-width: 767px) {
|
|
3243
3321
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3244
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="media-circle"] [data-slot="frame"] > :is([data-slot="media"], [data-slot="copy"]),
|
|
3245
|
-
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="media-circle"][data-knob-image-position="right"] [data-slot="frame"] > :is([data-slot="media"], [data-slot="copy"]) { grid-column: 1 / -1; grid-row: auto; }
|
|
3322
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"]) [data-slot="frame"] > :is([data-slot="media"], [data-slot="copy"]),
|
|
3323
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement]:is([data-treat="media-circle"], [data-treat="media-quote"])[data-knob-image-position="right"] [data-slot="frame"] > :is([data-slot="media"], [data-slot="copy"]) { grid-column: 1 / -1; grid-row: auto; }
|
|
3246
3324
|
}
|
|
3247
3325
|
}
|
|
3248
3326
|
@container rb-site (max-width: 767px) {
|
|
@@ -3313,6 +3391,11 @@
|
|
|
3313
3391
|
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="cta-panel"] [data-slot="copy"]:not(:has(> [data-slot="intro"])) > [data-slot="actions"] { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 0.75rem; }
|
|
3314
3392
|
}
|
|
3315
3393
|
}
|
|
3394
|
+
@container rb-site (min-width: 768px) {
|
|
3395
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3396
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="team-person"] [data-slot="item-media"] { width: calc(100% - 2 * var(--orbit-ring-outer) - 4px); margin: calc(var(--orbit-ring-outer) + 2px); }
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3316
3399
|
@container rb-site (min-width: 640px) {
|
|
3317
3400
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3318
3401
|
[data-skin="orbit"]:is(*, :scope) [data-arrangement]:is([data-treat="prices"], [data-treat="prices-featured"]) [data-card-list]:has(> [data-card-list-item]:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 22rem)); }
|
|
@@ -3359,6 +3442,16 @@
|
|
|
3359
3442
|
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="month-grid"] [data-slot="date"] { min-height: 3.5rem; min-width: 0; padding: 0.375rem 0.125rem; }
|
|
3360
3443
|
}
|
|
3361
3444
|
}
|
|
3445
|
+
@container rb-site (min-width: 768px) {
|
|
3446
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3447
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="list-ticks"] [data-slot="list"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem 1.75rem; }
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
@container rb-site (min-width: 1024px) {
|
|
3451
|
+
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3452
|
+
[data-skin="orbit"]:is(*, :scope) [data-arrangement][data-treat="list-ticks"] :has(> [data-slot="head"]) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 3.5rem; }
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3362
3455
|
@container rb-site (min-width: 1024px) {
|
|
3363
3456
|
@scope ([data-rb-responsive-mode="container"]) to (:scope [data-rb-responsive-mode]) {
|
|
3364
3457
|
:where(.theme-scope:is(*, :scope)) :where(.rb-list-ticks) {
|
|
@@ -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-FwFj8zGL.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-FwFj8zGL.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}$/;
|
|
@@ -115,7 +115,6 @@ const PUBLIC_READ_CACHE_POLICIES = {
|
|
|
115
115
|
"public_memberships"
|
|
116
116
|
], "batch_only"),
|
|
117
117
|
getPublicMapLocation: availability(["public_events", "public_event_filters"], "batch_only"),
|
|
118
|
-
resolveEventSubroute: availability(["public_events", "public_event_filters"], "direct"),
|
|
119
118
|
listPublicRouteCandidates: content(["published_content"], "batch_only"),
|
|
120
119
|
listPublicTeamMembers: content(["public_team_members"]),
|
|
121
120
|
listPublicProducts: availability(["public_products"], "direct"),
|
|
@@ -1126,6 +1125,17 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1126
1125
|
"server:internal_error"
|
|
1127
1126
|
]
|
|
1128
1127
|
},
|
|
1128
|
+
getTeamMemberTemplatePreview: {
|
|
1129
|
+
path: "/sites/{siteId}/bookings/profile-editor/{entryId}/template-preview",
|
|
1130
|
+
method: "GET",
|
|
1131
|
+
auth: "user",
|
|
1132
|
+
responseKind: "json",
|
|
1133
|
+
errors: [
|
|
1134
|
+
"auth:forbidden",
|
|
1135
|
+
"resource:not_found",
|
|
1136
|
+
"server:internal_error"
|
|
1137
|
+
]
|
|
1138
|
+
},
|
|
1129
1139
|
updateTeamMemberProfilePolicy: {
|
|
1130
1140
|
path: "/sites/{siteId}/bookings/resources/profile-policy",
|
|
1131
1141
|
method: "PUT",
|
|
@@ -2653,15 +2663,6 @@ const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2653
2663
|
"resource:conflict",
|
|
2654
2664
|
"server:internal_error"
|
|
2655
2665
|
]
|
|
2656
|
-
},
|
|
2657
|
-
resolveEventSubroute: {
|
|
2658
|
-
path: "/public/sites/{siteId}/events/subroutes/resolve",
|
|
2659
|
-
method: "GET",
|
|
2660
|
-
revalidate: publicReadFreshnessSeconds("resolveEventSubroute"),
|
|
2661
|
-
tags: [TAG_TEMPLATES.publicEvents, "event-subroute"],
|
|
2662
|
-
auth: "public",
|
|
2663
|
-
responseKind: "json",
|
|
2664
|
-
errors: []
|
|
2665
2666
|
}
|
|
2666
2667
|
});
|
|
2667
2668
|
//#endregion
|
|
@@ -5867,6 +5868,14 @@ const API_ENDPOINTS = {
|
|
|
5867
5868
|
responseKind: "json",
|
|
5868
5869
|
errors: []
|
|
5869
5870
|
},
|
|
5871
|
+
adminDeleteSupportTicketScreenshot: {
|
|
5872
|
+
path: "/admin/support/tickets/screenshot/delete",
|
|
5873
|
+
method: "POST",
|
|
5874
|
+
tags: ["admin", "support"],
|
|
5875
|
+
auth: "admin",
|
|
5876
|
+
responseKind: "json",
|
|
5877
|
+
errors: []
|
|
5878
|
+
},
|
|
5870
5879
|
mfaTotpEnroll: {
|
|
5871
5880
|
path: "/auth/mfa/totp/enroll",
|
|
5872
5881
|
method: "POST",
|
|
@@ -6868,6 +6877,7 @@ const API_ENDPOINTS = {
|
|
|
6868
6877
|
responseKind: "json"
|
|
6869
6878
|
},
|
|
6870
6879
|
resolveRouteOutcome: {
|
|
6880
|
+
revalidate: PUBLIC_CONTENT_FRESHNESS_SECONDS,
|
|
6871
6881
|
path: "/sites/{siteId}/route-outcome",
|
|
6872
6882
|
method: "GET",
|
|
6873
6883
|
tags: [
|
|
@@ -7568,6 +7578,38 @@ const API_ENDPOINTS = {
|
|
|
7568
7578
|
"server:internal_error"
|
|
7569
7579
|
]
|
|
7570
7580
|
},
|
|
7581
|
+
getEventRoomsRoster: {
|
|
7582
|
+
errors: [],
|
|
7583
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/rooms",
|
|
7584
|
+
method: "GET",
|
|
7585
|
+
tags: ["site-{siteId}", "event-series-{seriesId}"],
|
|
7586
|
+
auth: "user",
|
|
7587
|
+
responseKind: "json"
|
|
7588
|
+
},
|
|
7589
|
+
getChangeEventRoomOptions: {
|
|
7590
|
+
errors: [],
|
|
7591
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/rooms/change/options",
|
|
7592
|
+
method: "GET",
|
|
7593
|
+
tags: [
|
|
7594
|
+
"site-{siteId}",
|
|
7595
|
+
"event-series-{seriesId}",
|
|
7596
|
+
"bookings"
|
|
7597
|
+
],
|
|
7598
|
+
auth: "user",
|
|
7599
|
+
responseKind: "json"
|
|
7600
|
+
},
|
|
7601
|
+
changeEventRoom: {
|
|
7602
|
+
errors: [],
|
|
7603
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/rooms/change",
|
|
7604
|
+
method: "POST",
|
|
7605
|
+
tags: [
|
|
7606
|
+
"site-{siteId}",
|
|
7607
|
+
"event-series-{seriesId}",
|
|
7608
|
+
"bookings"
|
|
7609
|
+
],
|
|
7610
|
+
auth: "user",
|
|
7611
|
+
responseKind: "json"
|
|
7612
|
+
},
|
|
7571
7613
|
listEventSeriesAttendees: {
|
|
7572
7614
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/attendees",
|
|
7573
7615
|
method: "GET",
|
|
@@ -7795,6 +7837,25 @@ const API_ENDPOINTS = {
|
|
|
7795
7837
|
"bookings"
|
|
7796
7838
|
]
|
|
7797
7839
|
},
|
|
7840
|
+
listEventBookingTicketChoices: {
|
|
7841
|
+
errors: [],
|
|
7842
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/ticket-choices",
|
|
7843
|
+
method: "GET",
|
|
7844
|
+
auth: "user",
|
|
7845
|
+
responseKind: "json"
|
|
7846
|
+
},
|
|
7847
|
+
changeEventBookingTickets: {
|
|
7848
|
+
errors: [],
|
|
7849
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/change-tickets",
|
|
7850
|
+
method: "POST",
|
|
7851
|
+
auth: "user",
|
|
7852
|
+
responseKind: "json",
|
|
7853
|
+
tags: [
|
|
7854
|
+
"site-{siteId}",
|
|
7855
|
+
"event-attendee-{attendeeId}",
|
|
7856
|
+
"bookings"
|
|
7857
|
+
]
|
|
7858
|
+
},
|
|
7798
7859
|
restoreEventBooking: {
|
|
7799
7860
|
errors: [],
|
|
7800
7861
|
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
|
|
@@ -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, o as projectRenderablePageOutline } from "./pageRuntimeSupport-
|
|
1
|
+
import { Qn as siteHeaderManifest, Zn as siteFooterManifest, ft as buildResolveImageUrlContext, mt as setContextResolveImageUrlContext, or as readRuntimeNow, rc as toUtcIsoDateTimeString, sr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-CvhFwbXJ.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-BJuOzxzn.mjs";
|
|
3
|
+
import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline, o as projectRenderablePageOutline } from "./pageRuntimeSupport-BnSuoHON.mjs";
|
|
4
4
|
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-BcNfYYuu.mjs";
|
|
5
5
|
import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
|
|
6
|
-
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-
|
|
6
|
+
import { n as prefetchBlockDataWithFailures, r as planBlockDataRequests, t as SUPPORTED_LOADER_ENDPOINTS } from "./prefetchBlockData-BZh57-ua.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
3
|
import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-BZ8YSrQg.mjs";
|
|
4
|
-
import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-
|
|
4
|
+
import { M as opaqueSurfaceDeclarations, t as generateLookMediaFrameCss } from "./lookMediaFrame-m-91jGGn.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../theme-core/src/cards/decorations.ts
|
|
@@ -311,6 +311,13 @@ const opaquePanels = [
|
|
|
311
311
|
token: "surface"
|
|
312
312
|
}
|
|
313
313
|
},
|
|
314
|
+
{
|
|
315
|
+
selector: ":where([data-block='event-registration']) .er-room-photos",
|
|
316
|
+
paint: {
|
|
317
|
+
kind: "solid",
|
|
318
|
+
token: "surface"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
314
321
|
{
|
|
315
322
|
selector: ":where([data-block='event-calendar']) .event-agenda-card",
|
|
316
323
|
paint: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { E as asPageFlowPresetId, O as makeBoundaryId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
|
|
1
|
+
import { ot as lookFillPartsFromContent, rt as parseStoredVariant, st as resolveRuntimeSection, t as buildPageRenderPlan } from "./pageRenderPlan-DJo_obpi.mjs";
|
|
2
|
+
import { Ao as isDecorativeTransitionIntent, Bo as resolveSectionBackground, Do as boundaryOptions, Eo as boundaryOptionForTransitionIntent, Fa as automaticArrangementLook, Fr as resolveDeclaredBlockDesignCapability, Ha as readStoredMode, Ho as defaultHeroImageSurfaceTreatment, Ia as compileArrangementLookRuntime, La as getCompatibleBlockAppearancePresets, Ma as arrangementAppearancePresets, Mo as softBoundaryOption, No as spaciousBoundaryOption, Pa as arrangementStyleAvailability, Po as transitionIntentForTreatment, Ra as resolveArrangementLookForBlock, Ua as resolveEffectiveArrangement, Xa as filterLayoutProfilesForPolicy, Ya as deriveSiteStyleBlockPolicy, Yi as plainTextToInlineText, Za as filterLookIdsForPolicy, ao as stripCompiledRuntimeStyleFields, bo as resolvePageDesignBlockLookChoice, dt as systemCustomizeFacetDefinitionsForBlock, hr as formatDate, io as compilePageRuntimeFields, jo as noneBoundaryOption, ko as boundaryTreatmentForBoundaryOptionId, na as isRecord, no as getCuratedSiteStyle, t as getBlockDefinition, xo as resolvePageDesignBoundaryChoice, za as resolveLookForBlock, zo as parseCanonicalRuntimeBackground } from "./registry-CvhFwbXJ.mjs";
|
|
3
|
+
import { E as asPageFlowPresetId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey, _ as isArrangementMode } from "./customCss-BZ8YSrQg.mjs";
|
|
4
4
|
import { r as sectionStylesOverrideSchema } from "./schema-BpsqaSSU.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { m as admitTransportedRenderableManifestContent, v as registeredManifestContentContract } from "./pageRuntimeSupport-BnSuoHON.mjs";
|
|
6
6
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
7
|
-
import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-
|
|
7
|
+
import { E as toNonEmptyReadonlyArray, S as plainFrame, _ as designIssueSeverityForPolicy, d as lookModes, f as assertNever, p as defineBlockDesignCapability, w as sectionBackgroundPaintValues } from "./lookMediaFrame-m-91jGGn.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 = {
|
|
@@ -1480,6 +1480,37 @@ const BINDING_SOURCES = [
|
|
|
1480
1480
|
];
|
|
1481
1481
|
//#endregion
|
|
1482
1482
|
//#region ../blocks/src/bindings/blockDesignBindings.ts
|
|
1483
|
+
function buildPageDesignBlockBinding(source) {
|
|
1484
|
+
const blockId = toDesignBlockId(source.id);
|
|
1485
|
+
if (blockId === null) return {
|
|
1486
|
+
kind: "invalid-block-id",
|
|
1487
|
+
blockId: source.id,
|
|
1488
|
+
blockKind: source.kind
|
|
1489
|
+
};
|
|
1490
|
+
const definition = getBlockDefinition(source.kind);
|
|
1491
|
+
return {
|
|
1492
|
+
kind: "valid",
|
|
1493
|
+
block: {
|
|
1494
|
+
blockId,
|
|
1495
|
+
blockKind: source.kind,
|
|
1496
|
+
content: source.content,
|
|
1497
|
+
currentContentId: source.currentContentId,
|
|
1498
|
+
...blockDesignInputsForDefinition(source.kind, definition, source.content),
|
|
1499
|
+
layoutOptionLabels: layoutOptionLabelsForDefinition(definition)
|
|
1500
|
+
}
|
|
1501
|
+
};
|
|
1502
|
+
}
|
|
1503
|
+
function toDesignBlockId(value) {
|
|
1504
|
+
if (value.trim().length === 0) return null;
|
|
1505
|
+
try {
|
|
1506
|
+
return asDesignBlockId(value);
|
|
1507
|
+
} catch {
|
|
1508
|
+
return null;
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
function layoutOptionLabelsForDefinition(definition) {
|
|
1512
|
+
return Object.fromEntries(Object.entries(definition?.manifest.variantOptions ?? {}).flatMap(([variantKey, option]) => option?.label !== void 0 && option.label.length > 0 ? [[variantKey, option.label]] : []));
|
|
1513
|
+
}
|
|
1483
1514
|
/** A block whose only variants are Look-only (the CTA's figure) keeps its plain layout's keys too. */
|
|
1484
1515
|
function arrangementKeysForManifest(meaning, variants, profileKeys) {
|
|
1485
1516
|
if (meaning.kind === "mode") return meaning.keys;
|
|
@@ -1869,4 +1900,4 @@ function normalizeBindingInput(value) {
|
|
|
1869
1900
|
return null;
|
|
1870
1901
|
}
|
|
1871
1902
|
//#endregion
|
|
1872
|
-
export {
|
|
1903
|
+
export { buildPageDesignBlockBinding as a, compileEditorModelRuntime as c, blockDesignInputsForDefinition as i, mergeHeaderNavTypographyPreference as l, isEntryBoundBlockEmpty as n, buildPageDesignEditorReadModel as o, resolveRuntimeJoinFacts as r, applyCompiledRuntimeFieldsToContent as s, applyBindingsToContent as t, readHeaderNavFontSizePreference as u };
|