@riverbankcms/sdk 0.171.1 → 0.173.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 (220) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
  15. package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  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 +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
  53. package/dist/_dts/{types-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-D4DhWo9j.mjs} +37 -38
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
  81. package/dist/client/bookability-SargNwlO.mjs +17 -0
  82. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
  83. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  86. package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
  87. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  88. package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
  89. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  90. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
  91. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  93. package/dist/client/client.mjs +183 -4
  94. package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
  95. package/dist/client/course-CmOuoZHN.mjs +237 -0
  96. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  98. package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
  99. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
  100. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  101. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
  102. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  103. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  104. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  105. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  106. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  107. package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
  108. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
  109. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
  110. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  111. package/dist/client/gifting/client.mjs +3 -3
  112. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  113. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
  115. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  116. package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
  117. package/dist/client/portal/client.mjs +231 -117
  118. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  119. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  120. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  121. package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
  122. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  123. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
  124. package/dist/client/rendering/client.mjs +27 -27
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +38 -63
  127. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  129. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  130. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  131. package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
  132. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
  133. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  134. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  135. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
  136. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
  137. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  140. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
  141. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  142. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  143. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  144. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  145. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
  146. package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
  147. package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
  148. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  149. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  151. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
  152. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
  153. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
  154. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  155. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  156. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
  158. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
  159. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  160. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  161. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
  162. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  163. package/dist/preview-next/client/runtime.mjs +5 -4
  164. package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
  165. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
  167. package/dist/preview-next/container-responsive.css +215 -4
  168. package/dist/preview-next/keepAlive.mjs +1 -1
  169. package/dist/preview-next/middleware.mjs +1 -1
  170. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
  171. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  172. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  173. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  174. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
  175. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  176. package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
  177. package/dist/server/config-template-validation.mjs +3 -0
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +3 -3
  180. package/dist/server/data/resolveBlockData.mjs +1 -1
  181. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  182. package/dist/server/index.mjs +4 -4
  183. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
  184. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
  185. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  186. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  187. package/dist/server/navigation.mjs +1 -1
  188. package/dist/server/next.mjs +6 -6
  189. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  190. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +1 -1
  192. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
  193. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
  194. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
  195. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
  196. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  197. package/dist/server/prebuild.mjs +1 -1
  198. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  199. package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
  200. package/dist/server/rendering/components/pageShared.mjs +1 -1
  201. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  202. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  203. package/dist/server/rendering/server.mjs +3 -3
  204. package/dist/server/rendering.mjs +8 -8
  205. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
  206. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  207. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  208. package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
  209. package/dist/server/server.mjs +3 -3
  210. package/dist/server/theme-bridge.mjs +2 -2
  211. package/dist/server/theme.mjs +2 -2
  212. package/dist/server/{validation-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
  213. package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
  214. package/dist/styles/index.css +1434 -15
  215. package/package.json +1 -1
  216. package/dist/client/cta-CP9l112u.mjs +0 -121
  217. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  218. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  219. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
  220. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -668,6 +668,7 @@ z.object({
668
668
  startsAt: z.iso.datetime({ offset: true }),
669
669
  endsAt: z.iso.datetime({ offset: true }),
670
670
  reason: z.string().nullable(),
671
+ deferredAppointmentIds: z.array(z.string().uuid()).max(200).optional(),
671
672
  selections: z.array(z.object({
672
673
  arrangementId: z.string().uuid(),
673
674
  appointmentId: z.string().uuid(),
@@ -1043,6 +1044,39 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1043
1044
  "server:internal_error"
1044
1045
  ]
1045
1046
  },
1047
+ resolveTeamMemberProfileEditorOwner: {
1048
+ path: "/sites/{siteId}/bookings/profile-editor/{entryId}/owner",
1049
+ method: "GET",
1050
+ auth: "user",
1051
+ responseKind: "json",
1052
+ errors: [
1053
+ "auth:forbidden",
1054
+ "resource:not_found",
1055
+ "server:internal_error"
1056
+ ]
1057
+ },
1058
+ getTeamMemberProfileContent: {
1059
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}",
1060
+ method: "GET",
1061
+ auth: "user",
1062
+ responseKind: "json",
1063
+ errors: [
1064
+ "auth:forbidden",
1065
+ "resource:not_found",
1066
+ "server:internal_error"
1067
+ ]
1068
+ },
1069
+ listTeamMemberProfileContentSlots: {
1070
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/slots",
1071
+ method: "GET",
1072
+ auth: "user",
1073
+ responseKind: "json",
1074
+ errors: [
1075
+ "auth:forbidden",
1076
+ "resource:not_found",
1077
+ "server:internal_error"
1078
+ ]
1079
+ },
1046
1080
  updateTeamMemberProfilePolicy: {
1047
1081
  path: "/sites/{siteId}/bookings/resources/profile-policy",
1048
1082
  method: "PUT",
@@ -1634,6 +1668,54 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
1634
1668
  "server:internal_error"
1635
1669
  ]
1636
1670
  },
1671
+ listEventOfferingCombinationPrices: {
1672
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
1673
+ method: "GET",
1674
+ auth: "user",
1675
+ responseKind: "json",
1676
+ errors: [
1677
+ "validation:invalid_input",
1678
+ "auth:forbidden",
1679
+ "resource:not_found",
1680
+ "server:internal_error"
1681
+ ]
1682
+ },
1683
+ createEventOfferingCombinationPrice: {
1684
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
1685
+ method: "POST",
1686
+ auth: "user",
1687
+ responseKind: "json",
1688
+ errors: [
1689
+ "validation:invalid_input",
1690
+ "auth:forbidden",
1691
+ "resource:not_found",
1692
+ "server:internal_error"
1693
+ ]
1694
+ },
1695
+ updateEventOfferingCombinationPrice: {
1696
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}",
1697
+ method: "PUT",
1698
+ auth: "user",
1699
+ responseKind: "json",
1700
+ errors: [
1701
+ "validation:invalid_input",
1702
+ "auth:forbidden",
1703
+ "resource:not_found",
1704
+ "server:internal_error"
1705
+ ]
1706
+ },
1707
+ deleteEventOfferingCombinationPrice: {
1708
+ path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices/{combinationPriceId}",
1709
+ method: "DELETE",
1710
+ auth: "user",
1711
+ responseKind: "json",
1712
+ errors: [
1713
+ "validation:invalid_input",
1714
+ "auth:forbidden",
1715
+ "resource:not_found",
1716
+ "server:internal_error"
1717
+ ]
1718
+ },
1637
1719
  deleteEventOffering: {
1638
1720
  path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
1639
1721
  method: "DELETE",
@@ -2814,6 +2896,18 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2814
2896
  "server:internal_error"
2815
2897
  ]
2816
2898
  },
2899
+ previewWholeSeriesRunCancellation: {
2900
+ path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
2901
+ method: "GET",
2902
+ tags: ["site-{siteId}", "event-series-{siteId}"],
2903
+ auth: "user",
2904
+ responseKind: "json",
2905
+ errors: [
2906
+ "auth:forbidden",
2907
+ "resource:not_found",
2908
+ "server:internal_error"
2909
+ ]
2910
+ },
2817
2911
  cancelWholeSeriesRun: {
2818
2912
  path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation",
2819
2913
  method: "POST",
@@ -3339,6 +3433,20 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3339
3433
  responseKind: "json",
3340
3434
  errors: []
3341
3435
  },
3436
+ previewPlanChange: {
3437
+ path: "/billing/plan/preview",
3438
+ method: "POST",
3439
+ tags: ["billing"],
3440
+ auth: "user",
3441
+ responseKind: "json",
3442
+ errors: [
3443
+ "validation:invalid_input",
3444
+ "auth:unauthenticated",
3445
+ "resource:conflict",
3446
+ "server:internal_error",
3447
+ "external:service_error"
3448
+ ]
3449
+ },
3342
3450
  changePlan: {
3343
3451
  path: "/billing/plan/change",
3344
3452
  method: "POST",
@@ -7780,6 +7888,70 @@ const API_ENDPOINTS = {
7780
7888
  "server:internal_error"
7781
7889
  ]
7782
7890
  },
7891
+ endCustomerMembershipNow: {
7892
+ path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/end",
7893
+ method: "POST",
7894
+ tags: [
7895
+ "site-{siteId}",
7896
+ "bookings",
7897
+ "customer-membership-{customerMembershipId}"
7898
+ ],
7899
+ auth: "user",
7900
+ responseKind: "json",
7901
+ errors: [
7902
+ "validation:invalid_input",
7903
+ "resource:not_found",
7904
+ "server:internal_error"
7905
+ ]
7906
+ },
7907
+ resumeCustomerMembership: {
7908
+ path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/resume",
7909
+ method: "POST",
7910
+ tags: [
7911
+ "site-{siteId}",
7912
+ "bookings",
7913
+ "customer-membership-{customerMembershipId}"
7914
+ ],
7915
+ auth: "user",
7916
+ responseKind: "json",
7917
+ errors: [
7918
+ "validation:invalid_input",
7919
+ "resource:not_found",
7920
+ "server:internal_error"
7921
+ ]
7922
+ },
7923
+ finishCustomerMembershipChange: {
7924
+ path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/finish",
7925
+ method: "POST",
7926
+ tags: [
7927
+ "site-{siteId}",
7928
+ "bookings",
7929
+ "customer-membership-{customerMembershipId}"
7930
+ ],
7931
+ auth: "user",
7932
+ responseKind: "json",
7933
+ errors: [
7934
+ "validation:invalid_input",
7935
+ "resource:not_found",
7936
+ "server:internal_error"
7937
+ ]
7938
+ },
7939
+ correctCustomerMembershipDates: {
7940
+ path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}",
7941
+ method: "PATCH",
7942
+ tags: [
7943
+ "site-{siteId}",
7944
+ "bookings",
7945
+ "customer-membership-{customerMembershipId}"
7946
+ ],
7947
+ auth: "user",
7948
+ responseKind: "json",
7949
+ errors: [
7950
+ "validation:invalid_input",
7951
+ "resource:not_found",
7952
+ "server:internal_error"
7953
+ ]
7954
+ },
7783
7955
  refundCustomerMembershipPayment: {
7784
7956
  path: "/sites/{siteId}/bookings/customer-memberships/{customerMembershipId}/refund",
7785
7957
  method: "POST",
@@ -9199,6 +9371,13 @@ const API_ENDPOINTS = {
9199
9371
  auth: "public",
9200
9372
  responseKind: "json"
9201
9373
  },
9374
+ portalResumeMembership: {
9375
+ path: "/portal/memberships/{customerMembershipId}/resume",
9376
+ method: "POST",
9377
+ auth: "public",
9378
+ responseKind: "json",
9379
+ errors: []
9380
+ },
9202
9381
  portalSendMagicLink: {
9203
9382
  path: "/portal/auth/send-magic-link",
9204
9383
  method: "POST",
@@ -1,9 +1,9 @@
1
- import { Hn as siteFooterManifest, Qn as resolveDateRuntimeContext, Un as siteHeaderManifest, Zn as readRuntimeNow, ct as buildResolveImageUrlContext, gs as toUtcIsoDateTimeString, t as getBlockDefinition, ut as setContextResolveImageUrlContext } from "./registry-CaeRTf4E.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-H_bSBPLd.mjs";
3
- import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-C7Be9suN.mjs";
4
- import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-DAwbICEL.mjs";
1
+ import { Hs as toUtcIsoDateTimeString, Nn as readRuntimeNow, Pn as resolveDateRuntimeContext, Tn as siteHeaderManifest, lt as setContextResolveImageUrlContext, st as buildResolveImageUrlContext, t as getBlockDefinition, wn as siteFooterManifest } from "./registry-BMCfcev6.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-Bhx8bVe1.mjs";
3
+ import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-DWspU5EZ.mjs";
4
+ import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-iC_hXjJI.mjs";
5
5
  import { n as resolveSdkFooterMode, t as resolveFooterRenderPlan } from "./mode-bkFS8glh.mjs";
6
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-CbRsnhta.mjs";
6
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-Db3stNpp.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
- import { $ as SURFACE_INK_CSS_VARS, Et as parseThemeColorToken, Q as SURFACE_FOREGROUND_CSS_VARS, Tt as parseColorTokenParts, Z as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValueWithOpacity, ft as rgbColorValue, it as surfaceForegroundValue, ot as surfaceInkDeclarations, ut as cssVarValue } from "./resolveButtonColourStates-euZnRMIu.mjs";
2
- import { F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, I as safeTokenOr, L as surfaceInkPublication, R as solveSurfaceInks, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex } from "./accessibleSurfaces-BxsHs-jf.mjs";
1
+ import { $ as SURFACE_FOREGROUND_CSS_VARS, Dt as parseThemeColorToken, Et as parseColorTokenParts, Q as DEFAULT_SURFACE_TEXT_COLOR, at as surfaceForegroundValue, dt as cssVarValue, et as SURFACE_INK_CSS_VARS, ot as surfaceForegroundValueWithOpacity, pt as rgbColorValue, st as surfaceInkDeclarations } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
2
+ import { F as resolveSurfaceForeground, G as resolveOpaqueSurfaceHex, I as safeTokenOr, L as surfaceInkPublication, R as solveSurfaceInks, g as actionVariableFallback, o as resolveSurface, r as prepareSurfaceIndex } from "./accessibleSurfaces-Dbd2__Le.mjs";
3
3
  import { r as customCssRuleSchema, t as blockCustomCssRuleSchema } from "./customCss-QymcmOZ-.mjs";
4
- import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-QiUjZmEV.mjs";
4
+ import { n as opaqueSurfaceDeclarations } from "./opaqueSurface-COEKXVwk.mjs";
5
5
  import "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../theme-core/src/cards/decorations.ts
@@ -1102,7 +1102,8 @@ ${root} :where(h1.heading-display) {
1102
1102
  font-size: var(--fs-h1-display-fluid, var(--fs-h1-display, calc(var(--fs-h1) * 1.5)));
1103
1103
  }
1104
1104
 
1105
- ${root} :where(h2.heading-display) {
1105
+ ${root} :where(h2.heading-display),
1106
+ ${root} :where(h1.rb-heading-level-2.heading-display) {
1106
1107
  font-size: var(--fs-h2-display-fluid, var(--fs-h2-display, calc(var(--fs-h2) * 1.35)));
1107
1108
  }`;
1108
1109
  }
@@ -1116,7 +1117,8 @@ ${root} :where(h1.heading-compact) {
1116
1117
  font-size: calc(var(--fs-h1) * 0.75);
1117
1118
  }
1118
1119
 
1119
- ${root} :where(h2.heading-compact) {
1120
+ ${root} :where(h2.heading-compact),
1121
+ ${root} :where(h1.rb-heading-level-2.heading-compact) {
1120
1122
  font-size: calc(var(--fs-h2) * 0.8);
1121
1123
  }
1122
1124
 
@@ -1143,15 +1145,18 @@ ${root} :where(p, li, td, th, label, span) {
1143
1145
  }`;
1144
1146
  }
1145
1147
  function headingLevelsCss(root) {
1146
- return `/* Heading level styles with fluid typography */\n${[
1148
+ return `/* Heading level styles with fluid typography */\n${[...[
1147
1149
  1,
1148
1150
  2,
1149
1151
  3,
1150
1152
  4,
1151
1153
  5,
1152
1154
  6
1153
- ].map((level) => {
1154
- return `${root} :where(h${level}) {
1155
+ ].map((level) => headingLevelCss(root, level, `h${level}`)), headingLevelCss(root, 2, "h1.rb-heading-level-2")].join("\n\n")}`;
1156
+ }
1157
+ /** The semantic tag and visual heading role can differ for a promoted page title. */
1158
+ function headingLevelCss(root, level, selector) {
1159
+ return `${root} :where(${selector}) {
1155
1160
  font-size: var(--fs-h${level}-fluid, ${level < 4 ? `var(--fs-h${level})` : `var(--fs-h${level}, ${level === 4 ? "var(--fs-h3)" : "var(--fs-body)"})`});
1156
1161
  font-weight: var(--fw-h${level}, var(--font-weight-heading));
1157
1162
  font-style: var(--fi-h${level}, var(--fi-heading, normal));
@@ -1159,7 +1164,6 @@ function headingLevelsCss(root) {
1159
1164
  line-height: var(--lh-h${level}, var(--lh-heading));
1160
1165
  color: ${surfaceForegroundValue("heading", globalHeadingColorFallback(level))};
1161
1166
  }`;
1162
- }).join("\n\n")}`;
1163
1167
  }
1164
1168
  /** Optional width rules leave the historical CSS bytes unchanged. */
1165
1169
  function generateFontWidthCss(root, typography) {
@@ -1193,6 +1197,7 @@ function generateFontWidthCss(root, typography) {
1193
1197
  "h5",
1194
1198
  "h6"
1195
1199
  ].map((level) => rule(`${root} :where(${level})`, typography.headings[level]?.width)),
1200
+ rule(`${root} :where(h1.rb-heading-level-2)`, typography.headings.h2?.width ?? headingWidth),
1196
1201
  `${root} :where(h1, h2, h3, h4, h5, h6) :where(span) { font-stretch: inherit; }`,
1197
1202
  rule(`${root} :where(.rb-eyebrow)`, typography.eyebrow ? typography.eyebrow.width ?? 100 : bodyWidth)
1198
1203
  ].filter(Boolean).join("\n");
@@ -1,4 +1,4 @@
1
- import { A as expandPalette, B as relativeLuminance, C as opaqueButtonColourTokenSchema, D as oklabDistance, E as colourFamily, Et as parseThemeColorToken, F as ORDINARY_TEXT_MIN_CONTRAST_RATIO, H as worstContrast, I as assertContrastRatio, J as oklchToOklab, K as oklabToSrgb, L as contrastRatio, M as onColorTokenName, O as deriveSurfaceDecorationColors, P as pickBlackOrWhiteTextColor, R as maxContrastBlackOrWhite, St as paletteColorsFromEntries, T as VARIANT_ROLES, Tt as parseColorTokenParts, U as featuresFromHex, V as solidPaint, W as hexToRgb, Y as rgbToHex, a as BORDER_RADIUS_MAP, b as buttonSystemSchema, bt as normalizePaletteHex, c as ELEVATION_OFFSET, et as completeSurfaceForegrounds, f as STANDARD_BUTTON_SURFACE_POLICY, ft as rgbColorValue, gt as PALETTE_TOKEN_NAMES, k as deriveSurfaceMutedColor, l as FONT_SIZE_MAP, n as compileButtonColourStates, o as BORDER_WIDTH_MAP, t as buttonStateBorder, u as generateShadowValue, vt as hexColorSchema, wt as paletteModeSchema, z as preparePaletteColourIndex } from "./resolveButtonColourStates-euZnRMIu.mjs";
1
+ import { A as deriveSurfaceMutedColor, B as preparePaletteColourIndex, Ct as paletteColorsFromEntries, D as colourFamily, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, F as pickBlackOrWhiteTextColor, G as hexToRgb, H as solidPaint, I as ORDINARY_TEXT_MIN_CONTRAST_RATIO, L as assertContrastRatio, N as onColorTokenName, O as oklabDistance, R as contrastRatio, Tt as paletteModeSchema, U as worstContrast, V as relativeLuminance, W as featuresFromHex, X as rgbToHex, Y as oklchToOklab, _t as PALETTE_TOKEN_NAMES, d as generateShadowValue, j as expandPalette, k as deriveSurfaceDecorationColors, l as ELEVATION_OFFSET, n as compileButtonColourStates, o as BORDER_RADIUS_MAP, p as STANDARD_BUTTON_SURFACE_POLICY, pt as rgbColorValue, q as oklabToSrgb, s as BORDER_WIDTH_MAP, t as buttonStateBorder, tt as completeSurfaceForegrounds, u as FONT_SIZE_MAP, w as opaqueButtonColourTokenSchema, x as buttonSystemSchema, xt as normalizePaletteHex, yt as hexColorSchema, z as maxContrastBlackOrWhite } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
2
2
  import { z } from "zod";
3
3
  //#region ../theme-core/src/palette/colors.ts
4
4
  const PALETTE_VALUE_KEY_PREFIX = "palette-value:v1|";
@@ -911,19 +911,20 @@ function buttonStateAppearanceDeclarations(base, state, tokens, disabled = false
911
911
  ];
912
912
  }
913
913
  /** Surface paint is a context for the recipe, checked by the same colour owner. */
914
- function surfaceButtonSystem(system, primaryToken) {
915
- return primaryToken === void 0 ? system : {
914
+ function surfaceButtonSystem(system, request) {
915
+ return request === void 0 ? system : {
916
916
  ...system,
917
- variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, primaryToken) : variant)
917
+ variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, request) : variant)
918
918
  };
919
919
  }
920
920
  function withoutColourTransitions(effects) {
921
921
  return effects.filter((effect) => effect.effectId !== "background-on-hover" && effect.effectId !== "darken-background" && effect.effectId !== "lighten-background");
922
922
  }
923
- function surfacePrimary(variant, token) {
923
+ function surfacePrimary(variant, request) {
924
924
  const background = {
925
925
  type: "solid",
926
- colorToken: token
926
+ colorToken: request.primary,
927
+ ...request.primaryText ? { foregroundToken: request.primaryText } : {}
927
928
  };
928
929
  return {
929
930
  ...variant,
@@ -1076,7 +1077,7 @@ function resolveSurfaceButtonContext(input) {
1076
1077
  surface: context.surface,
1077
1078
  palette: input.palette,
1078
1079
  colourIndex: input.colourIndex,
1079
- buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primaryToken)
1080
+ buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primary)
1080
1081
  });
1081
1082
  }
1082
1083
  function knownSurfaceButtonContext(input) {
@@ -2049,7 +2050,7 @@ function resolveOwnedSurface(paint, context, measuredBackdrop) {
2049
2050
  const primaryButton = surfaceButtonRequest({
2050
2051
  kind: "paint",
2051
2052
  paint
2052
- }, context)?.primary;
2053
+ }, context);
2053
2054
  if (paint.kind === "solid" && resolved.kind === "known" && resolved.provenance.kind === "measured") return {
2054
2055
  ...decision,
2055
2056
  paint,
@@ -2123,7 +2124,7 @@ function surfaceButtons(paint, link, primaryToken, context, backgroundSamples) {
2123
2124
  colourIndex: context.colourIndex,
2124
2125
  buttonSystem: context.buttonSystem,
2125
2126
  fallbackToken: context.compositeBase,
2126
- primaryToken,
2127
+ primary: primaryToken,
2127
2128
  withoutButtonSystem: "reset"
2128
2129
  });
2129
2130
  }
@@ -2172,7 +2173,7 @@ function resolveSectionSurface(background, context) {
2172
2173
  surface,
2173
2174
  palette: revision.palette,
2174
2175
  buttonSystem: revision.buttonSystem,
2175
- primaryToken: sectionPrimaryButtonToken(background, context),
2176
+ primary: sectionPrimaryButtonToken(background, context),
2176
2177
  fallbackToken: context.compositeBase,
2177
2178
  withoutButtonSystem: "inherit"
2178
2179
  });
@@ -2196,7 +2197,7 @@ function resolveSectionSurface(background, context) {
2196
2197
  }
2197
2198
  function sectionPrimaryButtonToken(background, context) {
2198
2199
  if (background?.type !== "color" || typeof background.color !== "string") return void 0;
2199
- return context.buttonSystem?.surfaceContexts?.[background.color]?.primary;
2200
+ return context.buttonSystem?.surfaceContexts?.[background.color];
2200
2201
  }
2201
2202
  function surfaceDecorationColors(foreground, palette) {
2202
2203
  if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return void 0;
@@ -1,7 +1,7 @@
1
- import { J as resolveRuntimeSection, K as parseStoredVariant, S as systemCustomizeFacetDefinitionsForBlock, t as buildPageRenderPlan } from "./pageRenderPlan-CVCGTj5S.mjs";
2
- import { Fa as resolvePageDesignBoundaryChoice, Fi as plainTextToInlineText, Ga as isDecorativeTransitionIntent, Ha as boundaryOptions, Ja as spaciousBoundaryOption, Ka as noneBoundaryOption, Pa as resolvePageDesignBlockLookChoice, Sa as stripCompiledRuntimeStyleFields, Va as boundaryOptionForTransitionIntent, Wa as boundaryTreatmentForBoundaryOptionId, Wi as isRecord, Ya as transitionIntentForTreatment, _o as toNonEmptyReadonlyArray, aa as getCompatibleBlockAppearancePresets, co as assertNever, eo as parseCanonicalRuntimeBackground, ga as filterLookIdsForPolicy, ha as filterLayoutProfilesForPolicy, ho as sectionBackgroundPaintValues, ia as compileArrangementLookRuntime, kr as resolveDeclaredBlockDesignCapability, la as readStoredMode, lo as defineBlockDesignCapability, ma as deriveSiteStyleBlockPolicy, mo as plainFrame, oa as resolveArrangementLookForBlock, qa as softBoundaryOption, ra as arrangementStyleAvailability, sa as resolveLookForBlock, so as lookModes, sr as formatDate, t as getBlockDefinition, ta as arrangementAppearancePresets, to as resolveSectionBackground, ua as resolveEffectiveArrangement, uo as designIssueSeverityForPolicy, xa as compilePageRuntimeFields, ya as getCuratedSiteStyle } from "./registry-CaeRTf4E.mjs";
3
- import { E as isArrangementMode, F as asPageFlowPresetId, L as makeBoundaryId, P as asLayoutVariantKey } from "./schema-CxBsE9Dv.mjs";
4
- import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-C7Be9suN.mjs";
1
+ import { C as systemCustomizeFacetDefinitionsForBlock, at as resolveRuntimeSection, it as lookFillPartsFromContent, nt as parseStoredVariant, t as buildPageRenderPlan } from "./pageRenderPlan-CytPhrI9.mjs";
2
+ import { Aa as resolveLookForBlock, Ba as filterLookIdsForPolicy, Ca as arrangementAppearancePresets, Da as compileArrangementLookRuntime, Ea as automaticArrangementLook, Ga as compilePageRuntimeFields, Ka as stripCompiledRuntimeStyleFields, Mo as assertNever, Na as readStoredMode, No as defineBlockDesignCapability, Oa as getCompatibleBlockAppearancePresets, Pa as resolveEffectiveArrangement, Po as designIssueSeverityForPolicy, Ra as deriveSiteStyleBlockPolicy, Ro as plainFrame, Ta as arrangementStyleAvailability, Ti as plainTextToInlineText, To as resolveSectionBackground, Ua as getCuratedSiteStyle, Un as formatDate, Vo as toNonEmptyReadonlyArray, _o as softBoundaryOption, ao as resolvePageDesignBoundaryChoice, do as boundaryOptionForTransitionIntent, dr as resolveDeclaredBlockDesignCapability, fa as isRecord, fo as boundaryOptions, go as noneBoundaryOption, ho as isDecorativeTransitionIntent, io as resolvePageDesignBlockLookChoice, jo as lookModes, ka as resolveArrangementLookForBlock, mo as boundaryTreatmentForBoundaryOptionId, t as getBlockDefinition, vo as spaciousBoundaryOption, wo as parseCanonicalRuntimeBackground, yo as transitionIntentForTreatment, za as filterLayoutProfilesForPolicy, zo as sectionBackgroundPaintValues } from "./registry-BMCfcev6.mjs";
3
+ import { E as isArrangementMode, F as asPageFlowPresetId, L as makeBoundaryId, P as asLayoutVariantKey, r as sectionStylesOverrideSchema } from "./schema-D5Vfmqzw.mjs";
4
+ import { h as registeredManifestContentContract, p as admitTransportedRenderableManifestContent } from "./pageRuntimeSupport-DWspU5EZ.mjs";
5
5
  import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
6
6
  import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
7
7
  //#region ../theme-core/src/site-styles/resolver.ts
@@ -623,10 +623,13 @@ function requiresPhoto(option) {
623
623
  const treatment = boundaryTreatmentForBoundaryOptionId(option);
624
624
  return treatment?.kind === "wave-edge" && treatment.echo === true;
625
625
  }
626
- /** A rule claims blocks before later rules count their first occurrence. */
626
+ /**
627
+ * A rule claims blocks on its side before later rules on that side count their first occurrence.
628
+ * Claims are per side, so one style can join into a block and out of it.
629
+ */
627
630
  function matchedRuleBlocks(rule, blocks, claimed) {
628
631
  const matches = blocks.flatMap((block, index) => {
629
- if (claimed.has(index) || rule.position === "opening" && index !== 0) return [];
632
+ if (claimed.has(`${rule.side}:${index}`) || rule.position === "opening" && index !== 0) return [];
630
633
  return (rule.match.kind === "look" ? block.lookId !== null && rule.match.looks.includes(block.lookId) && (!requiresPhoto(rule.join) || block.paint === "photo") : block.paint === "paint" && rule.match.grounds.includes(block.ground)) ? [index] : [];
631
634
  });
632
635
  return rule.occurrence === "first" ? matches.slice(0, 1) : matches;
@@ -636,7 +639,7 @@ function pageRuleOptions(rules, blocks) {
636
639
  const matched = matchedRuleBlocks(rule, blocks, state.claimed);
637
640
  const options = matched.map((index) => rule.side === "after" ? index : index - 1).filter((index) => index >= 0 && index < blocks.length - 1 && !state.options.has(index));
638
641
  return {
639
- claimed: /* @__PURE__ */ new Set([...state.claimed, ...matched]),
642
+ claimed: /* @__PURE__ */ new Set([...state.claimed, ...matched.map((index) => `${rule.side}:${index}`)]),
640
643
  options: new Map([...state.options, ...options.map((index) => [index, rule.join])])
641
644
  };
642
645
  }, {
@@ -763,12 +766,33 @@ function runtimeJoinForEditorBoundary(boundary) {
763
766
  }] : [];
764
767
  }
765
768
  function applyCompiledRuntimeFieldsToContent(content, fields) {
766
- const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, fields) : fields;
769
+ const runtimeFields = fields ? preserveContentOwnedBackgroundFields(content, preserveArrangementSectionSpacing(content, fields)) : fields;
767
770
  return {
768
771
  ...stripCompiledRuntimeStyleFields(content),
769
772
  ...runtimeFields
770
773
  };
771
774
  }
775
+ /**
776
+ * An arrangement Look compiles no section spacing, because its skin owns the
777
+ * padding. The spacing the owner chose still travels with the content so the
778
+ * renderer can hand it to the skin as a hook; the render plan takes it back out
779
+ * before the section's padding class is chosen, so the padding itself is
780
+ * unchanged.
781
+ */
782
+ function preserveArrangementSectionSpacing(content, fields) {
783
+ if (!fields._arrangementLooks || fields._sectionStyles?.spacing != null) return fields;
784
+ const sectionStyles = content._sectionStyles;
785
+ const spacing = typeof sectionStyles === "object" && sectionStyles !== null && "spacing" in sectionStyles ? sectionStyles.spacing : void 0;
786
+ const parsed = sectionStylesOverrideSchema.shape.spacing.safeParse(spacing);
787
+ if (!parsed.success || parsed.data == null) return fields;
788
+ return {
789
+ ...fields,
790
+ _sectionStyles: {
791
+ ...fields._sectionStyles,
792
+ spacing: parsed.data
793
+ }
794
+ };
795
+ }
772
796
  function preserveContentOwnedBackgroundFields(content, fields) {
773
797
  const resolved = resolveSectionBackground(parseCanonicalRuntimeBackground(content), fields._sectionStyles?.background);
774
798
  if (resolved.kind === "look-surface" || resolved.kind === "base") return fields;
@@ -1203,13 +1227,18 @@ function lookOptionsByLayoutForBlock(input) {
1203
1227
  return {
1204
1228
  layoutVariantKey: layout.id,
1205
1229
  availableLooks,
1206
- autoLookId: recommendedLookIdForOptions(input.siteStyle, availableLooks)
1230
+ autoLookId: recommendedLookIdForOptions(input.siteStyle, availableLooks, input.block)
1207
1231
  };
1208
1232
  });
1209
1233
  }
1210
- function recommendedLookIdForOptions(siteStyle, availableLooks) {
1234
+ function recommendedLookIdForOptions(siteStyle, availableLooks, block) {
1211
1235
  if (siteStyle === null) return null;
1212
- return (siteStyle.looks.kind === "recipe" ? siteStyle.looks.recommendedAppearancePresetIds : siteStyle.looks.offers.map((offer) => offer.id)).find((id) => availableLooks.some((look) => look.id === id)) ?? null;
1236
+ if (siteStyle.looks.kind === "offers") return automaticArrangementLook(availableLooks.flatMap((option) => arrangementAppearancePresets.filter((look) => look.id === option.id)), editorContentParts(block))?.id ?? null;
1237
+ return siteStyle.looks.recommendedAppearancePresetIds.find((id) => availableLooks.some((look) => look.id === id)) ?? null;
1238
+ }
1239
+ /** The fill parts the automatic Look weighs; none without content, so catalogue readers keep the style's first offer. */
1240
+ function editorContentParts(block) {
1241
+ return block.content === void 0 ? void 0 : lookFillPartsFromContent(block.content);
1213
1242
  }
1214
1243
  function availableLooksForLayout(looksByLayout, layoutVariantKey) {
1215
1244
  if (!layoutVariantKey) return [];
@@ -1293,7 +1322,7 @@ function buildEditorBlockResult(block, siteStyleId, intent, siteStyle) {
1293
1322
  layoutChoice: layoutResult.choice,
1294
1323
  availableLayouts,
1295
1324
  availableLooksByLayout,
1296
- autoLookId: recommendedLookIdForOptions(siteStyle, availableLooks),
1325
+ autoLookId: recommendedLookIdForOptions(siteStyle, availableLooks, block),
1297
1326
  ...lookState
1298
1327
  },
1299
1328
  issues: compactIssues([
@@ -1303,18 +1332,28 @@ function buildEditorBlockResult(block, siteStyleId, intent, siteStyle) {
1303
1332
  ])
1304
1333
  };
1305
1334
  }
1306
- /** A block can support arrangement Looks without having a recipe Look catalogue. */
1335
+ /**
1336
+ * A block can support arrangement Looks without having a recipe Look catalogue, and an arrangement
1337
+ * style can keep a block on its own layout.
1338
+ */
1307
1339
  function editorLookCapability(block, style) {
1308
1340
  const capability = block.designCapability ?? null;
1309
- const arrangementOnly = getCompatibleBlockAppearancePresets({
1310
- blockKind: block.blockKind,
1311
- allowLayoutConstrainedPresetWithoutProfile: true
1312
- }).length === 0 && arrangementAppearancePresets.some((look) => look.blockKinds.some((kind) => kind === block.blockKind));
1313
- return style?.looks.kind === "recipe" && capability?.kind === "designed" && arrangementOnly ? {
1341
+ if (capability?.kind !== "designed") return capability;
1342
+ return blockHasNoLooksInStyle(block.blockKind, style) ? {
1314
1343
  ...capability,
1315
1344
  looks: "not-applicable"
1316
1345
  } : capability;
1317
1346
  }
1347
+ function blockHasNoLooksInStyle(blockKind, style) {
1348
+ if (style?.looks.kind === "offers") return (style.looks.ownLayoutBlocks ?? []).some((kind) => kind === blockKind);
1349
+ return style?.looks.kind === "recipe" && hasOnlyArrangementLooks(blockKind);
1350
+ }
1351
+ function hasOnlyArrangementLooks(blockKind) {
1352
+ return getCompatibleBlockAppearancePresets({
1353
+ blockKind,
1354
+ allowLayoutConstrainedPresetWithoutProfile: true
1355
+ }).length === 0 && arrangementAppearancePresets.some((look) => look.blockKinds.some((kind) => kind === blockKind));
1356
+ }
1318
1357
  function editorBlockConfigurationIssues(block, availability, layouts) {
1319
1358
  const noLooksIssue = availability.kind === "misconfigured" ? {
1320
1359
  kind: "no-appearance-presets-for-block-kind",
@@ -1378,9 +1417,14 @@ function editorArrangementCapabilities(block, mode, style) {
1378
1417
  "highlight"
1379
1418
  ],
1380
1419
  declaredSurfaces: style?.looks.kind === "offers" ? Object.keys(style.looks.surfaces) : [],
1381
- knobBuffet: block.knobBuffet ?? []
1420
+ knobBuffet: block.knobBuffet ?? [],
1421
+ ...contentPartsCapability(block)
1382
1422
  };
1383
1423
  }
1424
+ function contentPartsCapability(block) {
1425
+ const contentParts = editorContentParts(block);
1426
+ return contentParts === void 0 ? {} : { contentParts };
1427
+ }
1384
1428
  function resolvedLookPreservesPin(resolved) {
1385
1429
  switch (resolved.kind) {
1386
1430
  case "offered":
@@ -1559,6 +1603,51 @@ function joinPresentationBlock(block) {
1559
1603
  };
1560
1604
  }
1561
1605
  //#endregion
1606
+ //#region ../blocks/src/bindings/entryBoundContent.ts
1607
+ /** The manifest owns meaningful emptiness; bindings alone cannot prove it. */
1608
+ function isEntryBoundBlockEmpty(content, bindings, contract) {
1609
+ return contract.contentPresence !== void 0 && entryBoundPaths(bindings, "").length > 0 && contract.contentPresence.every((path) => !hasVisibleValue(readPath(content, path)));
1610
+ }
1611
+ function entryBoundPaths(bindings, prefix) {
1612
+ return Object.entries(bindings).flatMap(([key, spec]) => {
1613
+ const path = prefix ? `${prefix}.${key}` : key;
1614
+ if (typeof spec === "string") return [path];
1615
+ if (isDescriptor(spec)) return spec.source === "literal" ? [] : [path];
1616
+ return isRecord(spec) ? entryBoundPaths(spec, path) : [];
1617
+ });
1618
+ }
1619
+ function isDescriptor(value) {
1620
+ return isRecord(value) && typeof value.source === "string";
1621
+ }
1622
+ function readPath(source, path) {
1623
+ return path.split(".").reduce((current, segment) => isRecord(current) || Array.isArray(current) ? current[segment] : void 0, source);
1624
+ }
1625
+ const STRUCTURAL_RICH_TEXT_NODES = /* @__PURE__ */ new Set([
1626
+ "doc",
1627
+ "paragraph",
1628
+ "heading",
1629
+ "hardBreak",
1630
+ "text",
1631
+ "bulletList",
1632
+ "orderedList",
1633
+ "listItem",
1634
+ "blockquote"
1635
+ ]);
1636
+ function hasVisibleRichTextNode(node) {
1637
+ if (!isRecord(node)) return false;
1638
+ if (typeof node.type === "string" && !STRUCTURAL_RICH_TEXT_NODES.has(node.type)) return true;
1639
+ if (typeof node.text === "string" && node.text.trim() !== "") return true;
1640
+ return Array.isArray(node.content) && node.content.some(hasVisibleRichTextNode);
1641
+ }
1642
+ function hasVisibleValue(value) {
1643
+ if (value === null || value === void 0) return false;
1644
+ if (typeof value === "string") return value.trim() !== "";
1645
+ if (Array.isArray(value)) return value.some(hasVisibleValue);
1646
+ if (isRichTextDoc(value)) return hasVisibleRichTextNode(value);
1647
+ if (isRecord(value)) return typeof value.text === "string" ? value.text.trim() !== "" : Object.keys(value).length > 0;
1648
+ return true;
1649
+ }
1650
+ //#endregion
1562
1651
  //#region ../blocks/src/bindings/index.ts
1563
1652
  /**
1564
1653
  * Resolves a binding map to actual content values.
@@ -1799,4 +1888,4 @@ function normalizeBindingInput(value) {
1799
1888
  return null;
1800
1889
  }
1801
1890
  //#endregion
1802
- export { applyCompiledRuntimeFieldsToContent as a, readHeaderNavFontSizePreference as c, buildPageDesignEditorReadModel as i, resolveRuntimeJoinFacts as n, compileEditorModelRuntime as o, blockDesignInputsForDefinition as r, mergeHeaderNavTypographyPreference as s, applyBindingsToContent as t };
1891
+ export { buildPageDesignEditorReadModel as a, mergeHeaderNavTypographyPreference as c, blockDesignInputsForDefinition as i, readHeaderNavFontSizePreference as l, isEntryBoundBlockEmpty as n, applyCompiledRuntimeFieldsToContent as o, resolveRuntimeJoinFacts as r, compileEditorModelRuntime as s, applyBindingsToContent as t };
@@ -13,6 +13,7 @@ const SYSTEM_BLOCK_KINDS = [
13
13
  "block.intro",
14
14
  "block.columns",
15
15
  "block.collection",
16
+ "block.class-prices",
16
17
  "block.feature-cards",
17
18
  "block.media-text",
18
19
  "block.cta-full",