@riverbankcms/sdk 0.166.0 → 0.167.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 (195) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +5 -0
  3. package/dist/_dts/{BlocksIslandsHydrator-CPvN6RBW.d.ts → BlocksIslandsHydrator-Dgb-ptph.d.ts} +1 -1
  4. package/dist/_dts/{Page-rW0xgQCA.d.ts → Page-Bs3WxFgr.d.ts} +8 -8
  5. package/dist/_dts/{SdkPreviewMode-BWZh2WCk.d.ts → SdkPreviewMode-DtUCsaHY.d.ts} +2 -2
  6. package/dist/_dts/{client-D4BXQEZc.d.ts → client-CwsI23pj.d.ts} +9 -1
  7. package/dist/_dts/{content-types-MUzta0l9.d.ts → content-types-CAeP_-cV.d.ts} +2 -2
  8. package/dist/_dts/{contracts-Cl9Xh1DO.d.ts → contracts-BXHCiF-b.d.ts} +8 -5
  9. package/dist/_dts/{footerPageOutline-4BgLKehl.d.ts → footerPageOutline-Bb2gbppW.d.ts} +6 -6
  10. package/dist/_dts/{generatePageMetadata-BsmJ0qKh.d.ts → generatePageMetadata-DaBBDx7M.d.ts} +2 -2
  11. package/dist/_dts/{index-ahxQCUc7.d.ts → index-5_jf52sZ.d.ts} +2 -2
  12. package/dist/_dts/{index-Bmboeb49.d.ts → index-C20yUyob.d.ts} +1 -1
  13. package/dist/_dts/{index-DdcwPqQN.d.ts → index-CS6b1B-c.d.ts} +4 -4
  14. package/dist/_dts/{index-wbBZ0awa.d.ts → index-ChpjHK0U.d.ts} +498 -74
  15. package/dist/_dts/{index-kQ5xkM6X.d.ts → index-D7EbliE3.d.ts} +1 -1
  16. package/dist/_dts/{index--qflsCiy.d.ts → index-DeHDwMfu.d.ts} +3 -3
  17. package/dist/_dts/{index-mMMvLLAJ.d.ts → index-RugyUnqR.d.ts} +207 -11
  18. package/dist/_dts/{index-BgJ2aU5c.d.ts → index-bDln38Hm.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-BG5IAV-V.d.ts → loadContent-CTqcL7CS.d.ts} +7 -7
  20. package/dist/_dts/{resolveBlockData-Cmcle_zV.d.ts → resolveBlockData-C3s9WMPs.d.ts} +5 -5
  21. package/dist/_dts/{resolvePageContent-BRJUTFoH.d.ts → resolvePageContent-JPwgRxwh.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +6 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +8 -5
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  55. package/dist/_dts/{types-DuiHLiPo.d.ts → types-BlaCuPLr.d.ts} +2 -2
  56. package/dist/_dts/{types-BX3Y-EW3.d.ts → types-CwtTcaQP.d.ts} +3 -3
  57. package/dist/_dts/{types-DF54stxv.d.ts → types-D-WElMCy.d.ts} +7 -7
  58. package/dist/_dts/{validation-Bxi0f81D.d.ts → validation-Y5wD9fGK.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-DwiRGtgh.mjs → BlocksIslandsHydrator-DFqkx158.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-DOWOZYlK.mjs → BookingMailingListNote-CCVXX1LN.mjs} +1 -1
  61. package/dist/client/{CalendarNavigationChevron-5a0x0vcC.mjs → CalendarNavigationChevron-DQwJ7BPx.mjs} +165 -16
  62. package/dist/client/{DemoBookingPortalAccess-B2qLkPRB.mjs → DemoBookingPortalAccess-DdkY86qI.mjs} +3 -3
  63. package/dist/client/{EventCalendar.client-BhADnDCg.mjs → EventCalendar.client-DAeQPV76.mjs} +10 -29
  64. package/dist/client/{EventCombined.client-jik34zTb.mjs → EventCombined.client-Bus9R0bj.mjs} +136 -60
  65. package/dist/client/{EventItem-CMKrtkT7.mjs → EventItem-DPBLjGwj.mjs} +53 -6
  66. package/dist/client/{EventListWeekNavigation-AGHjxy6C.mjs → EventListWeekNavigation-D6cwU82_.mjs} +1 -1
  67. package/dist/client/{EventListing.client-DZeDM0Qt.mjs → EventListing.client-Bogi_SnJ.mjs} +3 -3
  68. package/dist/client/{EventListing.view-3BBRdNVa.mjs → EventListing.view-CEumpN7i.mjs} +13 -40
  69. package/dist/client/{EventRegistrationPayment-CpNcpga4.mjs → EventRegistrationPayment-CIQw6vNy.mjs} +13 -8
  70. package/dist/client/{LocationMapActions-D5-H9ooQ.mjs → LocationMapActions-BVO-qx4q.mjs} +1 -1
  71. package/dist/client/{MapDrawingSvg-C30geMl-.mjs → MapDrawingSvg-CcGaFawl.mjs} +22 -2
  72. package/dist/client/{Page-DNDZLRlB.mjs → Page-D4_H_u9V.mjs} +22658 -21604
  73. package/dist/client/{StepIndicator-Bin7YR0A.mjs → StepIndicator-Dptantmg.mjs} +1 -1
  74. package/dist/client/{TabBarFragment-_IAthZVM.mjs → TabBarFragment-BxEGsKUx.mjs} +18 -18
  75. package/dist/client/{accordion-uVqNowRX.mjs → accordion--EUHmEGa.mjs} +1 -1
  76. package/dist/client/{booking-form.client-w-PvyWBv.mjs → booking-form.client-BCXwOnhc.mjs} +9 -9
  77. package/dist/client/{bookingForm-DNMojb6A.mjs → bookingForm-sHHcdism.mjs} +4 -4
  78. package/dist/client/bookings.mjs +5 -5
  79. package/dist/client/{carousel-C8kxI3Dm.mjs → carousel-Cp9xPBFZ.mjs} +1 -1
  80. package/dist/client/{cart-DCxjE3Is.mjs → cart-CCZZC-Lq.mjs} +3 -3
  81. package/dist/client/{cart.client-Ceeng8fB.mjs → cart.client-B7JfA19I.mjs} +1 -1
  82. package/dist/client/{checkout-B0EKbeVv.mjs → checkout-CipmYL4A.mjs} +3 -3
  83. package/dist/client/{checkout.client-DtPj3fYk.mjs → checkout.client-DraalWdH.mjs} +1 -1
  84. package/dist/client/client.mjs +89 -6
  85. package/dist/client/{context-n6IZigd3.mjs → context-Cv3QHjAF.mjs} +4 -1
  86. package/dist/client/{cta-CDeAwYoN.mjs → cta-P2vJVTEn.mjs} +1 -1
  87. package/dist/client/{dateFormatting-BWPzdeZE.mjs → dateFormatting-D8D47VT4.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-BdXu0fj-.mjs → demoPortalMagicLink-CXWZoV-d.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-VHfv8M6-.mjs → enhanceHeaderSection-BkAro1DJ.mjs} +3 -3
  90. package/dist/client/{event-details.client-Cfr1_Cj4.mjs → event-details.client-dLmyuPap.mjs} +1 -1
  91. package/dist/client/{event-registration.client-BhygihpQ.mjs → event-registration.client-BEhC2_-Y.mjs} +11 -14
  92. package/dist/client/{eventCalendar-B4XCL9u6.mjs → eventCalendar-FBMS2Cpb.mjs} +4 -4
  93. package/dist/client/{eventCombined-DVjz4wdf.mjs → eventCombined-BrBhUvGe.mjs} +4 -4
  94. package/dist/client/{eventDetails-B0DA1Nw1.mjs → eventDetails-C7WUrbZ2.mjs} +2 -2
  95. package/dist/client/{eventListing-2-xjn2nz.mjs → eventListing-Bih-BgQM.mjs} +4 -4
  96. package/dist/client/{eventRegistration-ng4iGo9O.mjs → eventRegistration-DfTlqGbl.mjs} +4 -4
  97. package/dist/client/{form-BeNQiZ2V.mjs → form-Bw1uuiUs.mjs} +3 -3
  98. package/dist/client/{form.client-BFdCKlp7.mjs → form.client-pZ-9gN33.mjs} +3 -3
  99. package/dist/client/{form.parts-C7gLK3jh.mjs → form.parts-PXlu6XQO.mjs} +1 -1
  100. package/dist/client/{formatDate-CWfelfMt.mjs → formatDate-DI3DP48e.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +2 -2
  102. package/dist/client/{headerSection-CalNAShx.mjs → headerSection-BpJYUMd6.mjs} +2 -2
  103. package/dist/client/{newsletter-form.client-Dq7GHGXU.mjs → newsletter-form.client-CSoP0cGR.mjs} +4 -4
  104. package/dist/client/{newsletter-form.parts-BSMDYQiS.mjs → newsletter-form.parts-DDbX_Sj0.mjs} +1 -1
  105. package/dist/client/{newsletterForm-snzZ4L6i.mjs → newsletterForm-vCxYRar_.mjs} +3 -3
  106. package/dist/client/{noop-D-RG9eR3.mjs → noop-ByVtIWf4.mjs} +28 -4
  107. package/dist/client/portal/client.mjs +8 -8
  108. package/dist/client/{product-detail.client-Gu0INDb7.mjs → product-detail.client-7Pi6avM-.mjs} +1 -1
  109. package/dist/client/{product-list.client-BmH40fNf.mjs → product-list.client-DEad-Pma.mjs} +1 -1
  110. package/dist/client/{productDetail-DsPUmJ0z.mjs → productDetail-G1SMXG13.mjs} +3 -3
  111. package/dist/client/{productList-DjGrjOwD.mjs → productList-B21TGdpT.mjs} +3 -3
  112. package/dist/client/{propsDecoder-kTVPMnfD.mjs → propsDecoder-B3vIBkex.mjs} +3 -4
  113. package/dist/client/{registry.server-CKK_RXZo.mjs → registry.server-B8aQhJpO.mjs} +205 -178
  114. package/dist/client/rendering/client.mjs +25 -25
  115. package/dist/client/rendering/islands.mjs +1 -1
  116. package/dist/client/rendering.mjs +5 -5
  117. package/dist/client/{richText-coerce-BcjTX-7h.mjs → richText-coerce-DHkBtO0G.mjs} +1 -1
  118. package/dist/client/{routeIslandApiConfig-CaXesATK.mjs → routeIslandApiConfig-DbHX4JOS.mjs} +1 -1
  119. package/dist/client/{shop-commerce-BxYYXLNK.mjs → shop-commerce-B2UmrQg_.mjs} +9 -9
  120. package/dist/client/{shop-commerce-store-Dp3Nl5YK.mjs → shop-commerce-store-B7n-Z7nY.mjs} +1 -1
  121. package/dist/client/{shop-DLufMauE.mjs → shop-mqyoOvOK.mjs} +3 -3
  122. package/dist/client/{shop.client-CBy9_alG.mjs → shop.client-BH-BBnA9.mjs} +10 -10
  123. package/dist/client/{shop.interactive-BM0NRsFQ.mjs → shop.interactive-mdM3UMWG.mjs} +30 -6
  124. package/dist/client/{shopShared-lS23OQE-.mjs → shopShared-CXF5wxdg.mjs} +2 -2
  125. package/dist/client/site-styles-CMCUxsIM.mjs +3 -0
  126. package/dist/client/{site-styles-DELkUk9s.mjs → site-styles-D56hT2u1.mjs} +1637 -406
  127. package/dist/client/{timetableModel-DzRWikCU.mjs → timetableModel-CrC80EOG.mjs} +11 -156
  128. package/dist/client/{useAvailableSlots-C3LphWDX.mjs → useAvailableSlots-C4LOaI_Z.mjs} +2 -2
  129. package/dist/client/{useBookingNowIso-Da-f9iHw.mjs → useBookingNowIso-BDmWkYUW.mjs} +1 -1
  130. package/dist/client/{useDiscountApply-SLoWhcen.mjs → useDiscountApply-6Q0nToVA.mjs} +1 -1
  131. package/dist/client/{useDiscountCodeUi-D6a2BJij.mjs → useDiscountCodeUi-CM-DTX5X.mjs} +1 -1
  132. package/dist/client/{useEventPagination-Ccr4TZlm.mjs → useEventPagination-Bcs89BR5.mjs} +5 -5
  133. package/dist/client/{view-DAVEoe8A.mjs → view-BN-fxyfq.mjs} +16 -11
  134. package/dist/client/{view-8w4GA8rf.mjs → view-Dh2tGoS0.mjs} +3 -3
  135. package/dist/client/{wizardSteps-DNpajrAH.mjs → wizardSteps-DtkhwKXK.mjs} +17 -10
  136. package/dist/preview-next/client/{ArrangementLookControls-DY5TzhEa.mjs → ArrangementLookControls-D4VjPs-r.mjs} +3 -3
  137. package/dist/preview-next/client/{PreviewEditorSidebar-DdnhmdFO.mjs → PreviewEditorSidebar-Ckr2zk_L.mjs} +309 -111
  138. package/dist/preview-next/client/{PreviewEditorUI-C7ZmYE33.mjs → PreviewEditorUI-KOZgw_gS.mjs} +5 -5
  139. package/dist/preview-next/client/{PreviewShell-DnO38NaL.mjs → PreviewShell-CyO2V4kB.mjs} +58 -8
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-D2OtoRMB.mjs → SdkPreviewModeRuntime-DW3uKvNF.mjs} +7 -7
  141. package/dist/preview-next/client/{SiteChromeCustomizeButton-eIu2RejJ.mjs → SiteChromeCustomizeButton-CU9VD-7O.mjs} +17439 -16381
  142. package/dist/preview-next/client/{previewAssistantSlot-Bp1AlAxx.mjs → previewAssistantSlot-DBi-WybM.mjs} +2014 -381
  143. package/dist/preview-next/client/{previewChromeSurface-D2cREDJ5.mjs → previewChromeSurface-BhkUJst9.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-DK0PUhLL.mjs → sdk-runtime-BjCb6lOn.mjs} +2 -2
  146. package/dist/preview-next/client/{useAutosaveStatus--Pw8vnef.mjs → useAutosaveStatus-CKxTaC3j.mjs} +1 -1
  147. package/dist/preview-next/client/{useBlockCustomizeControls-C1Rl73N4.mjs → useBlockCustomizeControls-B7MLTjBX.mjs} +1 -92
  148. package/dist/preview-next/client/{useOpenBlockForSetup-CL3842FM.mjs → useOpenBlockForSetup-BTUc0g9X.mjs} +1 -1
  149. package/dist/preview-next/keepAlive.mjs +1 -1
  150. package/dist/preview-next/middleware.mjs +1 -1
  151. package/dist/preview-next/{route-contract-Bq7SUX3K.mjs → route-contract-Bv3nkdpV.mjs} +83 -0
  152. package/dist/server/{Block.shared-wXr7Iwhs.mjs → Block.shared-4fMqzltx.mjs} +4 -4
  153. package/dist/server/{ThemeScopeCore-BI2mld9R.mjs → ThemeScopeCore-C72VC_lR.mjs} +756 -64
  154. package/dist/server/{accessibleSurfaces-CuN8U_iU.mjs → accessibleSurfaces-B_Y_dA20.mjs} +300 -97
  155. package/dist/server/{bindings-DjdUq9FR.mjs → bindings-ConMYJ2U.mjs} +1 -1
  156. package/dist/server/{client-07UeMDzA.mjs → client-Cot-H5fQ.mjs} +88 -5
  157. package/dist/server/config-validation.mjs +1 -1
  158. package/dist/server/config.mjs +1 -1
  159. package/dist/server/data/resolveBlockData.mjs +1 -1
  160. package/dist/server/index.mjs +2 -2
  161. package/dist/server/{loadContent-ClpaSlBb.mjs → loadContent-BkaWYEwt.mjs} +4 -4
  162. package/dist/server/{loadPage-BwtVqpaA.mjs → loadPage-kviUdH8c.mjs} +2 -2
  163. package/dist/server/metadata.mjs +5 -1
  164. package/dist/server/next/revalidate.mjs +9 -4
  165. package/dist/server/next.mjs +6 -6
  166. package/dist/server/{opaqueSurface-3YSDPtDe.mjs → opaqueSurface-BTnS09GS.mjs} +2 -2
  167. package/dist/server/{overrideResolution-Du_w3LY4.mjs → overrideResolution-itXZCXs7.mjs} +1 -1
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{pageRenderPlan-BShULdc2.mjs → pageRenderPlan-CDyn7iLy.mjs} +132 -25
  170. package/dist/server/{pageRuntimeSupport-C4Dh5-mB.mjs → pageRuntimeSupport-DZ6cLxrM.mjs} +2 -2
  171. package/dist/server/{pageShared-HdKFBpaX.mjs → pageShared-Q_Vij87H.mjs} +11752 -11549
  172. package/dist/server/{parseThemeForPersistence-CJMrEkze.mjs → parseThemeForPersistence-CDrF51tJ.mjs} +2 -2
  173. package/dist/server/{prebuild-Cl-bkaMA.mjs → prebuild-DOG4MkOy.mjs} +1 -1
  174. package/dist/server/prebuild.mjs +1 -1
  175. package/dist/server/{prefetchBlockData-C4yUmz-r.mjs → prefetchBlockData-DlprLLsc.mjs} +3 -33
  176. package/dist/server/{registry-TFPJdGQi.mjs → registry-BPFcpn6k.mjs} +1326 -181
  177. package/dist/server/rendering/components/pageShared.mjs +1 -1
  178. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  179. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  180. package/dist/server/rendering/server.mjs +3 -3
  181. package/dist/server/rendering.mjs +7 -7
  182. package/dist/server/{resolveBlockData-OHlOXlOE.mjs → resolveBlockData-BHvfGD4y.mjs} +1 -1
  183. package/dist/server/{resolveButtonColourStates-lry2ORwX.mjs → resolveButtonColourStates-OXFRGn5M.mjs} +15 -5
  184. package/dist/server/responseMedia-D8J3VAFs.mjs +115 -0
  185. package/dist/server/{schema-C2PqHrMo.mjs → schema-DEizlyi4.mjs} +4 -3
  186. package/dist/server/server.mjs +3 -3
  187. package/dist/server/theme-bridge.mjs +2 -2
  188. package/dist/server/theme.mjs +2 -2
  189. package/dist/server/{validation-DIBFZeMB.mjs → validation-bl6WcAi_.mjs} +6 -6
  190. package/dist/server/{version-DZWZM1H6.mjs → version-BLXZ31S-.mjs} +1 -1
  191. package/dist/styles/index.css +696 -25
  192. package/package.json +1 -1
  193. package/dist/client/events-BmqPeeQm.mjs +0 -20
  194. package/dist/client/site-styles-D8jEPGxA.mjs +0 -3
  195. package/dist/server/publicProducts-W9hDRwjz.mjs +0 -64
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ht as SURFACE_DOCUMENT_DATA_ATTRIBUTE, Sm as cn, Ut as SURFACE_IDS, Wt as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-Bp1AlAxx.mjs";
2
+ import { Ht as SURFACE_DOCUMENT_DATA_ATTRIBUTE, Mm as cn, Ut as SURFACE_IDS, Wt as resolveSurfaceDocumentAttributes } from "./previewAssistantSlot-DBi-WybM.mjs";
3
3
  import { createContext, useContext, useEffect, useMemo, useReducer, useRef } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../ui/src/fixed-bottom-surface.tsx
@@ -5,13 +5,13 @@ import React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/preview-next/client/runtime.tsx
7
7
  const LazySdkPreviewMode = React.lazy(async () => {
8
- return { default: (await import("./SdkPreviewModeRuntime-D2OtoRMB.mjs")).SdkPreviewModeRuntime };
8
+ return { default: (await import("./SdkPreviewModeRuntime-DW3uKvNF.mjs")).SdkPreviewModeRuntime };
9
9
  });
10
10
  const LazyPreviewShell = React.lazy(async () => {
11
- return { default: (await import("./sdk-runtime-DK0PUhLL.mjs")).PreviewShell };
11
+ return { default: (await import("./sdk-runtime-BjCb6lOn.mjs")).PreviewShell };
12
12
  });
13
13
  const LazyPreviewShellLayout = React.lazy(async () => {
14
- return { default: (await import("./sdk-runtime-DK0PUhLL.mjs")).PreviewShellLayout };
14
+ return { default: (await import("./sdk-runtime-BjCb6lOn.mjs")).PreviewShellLayout };
15
15
  });
16
16
  function SdkPreviewMode(props) {
17
17
  return /* @__PURE__ */ jsx(React.Suspense, {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  import "./PreviewQueryProvider-BC0V7iAR.mjs";
3
- import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-DnO38NaL.mjs";
4
- import "./SdkPreviewModeRuntime-D2OtoRMB.mjs";
3
+ import { n as PreviewShellLayout, t as PreviewShell } from "./PreviewShell-CyO2V4kB.mjs";
4
+ import "./SdkPreviewModeRuntime-DW3uKvNF.mjs";
5
5
  export { PreviewShell, PreviewShellLayout };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Cm as useShallow, Sm as cn, Z as useSessionJournal, en as useEditorUiStore, ln as selectAutosaveStatus, pm as Primitive, un as selectEditorWriteState, xn as useStore } from "./previewAssistantSlot-Bp1AlAxx.mjs";
2
+ import { Cm as Primitive, Mm as cn, Nm as useShallow, Z as useSessionJournal, en as useEditorUiStore, ln as selectAutosaveStatus, un as selectEditorWriteState, xn as useStore } from "./previewAssistantSlot-DBi-WybM.mjs";
3
3
  import { M as LoaderCircle } from "./lucide-react-CPBCf6QT.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { $p as Root2$1, A as usePreviewRenderReadiness, An as manifestFieldSectionOptions, Fp as ReactRemoveScroll, Gp as Item, Hn as parseBackgroundColorToken, I_ as syncStateOf, Jn as createCustomBlockRegistry, Jp as Presence, Kp as Root, Mf as augmentManifestWithStyleGroups, Np as menuItemInteractionClassName, On as createManifestFormAdapter, P as lookTilesFor, Pa as eventCalendarListGroupingDecision, Pp as menuTriggerInteractionClassName, Qp as Content, Sm as cn, Wn as parseCanonicalSectionBackground, Wp as hideOthers, Xm as isThemeV2NormalEditorRawStyleFieldName, Xn as fieldsNotShownIn, Xp as Anchor, Yn as mergeBlockDescriptorsWithRegistry, Yp as Portal$2, Zm as isThemeV2NormalEditorRawStylePath, Zp as Arrow, _r as getBlockDefinition, am as DismissableLayer, an as shouldRevealAllBlockFieldValidation, bm as composeRefs, cm as createCollection, cr as resolveFieldOwnership, dm as createContextScope, dr as systemCustomizeFacetAppliesToLayoutVariant, em as createPopperScope, fd as resolveVisiblePromotedFieldPathsForEditorBlock, ff as lookModes, fm as composeEventHandlers, fr as systemCustomizeFacetDefinitionForBlock, gr as resolveArrangementKnobs, gt as derivePromotedFieldPlan, hd as sectionPhotoPresence, hr as arrangementKnobChoices, im as useFocusGuards, ip as Root$1, kd as getCuratedSiteStyle, lm as useControllableState, md as decideSectionPhoto, mm as dispatchDiscreteCustomEvent, mr as systemCustomizeFacetStoredValue, nm as useId$1, o as usePreviewPageDesignEditorState, od as resolveEditorArrangementLook, om as useCallbackRef, pm as Primitive, pr as systemCustomizeFacetDefinitionsForBlock, qp as createRovingFocusGroupScope, rm as FocusScope, si as eventCalendarPagingFields, sm as useDirection, sr as fieldPathsOwnedBy, ur as isSystemCustomizeFacetId, vm as createSlot, xd as readStoredMode, xm as useComposedRefs, yd as lookDefinitionForId, ym as createSlottable, zg as asSiteStyleId } from "./previewAssistantSlot-Bp1AlAxx.mjs";
2
+ import { A as usePreviewRenderReadiness, Ad as readStoredMode, Am as composeRefs, An as manifestFieldSectionOptions, Cd as decideSectionPhoto, Cm as Primitive, Gp as ReactRemoveScroll, Hf as augmentManifestWithStyleGroups, Hn as parseBackgroundColorToken, Jn as createCustomBlockRegistry, La as eventCalendarListGroupingDecision, Mm as cn, Od as lookDefinitionForId, Om as createSlot, On as createManifestFormAdapter, P as lookTilesFor, Rd as getCuratedSiteStyle, Sf as lookModes, Sm as composeEventHandlers, Up as menuItemInteractionClassName, Wn as parseCanonicalSectionBackground, Wp as menuTriggerInteractionClassName, Xn as mergeManifestWithSdkOptions, Yn as mergeBlockDescriptorsWithRegistry, Z_ as syncStateOf, Zn as fieldsNotShownIn, _m as useDirection, _r as resolveArrangementKnobs, am as Portal$2, an as shouldRevealAllBlockFieldValidation, ci as eventCalendarPagingFields, cm as Content, cr as fieldPathsOwnedBy, dr as isSystemCustomizeFacetId, e_ as asSiteStyleId, em as hideOthers, fm as useId$1, fr as systemCustomizeFacetAppliesToLayoutVariant, gm as useCallbackRef, gr as arrangementKnobChoices, gt as derivePromotedFieldPlan, hd as resolveEditorArrangementLook, hm as DismissableLayer, hr as systemCustomizeFacetStoredValue, im as Presence, jm as useComposedRefs, km as createSlottable, lm as Root2$1, lr as resolveFieldOwnership, mm as useFocusGuards, mp as Root$1, mr as systemCustomizeFacetDefinitionsForBlock, nm as Root, o as usePreviewPageDesignEditorState, oh as isThemeV2NormalEditorRawStyleFieldName, om as Anchor, pm as FocusScope, pr as systemCustomizeFacetDefinitionForBlock, rm as createRovingFocusGroupScope, sh as isThemeV2NormalEditorRawStylePath, sm as Arrow, tm as Item, um as createPopperScope, vm as createCollection, vr as getBlockDefinition, wd as sectionPhotoPresence, wm as dispatchDiscreteCustomEvent, xd as resolveVisiblePromotedFieldPathsForEditorBlock, xm as createContextScope, ym as useControllableState } from "./previewAssistantSlot-DBi-WybM.mjs";
3
3
  import { ft as ChevronRight, ht as Check, ot as Circle } from "./lucide-react-CPBCf6QT.mjs";
4
4
  import * as React$1 from "react";
5
5
  import { createContext, useContext, useMemo } from "react";
@@ -1753,97 +1753,6 @@ function hideUnavailableColourFields(manifest, options) {
1753
1753
  };
1754
1754
  }
1755
1755
  //#endregion
1756
- //#region ../block-form/src/manifest/mergeManifestWithSdkOptions.ts
1757
- /**
1758
- * Merges SDK-provided field options AND field extensions into a block manifest.
1759
- *
1760
- * This creates a single source of truth for validation and rendering:
1761
- * 1. Field options: Replaces select options for fields with `ui.widget: 'sdkSelect'`
1762
- * 2. Field extensions: Appends additional fields to the end of the manifest
1763
- *
1764
- * Without this merge, the Zod validation schema is built from manifest's
1765
- * hardcoded options, but SdkSelectField renders SDK options - causing
1766
- * validation errors when users select SDK-provided values.
1767
- *
1768
- * @example
1769
- * // Field options: Embed block manifest has options [list, grid, carousel]
1770
- * // SDK config provides options [showcase, list]
1771
- * // After merge, manifest.fields[layoutField].options = [showcase, list]
1772
- *
1773
- * @example
1774
- * // Field extensions: Body text block has [body] field
1775
- * // SDK config extends with [layout] field
1776
- * // After merge, manifest.fields = [body, layout]
1777
- */
1778
- function mergeManifestWithSdkOptions(manifest, blockKind, sdkBlockFieldOptions, sdkBlockFieldExtensions) {
1779
- const blockOptions = sdkBlockFieldOptions?.[blockKind];
1780
- return mergeFieldExtension(blockOptions ? {
1781
- ...manifest,
1782
- fields: manifest.fields.map((field) => mergeFieldWithSdkOptions(field, blockOptions))
1783
- } : manifest, sdkBlockFieldExtensions?.[blockKind]);
1784
- }
1785
- /**
1786
- * Recursively merges SDK options into a single field.
1787
- * Handles nested fields in groups, repeaters, modals, and tab groups.
1788
- */
1789
- function mergeFieldWithSdkOptions(field, blockOptions) {
1790
- if (field.type === "select") return mergeSelectField(field, blockOptions);
1791
- if (field.type === "group" && field.schema?.fields) return {
1792
- ...field,
1793
- schema: { fields: field.schema.fields.map((f) => mergeFieldWithSdkOptions(f, blockOptions)) }
1794
- };
1795
- if (field.type === "modal" && field.schema?.fields) return {
1796
- ...field,
1797
- schema: { fields: field.schema.fields.map((f) => mergeFieldWithSdkOptions(f, blockOptions)) }
1798
- };
1799
- if (field.type === "repeater") {
1800
- if (field.schema?.fields) return {
1801
- ...field,
1802
- schema: { fields: field.schema.fields.map((f) => mergeFieldWithSdkOptions(f, blockOptions)) }
1803
- };
1804
- if (field.itemTypes) {
1805
- const mergedItemTypes = Object.fromEntries(Object.entries(field.itemTypes).map(([key, itemType]) => [key, {
1806
- ...itemType,
1807
- fields: itemType.fields.map((f) => mergeFieldWithSdkOptions(f, blockOptions))
1808
- }]));
1809
- return {
1810
- ...field,
1811
- itemTypes: mergedItemTypes
1812
- };
1813
- }
1814
- }
1815
- if (field.type === "tabGroup" && field.tabs) return {
1816
- ...field,
1817
- tabs: field.tabs.map((tab) => ({
1818
- ...tab,
1819
- fields: tab.fields.map((f) => mergeFieldWithSdkOptions(f, blockOptions))
1820
- }))
1821
- };
1822
- return field;
1823
- }
1824
- /**
1825
- * Merges SDK options into a select field if it uses the sdkSelect widget.
1826
- * Returns the original field unchanged if it doesn't use sdkSelect or has no SDK options.
1827
- */
1828
- function mergeSelectField(field, blockOptions) {
1829
- if (field.ui?.widget !== "sdkSelect") return field;
1830
- const sdkFieldConfig = blockOptions[field.id];
1831
- if (!sdkFieldConfig?.options?.length) return field;
1832
- return {
1833
- ...field,
1834
- options: sdkFieldConfig.options
1835
- };
1836
- }
1837
- function mergeFieldExtension(manifest, extension) {
1838
- if (!extension || !extension.fields.length && !extension.lookField && !extension.promotedFields?.length) return manifest;
1839
- return {
1840
- ...manifest,
1841
- fields: [...manifest.fields, ...extension.fields],
1842
- lookField: extension.lookField ?? manifest.lookField,
1843
- promotedFields: [...manifest.promotedFields ?? [], ...extension.promotedFields ?? []]
1844
- };
1845
- }
1846
- //#endregion
1847
1756
  //#region ../editor-blocks/src/block-editor/settingsIntent.ts
1848
1757
  function isThemeV2NormalEditorRawStyleField(field) {
1849
1758
  return isThemeV2NormalEditorRawStyleFieldName(field.id);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as usePreviewSidebarNavigation, tn as useEditorUiStoreInstance } from "./previewAssistantSlot-Bp1AlAxx.mjs";
2
+ import { i as usePreviewSidebarNavigation, tn as useEditorUiStoreInstance } from "./previewAssistantSlot-DBi-WybM.mjs";
3
3
  //#region ../preview-next/src/client/blocks/useOpenBlockForSetup.ts
4
4
  /**
5
5
  * Opens a block in the sidebar, at the field that needs filling in when
@@ -1,5 +1,5 @@
1
1
  import { i as PREVIEW_REFRESH_COOKIE_NAME, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
2
- import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-Bq7SUX3K.mjs";
2
+ import { n as buildPreviewAuthRefreshUrl, r as setPreviewAuthCookies } from "./route-contract-Bv3nkdpV.mjs";
3
3
  import { t as decodeJwtPayload } from "./jwt-BHfnwjzx.mjs";
4
4
  import { NextResponse } from "next/server";
5
5
  import { z } from "zod";
@@ -1,5 +1,5 @@
1
1
  import { t as PREVIEW_CODE_PARAM } from "./constants-Bf-vqdKH.mjs";
2
- import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-Bq7SUX3K.mjs";
2
+ import { i as setPreviewTilesKeyCookie, r as setPreviewAuthCookies, t as buildPreviewAuthExchangeUrl } from "./route-contract-Bv3nkdpV.mjs";
3
3
  import { NextResponse } from "next/server";
4
4
  //#region ../preview-next/src/middleware.ts
5
5
  const EXCHANGE_CODE_PATTERN = /^[A-Za-z0-9_-]{40,256}$/;
@@ -2944,6 +2944,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2944
2944
  auth: "admin",
2945
2945
  responseKind: "json"
2946
2946
  },
2947
+ /** Give a self-serve subscription free time: its trial ends on the chosen date. */
2948
+ adminGrantTrial: {
2949
+ path: "/admin/billing/trial-grant",
2950
+ method: "POST",
2951
+ tags: ["admin", "billing"],
2952
+ auth: "admin",
2953
+ responseKind: "json",
2954
+ errors: []
2955
+ },
2947
2956
  changePlan: {
2948
2957
  path: "/billing/plan/change",
2949
2958
  method: "POST",
@@ -3330,6 +3339,54 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
3330
3339
  * person when nothing is attached to them.
3331
3340
  */
3332
3341
  const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3342
+ previewPersonRemoval: {
3343
+ path: "/sites/{siteId}/bookings/people/{personId}/removal-preview",
3344
+ method: "GET",
3345
+ auth: "user",
3346
+ responseKind: "json",
3347
+ tags: ["site-{siteId}", "customers-{siteId}"],
3348
+ errors: [
3349
+ "auth:forbidden",
3350
+ "resource:not_found",
3351
+ "server:internal_error"
3352
+ ]
3353
+ },
3354
+ removePerson: {
3355
+ path: "/sites/{siteId}/bookings/people/{personId}/removal",
3356
+ method: "POST",
3357
+ auth: "user",
3358
+ responseKind: "json",
3359
+ tags: ["site-{siteId}", "customers-{siteId}"],
3360
+ errors: [
3361
+ "auth:forbidden",
3362
+ "resource:not_found",
3363
+ "server:internal_error"
3364
+ ]
3365
+ },
3366
+ getPersonRemovalStatus: {
3367
+ path: "/sites/{siteId}/bookings/people/{personId}/removal",
3368
+ method: "GET",
3369
+ auth: "user",
3370
+ responseKind: "json",
3371
+ tags: ["site-{siteId}", "customers-{siteId}"],
3372
+ errors: [
3373
+ "auth:forbidden",
3374
+ "resource:not_found",
3375
+ "server:internal_error"
3376
+ ]
3377
+ },
3378
+ exportPersonData: {
3379
+ path: "/sites/{siteId}/bookings/people/{personId}/export.json",
3380
+ method: "GET",
3381
+ auth: "user",
3382
+ responseKind: "blob",
3383
+ tags: ["site-{siteId}", "customers-{siteId}"],
3384
+ errors: [
3385
+ "auth:forbidden",
3386
+ "resource:not_found",
3387
+ "server:internal_error"
3388
+ ]
3389
+ },
3333
3390
  getBookingPerson: {
3334
3391
  path: "/sites/{siteId}/bookings/people/{personId}",
3335
3392
  method: "GET",
@@ -4728,6 +4785,20 @@ const API_ENDPOINTS = {
4728
4785
  errors: ["resource:not_found", "server:internal_error"],
4729
4786
  responseKind: "json"
4730
4787
  },
4788
+ updateFooterCredit: {
4789
+ path: "/sites/{siteId}/settings/footer-credit",
4790
+ method: "POST",
4791
+ tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
4792
+ auth: "user",
4793
+ demoMutation: DEMO_MUTATION_ALLOWED,
4794
+ errors: [
4795
+ "auth:forbidden",
4796
+ "validation:invalid_input",
4797
+ "resource:not_found",
4798
+ "server:internal_error"
4799
+ ],
4800
+ responseKind: "json"
4801
+ },
4731
4802
  updateFooterComposition: {
4732
4803
  editLease: "unleased-editor",
4733
4804
  path: "/sites/{siteId}/settings/footer-composition",
@@ -5085,6 +5156,18 @@ const API_ENDPOINTS = {
5085
5156
  auth: "user",
5086
5157
  responseKind: "json"
5087
5158
  },
5159
+ accountAnswerHeardFrom: {
5160
+ path: "/account/heard-from",
5161
+ method: "POST",
5162
+ tags: ["account"],
5163
+ auth: "user",
5164
+ errors: [
5165
+ "auth:unauthenticated",
5166
+ "validation:invalid_input",
5167
+ "server:internal_error"
5168
+ ],
5169
+ responseKind: "json"
5170
+ },
5088
5171
  accountRevokeSessions: {
5089
5172
  path: "/account/sessions/revoke",
5090
5173
  method: "POST",
@@ -1,8 +1,8 @@
1
- import { Fn as siteHeaderManifest, Pn as siteFooterManifest, Un as readRuntimeNow, Wn as resolveDateRuntimeContext, go as toUtcIsoDateTimeString, lt as setContextResolveImageUrlContext, st as buildResolveImageUrlContext, t as getBlockDefinition } from "./registry-TFPJdGQi.mjs";
2
- import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-HdKFBpaX.mjs";
3
- import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-C4Dh5-mB.mjs";
1
+ import { Fn as siteFooterManifest, Gn as resolveDateRuntimeContext, In as siteHeaderManifest, Wn as readRuntimeNow, ct as buildResolveImageUrlContext, t as getBlockDefinition, ut as setContextResolveImageUrlContext, yo as toUtcIsoDateTimeString } from "./registry-BPFcpn6k.mjs";
2
+ import { _ as parseBlocksTheme, a as planLayoutThemeRuntime, b as getDefaultComponentRegistry, c as solvedInksForThemeRuntime, f as PageRenderer, g as buildThemeRuntime, m as toBlocksImageResolveContextInput, o as renderWithOverrideOnlyRuntime, s as renderWithSdkThemeRuntime, v as makeDefaultBlockComponent, y as renderBlock } from "./pageShared-Q_Vij87H.mjs";
3
+ import { f as resolveSiteCustomBlocks, n as buildRenderablePageOutline } from "./pageRuntimeSupport-DZ6cLxrM.mjs";
4
4
  import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-DAwbICEL.mjs";
5
- import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-C4yUmz-r.mjs";
5
+ import { n as prefetchBlockDataWithFailures } from "./prefetchBlockData-DlprLLsc.mjs";
6
6
  import { n as resolveFooterRenderPlan, r as resolveSdkFooterMode } from "./mode-Cv_TG9gP.mjs";
7
7
  import { r as requireSdkTheme } from "./themeAdmission-DGSAlFUK.mjs";
8
8
  import { a as defaultOverrideOnlyRuntime, c as getRiverbankEnv } from "./overrides-CD4d-1w7.mjs";