@riverbankcms/sdk 0.183.0 → 0.185.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 (236) hide show
  1. package/README.md +34 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
  3. package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
  5. package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
  6. package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
  7. package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
  9. package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
  10. package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
  11. package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
  12. package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
  13. package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
  14. package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
  16. package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
  17. package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  29. package/dist/_dts/sdk/src/index.d.ts +7 -7
  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 +3 -3
  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/portal/index.d.ts +10 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
  54. package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
  55. package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
  56. package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
  57. package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
  58. package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
  61. package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
  62. package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
  63. package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
  66. package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
  67. package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
  68. package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
  69. package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
  70. package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
  72. package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
  73. package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
  74. package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
  75. package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
  76. package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
  77. package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
  78. package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
  79. package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
  80. package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
  81. package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
  82. package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
  83. package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
  84. package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
  85. package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
  86. package/dist/client/bookings.mjs +5 -5
  87. package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
  88. package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
  89. package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
  90. package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
  91. package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
  92. package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
  93. package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
  94. package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
  95. package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
  96. package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
  97. package/dist/client/client.mjs +61 -48
  98. package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
  99. package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
  100. package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
  101. package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
  102. package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
  103. package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
  104. package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
  105. package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
  106. package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
  107. package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
  108. package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
  109. package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
  110. package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
  111. package/dist/client/gifting/client.mjs +8 -8
  112. package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
  113. package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
  114. package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
  115. package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
  116. package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
  117. package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
  118. package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
  119. package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
  120. package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
  121. package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
  122. package/dist/client/portal/client.mjs +999 -81
  123. package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
  124. package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
  125. package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
  126. package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
  127. package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
  128. package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
  129. package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
  130. package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
  131. package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
  132. package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
  133. package/dist/client/rendering/client.mjs +28 -27
  134. package/dist/client/rendering/islands.mjs +1 -1
  135. package/dist/client/rendering.mjs +5 -5
  136. package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
  137. package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
  138. package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
  139. package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
  140. package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
  141. package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
  142. package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
  143. package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
  144. package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
  145. package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
  146. package/dist/client/spam-protection.mjs +1 -1
  147. package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
  148. package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
  149. package/dist/client/src-CXOxpNtj.mjs +3 -0
  150. package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
  151. package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
  152. package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
  153. package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
  154. package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
  155. package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
  156. package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
  157. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
  158. package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
  159. package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
  160. package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
  161. package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
  162. package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
  163. package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
  164. package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
  165. package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
  166. package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
  167. package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
  168. package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
  169. package/dist/preview-next/client/runtime.mjs +3 -3
  170. package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
  171. package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
  172. package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
  173. package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
  174. package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
  175. package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
  176. package/dist/preview-next/container-responsive.css +158 -3
  177. package/dist/preview-next/keepAlive.mjs +1 -1
  178. package/dist/preview-next/middleware.mjs +1 -1
  179. package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
  180. package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
  181. package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
  182. package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
  183. package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
  184. package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
  185. package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
  186. package/dist/server/config-validation.mjs +1 -1
  187. package/dist/server/config.mjs +2 -2
  188. package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
  189. package/dist/server/data/resolveBlockData.mjs +1 -1
  190. package/dist/server/index.mjs +3 -3
  191. package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
  192. package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
  193. package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
  194. package/dist/server/manifest.mjs +2 -2
  195. package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
  196. package/dist/server/navigation.mjs +1 -1
  197. package/dist/server/next.mjs +9 -9
  198. package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
  199. package/dist/server/page-converter.mjs +17 -4
  200. package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
  201. package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
  202. package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
  203. package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
  204. package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
  205. package/dist/server/portal.mjs +3 -3
  206. package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
  207. package/dist/server/prebuild.mjs +1 -1
  208. package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
  209. package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
  210. package/dist/server/rendering/components/pageShared.mjs +1 -1
  211. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  212. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  213. package/dist/server/rendering/server.mjs +4 -4
  214. package/dist/server/rendering.mjs +9 -9
  215. package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
  216. package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
  217. package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
  218. package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
  221. package/dist/server/theme-bridge.mjs +5 -4
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
  224. package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
  225. package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
  226. package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
  227. package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
  228. package/dist/styles/index.css +684 -181
  229. package/package.json +1 -1
  230. package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
  231. package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
  232. package/dist/client/src-DqMbCjI1.mjs +0 -3
  233. package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
  234. package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
  235. package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
  236. package/dist/server/media-gvfIw3z8.mjs +0 -216
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
2
+ import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ import "react";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+ //#region ../blocks/src/system/runtime/shared/components/SiteChoiceGroup.tsx
5
+ /**
6
+ * The options on their own, for a fieldset someone else owns (a booking
7
+ * question's fieldset already holds its legend, help and error).
8
+ */
9
+ function SiteChoiceOptions(props) {
10
+ const size = props.size ?? "pill";
11
+ return /* @__PURE__ */ jsx("div", {
12
+ className: "rb-choice-options",
13
+ "data-choice-size": size,
14
+ children: props.options.map((option) => /* @__PURE__ */ jsxs("label", {
15
+ className: "rb-choice",
16
+ "data-choice-size": size,
17
+ children: [/* @__PURE__ */ jsx(ChoiceInput, {
18
+ option,
19
+ size,
20
+ group: props
21
+ }), size === "row" ? /* @__PURE__ */ jsx(RowBody, { option }) : /* @__PURE__ */ jsx(ChipFace, { option })]
22
+ }, option.value))
23
+ });
24
+ }
25
+ /** A named group of choices: a fieldset whose legend names it, announced as a radio group. */
26
+ function SiteChoiceGroup(props) {
27
+ const { legend, legendHidden, className, disabled, ...options } = props;
28
+ return /* @__PURE__ */ jsxs("fieldset", {
29
+ className: ["rb-choice-group", className].filter(Boolean).join(" "),
30
+ role: "radiogroup",
31
+ "aria-required": props.required || void 0,
32
+ disabled,
33
+ children: [/* @__PURE__ */ jsx("legend", {
34
+ className: legendHidden ? "rb-choice-legend rb-choice-legend--hidden" : "rb-choice-legend",
35
+ children: legend
36
+ }), /* @__PURE__ */ jsx(SiteChoiceOptions, { ...options })]
37
+ });
38
+ }
39
+ function ChoiceInput({ option, size, group }) {
40
+ const controlled = group.value !== void 0;
41
+ const checked = controlled && option.value === group.value;
42
+ const report = group.onChange ? () => group.onChange?.(option.value) : void 0;
43
+ return /* @__PURE__ */ jsx("input", {
44
+ type: "radio",
45
+ className: size === "row" ? "rb-choice-radio form-radio" : "rb-choice-input",
46
+ name: group.name,
47
+ value: option.value,
48
+ required: group.required,
49
+ disabled: group.disabled || option.disabled,
50
+ "aria-invalid": group.invalid || void 0,
51
+ "aria-describedby": group.describedBy,
52
+ ...controlled ? { checked } : { defaultChecked: option.value === group.defaultValue },
53
+ onChange: report,
54
+ onClick: checked ? report : void 0,
55
+ onBlur: group.onBlur
56
+ });
57
+ }
58
+ function ChipFace({ option }) {
59
+ return /* @__PURE__ */ jsxs("span", {
60
+ className: "rb-choice-face",
61
+ children: [/* @__PURE__ */ jsx("span", {
62
+ className: "rb-choice-label",
63
+ children: option.label
64
+ }), (option.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
65
+ className: "rb-choice-detail",
66
+ children: detail
67
+ }, detail))]
68
+ });
69
+ }
70
+ function RowBody({ option }) {
71
+ return /* @__PURE__ */ jsxs("span", {
72
+ className: "rb-choice-body",
73
+ children: [/* @__PURE__ */ jsxs("span", {
74
+ className: "rb-choice-text",
75
+ children: [
76
+ /* @__PURE__ */ jsx("span", {
77
+ className: "rb-choice-label",
78
+ children: option.label
79
+ }),
80
+ (option.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
81
+ className: "rb-choice-detail",
82
+ children: detail
83
+ }, detail)),
84
+ option.disabled && option.disabledReason ? /* @__PURE__ */ jsx("span", {
85
+ className: "rb-choice-reason",
86
+ children: option.disabledReason
87
+ }) : null
88
+ ]
89
+ }), option.aside ? /* @__PURE__ */ jsx("span", {
90
+ className: "rb-choice-aside",
91
+ children: option.aside
92
+ }) : null]
93
+ });
94
+ }
95
+ //#endregion
96
+ export { SiteChoiceOptions as n, SiteChoiceGroup as t };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as assertNever } from "./src-Do_s2lqH.mjs";
3
- import { i as BlockApiError, n as useBlockApi } from "./context-D1L0pe__.mjs";
4
- import { t as CheckboxChoice } from "./CheckboxChoice-BdGxZWeg.mjs";
2
+ import { t as assertNever } from "./src-CJf3u16T.mjs";
3
+ import { i as BlockApiError, n as useBlockApi } from "./context-CG77Keax.mjs";
4
+ import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
5
5
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
7
  import { useCallback, useEffect, useId, useMemo, useReducer } from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { lo as bookingPresentation } from "./wizardSteps-DDvL3iza.mjs";
2
+ import { uo as bookingPresentation } from "./wizardSteps-BbroaNkT.mjs";
3
3
  import "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
3
- import { Cn as toUtcIsoDateTimeString, nn as formatDate } from "./src-Do_s2lqH.mjs";
4
- import { $s as orderedLiveRunSessions, Bo as eventDateOptions, Di as planWholeSeriesParentBooking, Ei as planOrdinarySeriesSelection, Mi as selectionRepresentativeEvent, Oi as planWholeSeriesParentSelection, Si as getPublicEventCanonicalPath, Ti as planDropInPanel, bi as resolveEventRegistrationScopedEvents, di as closedDateListCopy, ec as resolveWholeSeriesBookingPhase, fi as closedDatesCopy, gi as cutOffDateCopy, hi as closedDateCopy, ji as resolveSelectionBookingClosedDetail, ki as planWholeSeriesRunSelection, lo as bookingPresentation, mi as bookElsewhereDateCopy, pi as closedRunCopy, vi as normalizeEventRegistrationPageSurfaceSubject, wi as isOrdinaryPublicEvent, xi as eventOccurrenceContext, xo as isInBookingCutOffWindow } from "./wizardSteps-DDvL3iza.mjs";
5
- import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
6
- import { r as boxStyleClassNames } from "./boxStyleClassNames-CduDRcIk.mjs";
7
- import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-Bc9DBbVp.mjs";
8
- import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-C_8AxMdm.mjs";
9
- import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-DvPekKeM.mjs";
2
+ import { C as resolveEventRegistrationEventSource, M as cancelledRegistrationCopy, N as cancelledRunsCopy } from "./newsletter-form.interactive-DpcfRbI_.mjs";
3
+ import { Cn as toUtcIsoDateTimeString, nn as formatDate } from "./src-CJf3u16T.mjs";
4
+ import { Ai as planWholeSeriesRunSelection, Ci as getPublicEventCanonicalPath, Co as isInBookingCutOffWindow, Di as planOrdinarySeriesSelection, Ei as planDropInPanel, Ho as eventDateOptions, Mi as resolveSelectionBookingClosedDetail, Ni as selectionRepresentativeEvent, Oi as planWholeSeriesParentBooking, Si as eventOccurrenceContext, Ti as isOrdinaryPublicEvent, _i as cutOffDateCopy, fi as closedDateListCopy, gi as closedDateCopy, hi as bookElsewhereDateCopy, ic as resolveWholeSeriesBookingPhase, ki as planWholeSeriesParentSelection, mi as closedRunCopy, pi as closedDatesCopy, rc as orderedLiveRunSessions, uo as bookingPresentation, xi as resolveEventRegistrationScopedEvents, yi as normalizeEventRegistrationPageSurfaceSubject } from "./wizardSteps-BbroaNkT.mjs";
5
+ import { h as assertNever } from "./bookingCalendar-9nFa_do4.mjs";
6
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-CaSq3-r-.mjs";
7
+ import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
8
+ import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-yA1RJGXD.mjs";
9
+ import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-BWrXAKvs.mjs";
10
10
  import React from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/blocks/events/shared/bookedElsewhere.ts
@@ -162,10 +162,10 @@ function EventBookingPanelBody({ panel }) {
162
162
  className: "event-booking-panel__cancelled",
163
163
  children: [/* @__PURE__ */ jsx("h2", {
164
164
  className: "card-title rb-mb-3",
165
- children: cancelledDateCopy.titleText
165
+ children: panel.copy.titleText
166
166
  }), /* @__PURE__ */ jsx("p", {
167
167
  className: "status-muted rb-text-base rb-leading-relaxed",
168
- children: cancelledDateCopy.bodyText
168
+ children: panel.copy.bodyText
169
169
  })]
170
170
  });
171
171
  case "bookElsewhere": return /* @__PURE__ */ jsx("div", {
@@ -415,9 +415,11 @@ function selectOccurrenceForPanel(events, occurrenceId) {
415
415
  } : null;
416
416
  }
417
417
  function planEventBookingPanel({ selection, subject, pageEvents }, now) {
418
- if (isCancelledDateSelection(selection)) return {
418
+ const cancelled = cancelledDateSelectionCopy(selection);
419
+ if (cancelled) return {
419
420
  kind: "cancelled",
420
- registration: null
421
+ registration: null,
422
+ copy: cancelled
421
423
  };
422
424
  const elsewhere = planBookElsewherePanel(selection, now);
423
425
  if (elsewhere) return elsewhere;
@@ -451,12 +453,22 @@ function planEventBookingPanel({ selection, subject, pageEvents }, now) {
451
453
  registration
452
454
  };
453
455
  }
454
- case "wholeSeriesParentUnavailable": return {
455
- ...nonBookingPanel ?? { kind: "unavailable" },
456
- registration: parentRegistrationTarget(selection, subject)
457
- };
456
+ case "wholeSeriesParentUnavailable": return unavailableParentPanel(selection, parentRegistrationTarget(selection, subject), nonBookingPanel);
458
457
  }
459
458
  }
459
+ /** A course with nothing to book: cancelled when every run is, otherwise why it can't be booked. */
460
+ function unavailableParentPanel(selection, registration, nonBookingPanel) {
461
+ const cancelledRuns = cancelledRunsCopy(selection.admittedRuns.map((run) => run.representative));
462
+ if (cancelledRuns) return {
463
+ kind: "cancelled",
464
+ copy: cancelledRuns,
465
+ registration
466
+ };
467
+ return {
468
+ ...nonBookingPanel ?? { kind: "unavailable" },
469
+ registration
470
+ };
471
+ }
460
472
  /**
461
473
  * A date past its cut-off, however old the page's data is. A list of dates only
462
474
  * closes when every date has: until then the closed ones just leave the list.
@@ -572,8 +584,8 @@ function parentRegistrationTarget(selection, subject) {
572
584
  };
573
585
  }
574
586
  /** Cancelled dates have no new-booking or recovery form, including old direct links. */
575
- function isCancelledDateSelection(selection) {
576
- return selection.kind === "occurrence" && hasCancelledRegistrationDate([selection.event]);
587
+ function cancelledDateSelectionCopy(selection) {
588
+ return selection.kind === "occurrence" ? cancelledRegistrationCopy([selection.event]) : null;
577
589
  }
578
590
  //#endregion
579
591
  //#region ../blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { b as buttonVariantIdSchema, f as isVariantRole, l as asSpecialVariantId, n as BUTTON_LABEL_CLASS, s as DEFAULT_VARIANT_ALIAS_ID, t as BUTTON_LABEL_ATTRIBUTE } from "./buttonParts-CJEtVOUy.mjs";
2
+ import { b as buttonVariantIdSchema, f as isVariantRole, l as asSpecialVariantId, n as BUTTON_LABEL_CLASS, s as DEFAULT_VARIANT_ALIAS_ID, t as BUTTON_LABEL_ATTRIBUTE } from "./buttonParts-C39GC0kz.mjs";
3
3
  import React from "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../theme-core/src/buttons/affordanceSuppression.ts
@@ -420,11 +420,20 @@ const TargetIcon = createIcon("TargetIcon", /* @__PURE__ */ jsxs(Fragment, { chi
420
420
  r: "1"
421
421
  })
422
422
  ] }));
423
+ const TicketIcon = createIcon("TicketIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M4 8.5V6h16v2.5a2.5 2.5 0 0 0 0 5V18H4v-4.5a2.5 2.5 0 0 0 0-5Z" }), /* @__PURE__ */ jsx("path", {
424
+ d: "M14 6v12",
425
+ strokeDasharray: "2 2"
426
+ })] }));
423
427
  const UploadIcon = createIcon("UploadIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
424
428
  /* @__PURE__ */ jsx("path", { d: "M12 21V9" }),
425
429
  /* @__PURE__ */ jsx("path", { d: "m7 14 5-5 5 5" }),
426
430
  /* @__PURE__ */ jsx("path", { d: "M5 3h14" })
427
431
  ] }));
432
+ const UserIcon = createIcon("UserIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
433
+ cx: "12",
434
+ cy: "8",
435
+ r: "3.6"
436
+ }), /* @__PURE__ */ jsx("path", { d: "M5 20c.8-3.6 3.6-5.6 7-5.6s6.2 2 7 5.6" })] }));
428
437
  const UserRoundCheckIcon = createIcon("UserRoundCheckIcon", /* @__PURE__ */ jsxs(Fragment, { children: [
429
438
  /* @__PURE__ */ jsx("circle", {
430
439
  cx: "10",
@@ -1404,4 +1413,4 @@ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disa
1404
1413
  });
1405
1414
  }
1406
1415
  //#endregion
1407
- export { themeButtonSelector as C, parseThemeButtonVariantId as S, FileTextIcon as _, ThemedFileChooser as a, SpinnerNode as b, ArrowDownIcon as c, CirclePlusIcon as d, ClockIcon as f, FileSpreadsheetIcon as g, FileAudioIcon as h, ThemedDownloadLink as i, ChevronDownIcon as l, FileArchiveIcon as m, ThemedButton as n, getIconComponent as o, ExternalLinkIcon as p, ThemedButtonLink as r, isSemanticIconId as s, ThemedAuthoredButton as t, CircleMinusIcon as u, MinusIcon as v, AFFORDANCE_SUPPRESS_CLASS as w, clsx as x, PlusIcon as y };
1416
+ export { themeButtonSelector as A, PlusIcon as C, SpinnerNode as D, UsersIcon as E, clsx as O, MinusIcon as S, UserIcon as T, FileSpreadsheetIcon as _, ThemedFileChooser as a, InfoIcon as b, ArrowDownIcon as c, CircleMinusIcon as d, CirclePlusIcon as f, FileAudioIcon as g, FileArchiveIcon as h, ThemedDownloadLink as i, AFFORDANCE_SUPPRESS_CLASS as j, parseThemeButtonVariantId as k, CalendarIcon as l, ExternalLinkIcon as m, ThemedButton as n, getIconComponent as o, ClockIcon as p, ThemedButtonLink as r, isSemanticIconId as s, ThemedAuthoredButton as t, ChevronDownIcon as u, FileTextIcon as v, TicketIcon as w, MapPinIcon as x, GlobeIcon as y };