@riverbankcms/sdk 0.146.0 → 0.148.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 (466) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/{PreviewEditorSidebar-kg2r2Fyi.mjs → PreviewEditorSidebar-DvEPG3Z2.mjs} +249 -172
  3. package/dist/{PreviewEditorUI-sWMLp5dT.mjs → PreviewEditorUI-D6eb6fkx.mjs} +68 -60
  4. package/dist/{PreviewQueryProvider-Cg51xq1w.mjs → PreviewQueryProvider-5znTyJuz.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-h2ti3Hch.mjs → SdkPreviewModeRuntime-DJ6utQ_R.mjs} +1180 -475
  6. package/dist/{SiteChromeCustomizeContext-DEACFH9m.mjs → SiteChromeCustomizeContext-CFJYh6vo.mjs} +199078 -193767
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -33
  8. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +18 -3
  9. package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
  10. package/dist/_dts/api/src/accountApi.d.ts +6 -6
  11. package/dist/_dts/api/src/admin.d.ts +22 -22
  12. package/dist/_dts/api/src/aiPatch.d.ts +2 -2
  13. package/dist/_dts/api/src/aiPlayground.d.ts +1 -0
  14. package/dist/_dts/api/src/analytics.d.ts +2 -2
  15. package/dist/_dts/api/src/apiEndpointTypes.d.ts +2 -0
  16. package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
  17. package/dist/_dts/api/src/auth.d.ts +10 -10
  18. package/dist/_dts/api/src/availability.d.ts +6 -6
  19. package/dist/_dts/api/src/billing.d.ts +42 -15
  20. package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +8 -0
  21. package/dist/_dts/api/src/billingEndpointTypes.d.ts +15 -6
  22. package/dist/_dts/api/src/blocks.d.ts +15 -14
  23. package/dist/_dts/api/src/blocksKeys.d.ts +2 -0
  24. package/dist/_dts/api/src/bookingConfig.d.ts +16 -2
  25. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -13
  26. package/dist/_dts/api/src/bookingOperations.d.ts +6 -48
  27. package/dist/_dts/api/src/bookingPeople.d.ts +92 -0
  28. package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +38 -0
  29. package/dist/_dts/api/src/bookingRecords.d.ts +12 -49
  30. package/dist/_dts/api/src/bookingSettingsSections.d.ts +1 -1
  31. package/dist/_dts/api/src/bookings.d.ts +8 -7
  32. package/dist/_dts/api/src/calendar.d.ts +9 -9
  33. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -6
  34. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  35. package/dist/_dts/api/src/content-editor.d.ts +2 -2
  36. package/dist/_dts/api/src/contentEntries.d.ts +17 -48
  37. package/dist/_dts/api/src/contentRuntime.d.ts +51 -37
  38. package/dist/_dts/api/src/contentTypes.d.ts +11 -11
  39. package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +6 -6
  40. package/dist/_dts/api/src/documentLifecycle.d.ts +67 -0
  41. package/dist/_dts/api/src/domains.d.ts +16 -16
  42. package/dist/_dts/api/src/editLeaseEndpoints.d.ts +72 -0
  43. package/dist/_dts/api/src/emailSettings.d.ts +4 -4
  44. package/dist/_dts/api/src/endpoints.d.ts +725 -607
  45. package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
  46. package/dist/_dts/api/src/eventManagementContracts.d.ts +48 -8
  47. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -9
  48. package/dist/_dts/api/src/eventPageWords.d.ts +7 -12
  49. package/dist/_dts/api/src/footerSettings.d.ts +6 -6
  50. package/dist/_dts/api/src/index.d.ts +8 -6
  51. package/dist/_dts/api/src/indexCoreTypes.d.ts +2 -1
  52. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  53. package/dist/_dts/api/src/launchReadiness.d.ts +1 -6
  54. package/dist/_dts/api/src/mailingListIntegration.d.ts +6 -0
  55. package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +1 -1
  56. package/dist/_dts/api/src/navigation.d.ts +5 -5
  57. package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +15 -0
  58. package/dist/_dts/api/src/occurrenceScheduling.d.ts +19 -0
  59. package/dist/_dts/api/src/pageSurfaceEditorEndpoints.d.ts +55 -0
  60. package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +28 -7
  61. package/dist/_dts/api/src/pages.d.ts +7 -7
  62. package/dist/_dts/api/src/performance.d.ts +1 -1
  63. package/dist/_dts/api/src/public/index.d.ts +1 -1
  64. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +50 -0
  65. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
  66. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +7 -0
  67. package/dist/_dts/api/src/redirects.d.ts +3 -3
  68. package/dist/_dts/api/src/request.d.ts +10 -1
  69. package/dist/_dts/api/src/resources.d.ts +4 -4
  70. package/dist/_dts/api/src/routes.d.ts +8 -3
  71. package/dist/_dts/api/src/sdk-event-upsert.d.ts +15 -1
  72. package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +21 -0
  73. package/dist/_dts/api/src/sdkContracts.d.ts +5 -28
  74. package/dist/_dts/api/src/sdkCourseBooking.d.ts +4 -4
  75. package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +1 -1
  76. package/dist/_dts/api/src/sdkEventOccurrenceRequestContracts.d.ts +43 -0
  77. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +4 -2
  78. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +8 -1
  79. package/dist/_dts/api/src/seo.d.ts +4 -4
  80. package/dist/_dts/api/src/services.d.ts +4 -4
  81. package/dist/_dts/api/src/siteLifecycleEndpoints.d.ts +61 -0
  82. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +19 -25
  83. package/dist/_dts/api/src/siteMembers.d.ts +10 -10
  84. package/dist/_dts/api/src/siteOnboarding.d.ts +16 -14
  85. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -3
  86. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -12
  87. package/dist/_dts/api/src/siteRuntimeEntry.d.ts +31 -0
  88. package/dist/_dts/billing/src/checkout/platform.d.ts +77 -0
  89. package/dist/_dts/billing/src/components/index.d.ts +25 -40
  90. package/dist/_dts/billing/src/membership/index.d.ts +1 -3
  91. package/dist/_dts/billing/src/plans/entitlements.d.ts +80 -0
  92. package/dist/_dts/billing/src/plans/registry.d.ts +16 -16
  93. package/dist/_dts/billing/src/plans/standing.d.ts +9 -2
  94. package/dist/_dts/billing/src/plans/types.d.ts +5 -15
  95. package/dist/_dts/billing/src/site-arrangements.d.ts +2 -2
  96. package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +2 -4
  97. package/dist/_dts/billing/src/subscriptions/store.d.ts +17 -11
  98. package/dist/_dts/block-form/src/backend/store-backend.d.ts +6 -7
  99. package/dist/_dts/block-form/src/backend/types.d.ts +7 -0
  100. package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -1
  101. package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -4
  102. package/dist/_dts/blocks/src/client/events.d.ts +3 -0
  103. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -4
  104. package/dist/_dts/blocks/src/index.d.ts +1 -1
  105. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +18 -9
  106. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +4 -0
  107. package/dist/_dts/blocks/src/portal/types.d.ts +0 -2
  108. package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +2 -1
  109. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -1
  110. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
  111. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -1
  112. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -1
  113. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -2
  114. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  115. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +6 -0
  116. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +18 -0
  117. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +6 -0
  118. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +4 -0
  119. package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +4 -1
  120. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +36 -6
  121. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -3
  122. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +11 -0
  123. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
  124. package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -1
  125. package/dist/_dts/blocks/src/system/runtime/hooks/usePolling.d.ts +7 -48
  126. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.checkout-return-context.d.ts +7 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +11 -0
  128. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +13 -0
  129. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +28 -0
  130. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-choice.d.ts +5 -0
  131. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-state.d.ts +9 -0
  132. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.payment-confirmation.d.ts +13 -0
  133. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +1 -1
  134. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
  135. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +17 -1
  136. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-actions.d.ts +8 -0
  137. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +9 -0
  138. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-success.d.ts +9 -0
  139. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +4 -0
  140. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -1
  141. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
  142. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
  143. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +5 -0
  144. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +7 -1
  145. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -0
  146. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +2 -0
  147. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
  148. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +5 -5
  149. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +8 -0
  150. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +18 -5
  151. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +6 -0
  152. package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +37 -3
  153. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.client.d.ts +1 -1
  154. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +16 -1
  155. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardPresentations.d.ts +13 -0
  156. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +5 -5
  157. package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.block-submission.d.ts +2 -4
  158. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -14
  159. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +12 -0
  160. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
  161. package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +2 -0
  162. package/dist/_dts/blocks/src/system/runtime/shared/components/BookingMailingListNote.d.ts +6 -0
  163. package/dist/_dts/blocks/src/system/runtime/shared/components/DemoBookingPortalAccess.d.ts +22 -0
  164. package/dist/_dts/blocks/src/system/runtime/shared/components/DemoPortalSignInLink.d.ts +4 -0
  165. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
  166. package/dist/_dts/blocks/src/system/runtime/shared/mailingListSignupCopy.d.ts +6 -0
  167. package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
  168. package/dist/_dts/blocks/src/system/runtime/shared/utils/demoBookingPassStorage.d.ts +10 -0
  169. package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +29 -0
  170. package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -2
  171. package/dist/_dts/blocks/src/system/transforms/registry/core.d.ts +2 -0
  172. package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -3
  173. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
  174. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -7
  175. package/dist/_dts/content-editor/src/controller/EditLeaseController.d.ts +39 -0
  176. package/dist/_dts/content-editor/src/controller/EditorWriteGate.d.ts +38 -0
  177. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +25 -61
  178. package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseBanner.d.ts +7 -0
  179. package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseControllers.d.ts +14 -0
  180. package/dist/_dts/content-editor/src/controller/deriveEditorUnpublishedState.d.ts +6 -0
  181. package/dist/_dts/content-editor/src/controller/documentValueBaseline.d.ts +25 -0
  182. package/dist/_dts/content-editor/src/controller/editLeaseLossSignal.d.ts +6 -0
  183. package/dist/_dts/content-editor/src/controller/editLeaseNotice.d.ts +28 -0
  184. package/dist/_dts/content-editor/src/controller/editorClientId.d.ts +2 -0
  185. package/dist/_dts/content-editor/src/controller/editorEditability.d.ts +38 -0
  186. package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +34 -0
  187. package/dist/_dts/content-editor/src/controller/normalizedMetadataBaseline.d.ts +29 -0
  188. package/dist/_dts/content-editor/src/controller/pageSurfaceDocumentBaselines.d.ts +14 -0
  189. package/dist/_dts/content-editor/src/controller/pageSurfaceLifecycle.d.ts +11 -0
  190. package/dist/_dts/content-editor/src/controller/planDocumentBaselineRefresh.d.ts +19 -0
  191. package/dist/_dts/content-editor/src/controller/readDocumentLeaseBaselines.d.ts +19 -0
  192. package/dist/_dts/content-editor/src/controller/refreshDocumentLeaseBaseline.d.ts +12 -0
  193. package/dist/_dts/content-editor/src/controller/refreshLinkedEntry.d.ts +17 -0
  194. package/dist/_dts/content-editor/src/controller/replayRestoredEditorEffects.d.ts +2 -3
  195. package/dist/_dts/content-editor/src/controller/routeWrites.d.ts +26 -0
  196. package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +16 -17
  197. package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +6 -2
  198. package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +3 -3
  199. package/dist/_dts/content-editor/src/controller/useEntryValueAutosaves.d.ts +21 -0
  200. package/dist/_dts/content-editor/src/controller/useInitialEditorUiStore.d.ts +24 -0
  201. package/dist/_dts/content-editor/src/controller/useServerBaselineReconciliation.d.ts +17 -0
  202. package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +1 -1
  203. package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +5 -1
  204. package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +8 -47
  205. package/dist/_dts/content-editor/src/hooks/editLeaseMachine.d.ts +120 -0
  206. package/dist/_dts/content-editor/src/hooks/publishability.d.ts +6 -10
  207. package/dist/_dts/content-editor/src/hooks/useAutosaveStatus.d.ts +3 -0
  208. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +5 -15
  209. package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +7 -5
  210. package/dist/_dts/content-editor/src/hooks/useEditLease.d.ts +28 -0
  211. package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +25 -39
  212. package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +17 -19
  213. package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +5 -8
  214. package/dist/_dts/content-editor/src/hooks/useValueAutosave.d.ts +64 -0
  215. package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +0 -7
  216. package/dist/_dts/content-editor/src/index.d.ts +26 -7
  217. package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +12 -0
  218. package/dist/_dts/content-editor/src/linkedEntries/owner.d.ts +9 -0
  219. package/dist/_dts/content-editor/src/liveDrafts/draftProjection.d.ts +66 -0
  220. package/dist/_dts/content-editor/src/liveDrafts/linkedSaveHandovers.d.ts +37 -0
  221. package/dist/_dts/content-editor/src/liveDrafts/remoteDraftOverlay.d.ts +113 -0
  222. package/dist/_dts/content-editor/src/liveDrafts/useLiveDrafts.d.ts +32 -0
  223. package/dist/_dts/content-editor/src/liveDrafts/useRetentionTicks.d.ts +7 -0
  224. package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +6 -0
  225. package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +1 -0
  226. package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +96 -19
  227. package/dist/_dts/content-editor/src/services/editorApiClient.d.ts +13 -0
  228. package/dist/_dts/content-editor/src/services/index.d.ts +2 -0
  229. package/dist/_dts/content-editor/src/services/pageSurfaceEditorServices.d.ts +23 -0
  230. package/dist/_dts/content-editor/src/sync/flushValues.d.ts +13 -0
  231. package/dist/_dts/content-editor/src/sync/lifecycleFailure.d.ts +51 -0
  232. package/dist/_dts/content-editor/src/sync/runLifecycle.d.ts +64 -0
  233. package/dist/_dts/content-editor/src/sync/schedulerValues.d.ts +27 -0
  234. package/dist/_dts/content-editor/src/sync/sendPlanning.d.ts +104 -0
  235. package/dist/_dts/content-editor/src/sync/valueSync.d.ts +114 -0
  236. package/dist/_dts/content-editor/src/ui/blockCollection.d.ts +8 -0
  237. package/dist/_dts/content-editor/src/ui/documentLifecycle.d.ts +18 -0
  238. package/dist/_dts/content-editor/src/ui/editorLeaseUiState.d.ts +7 -0
  239. package/dist/_dts/content-editor/src/ui/editorRefresh.d.ts +82 -0
  240. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +102 -127
  241. package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +1 -1
  242. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +126 -72
  243. package/dist/_dts/content-editor/src/ui/editorValueSnapshot.d.ts +18 -0
  244. package/dist/_dts/content-editor/src/ui/serverBlockAdmission.d.ts +26 -0
  245. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +16 -27
  246. package/dist/_dts/content-editor/src/ui/stores/blockVersionsStore.d.ts +24 -0
  247. package/dist/_dts/content-editor/src/ui/stores/linkedEntryLeaseStore.d.ts +54 -0
  248. package/dist/_dts/content-editor/src/ui/stores/linkedSaveHandoversStore.d.ts +11 -0
  249. package/dist/_dts/content-editor/src/ui/stores/remoteDraftsStore.d.ts +10 -0
  250. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +63 -3
  251. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +2 -2
  252. package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +1 -1
  253. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -4
  254. package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -4
  255. package/dist/_dts/content-model/src/definitions/shared.d.ts +11 -2
  256. package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
  257. package/dist/_dts/content-model/src/entry-slots/serializeAllowedBlocks.d.ts +2 -0
  258. package/dist/_dts/content-model/src/metadataConfig.d.ts +10 -38
  259. package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
  260. package/dist/_dts/content-model/src/types.d.ts +0 -1
  261. package/dist/_dts/core/src/block-content-identity.d.ts +49 -1
  262. package/dist/_dts/core/src/branded.d.ts +12 -0
  263. package/dist/_dts/core/src/currency-format.d.ts +8 -2
  264. package/dist/_dts/core/src/demo-lifecycle-status.d.ts +2 -2
  265. package/dist/_dts/core/src/demo-warm-pool-target.d.ts +8 -0
  266. package/dist/_dts/core/src/edit-lease.d.ts +55 -0
  267. package/dist/_dts/core/src/editor-state.d.ts +38 -13
  268. package/dist/_dts/core/src/editor-value-sync.d.ts +79 -0
  269. package/dist/_dts/core/src/html-entities.d.ts +6 -0
  270. package/dist/_dts/core/src/index.d.ts +5 -1
  271. package/dist/_dts/core/src/mailing-list-runtime.d.ts +15 -0
  272. package/dist/_dts/core/src/mailing-list-setup.d.ts +2 -0
  273. package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -0
  274. package/dist/_dts/core/src/navigation-portal-labels.d.ts +9 -0
  275. package/dist/_dts/core/src/participants.d.ts +0 -38
  276. package/dist/_dts/core/src/uuid.d.ts +7 -5
  277. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +261 -175
  278. package/dist/_dts/editor/src/EditorProvider.d.ts +5 -0
  279. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +14 -0
  280. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +1 -0
  281. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +0 -1
  282. package/dist/_dts/editor/src/index.d.ts +1 -1
  283. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +10 -9
  284. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +1 -1
  285. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
  286. package/dist/_dts/editor-blocks/src/block-editor/BlockCardFrame.d.ts +1 -1
  287. package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +1 -1
  288. package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +1 -0
  289. package/dist/_dts/editor-blocks/src/block-editor/applyExtendedFieldDefaults.d.ts +3 -4
  290. package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +4 -8
  291. package/dist/_dts/editor-blocks/src/block-editor/editorBlockItem.d.ts +23 -0
  292. package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +2 -7
  293. package/dist/_dts/editor-blocks/src/block-editor/hooks/applyBlockStructureChange.d.ts +4 -0
  294. package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +14 -5
  295. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +21 -19
  296. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -10
  297. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +8 -16
  298. package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +6 -16
  299. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +37 -9
  300. package/dist/_dts/editor-blocks/src/index.d.ts +2 -1
  301. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +1 -1
  302. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +1 -1
  303. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +1 -1
  304. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +1 -1
  305. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +3 -2
  306. package/dist/_dts/media-core/src/fileStorage.d.ts +4 -0
  307. package/dist/_dts/media-editor/src/context.d.ts +1 -1
  308. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
  309. package/dist/_dts/media-editor/src/provider.d.ts +3 -2
  310. package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
  311. package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +3 -1
  312. package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +7 -1
  313. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +8 -3
  314. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +10 -6
  315. package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +22 -2
  316. package/dist/_dts/preview-next/src/client/blocks/previewProjection/entryFieldRebinding.d.ts +13 -0
  317. package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +2 -1
  318. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +11 -1
  319. package/dist/_dts/preview-next/src/client/blocks/renderPrecedence.d.ts +17 -0
  320. package/dist/_dts/preview-next/src/client/blocks/useLinkedSaveHandoverRetention.d.ts +20 -0
  321. package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
  322. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
  323. package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
  324. package/dist/_dts/preview-next/src/client/preview/PreviewAccessBanners.d.ts +7 -0
  325. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
  326. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +24 -14
  327. package/dist/_dts/preview-next/src/client/preview/PreviewLeaseEditingMode.d.ts +2 -0
  328. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -2
  329. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
  330. package/dist/_dts/preview-next/src/client/preview/previewCustomizeAutosave.d.ts +5 -0
  331. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +3 -4
  332. package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +1 -0
  333. package/dist/_dts/preview-next/src/client/preview/usePreviewCustomizeWorkflowState.d.ts +4 -0
  334. package/dist/_dts/realtime/src/client.d.ts +3 -0
  335. package/dist/_dts/realtime/src/draftChannel.d.ts +91 -0
  336. package/dist/_dts/realtime/src/drafts.d.ts +210 -0
  337. package/dist/_dts/realtime/src/index.d.ts +3 -0
  338. package/dist/_dts/realtime/src/leaseChangeSubscriptions.d.ts +8 -0
  339. package/dist/_dts/realtime/src/types.d.ts +113 -0
  340. package/dist/_dts/realtime/src/useDraftChannel.d.ts +34 -0
  341. package/dist/_dts/realtime/src/useSiteRealtimeReload.d.ts +27 -0
  342. package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -55
  343. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
  344. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  345. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  346. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -2
  347. package/dist/_dts/sdk/src/version.d.ts +1 -1
  348. package/dist/_dts/surfaces/src/index.d.ts +1 -0
  349. package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +1 -1
  350. package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +13 -0
  351. package/dist/_dts/theme-core/src/footer/index.d.ts +1 -0
  352. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  353. package/dist/_dts/theme-core/src/header/effectiveNavLinkStyle.d.ts +17 -0
  354. package/dist/_dts/theme-core/src/header/generateHeaderLogoStyles.d.ts +15 -0
  355. package/dist/_dts/theme-core/src/header/generateHeaderNavLinkStyles.d.ts +4 -0
  356. package/dist/_dts/theme-core/src/header/index.d.ts +3 -0
  357. package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +1 -1
  358. package/dist/_dts/theme-core/src/header/openingForegroundProjection.d.ts +7 -0
  359. package/dist/_dts/theme-core/src/header/rootPaint.d.ts +4 -0
  360. package/dist/_dts/theme-core/src/navigation/effectPolicy.d.ts +38 -0
  361. package/dist/_dts/theme-core/src/navigation/generateNavLinkCSS.d.ts +4 -0
  362. package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -0
  363. package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +1 -1
  364. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
  365. package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +7 -0
  366. package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +29 -22
  367. package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +10 -2
  368. package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +9 -0
  369. package/dist/_dts/theme-core/src/utils/cssDeclarations.d.ts +2 -0
  370. package/dist/_dts/ui/src/badge.d.ts +2 -1
  371. package/dist/_dts/ui/src/button.d.ts +1 -1
  372. package/dist/_dts/ui/src/combobox-keys.d.ts +23 -0
  373. package/dist/_dts/ui/src/combobox-rows.d.ts +34 -0
  374. package/dist/_dts/ui/src/combobox.d.ts +26 -1
  375. package/dist/_dts/ui/src/date-picker.d.ts +5 -8
  376. package/dist/_dts/ui/src/editor-item-card.d.ts +1 -0
  377. package/dist/_dts/ui/src/field-trigger.d.ts +39 -0
  378. package/dist/_dts/ui/src/fieldControl.d.ts +27 -0
  379. package/dist/_dts/ui/src/index.d.ts +4 -1
  380. package/dist/_dts/ui/src/native-select.d.ts +8 -0
  381. package/dist/_dts/ui/src/popover.d.ts +7 -1
  382. package/dist/_dts/ui/src/segmented-control.d.ts +4 -0
  383. package/dist/_dts/ui/src/surface.d.ts +1 -1
  384. package/dist/client/{BookingConsentAgreement-BQKL045f.mjs → BookingMailingListNote-CzRt2dF_.mjs} +110 -97
  385. package/dist/client/{CheckboxChoice--W2n6yKs.mjs → CheckboxChoice-B33MqoUo.mjs} +1 -1
  386. package/dist/client/DemoBookingPortalAccess-mxqwap3f.mjs +344 -0
  387. package/dist/client/{EventCombined.client-BdRjVbhH.mjs → EventCombined.client-CDb11igO.mjs} +7 -7
  388. package/dist/client/{EventListing.client-DBxC6xOU.mjs → EventListing.client-EgYhzKPa.mjs} +2 -2
  389. package/dist/client/{LeafletStaticMap-mHEJKrTs.mjs → LeafletStaticMap-gtmtaA2b.mjs} +1 -1
  390. package/dist/client/{scrollToBlock-BNgaEUpo.mjs → TerminalPanel-DvNUP5ot.mjs} +77 -77
  391. package/dist/client/{ThemedButton-CE5KYT6z.mjs → ThemedButton-C7CeUJjW.mjs} +2 -2
  392. package/dist/client/{accordion-BEQNSptH.mjs → accordion-kjvt49rA.mjs} +1 -1
  393. package/dist/client/{bookingForm-AMr-s5vw.mjs → bookingForm-pbRZordh.mjs} +411 -141
  394. package/dist/client/bookings.mjs +966 -396
  395. package/dist/client/{carousel-Bbt_QgJy.mjs → carousel-f4Zbmicv.mjs} +2 -2
  396. package/dist/client/{carousel.client-jahpU9Vz.mjs → carousel.client-A2lG-9od.mjs} +1 -1
  397. package/dist/client/{cart-CnWi30zJ.mjs → cart-DO20An50.mjs} +3 -3
  398. package/dist/client/{checkout-f3nkWgd4.mjs → checkout-Du5amDR_.mjs} +3 -3
  399. package/dist/client/{checkoutUrls-CW3-78uu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
  400. package/dist/client/client.mjs +3837 -2202
  401. package/dist/client/{colorStyles-CuJBiS-1.mjs → colorStyles-j5U9v5JA.mjs} +5 -1
  402. package/dist/client/{context-Bc8T6pCe.mjs → context-eW97E945.mjs} +4 -3
  403. package/dist/client/{dates-DUsCEzLb.mjs → dates-jPCirRea.mjs} +56 -11
  404. package/dist/client/{eventCalendar-CKwgXui5.mjs → eventCalendar-C2M-iE4j.mjs} +10 -10
  405. package/dist/client/{eventCombined-CBAOSTGR.mjs → eventCombined-W6ns3LHg.mjs} +4 -4
  406. package/dist/client/{eventDetails-Dh-_WiBD.mjs → eventDetails-CR-GT0f0.mjs} +4 -4
  407. package/dist/client/{eventListing-CA3frIH5.mjs → eventListing-BK8AfYZz.mjs} +4 -4
  408. package/dist/client/{eventRegistration-BHtsgdcg.mjs → eventRegistration-BJSd4KUu.mjs} +461 -266
  409. package/dist/client/{form-C2h3YAcg.mjs → form-BvpfbQaT.mjs} +5 -5
  410. package/dist/client/{headerSection-lwMuMTH9.mjs → headerSection-I5sUQ8x-.mjs} +3 -3
  411. package/dist/client/hooks.mjs +909 -163
  412. package/dist/client/{locationMap-DJ2bLODV.mjs → locationMap-BLvwf9_f.mjs} +4 -4
  413. package/dist/client/{FieldValidationMessage-AYanWFb-.mjs → mailingListSignupCopy-DZSHZrm6.mjs} +14 -1
  414. package/dist/client/{media-BtJ37tzS.mjs → media-Cl38iOMI.mjs} +11 -4
  415. package/dist/client/{newsletterForm-8Pu5K32g.mjs → newsletterForm-DrQ2weE8.mjs} +6 -6
  416. package/dist/client/{pricing-HHx3IgBz.mjs → pricing-BES87mrR.mjs} +1 -1
  417. package/dist/client/{productDetail-C_1odnAf.mjs → productDetail-Url9jcc5.mjs} +3 -3
  418. package/dist/client/{productList-CtCv-Nmx.mjs → productList-DE7ngEZJ.mjs} +3 -3
  419. package/dist/client/{propsDecoder-Dcgsncxb.mjs → propsDecoder-D1OtGXDV.mjs} +140 -22
  420. package/dist/client/rendering/client.mjs +2366 -997
  421. package/dist/client/rendering/islands.mjs +19 -19
  422. package/dist/client/rendering.mjs +4607 -2884
  423. package/dist/client/{routeIslandApiConfig-CWLP7wu3.mjs → routeIslandApiConfig-BG9Y-SHg.mjs} +1 -1
  424. package/dist/client/{shop-DQXrQ8kJ.mjs → shop-CJkuySJ3.mjs} +126 -79
  425. package/dist/client/{shop-commerce-B88zmWWo.mjs → shop-commerce-4rKj5n9h.mjs} +26 -14
  426. package/dist/client/{shop-commerce-store-DtSfkKuX.mjs → shop-commerce-store-Bxm75Pg6.mjs} +1 -1
  427. package/dist/client/{shopShared-cuaONpkJ.mjs → shopShared-DpoQDWfz.mjs} +5 -5
  428. package/dist/client/{useEventFilters-Bukew6Gb.mjs → useEventFilters-D8HliSqR.mjs} +33 -18
  429. package/dist/preview-next/before-render.mjs +314 -133
  430. package/dist/preview-next/client/runtime.mjs +4 -4
  431. package/dist/preview-next/editor-base.css +53 -2
  432. package/dist/preview-next/editor-chrome.css +7 -4
  433. package/dist/preview-next/keepAlive.mjs +314 -133
  434. package/dist/preview-next/middleware.mjs +314 -133
  435. package/dist/{previewAuthStore-h5IgbSp4.mjs → previewAuthStore-BXXF3hhW.mjs} +316 -133
  436. package/dist/{sdk-runtime-DTc1uIXn.mjs → sdk-runtime-C2a05WjL.mjs} +2 -2
  437. package/dist/{separator-BpHS1KZK.mjs → separator-CuNhBAhS.mjs} +1 -1
  438. package/dist/server/components.mjs +6888 -6157
  439. package/dist/server/config-validation.mjs +931 -199
  440. package/dist/server/config.mjs +931 -199
  441. package/dist/server/data.mjs +929 -198
  442. package/dist/server/index.mjs +317 -134
  443. package/dist/server/navigation.mjs +13 -2
  444. package/dist/server/next.mjs +5003 -4340
  445. package/dist/server/page-converter.mjs +160 -78
  446. package/dist/server/prebuild.mjs +1 -1
  447. package/dist/server/rendering/server.mjs +6421 -5687
  448. package/dist/server/rendering.mjs +7683 -6933
  449. package/dist/server/routing.mjs +1035 -338
  450. package/dist/server/server.mjs +946 -256
  451. package/dist/server/theme-bridge.mjs +66 -17
  452. package/dist/server/theme.mjs +5 -1
  453. package/dist/styles/index.css +32 -4
  454. package/package.json +1 -1
  455. package/dist/_dts/billing/src/plans/display.d.ts +0 -15
  456. package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +0 -4
  457. package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +0 -16
  458. package/dist/_dts/content-editor/src/controller/driver.d.ts +0 -14
  459. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +0 -7
  460. package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +0 -29
  461. package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +0 -26
  462. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +0 -64
  463. package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +0 -48
  464. package/dist/_dts/content-editor/src/types.d.ts +0 -44
  465. package/dist/_dts/core/src/participant-identity.d.ts +0 -135
  466. package/dist/client/DiscountCodeDisclosure-CsOtjFY7.mjs +0 -137
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import type { HeadlessBookingFlow } from "../hooks/useHeadlessBookingFlow";
3
+ export declare function BookingMailingListChoice({ booking, }: Readonly<{
4
+ booking: HeadlessBookingFlow;
5
+ }>): React.ReactElement | null;
@@ -0,0 +1,9 @@
1
+ import type { BookingFormData } from "./booking-form.state";
2
+ import type { BookingFlowReducerState, BookingFlowEvent } from "./booking-form.headless.state";
3
+ export declare function bookingFormDataWithEligibleOptIn(data: BookingFormData, eligible: boolean): BookingFormData;
4
+ type ContactEvent = Extract<BookingFlowEvent, {
5
+ type: "field-updated" | "field-touched" | "mailing-list-opt-in-set";
6
+ }>;
7
+ export declare function isBookingContactEvent(event: BookingFlowEvent): event is ContactEvent;
8
+ export declare function applyBookingContactEvent(state: BookingFlowReducerState, event: ContactEvent): BookingFlowReducerState;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import { type BookingFormService, type BookingSelectedCollectionOptionKind } from "./booking-form.state";
2
+ export type BookingPaymentConfirmationSummary = Readonly<{
3
+ serviceTitle: string;
4
+ durationMinutes: number;
5
+ priceAmount: number;
6
+ priceCurrency: string;
7
+ }>;
8
+ export declare function resolveBookingPaymentConfirmationSummary(input: Readonly<{
9
+ service: BookingFormService | null;
10
+ priceAmount: number;
11
+ selectedCollectionOptionKind?: BookingSelectedCollectionOptionKind;
12
+ hasSelectedAppointmentPackage: boolean;
13
+ }>): BookingPaymentConfirmationSummary | null;
@@ -1,5 +1,5 @@
1
1
  export declare const APPOINTMENT_BOOKING_BLOCK_ID: "block.appointment-booking";
2
- export declare const BOOKING_FORM_DATA_RESERVED_KEY_VALUES: readonly ["serviceId", "resourceId", "selectedDate", "selectedSlot", "discountCode", "selectedSlidingAmountInput", "selectedCollectionOptionKind", "selectedAppointmentPackageId"];
2
+ export declare const BOOKING_FORM_DATA_RESERVED_KEY_VALUES: readonly ["serviceId", "resourceId", "selectedDate", "selectedSlot", "discountCode", "selectedSlidingAmountInput", "selectedCollectionOptionKind", "selectedAppointmentPackageId", "mailingListOptIn"];
3
3
  export type BookingFormDataReservedKey = (typeof BOOKING_FORM_DATA_RESERVED_KEY_VALUES)[number];
4
4
  export type BookingReservedFieldCollision = Readonly<{
5
5
  fieldId: BookingFormDataReservedKey;
@@ -17,5 +17,5 @@ type BookingFormProps = BookingFormSourceProps & Readonly<{
17
17
  * own `.rb-reg-surface`, and leaves no stale loading state on the mounted form.
18
18
  * `event-registration.server.tsx` follows the same shape.
19
19
  */
20
- export declare function BookingFormSSR({ blockId, siteId, apiBaseUrl, portalToken, formId, serviceId, resourceId, initialData, noticeMessage, requiresServiceSelection, requiresResourceSelection, shouldAutoSelectSingleResource, rebookContext, submitLabel, successMessage, form, services, spamProtectionEnabled, className, children, }: BookingFormProps): React.JSX.Element;
20
+ export declare function BookingFormSSR({ blockId, children, ...sourceProps }: BookingFormProps): React.JSX.Element;
21
21
  export default BookingFormSSR;
@@ -83,6 +83,7 @@ export type BookingFormData<TCustomFieldId extends string = never> = Readonly<{
83
83
  selectedSlidingAmountInput?: string;
84
84
  selectedCollectionOptionKind?: BookingSelectedCollectionOptionKind;
85
85
  selectedAppointmentPackageId?: string;
86
+ mailingListOptIn?: boolean;
86
87
  }> & BookingCustomFieldData<TCustomFieldId>;
87
88
  type RuntimeBookingFormData = BookingFormData<string>;
88
89
  type BookingSubmissionCommon = Readonly<{
@@ -92,6 +93,7 @@ type BookingSubmissionCommon = Readonly<{
92
93
  startAt: string;
93
94
  endAt: string;
94
95
  customFields: Readonly<Record<string, unknown>>;
96
+ mailingListOptIn?: boolean;
95
97
  timezone: string;
96
98
  }>;
97
99
  export type BookingSubmissionData = (BookingSubmissionCommon & Readonly<{
@@ -159,6 +161,9 @@ export type BookingFormViewState = Readonly<{
159
161
  }> | Readonly<{
160
162
  kind: "verifying";
161
163
  message: string;
164
+ }> | Readonly<{
165
+ kind: "timeout";
166
+ message: string;
162
167
  }> | Readonly<{
163
168
  kind: "error";
164
169
  message: string;
@@ -243,4 +248,15 @@ export declare function prepareBookingSubmission(input: Readonly<{
243
248
  viewerTimeZone?: string | null;
244
249
  }>): BookingSubmissionPreparationResult;
245
250
  export declare function formatBookingSubmissionPreparationError(error: BookingSubmissionPreparationError): string;
246
- export declare function getBookingSuccessMessage(successMessage: string | null | undefined): string;
251
+ export type BookingSuccessCopy = Readonly<{
252
+ message: string;
253
+ defaultEmailSentence?: string;
254
+ }>;
255
+ export declare function getBookingSuccessCopy(successMessage: string | null | undefined): BookingSuccessCopy;
256
+ export declare function getRegistrationSuccessCopy(result: Readonly<{
257
+ status?: 'confirmed' | 'waitlist';
258
+ variant?: 'success' | 'info';
259
+ message?: string | null;
260
+ emailFollowupMessage?: string | null;
261
+ }> | null, fallback: string | null | undefined): BookingSuccessCopy;
262
+ export declare function getShopSuccessCopy(outcome: 'success' | 'cancelled'): BookingSuccessCopy;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { HeadlessBookingFlow } from "../hooks/useHeadlessBookingFlow";
3
+ type BookingFormSubmitActionsProps = Readonly<{
4
+ booking: HeadlessBookingFlow;
5
+ onSubmit: () => Promise<void>;
6
+ }>;
7
+ export declare function BookingFormSubmitActions({ booking, onSubmit, }: BookingFormSubmitActionsProps): React.ReactElement;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { BookingMailingListNote as BookingSignupNote } from '../../../../../core/src/index';
2
+ import type { HeadlessBookingFlow } from "../hooks/useHeadlessBookingFlow";
3
+ export declare function createBookingFormSubmitHandler(input: Readonly<{
4
+ booking: HeadlessBookingFlow;
5
+ bookingAnchorId: string;
6
+ isPortalRebook: boolean;
7
+ setLocalMailingListNote: (note: BookingSignupNote | null) => void;
8
+ setLocalCustomerEmail: (email: string | null) => void;
9
+ }>): () => Promise<void>;
@@ -0,0 +1,9 @@
1
+ import type { BookingSubmitResponse } from "../api/types";
2
+ import type { BookingFlowEvent, BookingSubmitActionResult } from "./booking-form.headless.state";
3
+ export declare function completeBookingSubmission(input: Readonly<{
4
+ data: BookingSubmitResponse;
5
+ redirect: "auto" | "manual";
6
+ successMessage?: string | null;
7
+ navigateToCheckout: (url: string) => void;
8
+ dispatch: (event: BookingFlowEvent) => void;
9
+ }>): BookingSubmitActionResult;
@@ -1,4 +1,5 @@
1
1
  import { z } from "zod";
2
+ import type { MailingListRuntimeContext } from "../../../../../core/src/index";
2
3
  import type { PublicEvent } from "../../blocks/events/shared/types";
3
4
  import type { StandardBookingFormField, BookingFormService, BookingFormServiceCategory, BookingFormServicesSource, BookingFormSettings, BookingFormSourceRecord } from "./booking-form.state";
4
5
  import type { EventRegistrationSourceProps } from "./event-registration.interactive";
@@ -8,8 +9,11 @@ export type BookingFormRebookContext = Readonly<{
8
9
  }>;
9
10
  export type BookingFormSourceProps = Readonly<{
10
11
  siteId?: string;
12
+ demoEmailSuppressed?: boolean;
11
13
  apiBaseUrl?: string;
12
14
  portalToken?: string | null;
15
+ mailingList?: MailingListRuntimeContext;
16
+ siteName?: string;
13
17
  formId?: string;
14
18
  serviceId?: string | null;
15
19
  resourceId?: string | null;
@@ -6,7 +6,8 @@ type CheckoutProps = Readonly<{
6
6
  apiBaseUrl?: string;
7
7
  readAuthority?: import('../api/types').BrowserReadAuthority;
8
8
  stage?: 'preview' | 'published';
9
+ demoEmailSuppressed?: boolean;
9
10
  children?: React.ReactNode;
10
11
  }> & ShopDisplayConfig;
11
- export declare function CheckoutSSR({ blockId, siteId, apiBaseUrl, stage, children, ...rest }: CheckoutProps): React.JSX.Element;
12
+ export declare function CheckoutSSR({ blockId, siteId, apiBaseUrl, stage, demoEmailSuppressed, children, ...rest }: CheckoutProps): React.JSX.Element;
12
13
  export default CheckoutSSR;
@@ -24,6 +24,9 @@ type AttendeeDetailsStepProps = {
24
24
  /** Callback when guest section shake animation ends */
25
25
  onGuestShakeEnd?: () => void;
26
26
  consent: BlockBookingConsent | null;
27
+ mailingListSignup?: Readonly<{
28
+ siteName: string;
29
+ }> | null;
27
30
  };
28
31
  /**
29
32
  * Attendee Details Step
@@ -20,5 +20,6 @@ export declare function EventRegistrationSurface(props: Readonly<{
20
20
  buttonText: string;
21
21
  buttonVariant: ThemeButtonVariantId;
22
22
  supportEmail?: string;
23
- successMessage: string;
23
+ successMessage?: string;
24
+ demoEmailSuppressed?: boolean;
24
25
  }>): import("react").JSX.Element;
@@ -1,3 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { EventRegistrationClientProps } from './types';
3
+ import { type UseEventRegistrationWizardResult } from './useEventRegistrationWizard';
3
4
  export declare function EventRegistrationWizard(props: EventRegistrationClientProps): React.JSX.Element;
5
+ export type EventRegistrationWizardViewProps = EventRegistrationClientProps & Readonly<{
6
+ wizard: UseEventRegistrationWizardResult;
7
+ }>;
8
+ export declare function EventRegistrationWizardView(viewProps: EventRegistrationWizardViewProps): React.JSX.Element;
@@ -1,8 +1,14 @@
1
+ import type { BookingMailingListNote as BookingSignupNote } from '../../../../../../core/src/index';
1
2
  import React from 'react';
3
+ import type { BookingSuccessCopy } from '../booking-form.state';
2
4
  type SuccessStepProps = {
3
5
  title?: string;
4
- message: string;
6
+ copy: BookingSuccessCopy;
5
7
  variant?: 'success' | 'info';
8
+ mailingListSignupNote?: BookingSignupNote;
9
+ context?: 'booking' | 'waitlist';
10
+ demoEmailSuppressed?: boolean;
11
+ customerEmail: string | null;
6
12
  };
7
13
  /**
8
14
  * Success Step
@@ -122,6 +122,9 @@ export type EventRegistrationTicketsModel = Readonly<{
122
122
  export type EventRegistrationAttendeeModel = Readonly<{
123
123
  values: FormData;
124
124
  errors: Partial<Record<keyof FormData, string>>;
125
+ mailingListSignup: Readonly<{
126
+ siteName: string;
127
+ }> | null;
125
128
  }>;
126
129
  export type EventRegistrationGuestsModel = Readonly<{
127
130
  required: boolean;
@@ -1,3 +1,4 @@
1
+ import type { BookingMailingListNote as BookingSignupNote } from '../../../../../../core/src/index';
1
2
  /**
2
3
  * SessionStorage utilities for preserving form state across Stripe redirects.
3
4
  *
@@ -22,6 +23,7 @@ type PendingRegistrationV5 = {
22
23
  paymentSelection: PaymentSelection & {
23
24
  method: Exclude<PaymentSelection['method'], null>;
24
25
  };
26
+ mailingListSignupNote?: BookingSignupNote;
25
27
  timestamp: number;
26
28
  };
27
29
  export type PendingRegistration = PendingRegistrationV5;
@@ -1,4 +1,6 @@
1
+ import type { BookingMailingListNote as BookingSignupNote } from '../../../../../../core/src/index';
1
2
  import type { PublicEventPricing } from '../../../../../../core/src/index';
3
+ import type { MailingListRuntimeContext } from '../../../../../../core/src/index';
2
4
  import type { EventRegistrationAvailablePaymentOption, EventRegistrationOptionsResponse, EventRegistrationPricingOption } from '../../../blocks/event-registration';
3
5
  import type { OccurrenceContext } from '../../../blocks/event-registration.shared';
4
6
  import type { PublicEvent, PublicEventPricingOption, PublicEventPricingOptionAvailability, PublicRunSession } from '../../../blocks/events/shared/types';
@@ -33,10 +35,13 @@ export type RegistrationResult = {
33
35
  */
34
36
  title?: string;
35
37
  message?: string;
38
+ emailFollowupMessage?: string;
36
39
  variant?: 'success' | 'info';
40
+ mailingListSignupNote?: BookingSignupNote;
37
41
  };
38
42
  export type PaymentStatusRecoveryState = Readonly<{
39
43
  subject: import('../../api/types').EventRegistrationPaymentSubject;
44
+ mailingListSignupNote?: BookingSignupNote;
40
45
  }> & (Readonly<{
41
46
  kind: 'ready' | 'checking' | 'processing' | 'temporarilyUnavailable' | 'retryAvailable' | 'assistanceRequired';
42
47
  }> | Readonly<{
@@ -169,6 +174,7 @@ export type PaymentStepState = {
169
174
  showLoginPrompt: boolean;
170
175
  };
171
176
  export type EventRegistrationClientProps = {
177
+ demoEmailSuppressed?: boolean;
172
178
  occurrenceContext?: OccurrenceContext | null;
173
179
  subject?: EventRegistrationPageSurfaceSubject | null;
174
180
  events?: PublicEvent[] | null;
@@ -188,4 +194,6 @@ export type EventRegistrationClientProps = {
188
194
  sitePasses?: PublicPassProductCollection | null;
189
195
  /** Site-wide public membership products; filtered against the selected event before prompting. */
190
196
  siteMemberships?: PublicMembershipProductCollection | null;
197
+ mailingList?: MailingListRuntimeContext;
198
+ siteName?: string;
191
199
  };
@@ -1,3 +1,4 @@
1
+ import { generateUuidV4 } from '../../../../../../core/src/index';
1
2
  import type { EventRegistrationErrorAction } from '../../../../../../commerce/src/purchase/index';
2
3
  import type { BlockApiClient } from '../../api';
3
4
  import type { EventRegistrationStatusReference, PaymentMethod } from '../../api/types';
@@ -37,6 +38,9 @@ export type UseEventRegistrationSubmitInput = {
37
38
  ticketSelections: readonly EventTicketSelectionLine[];
38
39
  selectedSlidingAmount: number | null;
39
40
  formData: FormData;
41
+ mailingListSignup: Readonly<{
42
+ siteName: string;
43
+ }> | null;
40
44
  altchaSolution: string | null;
41
45
  requireGuestDetails: boolean;
42
46
  guests: Guest[];
@@ -65,11 +69,7 @@ export type EventRegistrationSubmitDeps = Readonly<{
65
69
  */
66
70
  createClientCommandId: () => string;
67
71
  }>;
68
- type ClientCommandIdCryptoSource = Readonly<{
69
- randomUUID?: () => string;
70
- getRandomValues: (bytes: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer>;
71
- }>;
72
- export declare function createClientCommandId(cryptoSource?: ClientCommandIdCryptoSource): string;
72
+ export declare const createClientCommandId: typeof generateUuidV4;
73
73
  export declare function useEventRegistrationSubmit(options: UseEventRegistrationSubmitInput): EventRegistrationSubmit;
74
74
  /**
75
75
  * Describe a completed registration to the success step.
@@ -19,6 +19,8 @@ export type UseEventRegistrationWizardOptions = Readonly<{
19
19
  subject?: EventRegistrationClientProps['subject'];
20
20
  events: PublicEvent[];
21
21
  maxTicketsNum: number;
22
+ mailingList?: EventRegistrationClientProps['mailingList'];
23
+ siteName?: string;
22
24
  }>;
23
25
  export type EventRegistrationWizardDeps = Readonly<{
24
26
  usePortalAuth: typeof usePortalAuth;
@@ -91,6 +93,9 @@ export declare function useEventRegistrationWizard(options: UseEventRegistration
91
93
  hasValidTicketSelection: boolean;
92
94
  eventRequiresPayment: boolean;
93
95
  formData: FormData;
96
+ mailingListSignup: Readonly<{
97
+ siteName: string;
98
+ }> | null;
94
99
  setFormData: import("react").Dispatch<import("react").SetStateAction<FormData>>;
95
100
  errors: Partial<Record<keyof FormData, string>>;
96
101
  guests: Guest[];
@@ -220,6 +225,9 @@ export declare function useEventRegistrationWizardWithDeps(options: UseEventRegi
220
225
  hasValidTicketSelection: boolean;
221
226
  eventRequiresPayment: boolean;
222
227
  formData: FormData;
228
+ mailingListSignup: Readonly<{
229
+ siteName: string;
230
+ }> | null;
223
231
  setFormData: import("react").Dispatch<import("react").SetStateAction<FormData>>;
224
232
  errors: Partial<Record<keyof FormData, string>>;
225
233
  guests: Guest[];
@@ -1,3 +1,4 @@
1
+ import { type MailingListRuntimeContext } from '../../../../../core/src/index';
1
2
  import type { BrowserReadAuthority } from '../api/types';
2
3
  import type { BlockButtonRole } from '../../constants/buttonRoles';
3
4
  import type { PublicEvent } from '../../blocks/events/shared/types';
@@ -13,6 +14,7 @@ export type EventRegistrationGenericShellStepLabels = typeof EVENT_REGISTRATION_
13
14
  type EventRegistrationShellStepLabel = (typeof EVENT_REGISTRATION_SHELL_STEP_LABELS)[number];
14
15
  export type EventRegistrationSourceProps = Readonly<{
15
16
  siteId?: string;
17
+ demoEmailSuppressed?: boolean;
16
18
  apiBaseUrl?: string;
17
19
  portalToken?: string | null;
18
20
  previewToken?: string | null;
@@ -36,6 +38,8 @@ export type EventRegistrationSourceProps = Readonly<{
36
38
  supportEmail?: string;
37
39
  sitePasses?: PublicPassProductCollection | null;
38
40
  siteMemberships?: PublicMembershipProductCollection | null;
41
+ mailingList?: MailingListRuntimeContext;
42
+ siteName?: string;
39
43
  }>;
40
44
  export type EventRegistrationDisplay = Readonly<{
41
45
  kind: 'event-registration';
@@ -69,6 +73,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
69
73
  kind: "client-owned";
70
74
  buildRender: (source: Readonly<{
71
75
  siteId?: string;
76
+ demoEmailSuppressed?: boolean;
72
77
  apiBaseUrl?: string;
73
78
  portalToken?: string | null;
74
79
  previewToken?: string | null;
@@ -96,9 +101,11 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
96
101
  siteMemberships?: Readonly<{
97
102
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
98
103
  }> | null;
104
+ mailingList?: MailingListRuntimeContext;
105
+ siteName?: string;
99
106
  }>) => Readonly<{
100
107
  display: EventRegistrationDisplay;
101
- hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
108
+ hydration: Readonly<Omit<InternalEventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
102
109
  eventSource: EventRegistrationEventSource;
103
110
  }>;
104
111
  }>;
@@ -106,6 +113,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
106
113
  source: Readonly<{
107
114
  encode: (value: Readonly<{
108
115
  siteId?: string;
116
+ demoEmailSuppressed?: boolean;
109
117
  apiBaseUrl?: string;
110
118
  portalToken?: string | null;
111
119
  previewToken?: string | null;
@@ -133,9 +141,12 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
133
141
  siteMemberships?: Readonly<{
134
142
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
135
143
  }> | null;
144
+ mailingList?: MailingListRuntimeContext;
145
+ siteName?: string;
136
146
  }>) => unknown;
137
147
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
138
148
  siteId?: string;
149
+ demoEmailSuppressed?: boolean;
139
150
  apiBaseUrl?: string;
140
151
  portalToken?: string | null;
141
152
  previewToken?: string | null;
@@ -163,18 +174,20 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
163
174
  siteMemberships?: Readonly<{
164
175
  memberships: readonly import("./shop.client").PublicMembershipProduct[];
165
176
  }> | null;
177
+ mailingList?: MailingListRuntimeContext;
178
+ siteName?: string;
166
179
  }>>;
167
180
  }>;
168
181
  render: Readonly<{
169
182
  encode: (value: Readonly<{
170
183
  display: EventRegistrationDisplay;
171
- hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
184
+ hydration: Readonly<Omit<InternalEventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
172
185
  eventSource: EventRegistrationEventSource;
173
186
  }>;
174
187
  }>) => unknown;
175
188
  decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
176
189
  display: EventRegistrationDisplay;
177
- hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
190
+ hydration: Readonly<Omit<InternalEventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
178
191
  eventSource: EventRegistrationEventSource;
179
192
  }>;
180
193
  }>>;
@@ -195,7 +208,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
195
208
  mode: "event-registration";
196
209
  } & Readonly<{
197
210
  display: EventRegistrationDisplay;
198
- hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
211
+ hydration: Readonly<Omit<InternalEventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
199
212
  eventSource: EventRegistrationEventSource;
200
213
  }>;
201
214
  }>>;
@@ -213,7 +226,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
213
226
  mode: "event-registration";
214
227
  } & Readonly<{
215
228
  display: EventRegistrationDisplay;
216
- hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
229
+ hydration: Readonly<Omit<InternalEventRegistrationClientProps, "stage" | "siteId" | "className" | "events" | "buttonText"> & {
217
230
  eventSource: EventRegistrationEventSource;
218
231
  }>;
219
232
  }>>;
@@ -2,6 +2,7 @@ import type { EventCollectionSourceProps } from "./shared/eventCollectionContrac
2
2
  import { type CardRole } from "../../../../../../theme-core/src/cards/index";
3
3
  import type { ButtonVariant, CardOrientation, ColumnOption, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
4
4
  import { type InteractiveIslandProps } from "../../../../contracts/islands";
5
+ import { type EventCardDisplayProps } from "./shared/eventCardPresentations";
5
6
  import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./shared/listOptions";
6
7
  import type { BrowserReadAuthority } from "../../api/types";
7
8
  export type EventListingSourceProps = Pick<EventCollectionSourceProps, "showFilters" | "showCategoryFilter" | "showVenueFilter" | "showStaffFilter" | "eventSurface" | "filterEventPresets" | "scheduleScope" | "seriesIds" | "filterCategoryIds" | "filterStaffMemberId" | "filterVenueId"> & Readonly<{
@@ -280,4 +281,9 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
280
281
  }>>;
281
282
  }>;
282
283
  export declare function buildEventListingInteractiveIslandProps(props: EventListingSourceProps): EventListingInteractiveIslandProps;
284
+ /**
285
+ * The card an events listing draws when nothing on the block changes it: the
286
+ * block's own defaults, read through its render.
287
+ */
288
+ export declare function defaultEventListingCardProps(): EventCardDisplayProps;
283
289
  export {};
@@ -11,6 +11,40 @@ type DateTimeFormatOptions = {
11
11
  timeZone?: string | null;
12
12
  locale?: string;
13
13
  };
14
+ /**
15
+ * The English locale a site's public dates are written in, read from the
16
+ * site's own time zone (Will, 2026-09-26: "date style from site time zone").
17
+ *
18
+ * Sites don't store a locale, and every public word around a date is English,
19
+ * so the only open question is which English conventions to follow: day or
20
+ * month first, and a 24 or 12-hour clock. The site's time zone is the one
21
+ * fact every site carries about where it is. It is the site's, never an
22
+ * event's: a venue left at UTC must not turn a UK site's dates American.
23
+ * Anywhere this can't place (UTC, the Americas, Asia) keeps US English, which
24
+ * is what these helpers wrote before sites were placed at all.
25
+ */
26
+ export declare function eventDateLocale(siteTimeZone: string | null | undefined): string;
27
+ export type EventDateOptions = Readonly<{
28
+ timeZone: string | null;
29
+ locale: string;
30
+ }>;
31
+ /**
32
+ * Formatting options for an event's dates: the times in the event's own zone,
33
+ * written in its site's locale. A record from an older server that doesn't
34
+ * name the site's zone falls back to the event's.
35
+ */
36
+ export declare function eventDateOptions(place: Readonly<{
37
+ timeZone?: string | null;
38
+ siteTimeZone?: string | null;
39
+ }>): EventDateOptions;
40
+ /**
41
+ * Start and end times as cards write them, in the site's locale:
42
+ * "10:00 to 16:00" in the UK, "10:00 AM to 4:00 PM" in the US.
43
+ */
44
+ export declare function formatEventTimeRange(times: Readonly<{
45
+ startsAt: string;
46
+ endsAt: string;
47
+ }>, options: EventDateOptions): string;
14
48
  /** Use the event timezone when present, otherwise the calendar/site timezone. */
15
49
  export declare function resolveEventTimeZone(event: Pick<PublicEvent, 'timeZone'>, calendarTimeZone: string): string;
16
50
  /**
@@ -19,8 +53,8 @@ export declare function resolveEventTimeZone(event: Pick<PublicEvent, 'timeZone'
19
53
  */
20
54
  export declare function formatDate(isoTimestamp: string, options?: DateTimeFormatOptions): string;
21
55
  /**
22
- * Format time for display.
23
- * Returns: "10:00 AM"
56
+ * Format time for display, on the locale's own clock.
57
+ * Returns: "9:00 AM" (en-US) or "09:00" (en-GB)
24
58
  */
25
59
  export declare function formatTime(isoTimestamp: string, options?: DateTimeFormatOptions): string;
26
60
  export declare function formatEventDateParts(args: {
@@ -50,7 +84,7 @@ export declare function formatEventCompactDateRail(isoTimestamp: string, options
50
84
  * The compact rail already owns this short, booking-local date vocabulary;
51
85
  * keep the fact panel on the same date and timezone rules as event rows.
52
86
  */
53
- export declare function formatEventNextDateFact(event: Pick<PublicEvent, 'startsAt' | 'timeZone'>): EventNextDateFact;
87
+ export declare function formatEventNextDateFact(event: Pick<PublicEvent, 'startsAt' | 'timeZone' | 'siteTimeZone'>): EventNextDateFact;
54
88
  export { addDays, addMonths, buildCalendarViewport, formatCalendarTitle, formatDateKey, getEndOfMonth, getMonthCalendarDays, getOrderedDayNames, getStartOfMonth, getWeekCalendarDays, getWeekCalendarDayTuple, isToday, MAX_EVENTS_PER_DAY, shiftCalendarAnchorDate, } from '../../../../../../../calendar/src/index';
55
89
  export type { CalendarDate, CalendarViewport, CalendarViewportKind, MonthCalendarViewport, WeekCalendarDays, WeekCalendarViewport, } from '../../../../../../../calendar/src/index';
56
90
  /**
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { EventCard } from './EventCard';
3
- type EventCardClientProps = Omit<React.ComponentProps<typeof EventCard>, 'mapSlot'>;
3
+ export type EventCardClientProps = Omit<React.ComponentProps<typeof EventCard>, 'mapSlot'>;
4
4
  export declare function EventCardClient({ event, showMap, allowMap, ...cardProps }: EventCardClientProps): React.ReactElement;
5
5
  export default EventCardClient;
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { CardRole } from '../../../../../../../theme-core/src/cards/index';
3
3
  import type { ButtonVariant, CardOrientation, PublicEvent } from '../../../../blocks/events/shared/types';
4
+ import type { ResolveImageUrlContext } from '../../media';
4
5
  type EventCardPresentation = 'default' | 'catalogue';
5
- type EventCardProps = {
6
+ export type EventCardProps = {
6
7
  event: PublicEvent;
7
8
  cardRole?: CardRole;
8
9
  buttonVariant?: ButtonVariant;
@@ -23,6 +24,12 @@ type EventCardProps = {
23
24
  presentation?: EventCardPresentation;
24
25
  /** Heading level used by the containing page's document outline. */
25
26
  headingLevel?: 3 | 4;
27
+ /**
28
+ * How the image resolves outside a rendered page, such as a dashboard
29
+ * preview: the site and its media assets, because stored media values drop
30
+ * their storage path. A rendered page supplies its own and leaves this out.
31
+ */
32
+ imageResolveContext?: ResolveImageUrlContext | null;
26
33
  };
27
34
  /**
28
35
  * EventCard Component
@@ -33,4 +40,12 @@ type EventCardProps = {
33
40
  * This component is server-safe (uses no client APIs like Intl).
34
41
  */
35
42
  export declare const EventCard: React.FC<EventCardProps>;
43
+ /**
44
+ * The card's date and times, written the way the event's place writes them
45
+ * ("Friday, 16 October 2026" and "10:00 to 16:00" in the UK).
46
+ */
47
+ export declare function formatEventCardWhen(event: Pick<PublicEvent, 'startsAt' | 'endsAt' | 'timeZone' | 'siteTimeZone'>): Readonly<{
48
+ formattedDate: string;
49
+ formattedTime: string;
50
+ }>;
36
51
  export default EventCard;
@@ -0,0 +1,13 @@
1
+ import type { ButtonVariant, PublicEvent } from '../../../../blocks/events/shared/types';
2
+ import type { EventListingDisplay } from '../EventListing.interactive';
3
+ import type { EventCardProps } from './EventCard';
4
+ /**
5
+ * How a listing draws each card, apart from the event itself. Each listing
6
+ * reads its card settings from here, and so does anything that previews a
7
+ * card as that listing would draw it (the dashboard's event wizard).
8
+ */
9
+ export type EventCardDisplayProps = Omit<EventCardProps, 'event' | 'mapSlot' | 'imageResolveContext'>;
10
+ /** A booking page's catalogue card: one per series, "See dates" for dated events. */
11
+ export declare function catalogueEventCardProps(event: Pick<PublicEvent, 'bookingScope'>, buttonVariant?: ButtonVariant): EventCardDisplayProps;
12
+ /** An events listing's card, from the listing's display settings. */
13
+ export declare function listingEventCardProps(display: Pick<EventListingDisplay, 'cardRole' | 'buttonVariant' | 'buttonText' | 'showVenue' | 'showMap' | 'showCapacity' | 'orientation'>): EventCardDisplayProps;