@riverbankcms/sdk 0.164.0 → 0.166.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 (252) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
  2. package/dist/_dts/{Page-CDzsagB2.d.ts → Page-rW0xgQCA.d.ts} +18 -256
  3. package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +107 -72
  4. package/dist/_dts/{client-CbeYTSry.d.ts → client-D4BXQEZc.d.ts} +5 -1
  5. package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-MUzta0l9.d.ts} +3 -3
  6. package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
  7. package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
  9. package/dist/_dts/{index-wegfy7lf.d.ts → index--qflsCiy.d.ts} +4 -3
  10. package/dist/_dts/{index-CjdIn9-_.d.ts → index-BgJ2aU5c.d.ts} +2 -2
  11. package/dist/_dts/{index-BZE-1azr.d.ts → index-Bmboeb49.d.ts} +2 -2
  12. package/dist/_dts/{index-BpEbwDM7.d.ts → index-DdcwPqQN.d.ts} +4 -4
  13. package/dist/_dts/{index-DriYVLfT.d.ts → index-ahxQCUc7.d.ts} +2 -2
  14. package/dist/_dts/{index-DYQFmf--.d.ts → index-kQ5xkM6X.d.ts} +1 -1
  15. package/dist/_dts/{index-JS8WYgD3.d.ts → index-mMMvLLAJ.d.ts} +2996 -3079
  16. package/dist/_dts/{index-D_pQO-AS.d.ts → index-wbBZ0awa.d.ts} +49398 -48202
  17. package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
  18. package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
  19. package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +9 -6
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +20 -0
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
  28. package/dist/_dts/sdk/src/data/types.d.ts +54 -0
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +9 -8
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  48. package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +7 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-DiciZDrk.d.ts → types-BX3Y-EW3.d.ts} +3 -3
  54. package/dist/_dts/{types-DubJnBnI.d.ts → types-DF54stxv.d.ts} +8 -7
  55. package/dist/_dts/{types-W40f2olO.d.ts → types-DuiHLiPo.d.ts} +2 -2
  56. package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-Bxi0f81D.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
  58. package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
  59. package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
  60. package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
  61. package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
  62. package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
  63. package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-BhADnDCg.mjs} +17 -10
  64. package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
  65. package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
  66. package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-CMKrtkT7.mjs} +33 -12
  67. package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
  68. package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
  69. package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-3BBRdNVa.mjs} +70 -15
  70. package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
  71. package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
  72. package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
  73. package/dist/client/{Page-Dub71o3c.mjs → Page-DNDZLRlB.mjs} +3388 -11530
  74. package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
  75. package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
  76. package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
  77. package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
  79. package/dist/client/{accordion-vCG_JC5t.mjs → accordion-uVqNowRX.mjs} +1 -1
  80. package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
  82. package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-DNMojb6A.mjs} +4 -4
  83. package/dist/client/bookings.mjs +6 -6
  84. package/dist/client/{carousel-FM1mkkL0.mjs → carousel-C8kxI3Dm.mjs} +2 -2
  85. package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
  86. package/dist/client/{cart-BDFhbh9j.mjs → cart-DCxjE3Is.mjs} +3 -3
  87. package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-Ceeng8fB.mjs} +1 -1
  88. package/dist/client/{checkout-BibhwnTd.mjs → checkout-B0EKbeVv.mjs} +3 -3
  89. package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
  90. package/dist/client/client.mjs +9465 -15
  91. package/dist/client/{context-BNAM7NsW.mjs → context-n6IZigd3.mjs} +8 -6
  92. package/dist/client/cta-CDeAwYoN.mjs +121 -0
  93. package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
  94. package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
  95. package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
  96. package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
  97. package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-BhygihpQ.mjs} +43 -17
  98. package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
  99. package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
  100. package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
  101. package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-2-xjn2nz.mjs} +4 -4
  102. package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
  103. package/dist/client/{form-GXqjObPC.mjs → form-BeNQiZ2V.mjs} +3 -3
  104. package/dist/client/{form.client-CoKNba2e.mjs → form.client-BFdCKlp7.mjs} +7 -7
  105. package/dist/client/{form.parts-magB_epJ.mjs → form.parts-C7gLK3jh.mjs} +3 -3
  106. package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-CWfelfMt.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +4 -5
  108. package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-CalNAShx.mjs} +2 -2
  109. package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DpPauppt.mjs} +1 -1
  110. package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
  111. package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-Dq7GHGXU.mjs} +9 -9
  112. package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
  113. package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
  114. package/dist/client/{noop-C2vZse15.mjs → noop-D-RG9eR3.mjs} +399 -169
  115. package/dist/client/portal/client.mjs +13 -14
  116. package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
  117. package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-BmH40fNf.mjs} +1 -1
  118. package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
  119. package/dist/client/{productList-Cc-PmbEe.mjs → productList-DjGrjOwD.mjs} +3 -3
  120. package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
  121. package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CKK_RXZo.mjs} +350 -424
  122. package/dist/client/rendering/client.mjs +29 -28
  123. package/dist/client/rendering/islands.mjs +1 -1
  124. package/dist/client/rendering.mjs +70 -8
  125. package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
  126. package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
  127. package/dist/client/{shop-DyXtB5TD.mjs → shop-DLufMauE.mjs} +3 -3
  128. package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
  129. package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
  130. package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-CBy9_alG.mjs} +13 -13
  131. package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BM0NRsFQ.mjs} +265 -24
  132. package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-lS23OQE-.mjs} +2 -2
  133. package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
  134. package/dist/{preview-next/client/ThemedButton-g7NPrsGp.mjs → client/site-styles-DELkUk9s.mjs} +25654 -17259
  135. package/dist/client/spam-protection.mjs +2 -2
  136. package/dist/client/src-DjnxOjXG.mjs +217 -0
  137. package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
  138. package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-DzRWikCU.mjs} +157 -139
  139. package/dist/client/types-sF-IrGQr.mjs +633 -0
  140. package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
  141. package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
  142. package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
  143. package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
  144. package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-Ccr4TZlm.mjs} +12 -159
  145. package/dist/client/{view-BnaOmrap.mjs → view-8w4GA8rf.mjs} +4 -4
  146. package/dist/client/{view-vhKGFfC3.mjs → view-DAVEoe8A.mjs} +310 -247
  147. package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DNpajrAH.mjs} +495 -173
  148. package/dist/preview-next/before-render.mjs +4 -141
  149. package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
  151. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
  153. package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
  154. package/dist/preview-next/client/PreviewEditorUI-C7ZmYE33.mjs +1189 -0
  155. package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
  156. package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
  157. package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
  158. package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
  159. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
  160. package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
  161. package/dist/preview-next/client/previewChromeSurface-D2cREDJ5.mjs +190 -0
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
  164. package/dist/preview-next/client/useAutosaveStatus--Pw8vnef.mjs +138 -0
  165. package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
  166. package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
  167. package/dist/preview-next/keepAlive.mjs +27 -4
  168. package/dist/preview-next/middleware.mjs +2 -2
  169. package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-Bq7SUX3K.mjs} +143 -126
  170. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  171. package/dist/preview-next/session.mjs +1 -1
  172. package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
  173. package/dist/server/{src-cbbK3Bho.mjs → ThemeScopeCore-BI2mld9R.mjs} +1153 -2523
  174. package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
  175. package/dist/server/{bindings-BVJGgUT0.mjs → bindings-DjdUq9FR.mjs} +2 -3
  176. package/dist/server/{publicProducts-D3Fc5TKk.mjs → client-07UeMDzA.mjs} +2492 -357
  177. package/dist/server/config-validation.mjs +1 -1
  178. package/dist/server/config.mjs +33 -2
  179. package/dist/server/data/dataLoaderContext.mjs +2 -0
  180. package/dist/server/data/resolveBlockData.mjs +2 -0
  181. package/dist/server/data/types.mjs +1 -0
  182. package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
  183. package/dist/server/identity-Bn9OQiT1.mjs +6 -0
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BuintpdO.mjs → loadContent-ClpaSlBb.mjs} +6 -5
  186. package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-BwtVqpaA.mjs} +4 -2
  187. package/dist/server/manifest.mjs +1 -1
  188. package/dist/server/media-DnlczCMA.mjs +231 -0
  189. package/dist/server/mode-Cv_TG9gP.mjs +63 -0
  190. package/dist/server/next/middleware.mjs +1 -1
  191. package/dist/server/next/revalidate.mjs +1 -1
  192. package/dist/server/next.mjs +13 -13
  193. package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
  194. package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
  195. package/dist/server/overrides-CD4d-1w7.mjs +177 -0
  196. package/dist/server/page-converter.mjs +243 -91
  197. package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
  198. package/dist/server/{themeAdmission-BdY8lP-K.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
  199. package/dist/server/{overrides-DVemf-GV.mjs → pageShared-HdKFBpaX.mjs} +3594 -1726
  200. package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
  201. package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
  202. package/dist/server/prebuild.mjs +1 -1
  203. package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
  204. package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
  205. package/dist/server/{registry-zjd1P2Dl.mjs → registry-TFPJdGQi.mjs} +20901 -792
  206. package/dist/server/rendering/components/pageShared.mjs +2 -0
  207. package/dist/server/rendering/helpers/loadPage.mjs +2 -0
  208. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
  209. package/dist/server/rendering/server.mjs +5 -4
  210. package/dist/server/rendering/themeAdmission.mjs +2 -0
  211. package/dist/server/rendering.mjs +11 -10
  212. package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
  213. package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
  214. package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
  215. package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
  216. package/dist/server/routing.mjs +1 -1
  217. package/dist/server/schema-C2PqHrMo.mjs +2523 -0
  218. package/dist/server/server.mjs +3 -3
  219. package/dist/server/theme-bridge.mjs +1031 -1
  220. package/dist/server/theme.mjs +2 -1
  221. package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
  222. package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
  223. package/dist/server/validation-CDd6m8Ry.mjs +140 -0
  224. package/dist/server/{validation-CGH-Xs4E.mjs → validation-DIBFZeMB.mjs} +419 -3
  225. package/dist/server/{version-DoOG6F13.mjs → version-DZWZM1H6.mjs} +1 -1
  226. package/dist/styles/index.css +924 -10
  227. package/package.json +39 -1
  228. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  229. package/dist/client/cta-ChiN1Vgg.mjs +0 -80
  230. package/dist/client/purchase-BMsWpx8y.mjs +0 -894
  231. package/dist/client/schema-DMUkBtIO.mjs +0 -15915
  232. package/dist/client/site-styles-BLHYJ8S7.mjs +0 -12339
  233. package/dist/client/src-VIsPY-kw.mjs +0 -62
  234. package/dist/preview-next/client/PreviewEditorSidebar-C3AQVxQt.mjs +0 -5441
  235. package/dist/preview-next/client/PreviewEditorUI-C-1zDCR_.mjs +0 -756
  236. package/dist/preview-next/client/SdkPreviewModeRuntime-B47yHFL0.mjs +0 -9130
  237. package/dist/preview-next/client/SdkPreviewModeRuntime-C6Rhm2NQ.mjs +0 -3
  238. package/dist/preview-next/client/previewAuthStore-By_zfrS5.mjs +0 -212195
  239. package/dist/preview-next/client/previewChromeSurface-Cjwxv90x.mjs +0 -85
  240. package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
  241. package/dist/preview-next/client/sdk-runtime-BG2HYvQj.mjs +0 -4
  242. package/dist/preview-next/client/siteStyleAccess-BiSyYyyr.mjs +0 -14178
  243. package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
  244. package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
  245. package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
  246. package/dist/server/client-CiKaE8ms.mjs +0 -2330
  247. package/dist/server/effectiveNavLinkStyle-EDSdd_oK.mjs +0 -11574
  248. package/dist/server/loadPage-BwjncpJf.mjs +0 -2
  249. package/dist/server/prefetchBlockData-Bnbwoe5n.mjs +0 -4156
  250. package/dist/server/schema-BlTWmTSl.mjs +0 -16142
  251. package/dist/server/site-styles-yHytcXIB.mjs +0 -768
  252. package/dist/server/siteChromeOverlayClearance-D0uCNZ7E.mjs +0 -802
@@ -1,16 +1,16 @@
1
1
  "use client";
2
+ import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Kt as RichText, Nr as listLookSlot, _n as formatTime, br as resolveDateRuntimeContext, dn as formatEventClockLabel, gn as formatEventTimeRange, jr as listItemPresentation, kn as isEventFull, sn as eventDateOptions, vn as groupEventsByDate, yn as resolveEventTimeZone } from "./wizardSteps-DNpajrAH.mjs";
3
+ import { Ot as parseBookingLocalDate, bt as formatBookingCompactEnglishTime, dt as formatDate, kt as parseLocalScheduleTime, xt as toScheduledBookingDateTime } from "./noop-D-RG9eR3.mjs";
4
+ import { v as assertNever } from "./src-DjnxOjXG.mjs";
5
+ import { t as LocationMapActions } from "./LocationMapActions-D5-H9ooQ.mjs";
6
+ import { Ei as textColorStyle } from "./site-styles-DELkUk9s.mjs";
2
7
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
3
- import { fn as textColorStyle, j as parseThemeButtonVariantId } from "./schema-DMUkBtIO.mjs";
4
- import { c as assertNever } from "./src-VIsPY-kw.mjs";
5
- import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-xqU4q63H.mjs";
6
- import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-C2vZse15.mjs";
7
- import { t as LocationMapActions } from "./LocationMapActions-BsepG5Vv.mjs";
8
- import { n as resolveEventLinkProps } from "./cta-ChiN1Vgg.mjs";
9
- import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
10
- import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-hrSyTApW.mjs";
11
- import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
12
- import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
13
- import { t as coerceRichTextDoc } from "./richText-coerce-WuMYrBm3.mjs";
8
+ import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton, w as parseThemeButtonVariantId } from "./ThemedButton-8jUc02mZ.mjs";
9
+ import { r as resolveEventLinkProps } from "./cta-CDeAwYoN.mjs";
10
+ import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-5a0x0vcC.mjs";
11
+ import { c as formatEventTeacherLine, r as EventItem } from "./EventItem-CMKrtkT7.mjs";
12
+ import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-C30geMl-.mjs";
13
+ import { t as coerceRichTextDoc } from "./richText-coerce-BcjTX-7h.mjs";
14
14
  import "react";
15
15
  import { z } from "zod";
16
16
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -193,6 +193,151 @@ function inlineTextMarkEqual(left, right) {
193
193
  }
194
194
  }
195
195
  //#endregion
196
+ //#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookView.tsx
197
+ function MonthEvent({ event, timeZone, locale, presentation }) {
198
+ return /* @__PURE__ */ jsxs("a", {
199
+ ...resolveEventLinkProps(event),
200
+ ...listLookSlot(presentation, "item"),
201
+ children: [
202
+ /* @__PURE__ */ jsx("span", {
203
+ ...listLookSlot(presentation, "time"),
204
+ children: formatTime(event.startsAt, {
205
+ ...eventDateOptions({
206
+ ...event,
207
+ timeZone
208
+ }),
209
+ locale
210
+ })
211
+ }),
212
+ " ",
213
+ /* @__PURE__ */ jsx("span", {
214
+ ...listLookSlot(presentation, "what"),
215
+ children: event.title
216
+ })
217
+ ]
218
+ });
219
+ }
220
+ function dateLabel(key, timeZone, date = "short") {
221
+ return formatDate({
222
+ kind: "civil",
223
+ value: parseBookingLocalDate(key)
224
+ }, eventDateOptions({
225
+ siteTimeZone: timeZone,
226
+ timeZone
227
+ }), {
228
+ date,
229
+ weekday: "long"
230
+ });
231
+ }
232
+ function MonthDay(props) {
233
+ const { day, selection } = props;
234
+ const { controls } = selection;
235
+ const selected = day.dateKey === selection.selectedDay;
236
+ return /* @__PURE__ */ jsxs("div", {
237
+ ...listLookSlot(selection, "date"),
238
+ "data-current": String(selected),
239
+ "data-today": String(day.isToday),
240
+ "data-other-month": String(!day.isCurrentMonth),
241
+ children: [selection.arrangement === "month-day" ? /* @__PURE__ */ jsx("button", {
242
+ type: "button",
243
+ ...listLookSlot(selection, "control"),
244
+ "aria-label": `Show events on ${dateLabel(day.dateKey, selection.timeZone, "long")}`,
245
+ "aria-pressed": selected,
246
+ onClick: controls ? () => controls.selectDay(day.dateKey) : void 0,
247
+ children: day.date.day
248
+ }) : /* @__PURE__ */ jsx("span", {
249
+ ...listLookSlot(selection, "date-label"),
250
+ children: day.date.day
251
+ }), selection.arrangement === "month-grid" ? /* @__PURE__ */ jsxs(Fragment, { children: [day.visibleEntries.map(({ event, timeZone }, index, entries) => /* @__PURE__ */ jsx(MonthEvent, {
252
+ presentation: listItemPresentation(selection, index, entries.length),
253
+ event,
254
+ timeZone,
255
+ locale: eventDateOptions({ siteTimeZone: selection.timeZone }).locale
256
+ }, event.occurrenceId ?? event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("button", {
257
+ type: "button",
258
+ className: "event-calendar-more",
259
+ ...listLookSlot(selection, "more"),
260
+ onClick: controls ? () => controls.openDay(day.date, day.entries.map(({ event }) => event)) : void 0,
261
+ children: [
262
+ "+",
263
+ day.moreCount,
264
+ " more"
265
+ ]
266
+ }) : null] }) : /* @__PURE__ */ jsx(MonthDayMarks, {
267
+ count: day.entries.length,
268
+ presentation: selection
269
+ })]
270
+ });
271
+ }
272
+ /** Both Looks and the legacy month grid consume the same per-day model. */
273
+ function MonthLookView(props) {
274
+ const days = props.days.map((date) => buildMonthDay({
275
+ date,
276
+ events: props.eventsByDate.get(formatDateKey(date)) ?? [],
277
+ viewDate: props.viewDate,
278
+ today: props.today,
279
+ calendarTimeZone: props.timeZone
280
+ }));
281
+ const selected = days.find((day) => day.dateKey === props.selectedDay);
282
+ return /* @__PURE__ */ jsxs("div", {
283
+ ...listLookSlot(props, "frame"),
284
+ "data-arrangement": props.arrangement,
285
+ children: [/* @__PURE__ */ jsxs("div", {
286
+ ...listLookSlot(props, "grid"),
287
+ children: [props.dayNames.map((name) => /* @__PURE__ */ jsx("span", {
288
+ ...listLookSlot(props, "group-label"),
289
+ children: name
290
+ }, name)), days.map((day) => /* @__PURE__ */ jsx(MonthDay, {
291
+ day,
292
+ selection: props
293
+ }, day.dateKey))]
294
+ }), props.arrangement === "month-day" ? /* @__PURE__ */ jsxs("section", {
295
+ ...listLookSlot(props, "panel"),
296
+ "aria-live": "polite",
297
+ children: [/* @__PURE__ */ jsx("h3", {
298
+ ...listLookSlot(props, "panel-heading"),
299
+ children: dateLabel(props.selectedDay, props.timeZone)
300
+ }), /* @__PURE__ */ jsx("div", {
301
+ ...listLookSlot(props, "list"),
302
+ children: selected?.entries.length ? selected.entries.map(({ event }, index, entries) => /* @__PURE__ */ jsx(EventItem, {
303
+ ...listItemPresentation(props, index, entries.length),
304
+ event,
305
+ arrangement: "month-day"
306
+ }, event.occurrenceId ?? event.id)) : /* @__PURE__ */ jsx("p", {
307
+ ...listLookSlot(props, "intro"),
308
+ children: props.emptyMessage
309
+ })
310
+ })]
311
+ }) : null]
312
+ });
313
+ }
314
+ function MonthDayMarks({ count, presentation }) {
315
+ if (count === 0) return null;
316
+ return /* @__PURE__ */ jsx("span", {
317
+ ...listLookSlot(presentation, "item-meta"),
318
+ role: "img",
319
+ "aria-label": `${count} ${count === 1 ? "event" : "events"}`,
320
+ children: Array.from({ length: Math.min(count, 3) }, (_, index) => /* @__PURE__ */ jsx("span", {
321
+ ...listLookSlot(presentation, "mark"),
322
+ "aria-hidden": "true"
323
+ }, index))
324
+ });
325
+ }
326
+ function monthSlotParents(arrangement) {
327
+ return {
328
+ frame: null,
329
+ grid: "frame",
330
+ date: "grid",
331
+ panel: "frame",
332
+ list: "panel",
333
+ item: arrangement === "month-grid" ? "date" : "list",
334
+ row: "list",
335
+ "group-label": "grid",
336
+ "item-meta": "date",
337
+ mark: "item-meta"
338
+ };
339
+ }
340
+ //#endregion
196
341
  //#region ../path-utils/src/index.ts
197
342
  const PATH_SEPARATOR_REGEX = /\./g;
198
343
  const BRACKET_ACCESS_REGEX = /\[([^\]]+)\]/g;
@@ -629,133 +774,6 @@ function CalendarRecurringWeek({ display }) {
629
774
  });
630
775
  }
631
776
  //#endregion
632
- //#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookView.tsx
633
- function MonthEvent({ event, timeZone, locale }) {
634
- return /* @__PURE__ */ jsxs("a", {
635
- ...resolveEventLinkProps(event),
636
- "data-slot": "item",
637
- children: [
638
- /* @__PURE__ */ jsx("span", {
639
- "data-slot": "time",
640
- children: formatTime(event.startsAt, {
641
- ...eventDateOptions({
642
- ...event,
643
- timeZone
644
- }),
645
- locale
646
- })
647
- }),
648
- " ",
649
- /* @__PURE__ */ jsx("span", {
650
- "data-slot": "what",
651
- children: event.title
652
- })
653
- ]
654
- });
655
- }
656
- function dateLabel(key, timeZone, date = "short") {
657
- return formatDate({
658
- kind: "civil",
659
- value: parseBookingLocalDate(key)
660
- }, eventDateOptions({
661
- siteTimeZone: timeZone,
662
- timeZone
663
- }), {
664
- date,
665
- weekday: "long"
666
- });
667
- }
668
- function MonthDay(props) {
669
- const { day, selection } = props;
670
- const { controls } = selection;
671
- const selected = day.dateKey === selection.selectedDay;
672
- return /* @__PURE__ */ jsxs("div", {
673
- "data-slot": "date",
674
- "data-current": String(selected),
675
- "data-today": String(day.isToday),
676
- "data-other-month": String(!day.isCurrentMonth),
677
- children: [selection.arrangement === "month-day" ? /* @__PURE__ */ jsx("button", {
678
- type: "button",
679
- "data-slot": "control",
680
- "aria-label": `Show events on ${dateLabel(day.dateKey, selection.timeZone, "long")}`,
681
- "aria-pressed": selected,
682
- onClick: controls ? () => controls.selectDay(day.dateKey) : void 0,
683
- children: day.date.day
684
- }) : /* @__PURE__ */ jsx("span", {
685
- "data-slot": "date-label",
686
- children: day.date.day
687
- }), selection.arrangement === "month-grid" ? /* @__PURE__ */ jsxs(Fragment, { children: [day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsx(MonthEvent, {
688
- event,
689
- timeZone,
690
- locale: eventDateOptions({ siteTimeZone: selection.timeZone }).locale
691
- }, event.occurrenceId ?? event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("button", {
692
- type: "button",
693
- className: "event-calendar-more",
694
- "data-slot": "more",
695
- onClick: controls ? () => controls.openDay(day.date, day.entries.map(({ event }) => event)) : void 0,
696
- children: [
697
- "+",
698
- day.moreCount,
699
- " more"
700
- ]
701
- }) : null] }) : /* @__PURE__ */ jsx(MonthDayMarks, { count: day.entries.length })]
702
- });
703
- }
704
- /** Both Looks and the legacy month grid consume the same per-day model. */
705
- function MonthLookView(props) {
706
- const days = props.days.map((date) => buildMonthDay({
707
- date,
708
- events: props.eventsByDate.get(formatDateKey(date)) ?? [],
709
- viewDate: props.viewDate,
710
- today: props.today,
711
- calendarTimeZone: props.timeZone
712
- }));
713
- const selected = days.find((day) => day.dateKey === props.selectedDay);
714
- return /* @__PURE__ */ jsxs("div", {
715
- "data-slot": "frame",
716
- "data-arrangement": props.arrangement,
717
- children: [/* @__PURE__ */ jsxs("div", {
718
- "data-slot": "grid",
719
- children: [props.dayNames.map((name) => /* @__PURE__ */ jsx("span", {
720
- "data-slot": "group-label",
721
- children: name
722
- }, name)), days.map((day) => /* @__PURE__ */ jsx(MonthDay, {
723
- day,
724
- selection: props
725
- }, day.dateKey))]
726
- }), props.arrangement === "month-day" ? /* @__PURE__ */ jsxs("section", {
727
- ...listLookSlot(props, "panel"),
728
- "aria-live": "polite",
729
- children: [/* @__PURE__ */ jsx("h3", {
730
- "data-slot": "panel-heading",
731
- children: dateLabel(props.selectedDay, props.timeZone)
732
- }), /* @__PURE__ */ jsx("div", {
733
- ...listLookSlot(props, "list"),
734
- children: selected?.entries.length ? selected.entries.map(({ event }, index, entries) => /* @__PURE__ */ jsx(EventItem, {
735
- ...listItemPresentation(props, index, entries.length),
736
- event,
737
- arrangement: "month-day"
738
- }, event.occurrenceId ?? event.id)) : /* @__PURE__ */ jsx("p", {
739
- "data-slot": "intro",
740
- children: props.emptyMessage
741
- })
742
- })]
743
- }) : null]
744
- });
745
- }
746
- function MonthDayMarks({ count }) {
747
- if (count === 0) return null;
748
- return /* @__PURE__ */ jsx("span", {
749
- "data-slot": "item-meta",
750
- role: "img",
751
- "aria-label": `${count} ${count === 1 ? "event" : "events"}`,
752
- children: Array.from({ length: Math.min(count, 3) }, (_, index) => /* @__PURE__ */ jsx("span", {
753
- "data-slot": "mark",
754
- "aria-hidden": "true"
755
- }, index))
756
- });
757
- }
758
- //#endregion
759
777
  //#region ../blocks/src/system/runtime/nodes/events/shared/WeekBoardView.tsx
760
778
  function buildWeekBoardNavigationState(viewport, today) {
761
779
  return {
@@ -1098,4 +1116,4 @@ function formatDayLabel(date, timeZone, options) {
1098
1116
  }), options);
1099
1117
  }
1100
1118
  //#endregion
1101
- export { plainTextToInlineText as _, MonthLookView as a, ButtonNode as c, TextNode as d, LocationMapView as f, parseInlineTextFromUnknown as g, inlineTextToPlainText as h, buildWeekBoardViewProps as i, LinkNode as l, coerceInlineTextWithFallback as m, WeekBoardView as n, CalendarRecurringWeek as o, Text as p, buildWeekBoardNavigationState as r, RecurringSchedule as s, buildTimetableModel as t, RichTextNode as u };
1119
+ export { parseInlineTextFromUnknown as _, CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, Text as f, inlineTextToPlainText as g, coerceInlineTextWithFallback as h, buildWeekBoardViewProps as i, RichTextNode as l, monthSlotParents as m, WeekBoardView as n, RecurringSchedule as o, MonthLookView as p, buildWeekBoardNavigationState as r, ButtonNode as s, buildTimetableModel as t, TextNode as u, plainTextToInlineText as v };