@riverbankcms/sdk 0.178.0 → 0.179.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.
Files changed (210) hide show
  1. package/README.md +15 -8
  2. package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
  3. package/dist/_dts/{Page-C9i27wZA.d.ts → Page-lWenra5i.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
  5. package/dist/_dts/{client-BnYN6XsH.d.ts → client-qWn7xAwJ.d.ts} +47 -17
  6. package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
  7. package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
  8. package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
  9. package/dist/_dts/{index-DCa-8TEY.d.ts → index-7CDBZGb-.d.ts} +1 -1
  10. package/dist/_dts/{index-CKDRr54L.d.ts → index-BU9uAkHB.d.ts} +4 -4
  11. package/dist/_dts/{index-D9-N1d9v.d.ts → index-BYnG_vF5.d.ts} +1 -1
  12. package/dist/_dts/{index-nnEdgc3Z.d.ts → index-CZgJrhzT.d.ts} +4 -2
  13. package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CaCum9mM.d.ts} +2 -2
  14. package/dist/_dts/{index-0HFgCnGz.d.ts → index-DCiSHd-C.d.ts} +1 -1
  15. package/dist/_dts/{index-BE9dWIsr.d.ts → index-DVSipdrT.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
  17. package/dist/_dts/{request-B20VRWHH.d.ts → request-BjKBCS7t.d.ts} +1201 -335
  18. package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
  19. package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +3 -3
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +7 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +16 -8
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
  55. package/dist/_dts/{types-rm2M4LGx.d.ts → types-B7e6Lmo5.d.ts} +3 -3
  56. package/dist/_dts/{types-CYcd15BQ.d.ts → types-BOxSq-Bq.d.ts} +8 -7
  57. package/dist/_dts/{types-CMZ5mkpv.d.ts → types-CT-KOxl_.d.ts} +5 -39
  58. package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-Dz6qccue.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
  60. package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
  61. package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
  62. package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +42 -9
  63. package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
  65. package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-yoSI77ov.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-HeCNlliq.mjs} +10 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
  68. package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-Duhk1vnF.mjs} +247 -7
  69. package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
  70. package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
  72. package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +189 -111
  73. package/dist/client/{Page-DqETUt-U.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
  74. package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
  76. package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-2Dl9zon2.mjs} +6 -6
  77. package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
  78. package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
  79. package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
  80. package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
  81. package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-B6SqU49k.mjs} +1 -1
  82. package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
  83. package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-drZBwEZW.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
  86. package/dist/client/{carousel-B3UhbFu7.mjs → carousel-C-YJliD-.mjs} +2 -2
  87. package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
  88. package/dist/client/{cart-DzOJfYOR.mjs → cart-acGFWK9R.mjs} +3 -3
  89. package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-BzlOGP2j.mjs} +1 -1
  90. package/dist/client/{checkout-LmePoEgM.mjs → checkout-SEontwhy.mjs} +3 -3
  91. package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
  93. package/dist/client/client.mjs +414 -319
  94. package/dist/client/{context-CJIz4FdL.mjs → context-DTrwaQtg.mjs} +2 -1
  95. package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +1 -1
  97. package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
  98. package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-RLZQWi2V.mjs} +13 -13
  99. package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-CphYnImh.mjs} +4 -4
  100. package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-BvqjASB_.mjs} +4 -4
  101. package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-BaNAoC_M.mjs} +4 -4
  102. package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
  103. package/dist/client/events-9LPvwbWp.mjs +28 -0
  104. package/dist/client/{form-BBBtRwvy.mjs → form-DyH2juYT.mjs} +3 -3
  105. package/dist/client/{form.client-CZeRQLGF.mjs → form.client-DBwzkB0M.mjs} +5 -5
  106. package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CY4kX3mh.mjs} +3 -3
  107. package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-CTEN7gxW.mjs} +1 -1
  108. package/dist/client/gifting/client.mjs +6 -6
  109. package/dist/client/{gifting-Di9-SpwW.mjs → gifting-CIx4V378.mjs} +4 -4
  110. package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
  111. package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
  112. package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-DGcJfRS8.mjs} +2 -2
  113. package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
  114. package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
  115. package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3975 -3975
  116. package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
  117. package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
  118. package/dist/client/portal/client.mjs +9 -9
  119. package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
  120. package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
  121. package/dist/client/{productDetail-gxF5whea.mjs → productDetail-DjuFvkey.mjs} +3 -3
  122. package/dist/client/{productList-B9t0XJrN.mjs → productList-DE9GEFoZ.mjs} +3 -3
  123. package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
  124. package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-BPwV-0Pp.mjs} +10420 -9108
  125. package/dist/client/rendering/client.mjs +41 -27
  126. package/dist/client/rendering/islands.mjs +1 -1
  127. package/dist/client/rendering.mjs +23 -2836
  128. package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
  129. package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
  130. package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
  131. package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
  132. package/dist/client/{shop-D1oTPDxm.mjs → shop-C3wM0Hr4.mjs} +3 -3
  133. package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
  134. package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
  135. package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
  136. package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-C0v88nLd.mjs} +14 -14
  137. package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-Ct-BRNez.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/{noop-D11X-B6n.mjs → src-CCtanNlD.mjs} +317 -342
  140. package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-lhE29TNT.mjs} +65 -11
  141. package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
  142. package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
  143. package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
  144. package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
  145. package/dist/client/{view-bGU1ws-m.mjs → view-LJVHVqsy.mjs} +4 -4
  146. package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CNDsxeJH.mjs} +8935 -8913
  147. package/dist/preview-next/before-render.mjs +4 -3
  148. package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +5 -5
  150. package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
  151. package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
  152. package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
  153. package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-aqpU34WI.mjs} +627 -498
  154. package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
  155. package/dist/preview-next/client/runtime.mjs +3 -3
  156. package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
  157. package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
  158. package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
  159. package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
  160. package/dist/preview-next/keepAlive.mjs +1 -1
  161. package/dist/preview-next/middleware.mjs +1 -1
  162. package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-DnL-FgSV.mjs} +28 -10
  163. package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-BEbq6EwO.mjs} +4 -4
  164. package/dist/server/{bindings-DrbJuftt.mjs → bindings-Bly0dRs7.mjs} +36 -5
  165. package/dist/server/{client-Bf06n9oj.mjs → client-CGJ2ztYp.mjs} +1449 -1600
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
  169. package/dist/server/data/dataLoaderContext.mjs +1 -1
  170. package/dist/server/data/resolveBlockData.mjs +1 -1
  171. package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
  172. package/dist/server/error-f4g44bKx.mjs +387 -0
  173. package/dist/server/index.mjs +3 -2
  174. package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
  175. package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-DTLe0FEs.mjs} +22 -4
  176. package/dist/server/next.mjs +54 -94
  177. package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
  178. package/dist/server/page-converter.mjs +1 -1
  179. package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-JzxBnqfV.mjs} +7 -2
  180. package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
  181. package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-DU4ETFPS.mjs} +8 -50
  182. package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-8jNtDXmS.mjs} +5 -4
  183. package/dist/server/prebuild.mjs +1 -1
  184. package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
  185. package/dist/server/{registry-D12XF_h1.mjs → registry-DH1VrsCl.mjs} +122 -19
  186. package/dist/server/rendering/components/pageShared.mjs +1 -1
  187. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  188. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  189. package/dist/server/rendering/server.mjs +5 -4
  190. package/dist/server/rendering.mjs +9 -8
  191. package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
  192. package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
  193. package/dist/server/routing.mjs +271 -57
  194. package/dist/server/server.mjs +3 -3
  195. package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
  196. package/dist/server/{validation-CLq5cw6M.mjs → validation-3jOzYdPL.mjs} +3 -3
  197. package/dist/server/{version-oPbhAx8E.mjs → version-8t0o6_jd.mjs} +1 -1
  198. package/package.json +1 -1
  199. package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
  200. package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
  201. package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
  202. package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
  203. package/dist/client/course-DBEU9IA9.mjs +0 -244
  204. package/dist/client/duration-Q6_QNgiv.mjs +0 -37
  205. package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
  206. package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
  207. package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
  208. package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
  209. package/dist/client/view-DNX59QwM.mjs +0 -1372
  210. package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
@@ -1,8 +1,9 @@
1
- import { u as RiverbankSiteConfig } from "../../../types-rm2M4LGx.js";
2
- import { a as ContentTypeRoutingInfo } from "../../../contracts-BZLwkTwL.js";
3
- import { _ as RiverbankClient } from "../../../types-CMZ5mkpv.js";
4
- import { K as LoadPageResult } from "../../../Page-C9i27wZA.js";
5
- import { a as PublicContentLoadError, c as RiverbankContentLoadError, d as contentLoadFailed, f as contentNotFound, i as PageResolutionResult, l as RiverbankContentLoadErrorOptions, m as toRoutingInfo, n as LoadContentResult, o as PublicLoadStage, p as resolvePageContent, r as OccurrenceData, s as ResolvePageContentOptions, t as EntrySubrouteData, u as contentFound } from "../../../resolvePageContent-YT6ndha1.js";
1
+ import { i as ContentTypeConfig } from "../../../content-types-DL6GIvTm.js";
2
+ import { u as RiverbankSiteConfig } from "../../../types-B7e6Lmo5.js";
3
+ import { a as ContentTypeRoutingInfo } from "../../../contracts-CzWyAiJj.js";
4
+ import { _ as RiverbankClient } from "../../../types-CT-KOxl_.js";
5
+ import { K as LoadPageResult } from "../../../Page-lWenra5i.js";
6
+ import { a as PublicContentLoadError, c as RiverbankContentLoadError, d as contentLoadFailed, f as contentNotFound, h as resolvePageContent, i as PageResolutionResult, l as RiverbankContentLoadErrorOptions, m as pageReadMissReasonFromError, n as LoadContentResult, o as PublicLoadStage, p as pageReadMissReason, r as OccurrenceData, s as ResolvePageContentOptions, t as EntrySubrouteData, u as contentFound } from "../../../resolvePageContent-BqNyCHi8.js";
6
7
 
7
8
  //#region .cache/declarations/sdk/src/routing/resolveRoute.d.ts
8
9
  type RouteResolution = {
@@ -207,6 +208,18 @@ declare function matchContentEntryPath(contentTypes: ContentTypeRoutingInfo[], p
207
208
  */
208
209
  declare function isContentEntryPath(config: RiverbankSiteConfig, path: string | string[]): ContentEntryMatch;
209
210
  //#endregion
211
+ //#region .cache/declarations/sdk/src/routing/contentTypeResolver.d.ts
212
+ /**
213
+ * Convert local SDK ContentTypeConfig to ContentTypeRoutingInfo.
214
+ *
215
+ * Used to transform local SDK config content types into the minimal
216
+ * format needed for routing decisions.
217
+ *
218
+ * @param ct - ContentTypeConfig from SDK config
219
+ * @returns ContentTypeRoutingInfo for routing
220
+ */
221
+ declare function toRoutingInfo(ct: ContentTypeConfig): ContentTypeRoutingInfo;
222
+ //#endregion
210
223
  //#region .cache/declarations/sdk/src/routing/segmentValidators.d.ts
211
224
  /**
212
225
  * Shared URL segment validators used by routing/subroute detection.
@@ -347,4 +360,4 @@ type CheckRedirectParams = {
347
360
  */
348
361
  declare function checkRedirectForPath(params: CheckRedirectParams): Promise<RedirectResult>;
349
362
  //#endregion
350
- export { type CheckRedirectParams, type ContentEntryMatch, type ContentTypeRoutingInfo, type EntrySubrouteCandidate, type EntrySubrouteData, type KnownEntrySubrouteKind, type LoadContentResult, type OccurrenceData, type PageResolutionResult, type PublicContentLoadError, type PublicLoadStage, type RedirectResult, type RedirectRule, type ResolvePageContentOptions, type ResolveRouteParams, RiverbankContentLoadError, type RiverbankContentLoadErrorOptions, type RouteResolution, type ShouldAttemptEntrySubrouteArgs, checkRedirectForPath, contentFound, contentLoadFailed, contentNotFound, defaultShouldAttemptEntrySubroute, detectEntrySubrouteFromTypes, extractPotentialEntrySubroute, getContentEntryPrefixes, getContentEntryPrefixesFromContentTypes, inferKnownEntrySubrouteKind, isContentEntryPath, isISODateString, isUUID, isValidSegment, matchContentEntryPath, resolvePageContent, resolveRoute, resolveRoutes, toRoutingInfo };
363
+ export { type CheckRedirectParams, type ContentEntryMatch, type ContentTypeRoutingInfo, type EntrySubrouteCandidate, type EntrySubrouteData, type KnownEntrySubrouteKind, type LoadContentResult, type OccurrenceData, type PageResolutionResult, type PublicContentLoadError, type PublicLoadStage, type RedirectResult, type RedirectRule, type ResolvePageContentOptions, type ResolveRouteParams, RiverbankContentLoadError, type RiverbankContentLoadErrorOptions, type RouteResolution, type ShouldAttemptEntrySubrouteArgs, checkRedirectForPath, contentFound, contentLoadFailed, contentNotFound, defaultShouldAttemptEntrySubroute, detectEntrySubrouteFromTypes, extractPotentialEntrySubroute, getContentEntryPrefixes, getContentEntryPrefixesFromContentTypes, inferKnownEntrySubrouteKind, isContentEntryPath, isISODateString, isUUID, isValidSegment, matchContentEntryPath, pageReadMissReason, pageReadMissReasonFromError, resolvePageContent, resolveRoute, resolveRoutes, toRoutingInfo };
@@ -1,8 +1,8 @@
1
- import { t as createRiverbankClient } from "../../index-nnEdgc3Z.js";
2
- import { I as SiteResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse } from "../../contracts-BZLwkTwL.js";
3
- import { _ as RiverbankClient, o as GetEntriesByIdentifiersParams, v as RiverbankClientConfig } from "../../types-CMZ5mkpv.js";
1
+ import { t as createRiverbankClient } from "../../index-CZgJrhzT.js";
2
+ import { I as SiteResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse } from "../../contracts-CzWyAiJj.js";
3
+ import { _ as RiverbankClient, o as GetEntriesByIdentifiersParams, v as RiverbankClientConfig } from "../../types-CT-KOxl_.js";
4
4
  import { BlockLoaderMap, DataLoaderContext, DataLoaderFn, DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderRenderTarget, DataLoaderSearchParams, DataLoaderValue } from "./data/types.js";
5
5
  import { RuntimeSdkConfig } from "./rendering/helpers/pageRuntimeSupport.js";
6
- import { G as LoadPageParams, K as LoadPageResult, q as loadPage } from "../../Page-C9i27wZA.js";
7
- import { a as PageContentResult, c as PageSurfaceContentResult, d as isPageContent, f as isPageSurfaceContent, i as LoadContentResult, n as EntryContentResult, p as loadContent, r as LoadContentParams, s as PageSurfaceContentData, t as ContentEntryData, u as isEntryContent } from "../../loadContent-DYkVV6w4.js";
6
+ import { G as LoadPageParams, K as LoadPageResult, q as loadPage } from "../../Page-lWenra5i.js";
7
+ import { a as PageContentResult, c as PageSurfaceContentResult, d as isPageContent, f as isPageSurfaceContent, i as LoadContentResult, n as EntryContentResult, p as loadContent, r as LoadContentParams, s as PageSurfaceContentData, t as ContentEntryData, u as isEntryContent } from "../../loadContent-CPKbFQyq.js";
8
8
  export { type BlockLoaderMap, type ContentEntryData, type DataLoaderContext, type DataLoaderFn, type DataLoaderOverrides, type DataLoaderPreviewStage, type DataLoaderRenderTarget, type DataLoaderSearchParams, type DataLoaderValue, type EntriesResponse, type EntryContentResult, type EntryResponse, type GetEntriesByIdentifiersParams, type LoadContentParams, type LoadContentResult, type LoadPageParams, type LoadPageResult, type PageContentResult, type PageResponse, type PageSurfaceContentData, type PageSurfaceContentResult, type RiverbankClient, type RiverbankClientConfig, type RuntimeSdkConfig, type SiteResponse, createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
@@ -1,5 +1,5 @@
1
- import { Fn as ProtectedSubmission, In as SpamProtectionPolicy, Ln as SubmissionAuthorization, Rn as submissionProof } from "../../../request-B20VRWHH.js";
2
- import { n as ProtectedSubmitButton } from "../../../client-BnYN6XsH.js";
1
+ import { Bn as SpamProtectionPolicy, Hn as submissionProof, Vn as SubmissionAuthorization, zn as ProtectedSubmission } from "../../../request-BjKBCS7t.js";
2
+ import { n as ProtectedSubmitButton } from "../../../client-qWn7xAwJ.js";
3
3
 
4
4
  //#region .cache/declarations/altcha/src/index.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { Vi as SiteStyleId, dr as Theme, ii as OpaqueButtonColourToken, qr as MediaIdentifier, zi as HexColor } from "../../../request-B20VRWHH.js";
1
+ import { $i as HexColor, aa as SiteStyleId, hr as Theme, ni as MediaIdentifier, pi as OpaqueButtonColourToken } from "../../../request-BjKBCS7t.js";
2
2
  import { z as z$1 } from "zod";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/theme/loader.d.ts
@@ -0,0 +1,582 @@
1
+ import { $n as RenderablePageBlock, Ai as PublishedBlockPlacementRead, Ei as MailingListRuntimeContext, Fi as BookingTimeZone, Fr as SystemEventPageSelection, Ii as UtcIsoDateTimeString, Ji as RichTextDoc, Jt as PublicBookingService, Kr as Media, M as DateRuntimeContext, Mr as PublicEvent, N as resolveDateRuntimeContext, Nr as PublicEventBase, Pr as PublicWholeSeriesRun, Qi as DeepReadonly, Qt as SiteRuntimeSiteTerms, Si as SectionSubjectFacts, Wn as BrowserReadAuthority, Yr as RuntimeMedia, _i as pageDesignIntentSchemaVersion, aa as SiteStyleId, b as PrefetchedBlockData, bi as StoredSectionValues, er as RenderablePageOutline, gi as PageDesignUserPinnedChoice, gr as PageBlockRenderAdmissionError, hi as PageDesignIntent, hr as Theme, ia as PageFlowPresetId, mi as PageRuntimeJoin, na as DesignBlockId, nr as RenderableManifestContent, ra as DesignBoundaryId, ta as AppearancePresetId, tr as CompiledManifestContentContract, v as BlockLoaderFailures, vi as SectionBoundaryTreatment, vr as ReadinessStage, x as ResolvedBlockData, xi as PageSectionDefinition, xr as SdkCustomBlock, y as BlockLoaderSnapshot, yr as Block } from "./request-BjKBCS7t.js";
2
+ import { z as BlockKind } from "./content-types-DL6GIvTm.js";
3
+ import { r as MediaAssetIndexItem, y as RouteMap } from "./index-DCiSHd-C.js";
4
+ import { F as SiteFooterBlock, I as SiteResponse, L as SiteRouteRecord } from "./contracts-CzWyAiJj.js";
5
+ import { _ as RiverbankClient } from "./types-CT-KOxl_.js";
6
+ import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline$1 } from "./Page-lWenra5i.js";
7
+ import { buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildMenu } from "./sdk/src/navigation/index.js";
8
+ //#region .cache/declarations/sdk/src/rendering/components/Layout.d.ts
9
+ type CustomHeaderData = {
10
+ menu: ReturnType<typeof buildMenu>; /** The site logo (for light backgrounds), or the dark-background one if it is the only logo set. */
11
+ logo: ReturnType<typeof buildLogo>; /** Both logos, so a custom header can pick by its own surface. */
12
+ logoVariants: ReturnType<typeof buildLogoVariants>;
13
+ site: SiteResponse['site'];
14
+ routes: SiteResponse['routes'];
15
+ };
16
+ /** What a `PageRenderer` needs to show the site's footer blocks, with their loaders already run. */
17
+ type PreparedFooterBlocks = Readonly<{
18
+ page: RenderablePageOutline$1;
19
+ routeMap: SiteResponse['routes'];
20
+ dataContext: ReturnType<typeof buildLayoutRootContext> & ReturnType<typeof footerLoaderContext>;
21
+ }>;
22
+ type CustomFooterData = {
23
+ menu: ReturnType<typeof buildMenu>;
24
+ footerMenu: ReturnType<typeof buildFooterMenu>;
25
+ legalFooterMenu: ReturnType<typeof buildFooterMenuForRole>; /** The site logo (for light backgrounds), or the dark-background one if it is the only logo set. */
26
+ logo: ReturnType<typeof buildLogo>; /** Both logos, so a custom footer can pick by its own surface. */
27
+ logoVariants: ReturnType<typeof buildLogoVariants>;
28
+ site: SiteResponse['site'];
29
+ routes: SiteResponse['routes']; /** The site's footer blocks ready to spread onto a `PageRenderer`; null when it has none. */
30
+ footerBlocks: PreparedFooterBlocks | null;
31
+ };
32
+ type HeaderData = CustomHeaderData & {
33
+ theme: Theme;
34
+ };
35
+ type FooterData = CustomFooterData & {
36
+ theme: Theme;
37
+ };
38
+ type LayoutCommonProps = {
39
+ now?: string;
40
+ siteData?: SiteResponse;
41
+ client?: RiverbankClient;
42
+ siteId?: string;
43
+ slug?: string;
44
+ domain?: string;
45
+ /**
46
+ * What the footer blocks' loaders returned, from `prefetchFooterBlockData`.
47
+ * With `siteData` and no `client`, Layout has no way to load them itself.
48
+ */
49
+ footerBlockData?: PrefetchedBlockData;
50
+ children: React.ReactNode;
51
+ /**
52
+ * Whether the current request has an active portal session.
53
+ * Used to resolve portal navigation labels (e.g. "Login" vs "My account").
54
+ *
55
+ * @default false
56
+ */
57
+ hasPortalSession?: boolean; /** Render stage for internal links and block transforms. */
58
+ previewStage?: 'published' | 'preview';
59
+ };
60
+ type ThemedLayoutProps = LayoutCommonProps & {
61
+ rendering?: never;
62
+ header?: boolean | ((data: HeaderData) => React.ReactNode);
63
+ footer?: boolean | ((data: FooterData) => React.ReactNode);
64
+ headerVariant?: 'classic' | 'centered' | 'floating';
65
+ themeRuntime?: SdkThemeRuntime;
66
+ };
67
+ type OverrideOnlyLayoutProps = LayoutCommonProps & {
68
+ rendering: SdkOverrideOnlyRendering;
69
+ header: false | ((data: CustomHeaderData) => React.ReactNode);
70
+ footer: false | ((data: CustomFooterData) => React.ReactNode);
71
+ headerVariant?: never;
72
+ themeRuntime?: never;
73
+ };
74
+ type LayoutProps = ThemedLayoutProps | OverrideOnlyLayoutProps;
75
+ declare class UnsupportedOverrideOnlyLayoutChromeError extends Error {
76
+ readonly surface: 'header' | 'footer';
77
+ readonly code = "unsupported_override_only_layout_chrome";
78
+ constructor(surface: 'header' | 'footer');
79
+ }
80
+ declare function resolveLayoutSiteData(props: LayoutProps): Promise<SiteResponse & {
81
+ now: UtcIsoDateTimeString;
82
+ dateContext: ReturnType<typeof resolveDateRuntimeContext>;
83
+ }>;
84
+ /**
85
+ * Layout component that wraps content with site header and footer.
86
+ *
87
+ * This is a server/RSC-safe component. The default `@riverbankcms/sdk/rendering`
88
+ * `Page` and `Block` surfaces mount CMS island hydration automatically, while
89
+ * the strict `@riverbankcms/sdk/rendering/server` surface stays bootstrap-free.
90
+ * If a custom host renders hydratable CMS islands through the strict server
91
+ * surface, mount `BlocksIslandsHydrator` from
92
+ * `@riverbankcms/sdk/rendering/islands` explicitly.
93
+ *
94
+ * @example With pre-fetched site data (recommended)
95
+ * ```tsx
96
+ * import { Layout } from '../server';
97
+ * import { Page } from '../index';
98
+ *
99
+ * const site = await client.getSite({ slug: 'my-site' });
100
+ *
101
+ * <Layout siteData={site}>
102
+ * <Page {...pageData} />
103
+ * </Layout>
104
+ * ```
105
+ *
106
+ * @example With strict server rendering
107
+ * ```tsx
108
+ * import { Layout, Page } from '../server';
109
+ * import { BlocksIslandsHydrator } from '../islands/client';
110
+ *
111
+ * const site = await client.getSite({ slug: 'my-site' });
112
+ *
113
+ * <Layout siteData={site}>
114
+ * <BlocksIslandsHydrator siteId={site.site.id} supabaseUrl={site.supabaseUrl} />
115
+ * <Page {...pageData} />
116
+ * </Layout>
117
+ * ```
118
+ */
119
+ declare function Layout(props: LayoutProps): Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>;
120
+ declare function footerLoaderContext(data: PrefetchedBlockData | undefined): {
121
+ resolvedData: ResolvedBlockData;
122
+ loaderFailures: BlockLoaderFailures;
123
+ loaderSnapshot: Readonly<{
124
+ stage: ReadinessStage;
125
+ blocks: Readonly<Record<string, Readonly<{
126
+ kind: string;
127
+ content: Readonly<Record<string, unknown>>;
128
+ requests: Readonly<Record<string, Readonly<{
129
+ endpoint: string;
130
+ params: Readonly<Record<string, string>>;
131
+ }>>>;
132
+ }>>>;
133
+ }>;
134
+ prefetchedBlockData: Readonly<{
135
+ resolvedData: ResolvedBlockData;
136
+ loaderFailures: BlockLoaderFailures;
137
+ loaderSnapshot: BlockLoaderSnapshot;
138
+ }>;
139
+ } | {
140
+ resolvedData?: undefined;
141
+ loaderFailures?: undefined;
142
+ loaderSnapshot?: undefined;
143
+ prefetchedBlockData?: undefined;
144
+ };
145
+ /** Shared public facts for SDK chrome; no customer acceptance is present. */
146
+ declare function buildLayoutRootContext(siteData: Awaited<ReturnType<typeof resolveLayoutSiteData>>, input: Readonly<{
147
+ apiBaseUrl: string | undefined;
148
+ previewStage: 'published' | 'preview';
149
+ theme?: Theme;
150
+ }>): {
151
+ now: UtcIsoDateTimeString;
152
+ dateContext: DateRuntimeContext;
153
+ bookingTimeZone: BookingTimeZone;
154
+ siteId: string;
155
+ apiBaseUrl: string | undefined;
156
+ previewStage: "preview" | "published";
157
+ routes: Record<string, SiteRouteRecord>;
158
+ pagesByIdentifier: Record<string, string> | undefined;
159
+ entriesByIdentifier: Record<string, Record<string, string>> | undefined;
160
+ siteTerms: SiteRuntimeSiteTerms | undefined;
161
+ mailingList: MailingListRuntimeContext | undefined;
162
+ interactionContext: {
163
+ kind: "live";
164
+ } | {
165
+ kind: "demo";
166
+ } | undefined;
167
+ siteCountry: string | null;
168
+ theme: Theme | undefined;
169
+ };
170
+ //#endregion
171
+ //#region .cache/declarations/sdk/src/rendering/components/Block.shared.d.ts
172
+ type BlockCommonProps = {
173
+ now: string;
174
+ bookingTimeZone: string;
175
+ blockKind: BlockKind;
176
+ blockId?: string | null;
177
+ content: Record<string, unknown>;
178
+ siteId?: string;
179
+ /**
180
+ * Supabase storage URL for direct image access in SSR output and client
181
+ * islands.
182
+ */
183
+ supabaseUrl?: string;
184
+ /**
185
+ * Canonical media sidecar for resolving identifier-only media values.
186
+ */
187
+ mediaAssets?: readonly MediaAssetIndexItem[];
188
+ /**
189
+ * Base URL for the CMS API. Interactive blocks need this for client-side
190
+ * form, booking, event, and commerce calls.
191
+ */
192
+ apiBaseUrl?: string;
193
+ /**
194
+ * Portal token for customer portal Bearer auth.
195
+ */
196
+ portalToken?: string | null;
197
+ readAuthority?: BrowserReadAuthority; /** Route lookup for CMS links inside block content. */
198
+ routeMap?: RouteMap; /** Page identifier to routeId lookup for { kind: 'page' } links. */
199
+ pagesByIdentifier?: Record<string, string>; /** ContentType -> identifier -> routeId lookup for { kind: 'entry' } links. */
200
+ entriesByIdentifier?: Record<string, Record<string, string>>;
201
+ pageId?: string;
202
+ previewStage?: 'published' | 'preview';
203
+ client?: RiverbankClient;
204
+ /**
205
+ * Custom component to override default block rendering. When provided, renders
206
+ * this component instead of the manifest-based default. Override components
207
+ * receive the same serializable runtime context as page-level block overrides.
208
+ *
209
+ * @example
210
+ * ```tsx
211
+ * <Block
212
+ * blockKind="block.hero"
213
+ * content={heroContent}
214
+ * theme={theme}
215
+ * siteId={siteId}
216
+ * override={MyCustomHero}
217
+ * />
218
+ * ```
219
+ */
220
+ override?: BlockOverrideComponent;
221
+ };
222
+ type ThemedBlockProps = BlockCommonProps & {
223
+ rendering?: never;
224
+ theme: Theme;
225
+ };
226
+ type OverrideOnlyBlockProps = BlockCommonProps & {
227
+ rendering: {
228
+ kind: 'overrides-only';
229
+ };
230
+ theme?: never;
231
+ override: BlockOverrideComponent;
232
+ };
233
+ type BlockProps = ThemedBlockProps | OverrideOnlyBlockProps;
234
+ //#endregion
235
+ //#region .cache/declarations/sdk/src/rendering/helpers/footerPageOutline.d.ts
236
+ /**
237
+ * Admit footer blocks returned by the site API for public rendering.
238
+ *
239
+ * Custom, override-only SDK sites need this boundary before passing footer
240
+ * blocks to `PageRenderer`; the transport response intentionally remains an
241
+ * unaudited content shape.
242
+ */
243
+ declare function buildFooterRenderablePageOutline(siteData: SiteResponse, blocks: readonly SiteFooterBlock[]): RenderablePageOutline$1;
244
+ type FooterBlockDataOptions = Readonly<{
245
+ previewStage?: 'published' | 'preview';
246
+ }>;
247
+ /**
248
+ * Run the loaders of a site's footer blocks, for a footer `PageRenderer`.
249
+ *
250
+ * A custom footer callback calls this itself and passes the result in its data
251
+ * context, or hands it to `Layout` as `footerBlockData`. Without it, a map in the
252
+ * footer that needs a venue or the business address is left out for visitors.
253
+ */
254
+ declare function prefetchFooterBlockData(client: RiverbankClient, siteData: SiteResponse, options?: FooterBlockDataOptions): Promise<PrefetchedBlockData>;
255
+ //#endregion
256
+ //#region .cache/declarations/site-renderer/src/ordinaryPageRenderPipeline.d.ts
257
+ type OrdinaryPageContentStage = 'draft' | 'published';
258
+ type OrdinaryPageBlockContentVersion = Readonly<{
259
+ id: string;
260
+ ownerKind: 'block';
261
+ blockId: string;
262
+ version: number;
263
+ stage: OrdinaryPageContentStage; /** Untrusted stored payload; buildOrdinaryPageRenderBlocks owns admission. */
264
+ data: Record<string, unknown>;
265
+ }>;
266
+ interface OrdinaryPageContentSelection<T = OrdinaryPageBlockContentVersion | null> {
267
+ selected: T;
268
+ published: T;
269
+ }
270
+ interface OrdinaryPageRawBlock {
271
+ id: string;
272
+ kind: string;
273
+ purpose?: string | null;
274
+ }
275
+ type OrdinaryPageRuntimeDiagnostic = Readonly<{
276
+ kind: 'invalid-design-state';
277
+ }> | Readonly<{
278
+ kind: 'missing-theme-for-design-state';
279
+ }> | Readonly<{
280
+ kind: 'invalid-block-id';
281
+ blockId: string;
282
+ blockKind: string;
283
+ }>;
284
+ /**
285
+ * A block whose content is composed for this render rather than read from a
286
+ * stored row, such as the sections of a hosted booking page. It has no content
287
+ * versions, so it renders with a null content id and no published placement.
288
+ */
289
+ type OrdinaryPageInlineBlock = Readonly<{
290
+ id: string;
291
+ kind: string;
292
+ purpose: string;
293
+ content: Record<string, unknown>;
294
+ }>;
295
+ type OrdinaryPageRenderBlock = RenderablePageBlock;
296
+ type OrdinaryPageBlockContentContractResolver = (blockKind: string) => CompiledManifestContentContract | null;
297
+ /** The colour preparation inputs read by the page compiler; editing owns their mutable source. */
298
+ type OrdinaryPageTheme = DeepReadonly<Pick<Theme, 'palette'> & Partial<Pick<Theme, 'siteStyleId' | 'buttons' | 'skin' | 'skinMarks'>>>;
299
+ /**
300
+ * `stored` blocks carry the document owner's explicit selected stage content.
301
+ * Published baselines supply only public placement metadata. `inline` blocks carry content composed for
302
+ * this render; `stage` still decides which invalid blocks the design runtime
303
+ * compiles around.
304
+ */
305
+ type BuildOrdinaryPageRenderBlocksInput = Readonly<{
306
+ designState: unknown;
307
+ stage: OrdinaryPageContentStage;
308
+ theme: OrdinaryPageTheme | null;
309
+ resolveBlockContentContract?: OrdinaryPageBlockContentContractResolver;
310
+ }> & (Readonly<{
311
+ source: 'stored';
312
+ blocks: readonly OrdinaryPageRawBlock[];
313
+ contentByBlockId: Readonly<Record<string, OrdinaryPageContentSelection>>;
314
+ }> | Readonly<{
315
+ source: 'inline';
316
+ blocks: readonly OrdinaryPageInlineBlock[];
317
+ }>);
318
+ type BuildOrdinaryPageRenderBlocksResult = Readonly<{
319
+ blocks: OrdinaryPageRenderBlock[];
320
+ runtimeJoins: readonly PageRuntimeJoin<string>[];
321
+ diagnostics: OrdinaryPageRuntimeDiagnostic[];
322
+ }>;
323
+ /**
324
+ * Materialize → policy → stored admission → design runtime → renderable proof.
325
+ *
326
+ * Admission sits ahead of the design runtime on purpose. `applyPageDesignRuntimeFields`
327
+ * is adjacent-pair dependent throughout — per-block fields are compiled against the
328
+ * *next* block's surface, boundaries are keyed to neighbouring block ids, and the
329
+ * final block is treated as the page end — so it has to see the list that will
330
+ * actually render. On a public page an `invalid` block is omitted entirely by
331
+ * `PageRenderer`, and compiling joins to a section nobody sees produces boundaries
332
+ * that then have to be approximated back into shape downstream.
333
+ */
334
+ declare function buildOrdinaryPageRenderBlocks(input: BuildOrdinaryPageRenderBlocksInput): BuildOrdinaryPageRenderBlocksResult;
335
+ //#endregion
336
+ //#region .cache/declarations/site-renderer/src/pageSections.d.ts
337
+ type PageSectionsInput = Readonly<{
338
+ definitions: readonly PageSectionDefinition[];
339
+ facts: SectionSubjectFacts;
340
+ values: StoredSectionValues;
341
+ }>;
342
+ //#endregion
343
+ //#region .cache/declarations/sdk/src/rendering/systemPages/codeOwnedPageBlocks.d.ts
344
+ type CodeOwnedPageDesign = Readonly<{
345
+ theme: Pick<Theme, 'palette' | 'siteStyleId'>;
346
+ customBlocks?: readonly SdkCustomBlock[];
347
+ resolveBlockContentContract?: Parameters<typeof buildOrdinaryPageRenderBlocks>[0]['resolveBlockContentContract'];
348
+ }>;
349
+ /** Code-owned pages share the ordinary design compiler and inline admission boundary. */
350
+ declare function buildCodeOwnedPageBlocks(blocks: readonly OrdinaryPageInlineBlock[], design: CodeOwnedPageDesign, stored?: PageDesignIntent | null, ownerWrittenBlocks?: readonly OrdinaryPageInlineBlock[]): {
351
+ runtimeJoins: readonly PageRuntimeJoin<string>[];
352
+ diagnostics: OrdinaryPageRuntimeDiagnostic[];
353
+ blocks: Readonly<{
354
+ id: Block['id'];
355
+ kind: Block['kind'];
356
+ purpose: Block['purpose'];
357
+ bindings?: Block['bindings'];
358
+ contentVersionId?: string | null;
359
+ draftContentId?: string | null;
360
+ draftContent?: Record<string, unknown> | null;
361
+ publishedPlacement: PublishedBlockPlacementRead;
362
+ admission: Readonly<{
363
+ kind: 'renderable';
364
+ content: RenderableManifestContent;
365
+ }> | Readonly<{
366
+ kind: 'invalid';
367
+ error: PageBlockRenderAdmissionError;
368
+ }>;
369
+ }>[];
370
+ };
371
+ declare function createPublicBlockContentContractResolver(customBlocks: readonly SdkCustomBlock[] | undefined): (blockKind: string) => CompiledManifestContentContract | null;
372
+ //#endregion
373
+ //#region .cache/declarations/sdk/src/rendering/systemPages/bookingPageContent.d.ts
374
+ /** Event and service booking pages use the same title/photo treatment. */
375
+ declare function bookingHero({
376
+ id,
377
+ title,
378
+ eyebrow,
379
+ summary,
380
+ image
381
+ }: Readonly<{
382
+ id: string;
383
+ title: string;
384
+ eyebrow: string;
385
+ summary?: string;
386
+ image?: RuntimeMedia | Media | null;
387
+ }>): OrdinaryPageInlineBlock;
388
+ declare function bookingPageDesign(heroId: string, hasImage: boolean, {
389
+ theme
390
+ }: CodeOwnedPageDesign, detailsId?: string): {
391
+ schemaVersion: typeof pageDesignIntentSchemaVersion;
392
+ siteStyleId: SiteStyleId;
393
+ pageFlowPresetId: PageFlowPresetId;
394
+ boundaryPins: readonly Readonly<{
395
+ boundaryId: DesignBoundaryId;
396
+ previousBlockId: DesignBlockId;
397
+ nextBlockId: DesignBlockId;
398
+ choice: PageDesignUserPinnedChoice<SectionBoundaryTreatment>;
399
+ }>[];
400
+ blockLookPins: {
401
+ blockId: DesignBlockId;
402
+ blockKind: string;
403
+ choice: {
404
+ kind: 'user-pinned';
405
+ value: AppearancePresetId;
406
+ };
407
+ }[];
408
+ } | null;
409
+ /** Booking pages always use the site's default section Looks. */
410
+ declare function bookingSectionBlocks(sections: PageSectionsInput | null, purpose: string): OrdinaryPageInlineBlock[];
411
+ /** The hero owns h1, including when a description was authored with its own title. */
412
+ declare function bookingDescription(body: RichTextDoc): RichTextDoc;
413
+ //#endregion
414
+ //#region .cache/declarations/sdk/src/rendering/systemPages/bookingPageIdentity.d.ts
415
+ type BookingPageIdentity = Readonly<{
416
+ title: string;
417
+ ownTitle: string | null;
418
+ ownDescription: string | null;
419
+ }>;
420
+ /**
421
+ * How a booking page names itself. Only a page for one date speaks in that
422
+ * date's own words: a date chooser or a course run stands for all its dates,
423
+ * so it keeps the event's, whatever its first date is called.
424
+ */
425
+ declare function bookingPageIdentity(selection: SystemEventPageSelection): BookingPageIdentity;
426
+ /** A date's description is plain text: blank lines part paragraphs, single ones break lines. */
427
+ declare function plainTextDoc(text: string): RichTextDoc;
428
+ //#endregion
429
+ //#region .cache/declarations/sdk/src/rendering/systemPages/bookingPageOutline.d.ts
430
+ declare const BOOKING_PAGE_BLOCK_IDS: {
431
+ readonly hero: 'booking-hero';
432
+ readonly details: 'booking-details';
433
+ readonly description: 'booking-description';
434
+ readonly registration: 'booking-registration';
435
+ readonly refundPolicy: 'booking-refund-policy';
436
+ };
437
+ type BookingPageSections = PageSectionsInput;
438
+ type BookingPageDesign = CodeOwnedPageDesign & Readonly<{
439
+ path: string;
440
+ }>;
441
+ type BookingPageOutline = RenderablePageOutline & Readonly<{
442
+ runtimeJoins: readonly [];
443
+ }>;
444
+ /** The fixed booking outline; only its block content and style's Looks vary. */
445
+ declare function buildBookingPageOutline(selection: SystemEventPageSelection, design: BookingPageDesign, sections: BookingPageSections | null): BookingPageOutline;
446
+ declare function bookingPageFacts(selection: SystemEventPageSelection): {
447
+ event: PublicEvent;
448
+ identity: Readonly<{
449
+ title: string;
450
+ ownTitle: string | null;
451
+ ownDescription: string | null;
452
+ }>;
453
+ details: readonly PublicEvent[];
454
+ registration: {
455
+ events: (PublicEventBase & Readonly<{
456
+ bookingScope: 'single_occurrence';
457
+ run?: undefined;
458
+ }>)[];
459
+ occurrenceContext: {
460
+ id: string;
461
+ seriesId: string;
462
+ startsAt: string;
463
+ endsAt: string;
464
+ timeZone: string;
465
+ overrides?: {
466
+ title: string;
467
+ } | undefined;
468
+ };
469
+ subject: null;
470
+ wholeSeriesRunEvents?: undefined;
471
+ } | {
472
+ events: (PublicEventBase & Readonly<{
473
+ bookingScope: 'single_occurrence';
474
+ run?: undefined;
475
+ }>)[];
476
+ occurrenceContext: null;
477
+ subject: {
478
+ kind: 'eventSeries';
479
+ eventSeriesId: string;
480
+ bookingScope: 'single_occurrence';
481
+ eventOfferingId?: undefined;
482
+ catalogueEventSeriesIds?: undefined;
483
+ isWholeSeriesBooking?: undefined;
484
+ };
485
+ wholeSeriesRunEvents?: undefined;
486
+ } | {
487
+ events?: undefined;
488
+ occurrenceContext?: undefined;
489
+ wholeSeriesRunEvents: (PublicEventBase & Readonly<{
490
+ bookingScope: 'whole_series';
491
+ run: PublicWholeSeriesRun;
492
+ }>)[];
493
+ subject: {
494
+ kind: 'eventSeries';
495
+ eventSeriesId: string;
496
+ bookingScope: 'whole_series';
497
+ isWholeSeriesBooking: true;
498
+ eventOfferingId?: undefined;
499
+ catalogueEventSeriesIds?: undefined;
500
+ };
501
+ } | {
502
+ events?: undefined;
503
+ occurrenceContext?: undefined;
504
+ wholeSeriesRunEvents: (PublicEventBase & Readonly<{
505
+ bookingScope: 'whole_series';
506
+ run: PublicWholeSeriesRun;
507
+ }>)[];
508
+ subject: {
509
+ eventSeriesId?: undefined;
510
+ kind: 'eventOffering';
511
+ eventOfferingId: string;
512
+ catalogueEventSeriesIds: string[];
513
+ bookingScope: 'whole_series';
514
+ isWholeSeriesBooking: true;
515
+ };
516
+ };
517
+ };
518
+ type BookingPageFacts = ReturnType<typeof bookingPageFacts>;
519
+ /** A multi-run parent must not imply that one run's facts describe all its dates. */
520
+ declare function bookingDetailEvents(selection: SystemEventPageSelection): readonly PublicEvent[];
521
+ /** Seed the route's admitted facts, never select or fetch its Event a second time. */
522
+ declare function bookingPageSeedData({
523
+ registration,
524
+ details
525
+ }: BookingPageFacts): {
526
+ "booking-registration": {
527
+ events: (PublicEventBase & Readonly<{
528
+ bookingScope: 'single_occurrence';
529
+ run?: undefined;
530
+ }>)[] | undefined;
531
+ } | {
532
+ wholeSeriesRunEvents: (PublicEventBase & Readonly<{
533
+ bookingScope: 'whole_series';
534
+ run: PublicWholeSeriesRun;
535
+ }>)[];
536
+ };
537
+ "booking-details": {
538
+ eventDetailsData: {
539
+ events: readonly PublicEvent[];
540
+ sitePasses: {
541
+ passes: never[];
542
+ };
543
+ siteMemberships: {
544
+ memberships: never[];
545
+ };
546
+ };
547
+ };
548
+ };
549
+ //#endregion
550
+ //#region .cache/declarations/sdk/src/rendering/systemPages/servicePageContent.d.ts
551
+ /** Raw surface fields are admitted once before a booking outline consumes them. */
552
+ type ServicePageContentSource = Readonly<{
553
+ content: Record<string, unknown> | null;
554
+ sections: PageSectionsInput | null;
555
+ mediaAssets: readonly MediaAssetIndexItem[];
556
+ }>;
557
+ type ServicePageContent = Readonly<{
558
+ content: Readonly<{
559
+ summary: string;
560
+ image: Media | null;
561
+ body: RichTextDoc | null;
562
+ }>;
563
+ sections: PageSectionsInput | null;
564
+ mediaAssets: readonly MediaAssetIndexItem[];
565
+ }>;
566
+ declare function parseServicePageContent(source: ServicePageContentSource): ServicePageContent;
567
+ //#endregion
568
+ //#region .cache/declarations/sdk/src/rendering/systemPages/serviceBookingOutline.d.ts
569
+ declare const SERVICE_BOOKING_BLOCK_IDS: {
570
+ readonly hero: 'service-hero';
571
+ readonly details: 'service-details';
572
+ readonly description: 'service-description';
573
+ readonly booking: 'service-booking';
574
+ };
575
+ declare function buildServiceBookingOutline(service: PublicBookingService, design: CodeOwnedPageDesign & Readonly<{
576
+ path: string;
577
+ }>, {
578
+ content,
579
+ sections
580
+ }: ServicePageContent): RenderablePageOutline;
581
+ //#endregion
582
+ export { Layout as A, buildFooterRenderablePageOutline as C, CustomHeaderData as D, CustomFooterData as E, PreparedFooterBlocks as M, UnsupportedOverrideOnlyLayoutChromeError as N, FooterData as O, createPublicBlockContentContractResolver as S, BlockProps as T, bookingHero as _, parseServicePageContent as a, CodeOwnedPageDesign as b, BookingPageSections as c, bookingPageSeedData as d, buildBookingPageOutline as f, bookingDescription as g, plainTextDoc as h, ServicePageContentSource as i, LayoutProps as j, HeaderData as k, bookingDetailEvents as l, bookingPageIdentity as m, buildServiceBookingOutline as n, BOOKING_PAGE_BLOCK_IDS as o, BookingPageIdentity as p, ServicePageContent as r, BookingPageOutline as s, SERVICE_BOOKING_BLOCK_IDS as t, bookingPageFacts as u, bookingPageDesign as v, prefetchFooterBlockData as w, buildCodeOwnedPageBlocks as x, bookingSectionBlocks as y };
@@ -1,6 +1,6 @@
1
- import { Wt as SdkSiteLayoutConfig } from "./request-B20VRWHH.js";
2
- import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-CXj6lp3d.js";
3
- import { c as NodeDefinition } from "./index-0HFgCnGz.js";
1
+ import { Gt as SdkSiteLayoutConfig } from "./request-BjKBCS7t.js";
2
+ import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-DL6GIvTm.js";
3
+ import { c as NodeDefinition } from "./index-DCiSHd-C.js";
4
4
 
5
5
  //#region .cache/declarations/sdk/src/config/types.d.ts
6
6
  /**