@riverbankcms/sdk 0.167.0 → 0.168.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 (224) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Dgb-ptph.d.ts → BlocksIslandsHydrator-CiD_VVGM.d.ts} +1 -1
  2. package/dist/_dts/{Page-Bs3WxFgr.d.ts → Page-Bj6VJRS5.d.ts} +7 -6
  3. package/dist/_dts/{SdkPreviewMode-DtUCsaHY.d.ts → SdkPreviewMode-ChpsnwDX.d.ts} +2 -2
  4. package/dist/_dts/{client-CwsI23pj.d.ts → client-C8mfUxrJ.d.ts} +65 -35
  5. package/dist/_dts/{content-types-CAeP_-cV.d.ts → content-types-_vXZyR4H.d.ts} +2 -2
  6. package/dist/_dts/{contracts-BXHCiF-b.d.ts → contracts-CJFfrVKU.d.ts} +5 -4
  7. package/dist/_dts/{footerPageOutline-Bb2gbppW.d.ts → footerPageOutline-CMegb23G.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-DaBBDx7M.d.ts → generatePageMetadata-D9YdAIMh.d.ts} +2 -2
  9. package/dist/_dts/{index-CS6b1B-c.d.ts → index-BQXaZ7aY.d.ts} +4 -4
  10. package/dist/_dts/{index-5_jf52sZ.d.ts → index-Bpr-wT5k.d.ts} +2 -2
  11. package/dist/_dts/{index-DeHDwMfu.d.ts → index-C7_Rz8EY.d.ts} +3 -3
  12. package/dist/_dts/{index-D7EbliE3.d.ts → index-Cx2BQlHL.d.ts} +3 -3
  13. package/dist/_dts/{index-C20yUyob.d.ts → index-Dgz6yhsy.d.ts} +1 -1
  14. package/dist/_dts/index-Vh8B9FSa.d.ts +14 -0
  15. package/dist/_dts/{index-bDln38Hm.d.ts → index-vR3p9Bu-.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-CTqcL7CS.d.ts → loadContent-dhWSgLeS.d.ts} +7 -7
  17. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +1 -0
  18. package/dist/_dts/{index-ChpjHK0U.d.ts → request-BrYhNV9Z.d.ts} +80718 -47665
  19. package/dist/_dts/{resolveBlockData-C3s9WMPs.d.ts → resolveBlockData-BfSHm8Ms.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-JPwgRxwh.d.ts → resolvePageContent-gZJ4i1wN.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  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 +2 -2
  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/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 -5
  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 +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{types-CwtTcaQP.d.ts → types-BB33-Spd.d.ts} +3 -3
  55. package/dist/_dts/{types-D-WElMCy.d.ts → types-BVFXYtRg.d.ts} +7 -7
  56. package/dist/_dts/{types-BlaCuPLr.d.ts → types-FOsJ-KYb.d.ts} +4 -2
  57. package/dist/_dts/{validation-Y5wD9fGK.d.ts → validation-DckTc6TQ.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DFqkx158.mjs → BlocksIslandsHydrator-DcwEaliO.mjs} +21 -21
  59. package/dist/client/BookingMailingListNote-Dsugoe-n.mjs +946 -0
  60. package/dist/client/BookingQuestionFields-Bhh0cvsl.mjs +359 -0
  61. package/dist/client/{CalendarNavigationChevron-DQwJ7BPx.mjs → CalendarNavigationChevron-CNe3ZjdC.mjs} +7 -7
  62. package/dist/client/{CheckboxChoice-CZ-anOqV.mjs → CheckboxChoice-W_uiRgDK.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DdkY86qI.mjs → DemoBookingPortalAccess-BeiZxEUJ.mjs} +7 -7
  64. package/dist/client/{EventCalendar.client-DAeQPV76.mjs → EventCalendar.client-BL943-tl.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-Bus9R0bj.mjs → EventCombined.client-BFVxECTp.mjs} +8 -8
  66. package/dist/client/{EventEmbeddedCheckoutStep-D_14yqAU.mjs → EventEmbeddedCheckoutStep-Cf-HRHtb.mjs} +1 -1
  67. package/dist/client/{EventItem-DPBLjGwj.mjs → EventItem-BIc4gjiD.mjs} +37 -15
  68. package/dist/client/{EventListWeekNavigation-D6cwU82_.mjs → EventListWeekNavigation-a0QEIEf0.mjs} +1 -1
  69. package/dist/client/{EventListing.client-Bogi_SnJ.mjs → EventListing.client-CEFTC3jH.mjs} +3 -3
  70. package/dist/client/{EventListing.view-CEumpN7i.mjs → EventListing.view-Bt2sBBms.mjs} +34 -16
  71. package/dist/client/{EventRegistrationPayment-CIQw6vNy.mjs → EventRegistrationPayment-D9YBNb_E.mjs} +250 -40
  72. package/dist/client/{LocationMapActions-BVO-qx4q.mjs → LocationMapActions-gqzt5gkW.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-CcGaFawl.mjs → MapDrawingSvg-13JQI7_z.mjs} +1 -1
  74. package/dist/client/{Page-D4_H_u9V.mjs → Page-D_M2Vxz3.mjs} +4471 -1601
  75. package/dist/client/{ProtectedSubmitButton-8DuDw2ag.mjs → ProtectedSubmitButton-C3H26pN9.mjs} +1 -1
  76. package/dist/client/{StepIndicator-Dptantmg.mjs → StepIndicator-CaN8snZ8.mjs} +3 -3
  77. package/dist/client/{TabBarFragment-BxEGsKUx.mjs → TabBarFragment-DkVKtK5a.mjs} +1 -1
  78. package/dist/client/{ThemedButton-8jUc02mZ.mjs → ThemedButton-BdnEwA38.mjs} +2 -5
  79. package/dist/client/accessibleSurfaces-chpD4C2c.mjs +4278 -0
  80. package/dist/client/{accordion--EUHmEGa.mjs → accordion-DE7OG--d.mjs} +1 -1
  81. package/dist/client/{booking-form.client-BCXwOnhc.mjs → booking-form.client-CS1PPjw7.mjs} +842 -374
  82. package/dist/client/{bookingForm-sHHcdism.mjs → bookingForm-DE2CwIU9.mjs} +5 -4
  83. package/dist/client/{src-DjnxOjXG.mjs → bookingQuestionValues-BjcyCru5.mjs} +88 -1
  84. package/dist/client/bookingQuestions-BHq83mzS.mjs +13 -0
  85. package/dist/client/bookings.mjs +18 -13
  86. package/dist/client/{carousel-Cp9xPBFZ.mjs → carousel-DZyUdnFh.mjs} +3 -3
  87. package/dist/client/{carousel.client-BO7sCEpH.mjs → carousel.client-BD4DXMtI.mjs} +62 -16
  88. package/dist/client/{carousel.shared-DBnWEJzo.mjs → carousel.shared-BFQ3kBEw.mjs} +6 -3
  89. package/dist/client/{cart-CCZZC-Lq.mjs → cart-D7HkkNwe.mjs} +3 -3
  90. package/dist/client/{cart.client-B7JfA19I.mjs → cart.client-H4sv2TpD.mjs} +1 -1
  91. package/dist/client/{checkout-CipmYL4A.mjs → checkout-2qVyG-Sh.mjs} +3 -3
  92. package/dist/client/{checkout.client-DraalWdH.mjs → checkout.client-DAjrBZ74.mjs} +1 -1
  93. package/dist/client/client.mjs +240 -63
  94. package/dist/client/{context-Cv3QHjAF.mjs → context-DXmIbXCK.mjs} +297 -3
  95. package/dist/client/{cta-P2vJVTEn.mjs → cta-DP_IBnq3.mjs} +2 -2
  96. package/dist/client/{dateFormatting-D8D47VT4.mjs → dateFormatting-CwrkFZTr.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-CXWZoV-d.mjs → demoPortalMagicLink-DQXK-Fh6.mjs} +1 -1
  98. package/dist/client/{enhanceHeaderSection-BkAro1DJ.mjs → enhanceHeaderSection-DheQj7rg.mjs} +3 -3
  99. package/dist/client/{event-details.client-dLmyuPap.mjs → event-details.client-C5UufcRp.mjs} +1 -1
  100. package/dist/client/{event-registration.client-BEhC2_-Y.mjs → event-registration.client-CMGg63IU.mjs} +72 -235
  101. package/dist/client/{eventCalendar-FBMS2Cpb.mjs → eventCalendar-DlD0GCEy.mjs} +4 -4
  102. package/dist/client/{eventCombined-BrBhUvGe.mjs → eventCombined-DoSi8p_l.mjs} +4 -4
  103. package/dist/client/{eventDetails-C7WUrbZ2.mjs → eventDetails-DzuQYgmO.mjs} +2 -2
  104. package/dist/client/{eventListing-Bih-BgQM.mjs → eventListing-CkiMjl0g.mjs} +4 -4
  105. package/dist/client/{eventRegistration-DfTlqGbl.mjs → eventRegistration-CjS3Zpjp.mjs} +4 -4
  106. package/dist/client/{form-Bw1uuiUs.mjs → form-DgQqm7T2.mjs} +3 -3
  107. package/dist/client/{form.client-pZ-9gN33.mjs → form.client-BI9Dcsq5.mjs} +5 -5
  108. package/dist/client/{form.parts-PXlu6XQO.mjs → form.parts-DevF0L_A.mjs} +3 -3
  109. package/dist/client/{formatDate-DI3DP48e.mjs → formatDate-DDyURjoe.mjs} +1 -1
  110. package/dist/client/gifting/client.mjs +3 -3
  111. package/dist/client/{headerSection-BpJYUMd6.mjs → headerSection-DYIG6Pwb.mjs} +2 -2
  112. package/dist/client/{mediaAssets-DpPauppt.mjs → mediaAssets-B99AP7ai.mjs} +1 -1
  113. package/dist/client/{mediaContext-BLo4NtjP.mjs → mediaContext-Fusweriw.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-CSoP0cGR.mjs → newsletter-form.client-BWp7Y1e1.mjs} +6 -6
  115. package/dist/client/{newsletter-form.parts-DDbX_Sj0.mjs → newsletter-form.parts-Dg8s9NwJ.mjs} +2 -2
  116. package/dist/client/{newsletterForm-vCxYRar_.mjs → newsletterForm-DnPraMzx.mjs} +3 -3
  117. package/dist/client/{noop-ByVtIWf4.mjs → noop-ByFRHYQ2.mjs} +437 -496
  118. package/dist/client/portal/client.mjs +76 -229
  119. package/dist/client/{product-detail.client-7Pi6avM-.mjs → product-detail.client-BFAgHrdg.mjs} +1 -1
  120. package/dist/client/{product-list.client-DEad-Pma.mjs → product-list.client-DVrs_DyY.mjs} +1 -1
  121. package/dist/client/{productDetail-G1SMXG13.mjs → productDetail-D4rvl6Xg.mjs} +3 -3
  122. package/dist/client/{productList-B21TGdpT.mjs → productList-B8o5AOMX.mjs} +3 -3
  123. package/dist/client/{propsDecoder-B3vIBkex.mjs → propsDecoder-hhotPP6P.mjs} +5 -4
  124. package/dist/client/{registry.server-B8aQhJpO.mjs → registry.server-Ch3EpupA.mjs} +2213 -2433
  125. package/dist/client/{surfaceTransportMarker-BXepAVF6.mjs → renderableMediaAssetAdmission-BlfqYLJW.mjs} +1 -18
  126. package/dist/client/rendering/client.mjs +30 -30
  127. package/dist/client/rendering/islands.mjs +1 -1
  128. package/dist/client/rendering.mjs +10 -9
  129. package/dist/client/{richText-coerce-DHkBtO0G.mjs → richText-coerce-C3LabQ1O.mjs} +1 -1
  130. package/dist/client/{routeIslandApiConfig-DbHX4JOS.mjs → routeIslandApiConfig-CQGlxId8.mjs} +1 -1
  131. package/dist/client/runtimeResponse-BP-L6exS.mjs +3 -0
  132. package/dist/client/runtimeResponse-Dg4XFsuM.mjs +9 -0
  133. package/dist/client/{shop-commerce-B2UmrQg_.mjs → shop-commerce-VDbVaKY-.mjs} +12 -12
  134. package/dist/client/{shop-commerce-store-B7n-Z7nY.mjs → shop-commerce-store-DqdgJ8Zw.mjs} +1 -1
  135. package/dist/client/{shop-mqyoOvOK.mjs → shop-rRXplPGZ.mjs} +3 -3
  136. package/dist/client/{shop.client-BH-BBnA9.mjs → shop.client-DdwvMvaK.mjs} +13 -13
  137. package/dist/client/{shop.interactive-mdM3UMWG.mjs → shop.interactive-C8OvFY06.mjs} +141 -66
  138. package/dist/client/{shopShared-CXF5wxdg.mjs → shopShared-BeuJiGPU.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/surfaceTransportMarker-BuwkYxsI.mjs +19 -0
  141. package/dist/client/{timetableModel-CrC80EOG.mjs → timetableModel-Cko9LRKy.mjs} +11 -11
  142. package/dist/client/{types-sF-IrGQr.mjs → types-5fOsPIpL.mjs} +248 -111
  143. package/dist/client/{useAvailableSlots-C4LOaI_Z.mjs → useAvailableSlots-M6QIEiWf.mjs} +3 -3
  144. package/dist/client/{useDiscountApply-6Q0nToVA.mjs → useDiscountApply-BJSnyO0f.mjs} +3 -3
  145. package/dist/client/{useDiscountCodeUi-CM-DTX5X.mjs → useDiscountCodeUi-D3XnOSCi.mjs} +1 -1
  146. package/dist/client/{useEventPagination-Bcs89BR5.mjs → useEventPagination-PhTIoFVX.mjs} +7 -7
  147. package/dist/client/{view-BN-fxyfq.mjs → view-448wvvEY.mjs} +11 -7
  148. package/dist/client/{view-Dh2tGoS0.mjs → view-L_mkgtnk.mjs} +4 -4
  149. package/dist/client/{site-styles-D56hT2u1.mjs → wizardSteps-CFulHWnT.mjs} +19660 -18565
  150. package/dist/preview-next/client/{ArrangementLookControls-D4VjPs-r.mjs → ArrangementLookControls-BpvnOGlN.mjs} +26 -17
  151. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-C_h1cMYm.mjs → EventEmbeddedCheckoutStep-8-qtHjpb.mjs} +1 -1
  152. package/dist/preview-next/client/{LocationPickerEnvironment-D56RD3e_.mjs → LocationPickerEnvironment-CZQ4vkRe.mjs} +1 -1
  153. package/dist/preview-next/client/{MapLibreEditMap-DFnyCckr.mjs → MapLibreEditMap-CP4w7T_0.mjs} +2 -2
  154. package/dist/preview-next/client/{PreviewEditorSidebar-Ckr2zk_L.mjs → PreviewEditorSidebar-C0OtdWu_.mjs} +128 -21
  155. package/dist/preview-next/client/{PreviewEditorUI-KOZgw_gS.mjs → PreviewEditorUI-Csc5vH5k.mjs} +6 -6
  156. package/dist/preview-next/client/{PreviewShell-CyO2V4kB.mjs → PreviewShell-BOLH_pm-.mjs} +199 -155
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-DW3uKvNF.mjs → SdkPreviewModeRuntime-CKodLReY.mjs} +31 -32
  158. package/dist/preview-next/client/{SiteChromeCustomizeButton-CU9VD-7O.mjs → SiteChromeCustomizeButton-BeEZpeKn.mjs} +3780 -3436
  159. package/dist/preview-next/client/{ThemedButton-C0dgGJ5k.mjs → ThemedButton-BQU45t-E.mjs} +260 -121
  160. package/dist/preview-next/client/{lucide-react-CPBCf6QT.mjs → lucide-react-DkZ8fO-G.mjs} +1 -1
  161. package/dist/preview-next/client/{previewAssistantSlot-DBi-WybM.mjs → previewAssistantSlot-BBdN5kfY.mjs} +18697 -15557
  162. package/dist/preview-next/client/{previewChromeSurface-BhkUJst9.mjs → previewChromeSurface-VZtGwPuH.mjs} +1 -1
  163. package/dist/preview-next/client/runtime.mjs +3 -3
  164. package/dist/preview-next/client/{sdk-runtime-BjCb6lOn.mjs → sdk-runtime-kiZkMcuR.mjs} +2 -2
  165. package/dist/preview-next/client/{useAutosaveStatus-CKxTaC3j.mjs → useAutosaveStatus-BiIHEeE0.mjs} +2 -2
  166. package/dist/preview-next/client/{useBlockCustomizeControls-B7MLTjBX.mjs → useBlockCustomizeControls-BuFLIpmX.mjs} +2 -2
  167. package/dist/preview-next/client/{useOpenBlockForSetup-BTUc0g9X.mjs → useOpenBlockForSetup-DlxYgmh_.mjs} +1 -1
  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-Bv3nkdpV.mjs → route-contract-C0sCvCYL.mjs} +165 -0
  171. package/dist/server/{Block.shared-4fMqzltx.mjs → Block.shared-Dnhc0Wu5.mjs} +5 -5
  172. package/dist/server/{ThemeScopeCore-C72VC_lR.mjs → ThemeScopeCore-NAQ_zsFu.mjs} +461 -128
  173. package/dist/server/{accessibleSurfaces-B_Y_dA20.mjs → accessibleSurfaces-108nxyGc.mjs} +319 -131
  174. package/dist/server/{bindings-ConMYJ2U.mjs → bindings-DLoZYUxG.mjs} +2 -2
  175. package/dist/server/{client-Cot-H5fQ.mjs → client-Bc8jI8zN.mjs} +261 -61
  176. package/dist/server/config-validation.mjs +1 -1
  177. package/dist/server/config.mjs +1 -1
  178. package/dist/server/{validation-CDd6m8Ry.mjs → customCss-QymcmOZ-.mjs} +12 -55
  179. package/dist/server/data/resolveBlockData.mjs +1 -1
  180. package/dist/server/headerVariant-BwR9NV4b.mjs +463 -0
  181. package/dist/server/{identity-Bn9OQiT1.mjs → identity-20XHqyuO.mjs} +1 -1
  182. package/dist/server/index.mjs +3 -3
  183. package/dist/server/{loadContent-BkaWYEwt.mjs → loadContent-D61gpqHB.mjs} +4 -5
  184. package/dist/server/{loadPage-kviUdH8c.mjs → loadPage-B4ZYpIcd.mjs} +2 -2
  185. package/dist/server/manifest.mjs +1 -1
  186. package/dist/server/{media-DnlczCMA.mjs → media-Brn9FW5s.mjs} +15 -1
  187. package/dist/server/{mode-Cv_TG9gP.mjs → mode-bkFS8glh.mjs} +4 -2
  188. package/dist/server/next.mjs +6 -6
  189. package/dist/server/{opaqueSurface-BTnS09GS.mjs → opaqueSurface-BawlEAd_.mjs} +6 -6
  190. package/dist/server/{overrideResolution-itXZCXs7.mjs → overrideResolution-CDReKy2P.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +3 -3
  192. package/dist/server/{pageRenderPlan-CDyn7iLy.mjs → pageRenderPlan-ByVTA7-4.mjs} +255 -158
  193. package/dist/server/{pageRuntimeSupport-DZ6cLxrM.mjs → pageRuntimeSupport-Dzz_Dze6.mjs} +291 -5
  194. package/dist/server/{pageShared-Q_Vij87H.mjs → pageShared-Dk5Ku6hs.mjs} +1285 -897
  195. package/dist/server/{schema-DEizlyi4.mjs → parseThemeForPersistence-pJPGfMrf.mjs} +593 -1592
  196. package/dist/server/{prebuild-DOG4MkOy.mjs → prebuild-CW4M0WEZ.mjs} +1 -1
  197. package/dist/server/prebuild.mjs +1 -1
  198. package/dist/server/{prefetchBlockData-DlprLLsc.mjs → prefetchBlockData-Bvx0SiIM.mjs} +5 -4
  199. package/dist/server/{registry-BPFcpn6k.mjs → registry-Bh0Y25zH.mjs} +4399 -4065
  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-BHvfGD4y.mjs → resolveBlockData-CnHHst9r.mjs} +1 -1
  206. package/dist/server/{resolveButtonColourStates-OXFRGn5M.mjs → resolveButtonColourStates-Cn6j8Ee0.mjs} +399 -518
  207. package/dist/server/{responseMedia-D8J3VAFs.mjs → responseMedia-t6gs0cB7.mjs} +2 -2
  208. package/dist/server/{richTextSchema-Euhuj-7V.mjs → richTextSchema-DQ2NBP0n.mjs} +5 -16
  209. package/dist/server/server.mjs +3 -3
  210. package/dist/server/theme-bridge.mjs +2 -3
  211. package/dist/server/theme.mjs +1 -2
  212. package/dist/server/{three-pass-converter-_j2UE2tR.mjs → three-pass-converter-CQWdnfjV.mjs} +1 -1
  213. package/dist/server/{validation-bl6WcAi_.mjs → validation-D2bHWSxJ.mjs} +57 -8
  214. package/dist/server/{version-BLXZ31S-.mjs → version-DkM1eAxG.mjs} +1 -1
  215. package/dist/styles/index.css +340 -68
  216. package/package.json +4 -3
  217. package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
  218. package/dist/_dts/index-RugyUnqR.d.ts +0 -31535
  219. package/dist/client/BookingMailingListNote-CCVXX1LN.mjs +0 -331
  220. package/dist/client/DemoPortalSignInLink-B9YrzZt2.mjs +0 -19
  221. package/dist/client/site-styles-CMCUxsIM.mjs +0 -3
  222. package/dist/client/useBookingNowIso-BDmWkYUW.mjs +0 -58
  223. package/dist/client/wizardSteps-DtkhwKXK.mjs +0 -6933
  224. package/dist/server/parseThemeForPersistence-CDrF51tJ.mjs +0 -52
@@ -0,0 +1,359 @@
1
+ "use client";
2
+ import { Jt as toUtcIsoDateTimeString } from "./noop-ByFRHYQ2.mjs";
3
+ import { a as getInitialFieldValue } from "./bookingQuestionValues-BjcyCru5.mjs";
4
+ import { r as BlockApiError } from "./context-DXmIbXCK.mjs";
5
+ import { i as ThemedButtonLink } from "./ThemedButton-BdnEwA38.mjs";
6
+ import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
7
+ import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
8
+ import { useCallback, useEffect, useState } from "react";
9
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
+ //#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
11
+ function DemoPortalSignInLink(props) {
12
+ return /* @__PURE__ */ jsxs("div", { children: [
13
+ /* @__PURE__ */ jsx("h3", { children: "Your sign-in link" }),
14
+ /* @__PURE__ */ jsx("p", { children: "In the demo we don’t send emails, so here’s the link we’d have sent you." }),
15
+ /* @__PURE__ */ jsx(ThemedButtonLink, {
16
+ variant: "default",
17
+ size: "md",
18
+ label: "Sign in to the portal",
19
+ href: props.url
20
+ })
21
+ ] });
22
+ }
23
+ //#endregion
24
+ //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
25
+ const ANCHOR_CLOCK = { kind: "anchor" };
26
+ const MAX_TIMER_DELAY_MS = 2147483647;
27
+ const browserClock = () => toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString());
28
+ /** The effect owns one timer, including long-delay and early-timer retries. */
29
+ function scheduleBookingClockBoundary(boundary, refresh, clock) {
30
+ const timer = {};
31
+ const schedule = () => {
32
+ const delay = Date.parse(boundary) - Date.parse(clock());
33
+ if (!Number.isFinite(delay) || delay <= 0) return;
34
+ timer.current = setTimeout(() => {
35
+ refresh();
36
+ schedule();
37
+ }, Math.min(delay, MAX_TIMER_DELAY_MS));
38
+ };
39
+ schedule();
40
+ return () => {
41
+ if (timer.current !== void 0) clearTimeout(timer.current);
42
+ };
43
+ }
44
+ /**
45
+ * The supplied server clock snapshot for this booking or registration flow.
46
+ *
47
+ * Payment previews take this as their "now" so the pure view-model builders
48
+ * never read the clock themselves. The anchor stays fixed per mount. Lifecycle
49
+ * presentation starts with the same snapshot, then reconciles in effects.
50
+ */
51
+ function useBookingNowIso(snapshot, policy = ANCHOR_CLOCK, clock = browserClock) {
52
+ const [nowIso, setNowIso] = useState(snapshot);
53
+ const refresh = useCallback(() => setNowIso(clock()), [clock]);
54
+ const nextBoundary = policy.kind === "presentation" ? policy.nextBoundary : null;
55
+ useEffect(() => {
56
+ if (policy.kind === "anchor") return;
57
+ refresh();
58
+ const interval = policy.kind === "relative" ? setInterval(refresh, 6e4) : null;
59
+ window.addEventListener("focus", refresh);
60
+ document.addEventListener("visibilitychange", refresh);
61
+ return () => {
62
+ if (interval !== null) clearInterval(interval);
63
+ window.removeEventListener("focus", refresh);
64
+ document.removeEventListener("visibilitychange", refresh);
65
+ };
66
+ }, [policy.kind, refresh]);
67
+ useEffect(() => {
68
+ if (!nextBoundary) return;
69
+ return scheduleBookingClockBoundary(nextBoundary, refresh, clock);
70
+ }, [
71
+ nextBoundary,
72
+ clock,
73
+ refresh
74
+ ]);
75
+ return nowIso;
76
+ }
77
+ //#endregion
78
+ //#region ../blocks/src/system/runtime/shared/parseBookingSubmissionFailure.ts
79
+ /** `fieldPrefix` is where the server puts question field ids: booking flows send them under `bookingQuestions.`, the portal under `answers.`. */
80
+ function parseBookingSubmissionFailure(error, fallbackMessage, fieldPrefix = "bookingQuestions.") {
81
+ const fieldErrors = error instanceof BlockApiError ? error.fieldErrors : [];
82
+ return {
83
+ message: error instanceof Error ? error.message : fallbackMessage,
84
+ answersNeeded: fieldErrors.some(({ field, code }) => field === "bookingQuestions" && code === "validation:required"),
85
+ questionFieldErrors: Object.fromEntries(fieldErrors.flatMap(({ field, message }) => field.startsWith(fieldPrefix) && field.length > fieldPrefix.length ? [[field.slice(fieldPrefix.length), message]] : []))
86
+ };
87
+ }
88
+ //#endregion
89
+ //#region ../blocks/src/system/runtime/shared/components/BookingQuestionFields.tsx
90
+ /**
91
+ * Optional questions say so; required ones carry aria-required instead of an
92
+ * asterisk. The appointment booking form's own fields use it too, so a form
93
+ * never mixes the two conventions.
94
+ */
95
+ function OptionalMark() {
96
+ return /* @__PURE__ */ jsx("span", {
97
+ className: "rb-bq-optional status-muted",
98
+ children: " (optional)"
99
+ });
100
+ }
101
+ function toStringValue(value) {
102
+ return typeof value === "string" || typeof value === "number" ? String(value) : "";
103
+ }
104
+ /** Native scalar controls share value conversion and validation; choices and uploads have their own controls. */
105
+ function ScalarQuestionInput({ field, inputId, value, disabled, control, onChange }) {
106
+ const temporal = field.type === "date" || field.type === "time";
107
+ return /* @__PURE__ */ jsx("input", {
108
+ id: inputId,
109
+ type: field.type,
110
+ className: "form-input",
111
+ value: toStringValue(value),
112
+ placeholder: temporal ? void 0 : field.placeholder,
113
+ min: field.type === "number" ? field.min : void 0,
114
+ max: field.type === "number" ? field.max : void 0,
115
+ disabled,
116
+ ...control,
117
+ onChange: (event) => onChange(event.target.value)
118
+ });
119
+ }
120
+ function TextareaQuestionInput({ field, inputId, value, disabled, control, onChange }) {
121
+ return /* @__PURE__ */ jsx("textarea", {
122
+ id: inputId,
123
+ className: "form-textarea",
124
+ value: toStringValue(value),
125
+ rows: 4,
126
+ placeholder: field.placeholder,
127
+ disabled,
128
+ ...control,
129
+ onChange: (event) => onChange(event.target.value)
130
+ });
131
+ }
132
+ function SelectQuestionInput({ field, inputId, value, disabled, control, onChange }) {
133
+ const options = field.options?.map((option) => /* @__PURE__ */ jsx("option", {
134
+ value: option.value,
135
+ children: option.label
136
+ }, option.value));
137
+ if (field.multiple) return /* @__PURE__ */ jsx("select", {
138
+ id: inputId,
139
+ className: "form-select rb-h-32",
140
+ multiple: true,
141
+ disabled,
142
+ ...control,
143
+ value: Array.isArray(value) ? value : [],
144
+ onChange: (event) => onChange(Array.from(event.target.selectedOptions, (option) => option.value)),
145
+ children: options
146
+ });
147
+ return /* @__PURE__ */ jsxs("select", {
148
+ id: inputId,
149
+ className: "form-select",
150
+ disabled,
151
+ ...control,
152
+ value: toStringValue(value),
153
+ onChange: (event) => onChange(event.target.value),
154
+ children: [/* @__PURE__ */ jsx("option", {
155
+ value: "",
156
+ children: "Select an option..."
157
+ }), options]
158
+ });
159
+ }
160
+ function RadioQuestionInput({ field, inputId, value, disabled, control, onChange }) {
161
+ return /* @__PURE__ */ jsx("div", {
162
+ className: "rb-space-y-2",
163
+ children: field.options?.map((option) => /* @__PURE__ */ jsxs("label", {
164
+ className: "form-check",
165
+ children: [/* @__PURE__ */ jsx("input", {
166
+ type: "radio",
167
+ name: inputId,
168
+ value: option.value,
169
+ checked: value === option.value,
170
+ disabled,
171
+ className: "form-radio",
172
+ "aria-invalid": control["aria-invalid"],
173
+ onChange: (event) => onChange(event.target.value)
174
+ }), /* @__PURE__ */ jsx("span", {
175
+ className: "form-check-label",
176
+ children: option.label
177
+ })]
178
+ }, option.value))
179
+ });
180
+ }
181
+ function toggledValues(selected, value, checked) {
182
+ return checked ? [...selected, value] : selected.filter((entry) => entry !== value);
183
+ }
184
+ function CheckboxQuestionInput({ field, inputId, value, disabled, control, onChange }) {
185
+ if (!field.options || field.options.length <= 1) return /* @__PURE__ */ jsx(CheckboxChoice, {
186
+ id: inputId,
187
+ checked: Boolean(value),
188
+ disabled,
189
+ ...control,
190
+ onChange: (event) => onChange(event.target.checked),
191
+ label: field.placeholder || field.label
192
+ });
193
+ const selectedValues = Array.isArray(value) ? value : [];
194
+ return /* @__PURE__ */ jsx("div", {
195
+ className: "rb-space-y-2",
196
+ children: field.options.map((option) => /* @__PURE__ */ jsx(CheckboxChoice, {
197
+ name: inputId,
198
+ value: option.value,
199
+ checked: selectedValues.includes(option.value),
200
+ disabled,
201
+ "aria-invalid": control["aria-invalid"],
202
+ onChange: (event) => onChange(toggledValues(selectedValues, option.value, event.target.checked)),
203
+ label: option.label
204
+ }, option.value))
205
+ });
206
+ }
207
+ function BookingQuestionFieldInput(props) {
208
+ const { field } = props;
209
+ switch (field.type) {
210
+ case "textarea": return /* @__PURE__ */ jsx(TextareaQuestionInput, {
211
+ ...props,
212
+ field
213
+ });
214
+ case "select": return /* @__PURE__ */ jsx(SelectQuestionInput, {
215
+ ...props,
216
+ field
217
+ });
218
+ case "radio": return /* @__PURE__ */ jsx(RadioQuestionInput, {
219
+ ...props,
220
+ field
221
+ });
222
+ case "checkbox": return /* @__PURE__ */ jsx(CheckboxQuestionInput, {
223
+ ...props,
224
+ field
225
+ });
226
+ case "document_upload": return props.renderDocumentField?.({
227
+ field,
228
+ inputId: props.inputId,
229
+ value: props.value,
230
+ disabled: props.disabled,
231
+ error: props.error,
232
+ control: props.control,
233
+ onChange: props.onChange
234
+ }) ?? null;
235
+ case "number":
236
+ case "date":
237
+ case "time":
238
+ case "email":
239
+ case "tel":
240
+ case "text":
241
+ case "url": return /* @__PURE__ */ jsx(ScalarQuestionInput, {
242
+ ...props,
243
+ field
244
+ });
245
+ }
246
+ }
247
+ function questionControlProps(field, ids, error) {
248
+ return {
249
+ ...getFieldValidationControlProps({
250
+ message: error,
251
+ messageId: ids.errorId,
252
+ describedBy: ids.helpTextId
253
+ }),
254
+ ...field.required ? { "aria-required": "true" } : {}
255
+ };
256
+ }
257
+ /** Radios and multi-choice checkboxes answer one question with several controls, so they're a named group. */
258
+ function isChoiceGroup(field) {
259
+ return field.type === "radio" || field.type === "checkbox" && (field.options?.length ?? 0) > 1;
260
+ }
261
+ function QuestionLabel({ field, inputId }) {
262
+ const text = /* @__PURE__ */ jsxs(Fragment, { children: [field.label, field.required ? null : /* @__PURE__ */ jsx(OptionalMark, {})] });
263
+ return isChoiceGroup(field) ? /* @__PURE__ */ jsx("legend", {
264
+ className: "form-label rb-p-0",
265
+ children: text
266
+ }) : /* @__PURE__ */ jsx("label", {
267
+ htmlFor: inputId,
268
+ className: "form-label",
269
+ children: text
270
+ });
271
+ }
272
+ /** A choice group is a fieldset: the question is its legend, and the group carries required state and descriptions. */
273
+ function QuestionFrame({ field, control, children }) {
274
+ if (!isChoiceGroup(field)) return /* @__PURE__ */ jsx("div", {
275
+ className: "rb-space-y-2",
276
+ children
277
+ });
278
+ return /* @__PURE__ */ jsx("fieldset", {
279
+ className: "rb-space-y-2 rb-border-0 rb-p-0 rb-m-0 rb-min-w-0",
280
+ "aria-describedby": control["aria-describedby"],
281
+ ...field.type === "radio" ? {
282
+ role: "radiogroup",
283
+ "aria-required": control["aria-required"]
284
+ } : {},
285
+ children
286
+ });
287
+ }
288
+ function QuestionField({ field, value, error, disabled, idPrefix, onChange, renderDocumentField }) {
289
+ const inputId = `${idPrefix}${field.id}`;
290
+ const helpTextId = field.helpText ? `${inputId}-help` : void 0;
291
+ const errorId = `${inputId}-error`;
292
+ const control = questionControlProps(field, {
293
+ errorId,
294
+ helpTextId
295
+ }, error);
296
+ return /* @__PURE__ */ jsxs(QuestionFrame, {
297
+ field,
298
+ control,
299
+ children: [
300
+ /* @__PURE__ */ jsx(QuestionLabel, {
301
+ field,
302
+ inputId
303
+ }),
304
+ field.helpText ? /* @__PURE__ */ jsx("p", {
305
+ id: helpTextId,
306
+ className: "rb-caption status-muted",
307
+ children: field.helpText
308
+ }) : null,
309
+ /* @__PURE__ */ jsx(BookingQuestionFieldInput, {
310
+ field,
311
+ inputId,
312
+ value: value ?? getInitialFieldValue(field, {}),
313
+ disabled,
314
+ error,
315
+ control,
316
+ onChange: (next) => onChange(field.id, next),
317
+ renderDocumentField
318
+ }),
319
+ error ? /* @__PURE__ */ jsx(FieldValidationMessage, {
320
+ id: errorId,
321
+ className: "rb-caption status-error",
322
+ children: error
323
+ }) : null
324
+ ]
325
+ });
326
+ }
327
+ function SectionTitle({ section }) {
328
+ return /* @__PURE__ */ jsxs("div", {
329
+ className: "rb-space-y-1",
330
+ children: [/* @__PURE__ */ jsx("h4", {
331
+ className: "rb-font-medium",
332
+ children: section.title
333
+ }), section.description ? /* @__PURE__ */ jsx("p", {
334
+ className: "rb-caption status-muted",
335
+ children: section.description
336
+ }) : null]
337
+ });
338
+ }
339
+ /**
340
+ * The questions of a booking-question set, rendered the same way in the
341
+ * portal, the appointment booking form and event registration. Fields use
342
+ * the theme's `form-*` classes, so each site's input styling applies.
343
+ */
344
+ function BookingQuestionFields({ sections, values, fieldErrors = {}, onChange, disabled = false, idPrefix = "", showFirstSectionTitle = false, renderDocumentField }) {
345
+ return /* @__PURE__ */ jsx(Fragment, { children: sections.map((section, sectionIndex) => /* @__PURE__ */ jsxs("div", {
346
+ className: "rb-space-y-3",
347
+ children: [showFirstSectionTitle || sectionIndex > 0 ? /* @__PURE__ */ jsx(SectionTitle, { section }) : null, section.items.map((field) => /* @__PURE__ */ jsx(QuestionField, {
348
+ field,
349
+ value: values[field.id],
350
+ error: fieldErrors[field.id] ?? null,
351
+ disabled,
352
+ idPrefix,
353
+ onChange,
354
+ renderDocumentField
355
+ }, field.id))]
356
+ }, section.id)) });
357
+ }
358
+ //#endregion
359
+ export { DemoPortalSignInLink as a, useBookingNowIso as i, OptionalMark as n, parseBookingSubmissionFailure as r, BookingQuestionFields as t };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { on as formatEventPrice } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { Cn as formatEventRemainingPlaces, Nr as listLookSlot, _n as formatTime, jr as listItemPresentation, kn as isEventFull, sn as eventDateOptions, vn as groupEventsByDate, yn as resolveEventTimeZone } from "./wizardSteps-DtkhwKXK.mjs";
4
- import { At as parseBookingLocalDate, pt as formatDate } from "./noop-ByVtIWf4.mjs";
2
+ import { on as formatEventPrice } from "./shop.interactive-C8OvFY06.mjs";
3
+ import { Dn as formatTime, Nn as formatEventRemainingPlaces, On as groupEventsByDate, _n as eventDateOptions, ii as listItemPresentation, kn as resolveEventTimeZone, oi as listLookSlot, zn as isEventFull } from "./wizardSteps-CFulHWnT.mjs";
4
+ import { Ht as parseBookingLocalDate, Tt as formatDate } from "./noop-ByFRHYQ2.mjs";
5
5
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
6
6
  import { d as formatDateKey, v as isToday } from "./src-1PJxc8KO.mjs";
7
- import { i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
8
- import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-P2vJVTEn.mjs";
9
- import { o as formatEventLocation } from "./MapDrawingSvg-CcGaFawl.mjs";
10
- import { l as formatEventTeacherLine, r as EventItem } from "./EventItem-DPBLjGwj.mjs";
7
+ import { i as ThemedButtonLink } from "./ThemedButton-BdnEwA38.mjs";
8
+ import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-DP_IBnq3.mjs";
9
+ import { o as formatEventLocation } from "./MapDrawingSvg-13JQI7_z.mjs";
10
+ import { l as formatEventTeacherLine, r as EventItem } from "./EventItem-BIc4gjiD.mjs";
11
11
  import "react";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  //#region ../blocks/src/system/runtime/nodes/events/domain/monthDay.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
2
+ import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
3
3
  import React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-ByVtIWf4.mjs";
3
- import { t as assertNever } from "./src-DjnxOjXG.mjs";
4
- import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
5
- import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
2
+ import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-ByFRHYQ2.mjs";
3
+ import { d as assertNever } from "./bookingQuestionValues-BjcyCru5.mjs";
4
+ import { n as useBlockApi, r as BlockApiError } from "./context-DXmIbXCK.mjs";
5
+ import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
6
+ import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
6
7
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
7
8
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
8
- import { n as useBlockApi, r as BlockApiError } from "./context-Cv3QHjAF.mjs";
9
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-CXWZoV-d.mjs";
9
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-DQXK-Fh6.mjs";
10
10
  import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../core/src/site-terms.ts
@@ -553,7 +553,7 @@ function SiteTermsAgreementField(props) {
553
553
  }),
554
554
  presentation: "tile",
555
555
  label: /* @__PURE__ */ jsxs(Fragment, { children: ["I agree to ", `${view.terms.businessName}'s `] }),
556
- labelLink: /* @__PURE__ */ jsxs(Fragment, { children: [
556
+ labelLink: props.requiredMark === "none" ? link : /* @__PURE__ */ jsxs(Fragment, { children: [
557
557
  link,
558
558
  " ",
559
559
  /* @__PURE__ */ jsx("span", {
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { Ht as buildEventRuntimeFilters, Tt as buildEventCalendarListingRender, in as eventListWeekDays, rn as buildEventListWeek } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { mn as formatEventHourLabel, vn as groupEventsByDate } from "./wizardSteps-DtkhwKXK.mjs";
4
- import { y as resolveCalendarReadProfile } from "./noop-ByVtIWf4.mjs";
5
- import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-CrC80EOG.mjs";
2
+ import { Ht as buildEventRuntimeFilters, Tt as buildEventCalendarListingRender, in as eventListWeekDays, rn as buildEventListWeek } from "./shop.interactive-C8OvFY06.mjs";
3
+ import { On as groupEventsByDate, wn as formatEventHourLabel } from "./wizardSteps-CFulHWnT.mjs";
4
+ import { p as resolveCalendarReadProfile } from "./noop-ByFRHYQ2.mjs";
5
+ import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-Cko9LRKy.mjs";
6
6
  import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
7
- import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
8
- import { c as CalendarDayHeaders, n as WeekAgendaView, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-DQwJ7BPx.mjs";
9
- import { i as useEventCollectionFilters } from "./useEventPagination-Bcs89BR5.mjs";
10
- import { n as EventListingController } from "./EventListing.client-Bogi_SnJ.mjs";
11
- import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-Bus9R0bj.mjs";
7
+ import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
8
+ import { c as CalendarDayHeaders, n as WeekAgendaView, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-CNe3ZjdC.mjs";
9
+ import { i as useEventCollectionFilters } from "./useEventPagination-PhTIoFVX.mjs";
10
+ import { n as EventListingController } from "./EventListing.client-CEFTC3jH.mjs";
11
+ import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-BFVxECTp.mjs";
12
12
  import { useEffect, useMemo, useState } from "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
14
  //#region ../blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.tsx
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { Ht as buildEventRuntimeFilters, Mt as eventListingBlockRuntime, Ut as getEventRuntimeFiltersKey, Vt as toError } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { Gt as getBlockApiReadStage, Nr as listLookSlot, _n as formatTime, an as eventCalendarWeekStart, in as buildCalendarViewport, sn as eventDateOptions, vn as groupEventsByDate } from "./wizardSteps-DtkhwKXK.mjs";
4
- import { d as calendarMonthKey, f as calendarPageResponseError, h as calendarWindowMonths$1, kt as getLocalScheduleDate, m as calendarWindowBounds, p as calendarQueryKey, pt as formatDate, u as calendarMonthDate, v as planCalendarMonthRanges } from "./noop-ByVtIWf4.mjs";
2
+ import { Ht as buildEventRuntimeFilters, Mt as eventListingBlockRuntime, Ut as getEventRuntimeFiltersKey, Vt as toError } from "./shop.interactive-C8OvFY06.mjs";
3
+ import { Dn as formatTime, On as groupEventsByDate, _n as eventDateOptions, hn as eventCalendarWeekStart, mn as buildCalendarViewport, oi as listLookSlot, qr as getBlockApiReadStage } from "./wizardSteps-CFulHWnT.mjs";
4
+ import { Tt as formatDate, Vt as getLocalScheduleDate, c as calendarQueryKey, ct as calendarMonthDate, f as planCalendarMonthRanges, l as calendarWindowBounds, o as calendarMonthKey, s as calendarPageResponseError, u as calendarWindowMonths$1 } from "./noop-ByFRHYQ2.mjs";
5
+ import { n as useBlockApi } from "./context-DXmIbXCK.mjs";
5
6
  import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
6
- import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
7
- import { a as combinedClassName, c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, r as AgendaEventCard, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-DQwJ7BPx.mjs";
7
+ import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
8
+ import { a as combinedClassName, c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, r as AgendaEventCard, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-CNe3ZjdC.mjs";
8
9
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
10
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
10
- import { t as TabBarFragment } from "./TabBarFragment-BxEGsKUx.mjs";
11
- import { n as useBlockApi } from "./context-Cv3QHjAF.mjs";
12
- import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Bcs89BR5.mjs";
11
+ import { t as TabBarFragment } from "./TabBarFragment-DkVKtK5a.mjs";
12
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-PhTIoFVX.mjs";
13
13
  import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
15
  //#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-8jUc02mZ.mjs";
2
+ import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region \0rolldown/runtime.js
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { Qt as selectCardListPresentation, Xt as CardListLeadDate, Yt as CardListContentPart, Zt as resolveCardListSchedule, on as formatEventPrice } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Nr as listLookSlot, fn as formatEventCompactDateRail, gn as formatEventTimeRange, jr as listItemPresentation, sn as eventDateOptions } from "./wizardSteps-DtkhwKXK.mjs";
4
- import { Ci as isCssColorLiteral, Ei as resolveTokenOrCssColorValue, Xi as getTextColorForBackground, wi as resolveOnColorForThemeToken } from "./site-styles-D56hT2u1.mjs";
5
- import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
6
- import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-P2vJVTEn.mjs";
2
+ import { Qt as selectCardListPresentation, Xt as CardListLeadDate, Yt as CardListContentPart, Zt as resolveCardListSchedule, on as formatEventPrice } from "./shop.interactive-C8OvFY06.mjs";
3
+ import { En as formatEventTimeRange, Ln as getEventAvailabilityStatus, Nn as formatEventRemainingPlaces, Sn as formatEventCompactDateRail, _n as eventDateOptions, ii as listItemPresentation, oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
4
+ import { I as resolveTokenOrCssColorValue, N as isCssColorLiteral, P as resolveOnColorForThemeToken, nt as getTextColorForBackground } from "./accessibleSurfaces-chpD4C2c.mjs";
5
+ import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-BdnEwA38.mjs";
6
+ import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-DP_IBnq3.mjs";
7
7
  import React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
@@ -145,6 +145,15 @@ const eventItemParts = {
145
145
  "places",
146
146
  "action"
147
147
  ],
148
+ "timetable-rows": [
149
+ "date",
150
+ "title",
151
+ "meta",
152
+ "description",
153
+ "time",
154
+ "places",
155
+ "action"
156
+ ],
148
157
  "month-day": [
149
158
  "title",
150
159
  "meta",
@@ -152,6 +161,10 @@ const eventItemParts = {
152
161
  "action"
153
162
  ]
154
163
  };
164
+ /** Rows with a rail: the venue and price beside the title, the time and the button together at the end. */
165
+ function hasActionRail(arrangement) {
166
+ return arrangement === "compact" || arrangement === "timetable-rows";
167
+ }
155
168
  function eventItemFacts(props) {
156
169
  const options = eventDateOptions(props.event);
157
170
  const availability = getEventAvailabilityStatus(props.event);
@@ -166,20 +179,20 @@ function eventItemFacts(props) {
166
179
  time,
167
180
  price
168
181
  }),
169
- venueIcon: props.arrangement === "compact" && props.showVenue !== false && Boolean(props.event.venue),
182
+ venueIcon: hasActionRail(props.arrangement) && props.showVenue !== false && Boolean(props.event.venue),
170
183
  places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
171
184
  availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
172
185
  description: props.event.presentation?.summary ?? props.event.description
173
186
  };
174
187
  }
175
- /** Compact rows keep pricing in the details rail and time in the action rail. */
188
+ /** Rows with a rail keep pricing in the details and time in the action rail. */
176
189
  function eventItemMeta(props, formatted) {
177
190
  const parts = props.parts ?? eventItemParts[props.arrangement];
178
191
  const venue = props.showVenue !== false ? props.event.venue?.name : null;
179
192
  const teacher = formatEventTeacherLine(props.event);
180
193
  const time = parts.includes("time") ? null : formatted.time;
181
- const price = props.arrangement === "compact" && !parts.includes("price") ? formatted.price : null;
182
- return (props.arrangement === "compact" ? [
194
+ const price = hasActionRail(props.arrangement) && !parts.includes("price") ? formatted.price : null;
195
+ return (hasActionRail(props.arrangement) ? [
183
196
  venue,
184
197
  teacher,
185
198
  price,
@@ -235,13 +248,13 @@ function renderCalendarItem(props) {
235
248
  }
236
249
  function renderCalendarTrailingParts(props, parts, renderPart) {
237
250
  const content = parts.map(renderPart);
238
- return props.arrangement === "compact" && parts.length > 0 ? /* @__PURE__ */ jsx("div", {
251
+ return hasActionRail(props.arrangement) && parts.length > 0 ? /* @__PURE__ */ jsx("div", {
239
252
  ...listLookSlot(props, "item-actions"),
240
253
  children: content
241
254
  }) : content;
242
255
  }
243
256
  function eventItemTag(arrangement) {
244
- return arrangement === "ledger" || arrangement === "day-groups" || arrangement === "week-columns" ? "li" : "article";
257
+ return arrangement === "ledger" || arrangement === "timetable-rows" || arrangement === "day-groups" || arrangement === "week-columns" ? "li" : "article";
245
258
  }
246
259
  function renderEventItemContentPart({ part, props, facts }) {
247
260
  switch (part) {
@@ -275,7 +288,7 @@ function renderEventItemContentPart({ part, props, facts }) {
275
288
  });
276
289
  case "time": return /* @__PURE__ */ jsxs("p", {
277
290
  ...listLookSlot(props, "time"),
278
- children: [props.arrangement === "compact" ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, facts.time]
291
+ children: [hasActionRail(props.arrangement) ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, facts.time]
279
292
  });
280
293
  case "places": return facts.places ? /* @__PURE__ */ jsx("p", {
281
294
  ...listLookSlot(props, "places"),
@@ -390,6 +403,15 @@ const bodyParts = [
390
403
  "availability",
391
404
  "action"
392
405
  ];
406
+ const datedRowParts = [
407
+ "date-stamp",
408
+ "title",
409
+ "schedule",
410
+ "dates",
411
+ "facts",
412
+ "availability",
413
+ "action"
414
+ ];
393
415
  function renderCardItem({ item, presentation, index, Title, actionNode, feedback }) {
394
416
  const layout = cardItemLayout(presentation, index);
395
417
  const body = cardItemBody(item, presentation);
@@ -428,7 +450,7 @@ function renderCardItem({ item, presentation, index, Title, actionNode, feedback
428
450
  }
429
451
  function cardItemLayout(presentation, index) {
430
452
  const arrangement = presentation.cardArrangement ?? "cards";
431
- if (arrangement === "index" || arrangement === "sequence") return {
453
+ if (arrangement === "index" || arrangement === "sequence" || arrangement === "type-columns") return {
432
454
  kind: "row",
433
455
  tag: "li",
434
456
  slot: "item"
@@ -442,7 +464,7 @@ function cardItemLayout(presentation, index) {
442
464
  function cardItemBody(item, presentation) {
443
465
  const schedule = resolveCardListSchedule(item, presentation.datesMode);
444
466
  const arrangement = presentation.cardArrangement ?? "cards";
445
- const parts = (presentation.bodyParts ?? (arrangement === "slides" || arrangement === "track" ? carouselBodyParts : bodyParts)).filter((part) => part !== "schedule" && part !== "dates" || part === schedule.part);
467
+ const parts = (presentation.bodyParts ?? (arrangement === "slides" || arrangement === "track" ? carouselBodyParts : arrangement === "type-columns" ? datedRowParts : bodyParts)).filter((part) => part !== "schedule" && part !== "dates" || part === schedule.part);
446
468
  return {
447
469
  item: schedule.item,
448
470
  parts
@@ -494,7 +516,7 @@ function CardListCollection({ Carousel, presentation, slides, photoCount = 0, la
494
516
  indicator: presentation.cardArrangement === "slides" ? "dots" : "none",
495
517
  slides
496
518
  });
497
- return /* @__PURE__ */ jsx(presentation.cardArrangement === "index" || presentation.cardArrangement === "sequence" ? "ol" : "div", {
519
+ return /* @__PURE__ */ jsx(presentation.cardArrangement === "index" || presentation.cardArrangement === "sequence" || presentation.cardArrangement === "type-columns" ? "ol" : "div", {
498
520
  ...listLookSlot(presentation, "items"),
499
521
  "data-card-list": true,
500
522
  "data-has-photo": String(photoCount > 0),
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Nr as listLookSlot } from "./wizardSteps-DtkhwKXK.mjs";
2
+ import { oi as listLookSlot } from "./wizardSteps-CFulHWnT.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Ht as buildEventRuntimeFilters } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D6cwU82_.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Bcs89BR5.mjs";
2
+ import { Ht as buildEventRuntimeFilters } from "./shop.interactive-C8OvFY06.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-a0QEIEf0.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-PhTIoFVX.mjs";
5
5
  import { useMemo } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx