@riverbankcms/sdk 0.147.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 (381) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{PreviewEditorSidebar-DtpB3_sS.mjs → PreviewEditorSidebar-DvEPG3Z2.mjs} +202 -143
  3. package/dist/{PreviewEditorUI-DxTLgaHo.mjs → PreviewEditorUI-D6eb6fkx.mjs} +68 -60
  4. package/dist/{PreviewQueryProvider-Dd4dxOiU.mjs → PreviewQueryProvider-5znTyJuz.mjs} +1 -1
  5. package/dist/{SdkPreviewModeRuntime-DMMNCngt.mjs → SdkPreviewModeRuntime-DJ6utQ_R.mjs} +1191 -513
  6. package/dist/{SiteChromeCustomizeContext-DQXZXiqS.mjs → SiteChromeCustomizeContext-CFJYh6vo.mjs} +201798 -197304
  7. package/dist/_dts/ai/src/contracts/proposals.d.ts +0 -33
  8. package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +0 -3
  9. package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
  10. package/dist/_dts/api/src/accountApi.d.ts +1 -1
  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 +0 -2
  25. package/dist/_dts/api/src/bookingOperations.d.ts +4 -4
  26. package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
  27. package/dist/_dts/api/src/bookings.d.ts +7 -7
  28. package/dist/_dts/api/src/calendar.d.ts +9 -9
  29. package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -6
  30. package/dist/_dts/api/src/common/envelope.d.ts +2 -2
  31. package/dist/_dts/api/src/content-editor.d.ts +2 -2
  32. package/dist/_dts/api/src/contentEntries.d.ts +17 -48
  33. package/dist/_dts/api/src/contentRuntime.d.ts +51 -37
  34. package/dist/_dts/api/src/contentTypes.d.ts +11 -11
  35. package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +6 -6
  36. package/dist/_dts/api/src/documentLifecycle.d.ts +67 -0
  37. package/dist/_dts/api/src/domains.d.ts +16 -16
  38. package/dist/_dts/api/src/editLeaseEndpoints.d.ts +72 -0
  39. package/dist/_dts/api/src/emailSettings.d.ts +4 -4
  40. package/dist/_dts/api/src/endpoints.d.ts +133 -41
  41. package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
  42. package/dist/_dts/api/src/eventManagementContracts.d.ts +25 -0
  43. package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +0 -8
  44. package/dist/_dts/api/src/eventPageWords.d.ts +7 -12
  45. package/dist/_dts/api/src/footerSettings.d.ts +6 -6
  46. package/dist/_dts/api/src/index.d.ts +6 -5
  47. package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
  48. package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
  49. package/dist/_dts/api/src/navigation.d.ts +5 -5
  50. package/dist/_dts/api/src/pageSurfaceEditorEndpoints.d.ts +55 -0
  51. package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +28 -7
  52. package/dist/_dts/api/src/pages.d.ts +7 -7
  53. package/dist/_dts/api/src/performance.d.ts +1 -1
  54. package/dist/_dts/api/src/public/index.d.ts +1 -1
  55. package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +2 -0
  56. package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
  57. package/dist/_dts/api/src/redirects.d.ts +3 -3
  58. package/dist/_dts/api/src/request.d.ts +10 -1
  59. package/dist/_dts/api/src/resources.d.ts +4 -4
  60. package/dist/_dts/api/src/routes.d.ts +8 -3
  61. package/dist/_dts/api/src/sdk-event-upsert.d.ts +0 -1
  62. package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +21 -0
  63. package/dist/_dts/api/src/sdkContracts.d.ts +5 -28
  64. package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +1 -1
  65. package/dist/_dts/api/src/sdkEventOccurrenceRequestContracts.d.ts +43 -0
  66. package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +4 -2
  67. package/dist/_dts/api/src/sdkPullEventContracts.d.ts +8 -1
  68. package/dist/_dts/api/src/seo.d.ts +4 -4
  69. package/dist/_dts/api/src/services.d.ts +4 -4
  70. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -8
  71. package/dist/_dts/api/src/siteMembers.d.ts +10 -10
  72. package/dist/_dts/api/src/siteOnboarding.d.ts +14 -0
  73. package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -3
  74. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -12
  75. package/dist/_dts/api/src/siteRuntimeEntry.d.ts +31 -0
  76. package/dist/_dts/billing/src/checkout/platform.d.ts +77 -0
  77. package/dist/_dts/billing/src/components/index.d.ts +25 -40
  78. package/dist/_dts/billing/src/membership/index.d.ts +1 -3
  79. package/dist/_dts/billing/src/plans/entitlements.d.ts +80 -0
  80. package/dist/_dts/billing/src/plans/registry.d.ts +16 -16
  81. package/dist/_dts/billing/src/plans/standing.d.ts +9 -2
  82. package/dist/_dts/billing/src/plans/types.d.ts +5 -15
  83. package/dist/_dts/billing/src/site-arrangements.d.ts +2 -2
  84. package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +2 -4
  85. package/dist/_dts/billing/src/subscriptions/store.d.ts +17 -11
  86. package/dist/_dts/block-form/src/backend/store-backend.d.ts +6 -7
  87. package/dist/_dts/block-form/src/backend/types.d.ts +7 -0
  88. package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -1
  89. package/dist/_dts/blocks/src/client/events.d.ts +3 -0
  90. package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +16 -4
  91. package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +4 -13
  92. package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
  93. package/dist/_dts/blocks/src/portal/types.d.ts +0 -2
  94. package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +2 -1
  95. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -1
  96. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
  97. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -1
  98. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -2
  99. package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
  100. package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -0
  101. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +6 -0
  102. package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +6 -0
  103. package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +4 -0
  104. package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +4 -1
  105. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -6
  106. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +12 -3
  107. package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +3 -0
  108. package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -1
  109. package/dist/_dts/blocks/src/system/runtime/hooks/usePolling.d.ts +7 -48
  110. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.checkout-return-context.d.ts +7 -0
  111. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +3 -1
  112. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
  113. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +9 -0
  114. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.payment-confirmation.d.ts +13 -0
  115. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +15 -1
  116. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-actions.d.ts +8 -0
  117. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +1 -0
  118. package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +1 -0
  119. package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -1
  120. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
  121. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +5 -0
  122. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +4 -1
  123. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -0
  124. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +2 -5
  125. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +9 -5
  126. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +6 -0
  127. package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +37 -3
  128. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.client.d.ts +1 -1
  129. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +16 -1
  130. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardPresentations.d.ts +13 -0
  131. package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +5 -5
  132. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -14
  133. package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +12 -0
  134. package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
  135. package/dist/_dts/blocks/src/system/runtime/shared/components/DemoBookingPortalAccess.d.ts +22 -0
  136. package/dist/_dts/blocks/src/system/runtime/shared/components/DemoPortalSignInLink.d.ts +4 -0
  137. package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
  138. package/dist/_dts/blocks/src/system/runtime/shared/utils/demoBookingPassStorage.d.ts +10 -0
  139. package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +29 -0
  140. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
  141. package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -7
  142. package/dist/_dts/content-editor/src/controller/EditLeaseController.d.ts +39 -0
  143. package/dist/_dts/content-editor/src/controller/EditorWriteGate.d.ts +38 -0
  144. package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +25 -61
  145. package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseBanner.d.ts +7 -0
  146. package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseControllers.d.ts +14 -0
  147. package/dist/_dts/content-editor/src/controller/deriveEditorUnpublishedState.d.ts +6 -0
  148. package/dist/_dts/content-editor/src/controller/documentValueBaseline.d.ts +25 -0
  149. package/dist/_dts/content-editor/src/controller/editLeaseLossSignal.d.ts +6 -0
  150. package/dist/_dts/content-editor/src/controller/editLeaseNotice.d.ts +28 -0
  151. package/dist/_dts/content-editor/src/controller/editorClientId.d.ts +2 -0
  152. package/dist/_dts/content-editor/src/controller/editorEditability.d.ts +38 -0
  153. package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +34 -0
  154. package/dist/_dts/content-editor/src/controller/normalizedMetadataBaseline.d.ts +29 -0
  155. package/dist/_dts/content-editor/src/controller/pageSurfaceDocumentBaselines.d.ts +14 -0
  156. package/dist/_dts/content-editor/src/controller/pageSurfaceLifecycle.d.ts +11 -0
  157. package/dist/_dts/content-editor/src/controller/planDocumentBaselineRefresh.d.ts +19 -0
  158. package/dist/_dts/content-editor/src/controller/readDocumentLeaseBaselines.d.ts +19 -0
  159. package/dist/_dts/content-editor/src/controller/refreshDocumentLeaseBaseline.d.ts +12 -0
  160. package/dist/_dts/content-editor/src/controller/refreshLinkedEntry.d.ts +17 -0
  161. package/dist/_dts/content-editor/src/controller/replayRestoredEditorEffects.d.ts +2 -3
  162. package/dist/_dts/content-editor/src/controller/routeWrites.d.ts +26 -0
  163. package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +16 -17
  164. package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +6 -2
  165. package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +3 -3
  166. package/dist/_dts/content-editor/src/controller/useEntryValueAutosaves.d.ts +21 -0
  167. package/dist/_dts/content-editor/src/controller/useInitialEditorUiStore.d.ts +24 -0
  168. package/dist/_dts/content-editor/src/controller/useServerBaselineReconciliation.d.ts +17 -0
  169. package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +1 -1
  170. package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +5 -1
  171. package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +8 -47
  172. package/dist/_dts/content-editor/src/hooks/editLeaseMachine.d.ts +120 -0
  173. package/dist/_dts/content-editor/src/hooks/publishability.d.ts +6 -10
  174. package/dist/_dts/content-editor/src/hooks/useAutosaveStatus.d.ts +3 -0
  175. package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +5 -15
  176. package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +7 -5
  177. package/dist/_dts/content-editor/src/hooks/useEditLease.d.ts +28 -0
  178. package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +25 -39
  179. package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +17 -19
  180. package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +5 -8
  181. package/dist/_dts/content-editor/src/hooks/useValueAutosave.d.ts +64 -0
  182. package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +0 -7
  183. package/dist/_dts/content-editor/src/index.d.ts +26 -7
  184. package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +12 -0
  185. package/dist/_dts/content-editor/src/linkedEntries/owner.d.ts +9 -0
  186. package/dist/_dts/content-editor/src/liveDrafts/draftProjection.d.ts +66 -0
  187. package/dist/_dts/content-editor/src/liveDrafts/linkedSaveHandovers.d.ts +37 -0
  188. package/dist/_dts/content-editor/src/liveDrafts/remoteDraftOverlay.d.ts +113 -0
  189. package/dist/_dts/content-editor/src/liveDrafts/useLiveDrafts.d.ts +32 -0
  190. package/dist/_dts/content-editor/src/liveDrafts/useRetentionTicks.d.ts +7 -0
  191. package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +6 -0
  192. package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +1 -0
  193. package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +96 -19
  194. package/dist/_dts/content-editor/src/services/editorApiClient.d.ts +13 -0
  195. package/dist/_dts/content-editor/src/services/index.d.ts +2 -0
  196. package/dist/_dts/content-editor/src/services/pageSurfaceEditorServices.d.ts +23 -0
  197. package/dist/_dts/content-editor/src/sync/flushValues.d.ts +13 -0
  198. package/dist/_dts/content-editor/src/sync/lifecycleFailure.d.ts +51 -0
  199. package/dist/_dts/content-editor/src/sync/runLifecycle.d.ts +64 -0
  200. package/dist/_dts/content-editor/src/sync/schedulerValues.d.ts +27 -0
  201. package/dist/_dts/content-editor/src/sync/sendPlanning.d.ts +104 -0
  202. package/dist/_dts/content-editor/src/sync/valueSync.d.ts +114 -0
  203. package/dist/_dts/content-editor/src/ui/blockCollection.d.ts +8 -0
  204. package/dist/_dts/content-editor/src/ui/documentLifecycle.d.ts +18 -0
  205. package/dist/_dts/content-editor/src/ui/editorLeaseUiState.d.ts +7 -0
  206. package/dist/_dts/content-editor/src/ui/editorRefresh.d.ts +82 -0
  207. package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +102 -127
  208. package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +1 -1
  209. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +126 -72
  210. package/dist/_dts/content-editor/src/ui/editorValueSnapshot.d.ts +18 -0
  211. package/dist/_dts/content-editor/src/ui/serverBlockAdmission.d.ts +26 -0
  212. package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +16 -27
  213. package/dist/_dts/content-editor/src/ui/stores/blockVersionsStore.d.ts +24 -0
  214. package/dist/_dts/content-editor/src/ui/stores/linkedEntryLeaseStore.d.ts +54 -0
  215. package/dist/_dts/content-editor/src/ui/stores/linkedSaveHandoversStore.d.ts +11 -0
  216. package/dist/_dts/content-editor/src/ui/stores/remoteDraftsStore.d.ts +10 -0
  217. package/dist/_dts/content-editor/src/ui/stores/types.d.ts +63 -3
  218. package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +2 -2
  219. package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +1 -1
  220. package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -4
  221. package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -4
  222. package/dist/_dts/content-model/src/definitions/shared.d.ts +11 -2
  223. package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
  224. package/dist/_dts/content-model/src/entry-slots/serializeAllowedBlocks.d.ts +2 -0
  225. package/dist/_dts/content-model/src/metadataConfig.d.ts +10 -38
  226. package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
  227. package/dist/_dts/content-model/src/types.d.ts +0 -1
  228. package/dist/_dts/core/src/block-content-identity.d.ts +49 -1
  229. package/dist/_dts/core/src/branded.d.ts +12 -0
  230. package/dist/_dts/core/src/currency-format.d.ts +8 -2
  231. package/dist/_dts/core/src/demo-lifecycle-status.d.ts +2 -2
  232. package/dist/_dts/core/src/demo-warm-pool-target.d.ts +8 -0
  233. package/dist/_dts/core/src/edit-lease.d.ts +55 -0
  234. package/dist/_dts/core/src/editor-state.d.ts +38 -13
  235. package/dist/_dts/core/src/editor-value-sync.d.ts +79 -0
  236. package/dist/_dts/core/src/html-entities.d.ts +6 -0
  237. package/dist/_dts/core/src/index.d.ts +4 -0
  238. package/dist/_dts/core/src/uuid.d.ts +7 -5
  239. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +159 -153
  240. package/dist/_dts/editor/src/EditorProvider.d.ts +5 -0
  241. package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +14 -0
  242. package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +1 -0
  243. package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +0 -1
  244. package/dist/_dts/editor/src/index.d.ts +1 -1
  245. package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +10 -9
  246. package/dist/_dts/editor-blocks/src/BlockForm.d.ts +1 -1
  247. package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
  248. package/dist/_dts/editor-blocks/src/block-editor/BlockCardFrame.d.ts +1 -1
  249. package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +1 -1
  250. package/dist/_dts/editor-blocks/src/block-editor/applyExtendedFieldDefaults.d.ts +3 -4
  251. package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +4 -8
  252. package/dist/_dts/editor-blocks/src/block-editor/editorBlockItem.d.ts +23 -0
  253. package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +2 -7
  254. package/dist/_dts/editor-blocks/src/block-editor/hooks/applyBlockStructureChange.d.ts +4 -0
  255. package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +14 -5
  256. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +21 -19
  257. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -10
  258. package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +8 -16
  259. package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +6 -16
  260. package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +37 -9
  261. package/dist/_dts/editor-blocks/src/index.d.ts +2 -1
  262. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +1 -1
  263. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +1 -1
  264. package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +1 -1
  265. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +1 -1
  266. package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +3 -2
  267. package/dist/_dts/media-core/src/fileStorage.d.ts +4 -0
  268. package/dist/_dts/media-editor/src/context.d.ts +1 -1
  269. package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
  270. package/dist/_dts/media-editor/src/provider.d.ts +3 -2
  271. package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
  272. package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +3 -1
  273. package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +8 -3
  274. package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +6 -3
  275. package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +22 -2
  276. package/dist/_dts/preview-next/src/client/blocks/previewProjection/entryFieldRebinding.d.ts +13 -0
  277. package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +2 -1
  278. package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +11 -1
  279. package/dist/_dts/preview-next/src/client/blocks/renderPrecedence.d.ts +17 -0
  280. package/dist/_dts/preview-next/src/client/blocks/useLinkedSaveHandoverRetention.d.ts +20 -0
  281. package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
  282. package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
  283. package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
  284. package/dist/_dts/preview-next/src/client/preview/PreviewAccessBanners.d.ts +7 -0
  285. package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
  286. package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +24 -14
  287. package/dist/_dts/preview-next/src/client/preview/PreviewLeaseEditingMode.d.ts +2 -0
  288. package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -2
  289. package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
  290. package/dist/_dts/preview-next/src/client/preview/previewCustomizeAutosave.d.ts +5 -0
  291. package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +3 -4
  292. package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +1 -0
  293. package/dist/_dts/preview-next/src/client/preview/usePreviewCustomizeWorkflowState.d.ts +4 -0
  294. package/dist/_dts/realtime/src/client.d.ts +3 -0
  295. package/dist/_dts/realtime/src/draftChannel.d.ts +91 -0
  296. package/dist/_dts/realtime/src/drafts.d.ts +210 -0
  297. package/dist/_dts/realtime/src/index.d.ts +3 -0
  298. package/dist/_dts/realtime/src/leaseChangeSubscriptions.d.ts +8 -0
  299. package/dist/_dts/realtime/src/types.d.ts +113 -0
  300. package/dist/_dts/realtime/src/useDraftChannel.d.ts +34 -0
  301. package/dist/_dts/realtime/src/useSiteRealtimeReload.d.ts +27 -0
  302. package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -55
  303. package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
  304. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -0
  305. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +2 -0
  306. package/dist/_dts/sdk/src/version.d.ts +1 -1
  307. package/dist/_dts/surfaces/src/index.d.ts +1 -0
  308. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
  309. package/dist/client/{BookingMailingListNote-1n4Ch_u_.mjs → BookingMailingListNote-CzRt2dF_.mjs} +98 -96
  310. package/dist/client/DemoBookingPortalAccess-mxqwap3f.mjs +344 -0
  311. package/dist/client/{EventCombined.client-C0pgma9y.mjs → EventCombined.client-CDb11igO.mjs} +6 -6
  312. package/dist/client/{EventListing.client-4fhLOvHP.mjs → EventListing.client-EgYhzKPa.mjs} +2 -2
  313. package/dist/client/{LeafletStaticMap-DScC4F3w.mjs → LeafletStaticMap-gtmtaA2b.mjs} +1 -1
  314. package/dist/client/{TerminalPanel-B5ZUsYhe.mjs → TerminalPanel-DvNUP5ot.mjs} +1 -1
  315. package/dist/client/{ThemedButton-DoVIV1Ao.mjs → ThemedButton-C7CeUJjW.mjs} +1 -1
  316. package/dist/client/{accordion-CoT5g7zo.mjs → accordion-kjvt49rA.mjs} +1 -1
  317. package/dist/client/{bookingForm-BWxB46xD.mjs → bookingForm-pbRZordh.mjs} +212 -62
  318. package/dist/client/bookings.mjs +616 -225
  319. package/dist/client/{carousel-DtNYWFd3.mjs → carousel-f4Zbmicv.mjs} +1 -1
  320. package/dist/client/{cart-z4qZih1Y.mjs → cart-DO20An50.mjs} +3 -3
  321. package/dist/client/{checkout-DpL7euFH.mjs → checkout-Du5amDR_.mjs} +3 -3
  322. package/dist/client/{checkoutUrls-BEfR7kVu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
  323. package/dist/client/client.mjs +1753 -823
  324. package/dist/client/{context-C8TinPJc.mjs → context-eW97E945.mjs} +4 -3
  325. package/dist/client/{dates-vwwxTeB0.mjs → dates-jPCirRea.mjs} +56 -11
  326. package/dist/client/{eventCalendar-DIbHfJXO.mjs → eventCalendar-C2M-iE4j.mjs} +9 -9
  327. package/dist/client/{eventCombined-DoGMJ6cg.mjs → eventCombined-W6ns3LHg.mjs} +4 -4
  328. package/dist/client/{eventDetails-BjN9v6a1.mjs → eventDetails-CR-GT0f0.mjs} +4 -4
  329. package/dist/client/{eventListing-DajjWgOv.mjs → eventListing-BK8AfYZz.mjs} +4 -4
  330. package/dist/client/{eventRegistration-DMq9gMA-.mjs → eventRegistration-BJSd4KUu.mjs} +369 -242
  331. package/dist/client/{form-Qf6qTbos.mjs → form-BvpfbQaT.mjs} +3 -3
  332. package/dist/client/{headerSection-D7qJrqFX.mjs → headerSection-I5sUQ8x-.mjs} +3 -3
  333. package/dist/client/hooks.mjs +254 -53
  334. package/dist/client/{locationMap-CCF9-t_0.mjs → locationMap-BLvwf9_f.mjs} +3 -3
  335. package/dist/client/{media-CwBGetqC.mjs → media-Cl38iOMI.mjs} +10 -3
  336. package/dist/client/{newsletterForm-DzCLSP4S.mjs → newsletterForm-DrQ2weE8.mjs} +3 -3
  337. package/dist/client/{pricing-Cgxv2KLC.mjs → pricing-BES87mrR.mjs} +1 -1
  338. package/dist/client/{productDetail-ru9w5GHx.mjs → productDetail-Url9jcc5.mjs} +3 -3
  339. package/dist/client/{productList-zaapKSl-.mjs → productList-DE7ngEZJ.mjs} +3 -3
  340. package/dist/client/{propsDecoder-CwvvNOHx.mjs → propsDecoder-D1OtGXDV.mjs} +89 -17
  341. package/dist/client/rendering/client.mjs +1445 -658
  342. package/dist/client/rendering/islands.mjs +18 -18
  343. package/dist/client/rendering.mjs +2478 -1515
  344. package/dist/client/{routeIslandApiConfig-BwVFo0Y4.mjs → routeIslandApiConfig-BG9Y-SHg.mjs} +1 -1
  345. package/dist/client/{shop-mktkXvbV.mjs → shop-CJkuySJ3.mjs} +126 -79
  346. package/dist/client/{shop-commerce-De7gEnkA.mjs → shop-commerce-4rKj5n9h.mjs} +25 -13
  347. package/dist/client/{shop-commerce-store-B3MCxIBW.mjs → shop-commerce-store-Bxm75Pg6.mjs} +1 -1
  348. package/dist/client/{shopShared-TqExh235.mjs → shopShared-DpoQDWfz.mjs} +4 -4
  349. package/dist/client/{useEventFilters-n_OjkIjX.mjs → useEventFilters-D8HliSqR.mjs} +32 -17
  350. package/dist/preview-next/before-render.mjs +192 -83
  351. package/dist/preview-next/client/runtime.mjs +4 -4
  352. package/dist/preview-next/keepAlive.mjs +192 -83
  353. package/dist/preview-next/middleware.mjs +192 -83
  354. package/dist/{previewAuthStore-C_EHQ5XA.mjs → previewAuthStore-BXXF3hhW.mjs} +194 -83
  355. package/dist/{sdk-runtime-BIkJg5y1.mjs → sdk-runtime-C2a05WjL.mjs} +2 -2
  356. package/dist/{separator-C9qDP95Z.mjs → separator-CuNhBAhS.mjs} +1 -1
  357. package/dist/server/components.mjs +1720 -1392
  358. package/dist/server/config-validation.mjs +221 -37
  359. package/dist/server/config.mjs +221 -37
  360. package/dist/server/data.mjs +221 -37
  361. package/dist/server/index.mjs +195 -84
  362. package/dist/server/next.mjs +490 -196
  363. package/dist/server/page-converter.mjs +53 -14
  364. package/dist/server/prebuild.mjs +1 -1
  365. package/dist/server/rendering/server.mjs +1427 -1098
  366. package/dist/server/rendering.mjs +2693 -2365
  367. package/dist/server/routing.mjs +291 -55
  368. package/dist/server/server.mjs +281 -114
  369. package/package.json +1 -1
  370. package/dist/_dts/billing/src/plans/display.d.ts +0 -15
  371. package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-note.d.ts +0 -3
  372. package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +0 -4
  373. package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +0 -16
  374. package/dist/_dts/content-editor/src/controller/driver.d.ts +0 -14
  375. package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +0 -7
  376. package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +0 -29
  377. package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +0 -26
  378. package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +0 -64
  379. package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +0 -48
  380. package/dist/_dts/content-editor/src/types.d.ts +0 -44
  381. package/dist/client/DiscountCodeDisclosure-CKJtz0mY.mjs +0 -137
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { O as clsx } from "./colorStyles-j5U9v5JA.mjs";
3
- import { Ut as err, Vt as assertNever, Wt as ok, t as defineIslandPropsDecoder } from "./propsDecoder-CwvvNOHx.mjs";
4
- import { n as useBlockApi, t as BlockApiProvider } from "./context-C8TinPJc.mjs";
3
+ import { Kt as err, Wt as assertNever, qt as ok, t as defineIslandPropsDecoder } from "./propsDecoder-D1OtGXDV.mjs";
4
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-eW97E945.mjs";
5
5
  import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
6
- import { t as ThemedButton } from "./ThemedButton-DoVIV1Ao.mjs";
6
+ import { t as ThemedButton } from "./ThemedButton-C7CeUJjW.mjs";
7
7
  import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
8
8
  import { t as CheckboxChoice } from "./CheckboxChoice-B33MqoUo.mjs";
9
9
  import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { j as staticHeaderChromeRuntime, r as buildCartDisplay, t as defineIslandPropsDecoder } from "./propsDecoder-CwvvNOHx.mjs";
3
- import { n as ThemedButtonLink, t as ThemedButton } from "./ThemedButton-DoVIV1Ao.mjs";
2
+ import { j as staticHeaderChromeRuntime, r as buildCartDisplay, t as defineIslandPropsDecoder } from "./propsDecoder-D1OtGXDV.mjs";
3
+ import { n as ThemedButtonLink, t as ThemedButton } from "./ThemedButton-C7CeUJjW.mjs";
4
4
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
5
- import { n as useCommerceCart } from "./shop-commerce-store-B3MCxIBW.mjs";
5
+ import { n as useCommerceCart } from "./shop-commerce-store-Bxm75Pg6.mjs";
6
6
  import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
7
7
  import * as React$1 from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -58,6 +58,19 @@ const CURRENCY_LOCALE_BY_CODE = {
58
58
  function resolveCurrencyLocale(currencyCode, override) {
59
59
  return override ?? CURRENCY_LOCALE_BY_CODE[currencyCode] ?? "en";
60
60
  }
61
+ function fractionDigitsFor(decimals, exactFormatter) {
62
+ switch (decimals) {
63
+ case "exact": return {};
64
+ case "auto": return {
65
+ minimumFractionDigits: 0,
66
+ maximumFractionDigits: exactFormatter.resolvedOptions().maximumFractionDigits
67
+ };
68
+ case "whole": return {
69
+ minimumFractionDigits: 0,
70
+ maximumFractionDigits: 0
71
+ };
72
+ }
73
+ }
61
74
  /**
62
75
  * The single currency-amount formatter for the product: minor units in,
63
76
  * localized string out.
@@ -68,6 +81,13 @@ function resolveCurrencyLocale(currencyCode, override) {
68
81
  * own `Intl.NumberFormat`.
69
82
  */
70
83
  function formatCurrencyAmount(amountCents, currency, options) {
84
+ return formatCurrencyMajorUnits(amountCents / 100, currency, options);
85
+ }
86
+ /**
87
+ * `formatCurrencyAmount` for an amount already in MAJOR units (29.99 = £29.99),
88
+ * such as a registrar price. Prefer minor units everywhere else.
89
+ */
90
+ function formatCurrencyMajorUnits(amount, currency, options) {
71
91
  const currencyCode = currency.toUpperCase();
72
92
  const locale = resolveCurrencyLocale(currencyCode, options?.locale);
73
93
  try {
@@ -75,17 +95,13 @@ function formatCurrencyAmount(amountCents, currency, options) {
75
95
  style: "currency",
76
96
  currency: currencyCode
77
97
  });
78
- const fractionDigits = options?.decimals === "auto" ? {
79
- minimumFractionDigits: 0,
80
- maximumFractionDigits: exactFormatter.resolvedOptions().maximumFractionDigits
81
- } : {};
82
98
  return new Intl.NumberFormat(locale, {
83
99
  style: "currency",
84
100
  currency: currencyCode,
85
- ...fractionDigits
86
- }).format(amountCents / 100);
101
+ ...fractionDigitsFor(options?.decimals ?? "exact", exactFormatter)
102
+ }).format(amount);
87
103
  } catch {
88
- return `${(amountCents / 100).toFixed(2)} ${currencyCode}`;
104
+ return `${amount.toFixed(2)} ${currencyCode}`;
89
105
  }
90
106
  }
91
107
  //#endregion
@@ -494,6 +510,26 @@ function toLocationCoordinates(value) {
494
510
  };
495
511
  }
496
512
  //#endregion
513
+ //#region ../core/src/block-content-identity.ts
514
+ function readContentVersionId(value) {
515
+ const parsed = parseContentVersionId(value);
516
+ return parsed.ok ? parsed.value : null;
517
+ }
518
+ /** The one pairing of a published id with its content. */
519
+ function readPublishedBlockPlacement(id, content) {
520
+ if (id == null && content == null) return null;
521
+ const versionId = readContentVersionId(id);
522
+ return versionId !== null && content != null ? {
523
+ kind: "published",
524
+ id: versionId,
525
+ content
526
+ } : {
527
+ kind: "incomplete",
528
+ id: id ?? null,
529
+ content: content ?? null
530
+ };
531
+ }
532
+ //#endregion
497
533
  //#region ../core/src/mailing-list-identifiers.ts
498
534
  const UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/iu;
499
535
  const OPAQUE_ID_PATTERN = /^[A-Za-z0-9_-]{1,100}$/u;
@@ -8431,7 +8467,6 @@ const publicEventBaseSchema = z.object({
8431
8467
  description: z.string().nullable(),
8432
8468
  content: z.object({ body: RichTextDocSchema.nullable().optional() }).optional(),
8433
8469
  presentation: z.object({
8434
- cardTitleOverride: z.string().nullable().optional(),
8435
8470
  summary: z.string().nullable().optional(),
8436
8471
  image: mediaSchema.nullable().optional()
8437
8472
  }).optional(),
@@ -8464,6 +8499,7 @@ const publicEventBaseSchema = z.object({
8464
8499
  "archived"
8465
8500
  ]).optional(),
8466
8501
  timeZone: z.string(),
8502
+ siteTimeZone: z.string().optional(),
8467
8503
  pricing: publicEventPricingSchema,
8468
8504
  paymentTerms: blockBookingPaymentTermsSchema,
8469
8505
  cancellationPolicy: z.object({ refunds: z.object({
@@ -10307,6 +10343,7 @@ const SDK_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
10307
10343
  responseKind: "json",
10308
10344
  errors: [
10309
10345
  "resource:not_found",
10346
+ "validation:invalid_input",
10310
10347
  "resource:conflict",
10311
10348
  "server:internal_error"
10312
10349
  ]
@@ -10761,28 +10798,6 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
10761
10798
  "resource:conflict",
10762
10799
  "server:internal_error"
10763
10800
  ]
10764
- },
10765
- /**
10766
- * The Content tab's one write: the short introduction, image and
10767
- * description of an event's page, published without its layout.
10768
- */
10769
- saveEventPageWords: {
10770
- path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/words",
10771
- method: "PUT",
10772
- tags: [
10773
- TAG_TEMPLATES.siteCollection,
10774
- TAG_TEMPLATES.siteRoutableContent,
10775
- TAG_TEMPLATES.pageSurfaceById
10776
- ],
10777
- auth: "user",
10778
- responseKind: "json",
10779
- errors: [
10780
- "auth:forbidden",
10781
- "validation:invalid_input",
10782
- "resource:not_found",
10783
- "resource:conflict",
10784
- "server:internal_error"
10785
- ]
10786
10801
  }
10787
10802
  });
10788
10803
  //#endregion
@@ -11207,6 +11222,15 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
11207
11222
  auth: "user",
11208
11223
  responseKind: "json"
11209
11224
  },
11225
+ /** Continue on Free from the onboarding card page; only the attempt's owner. */
11226
+ continueOnboardingOnFree: {
11227
+ path: "/onboarding/attempts/{attemptToken}/plan/free",
11228
+ method: "POST",
11229
+ tags: ["billing"],
11230
+ auth: "user",
11231
+ errors: [],
11232
+ responseKind: "json"
11233
+ },
11210
11234
  createBillingPortalSession: {
11211
11235
  path: "/billing/portal/session",
11212
11236
  method: "POST",
@@ -11216,6 +11240,161 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
11216
11240
  }
11217
11241
  });
11218
11242
  //#endregion
11243
+ //#region ../api/src/editLeaseEndpoints.ts
11244
+ const path = "/sites/{siteId}/edit-leases/{nodeType}/{nodeId}";
11245
+ const lifecycleErrors = [
11246
+ "auth:lease_required",
11247
+ "auth:forbidden",
11248
+ "resource:not_found",
11249
+ "validation:invalid_input",
11250
+ "server:internal_error"
11251
+ ];
11252
+ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
11253
+ readEditLease: {
11254
+ path,
11255
+ method: "GET",
11256
+ editLease: "lifecycle",
11257
+ errors: lifecycleErrors,
11258
+ auth: "user",
11259
+ responseKind: "json"
11260
+ },
11261
+ acquireEditLease: {
11262
+ path,
11263
+ method: "POST",
11264
+ editLease: "lifecycle",
11265
+ errors: lifecycleErrors,
11266
+ auth: "user",
11267
+ responseKind: "json"
11268
+ },
11269
+ takeOverEditLease: {
11270
+ path,
11271
+ method: "PUT",
11272
+ editLease: "lifecycle",
11273
+ errors: lifecycleErrors,
11274
+ auth: "user",
11275
+ responseKind: "json"
11276
+ },
11277
+ heartbeatEditLease: {
11278
+ path,
11279
+ method: "PATCH",
11280
+ editLease: "lifecycle",
11281
+ errors: [...lifecycleErrors, "auth:lease_lost"],
11282
+ auth: "user",
11283
+ responseKind: "json"
11284
+ },
11285
+ releaseEditLease: {
11286
+ path,
11287
+ method: "DELETE",
11288
+ editLease: "lifecycle",
11289
+ errors: lifecycleErrors,
11290
+ auth: "user",
11291
+ responseKind: "json"
11292
+ }
11293
+ };
11294
+ //#endregion
11295
+ //#region ../api/src/pageSurfaceEditorEndpoints.ts
11296
+ const surfaceTags = [TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById];
11297
+ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
11298
+ getPageSurfaceEditorDocument: {
11299
+ path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
11300
+ method: "GET",
11301
+ errors: [
11302
+ "auth:forbidden",
11303
+ "validation:invalid_input",
11304
+ "resource:not_found",
11305
+ "resource:conflict",
11306
+ "server:internal_error"
11307
+ ],
11308
+ tags: surfaceTags,
11309
+ auth: "user",
11310
+ responseKind: "json"
11311
+ },
11312
+ updatePageSurfaceDraftContent: {
11313
+ editLease: "managed",
11314
+ path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
11315
+ method: "PUT",
11316
+ errors: [
11317
+ "validation:invalid_input",
11318
+ "resource:not_found",
11319
+ "resource:conflict",
11320
+ "server:internal_error"
11321
+ ],
11322
+ tags: surfaceTags,
11323
+ auth: "user",
11324
+ responseKind: "json"
11325
+ },
11326
+ discardPageSurfaceDraftContent: {
11327
+ editLease: "managed",
11328
+ path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content/draft",
11329
+ method: "DELETE",
11330
+ errors: [
11331
+ "validation:invalid_input",
11332
+ "resource:not_found",
11333
+ "resource:conflict",
11334
+ "server:internal_error"
11335
+ ],
11336
+ tags: surfaceTags,
11337
+ auth: "user",
11338
+ responseKind: "json"
11339
+ },
11340
+ updatePageSurfaceRouteMetadata: {
11341
+ editLease: "managed",
11342
+ path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/metadata",
11343
+ method: "PATCH",
11344
+ errors: [
11345
+ "validation:invalid_input",
11346
+ "resource:not_found",
11347
+ "resource:conflict",
11348
+ "server:internal_error"
11349
+ ],
11350
+ tags: [
11351
+ TAG_TEMPLATES.siteCollection,
11352
+ TAG_TEMPLATES.siteRoutableContent,
11353
+ TAG_TEMPLATES.pageSurfaceById
11354
+ ],
11355
+ auth: "user",
11356
+ responseKind: "json"
11357
+ },
11358
+ publishPageSurface: {
11359
+ editLease: "managed",
11360
+ path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
11361
+ method: "POST",
11362
+ errors: [
11363
+ "auth:forbidden",
11364
+ "validation:invalid_input",
11365
+ "resource:not_found",
11366
+ "resource:conflict",
11367
+ "server:internal_error"
11368
+ ],
11369
+ tags: [
11370
+ TAG_TEMPLATES.siteCollection,
11371
+ TAG_TEMPLATES.siteRoutableContent,
11372
+ TAG_TEMPLATES.pageSurfaceById
11373
+ ],
11374
+ auth: "user",
11375
+ responseKind: "json"
11376
+ },
11377
+ saveEventContentTab: {
11378
+ editLease: "managed",
11379
+ path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/event-content",
11380
+ method: "PUT",
11381
+ errors: [
11382
+ "auth:forbidden",
11383
+ "validation:invalid_input",
11384
+ "resource:not_found",
11385
+ "resource:conflict",
11386
+ "server:internal_error"
11387
+ ],
11388
+ tags: [
11389
+ TAG_TEMPLATES.siteCollection,
11390
+ TAG_TEMPLATES.siteRoutableContent,
11391
+ TAG_TEMPLATES.pageSurfaceById
11392
+ ],
11393
+ auth: "user",
11394
+ responseKind: "json"
11395
+ }
11396
+ };
11397
+ //#endregion
11219
11398
  //#region ../api/src/bookingPeopleEndpointDefinitions.ts
11220
11399
  /**
11221
11400
  * People endpoints (#1356): the People list, its CSV export, and deleting a
@@ -11308,12 +11487,14 @@ z.object({
11308
11487
  ...GIFTING_ENDPOINT_DEFINITIONS,
11309
11488
  ...PUBLIC_READ_ENDPOINT_DEFINITIONS,
11310
11489
  ...BILLING_ENDPOINT_DEFINITIONS,
11490
+ ...EDIT_LEASE_ENDPOINT_DEFINITIONS,
11491
+ ...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
11311
11492
  ...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS
11312
11493
  }), TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, { ...SITE_API_KEY_ENDPOINT_DEFINITIONS }, TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteEmailSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteEmailSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteEmailSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteEmailSettings, {
11313
11494
  ...NEWSLETTER_ENDPOINT_DEFINITIONS,
11314
11495
  ...APPOINTMENT_ENDPOINT_DEFINITIONS,
11315
11496
  ...EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS
11316
- }, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteById, TAG_TEMPLATES.siteBySlug, TAG_TEMPLATES.siteByDomain, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteById, TAG_TEMPLATES.siteBySlug, TAG_TEMPLATES.siteByDomain, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.workflowRunById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.routeById, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.navigationItemById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.navigationItemById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.publicEvents, TAG_TEMPLATES.publicBookingServices, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRedirects, TAG_TEMPLATES.siteRouteOutcomes, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRedirects, TAG_TEMPLATES.siteRouteOutcomes, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug, TAG_TEMPLATES.siteForms, { ...PUBLIC_BOOKING_AVAILABILITY_ENDPOINT_DEFINITIONS }, TAG_TEMPLATES.publicEventFilters, TAG_TEMPLATES.publicEvents, TAG_TEMPLATES.publicShop, TAG_TEMPLATES.publicCheckout, TAG_TEMPLATES.siteRoutableContent, { ...PUBLIC_EVENT_CHECKOUT_ENDPOINT_DEFINITIONS }, TAG_TEMPLATES.publicEvents, TAG_TEMPLATES.publicEvents, { ...EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS }, { ...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS }, { ...SDK_MEDIA_ENDPOINT_DEFINITIONS }, { ...SDK_ENDPOINT_DEFINITIONS }, { ...SDK_PAGE_DESIGN_ENDPOINT_DEFINITIONS }, { ...SDK_EVENT_ENDPOINT_DEFINITIONS }, { ...SDK_ENTRY_READ_ENDPOINTS };
11497
+ }, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteById, TAG_TEMPLATES.siteBySlug, TAG_TEMPLATES.siteByDomain, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteById, TAG_TEMPLATES.siteBySlug, TAG_TEMPLATES.siteByDomain, TAG_TEMPLATES.workflowRunById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.routeById, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.site, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.navigationItemById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.navigationItemById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteNavigation, TAG_TEMPLATES.navigationMenuById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteSettings, TAG_TEMPLATES.publicEvents, TAG_TEMPLATES.publicBookingServices, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.siteTheme, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteCollection, TAG_TEMPLATES.pageSurfaceById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.pageById, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRedirects, TAG_TEMPLATES.siteRouteOutcomes, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteRedirects, TAG_TEMPLATES.siteRouteOutcomes, TAG_TEMPLATES.siteRoutableContent, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug, TAG_TEMPLATES.siteForms, TAG_TEMPLATES.formSubmissionsBySlug, TAG_TEMPLATES.siteForms, { ...PUBLIC_BOOKING_AVAILABILITY_ENDPOINT_DEFINITIONS }, TAG_TEMPLATES.publicEventFilters, TAG_TEMPLATES.publicEvents, TAG_TEMPLATES.publicShop, TAG_TEMPLATES.publicCheckout, TAG_TEMPLATES.siteRoutableContent, { ...PUBLIC_EVENT_CHECKOUT_ENDPOINT_DEFINITIONS }, TAG_TEMPLATES.publicEvents, TAG_TEMPLATES.publicEvents, { ...EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS }, { ...BOOKING_PEOPLE_ENDPOINT_DEFINITIONS }, { ...SDK_MEDIA_ENDPOINT_DEFINITIONS }, { ...SDK_ENDPOINT_DEFINITIONS }, { ...SDK_PAGE_DESIGN_ENDPOINT_DEFINITIONS }, { ...SDK_EVENT_ENDPOINT_DEFINITIONS }, { ...SDK_ENTRY_READ_ENDPOINTS };
11317
11498
  z.object({ refreshToken: z.string().min(1).max(4096) }).strict();
11318
11499
  z.object({
11319
11500
  accessToken: z.string().min(1).max(4096),
@@ -11540,21 +11721,6 @@ const navigationLinkInputSchemaOptions = [
11540
11721
  ];
11541
11722
  z.discriminatedUnion("kind", navigationLinkInputSchemaOptions);
11542
11723
  //#endregion
11543
- //#region ../blocks/src/pageRenderAdmission.ts
11544
- /** Pair a published version with the content it authorises at the render boundary. */
11545
- function readPublishedBlockPlacement(id, content) {
11546
- if (id == null && content == null) return null;
11547
- if (id == null || content == null) return {
11548
- kind: "incomplete",
11549
- id: id ?? null,
11550
- content: content ?? null
11551
- };
11552
- return {
11553
- id,
11554
- content
11555
- };
11556
- }
11557
- //#endregion
11558
11724
  //#region ../theme-core/src/site-styles/styleTags.ts
11559
11725
  /**
11560
11726
  * Descriptive style-axis metadata for button personalities and palette
@@ -31015,6 +31181,10 @@ const bookingDescription = richText({}, bind("content.description"), when("conte
31015
31181
  * that hydration never rewrites.
31016
31182
  */
31017
31183
  const bookingWizard = bookingForm(withApiBindings({
31184
+ demoEmailSuppressed: { $bind: {
31185
+ from: "$root.demoEmailSuppressed",
31186
+ fallback: false
31187
+ } },
31018
31188
  portalToken: { $bind: {
31019
31189
  from: "$root.portalToken",
31020
31190
  fallback: null
@@ -31928,6 +32098,7 @@ const EVENT_REGISTRATION_SHELL_STEP_LABELS = [
31928
32098
  ];
31929
32099
  const eventRegistrationPublicEventSchema = z.preprocess(normalizeEventRegistrationEventInput, publicEventSchema);
31930
32100
  const eventRegistrationHydrationSchemaShape = {
32101
+ demoEmailSuppressed: z.boolean().optional(),
31931
32102
  occurrenceContext: occurrenceContextSchema.optional(),
31932
32103
  subject: eventRegistrationPageSurfaceSubjectSchema.nullable().optional(),
31933
32104
  maxTickets: z.string().optional(),
@@ -32108,6 +32279,7 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
32108
32279
  ...eventSource,
32109
32280
  events: [...scopedSourceEvents]
32110
32281
  } : eventSource,
32282
+ demoEmailSuppressed: source.demoEmailSuppressed,
32111
32283
  maxTickets: source.maxTickets ?? void 0,
32112
32284
  showVenue: source.showVenue,
32113
32285
  showCapacity: source.showCapacity,
@@ -32236,8 +32408,8 @@ const eventRegistrationBlockDefinition = {
32236
32408
  description: "Message shown after successful registration",
32237
32409
  required: false,
32238
32410
  multiline: true,
32239
- defaultValue: "Thank you for registering! Check your email for confirmation details.",
32240
- maxLength: 500
32411
+ maxLength: 500,
32412
+ ui: { placeholder: "Thank you for registering! Check your email for confirmation details." }
32241
32413
  },
32242
32414
  {
32243
32415
  id: "buttonText",
@@ -32258,6 +32430,10 @@ const eventRegistrationBlockDefinition = {
32258
32430
  text({ as: "h2" }, bind("content.heading"), when("content.heading")),
32259
32431
  richText({ className: "rb-prose rb-max-w-none" }, bind("content.description"), when("content.description")),
32260
32432
  eventRegistration(withApiBindings({
32433
+ demoEmailSuppressed: { $bind: {
32434
+ from: "$root.demoEmailSuppressed",
32435
+ fallback: false
32436
+ } },
32261
32437
  readAuthority: { $bind: { from: "$root.readAuthority" } },
32262
32438
  occurrenceContext: { $bind: { from: "$root.occurrenceContext" } },
32263
32439
  subject: { $bind: { from: "$root.subject" } },
@@ -37620,6 +37796,7 @@ const shopSourceSchema = z.object({
37620
37796
  memberships: z.array(publicMembershipProductSchema).nullable().optional(),
37621
37797
  products: z.array(publicProductSchema).nullable().optional(),
37622
37798
  siteId: z.string().optional(),
37799
+ demoEmailSuppressed: z.boolean().optional(),
37623
37800
  apiBaseUrl: z.string().optional(),
37624
37801
  readAuthority: browserReadAuthoritySchema.optional(),
37625
37802
  stage: previewStageSchema.optional()
@@ -37739,7 +37916,8 @@ const checkoutDisplaySchema = z.object({
37739
37916
  const passesMembershipsHydrationSchema = z.object({
37740
37917
  memberships: z.array(publicMembershipProductSchema),
37741
37918
  passPurchaseMode: z.enum(["add_to_cart", "buy_now"]),
37742
- buttonVariant: blockButtonRoleSchema
37919
+ buttonVariant: blockButtonRoleSchema,
37920
+ demoEmailSuppressed: z.boolean().optional()
37743
37921
  });
37744
37922
  const productListHydrationSchema = z.object({
37745
37923
  products: z.array(publicProductSchema),
@@ -37761,7 +37939,8 @@ const cartHydrationSchema = z.object({
37761
37939
  });
37762
37940
  const checkoutHydrationSchema = z.object({
37763
37941
  emptyStateText: z.string(),
37764
- submitButtonText: z.string()
37942
+ submitButtonText: z.string(),
37943
+ demoEmailSuppressed: z.boolean().optional()
37765
37944
  });
37766
37945
  const passesMembershipsRenderSchema = z.object({
37767
37946
  display: passesMembershipsDisplaySchema,
@@ -37820,7 +37999,8 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
37820
37999
  hydration: {
37821
38000
  memberships: source.showMemberships === false ? [] : source.memberships ?? [],
37822
38001
  passPurchaseMode,
37823
- buttonVariant: source.buttonVariant ?? "primary"
38002
+ buttonVariant: source.buttonVariant ?? "primary",
38003
+ demoEmailSuppressed: source.demoEmailSuppressed
37824
38004
  }
37825
38005
  };
37826
38006
  }
@@ -37913,7 +38093,8 @@ const checkoutBlockRuntime = defineClientOwnedBlockRuntime({
37913
38093
  }),
37914
38094
  hydration: {
37915
38095
  emptyStateText: source.emptyStateText ?? "Add something to your cart to continue.",
37916
- submitButtonText: source.submitButtonText ?? "Checkout"
38096
+ submitButtonText: source.submitButtonText ?? "Checkout",
38097
+ demoEmailSuppressed: source.demoEmailSuppressed
37917
38098
  }
37918
38099
  })
37919
38100
  });
@@ -38131,6 +38312,10 @@ const shopBlockDefinition = {
38131
38312
  spacing: "spacious",
38132
38313
  children: sectionContainer([shop(withApiBindings({
38133
38314
  readAuthority: { $bind: { from: "$root.readAuthority" } },
38315
+ demoEmailSuppressed: { $bind: {
38316
+ from: "$root.demoEmailSuppressed",
38317
+ fallback: false
38318
+ } },
38134
38319
  mode: "passes-memberships",
38135
38320
  showPasses: { $bind: {
38136
38321
  from: "content.showPasses",
@@ -38673,6 +38858,10 @@ const checkoutBlockDefinition = {
38673
38858
  baseClass: "",
38674
38859
  spacing: "spacious",
38675
38860
  children: sectionContainer([checkout(withApiBindings({
38861
+ demoEmailSuppressed: { $bind: {
38862
+ from: "$root.demoEmailSuppressed",
38863
+ fallback: false
38864
+ } },
38676
38865
  readAuthority: { $bind: { from: "$root.readAuthority" } },
38677
38866
  mode: "checkout",
38678
38867
  heading: { $bind: {
@@ -43399,9 +43588,17 @@ function readBlockContentId(value, name) {
43399
43588
  function readTransportedBlockIdentity(block, kind, stage) {
43400
43589
  return {
43401
43590
  draftContentId: readBlockContentId(block.draftContentId, "draft content id"),
43402
- publishedPlacement: stage === "preview" ? readPublishedBlockPlacement(readBlockContentId(block.publishedContentId, "published content id"), sanitizeNullableSdkRuntimeBlockContent(kind, readNestedContentRecord(block.publishedContent))) : null
43591
+ publishedPlacement: stage === "preview" ? readSdkPreviewPublishedPlacement(block, kind) : null
43403
43592
  };
43404
43593
  }
43594
+ /** Pair SDK preview publication data whether it is transported or already admitted. */
43595
+ function readSdkPreviewPublishedPlacement(block, kind) {
43596
+ if (block.publishedPlacement !== void 0 && block.publishedPlacement !== null) {
43597
+ if (!isRecord(block.publishedPlacement)) throw new Error("Invalid published placement in page");
43598
+ return readPublishedBlockPlacement(readBlockContentId(block.publishedPlacement.id, "published content id"), sanitizeNullableSdkRuntimeBlockContent(kind, readContentRecord(block.publishedPlacement.content) ?? null));
43599
+ }
43600
+ return readPublishedBlockPlacement(readBlockContentId(block.publishedContentId, "published content id"), sanitizeNullableSdkRuntimeBlockContent(kind, readSdkPublishedContentRecord(block.publishedContent)));
43601
+ }
43405
43602
  function convertPageResponseBlock(block, stage) {
43406
43603
  if (!isRecord(block)) throw new Error("Invalid block format in page API response");
43407
43604
  const header = readTransportedBlockHeader(block);
@@ -43510,6 +43707,10 @@ function readNestedContentRecord(value) {
43510
43707
  if (!isRecord(value)) return null;
43511
43708
  return readContentRecord(value.data) ?? null;
43512
43709
  }
43710
+ function readSdkPublishedContentRecord(value) {
43711
+ if (!isRecord(value)) return null;
43712
+ return "data" in value ? readContentRecord(value.data) ?? null : value;
43713
+ }
43513
43714
  function sanitizeSdkRuntimeBlockContent(blockKind, content) {
43514
43715
  if (blockKind !== "block.newsletter-signup") return content;
43515
43716
  const sanitized = sanitizeNewsletterSignupPublicContent(content);
@@ -1,8 +1,8 @@
1
1
  import { i as textColorStyle } from "./colorStyles-j5U9v5JA.mjs";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CwvvNOHx.mjs";
3
- import { n as ThemedButtonLink } from "./ThemedButton-DoVIV1Ao.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-D1OtGXDV.mjs";
3
+ import { n as ThemedButtonLink } from "./ThemedButton-C7CeUJjW.mjs";
4
4
  import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
5
- import { t as LeafletStaticMap } from "./LeafletStaticMap-DScC4F3w.mjs";
5
+ import { t as LeafletStaticMap } from "./LeafletStaticMap-gtmtaA2b.mjs";
6
6
  import "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../core/src/location.ts
@@ -12,11 +12,18 @@ function isReservedPathSegment(value) {
12
12
  function isUnsafePathSegment(segment) {
13
13
  return segment.trim().length === 0 || segment !== segment.trim() || isReservedPathSegment(segment) || containsUnsafePathSegmentCharacter(segment);
14
14
  }
15
- ({
15
+ //#endregion
16
+ //#region ../media-core/src/fileStorage.ts
17
+ const FILE_STORAGE_BUCKETS = {
16
18
  publicSite: unsafeAsStorageBucketName("media"),
17
19
  privateSite: unsafeAsStorageBucketName("site-files-private"),
18
- temporary: unsafeAsStorageBucketName("temp-uploads")
19
- }).publicSite, unsafeAsStorageBucketName("site-assets"), unsafeAsStorageBucketName("site-fonts");
20
+ temporary: unsafeAsStorageBucketName("temp-uploads"),
21
+ siteAssets: unsafeAsStorageBucketName("site-assets"),
22
+ siteFonts: unsafeAsStorageBucketName("site-fonts"),
23
+ bookingRequirementDocuments: unsafeAsStorageBucketName("booking-requirement-documents")
24
+ };
25
+ FILE_STORAGE_BUCKETS.publicSite, FILE_STORAGE_BUCKETS.siteAssets, FILE_STORAGE_BUCKETS.siteFonts;
26
+ FILE_STORAGE_BUCKETS.publicSite, FILE_STORAGE_BUCKETS.privateSite, FILE_STORAGE_BUCKETS.temporary, FILE_STORAGE_BUCKETS.siteAssets, FILE_STORAGE_BUCKETS.siteFonts, FILE_STORAGE_BUCKETS.bookingRequirementDocuments;
20
27
  function parseStoragePath(value) {
21
28
  return joinStoragePathSegments(value.split("/"));
22
29
  }
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { O as clsx } from "./colorStyles-j5U9v5JA.mjs";
3
- import { Sn as assertNever$1, Vt as assertNever, Xt as parseMailingListVisitorSelection, g as newsletterBlockSubmissionMessage, h as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, t as defineIslandPropsDecoder } from "./propsDecoder-CwvvNOHx.mjs";
4
- import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "./context-C8TinPJc.mjs";
3
+ import { $t as parseMailingListVisitorSelection, Tn as assertNever$1, Wt as assertNever, g as newsletterBlockSubmissionMessage, h as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, t as defineIslandPropsDecoder } from "./propsDecoder-D1OtGXDV.mjs";
4
+ import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "./context-eW97E945.mjs";
5
5
  import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
6
- import { t as ThemedButton } from "./ThemedButton-DoVIV1Ao.mjs";
6
+ import { t as ThemedButton } from "./ThemedButton-C7CeUJjW.mjs";
7
7
  import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
8
8
  import { i as getFieldValidationControlProps, r as FieldValidationMessage, t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-DZSHZrm6.mjs";
9
9
  import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
@@ -1,4 +1,4 @@
1
- import { fn as formatBookingPriceDisplay, gn as publicEventPricingDisplay, pn as formatEventPricing } from "./propsDecoder-CwvvNOHx.mjs";
1
+ import { gn as formatEventPricing, hn as formatBookingPriceDisplay, yn as publicEventPricingDisplay } from "./propsDecoder-D1OtGXDV.mjs";
2
2
  //#region ../blocks/src/system/runtime/nodes/events/domain/capacity.ts
3
3
  /**
4
4
  * Compute remaining spots for an event from `availableSpots` with a fallback
@@ -1,6 +1,6 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CwvvNOHx.mjs";
2
- import { r as ProductDetailController } from "./shop-commerce-De7gEnkA.mjs";
3
- import { t as mountShopBlockIsland } from "./shopShared-TqExh235.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-D1OtGXDV.mjs";
2
+ import { r as ProductDetailController } from "./shop-commerce-4rKj5n9h.mjs";
3
+ import { t as mountShopBlockIsland } from "./shopShared-DpoQDWfz.mjs";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
@@ -1,6 +1,6 @@
1
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CwvvNOHx.mjs";
2
- import { i as ProductListController } from "./shop-commerce-De7gEnkA.mjs";
3
- import { t as mountShopBlockIsland } from "./shopShared-TqExh235.mjs";
1
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-D1OtGXDV.mjs";
2
+ import { i as ProductListController } from "./shop-commerce-4rKj5n9h.mjs";
3
+ import { t as mountShopBlockIsland } from "./shopShared-DpoQDWfz.mjs";
4
4
  import "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../blocks/src/system/runtime/nodes/product-list.client.tsx