@riverbankcms/sdk 0.173.0 → 0.174.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 +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-ZlNEIvlU.d.ts → client-Cr-sOeSl.d.ts} +1 -1
- package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CJ2O03nB.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-C611wjIL.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-CJzs-yIJ.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-Dq_AboWN.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-KXh8FQ2s.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-DutLU2d2.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-BnatulTs.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-DW3eeNph.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-Bysk4QPI.d.ts → request-Be1E-H-V.d.ts} +3559 -1967
- package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-B4sbTf96.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 +9 -9
- 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/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 +4 -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 +13 -8
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
- package/dist/_dts/{types-BwitGNTl.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-BoEk9ZON.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-kpp8XyXv.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-ChftKX-o.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CAyoiAGD.mjs} +10 -10
- package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +5 -5
- package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-BiWQc28-.mjs} +9 -9
- package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-B_ytWQtn.mjs} +7 -7
- package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-C-mxXpX_.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-CN7BjGgC.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +11 -10
- package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-D46Dmr7b.mjs → Page--xJ23nA5.mjs} +629 -494
- package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-D391QRNc.mjs} +9 -8
- package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
- package/dist/client/{accordion-P8xcfKxq.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/{bookability-SargNwlO.mjs → bookability-CE637yDE.mjs} +1 -1
- package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-0Q4fjw_K.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-1J-3ftxF.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +158 -7
- package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
- package/dist/client/{course-CmOuoZHN.mjs → course-q1sA4Cj-.mjs} +2 -2
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-lL-YRApN.mjs → display-D8MW2b0e.mjs} +618 -397
- package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-b5TLxntR.mjs} +11 -11
- package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-DO6qKH3M.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D12ljYiX.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-CMx4-XlG.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-ClcfWpvM.mjs} +28 -26
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +17 -13
- package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-DidgH7ow.mjs} +2 -2
- package/dist/client/{shop-Cy6xXDM7.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-CbbdjWWd.mjs} +13 -13
- package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-CKFORzux.mjs} +13 -20
- package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-CtZiIj9q.mjs} +24 -14
- package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
- package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BZU5DWZQ.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-Sw075FOY.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-D6yebI4r.mjs → view-CxUpgcM6.mjs} +12 -10
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-BFbSrDbi.mjs} +57 -144
- package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +758 -1279
- package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-BW3Qpoa_.mjs} +50 -30
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -19
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-BUqAh1FL.mjs} +100626 -51720
- package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-DV6SeCNv.mjs} +152 -2
- package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-Ch2FKAvU.mjs} +10 -5
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Dge4sqel.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-VVIQjC4r.mjs → client-aYRTVneD.mjs} +155 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-Cgpfr44e.mjs} +8 -9
- package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-CkFTsxkd.mjs} +25 -17
- package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +14 -6
- package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-B8yLPjs0.mjs} +371 -56
- package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-CfOXFKYG.mjs} +2 -2
- package/dist/server/{registry-BMCfcev6.mjs → registry-34rkAfaU.mjs} +608 -3131
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-EgTtnTcY.mjs → validation-CLVKoJrX.mjs} +4 -4
- package/dist/server/{version-LjgU0Cq1.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +935 -271
- package/package.json +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
package/dist/server/manifest.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-
|
|
2
|
-
import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-
|
|
1
|
+
import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-Cu-3PRvv.mjs";
|
|
2
|
+
import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-39SXCCnh.mjs";
|
|
3
3
|
//#region src/manifest/prompt/knowledge-base.ts
|
|
4
4
|
/**
|
|
5
5
|
* LLM Knowledge Base for HTML-to-Manifest Conversion
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-
|
|
3
|
-
import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-
|
|
4
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
1
|
+
import { As as resolveBookingBusinessTimeZone, Ms as toUtcIsoDateTimeString, Ss as inferSiteDateLocale } from "./registry-34rkAfaU.mjs";
|
|
2
|
+
import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-B8yLPjs0.mjs";
|
|
3
|
+
import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-aYRTVneD.mjs";
|
|
4
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-Cgpfr44e.mjs";
|
|
5
5
|
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
|
|
6
6
|
import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
|
|
7
7
|
import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
|
|
8
8
|
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
9
|
-
import { t as getPortalToken } from "./portal-
|
|
9
|
+
import { t as getPortalToken } from "./portal-BjVHMAUC.mjs";
|
|
10
10
|
import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
|
|
11
|
-
import { t as SDK_VERSION } from "./version-
|
|
11
|
+
import { t as SDK_VERSION } from "./version-HVfdvBJ0.mjs";
|
|
12
12
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
13
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
13
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-VhhN94d8.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
@@ -1204,7 +1204,8 @@ async function loadPortalPageHost(options, path, searchParams) {
|
|
|
1204
1204
|
portalToken: getPortalToken(await cookies()),
|
|
1205
1205
|
callbackPath: options.portal?.callbackPath,
|
|
1206
1206
|
demoEmailSuppressed: site.demoEmailSuppressed === true,
|
|
1207
|
-
siteTitle: site.site.title
|
|
1207
|
+
siteTitle: site.site.title,
|
|
1208
|
+
businessPerson: site.bookingPerson ?? null
|
|
1208
1209
|
}
|
|
1209
1210
|
};
|
|
1210
1211
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PageContent } from "./pageShared-
|
|
1
|
+
import { t as PageContent } from "./pageShared-B8yLPjs0.mjs";
|
|
2
2
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
3
3
|
import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -66,11 +66,10 @@ function selectOverrideKeysForUsedKinds(usedKinds, entries) {
|
|
|
66
66
|
return selectedKeys;
|
|
67
67
|
}
|
|
68
68
|
function isLazyRegistration(registration) {
|
|
69
|
-
return isRecord(registration) && registration[lazyBlockOverrideSymbol] === true;
|
|
69
|
+
return isRecord(registration) && lazyBlockOverrideSymbol in registration && registration[lazyBlockOverrideSymbol] === true;
|
|
70
70
|
}
|
|
71
71
|
async function resolveOverrideComponent(registration) {
|
|
72
|
-
|
|
73
|
-
return registration;
|
|
72
|
+
return isLazyRegistration(registration) ? registration.load() : registration;
|
|
74
73
|
}
|
|
75
74
|
/**
|
|
76
75
|
* Resolve only override registrations used by the current page or template.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-34rkAfaU.mjs";
|
|
2
2
|
import { i as createRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
3
3
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
4
4
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
5
|
-
import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-
|
|
5
|
+
import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-39SXCCnh.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../blocks/src/assistantSectionCatalog.ts
|
|
8
8
|
const words = (text) => createRichTextDoc([text]);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Dt as parseThemeColorToken, G as hexToRgb, J as oklchToHexGamut, K as oklabToOklch, P as getTextColorForBackground, R as contrastRatio, X as rgbToHex, Z as srgbToOklab, q as oklabToSrgb } from "./resolveButtonColourStates
|
|
2
|
-
import { $
|
|
3
|
-
import { A as resolveOnColorForThemeToken,
|
|
4
|
-
import {
|
|
1
|
+
import { Dt as parseThemeColorToken, G as hexToRgb, J as oklchToHexGamut, K as oklabToOklch, P as getTextColorForBackground, R as contrastRatio, X as rgbToHex, Z as srgbToOklab, q as oklabToSrgb } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
|
+
import { $n as listItemPresentation, An as contentTransforms, Ao as sectionSurfaceBase, As as resolveBookingBusinessTimeZone, Ba as resolveEffectiveArrangement, Bi as resolveEventScope, Br as boxStylesTransforms, Bs as resolvePricingOptionsPriceDisplay, Cr as heroTitleSizeOptions, Do as deriveSectionGround, Ds as getLocalScheduleDate, Eo as applyLookPhotoTreatment, Ft as ThemedButtonLink, Gr as parseBackgroundOverlay, Gs as parseGradientPresetId, Gt as eventCalendarWeekStart, Ha as resolvePublishedLook, Hi as eventCalendarListGroupingDecision, Hn as uiTransforms, Ht as groupEventsByWeek, I as combinedLookSchema, Ii as eventDiscoveryFilterKeys, In as mediaTransforms, J as CardListLeadDate, Ji as formatDateKey, Jr as resolveSurfaceForegroundStyles, Kr as parseRuntimeBackgroundContent, Ks as arrangementSlotNames, Kt as eventDateOptions, La as styleSectionBackgroundForColour, Li as eventScopeLoaderParam, Ln as headerRuntimeTransforms, Mi as eventReadinessLoaderKey, Mo as themeV2CompilerOwnedFieldNames, Ms as toUtcIsoDateTimeString, Ni as eventReadinessQuery, Oo as parseCanonicalRuntimeBackground, Os as parseBookingLocalDate, Pi as eventReadinessQueryKeys, Pn as readRuntimeNow, Ps as formatBookingPriceDisplay, Q as MediaNodeServer, Qt as formatEventDateParts, Ra as arrangementManifestFromVariants, Ri as eventScopeQuery, Rn as chromeLogoTransforms, Sr as getAnchorClasses, Ta as heroPhotoPaintsGround, Ts as compareLocalScheduleDates, Tt as groupOfferingRunsByCourse, Ui as eventCalendarListLayoutOptions, Un as formattingTransforms, Ut as weekColumnDays, Va as resolveModeArrangement, Vi as resolveCalendarReadProfile, Vn as resolveHeroTitleLength, Wa as deriveSiteStyleBlockPolicy, Wi as resolveEventCalendarReadPlan, Wr as parseBackgroundContent, X as resolveCardListSchedule, Yr as resolveBackgroundColorValue, Z as selectCardListPresentation, Zr as isSemanticSpacing, Zt as formatEventCompactDateRail, _n as formatTotalCapacity, _o as boundaryRuntimeMetricsForDecorativeTransition, _r as formatEventPrice, ai as createTransformRegistry, an as groupEventsByDate, ar as standardAspectRatioOptions, as as resolveWholeSeriesBookingPhase, bn as isEventFull, br as formatEventStartingPrice, bs as formatDateRange, cn as formatBookingSchedulePresentation, cr as heroMorePhotoCount, ea as isToday, ei as lookCarouselRegionTransform, eo as gradientToCss, et as ImagePresets, fa as isObjectRecord, fo as sectionShapeForGround, gi as ClockIcon, gn as formatEventRemainingPlaces, gr as formatCoursePrice, hn as canJoinEventWaitlistOnAnyMode, hr as resolveClassPriceItems, ii as asPartialObject, in as formatTime, is as orderedLiveRunSessions, ji as augmentManifest, jo as stripStaleTransitionStyleGroup, ka as arrangementAppearancePresets, ko as resolveSectionBackground, mo as sectionShapeHook, mr as classPricesDataSchema, ni as lookQuoteLimitTransform, nn as formatEventTimeRange, nt as computeMediaTransformStyle, on as resolveEventTimeZone, pn as closedRunCopy, po as sectionShapeFromContent, pr as classPricesCopySchema, q as CardListContentPart, qr as resolveSectionSurfaceForeground, qt as eventLocalDateKey, ri as lookSkinSlotTransform, rn as formatEventWeekdayTime, rs as nextLiveRunSessionStartMs, sn as resolveRuntimeEventDestination, t as getBlockDefinition, ti as lookLeadSlotTransform, tn as formatEventRunDates, to as getGradientPreset, tr as listLookSlot, ua as eventCalendarListLayoutCompatibleDisplayModeValues, ur as standardImageShapeOptions, ut as EventQuickFacts, va as lookPresentationOnPalette, vn as getEventAvailability, xr as BACKGROUND_POSITION_PRESET_VALUES, xs as formatDateTimeRange, ya as resolveLookSurfacePresentation, yn as getEventAvailabilityStatus, yr as formatEventPriceDisplay, ys as formatDate, za as readStoredMode, zi as eventScopeQueryKeys, zn as layoutTransforms, zs as resolveExactOrFreePriceDisplay, zt as buildEventListWeek } from "./registry-34rkAfaU.mjs";
|
|
3
|
+
import { A as resolveOnColorForThemeToken, G as resolveConcreteColorHex, M as resolveTokenOrCssColorValue, k as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
4
|
+
import { D as asSiteStyleId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey } from "./customCss-BGB8gMVb.mjs";
|
|
5
5
|
import { o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
6
|
-
import { t as assertNever
|
|
6
|
+
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
7
7
|
import { o as isRecord$2 } from "./richTextSchema-QLaQrbII.mjs";
|
|
8
|
+
import { A as cardListFamilyBlocks, f as assertNever$1, j as cardListKnobBlocks, s as resolveEffectiveKnobs } from "./lookMediaFrame-CQtkvlDn.mjs";
|
|
8
9
|
import { i as outlineRegions, n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
9
10
|
import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
|
|
10
11
|
import React from "react";
|
|
@@ -533,7 +534,7 @@ function boundaryEndpointForSectionContent(content) {
|
|
|
533
534
|
kind: "unpainted",
|
|
534
535
|
reason: "media"
|
|
535
536
|
};
|
|
536
|
-
default: return assertNever(effective, "Unhandled section background type");
|
|
537
|
+
default: return assertNever$1(effective, "Unhandled section background type");
|
|
537
538
|
}
|
|
538
539
|
}
|
|
539
540
|
/**
|
|
@@ -670,7 +671,7 @@ function boundaryLayout(intent, composition) {
|
|
|
670
671
|
shape: composition.from
|
|
671
672
|
}
|
|
672
673
|
};
|
|
673
|
-
default: return assertNever(composition, "Unhandled boundary composition");
|
|
674
|
+
default: return assertNever$1(composition, "Unhandled boundary composition");
|
|
674
675
|
}
|
|
675
676
|
}
|
|
676
677
|
function requireThemeColorToken(value) {
|
|
@@ -839,7 +840,7 @@ function closedEventBookingLabel(reason) {
|
|
|
839
840
|
case "parent_inconsistent":
|
|
840
841
|
case "already_started":
|
|
841
842
|
case "enrollment_closed": return "Registration closed";
|
|
842
|
-
default: return assertNever
|
|
843
|
+
default: return assertNever(reason);
|
|
843
844
|
}
|
|
844
845
|
}
|
|
845
846
|
function resolveEventHref(event) {
|
|
@@ -944,7 +945,7 @@ function seriesBookingClosed(event) {
|
|
|
944
945
|
case "parent_archived":
|
|
945
946
|
case "parent_inconsistent":
|
|
946
947
|
case "enrollment_closed": return true;
|
|
947
|
-
default: return assertNever
|
|
948
|
+
default: return assertNever(event.bookingAvailability.reason);
|
|
948
949
|
}
|
|
949
950
|
}
|
|
950
951
|
function occurrenceCardAvailability(event, count) {
|
|
@@ -971,7 +972,7 @@ function renderClockClosedCta(event, now) {
|
|
|
971
972
|
case "in-progress":
|
|
972
973
|
case "enrolment-closed":
|
|
973
974
|
case "no-sessions": return "Registration closed";
|
|
974
|
-
default: return assertNever
|
|
975
|
+
default: return assertNever(phase.reason);
|
|
975
976
|
}
|
|
976
977
|
})(),
|
|
977
978
|
href: resolveEventHref(event),
|
|
@@ -1911,7 +1912,7 @@ function eventCardListContent(event, context, buttonText) {
|
|
|
1911
1912
|
...offeringSchedule(event, context.now),
|
|
1912
1913
|
...event.bookingScope === "whole_series" ? offeringRunDates(event, context.now) : {}
|
|
1913
1914
|
};
|
|
1914
|
-
default: return assertNever
|
|
1915
|
+
default: return assertNever(context);
|
|
1915
1916
|
}
|
|
1916
1917
|
}
|
|
1917
1918
|
function cardProjectionBase(event, buttonText, context) {
|
|
@@ -1945,7 +1946,7 @@ function cardBooking(event, buttonText, context) {
|
|
|
1945
1946
|
now: context.now,
|
|
1946
1947
|
count: context.count
|
|
1947
1948
|
});
|
|
1948
|
-
default: return assertNever
|
|
1949
|
+
default: return assertNever(context);
|
|
1949
1950
|
}
|
|
1950
1951
|
}
|
|
1951
1952
|
function offeringLeadDate(event, startMs) {
|
|
@@ -2977,6 +2978,13 @@ const columnCounts = [
|
|
|
2977
2978
|
];
|
|
2978
2979
|
const systemCustomizeFacetDefinitions = [
|
|
2979
2980
|
eventCalendarListLayoutFacet,
|
|
2981
|
+
fixedKnob("block.offerings-preview", "grouping", "Grouping", [{
|
|
2982
|
+
value: "by-kind",
|
|
2983
|
+
label: "Grouped by kind"
|
|
2984
|
+
}, {
|
|
2985
|
+
value: "one-list",
|
|
2986
|
+
label: "One list"
|
|
2987
|
+
}], "by-kind"),
|
|
2980
2988
|
fixedKnob("block.offerings-preview", "dates", "Dates", [{
|
|
2981
2989
|
value: "summary",
|
|
2982
2990
|
label: "Summary"
|
|
@@ -3693,7 +3701,7 @@ function formatAppointmentLocation(location) {
|
|
|
3693
3701
|
const venue = formatVenue(location.venue);
|
|
3694
3702
|
return venue ? `${venue} or online` : "In person or online";
|
|
3695
3703
|
}
|
|
3696
|
-
default: return assertNever
|
|
3704
|
+
default: return assertNever(location);
|
|
3697
3705
|
}
|
|
3698
3706
|
}
|
|
3699
3707
|
function formatVenue(venue) {
|
|
@@ -3739,7 +3747,7 @@ function appointmentPricingDisplay(pricing) {
|
|
|
3739
3747
|
maxAmount: pricing.slidingMaxAmount,
|
|
3740
3748
|
currency: pricing.currency
|
|
3741
3749
|
};
|
|
3742
|
-
default: return assertNever
|
|
3750
|
+
default: return assertNever(pricing.pricingStrategy);
|
|
3743
3751
|
}
|
|
3744
3752
|
}
|
|
3745
3753
|
//#endregion
|
|
@@ -3799,7 +3807,7 @@ function serviceDetailsFacts(service) {
|
|
|
3799
3807
|
value: describePublicRefundPolicy(service.cancellationPolicy.refunds)
|
|
3800
3808
|
},
|
|
3801
3809
|
...practitioners.length ? [{
|
|
3802
|
-
label:
|
|
3810
|
+
label: "With",
|
|
3803
3811
|
value: practitioners.map((person) => person.roleLabel ? `${person.name}, ${person.roleLabel}` : person.name).join("; ")
|
|
3804
3812
|
}] : []
|
|
3805
3813
|
];
|
|
@@ -4126,7 +4134,7 @@ function resolveLinkedContentEditSupport(contentType) {
|
|
|
4126
4134
|
kind: "unsupported-domain-backed",
|
|
4127
4135
|
reason: metadata.reason
|
|
4128
4136
|
};
|
|
4129
|
-
default: return assertNever
|
|
4137
|
+
default: return assertNever(metadata);
|
|
4130
4138
|
}
|
|
4131
4139
|
}
|
|
4132
4140
|
function contentTypeKeyToLabel(key) {
|
|
@@ -4352,7 +4360,7 @@ function sourceLabel(source) {
|
|
|
4352
4360
|
case "managed-database": return "DB";
|
|
4353
4361
|
case "sdk-synced": return "SDK-synced DB";
|
|
4354
4362
|
case "sdk-config": return "SDK config";
|
|
4355
|
-
default: return assertNever
|
|
4363
|
+
default: return assertNever(source);
|
|
4356
4364
|
}
|
|
4357
4365
|
}
|
|
4358
4366
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $o as
|
|
2
|
-
import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-
|
|
1
|
+
import { $o as isRecord$1, As as resolveBookingBusinessTimeZone, Ci as inlineTextToPlainText, Di as normalizeSelectSource, Ei as plainTextToInlineText, Go as resolveRepeaterGridRowFieldId, Ho as isAcceptedRepeaterGridSpan, Hs as parseContentVersionId, Io as DEFAULT_MEDIA_FIELD_KINDS, Ko as resolveRepeaterGridSpanFieldId, Ms as toUtcIsoDateTimeString, Ti as parseInlineTextFromUnknown, Uo as parseRepeaterGridInteger, Wo as resolveRepeaterGridColumnFieldId, _s as trimmedStringOrNull, gs as publicLocationSchema, hs as projectPublicLocation, ki as parseFieldDefinitions, l as sanitizeNewsletterSignupPublicContent, la as linkSchema, ps as locationValueSchema, t as getBlockDefinition, ui as parseBlockIconValue } from "./registry-34rkAfaU.mjs";
|
|
2
|
+
import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-CUDHMirj.mjs";
|
|
3
3
|
import { f as PUBLIC_FILE_FIELD_KINDS, h as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
4
4
|
import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
|
|
5
5
|
import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
|
|
@@ -1749,6 +1749,14 @@ function resolveSiteCustomBlocks(site) {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
//#endregion
|
|
1751
1751
|
//#region src/rendering/helpers/pageRuntimeSupport.ts
|
|
1752
|
+
/** The booking-related site runtime, with its defaults. */
|
|
1753
|
+
function siteBookingRenderSupport(site) {
|
|
1754
|
+
return {
|
|
1755
|
+
bookingOfferingPresets: site.bookingOfferingPresets ?? [],
|
|
1756
|
+
bookingTimeZone: resolveBookingBusinessTimeZone(site.bookingTimeZone),
|
|
1757
|
+
businessPerson: site.bookingPerson ?? null
|
|
1758
|
+
};
|
|
1759
|
+
}
|
|
1752
1760
|
function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
|
|
1753
1761
|
const customBlocks = resolveSiteCustomBlocks(site);
|
|
1754
1762
|
return {
|
|
@@ -1758,14 +1766,13 @@ function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
|
|
|
1758
1766
|
venuesById: locationMapSupport.venuesById
|
|
1759
1767
|
} : site.site,
|
|
1760
1768
|
sdkConfig: site.sdkConfig ?? null,
|
|
1761
|
-
bookingOfferingPresets: site.bookingOfferingPresets ?? [],
|
|
1762
1769
|
openingHours: site.businessDetails?.openingHours ?? null,
|
|
1763
1770
|
siteTerms: site.siteTerms,
|
|
1764
1771
|
mailingList: site.mailingList,
|
|
1765
1772
|
interactionContext: site.interactionContext,
|
|
1766
1773
|
businessLocationPermission: site.site.businessLocationPermission,
|
|
1767
1774
|
businessAddressVisibility: site.businessDetails?.addressVisibility ?? "hidden",
|
|
1768
|
-
|
|
1775
|
+
...siteBookingRenderSupport(site),
|
|
1769
1776
|
now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
|
|
1770
1777
|
...customBlocks ? { customBlocks } : {},
|
|
1771
1778
|
supabaseUrl: site.supabaseUrl,
|
|
@@ -1776,8 +1783,9 @@ function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
|
|
|
1776
1783
|
};
|
|
1777
1784
|
}
|
|
1778
1785
|
/** Only already-permitted projections reach the block runtime. */
|
|
1779
|
-
function
|
|
1786
|
+
function siteBlockRenderContext(support) {
|
|
1780
1787
|
return {
|
|
1788
|
+
businessPerson: support.businessPerson,
|
|
1781
1789
|
businessLocationPermission: support.site.businessLocationPermission,
|
|
1782
1790
|
businessAddressVisibility: support.businessAddressVisibility ?? "hidden",
|
|
1783
1791
|
businessLocation: support.site.businessLocation ?? null,
|
|
@@ -1923,4 +1931,4 @@ function sanitizeNullableSdkRuntimeBlockContent(blockKind, content) {
|
|
|
1923
1931
|
return content ? sanitizeSdkRuntimeBlockContent(blockKind, content) : null;
|
|
1924
1932
|
}
|
|
1925
1933
|
//#endregion
|
|
1926
|
-
export { MQ_TABLET_ONLY as A, normalizeRepeaterGridSpan as C, MQ_MD_UP as D, MQ_MD_DOWN as E, MQ_SM_DOWN as O, flowRepeaterGridItems as S, MQ_LG_UP as T, admitLayoutGridForPlan as _, invalidRenderableBlock as a, projectRepeaterGridLayout as b, readSdkPreviewPublishedPlacement as c,
|
|
1934
|
+
export { MQ_TABLET_ONLY as A, normalizeRepeaterGridSpan as C, MQ_MD_UP as D, MQ_MD_DOWN as E, MQ_SM_DOWN as O, flowRepeaterGridItems as S, MQ_LG_UP as T, admitLayoutGridForPlan as _, invalidRenderableBlock as a, projectRepeaterGridLayout as b, readSdkPreviewPublishedPlacement as c, siteBlockRenderContext as d, resolveSiteCustomBlocks as f, validateManifestDraft as g, registeredManifestContentContract as h, collectMediaAssetSidecar as i, readPublishedBlockPlacement as j, MQ_SM_UP as k, resolveSdkBlockManifest as l, compileManifestContentContract as m, buildRenderablePageOutline as n, projectRenderablePageOutline as o, admitTransportedRenderableManifestContent as p, buildSiteRenderSupport as r, readInvalidBlockAdmission as s, buildPageOutline as t, sanitizeSdkRuntimeBlockContent as u, deriveFieldValidationPlan as v, resolveRepeaterGridAcceptedSpans as w, projectRepeaterGridLayoutForRendering as x, fieldPlanToZod as y };
|