@riverbankcms/sdk 0.182.0 → 0.183.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 (226) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/README.md +49 -3
  3. package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
  4. package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-CEqZJZEE.d.ts} +7 -7
  5. package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
  6. package/dist/_dts/{client-D6T430bk.d.ts → client-B_B_amKD.d.ts} +2 -1
  7. package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
  8. package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
  9. package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
  10. package/dist/_dts/{index-CEyYMhLJ.d.ts → index-BOpUh8kO.d.ts} +1 -1
  11. package/dist/_dts/{index-DIU-wL1M.d.ts → index-Bizdaxji.d.ts} +2 -2
  12. package/dist/_dts/{index-Cqxis-nv.d.ts → index-BxCmCit0.d.ts} +1 -1
  13. package/dist/_dts/{index-CQrb3Ccc.d.ts → index-CjAkEWAp.d.ts} +4 -4
  14. package/dist/_dts/{index-DqPKdeTk.d.ts → index-iuFrbIjt.d.ts} +1 -1
  15. package/dist/_dts/{index-CciRW_w1.d.ts → index-liuhlOX7.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
  17. package/dist/_dts/{request-DEwxUSw8.d.ts → request-Gn0O1blj.d.ts} +24912 -23733
  18. package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-xzJ3c9Na.d.ts} +1 -1
  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 +7 -7
  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/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 +7 -7
  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/portal/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +91 -2
  55. package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
  56. package/dist/_dts/{types-B3RjeBLV.d.ts → types-BoITy0rA.d.ts} +41 -4
  57. package/dist/_dts/{types-BvUSGQrw.d.ts → types-DBNuMtSk.d.ts} +16 -5
  58. package/dist/_dts/{types-CkRFtBqd.d.ts → types-DHMcuoeQ.d.ts} +7 -7
  59. package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-BIPO-XlE.d.ts} +4 -4
  60. package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
  61. package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
  62. package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
  63. package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
  64. package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +25 -8
  65. package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
  66. package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
  67. package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
  68. package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
  69. package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
  70. package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-Fr2qi2C2.mjs} +29 -14
  71. package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
  72. package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
  73. package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-COuEJzbO.mjs} +6 -6
  74. package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +21 -42
  75. package/dist/client/{Page-sV6BJkXX.mjs → Page-CgbQZP5g.mjs} +2786 -927
  76. package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
  77. package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
  78. package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
  79. package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DyXoI3ob.mjs} +7 -7
  80. package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
  81. package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-wj4Rloo5.mjs} +336 -119
  82. package/dist/client/{accordion-6cuswD_s.mjs → accordion-BVXfjnh-.mjs} +1 -1
  83. package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-DycPGtke.mjs} +191 -71
  84. package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
  85. package/dist/client/bookings.mjs +5 -5
  86. package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
  87. package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
  88. package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DyCLMP8s.mjs} +2 -2
  89. package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
  90. package/dist/client/{cart-BYOe7MCh.mjs → cart-BuEp_cj4.mjs} +3 -3
  91. package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-CAO39uDG.mjs} +1 -1
  92. package/dist/client/{checkout-Dwd7Di77.mjs → checkout-BoxzT64s.mjs} +3 -3
  93. package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
  94. package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
  95. package/dist/client/client.mjs +446 -93
  96. package/dist/client/{constants-DdxFG3Ic.mjs → constants-C_8AxMdm.mjs} +1 -1
  97. package/dist/client/{context-Hi1RuYEM.mjs → context-D1L0pe__.mjs} +2 -2
  98. package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
  100. package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
  101. package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
  102. package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
  103. package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
  104. package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-aTLifOX7.mjs} +4 -4
  105. package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
  106. package/dist/client/{form-DWnlEVSK.mjs → form-Dikmc2AO.mjs} +3 -3
  107. package/dist/client/{form.client-D7zmeqNI.mjs → form.client-zHaQK5I9.mjs} +5 -5
  108. package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-BLl9n8TH.mjs} +3 -3
  109. package/dist/client/gifting/client.mjs +16 -9
  110. package/dist/client/{gifting-Cn0jidP5.mjs → gifting-CufPM38H.mjs} +4 -4
  111. package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--N1GaSY8.mjs} +155 -84
  112. package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
  113. package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
  114. package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-BIaBpmk3.mjs} +2 -2
  115. package/dist/client/{noop-jesvJXEE.mjs → islands-DJDLGQEm.mjs} +14007 -6685
  116. package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
  117. package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +226 -195
  118. package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
  119. package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
  120. package/dist/client/portal/client.mjs +31 -27
  121. package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
  122. package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DTHlWg_F.mjs} +22 -7
  123. package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
  124. package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
  125. package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-DhZAwo60.mjs} +3 -3
  126. package/dist/client/{productList-BuLemmod.mjs → productList-BiVpbZK2.mjs} +3 -3
  127. package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
  128. package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-C3OBRg7x.mjs} +2027 -781
  129. package/dist/client/rendering/client.mjs +29 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +5 -5
  132. package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-ms477Z08.mjs} +2 -2
  133. package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
  135. package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
  136. package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
  137. package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
  138. package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
  139. package/dist/client/{shop-GuMqnDL-.mjs → shop-xt4dQ3HH.mjs} +3 -3
  140. package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
  141. package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-DS8t6749.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
  144. package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-Dy3nNfTG.mjs} +11 -8
  145. package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
  146. package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
  147. package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
  148. package/dist/client/{view-DOyZc-DF.mjs → view-4gnPcpWJ.mjs} +24 -9
  149. package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-DDvL3iza.mjs} +76 -159
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
  151. package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
  153. package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
  154. package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3864 -1943
  155. package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
  156. package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +12 -8
  158. package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
  159. package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-CqH91EwA.mjs} +17988 -6757
  161. package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
  164. package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
  165. package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
  167. package/dist/preview-next/container-responsive.css +320 -0
  168. package/dist/preview-next/editor-chrome.css +23 -2
  169. package/dist/preview-next/keepAlive.mjs +1 -1
  170. package/dist/preview-next/middleware.mjs +1 -1
  171. package/dist/preview-next/{route-contract-BHTBA48n.mjs → route-contract-Ch0X99vE.mjs} +163 -17
  172. package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-B2FmczLO.mjs} +5 -5
  173. package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DtAyv9qA.mjs} +17 -7
  174. package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-BtPqb76u.mjs} +418 -31
  175. package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
  176. package/dist/server/{bindings-DMJH4bvo.mjs → bindings-B_9JuU66.mjs} +7 -7
  177. package/dist/server/{client-DrwlRNAH.mjs → client-DC7cjiSw.mjs} +469 -92
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +2 -2
  180. package/dist/server/{constants-CeMywaiD.mjs → constants-d6nPNJpe.mjs} +22 -6
  181. package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
  182. package/dist/server/data/resolveBlockData.mjs +1 -1
  183. package/dist/server/{expandPalette-ehuW8r2g.mjs → expandPalette-DxPrNOAB.mjs} +182 -90
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-D0prFflT.mjs → loadContent-hb27HYic.mjs} +11 -10
  186. package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-JToD8wDD.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-H0fi4bJk.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
  188. package/dist/server/manifest.mjs +2 -2
  189. package/dist/server/{navigation-wrcuWmgp.mjs → navigation-B2WhGofA.mjs} +1 -1
  190. package/dist/server/navigation.mjs +1 -1
  191. package/dist/server/next.mjs +8 -8
  192. package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
  193. package/dist/server/page-converter.mjs +3 -3
  194. package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +86 -97
  195. package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
  196. package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-m80Xu2pd.mjs} +429 -247
  197. package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
  198. package/dist/server/{portal-pG_uhsI2.mjs → portal-B2wCQno_.mjs} +1 -1
  199. package/dist/server/portal.mjs +2 -2
  200. package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-BWIkFaXq.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
  203. package/dist/server/{registry-Cc88-23f.mjs → registry-KtsOsAzY.mjs} +20113 -9774
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +9 -9
  209. package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
  210. package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
  211. package/dist/server/server.mjs +3 -3
  212. package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-ChEZDRwU.mjs} +37 -14
  213. package/dist/server/theme-bridge.mjs +3 -3
  214. package/dist/server/theme.mjs +2 -2
  215. package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
  216. package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
  217. package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
  218. package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
  219. package/dist/server/{validation-BovmbS8N.mjs → validation-Cvi-1TZZ.mjs} +13 -9
  220. package/dist/server/{version-hws4hgyX.mjs → version-B-icAIV1.mjs} +1 -1
  221. package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
  222. package/dist/styles/index.css +2482 -108
  223. package/package.json +1 -1
  224. package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
  225. package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
  226. package/dist/client/types-BEaKfam_.mjs +0 -778
package/CHANGELOG.md CHANGED
@@ -7,6 +7,85 @@ and then gets the version it went out in.
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ### One deadline per read (#1796; SDK patch)
11
+
12
+ - `resilience.requestTimeoutMs` now bounds the whole read, retries and backoff
13
+ included, rather than each attempt. With the defaults a server read that
14
+ keeps failing ends within 8 s instead of up to about 25 s, and a
15
+ `Retry-After` longer than what's left ends the read with the 429 instead of
16
+ sleeping past the deadline. The deadline is still enforced when a framework
17
+ drops the abort signal, and timeouts are still never retried.
18
+ - New `resilience.beforeFallbackServed` hook, awaited before a stale, durable
19
+ or prebuild fallback is returned, so a framework can shorten how long a page
20
+ built from fallback data is cached.
21
+
22
+ ### Pages with styled sections stay cached (#1796; SDK patch)
23
+
24
+ - The Next client's page-read cache didn't recognise a page sent with surface
25
+ revisions, so any page with styled sections was never stored and was rebuilt
26
+ about every minute. It's now stored with its normal lifetime (an hour, or 30
27
+ minutes for event and service pages), and writes still purge it.
28
+
29
+ ### Breaking: `promotedFields` is gone; use `editing` (#1827)
30
+
31
+ - `promotedFields` has been removed from `SdkCustomBlock`, `BlockFieldExtension`
32
+ and the config schemas. To say which fields sit open at the top of a block's
33
+ settings form, or how its settings are grouped, declare `editing` instead
34
+ (see the next entry). A config that still sends `promotedFields` isn't
35
+ refused, but the key is dropped when the config is parsed, so it does
36
+ nothing. TypeScript configs stop compiling until it's removed.
37
+ - A block or extension without `editing` is laid out by its fields' `ui.intent`
38
+ alone: content fields, and required display or behaviour fields with no
39
+ default, sit with the content; other behaviour fields go in a "What it shows"
40
+ group; everything else goes in "More settings". Nothing is promoted into the
41
+ Look any more.
42
+ - A custom block keeps a section photo when its `editing` places
43
+ `_sectionStyles.background.image`. Promoting that path used to do it; now
44
+ placing it is the only way.
45
+ - Sites that used `promotedFields` should move to `editing` and push their
46
+ config after upgrading.
47
+
48
+ ### Field conditions on what the site has, and on whether a field has a value (#1827; SDK minor)
49
+
50
+ - `ui.visibleWhen` can test a fact about the site: `{ fact: 'catalogue.passes', is: 'some' }`
51
+ or `'none'`, and the same for `catalogue.memberships`. The fact names and
52
+ their values are typed together, so a value a fact can't take doesn't
53
+ compile. If the dashboard couldn't read a fact, a condition on it leaves the
54
+ field showing, inside `allOf` and `anyOf` too.
55
+ - A field condition can ask whether another field has anything in it:
56
+ `{ field: 'sectionActionLabel', hasValue: true }`.
57
+ - A field condition can ask whether a Look shapes the block: `{ look: 'applies' }`
58
+ or `{ look: 'none' }`. Where the dashboard can't tell, the field stays showing.
59
+ - `FieldVisibilityCondition` and `FieldVisibilityPredicate` are now the CMS's
60
+ own condition types rather than a copy. Additive: every existing condition
61
+ still type-checks and means the same.
62
+
63
+ ### `editing` on custom blocks and field extensions (#1827; SDK minor)
64
+
65
+ - A custom block can declare `editing`: which fields sit open at the top of its
66
+ settings form (`content`), its settings as named groups with a hand-written
67
+ summary line each (`settings`), and up to three fields to ask before the block
68
+ is added (`setup`). A field extension on a built-in block can declare
69
+ `editing` too, to say where its appended fields go: with the content, as
70
+ settings of their own, or joining one of the block's groups (`join`).
71
+ - Optional. A block or extension without it is laid out from its fields'
72
+ `ui.intent` (see the `promotedFields` entry above).
73
+ - The dashboard checks declarations when config is pushed, and refuses a push
74
+ whose declaration names a missing field, places a field twice, joins a group
75
+ the block doesn't have, or has a summary that doesn't match its fields. Only
76
+ a site's own declarations can refuse a push: a problem in a built-in block's
77
+ declaration is logged on our side, and an extension can place its own fields
78
+ on a built-in block that hasn't declared yet.
79
+ - The dashboard draws the declaration from the stored custom block manifest:
80
+ content open at the top, then settings in place when there are three or
81
+ fewer, or as rows that each open a view of their group. A site that declares
82
+ needs a config push after upgrading. `setup` is accepted and checked but not
83
+ asked yet.
84
+ - Every block's settings form changes shape with this dashboard release, with
85
+ or without `editing`: the "What it shows", "Text" and "More settings"
86
+ headings go. Fields a block doesn't place are grouped as "What it shows" and
87
+ "More settings" rows. The README and `init-docs` describe the layout.
88
+
10
89
  ### Page sections on SDK templates (#1703 B6; SDK minor)
11
90
 
12
91
  - Expand `system.page-sections` through the same site-renderer compiler used by
package/README.md CHANGED
@@ -188,7 +188,7 @@ const circuitState = client.getCircuitState();
188
188
  | `resilience.enabled` | `true` | Enable resilience features |
189
189
  | `resilience.staleIfError` | `true` | Serve stale data on failure |
190
190
  | `resilience.staleTtlSec` | `300` | Additional stale window after cache TTL |
191
- | `resilience.requestTimeoutMs` | `8000` | Request timeout (5000 in browser) |
191
+ | `resilience.requestTimeoutMs` | `8000` | Deadline for one read, retries and backoff included (5000 in browser) |
192
192
  | `resilience.prebuildDir` | - | Path to prebuild cache (enables fallback) |
193
193
  | `resilience.maxPrebuildAgeSec` | `86400` | Maximum prebuild age (24h) |
194
194
  | `resilience.retry.maxAttempts` | `3` | Total attempts including initial |
@@ -2131,7 +2131,6 @@ export default defineConfig({
2131
2131
  category: 'content',
2132
2132
  icon: 'User',
2133
2133
  tags: ['team', 'about'],
2134
- promotedFields: ['name', 'role'],
2135
2134
  fields: [
2136
2135
  { id: 'name', type: 'text', label: 'Name', required: true, multiline: false },
2137
2136
  { id: 'role', type: 'text', label: 'Role', required: false, multiline: false },
@@ -2143,7 +2142,54 @@ export default defineConfig({
2143
2142
  });
2144
2143
  ```
2145
2144
 
2146
- `promotedFields` is optional. Promoted behaviour/data fields appear in “What it shows”, promoted appearance fields in “Look”, and content fields stay in “Text”. Remaining fields appear in “More settings”; there is no quick-field cap.
2145
+ Until you say otherwise, the block's settings form is laid out from each field's `ui.intent`. To choose what sits at the top of the form and how the settings are grouped, declare `editing` (below).
2146
+
2147
+ #### How the settings form is laid out
2148
+
2149
+ A block's settings form opens with what the block is made of (its heading, its writing, its list of items), followed by its settings. Declare `editing` on the block to say which fields are which:
2150
+
2151
+ ```typescript
2152
+ {
2153
+ id: 'custom.team-member',
2154
+ // ...
2155
+ editing: {
2156
+ content: ['name', 'role', 'bio'],
2157
+ settings: [
2158
+ {
2159
+ id: 'photo',
2160
+ title: 'Photo',
2161
+ fields: ['photo', 'photoShape'],
2162
+ summary: {
2163
+ parts: [
2164
+ { field: 'photo', set: 'photo added', unset: 'no photo' },
2165
+ { field: 'photoShape', options: { round: 'round', square: 'square' } },
2166
+ ],
2167
+ none: 'No photo',
2168
+ },
2169
+ },
2170
+ 'showSocialLinks',
2171
+ ],
2172
+ },
2173
+ }
2174
+ ```
2175
+
2176
+ The example assumes the block also has a `photoShape` select and a `showSocialLinks` switch.
2177
+
2178
+ - **`content`** lists the fields that sit open at the top of the form, in order.
2179
+ - **`settings`** lists the rest, in order. An entry is either a named group (`id`, `title`, `fields` and a `summary`) or a single field path, for a setting that sits beside the groups.
2180
+ - **`summary`** is the line shown on a group's row, saying what's chosen. Each part is tied to one of the group's fields: `on` (a switch that's on), `options` (a phrase for each option of a select, or `null` for an option that says nothing), `text` (something typed, with fixed words round it), `set` / `unset` (something is there, such as a photo or a link), `count` (how many items a list has; `{n}` is the number) and `chosen` (names the picked item where the editor can look it up, and says `fallback` when it can't). The parts are joined with commas, and `none` is the line when no part has anything to say.
2181
+ - **`setup`** takes up to three field paths to ask before the block is added. It's accepted and checked now; the editor starts asking them in a later release.
2182
+ - A path can be nested (`border.enabled`), and a nested field can be placed without its parent.
2183
+
2184
+ When four or more settings are on offer, the groups show as rows, each with its summary line, and a row opens a view of that group's fields. With three or fewer, the settings show in place under the content. Rows sit above the first list (`repeater`) field named in `content`, or after the content when it has no list. A field hidden by a `visibleWhen` condition is left out of the count and out of its group's summary.
2185
+
2186
+ Any field `editing` doesn't name is placed by its `ui.intent`. Content fields join the content, along with any display or behaviour field that's required and has no default, so it's hard to miss. Other behaviour fields go in a “What it shows” group, and everything else goes in “More settings”. A block with no `editing` at all is laid out the same way. It's still worth declaring `editing` for most blocks, because then you choose the groups and write their summary lines.
2187
+
2188
+ If the block should offer a photo behind its section, place `_sectionStyles.background.image` in `editing`, usually in `content`. That's how a custom block says it keeps a section photo; when `editing` doesn't place it, the photo isn't offered.
2189
+
2190
+ A field extension on a built-in block (`blockFieldExtensions`) can declare `editing` too, to place the fields it adds: `content`, `settings`, or `join` to put them in one of the block's existing groups (`{ group: 'card', fields: ['badge'], summary: [...] }`).
2191
+
2192
+ Declarations are checked when you push your config. A push is refused if a declaration names a field that doesn't exist, places a field twice, joins a group the block doesn't have, or has a summary part that doesn't match its field (a select option with no phrase, for example).
2147
2193
 
2148
2194
  A custom block or built-in block extension can also declare `lookField` with the ID of one of its own existing single-select fields. Its options become labelled Look tiles. This remains an ordinary content field on every editing surface, including the dashboard; it does not use built-in Default or pin behaviour.
2149
2195
 
@@ -1,4 +1,4 @@
1
- import { r as MediaAssetIndexItem } from "./index-CEyYMhLJ.js";
1
+ import { r as MediaAssetIndexItem } from "./index-BOpUh8kO.js";
2
2
 
3
3
  //#region .cache/declarations/sdk/src/rendering/islands/BlocksIslandsHydrator.d.ts
4
4
  declare function BlocksIslandsHydrator(props?: {
@@ -1,10 +1,10 @@
1
- import { Ji as UtcIsoDateTimeString, Jn as BrowserReadAuthority, Li as BusinessPersonNoun, M as DateRuntimeContext, Qi as PageSurfaceSubjectWire, Ri as MailingListRuntimeContext, Yn as BlockSiteTerms, Yr as RenderableMediaAsset, b as PrefetchedBlockData, h as ThemeResponsiveMode, ia as BlockInteractionContext, ir as RenderablePageOutline$1, j as LinkResolverContext, ua as DeepReadonly, v as BlockLoaderFailures, xr as PageTemplate, y as BlockLoaderSnapshot, yr as Theme, zi as WeeklyOpeningHours } from "./request-DEwxUSw8.js";
2
- import { It as LinkValue, _ as PageOutline, a as ResolveImageUrlContext, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, xt as SystemBlockShortKind, y as RouteMap, yt as SystemBlockContentByKind } from "./index-CEyYMhLJ.js";
3
- import { t as ThemeRuntime } from "./index-DqPKdeTk.js";
4
- import { d as SdkCustomBlock } from "./types-BvUSGQrw.js";
5
- import { P as SiteBookingOfferingPresetSummary } from "./contracts-B-vtOcr8.js";
6
- import { _ as RiverbankClient } from "./types-B3RjeBLV.js";
7
- import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-VaG_MYbN.js";
1
+ import { Gi as BusinessPersonNoun, In as BrowserReadAuthority, Ki as MailingListRuntimeContext, Kn as RenderablePageOutline$1, Ln as BlockSiteTerms, M as DateRuntimeContext, Mr as PageTemplate, b as PrefetchedBlockData, fa as BlockInteractionContext, gr as Theme, h as ThemeResponsiveMode, j as LinkResolverContext, na as UtcIsoDateTimeString, oa as PageSurfaceSubjectWire, qi as WeeklyOpeningHours, ri as RenderableMediaAsset, v as BlockLoaderFailures, va as DeepReadonly, y as BlockLoaderSnapshot } from "./request-Gn0O1blj.js";
2
+ import { It as LinkValue, _ as PageOutline, a as ResolveImageUrlContext, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, xt as SystemBlockShortKind, y as RouteMap, yt as SystemBlockContentByKind } from "./index-BOpUh8kO.js";
3
+ import { t as ThemeRuntime } from "./index-iuFrbIjt.js";
4
+ import { d as SdkCustomBlock } from "./types-DBNuMtSk.js";
5
+ import { P as SiteBookingOfferingPresetSummary } from "./contracts-FeOnfoa1.js";
6
+ import { _ as RiverbankClient } from "./types-BoITy0rA.js";
7
+ import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-D5duwuqS.js";
8
8
  import { DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderSearchParams } from "./sdk/src/data/types.js";
9
9
  import { RuntimeSdkConfig } from "./sdk/src/rendering/helpers/pageRuntimeSupport.js";
10
10
  import * as React$2 from "react";
@@ -1,5 +1,5 @@
1
- import { Bi as EditLeaseScope, Ci as SiteFooterContent, Ft as BookingOfferingPresetSummary, Jt as SdkSiteLayoutConfig, P as MediaAssetIndexItem, Qi as PageSurfaceSubjectWire, Rt as BlockApiProvider, Vi as EditorBlockVersions, Xt as ThemeSelectionPreviewProps, Yt as ThemeJournalState, _ as EntrySubrouteContextData, f as PreviewPageAdaptationFacts, g as SdkConfigForBlockPicker, h as ThemeResponsiveMode, hr as HeaderLogoContext, ji as SurfaceId, la as ContentTypeSchema, nr as EditorRenderablePageOutline, p as PreviewRenderingOverride, qi as BookingTimeZone, qt as SdkEditorRevision, t as ApiClient, yr as Theme } from "./request-DEwxUSw8.js";
2
- import { t as ThemeRuntime } from "./index-DqPKdeTk.js";
1
+ import { It as BookingOfferingPresetSummary, Ji as EditLeaseScope, P as MediaAssetIndexItem, Wn as EditorRenderablePageOutline, Yi as EditorBlockVersions, _ as EntrySubrouteContextData, _a as ContentTypeSchema, _r as HeaderLogoContext, cr as SdkEditorRevision, dr as ThemeSelectionPreviewProps, f as PreviewPageAdaptationFacts, g as SdkConfigForBlockPicker, gr as Theme, h as ThemeResponsiveMode, ji as SiteFooterContent, lr as SdkSiteLayoutConfig, oa as PageSurfaceSubjectWire, p as PreviewRenderingOverride, t as ApiClient, ta as BookingTimeZone, ur as ThemeJournalState, zi as SurfaceId, zt as BlockApiProvider } from "./request-Gn0O1blj.js";
2
+ import { t as ThemeRuntime } from "./index-iuFrbIjt.js";
3
3
  import { t as PreviewRuntimeSession } from "./auth-contract-CgJ5nMaH.js";
4
4
  import { z as z$1 } from "zod";
5
5
  import React$1, { CSSProperties, ComponentProps, ComponentType, ReactElement, ReactNode } from "react";
@@ -1,4 +1,4 @@
1
- import { $ as EventPaymentState, $i as NonNegativeCents, An as BookingSlotView, At as SelectionRequirementsLayout, Bn as BookingFieldValue, Br as PublicEvent, Bt as BoundBlockApiClient, Cn as BookingFlowFeedback, Ct as RunPricingChoices, Dn as BookingFlowView, Dt as CopyPart, En as BookingFlowStepId, Er as SelectionAttendance, Et as CombinationWorking, F as BookingFormInteractiveIslandProps, Fn as LoadState, Fr as DirectCheckoutCollectionOptionKind, G as RegistrationEntry, Gi as DisplayContext, H as BookingQuestionsModel, Hn as getBookingServiceSlidingScale, Ht as DiscountApplyLine, Ir as EventCheckoutReturnRequest, It as EventSourceRecovery, J as PortalProfile, Ji as UtcIsoDateTimeString, Jn as BrowserReadAuthority, K as PortalAuthState, Ki as ZoneLabel, L as EventRegistrationDirectPaymentOption, Lr as EventRegistrationPaymentSubject, Lt as BookingPageKind, Mn as BookingSubmitOptions, Mt as RegistrationAdmission, Nt as RegistrationTicketContinuation, On as BookingResourceView, Ot as StateUpdate, Pt as TicketSelectionPurpose, Q as EligibilityData, R as EventRegistrationDirectPaymentSelectionState, Ri as MailingListRuntimeContext, Si as EventSelectionFundingPick, Sn as BookingFlowActionResult, St as RegistrationSelectionMode, Tn as BookingFlowStep, Tt as SeveralItemsKind, U as RegistrationFlowState, Un as ProtectedSubmission, Ut as DiscountContext, V as BookingPaymentSelectionViewModel, Vn as BookingQuestionsPaymentSnapshot, Vt as AutoAppliedDiscountPreview, W as DatePageOffer, Wi as BookingConsent, X as ExistingRegistrationLookupState, Y as EligibilityLookupState, Yi as AppointmentBookingReview, Yn as BlockSiteTerms, Z as SelectableEventTicketType, _i as CombinationPricePlan, an as BookingFormConfig$1, at as PaymentSelection, bi as CurrencyCode, bt as BookingSelection, cn as BookingSelectedCollectionOptionKind, ct as RegistrationAttendanceMode, dt as RegistrationStep, ea as PositiveCents, et as EventRegistrationClientProps, fa as BlockButtonRole, fn as BookingPaymentAvailability, ft as RegistrationSubject, gi as RoomOptionChoice, hi as RoomChoice, ht as OccurrenceContext, in as EventTicketLineSummary, it as GuestErrors, jn as BookingSubmitActionResult, jt as RegistrationPresentation, kn as BookingSlotSelection, kt as WaitlistInvitation, ln as BookingFormServiceCategory, lt as RegistrationEvent, mi as EventRegistrationPricingOption, mn as BookingPurchasablePackagesModel, mt as FormData, nt as EventTicketSelectionLine, on as BookingFormData$1, ot as PaymentStatusRecoveryState, pi as BookingQuestionsSubmissionFailure, pn as BookingPaymentChoice, pt as ThemedButtonProps, q as PortalCreditState, qn as BlockApiConfig, rn as EventEmbeddedCheckout, rt as Guest, sn as BookingFormService, st as PaymentStepState, tt as EventRegistrationPaymentMethod, un as BookingFormField$1, ut as RegistrationResult, vi as EventRegistrationErrorAction, vn as BookingAppointmentPackagesModel, wn as BookingFlowStatus, wt as SelectionPaymentSummary, xi as EventSelectionFundingOption, xn as BookingFieldView, xt as RegistrationSelection, yi as PriceReductionSummary, yt as EventRegistrationPageSurfaceSubject, z as EventRegistrationSiteCreditPreview, zn as BookingAdmission, zt as BlockApiClient } from "./request-DEwxUSw8.js";
1
+ import { $ as EligibilityData, $i as DisplayContext, Ai as EventSelectionFundingPick, An as getBookingServiceSlidingScale, At as WaitlistInvitation, Bt as BlockApiClient, Ci as RoomChoice, Cn as LoadState, Ct as RegistrationSelectionMode, Di as PriceReductionSummary, Dt as CombinationWorking, Ei as EventRegistrationErrorAction, En as BookingFieldValue, Et as SeveralItemsKind, F as BookingFormInteractiveIslandProps, Fn as BlockApiConfig, Ft as TicketSelectionPurpose, G as BookingQuestionsModel, Gr as EventRegistrationPaymentSubject, Gt as EventEmbeddedCheckout, H as RegistrationFlowState, Ht as AutoAppliedDiscountPreview, In as BrowserReadAuthority, J as PortalProfile, Jr as PublicEvent, Jt as BookingFormData$1, K as PortalAuthState, Ki as MailingListRuntimeContext, Kt as EventTicketLineSummary, L as EventRegistrationDirectPaymentOption, Ln as BlockSiteTerms, Lt as EventSourceRecovery, Mt as RegistrationPresentation, Nt as RegistrationAdmission, Oi as CurrencyCode, On as BookingAdmission, Ot as CopyPart, Pr as SelectionAttendance, Pt as RegistrationTicketContinuation, Q as BookingFormRebookContext, Qi as BookingConsent, Qt as BookingFormField$1, R as EventRegistrationDirectPaymentSelectionState, Rt as BookingPageKind, Si as EventRegistrationPricingOption, St as RegistrationSelection, Ti as CombinationPricePlan, Tt as SelectionPaymentSummary, U as DatePageOffer, Ur as DirectCheckoutCollectionOptionKind, Ut as DiscountApplyLine, V as BookingPaymentSelectionViewModel, Vt as BoundBlockApiClient, W as RegistrationEntry, Wr as EventCheckoutReturnRequest, Wt as DiscountContext, X as ExistingRegistrationLookupState, Xt as BookingSelectedCollectionOptionKind, Y as EligibilityLookupState, Yt as BookingFormService, Z as SelectableEventTicketType, Zt as BookingFormServiceCategory, _n as BookingSlotSelection, at as GuestErrors, ba as BlockButtonRole, bn as BookingSubmitOptions, bt as EventRegistrationPageSurfaceSubject, ca as PositiveCents, ct as PaymentStepState, dn as BookingFlowFeedback, dt as RegistrationResult, ea as ZoneLabel, en as BookingPaymentAvailability, et as EventPaymentState, fn as BookingFlowStatus, ft as RegistrationStep, gn as BookingResourceView, gt as OccurrenceContext, hn as BookingFlowView, ht as FormData, it as Guest, jn as ProtectedSubmission, jt as SelectionRequirementsLayout, ki as EventSelectionFundingOption, kn as BookingQuestionsPaymentSnapshot, kt as StateUpdate, ln as BookingFieldView, lt as RegistrationAttendanceMode, mn as BookingFlowStepId, mt as ThemedButtonProps, na as UtcIsoDateTimeString, nn as BookingPurchasablePackagesModel, nt as EventRegistrationPaymentMethod, on as BookingAppointmentPackagesModel, ot as PaymentSelection, pn as BookingFlowStep, pt as RegistrationSubject, q as PortalCreditState, qt as BookingFormConfig$1, ra as AppointmentBookingReview, rt as EventTicketSelectionLine, sa as NonNegativeCents, st as PaymentStatusRecoveryState, tn as BookingPaymentChoice, tt as EventRegistrationClientProps, un as BookingFlowActionResult, ut as RegistrationEvent, vn as BookingSlotView, wi as RoomOptionChoice, wt as RunPricingChoices, xi as BookingQuestionsSubmissionFailure, xt as BookingSelection, yn as BookingSubmitActionResult, z as EventRegistrationSiteCreditPreview } from "./request-Gn0O1blj.js";
2
2
  import { z as z$1 } from "zod";
3
3
  import * as React$1 from "react";
4
4
  import React, { ReactNode } from "react";
@@ -155,6 +155,7 @@ type HeadlessBookingFlowOptions = Readonly<{
155
155
  initialServiceId?: string;
156
156
  initialResourceId?: string;
157
157
  initialData?: Partial<BookingFormData$1>;
158
+ rebookContext?: BookingFormRebookContext | null;
158
159
  requiresServiceSelection?: boolean;
159
160
  requiresResourceSelection?: boolean;
160
161
  shouldAutoSelectSingleResource?: boolean;
@@ -1,5 +1,5 @@
1
- import { Gt as NavigationAuthoringLinkInput, Kt as NavigationConfigItemInput } from "./request-DEwxUSw8.js";
2
- import { u as BindingTransformName } from "./index-CEyYMhLJ.js";
1
+ import { Ar as FieldVisibleWhen, or as NavigationAuthoringLinkInput, sr as NavigationConfigItemInput } from "./request-Gn0O1blj.js";
2
+ import { u as BindingTransformName } from "./index-BOpUh8kO.js";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/types/block-kinds.d.ts
5
5
  /**
@@ -29,20 +29,13 @@ type MediaDeliveryOptions = {
29
29
  strategy?: 'default' | 'columnsAuto' | 'imageGalleryVariant';
30
30
  strategyOptions?: Record<string, unknown>;
31
31
  };
32
- type FieldVisibilityPredicate = {
33
- field: string;
34
- equals?: unknown;
35
- notEquals?: unknown;
36
- oneOf?: unknown[];
37
- notIn?: unknown[];
38
- minItems?: number;
39
- maxItems?: number;
40
- };
41
- type FieldVisibilityCondition = FieldVisibilityPredicate | {
42
- allOf: FieldVisibilityCondition[];
43
- } | {
44
- anyOf: FieldVisibilityCondition[];
45
- };
32
+ /**
33
+ * When a field shows: conditions on other fields' values, and on what the
34
+ * site has (`{ fact: 'catalogue.memberships', is: 'some' }`), combined with
35
+ * `allOf` and `anyOf`. A fact the dashboard couldn't read leaves the field
36
+ * showing. The same type the CMS uses, so a condition means the same in both.
37
+ */
38
+ type FieldVisibilityCondition = FieldVisibleWhen;
46
39
  type FieldUi = Partial<{
47
40
  widget: string;
48
41
  preset: 'disclosure';
@@ -1,6 +1,6 @@
1
- import { $t as PublicBookingServicesResponse$1, Br as PublicEvent, Fi as BookingEmbedSettings, Ii as MapDrawing, Li as BusinessPersonNoun, Qt as PublicBookingServiceCatalogueItem$1, Ri as MailingListRuntimeContext, Rr as PublicMapLocationParams, Ui as BusinessAddress, Wt as PublicPassesResponse$1, _r as FooterMode, c as SdkRuntimePageSurfaceSubject$1, d as SiteRuntimeSelectionPayload, ei as Media, en as PublicServiceCategorySummary$1, ia as BlockInteractionContext, l as SiteBookingOfferingPresetSummary$1, mr as ResolvedInternalLinkEntityType, nn as RoutableContentItem$1, qi as BookingTimeZone, r as ApiErrorCode$1, s as SdkRuntimeContentByPathResponse, tn as SiteRuntimeSiteTerms, u as SiteRuntimeIdentity, vr as LogoFacts, zi as WeeklyOpeningHours } from "./request-DEwxUSw8.js";
2
- import { ht as SiteHeaderContent, mt as SiteFooterContent, r as MediaAssetIndexItem } from "./index-CEyYMhLJ.js";
3
- import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-BvUSGQrw.js";
1
+ import { Gi as BusinessPersonNoun, Jr as PublicEvent, Ki as MailingListRuntimeContext, Kr as PublicMapLocationParams, Sr as RoutableContentItem$1, Ui as BookingEmbedSettings, Wi as MapDrawing, Zi as BusinessAddress, ar as PublicPassesResponse$1, br as LogoFacts, c as SdkRuntimePageSurfaceSubject$1, ci as Media, d as SiteRuntimeSelectionPayload, fa as BlockInteractionContext, hr as PublicServiceCategorySummary$1, kr as ResolvedInternalLinkEntityType, l as SiteBookingOfferingPresetSummary$1, mr as PublicBookingServicesResponse$1, pr as PublicBookingServiceCatalogueItem$1, qi as WeeklyOpeningHours, r as ApiErrorCode$1, s as SdkRuntimeContentByPathResponse, ta as BookingTimeZone, u as SiteRuntimeIdentity, xr as SiteRuntimeSiteTerms, yr as FooterMode } from "./request-Gn0O1blj.js";
2
+ import { ht as SiteHeaderContent, mt as SiteFooterContent, r as MediaAssetIndexItem } from "./index-BOpUh8kO.js";
3
+ import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-DBNuMtSk.js";
4
4
 
5
5
  //#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
6
6
  type PublicTeamMemberSummary = {
@@ -1,5 +1,5 @@
1
- import { I as SiteResponse } from "./contracts-B-vtOcr8.js";
2
- import { K as LoadPageResult } from "./Page-B2EAT-bE.js";
1
+ import { I as SiteResponse } from "./contracts-FeOnfoa1.js";
2
+ import { K as LoadPageResult } from "./Page-CEqZJZEE.js";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { $n as EventLayout$1, A as BodyTextContent$1, C as NewsletterSignupContent$1, Ci as SiteFooterContent$1, D as ContactNewsletterContent$1, E as EventDetailsContent$1, Ei as PageRuntimeJoin$1, O as FormBlockContent$1, Qn as DisplayMode$1, S as ClassPricesContent, T as EventCalendarContent$1, Xi as EventOccurrenceContextData, Xn as CalendarTabViews$1, Zi as EventPageSubrouteContext, Zn as ColumnOption$1, _t as ContainerStylesContent$1, aa as BindingTransformName$1, cr as CustomLinkValue$1, dr as InternalLinkValue$1, ei as Media, er as FilterAutoShow$1, fr as LinkValue$1, gr as ContentFrameIntent$1, gt as CardStylesContent$1, k as LocationMapContent$1, lr as EntryLinkValue$1, na as VenueId, oa as RichTextDoc, pr as PageLinkValue$1, ra as Brand, ta as EventCategoryId, tr as WeekStart$1, ur as ExternalLinkValue$1, vt as SectionStylesContent$1, w as ImageGalleryContent$1 } from "./request-DEwxUSw8.js";
1
+ import { A as BodyTextContent$1, Bn as DisplayMode$1, C as NewsletterSignupContent$1, Cr as CustomLinkValue$1, D as ContactNewsletterContent$1, Dr as LinkValue$1, E as EventDetailsContent$1, Er as InternalLinkValue$1, Hn as FilterAutoShow$1, O as FormBlockContent$1, Or as PageLinkValue$1, Pi as PageRuntimeJoin$1, Rn as CalendarTabViews$1, S as ClassPricesContent, T as EventCalendarContent$1, Tr as ExternalLinkValue$1, Un as WeekStart$1, Vn as EventLayout$1, _t as CardStylesContent$1, aa as EventPageSubrouteContext, ci as Media, da as Brand, ia as EventOccurrenceContextData, ji as SiteFooterContent$1, k as LocationMapContent$1, la as EventCategoryId, ma as RichTextDoc, pa as BindingTransformName$1, ua as VenueId, vr as ContentFrameIntent$1, vt as ContainerStylesContent$1, w as ImageGalleryContent$1, wr as EntryLinkValue$1, yt as SectionStylesContent$1, zn as ColumnOption$1 } from "./request-Gn0O1blj.js";
2
2
  import React from "react";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/contracts/content.d.ts
@@ -1,5 +1,5 @@
1
- import { I as SiteResponse, d as NavigationItemRecord, o as EntriesResponse, p as PageResponse } from "./contracts-B-vtOcr8.js";
2
- import { _ as RiverbankClient } from "./types-B3RjeBLV.js";
1
+ import { I as SiteResponse, d as NavigationItemRecord, o as EntriesResponse, p as PageResponse } from "./contracts-FeOnfoa1.js";
2
+ import { _ as RiverbankClient } from "./types-BoITy0rA.js";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/prebuild/types.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-D0vww6rh.js";
1
+ import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-DQejfbXL.js";
2
2
  import React, { ComponentProps, ReactNode } from "react";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/preview-next/client/index.d.ts
@@ -1,7 +1,7 @@
1
- import { ca as TipTapNode, ei as Media, oa as RichTextDoc } from "./request-DEwxUSw8.js";
2
- import { A as ReferenceFieldDefinition, C as GroupFieldDefinition, D as ModalFieldDefinition, E as MediaFieldDefinition, F as TabGroupFieldDefinition, I as TextFieldDefinition, L as TimeFieldDefinition, M as RichTextFieldDefinition, N as SelectFieldDefinition, O as NumberFieldDefinition, P as SlugFieldDefinition, R as UrlFieldDefinition, S as FileFieldDefinition, T as LinkFieldDefinition, _ as ContentTypeSelectFieldDefinition, a as EntryConfig, b as EntryPickerFieldDefinition, f as TemplateBindingMetaPath, g as BooleanFieldDefinition, i as ContentTypeConfig, j as RepeaterFieldDefinition, k as PresetOrCustomFieldDefinition, r as ContentConfig, t as BindingSource, v as DateFieldDefinition, w as InlineTextFieldDefinition, x as FieldDefinition, y as DateTimeFieldDefinition } from "./content-types-wZVWccC6.js";
3
- import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-CEyYMhLJ.js";
4
- import { u as RiverbankSiteConfig } from "./types-BvUSGQrw.js";
1
+ import { ci as Media, ga as TipTapNode, ma as RichTextDoc } from "./request-Gn0O1blj.js";
2
+ import { A as ReferenceFieldDefinition, C as GroupFieldDefinition, D as ModalFieldDefinition, E as MediaFieldDefinition, F as TabGroupFieldDefinition, I as TextFieldDefinition, L as TimeFieldDefinition, M as RichTextFieldDefinition, N as SelectFieldDefinition, O as NumberFieldDefinition, P as SlugFieldDefinition, R as UrlFieldDefinition, S as FileFieldDefinition, T as LinkFieldDefinition, _ as ContentTypeSelectFieldDefinition, a as EntryConfig, b as EntryPickerFieldDefinition, f as TemplateBindingMetaPath, g as BooleanFieldDefinition, i as ContentTypeConfig, j as RepeaterFieldDefinition, k as PresetOrCustomFieldDefinition, r as ContentConfig, t as BindingSource, v as DateFieldDefinition, w as InlineTextFieldDefinition, x as FieldDefinition, y as DateTimeFieldDefinition } from "./content-types-Dhx5Ocvx.js";
3
+ import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-BOpUh8kO.js";
4
+ import { u as RiverbankSiteConfig } from "./types-DBNuMtSk.js";
5
5
  import { z as z$1 } from "zod";
6
6
 
7
7
  //#region .cache/declarations/sdk/src/config/bindings.d.ts
@@ -1,4 +1,4 @@
1
- import { h as ThemeResponsiveMode } from "./request-DEwxUSw8.js";
1
+ import { h as ThemeResponsiveMode } from "./request-Gn0O1blj.js";
2
2
 
3
3
  //#region .cache/declarations/theme-core/src/themeRuntime.d.ts
4
4
  type ThemeRuntime = {
@@ -1,5 +1,5 @@
1
- import { c as FieldError, n as ApiErrorCode, t as ApiError } from "./contracts-B-vtOcr8.js";
2
- import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-B3RjeBLV.js";
1
+ import { c as FieldError, n as ApiErrorCode, t as ApiError } from "./contracts-FeOnfoa1.js";
2
+ import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-BoITy0rA.js";
3
3
 
4
4
  //#region .cache/declarations/sdk/src/client/error.d.ts
5
5
  /**
@@ -1,12 +1,12 @@
1
- import { b as PrefetchedBlockData, s as SdkRuntimeContentByPathResponse, v as BlockLoaderFailures, y as BlockLoaderSnapshot, yr as Theme } from "./request-DEwxUSw8.js";
2
- import { r as MediaAssetIndexItem, y as RouteMap } from "./index-CEyYMhLJ.js";
3
- import { d as SdkCustomBlock } from "./types-BvUSGQrw.js";
4
- import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject } from "./contracts-B-vtOcr8.js";
5
- import { _ as RiverbankClient } from "./types-B3RjeBLV.js";
6
- import { f as ResolvedBlockData } from "./resolveBlockData-VaG_MYbN.js";
1
+ import { b as PrefetchedBlockData, gr as Theme, s as SdkRuntimeContentByPathResponse, v as BlockLoaderFailures, y as BlockLoaderSnapshot } from "./request-Gn0O1blj.js";
2
+ import { r as MediaAssetIndexItem, y as RouteMap } from "./index-BOpUh8kO.js";
3
+ import { d as SdkCustomBlock } from "./types-DBNuMtSk.js";
4
+ import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject } from "./contracts-FeOnfoa1.js";
5
+ import { _ as RiverbankClient } from "./types-BoITy0rA.js";
6
+ import { f as ResolvedBlockData } from "./resolveBlockData-D5duwuqS.js";
7
7
  import { DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderSearchParams } from "./sdk/src/data/types.js";
8
8
  import { RuntimeSdkConfig, SiteBlockRenderContext, SiteRenderSupport } from "./sdk/src/rendering/helpers/pageRuntimeSupport.js";
9
- import { i as PageProps } from "./Page-B2EAT-bE.js";
9
+ import { i as PageProps } from "./Page-CEqZJZEE.js";
10
10
 
11
11
  //#region .cache/declarations/sdk/src/rendering/helpers/loadContent.d.ts
12
12
  /**