@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
@@ -1,21 +1,19 @@
1
1
  "use client";
2
2
  "use client";
3
- import { Bt as formatCurrencyAmount, Rt as parsePositiveMoneyInputToCents, t as logger } from "../noop-ByVtIWf4.mjs";
4
- import { n as useAvailableDates, s as unsafeAsAppointmentResourceId, t as useAvailableSlots } from "../useAvailableSlots-C4LOaI_Z.mjs";
5
- import { _ as resolveFlexibleBalancePaymentEligibility, t as assertNever, u as formatOrderInstalmentStatusLabel$1, v as assertNever$1 } from "../src-DjnxOjXG.mjs";
3
+ import { $t as formatCurrencyAmount, Zt as parsePositiveMoneyInputToCents, t as logger } from "../noop-ByFRHYQ2.mjs";
4
+ import { n as useAvailableDates, s as unsafeAsAppointmentResourceId, t as useAvailableSlots } from "../useAvailableSlots-M6QIEiWf.mjs";
5
+ import { D as resolveFlexibleBalancePaymentEligibility, O as assertNever$1, b as formatOrderInstalmentStatusLabel$1, d as assertNever, n as UNANSWERED_QUESTION_MESSAGE, o as initialBookingQuestionValues, t as UNANSWERED_QUESTIONS_SUMMARY, u as unansweredRequiredBookingQuestions } from "../bookingQuestionValues-BjcyCru5.mjs";
6
6
  import { t as generateUuidV4 } from "../uuid-BETKW8rS.mjs";
7
- import { C as clsx, i as ThemedButtonLink, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton, u as SpinnerNode } from "../ThemedButton-8jUc02mZ.mjs";
7
+ import { i as createBlockApi, n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-DXmIbXCK.mjs";
8
+ import { S as clsx, i as ThemedButtonLink, l as SpinnerNode, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton } from "../ThemedButton-BdnEwA38.mjs";
8
9
  import { t as resolveDedicatedBookingHref } from "../bookingRoute-Bqlyu5Vb.mjs";
9
- import { t as CheckboxChoice } from "../CheckboxChoice-CZ-anOqV.mjs";
10
- import { t as DemoPortalSignInLink } from "../DemoPortalSignInLink-B9YrzZt2.mjs";
10
+ import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-Bhh0cvsl.mjs";
11
11
  import { t as ModalShell } from "../ModalShell-B_fHWK71.mjs";
12
- import { t as TabBarFragment } from "../TabBarFragment-BxEGsKUx.mjs";
12
+ import { t as TabBarFragment } from "../TabBarFragment-DkVKtK5a.mjs";
13
13
  import { i as getPortalCreditProductCreditNoun, r as getCreditProductTypeLabel, t as deriveCreditProductLabels } from "../creditProducts-BOWi1QLp.mjs";
14
- import { t as formatDate } from "../formatDate-DI3DP48e.mjs";
15
- import { i as createBlockApi, n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-Cv3QHjAF.mjs";
16
- import { t as useBookingNowIso } from "../useBookingNowIso-BDmWkYUW.mjs";
17
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-CXWZoV-d.mjs";
18
- import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-D8D47VT4.mjs";
14
+ import { t as formatDate } from "../formatDate-DDyURjoe.mjs";
15
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-DQXK-Fh6.mjs";
16
+ import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-CwrkFZTr.mjs";
19
17
  import * as React$1 from "react";
20
18
  import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
21
19
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -5139,7 +5137,10 @@ function UploadList({ items, cancel, dismiss, retry, announcement = "", upgradeH
5139
5137
  const root = useRef(null);
5140
5138
  const pendingFocus = useRef(false);
5141
5139
  const id = useId();
5142
- const [collapsed, setCollapsed] = useState(() => typeof window !== "undefined" && window.matchMedia("(max-width: 639px)").matches);
5140
+ const [collapsed, setCollapsed] = useState(false);
5141
+ useEffect(() => {
5142
+ if (window.matchMedia("(max-width: 639px)").matches) setCollapsed(true);
5143
+ }, []);
5143
5144
  const [overflow, setOverflow] = useState(false);
5144
5145
  const list = useRef(null);
5145
5146
  const visible = items.filter((item) => item.status !== "cancelling");
@@ -5299,7 +5300,7 @@ function createWorkflow(field, callbacks) {
5299
5300
  function portalSignInHref() {
5300
5301
  return typeof window === "undefined" ? void 0 : window.location.pathname;
5301
5302
  }
5302
- function PortalDocumentField({ field, value, disabled, error, onChange, onBusyChange, ...callbacks }) {
5303
+ function PortalDocumentField({ field, inputId, control, value, disabled, onChange, onBusyChange, ...callbacks }) {
5303
5304
  const chooser = React$1.useRef(null);
5304
5305
  const busyCallback = React$1.useRef(onBusyChange);
5305
5306
  React$1.useEffect(() => {
@@ -5333,9 +5334,9 @@ function PortalDocumentField({ field, value, disabled, error, onChange, onBusyCh
5333
5334
  inputRef: chooser,
5334
5335
  label: documentValue ? "Replace file" : "Choose a file",
5335
5336
  inputProps: {
5336
- id: field.id,
5337
+ id: inputId,
5337
5338
  accept: acceptedDocumentExtensions(field).join(","),
5338
- "aria-invalid": error ? "true" : void 0,
5339
+ ...control,
5339
5340
  onChange: (event) => {
5340
5341
  const file = event.target.files?.[0];
5341
5342
  event.currentTarget.value = "";
@@ -5368,25 +5369,6 @@ function asDocumentAnswer(value) {
5368
5369
  return typeof value === "object" && value !== null && "kind" in value && value.kind === "document_upload" ? value : null;
5369
5370
  }
5370
5371
  //#endregion
5371
- //#region ../blocks/src/customer-portal/components/bookings/ScalarQuestionInput.tsx
5372
- /** Native scalar controls share value conversion and validation; choices and uploads have their own controls. */
5373
- function ScalarQuestionInput({ field, value, disabled, error, onChange }) {
5374
- const temporal = field.type === "date" || field.type === "time";
5375
- const stringValue = typeof value === "string" || typeof value === "number" ? String(value) : "";
5376
- return /* @__PURE__ */ jsx("input", {
5377
- id: field.id,
5378
- type: field.type,
5379
- className: "form-input",
5380
- value: stringValue,
5381
- placeholder: temporal ? void 0 : field.placeholder,
5382
- min: field.type === "number" ? field.min : void 0,
5383
- max: field.type === "number" ? field.max : void 0,
5384
- disabled,
5385
- "aria-invalid": error ? "true" : void 0,
5386
- onChange: (event) => onChange(event.target.value)
5387
- });
5388
- }
5389
- //#endregion
5390
5372
  //#region ../blocks/src/customer-portal/components/bookings/AppointmentBeforeYouComeTask.tsx
5391
5373
  function summarizeStatus(task, display) {
5392
5374
  if (task.status === "complete") return {
@@ -5405,137 +5387,6 @@ function summarizeStatus(task, display) {
5405
5387
  actionLabel: "Complete now"
5406
5388
  };
5407
5389
  }
5408
- function getInitialFieldValue(field, answers) {
5409
- const value = answers[field.id];
5410
- if (value !== void 0) return value;
5411
- if (field.type === "checkbox" && field.options && field.options.length > 1) return [];
5412
- if (field.type === "checkbox") return false;
5413
- if (field.type === "document_upload") return null;
5414
- return "";
5415
- }
5416
- function toStringValue(value) {
5417
- return typeof value === "string" || typeof value === "number" ? String(value) : "";
5418
- }
5419
- function TaskFieldInput({ field, value, disabled, error, onChange, onBusyChange, createUploadUrl, finalizeUpload }) {
5420
- const textareaClass = "form-textarea";
5421
- const selectClass = "form-select";
5422
- const radioClass = "form-radio";
5423
- switch (field.type) {
5424
- case "textarea": return /* @__PURE__ */ jsx("textarea", {
5425
- id: field.id,
5426
- className: textareaClass,
5427
- value: toStringValue(value),
5428
- rows: 4,
5429
- placeholder: field.placeholder,
5430
- disabled,
5431
- "aria-invalid": error ? "true" : void 0,
5432
- onChange: (event) => onChange(event.target.value)
5433
- });
5434
- case "select":
5435
- if (field.multiple) {
5436
- const selectedValues = Array.isArray(value) ? value : [];
5437
- return /* @__PURE__ */ jsx("select", {
5438
- id: field.id,
5439
- className: `${selectClass} rb-h-32`,
5440
- multiple: true,
5441
- disabled,
5442
- "aria-invalid": error ? "true" : void 0,
5443
- value: selectedValues,
5444
- onChange: (event) => {
5445
- onChange(Array.from(event.target.selectedOptions, (option) => option.value));
5446
- },
5447
- children: field.options?.map((option) => /* @__PURE__ */ jsx("option", {
5448
- value: option.value,
5449
- children: option.label
5450
- }, option.value))
5451
- });
5452
- }
5453
- return /* @__PURE__ */ jsxs("select", {
5454
- id: field.id,
5455
- className: selectClass,
5456
- disabled,
5457
- "aria-invalid": error ? "true" : void 0,
5458
- value: toStringValue(value),
5459
- onChange: (event) => onChange(event.target.value),
5460
- children: [/* @__PURE__ */ jsx("option", {
5461
- value: "",
5462
- children: "Select an option..."
5463
- }), field.options?.map((option) => /* @__PURE__ */ jsx("option", {
5464
- value: option.value,
5465
- children: option.label
5466
- }, option.value))]
5467
- });
5468
- case "radio": return /* @__PURE__ */ jsx("div", {
5469
- className: "rb-space-y-2",
5470
- children: field.options?.map((option) => /* @__PURE__ */ jsxs("label", {
5471
- className: "form-check",
5472
- children: [/* @__PURE__ */ jsx("input", {
5473
- type: "radio",
5474
- name: field.id,
5475
- value: option.value,
5476
- checked: value === option.value,
5477
- disabled,
5478
- className: radioClass,
5479
- onChange: (event) => onChange(event.target.value)
5480
- }), /* @__PURE__ */ jsx("span", {
5481
- className: "form-check-label",
5482
- children: option.label
5483
- })]
5484
- }, option.value))
5485
- });
5486
- case "checkbox":
5487
- if (field.options && field.options.length > 1) {
5488
- const selectedValues = Array.isArray(value) ? value : [];
5489
- return /* @__PURE__ */ jsx("div", {
5490
- className: "rb-space-y-2",
5491
- children: field.options.map((option) => /* @__PURE__ */ jsx(CheckboxChoice, {
5492
- name: field.id,
5493
- value: option.value,
5494
- checked: selectedValues.includes(option.value),
5495
- disabled,
5496
- onChange: (event) => {
5497
- if (event.target.checked) {
5498
- onChange([...selectedValues, option.value]);
5499
- return;
5500
- }
5501
- onChange(selectedValues.filter((entry) => entry !== option.value));
5502
- },
5503
- label: option.label
5504
- }, option.value))
5505
- });
5506
- }
5507
- return /* @__PURE__ */ jsx(CheckboxChoice, {
5508
- id: field.id,
5509
- checked: Boolean(value),
5510
- disabled,
5511
- onChange: (event) => onChange(event.target.checked),
5512
- label: field.placeholder || field.label
5513
- });
5514
- case "document_upload": return /* @__PURE__ */ jsx(PortalDocumentField, {
5515
- field,
5516
- value,
5517
- disabled,
5518
- error,
5519
- onChange,
5520
- onBusyChange,
5521
- createUploadUrl,
5522
- finalizeUpload
5523
- });
5524
- case "number":
5525
- case "date":
5526
- case "time":
5527
- case "email":
5528
- case "tel":
5529
- case "text":
5530
- case "url": return /* @__PURE__ */ jsx(ScalarQuestionInput, {
5531
- field,
5532
- value,
5533
- disabled,
5534
- error,
5535
- onChange
5536
- });
5537
- }
5538
- }
5539
5390
  function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, createUploadUrl, finalizeUpload, onRefresh }) {
5540
5391
  const [detail, setDetail] = React$1.useState(null);
5541
5392
  const [formValues, setFormValues] = React$1.useState({});
@@ -5543,7 +5394,9 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
5543
5394
  const [loading, setLoading] = React$1.useState(false);
5544
5395
  const [saving, setSaving] = React$1.useState(false);
5545
5396
  const [uploadingFieldIds, setUploadingFieldIds] = React$1.useState({});
5397
+ /** A failed load replaces the form; a failed save keeps it, with the message beside the buttons. */
5546
5398
  const [error, setError] = React$1.useState(null);
5399
+ const [saveError, setSaveError] = React$1.useState(null);
5547
5400
  const [open, setOpen] = React$1.useState(false);
5548
5401
  const hasActiveUploads = Object.values(uploadingFieldIds).some(Boolean);
5549
5402
  const viewOnly = detail?.status === "complete";
@@ -5551,11 +5404,12 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
5551
5404
  setOpen(true);
5552
5405
  setLoading(true);
5553
5406
  setError(null);
5407
+ setSaveError(null);
5554
5408
  setFieldErrors({});
5555
5409
  try {
5556
5410
  const loaded = await loadTask();
5557
5411
  setDetail(loaded);
5558
- setFormValues(Object.fromEntries(loaded.sections.flatMap((section) => section.items.map((field) => [field.id, getInitialFieldValue(field, loaded.answers)]))));
5412
+ setFormValues(initialBookingQuestionValues(loaded.sections, loaded.answers));
5559
5413
  } catch (loadError) {
5560
5414
  setError(loadError instanceof Error ? loadError.message : "Failed to load booking questions.");
5561
5415
  } finally {
@@ -5569,6 +5423,7 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
5569
5423
  setUploadingFieldIds({});
5570
5424
  setFieldErrors({});
5571
5425
  setError(null);
5426
+ setSaveError(null);
5572
5427
  }, []);
5573
5428
  const reportUploadBusy = React$1.useCallback((fieldId, busy) => {
5574
5429
  setUploadingFieldIds((current) => current[fieldId] === busy ? current : {
@@ -5577,20 +5432,29 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
5577
5432
  });
5578
5433
  }, []);
5579
5434
  const submit = React$1.useCallback(async () => {
5435
+ setSaveError(null);
5436
+ const unanswered = detail ? unansweredRequiredBookingQuestions(detail.sections, formValues) : [];
5437
+ if (unanswered.length > 0) {
5438
+ setFieldErrors(Object.fromEntries(unanswered.map((fieldId) => [fieldId, UNANSWERED_QUESTION_MESSAGE])));
5439
+ setSaveError(UNANSWERED_QUESTIONS_SUMMARY);
5440
+ return;
5441
+ }
5580
5442
  setSaving(true);
5581
- setError(null);
5582
5443
  setFieldErrors({});
5583
5444
  try {
5584
5445
  await saveTask({ answers: formValues });
5585
5446
  await onRefresh();
5586
5447
  closeTask();
5587
5448
  } catch (submitError) {
5588
- setError(submitError instanceof Error ? submitError.message : "Failed to save booking questions.");
5449
+ const failure = parseBookingSubmissionFailure(submitError, "We couldn’t save your answers. Please try again.", "answers.");
5450
+ setFieldErrors(failure.questionFieldErrors);
5451
+ setSaveError(failure.message);
5589
5452
  } finally {
5590
5453
  setSaving(false);
5591
5454
  }
5592
5455
  }, [
5593
5456
  closeTask,
5457
+ detail,
5594
5458
  formValues,
5595
5459
  onRefresh,
5596
5460
  saveTask
@@ -5609,67 +5473,36 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
5609
5473
  }) : detail ? /* @__PURE__ */ jsxs("div", {
5610
5474
  className: "rb-space-y-4",
5611
5475
  children: [
5612
- detail.introTitle ? /* @__PURE__ */ jsxs("div", {
5613
- className: "rb-space-y-1",
5614
- children: [/* @__PURE__ */ jsx("h3", {
5615
- className: "rb-font-medium",
5616
- children: detail.introTitle
5617
- }), detail.introBody ? /* @__PURE__ */ jsx("p", {
5618
- className: "rb-caption status-muted cp-before-you-come__body",
5619
- children: detail.introBody
5620
- }) : null]
5621
- }) : detail.introBody ? /* @__PURE__ */ jsx("p", {
5622
- className: "rb-caption status-muted cp-before-you-come__body",
5623
- children: detail.introBody
5476
+ /* @__PURE__ */ jsx(TaskIntro, { detail }),
5477
+ /* @__PURE__ */ jsx(BookingQuestionFields, {
5478
+ sections: detail.sections,
5479
+ values: formValues,
5480
+ fieldErrors,
5481
+ disabled: viewOnly || saving,
5482
+ showFirstSectionTitle: detail.shape === "detailed-questionnaire",
5483
+ onChange: (fieldId, next) => {
5484
+ setFormValues((current) => ({
5485
+ ...current,
5486
+ [fieldId]: next
5487
+ }));
5488
+ },
5489
+ renderDocumentField: (props) => /* @__PURE__ */ jsx(PortalDocumentField, {
5490
+ field: props.field,
5491
+ inputId: props.inputId,
5492
+ control: props.control,
5493
+ value: props.value,
5494
+ disabled: props.disabled,
5495
+ onChange: props.onChange,
5496
+ onBusyChange: (busy) => reportUploadBusy(props.field.id, busy),
5497
+ createUploadUrl,
5498
+ finalizeUpload
5499
+ })
5500
+ }),
5501
+ saveError ? /* @__PURE__ */ jsx("div", {
5502
+ className: "cp-alert cp-alert--error",
5503
+ role: "alert",
5504
+ children: saveError
5624
5505
  }) : null,
5625
- detail.sections.map((section, sectionIndex) => /* @__PURE__ */ jsxs("div", {
5626
- className: "rb-space-y-4",
5627
- children: [detail.shape === "detailed-questionnaire" || sectionIndex > 0 ? /* @__PURE__ */ jsxs("div", {
5628
- className: "rb-space-y-1",
5629
- children: [/* @__PURE__ */ jsx("h4", {
5630
- className: "rb-font-medium",
5631
- children: section.title
5632
- }), section.description ? /* @__PURE__ */ jsx("p", {
5633
- className: "rb-caption status-muted",
5634
- children: section.description
5635
- }) : null]
5636
- }) : null, section.items.map((field) => /* @__PURE__ */ jsxs("div", {
5637
- className: "cp-field",
5638
- children: [
5639
- /* @__PURE__ */ jsxs("label", {
5640
- htmlFor: field.id,
5641
- className: "form-label",
5642
- children: [field.label, field.required ? /* @__PURE__ */ jsx("span", {
5643
- className: "required-marker",
5644
- children: "*"
5645
- }) : null]
5646
- }),
5647
- field.helpText ? /* @__PURE__ */ jsx("p", {
5648
- className: "rb-caption status-muted",
5649
- children: field.helpText
5650
- }) : null,
5651
- /* @__PURE__ */ jsx(TaskFieldInput, {
5652
- field,
5653
- value: formValues[field.id] ?? getInitialFieldValue(field, {}),
5654
- disabled: viewOnly || saving,
5655
- error: fieldErrors[field.id] ?? null,
5656
- onChange: (next) => {
5657
- setFormValues((current) => ({
5658
- ...current,
5659
- [field.id]: next
5660
- }));
5661
- },
5662
- createUploadUrl,
5663
- finalizeUpload,
5664
- onBusyChange: (busy) => reportUploadBusy(field.id, busy)
5665
- }),
5666
- fieldErrors[field.id] ? /* @__PURE__ */ jsx("p", {
5667
- className: "rb-caption status-error",
5668
- children: fieldErrors[field.id]
5669
- }) : null
5670
- ]
5671
- }, field.id))]
5672
- }, section.id)),
5673
5506
  hasActiveUploads ? /* @__PURE__ */ jsx("p", {
5674
5507
  className: "rb-caption status-muted",
5675
5508
  children: "You can save once your file has finished uploading."
@@ -5696,6 +5529,20 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
5696
5529
  }) : null
5697
5530
  }) : null] });
5698
5531
  }
5532
+ function TaskIntro({ detail }) {
5533
+ const body = detail.introBody ? /* @__PURE__ */ jsx("p", {
5534
+ className: "rb-caption status-muted cp-before-you-come__body",
5535
+ children: detail.introBody
5536
+ }) : null;
5537
+ if (!detail.introTitle) return body;
5538
+ return /* @__PURE__ */ jsxs("div", {
5539
+ className: "rb-space-y-1",
5540
+ children: [/* @__PURE__ */ jsx("h3", {
5541
+ className: "rb-font-medium",
5542
+ children: detail.introTitle
5543
+ }), body]
5544
+ });
5545
+ }
5699
5546
  function TaskSummary({ task, session, onOpen }) {
5700
5547
  const { context } = usePortalDateDisplay();
5701
5548
  const summary = summarizeStatus(task, portalSessionDisplay(session, context));
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ProductDetailController } from "./shop-commerce-B2UmrQg_.mjs";
2
+ import { r as ProductDetailController } from "./shop-commerce-VDbVaKY-.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as ProductListController } from "./shop-commerce-B2UmrQg_.mjs";
2
+ import { i as ProductListController } from "./shop-commerce-VDbVaKY-.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-B3vIBkex.mjs";
3
- import { t as ProductDetailClient } from "./product-detail.client-7Pi6avM-.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-CXF5wxdg.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
3
+ import { t as ProductDetailClient } from "./product-detail.client-BFAgHrdg.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-BeuJiGPU.mjs";
5
5
  //#region src/rendering/islands/enhancers/productDetail.tsx
6
6
  const decode = defineIslandPropsDecoder("product-detail");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-B3vIBkex.mjs";
3
- import { t as ProductListClient } from "./product-list.client-DEad-Pma.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-CXF5wxdg.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-hhotPP6P.mjs";
3
+ import { t as ProductListClient } from "./product-list.client-DVrs_DyY.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-BeuJiGPU.mjs";
5
5
  //#region src/rendering/islands/enhancers/productList.tsx
6
6
  const decode = defineIslandPropsDecoder("product-list");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Dt as eventCalendarInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Nt as eventListingInteractiveIslandPropsCodec, R as newsletterFormInteractiveIslandPropsCodec, St as eventCombinedInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, _n as publicMembershipProductCollectionSchema, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, un as headerChromeRuntimeContractSchema, vn as publicPassProductCollectionSchema } from "./shop.interactive-mdM3UMWG.mjs";
3
- import { Ar as isDecodeSuccess, Dr as createZodCodec, Nn as bookingFormInteractiveIslandPropsCodec, Pr as lookListPresentationSchemaShape, wr as eventRegistrationPageSurfaceSubjectSchema } from "./wizardSteps-DtkhwKXK.mjs";
4
- import { W as eventVenueDrawingSchema, a as eventAutoApplyDiscountPreviewSchema, q as publicEventSchema } from "./noop-ByVtIWf4.mjs";
2
+ import { Cn as publicMembershipProductCollectionSchema, Dt as eventCalendarInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Nt as eventListingInteractiveIslandPropsCodec, R as newsletterFormInteractiveIslandPropsCodec, St as eventCombinedInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, gn as headerChromeRuntimeContractSchema, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, wn as publicPassProductCollectionSchema } from "./shop.interactive-C8OvFY06.mjs";
3
+ import { Un as bookingFormInteractiveIslandPropsCodec, Zr as eventRegistrationPageSurfaceSubjectSchema, ei as createZodCodec, ri as isDecodeSuccess, si as lookListPresentationSchemaShape } from "./wizardSteps-CFulHWnT.mjs";
4
+ import { I as publicEventSchema, P as eventVenueDrawingSchema, a as eventAutoApplyDiscountPreviewSchema } from "./noop-ByFRHYQ2.mjs";
5
5
  import { z } from "zod";
6
6
  //#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
7
7
  const eventDetailsLookSchemaShape = {
@@ -56,7 +56,8 @@ const arrangementCarouselSchema = z.object({
56
56
  "none"
57
57
  ]),
58
58
  slides: z.array(z.object({ title: z.string() })).min(1),
59
- cardList: z.boolean().optional()
59
+ cardList: z.boolean().optional(),
60
+ autoAdvance: z.boolean().optional()
60
61
  });
61
62
  const preReleaseCarouselSchema = legacyCarouselSettingsSchema.extend({
62
63
  mode: z.undefined().optional(),