@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.
- package/CHANGELOG.md +28 -0
- package/dist/{PreviewEditorSidebar-kg2r2Fyi.mjs → PreviewEditorSidebar-DvEPG3Z2.mjs} +249 -172
- package/dist/{PreviewEditorUI-sWMLp5dT.mjs → PreviewEditorUI-D6eb6fkx.mjs} +68 -60
- package/dist/{PreviewQueryProvider-Cg51xq1w.mjs → PreviewQueryProvider-5znTyJuz.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-h2ti3Hch.mjs → SdkPreviewModeRuntime-DJ6utQ_R.mjs} +1180 -475
- package/dist/{SiteChromeCustomizeContext-DEACFH9m.mjs → SiteChromeCustomizeContext-CFJYh6vo.mjs} +199078 -193767
- package/dist/_dts/ai/src/contracts/proposals.d.ts +198 -33
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +18 -3
- package/dist/_dts/api/src/accessAdmin.d.ts +0 -4
- package/dist/_dts/api/src/accountApi.d.ts +6 -6
- package/dist/_dts/api/src/admin.d.ts +22 -22
- package/dist/_dts/api/src/aiPatch.d.ts +2 -2
- package/dist/_dts/api/src/aiPlayground.d.ts +1 -0
- package/dist/_dts/api/src/analytics.d.ts +2 -2
- package/dist/_dts/api/src/apiEndpointTypes.d.ts +2 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
- package/dist/_dts/api/src/auth.d.ts +10 -10
- package/dist/_dts/api/src/availability.d.ts +6 -6
- package/dist/_dts/api/src/billing.d.ts +42 -15
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +15 -6
- package/dist/_dts/api/src/blocks.d.ts +15 -14
- package/dist/_dts/api/src/blocksKeys.d.ts +2 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +16 -2
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -13
- package/dist/_dts/api/src/bookingOperations.d.ts +6 -48
- package/dist/_dts/api/src/bookingPeople.d.ts +92 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +38 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +12 -49
- package/dist/_dts/api/src/bookingSettingsSections.d.ts +1 -1
- package/dist/_dts/api/src/bookings.d.ts +8 -7
- package/dist/_dts/api/src/calendar.d.ts +9 -9
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/content-editor.d.ts +2 -2
- package/dist/_dts/api/src/contentEntries.d.ts +17 -48
- package/dist/_dts/api/src/contentRuntime.d.ts +51 -37
- package/dist/_dts/api/src/contentTypes.d.ts +11 -11
- package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +6 -6
- package/dist/_dts/api/src/documentLifecycle.d.ts +67 -0
- package/dist/_dts/api/src/domains.d.ts +16 -16
- package/dist/_dts/api/src/editLeaseEndpoints.d.ts +72 -0
- package/dist/_dts/api/src/emailSettings.d.ts +4 -4
- package/dist/_dts/api/src/endpoints.d.ts +725 -607
- package/dist/_dts/api/src/eventEmailTemplates.d.ts +2 -2
- package/dist/_dts/api/src/eventManagementContracts.d.ts +48 -8
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -9
- package/dist/_dts/api/src/eventPageWords.d.ts +7 -12
- package/dist/_dts/api/src/footerSettings.d.ts +6 -6
- package/dist/_dts/api/src/index.d.ts +8 -6
- package/dist/_dts/api/src/indexCoreTypes.d.ts +2 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +1 -6
- package/dist/_dts/api/src/mailingListIntegration.d.ts +6 -0
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +5 -5
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +15 -0
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +19 -0
- package/dist/_dts/api/src/pageSurfaceEditorEndpoints.d.ts +55 -0
- package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +28 -7
- package/dist/_dts/api/src/pages.d.ts +7 -7
- package/dist/_dts/api/src/performance.d.ts +1 -1
- package/dist/_dts/api/src/public/index.d.ts +1 -1
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +50 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +7 -0
- package/dist/_dts/api/src/redirects.d.ts +3 -3
- package/dist/_dts/api/src/request.d.ts +10 -1
- package/dist/_dts/api/src/resources.d.ts +4 -4
- package/dist/_dts/api/src/routes.d.ts +8 -3
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +15 -1
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +21 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -28
- package/dist/_dts/api/src/sdkCourseBooking.d.ts +4 -4
- package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/sdkEventOccurrenceRequestContracts.d.ts +43 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +4 -2
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +8 -1
- package/dist/_dts/api/src/seo.d.ts +4 -4
- package/dist/_dts/api/src/services.d.ts +4 -4
- package/dist/_dts/api/src/siteLifecycleEndpoints.d.ts +61 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +19 -25
- package/dist/_dts/api/src/siteMembers.d.ts +10 -10
- package/dist/_dts/api/src/siteOnboarding.d.ts +16 -14
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +7 -3
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -12
- package/dist/_dts/api/src/siteRuntimeEntry.d.ts +31 -0
- package/dist/_dts/billing/src/checkout/platform.d.ts +77 -0
- package/dist/_dts/billing/src/components/index.d.ts +25 -40
- package/dist/_dts/billing/src/membership/index.d.ts +1 -3
- package/dist/_dts/billing/src/plans/entitlements.d.ts +80 -0
- package/dist/_dts/billing/src/plans/registry.d.ts +16 -16
- package/dist/_dts/billing/src/plans/standing.d.ts +9 -2
- package/dist/_dts/billing/src/plans/types.d.ts +5 -15
- package/dist/_dts/billing/src/site-arrangements.d.ts +2 -2
- package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +2 -4
- package/dist/_dts/billing/src/subscriptions/store.d.ts +17 -11
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +6 -7
- package/dist/_dts/block-form/src/backend/types.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +3 -4
- package/dist/_dts/blocks/src/client/events.d.ts +3 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -4
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +18 -9
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +4 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +3 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +36 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/usePolling.d.ts +7 -48
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.checkout-return-context.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.completion.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-choice.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.mailing-list-state.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.payment-confirmation.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +17 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-actions.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-handler.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.submit-success.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +7 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +18 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +37 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +16 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardPresentations.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.block-submission.d.ts +2 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.state.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingMailingListNote.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DemoBookingPortalAccess.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DemoPortalSignInLink.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/mailingListSignupCopy.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoBookingPassStorage.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +29 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -2
- package/dist/_dts/blocks/src/system/transforms/registry/core.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -3
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -7
- package/dist/_dts/content-editor/src/controller/EditLeaseController.d.ts +39 -0
- package/dist/_dts/content-editor/src/controller/EditorWriteGate.d.ts +38 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +25 -61
- package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseBanner.d.ts +7 -0
- package/dist/_dts/content-editor/src/controller/LinkedEntryLeaseControllers.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/deriveEditorUnpublishedState.d.ts +6 -0
- package/dist/_dts/content-editor/src/controller/documentValueBaseline.d.ts +25 -0
- package/dist/_dts/content-editor/src/controller/editLeaseLossSignal.d.ts +6 -0
- package/dist/_dts/content-editor/src/controller/editLeaseNotice.d.ts +28 -0
- package/dist/_dts/content-editor/src/controller/editorClientId.d.ts +2 -0
- package/dist/_dts/content-editor/src/controller/editorEditability.d.ts +38 -0
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +34 -0
- package/dist/_dts/content-editor/src/controller/normalizedMetadataBaseline.d.ts +29 -0
- package/dist/_dts/content-editor/src/controller/pageSurfaceDocumentBaselines.d.ts +14 -0
- package/dist/_dts/content-editor/src/controller/pageSurfaceLifecycle.d.ts +11 -0
- package/dist/_dts/content-editor/src/controller/planDocumentBaselineRefresh.d.ts +19 -0
- package/dist/_dts/content-editor/src/controller/readDocumentLeaseBaselines.d.ts +19 -0
- package/dist/_dts/content-editor/src/controller/refreshDocumentLeaseBaseline.d.ts +12 -0
- package/dist/_dts/content-editor/src/controller/refreshLinkedEntry.d.ts +17 -0
- package/dist/_dts/content-editor/src/controller/replayRestoredEditorEffects.d.ts +2 -3
- package/dist/_dts/content-editor/src/controller/routeWrites.d.ts +26 -0
- package/dist/_dts/content-editor/src/controller/useAutosaveTriggers.d.ts +16 -17
- package/dist/_dts/content-editor/src/controller/useBlockedPublishPlan.d.ts +6 -2
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/useEntryValueAutosaves.d.ts +21 -0
- package/dist/_dts/content-editor/src/controller/useInitialEditorUiStore.d.ts +24 -0
- package/dist/_dts/content-editor/src/controller/useServerBaselineReconciliation.d.ts +17 -0
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/applyBlockedPublishPlan.d.ts +5 -1
- package/dist/_dts/content-editor/src/hooks/blockDraftLifecycle.d.ts +8 -47
- package/dist/_dts/content-editor/src/hooks/editLeaseMachine.d.ts +120 -0
- package/dist/_dts/content-editor/src/hooks/publishability.d.ts +6 -10
- package/dist/_dts/content-editor/src/hooks/useAutosaveStatus.d.ts +3 -0
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +5 -15
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +7 -5
- package/dist/_dts/content-editor/src/hooks/useEditLease.d.ts +28 -0
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +25 -39
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +17 -19
- package/dist/_dts/content-editor/src/hooks/useLinkedEntryAutosave.d.ts +5 -8
- package/dist/_dts/content-editor/src/hooks/useValueAutosave.d.ts +64 -0
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +0 -7
- package/dist/_dts/content-editor/src/index.d.ts +26 -7
- package/dist/_dts/content-editor/src/linkedEntries/domain.d.ts +12 -0
- package/dist/_dts/content-editor/src/linkedEntries/owner.d.ts +9 -0
- package/dist/_dts/content-editor/src/liveDrafts/draftProjection.d.ts +66 -0
- package/dist/_dts/content-editor/src/liveDrafts/linkedSaveHandovers.d.ts +37 -0
- package/dist/_dts/content-editor/src/liveDrafts/remoteDraftOverlay.d.ts +113 -0
- package/dist/_dts/content-editor/src/liveDrafts/useLiveDrafts.d.ts +32 -0
- package/dist/_dts/content-editor/src/liveDrafts/useRetentionTicks.d.ts +7 -0
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +6 -0
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +1 -0
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +96 -19
- package/dist/_dts/content-editor/src/services/editorApiClient.d.ts +13 -0
- package/dist/_dts/content-editor/src/services/index.d.ts +2 -0
- package/dist/_dts/content-editor/src/services/pageSurfaceEditorServices.d.ts +23 -0
- package/dist/_dts/content-editor/src/sync/flushValues.d.ts +13 -0
- package/dist/_dts/content-editor/src/sync/lifecycleFailure.d.ts +51 -0
- package/dist/_dts/content-editor/src/sync/runLifecycle.d.ts +64 -0
- package/dist/_dts/content-editor/src/sync/schedulerValues.d.ts +27 -0
- package/dist/_dts/content-editor/src/sync/sendPlanning.d.ts +104 -0
- package/dist/_dts/content-editor/src/sync/valueSync.d.ts +114 -0
- package/dist/_dts/content-editor/src/ui/blockCollection.d.ts +8 -0
- package/dist/_dts/content-editor/src/ui/documentLifecycle.d.ts +18 -0
- package/dist/_dts/content-editor/src/ui/editorLeaseUiState.d.ts +7 -0
- package/dist/_dts/content-editor/src/ui/editorRefresh.d.ts +82 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +102 -127
- package/dist/_dts/content-editor/src/ui/editorTransactionState.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +126 -72
- package/dist/_dts/content-editor/src/ui/editorValueSnapshot.d.ts +18 -0
- package/dist/_dts/content-editor/src/ui/serverBlockAdmission.d.ts +26 -0
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +16 -27
- package/dist/_dts/content-editor/src/ui/stores/blockVersionsStore.d.ts +24 -0
- package/dist/_dts/content-editor/src/ui/stores/linkedEntryLeaseStore.d.ts +54 -0
- package/dist/_dts/content-editor/src/ui/stores/linkedSaveHandoversStore.d.ts +11 -0
- package/dist/_dts/content-editor/src/ui/stores/remoteDraftsStore.d.ts +10 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +63 -3
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +2 -2
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -4
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -4
- package/dist/_dts/content-model/src/definitions/shared.d.ts +11 -2
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/serializeAllowedBlocks.d.ts +2 -0
- package/dist/_dts/content-model/src/metadataConfig.d.ts +10 -38
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -1
- package/dist/_dts/content-model/src/types.d.ts +0 -1
- package/dist/_dts/core/src/block-content-identity.d.ts +49 -1
- package/dist/_dts/core/src/branded.d.ts +12 -0
- package/dist/_dts/core/src/currency-format.d.ts +8 -2
- package/dist/_dts/core/src/demo-lifecycle-status.d.ts +2 -2
- package/dist/_dts/core/src/demo-warm-pool-target.d.ts +8 -0
- package/dist/_dts/core/src/edit-lease.d.ts +55 -0
- package/dist/_dts/core/src/editor-state.d.ts +38 -13
- package/dist/_dts/core/src/editor-value-sync.d.ts +79 -0
- package/dist/_dts/core/src/html-entities.d.ts +6 -0
- package/dist/_dts/core/src/index.d.ts +5 -1
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +15 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +9 -0
- package/dist/_dts/core/src/participants.d.ts +0 -38
- package/dist/_dts/core/src/uuid.d.ts +7 -5
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +261 -175
- package/dist/_dts/editor/src/EditorProvider.d.ts +5 -0
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +14 -0
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +1 -0
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +0 -1
- package/dist/_dts/editor/src/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +10 -9
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardFrame.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/actionPresentation.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/block-editor/applyExtendedFieldDefaults.d.ts +3 -4
- package/dist/_dts/editor-blocks/src/block-editor/blockDraftBaselineSeed.d.ts +4 -8
- package/dist/_dts/editor-blocks/src/block-editor/editorBlockItem.d.ts +23 -0
- package/dist/_dts/editor-blocks/src/block-editor/generatedIconApplyCoordination.d.ts +2 -7
- package/dist/_dts/editor-blocks/src/block-editor/hooks/applyBlockStructureChange.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +14 -5
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +21 -19
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +2 -10
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +8 -16
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +6 -16
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +37 -9
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +3 -2
- package/dist/_dts/media-core/src/fileStorage.d.ts +4 -0
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -2
- package/dist/_dts/media-editor/src/provider.d.ts +3 -2
- package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +7 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +8 -3
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +10 -6
- package/dist/_dts/preview-next/src/client/blocks/linkedEntryRenderOverlay.d.ts +22 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/entryFieldRebinding.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +11 -1
- package/dist/_dts/preview-next/src/client/blocks/renderPrecedence.d.ts +17 -0
- package/dist/_dts/preview-next/src/client/blocks/useLinkedSaveHandoverRetention.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAccessBanners.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +24 -14
- package/dist/_dts/preview-next/src/client/preview/PreviewLeaseEditingMode.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeAutosave.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/usePreviewCustomizeWorkflowState.d.ts +4 -0
- package/dist/_dts/realtime/src/client.d.ts +3 -0
- package/dist/_dts/realtime/src/draftChannel.d.ts +91 -0
- package/dist/_dts/realtime/src/drafts.d.ts +210 -0
- package/dist/_dts/realtime/src/index.d.ts +3 -0
- package/dist/_dts/realtime/src/leaseChangeSubscriptions.d.ts +8 -0
- package/dist/_dts/realtime/src/types.d.ts +113 -0
- package/dist/_dts/realtime/src/useDraftChannel.d.ts +34 -0
- package/dist/_dts/realtime/src/useSiteRealtimeReload.d.ts +27 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -55
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/effects/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +13 -0
- package/dist/_dts/theme-core/src/footer/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/effectiveNavLinkStyle.d.ts +17 -0
- package/dist/_dts/theme-core/src/header/generateHeaderLogoStyles.d.ts +15 -0
- package/dist/_dts/theme-core/src/header/generateHeaderNavLinkStyles.d.ts +4 -0
- package/dist/_dts/theme-core/src/header/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/header/legacyNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/openingForegroundProjection.d.ts +7 -0
- package/dist/_dts/theme-core/src/header/rootPaint.d.ts +4 -0
- package/dist/_dts/theme-core/src/navigation/effectPolicy.d.ts +38 -0
- package/dist/_dts/theme-core/src/navigation/generateNavLinkCSS.d.ts +4 -0
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundContract.d.ts +7 -0
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +29 -22
- package/dist/_dts/theme-core/src/surfaces/foregroundRoles.d.ts +10 -2
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +9 -0
- package/dist/_dts/theme-core/src/utils/cssDeclarations.d.ts +2 -0
- package/dist/_dts/ui/src/badge.d.ts +2 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/combobox-keys.d.ts +23 -0
- package/dist/_dts/ui/src/combobox-rows.d.ts +34 -0
- package/dist/_dts/ui/src/combobox.d.ts +26 -1
- package/dist/_dts/ui/src/date-picker.d.ts +5 -8
- package/dist/_dts/ui/src/editor-item-card.d.ts +1 -0
- package/dist/_dts/ui/src/field-trigger.d.ts +39 -0
- package/dist/_dts/ui/src/fieldControl.d.ts +27 -0
- package/dist/_dts/ui/src/index.d.ts +4 -1
- package/dist/_dts/ui/src/native-select.d.ts +8 -0
- package/dist/_dts/ui/src/popover.d.ts +7 -1
- package/dist/_dts/ui/src/segmented-control.d.ts +4 -0
- package/dist/_dts/ui/src/surface.d.ts +1 -1
- package/dist/client/{BookingConsentAgreement-BQKL045f.mjs → BookingMailingListNote-CzRt2dF_.mjs} +110 -97
- package/dist/client/{CheckboxChoice--W2n6yKs.mjs → CheckboxChoice-B33MqoUo.mjs} +1 -1
- package/dist/client/DemoBookingPortalAccess-mxqwap3f.mjs +344 -0
- package/dist/client/{EventCombined.client-BdRjVbhH.mjs → EventCombined.client-CDb11igO.mjs} +7 -7
- package/dist/client/{EventListing.client-DBxC6xOU.mjs → EventListing.client-EgYhzKPa.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-mHEJKrTs.mjs → LeafletStaticMap-gtmtaA2b.mjs} +1 -1
- package/dist/client/{scrollToBlock-BNgaEUpo.mjs → TerminalPanel-DvNUP5ot.mjs} +77 -77
- package/dist/client/{ThemedButton-CE5KYT6z.mjs → ThemedButton-C7CeUJjW.mjs} +2 -2
- package/dist/client/{accordion-BEQNSptH.mjs → accordion-kjvt49rA.mjs} +1 -1
- package/dist/client/{bookingForm-AMr-s5vw.mjs → bookingForm-pbRZordh.mjs} +411 -141
- package/dist/client/bookings.mjs +966 -396
- package/dist/client/{carousel-Bbt_QgJy.mjs → carousel-f4Zbmicv.mjs} +2 -2
- package/dist/client/{carousel.client-jahpU9Vz.mjs → carousel.client-A2lG-9od.mjs} +1 -1
- package/dist/client/{cart-CnWi30zJ.mjs → cart-DO20An50.mjs} +3 -3
- package/dist/client/{checkout-f3nkWgd4.mjs → checkout-Du5amDR_.mjs} +3 -3
- package/dist/client/{checkoutUrls-CW3-78uu.mjs → checkoutUrls-CXhko2Rv.mjs} +1 -1
- package/dist/client/client.mjs +3837 -2202
- package/dist/client/{colorStyles-CuJBiS-1.mjs → colorStyles-j5U9v5JA.mjs} +5 -1
- package/dist/client/{context-Bc8T6pCe.mjs → context-eW97E945.mjs} +4 -3
- package/dist/client/{dates-DUsCEzLb.mjs → dates-jPCirRea.mjs} +56 -11
- package/dist/client/{eventCalendar-CKwgXui5.mjs → eventCalendar-C2M-iE4j.mjs} +10 -10
- package/dist/client/{eventCombined-CBAOSTGR.mjs → eventCombined-W6ns3LHg.mjs} +4 -4
- package/dist/client/{eventDetails-Dh-_WiBD.mjs → eventDetails-CR-GT0f0.mjs} +4 -4
- package/dist/client/{eventListing-CA3frIH5.mjs → eventListing-BK8AfYZz.mjs} +4 -4
- package/dist/client/{eventRegistration-BHtsgdcg.mjs → eventRegistration-BJSd4KUu.mjs} +461 -266
- package/dist/client/{form-C2h3YAcg.mjs → form-BvpfbQaT.mjs} +5 -5
- package/dist/client/{headerSection-lwMuMTH9.mjs → headerSection-I5sUQ8x-.mjs} +3 -3
- package/dist/client/hooks.mjs +909 -163
- package/dist/client/{locationMap-DJ2bLODV.mjs → locationMap-BLvwf9_f.mjs} +4 -4
- package/dist/client/{FieldValidationMessage-AYanWFb-.mjs → mailingListSignupCopy-DZSHZrm6.mjs} +14 -1
- package/dist/client/{media-BtJ37tzS.mjs → media-Cl38iOMI.mjs} +11 -4
- package/dist/client/{newsletterForm-8Pu5K32g.mjs → newsletterForm-DrQ2weE8.mjs} +6 -6
- package/dist/client/{pricing-HHx3IgBz.mjs → pricing-BES87mrR.mjs} +1 -1
- package/dist/client/{productDetail-C_1odnAf.mjs → productDetail-Url9jcc5.mjs} +3 -3
- package/dist/client/{productList-CtCv-Nmx.mjs → productList-DE7ngEZJ.mjs} +3 -3
- package/dist/client/{propsDecoder-Dcgsncxb.mjs → propsDecoder-D1OtGXDV.mjs} +140 -22
- package/dist/client/rendering/client.mjs +2366 -997
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +4607 -2884
- package/dist/client/{routeIslandApiConfig-CWLP7wu3.mjs → routeIslandApiConfig-BG9Y-SHg.mjs} +1 -1
- package/dist/client/{shop-DQXrQ8kJ.mjs → shop-CJkuySJ3.mjs} +126 -79
- package/dist/client/{shop-commerce-B88zmWWo.mjs → shop-commerce-4rKj5n9h.mjs} +26 -14
- package/dist/client/{shop-commerce-store-DtSfkKuX.mjs → shop-commerce-store-Bxm75Pg6.mjs} +1 -1
- package/dist/client/{shopShared-cuaONpkJ.mjs → shopShared-DpoQDWfz.mjs} +5 -5
- package/dist/client/{useEventFilters-Bukew6Gb.mjs → useEventFilters-D8HliSqR.mjs} +33 -18
- package/dist/preview-next/before-render.mjs +314 -133
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-base.css +53 -2
- package/dist/preview-next/editor-chrome.css +7 -4
- package/dist/preview-next/keepAlive.mjs +314 -133
- package/dist/preview-next/middleware.mjs +314 -133
- package/dist/{previewAuthStore-h5IgbSp4.mjs → previewAuthStore-BXXF3hhW.mjs} +316 -133
- package/dist/{sdk-runtime-DTc1uIXn.mjs → sdk-runtime-C2a05WjL.mjs} +2 -2
- package/dist/{separator-BpHS1KZK.mjs → separator-CuNhBAhS.mjs} +1 -1
- package/dist/server/components.mjs +6888 -6157
- package/dist/server/config-validation.mjs +931 -199
- package/dist/server/config.mjs +931 -199
- package/dist/server/data.mjs +929 -198
- package/dist/server/index.mjs +317 -134
- package/dist/server/navigation.mjs +13 -2
- package/dist/server/next.mjs +5003 -4340
- package/dist/server/page-converter.mjs +160 -78
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +6421 -5687
- package/dist/server/rendering.mjs +7683 -6933
- package/dist/server/routing.mjs +1035 -338
- package/dist/server/server.mjs +946 -256
- package/dist/server/theme-bridge.mjs +66 -17
- package/dist/server/theme.mjs +5 -1
- package/dist/styles/index.css +32 -4
- package/package.json +1 -1
- package/dist/_dts/billing/src/plans/display.d.ts +0 -15
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +0 -4
- package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +0 -16
- package/dist/_dts/content-editor/src/controller/driver.d.ts +0 -14
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +0 -7
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +0 -29
- package/dist/_dts/content-editor/src/hooks/autosaveScopePlanning.d.ts +0 -26
- package/dist/_dts/content-editor/src/hooks/useSimpleAutosave.d.ts +0 -64
- package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +0 -48
- package/dist/_dts/content-editor/src/types.d.ts +0 -44
- package/dist/_dts/core/src/participant-identity.d.ts +0 -135
- package/dist/client/DiscountCodeDisclosure-CsOtjFY7.mjs +0 -137
package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts
CHANGED
|
@@ -198,7 +198,6 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
198
198
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
199
199
|
}, z.core.$strip>>;
|
|
200
200
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
201
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
201
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
202
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
204
203
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -547,6 +546,7 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
547
546
|
cancelled: "cancelled";
|
|
548
547
|
}>>;
|
|
549
548
|
timeZone: z.ZodString;
|
|
549
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
550
550
|
pricing: z.ZodType<import("../../../../../../../core/src/index").PublicEventPricing, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").PublicEventPricing, unknown>>;
|
|
551
551
|
paymentTerms: z.ZodObject<{
|
|
552
552
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -687,7 +687,6 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
687
687
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
688
688
|
}, z.core.$strip>>;
|
|
689
689
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
690
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
691
690
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
692
691
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
693
692
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -1036,6 +1035,7 @@ export declare const eventCollectionSourceSchemaShape: {
|
|
|
1036
1035
|
cancelled: "cancelled";
|
|
1037
1036
|
}>>;
|
|
1038
1037
|
timeZone: z.ZodString;
|
|
1038
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
1039
1039
|
pricing: z.ZodType<import("../../../../../../../core/src/index").PublicEventPricing, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").PublicEventPricing, unknown>>;
|
|
1040
1040
|
paymentTerms: z.ZodObject<{
|
|
1041
1041
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1237,7 +1237,6 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1237
1237
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
1238
1238
|
}, z.core.$strip>>;
|
|
1239
1239
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1240
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1241
1240
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1242
1241
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1243
1242
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -1586,6 +1585,7 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1586
1585
|
cancelled: "cancelled";
|
|
1587
1586
|
}>>;
|
|
1588
1587
|
timeZone: z.ZodString;
|
|
1588
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
1589
1589
|
pricing: z.ZodType<import("../../../../../../../core/src/index").PublicEventPricing, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").PublicEventPricing, unknown>>;
|
|
1590
1590
|
paymentTerms: z.ZodObject<{
|
|
1591
1591
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1726,7 +1726,6 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
1726
1726
|
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
1727
1727
|
}, z.core.$strip>>;
|
|
1728
1728
|
presentation: z.ZodOptional<z.ZodObject<{
|
|
1729
|
-
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
1729
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1731
1730
|
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1732
1731
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -2075,6 +2074,7 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
2075
2074
|
cancelled: "cancelled";
|
|
2076
2075
|
}>>;
|
|
2077
2076
|
timeZone: z.ZodString;
|
|
2077
|
+
siteTimeZone: z.ZodOptional<z.ZodString>;
|
|
2078
2078
|
pricing: z.ZodType<import("../../../../../../../core/src/index").PublicEventPricing, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").PublicEventPricing, unknown>>;
|
|
2079
2079
|
paymentTerms: z.ZodObject<{
|
|
2080
2080
|
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2205,7 +2205,7 @@ export declare const eventCollectionDisplaySchemaShape: {
|
|
|
2205
2205
|
3: "3";
|
|
2206
2206
|
4: "4";
|
|
2207
2207
|
}>;
|
|
2208
|
-
readonly eventsPerPage: z.ZodType<24 | 3 | 6 |
|
|
2208
|
+
readonly eventsPerPage: z.ZodType<10 | 24 | 3 | 6 | 20 | 12 | 30, unknown, z.core.$ZodTypeInternals<10 | 24 | 3 | 6 | 20 | 12 | 30, unknown>>;
|
|
2209
2209
|
readonly paginationAction: z.ZodType<EventListPaginationAction, unknown, z.core.$ZodTypeInternals<EventListPaginationAction, unknown>>;
|
|
2210
2210
|
readonly startOfWeek: z.ZodEnum<{
|
|
2211
2211
|
monday: "monday";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type MailingListSignupSourceRef } from '../../../../../core/src/index';
|
|
2
|
+
import type { PublishedBlockPlacementRead } from '../../../pageRenderAdmission';
|
|
2
3
|
export type NewsletterBlockSubmission = Readonly<{
|
|
3
4
|
tag: 'ready';
|
|
4
5
|
sourceRef: Extract<MailingListSignupSourceRef, {
|
|
@@ -14,10 +15,7 @@ export type NewsletterBlockSubmission = Readonly<{
|
|
|
14
15
|
type BlockPlacement = Readonly<{
|
|
15
16
|
blockId: string | null;
|
|
16
17
|
selectedContentVersionId: string | null;
|
|
17
|
-
publishedPlacement:
|
|
18
|
-
id: string;
|
|
19
|
-
content: Record<string, unknown>;
|
|
20
|
-
}> | null;
|
|
18
|
+
publishedPlacement: PublishedBlockPlacementRead;
|
|
21
19
|
renderedContent: Record<string, unknown>;
|
|
22
20
|
stage: 'published' | 'preview' | undefined;
|
|
23
21
|
}>;
|
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type MagicLinkFormProps = {
|
|
3
|
-
/** Initial email to pre-populate the form */
|
|
4
3
|
initialEmail?: string;
|
|
5
|
-
/** Title shown above the form */
|
|
6
4
|
title?: string;
|
|
7
|
-
/** Subtitle/description shown below the title */
|
|
8
5
|
subtitle?: string;
|
|
9
|
-
/** Text for the submit button */
|
|
10
6
|
buttonText?: string;
|
|
11
|
-
/** Success message shown after email is sent */
|
|
12
7
|
successMessage?: string;
|
|
13
|
-
/** Called when successfully sent (optional) */
|
|
14
8
|
onSuccess?: () => void;
|
|
15
|
-
/** CSS class prefix for styling (e.g., 'cp' for customer portal, 'er' for event registration, 'cr' for course registration) */
|
|
16
9
|
classPrefix?: 'cp' | 'er' | 'cr' | 'er-whole-series';
|
|
17
|
-
/** Whether to show compact/inline styling */
|
|
18
10
|
compact?: boolean;
|
|
19
11
|
};
|
|
20
|
-
|
|
21
|
-
* Reusable magic link login form.
|
|
22
|
-
* Used by Customer Portal and Event Registration blocks.
|
|
23
|
-
*/
|
|
24
|
-
export declare function MagicLinkForm({ initialEmail, title, subtitle, buttonText, successMessage, onSuccess, classPrefix, compact, }: MagicLinkFormProps): React.JSX.Element;
|
|
25
|
-
export default MagicLinkForm;
|
|
12
|
+
export declare function MagicLinkForm(props: MagicLinkFormProps): React.JSX.Element;
|
|
@@ -4,6 +4,12 @@ export type MagicLinkSubmissionState = Readonly<{
|
|
|
4
4
|
tag: 'submitting';
|
|
5
5
|
}> | Readonly<{
|
|
6
6
|
tag: 'success';
|
|
7
|
+
}> | Readonly<{
|
|
8
|
+
tag: 'demo_link';
|
|
9
|
+
url: string;
|
|
10
|
+
}> | Readonly<{
|
|
11
|
+
tag: 'demo_refused';
|
|
12
|
+
message: string;
|
|
7
13
|
}> | Readonly<{
|
|
8
14
|
tag: 'error';
|
|
9
15
|
message: string;
|
|
@@ -12,6 +18,12 @@ export type MagicLinkSubmissionAction = Readonly<{
|
|
|
12
18
|
type: 'submit-started';
|
|
13
19
|
}> | Readonly<{
|
|
14
20
|
type: 'submit-succeeded';
|
|
21
|
+
}> | Readonly<{
|
|
22
|
+
type: 'submit-demo-link';
|
|
23
|
+
url: string;
|
|
24
|
+
}> | Readonly<{
|
|
25
|
+
type: 'submit-demo-refused';
|
|
26
|
+
message: string;
|
|
15
27
|
}> | Readonly<{
|
|
16
28
|
type: 'submit-failed';
|
|
17
29
|
message: string;
|
|
@@ -8,6 +8,7 @@ import { type InteractiveIslandProps } from '../../../contracts/islands';
|
|
|
8
8
|
import type { BrowserReadAuthority } from '../api/types';
|
|
9
9
|
type ShopSourceProps = ShopDisplayConfig & Readonly<{
|
|
10
10
|
siteId?: string;
|
|
11
|
+
demoEmailSuppressed?: boolean;
|
|
11
12
|
apiBaseUrl?: string;
|
|
12
13
|
readAuthority?: BrowserReadAuthority;
|
|
13
14
|
stage?: 'preview' | 'published';
|
|
@@ -17,6 +18,7 @@ export type PassesMembershipsHydration = Readonly<{
|
|
|
17
18
|
memberships: readonly PublicMembershipProduct[];
|
|
18
19
|
passPurchaseMode: 'add_to_cart' | 'buy_now';
|
|
19
20
|
buttonVariant: BlockButtonRole;
|
|
21
|
+
demoEmailSuppressed?: boolean;
|
|
20
22
|
}>;
|
|
21
23
|
export type ProductListHydration = Readonly<{
|
|
22
24
|
products: readonly PublicProduct[];
|
|
@@ -39,6 +41,7 @@ export type CartHydration = Readonly<{
|
|
|
39
41
|
export type CheckoutHydration = Readonly<{
|
|
40
42
|
emptyStateText: string;
|
|
41
43
|
submitButtonText: string;
|
|
44
|
+
demoEmailSuppressed?: boolean;
|
|
42
45
|
}>;
|
|
43
46
|
type ShopIslandMeta = Readonly<{
|
|
44
47
|
siteId?: string;
|
|
@@ -116,6 +119,7 @@ export declare const shopBlockRuntime: Readonly<{
|
|
|
116
119
|
memberships: readonly PublicMembershipProduct[];
|
|
117
120
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
118
121
|
buttonVariant: BlockButtonRole;
|
|
122
|
+
demoEmailSuppressed?: boolean;
|
|
119
123
|
}>;
|
|
120
124
|
}>;
|
|
121
125
|
contracts: Readonly<{
|
|
@@ -164,6 +168,7 @@ export declare const shopBlockRuntime: Readonly<{
|
|
|
164
168
|
memberships: readonly PublicMembershipProduct[];
|
|
165
169
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
166
170
|
buttonVariant: BlockButtonRole;
|
|
171
|
+
demoEmailSuppressed?: boolean;
|
|
167
172
|
}>;
|
|
168
173
|
}>) => unknown;
|
|
169
174
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
@@ -206,6 +211,7 @@ export declare const shopBlockRuntime: Readonly<{
|
|
|
206
211
|
memberships: readonly PublicMembershipProduct[];
|
|
207
212
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
208
213
|
buttonVariant: BlockButtonRole;
|
|
214
|
+
demoEmailSuppressed?: boolean;
|
|
209
215
|
}>;
|
|
210
216
|
}>>;
|
|
211
217
|
}>;
|
|
@@ -474,6 +480,7 @@ export declare const checkoutBlockRuntime: Readonly<{
|
|
|
474
480
|
hydration: Readonly<{
|
|
475
481
|
emptyStateText: string;
|
|
476
482
|
submitButtonText: string;
|
|
483
|
+
demoEmailSuppressed?: boolean;
|
|
477
484
|
}>;
|
|
478
485
|
}>;
|
|
479
486
|
contracts: Readonly<{
|
|
@@ -494,6 +501,7 @@ export declare const checkoutBlockRuntime: Readonly<{
|
|
|
494
501
|
hydration: Readonly<{
|
|
495
502
|
emptyStateText: string;
|
|
496
503
|
submitButtonText: string;
|
|
504
|
+
demoEmailSuppressed?: boolean;
|
|
497
505
|
}>;
|
|
498
506
|
}>) => unknown;
|
|
499
507
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
@@ -508,6 +516,7 @@ export declare const checkoutBlockRuntime: Readonly<{
|
|
|
508
516
|
hydration: Readonly<{
|
|
509
517
|
emptyStateText: string;
|
|
510
518
|
submitButtonText: string;
|
|
519
|
+
demoEmailSuppressed?: boolean;
|
|
511
520
|
}>;
|
|
512
521
|
}>>;
|
|
513
522
|
}>;
|
|
@@ -563,6 +572,7 @@ export declare const shopInteractiveIslandPropsCodec: Readonly<{
|
|
|
563
572
|
memberships: readonly PublicMembershipProduct[];
|
|
564
573
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
565
574
|
buttonVariant: BlockButtonRole;
|
|
575
|
+
demoEmailSuppressed?: boolean;
|
|
566
576
|
}>;
|
|
567
577
|
}>>;
|
|
568
578
|
}>) => unknown;
|
|
@@ -615,6 +625,7 @@ export declare const shopInteractiveIslandPropsCodec: Readonly<{
|
|
|
615
625
|
memberships: readonly PublicMembershipProduct[];
|
|
616
626
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
617
627
|
buttonVariant: BlockButtonRole;
|
|
628
|
+
demoEmailSuppressed?: boolean;
|
|
618
629
|
}>;
|
|
619
630
|
}>>;
|
|
620
631
|
}>>;
|
|
@@ -851,6 +862,7 @@ export declare const checkoutInteractiveIslandPropsCodec: Readonly<{
|
|
|
851
862
|
hydration: Readonly<{
|
|
852
863
|
emptyStateText: string;
|
|
853
864
|
submitButtonText: string;
|
|
865
|
+
demoEmailSuppressed?: boolean;
|
|
854
866
|
}>;
|
|
855
867
|
}>>;
|
|
856
868
|
}>) => unknown;
|
|
@@ -875,6 +887,7 @@ export declare const checkoutInteractiveIslandPropsCodec: Readonly<{
|
|
|
875
887
|
hydration: Readonly<{
|
|
876
888
|
emptyStateText: string;
|
|
877
889
|
submitButtonText: string;
|
|
890
|
+
demoEmailSuppressed?: boolean;
|
|
878
891
|
}>;
|
|
879
892
|
}>>;
|
|
880
893
|
}>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import type { ThemeColorToken } from '../../../../theme-core/src/tokens/index';
|
|
2
3
|
import type { ConditionalAuthoringPresence, NodeDefinition } from "../node";
|
|
3
4
|
import { bindingSchema } from "../node";
|
|
4
5
|
import { type ThemeTokens } from "../theme";
|
|
@@ -24,6 +25,7 @@ export type ResolverContext = {
|
|
|
24
25
|
registry: ComponentRegistry;
|
|
25
26
|
transforms?: TransformRegistry;
|
|
26
27
|
theme?: ThemeTokens;
|
|
28
|
+
proseHoverCandidate?: ThemeColorToken;
|
|
27
29
|
routes?: RouteMap;
|
|
28
30
|
/** Page identifier -> routeId lookup for { kind: 'page' } links */
|
|
29
31
|
pagesByIdentifier?: PageIdentifierMap;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BookingSuccessCopy } from '../../nodes/booking-form.state';
|
|
3
|
+
export declare function BookingConfirmation(props: Readonly<{
|
|
4
|
+
demoEmailSuppressed?: boolean;
|
|
5
|
+
email: string | null;
|
|
6
|
+
copy: BookingSuccessCopy;
|
|
7
|
+
messagePresentation: BookingConfirmationMessagePresentation;
|
|
8
|
+
noteClassName?: string;
|
|
9
|
+
showConfirmationNote?: boolean;
|
|
10
|
+
}>): React.ReactNode;
|
|
11
|
+
export declare function DemoBookingPortalAccess(props: Readonly<{
|
|
12
|
+
email: string | null;
|
|
13
|
+
noteClassName?: string;
|
|
14
|
+
showConfirmationNote?: boolean;
|
|
15
|
+
}>): React.ReactElement;
|
|
16
|
+
type BookingConfirmationMessagePresentation = Readonly<{
|
|
17
|
+
kind: 'paragraph';
|
|
18
|
+
className?: string;
|
|
19
|
+
}> | Readonly<{
|
|
20
|
+
kind: 'plain';
|
|
21
|
+
}>;
|
|
22
|
+
export {};
|
|
@@ -12,6 +12,7 @@ export type { ActionRowProps } from './ActionRow';
|
|
|
12
12
|
export { FieldValidationMessage, getFieldValidationControlProps, } from './FieldValidationMessage';
|
|
13
13
|
export type { FieldValidationControlInput, FieldValidationControlProps, FieldValidationMessageProps, } from './FieldValidationMessage';
|
|
14
14
|
export { FeedbackMessage } from './FeedbackMessage';
|
|
15
|
+
export { DemoPortalSignInLink } from './DemoPortalSignInLink';
|
|
15
16
|
export type { FeedbackLiveMode, FeedbackMessageProps, FeedbackTone, FeedbackTreatment, } from './FeedbackMessage';
|
|
16
17
|
export { LoggedInAsUser } from './LoggedInAsUser';
|
|
17
18
|
export { StateIcon } from './StateIcon';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BookingMailingListNote as BookingSignupNote } from '../../../../../core/src/index';
|
|
2
|
+
export declare const MAILING_LIST_CONFIRMATION_MESSAGE = "Please check your inbox to confirm your signup.";
|
|
3
|
+
export declare function getBookingMailingListNoteCopy(note: BookingSignupNote, context: 'booking' | 'waitlist'): Readonly<{
|
|
4
|
+
title: string;
|
|
5
|
+
detail: string | null;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type StoredDemoBookingPass = Readonly<{
|
|
2
|
+
email: string;
|
|
3
|
+
pass: string;
|
|
4
|
+
}>;
|
|
5
|
+
export declare function normalizeDemoBookingEmail(email: string): string;
|
|
6
|
+
export declare function storeDemoBookingPass(email: string, pass: string): void;
|
|
7
|
+
export declare function storeDemoBookingPassIfAvailable(email: string | null | undefined, pass: string | null | undefined): void;
|
|
8
|
+
export declare function getDemoBookingPass(email: string): string | null;
|
|
9
|
+
export declare function storeDemoBookingCheckoutReturn(email: string, pass: string | null | undefined): void;
|
|
10
|
+
export declare function readDemoBookingCheckoutReturnEmail(): string | null;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const CUSTOMER_PORTAL_PATH = "/portal";
|
|
2
|
+
export declare function buildPortalCallbackUrl(origin: string, redirectTo: string): string;
|
|
3
|
+
export type DemoPortalMagicLinkRequest = Readonly<{
|
|
4
|
+
email: string;
|
|
5
|
+
redirectUrl: string;
|
|
6
|
+
demoBookingPass?: string;
|
|
7
|
+
}>;
|
|
8
|
+
export type DemoPortalMagicLinkResponse = Readonly<{
|
|
9
|
+
message: string;
|
|
10
|
+
}> | Readonly<{
|
|
11
|
+
demoSignInUrl: string;
|
|
12
|
+
}> | Readonly<{
|
|
13
|
+
kind: 'demo_email_not_booked_here';
|
|
14
|
+
message: string;
|
|
15
|
+
}>;
|
|
16
|
+
export type DemoPortalMagicLinkOutcome = Readonly<{
|
|
17
|
+
kind: 'email_sent';
|
|
18
|
+
}> | Readonly<{
|
|
19
|
+
kind: 'demo_sign_in';
|
|
20
|
+
url: string;
|
|
21
|
+
}> | Readonly<{
|
|
22
|
+
kind: 'refused';
|
|
23
|
+
message: string;
|
|
24
|
+
}>;
|
|
25
|
+
export declare function requestDemoPortalMagicLink(input: Readonly<{
|
|
26
|
+
email: string;
|
|
27
|
+
redirectUrl: string;
|
|
28
|
+
send: (request: DemoPortalMagicLinkRequest) => Promise<DemoPortalMagicLinkResponse>;
|
|
29
|
+
}>): Promise<DemoPortalMagicLinkOutcome>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { resolveSurfaceForeground, type ResolvedSurfaceForeground } from '../../../../../../theme-core/src/surfaces/index';
|
|
2
|
-
import type { ThemeHeader } from '../../../../../../theme-core/src/schema';
|
|
2
|
+
import type { ThemeFooter, ThemeHeader } from '../../../../../../theme-core/src/schema';
|
|
3
|
+
import type { ThemeColorToken } from '../../../../../../theme-core/src/tokens/index';
|
|
3
4
|
import type { TransformContext } from '../core';
|
|
4
|
-
export declare function resolveHeaderLeafTextColor(header: Partial<ThemeHeader> | undefined): NonNullable<ThemeHeader['textColor']>;
|
|
5
5
|
export declare function resolveHeaderRootForeground(header: Partial<ThemeHeader> | undefined, palette: Parameters<typeof resolveSurfaceForeground>[1], isTransparent: boolean): ResolvedSurfaceForeground;
|
|
6
|
+
export declare function resolveFooterRootForeground(footer: Partial<ThemeFooter> | undefined, palette: Parameters<typeof resolveSurfaceForeground>[1], proseHoverCandidate?: ThemeColorToken): ResolvedSurfaceForeground;
|
|
6
7
|
export declare function resolveSurfaceForegroundStyles(value: unknown, context: TransformContext, options?: Readonly<{
|
|
7
8
|
fallbackToken?: string;
|
|
8
9
|
}>): Record<string, string>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
2
|
import type { ThemeTokens } from "../../theme";
|
|
3
3
|
import type { ButtonSystem } from "../../../../../theme-core/src/buttons/index";
|
|
4
|
+
import type { ThemeColorToken } from "../../../../../theme-core/src/tokens/index";
|
|
4
5
|
type BivariantCallback<TArgs extends unknown[], TResult> = {
|
|
5
6
|
bivarianceHack(...args: TArgs): TResult;
|
|
6
7
|
}["bivarianceHack"];
|
|
@@ -20,6 +21,7 @@ export type TransformContext = {
|
|
|
20
21
|
theme: ThemeTokens & Readonly<{
|
|
21
22
|
buttons?: ButtonSystem;
|
|
22
23
|
}>;
|
|
24
|
+
proseHoverCandidate?: ThemeColorToken;
|
|
23
25
|
locale?: string;
|
|
24
26
|
stage?: "preview" | "published";
|
|
25
27
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ThemeHeader } from '../../../../../theme-core/src/schema';
|
|
3
3
|
import { type TransformDefinition } from './core';
|
|
4
|
-
import { resolveSurfaceForeground, type ResolvedSurfaceForeground } from '../../../../../theme-core/src/surfaces/index';
|
|
5
4
|
declare const headerLogoClassSchema: z.ZodObject<{
|
|
6
5
|
base: z.ZodOptional<z.ZodString>;
|
|
7
6
|
}, z.core.$strip>;
|
|
@@ -42,7 +41,6 @@ export declare function resolveHeaderVisualStyles(header: Partial<ThemeHeader> |
|
|
|
42
41
|
readonly backgroundToken: "transparent";
|
|
43
42
|
readonly isTransparent: true;
|
|
44
43
|
};
|
|
45
|
-
export declare function resolveFooterRootForeground(footer: Partial<ThemeFooter> | undefined, palette: Parameters<typeof resolveSurfaceForeground>[1]): ResolvedSurfaceForeground;
|
|
46
44
|
export declare const headerRootClassTransform: TransformDefinition<HeaderRootOptions>;
|
|
47
45
|
declare const footerRootClassSchema: z.ZodObject<{
|
|
48
46
|
base: z.ZodOptional<z.ZodString>;
|
|
@@ -48,6 +48,10 @@ export declare const eventRegistrationErrors: {
|
|
|
48
48
|
readonly message: "The payment options for this event have changed. Please check the latest options before continuing.";
|
|
49
49
|
readonly action: "payment-options";
|
|
50
50
|
};
|
|
51
|
+
readonly verificationFailed: {
|
|
52
|
+
readonly message: "We couldn’t confirm this request came from a person. Please refresh the page and try again.";
|
|
53
|
+
readonly action: "none";
|
|
54
|
+
};
|
|
51
55
|
readonly idempotencyConflict: {
|
|
52
56
|
readonly message: "You’ve already started booking this event. Please finish in the other tab if it’s still open, or check your booking status before starting again.";
|
|
53
57
|
readonly action: "portal";
|
|
@@ -2,9 +2,8 @@ import { type ReactNode } from 'react';
|
|
|
2
2
|
import type { BlockManifest } from '../../../blocks/src/index';
|
|
3
3
|
import { type FieldWidgetComponent } from '../../../block-form/src/index';
|
|
4
4
|
import type { ManifestFormSource } from '../../../block-form/src/index';
|
|
5
|
-
export type { AutosaveHandle } from '../
|
|
5
|
+
export type { AutosaveHandle } from '../ui/stores/types';
|
|
6
6
|
export type ContentFieldsFormProps<TValues extends Record<string, unknown>> = {
|
|
7
|
-
siteId: string;
|
|
8
7
|
manifest?: BlockManifest;
|
|
9
8
|
form?: ManifestFormSource;
|
|
10
9
|
/**
|
|
@@ -14,12 +13,8 @@ export type ContentFieldsFormProps<TValues extends Record<string, unknown>> = {
|
|
|
14
13
|
initialValues?: TValues;
|
|
15
14
|
paletteTokens?: Record<string, string>;
|
|
16
15
|
widgets?: Partial<Record<string, FieldWidgetComponent>>;
|
|
17
|
-
mediaProvider?: (props: {
|
|
18
|
-
siteId: string;
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
}) => ReactNode;
|
|
21
16
|
errorComponent?: (props: {
|
|
22
17
|
error: string;
|
|
23
18
|
}) => ReactNode;
|
|
24
19
|
};
|
|
25
|
-
export declare function ContentFieldsForm<TValues extends Record<string, unknown>>({
|
|
20
|
+
export declare function ContentFieldsForm<TValues extends Record<string, unknown>>({ manifest, form: formSpec, initialValues: _initialValues, paletteTokens, widgets, errorComponent: ErrorComponent, }: ContentFieldsFormProps<TValues>): import("react").JSX.Element;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { ApiClient } from '../../../api/src/request';
|
|
3
|
+
import type { DocumentLeaseReadInput } from './readDocumentLeaseBaselines';
|
|
4
|
+
import type { EditLeaseScope } from '../../../core/src/index';
|
|
5
|
+
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
|
|
6
|
+
import type { EditLeaseLossSignal } from './editLeaseLossSignal';
|
|
7
|
+
import { useEditLease, type EditLeaseChangeSubscription } from '../hooks/useEditLease';
|
|
8
|
+
export type EditorLeaseConfig = Readonly<{
|
|
9
|
+
siteId: string;
|
|
10
|
+
scope: EditLeaseScope;
|
|
11
|
+
subscribeToLeaseChanges?: EditLeaseChangeSubscription;
|
|
12
|
+
/** Refresh display props after the authoritative baseline has been applied. */
|
|
13
|
+
onGranted?: () => void;
|
|
14
|
+
onAccessChanged?: () => void;
|
|
15
|
+
}>;
|
|
16
|
+
export type EditLeaseActions = ReturnType<typeof useEditLease>;
|
|
17
|
+
/**
|
|
18
|
+
* Discarding is local and synchronous: it can't fail, and it happens before the tab leaves
|
|
19
|
+
* edit mode. Newer server values arrive by the take-back refresh on the next grant, or, in
|
|
20
|
+
* view mode, by live drafts and reload broadcasts.
|
|
21
|
+
*/
|
|
22
|
+
export type EditLeaseControllerActions = EditLeaseActions & Readonly<{
|
|
23
|
+
discardLocal: () => void;
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Mounts the lease session only while `lease` is set. Children keep their position in the
|
|
27
|
+
* tree either way, so joining or leaving the lease never remounts the editor.
|
|
28
|
+
*/
|
|
29
|
+
export declare function EditLeaseController({ children, lease, ...session }: Readonly<{
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
document: Pick<DocumentLeaseReadInput, 'type' | 'schema' | 'blockFieldExtensions'>;
|
|
32
|
+
lease: EditorLeaseConfig | null;
|
|
33
|
+
apiClient: ApiClient;
|
|
34
|
+
uiStore: EditorUiStoreInstance;
|
|
35
|
+
leaseLossSignal: EditLeaseLossSignal;
|
|
36
|
+
/** Rendered beside children, only while the lease session is mounted. */
|
|
37
|
+
sessionChildren?: ReactNode;
|
|
38
|
+
}>): import("react").JSX.Element;
|
|
39
|
+
export declare function useEditLeaseActions(): EditLeaseControllerActions | null;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type LeaseNotice, type LeaseNoticeAction } from './editLeaseNotice';
|
|
3
|
+
export type LeaseNoticeHandlers = Readonly<Record<LeaseNoticeAction, () => void>>;
|
|
4
|
+
/** Makes a mount's editing surface inert while the tab is waiting for, or denied, the lease. */
|
|
5
|
+
export declare function EditorWriteSurface({ children }: Readonly<{
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}>): import("react").JSX.Element;
|
|
8
|
+
export declare function LeaseNoticeButtons({ notice, handlers, size }: Readonly<{
|
|
9
|
+
notice: LeaseNotice;
|
|
10
|
+
handlers: LeaseNoticeHandlers;
|
|
11
|
+
size?: 'sm';
|
|
12
|
+
}>): import("react").JSX.Element[];
|
|
13
|
+
/** A blocking modal; it can't be dismissed, because the modal is the only way forward. */
|
|
14
|
+
export declare function EditLeaseModalView({ notice, handlers }: Readonly<{
|
|
15
|
+
notice: LeaseNotice | null;
|
|
16
|
+
handlers: LeaseNoticeHandlers;
|
|
17
|
+
}>): import("react").JSX.Element;
|
|
18
|
+
/** The document's lease modal. Pass `onKeepViewing` where the tab can return to view mode. */
|
|
19
|
+
export declare function EditLeaseModal({ thing, onKeepViewing }: Readonly<{
|
|
20
|
+
thing: string;
|
|
21
|
+
onKeepViewing?: () => void;
|
|
22
|
+
}>): import("react").JSX.Element | null;
|
|
23
|
+
export declare function LeaseDiscardedNoticeView({ thing, onDismiss }: Readonly<{
|
|
24
|
+
thing: string;
|
|
25
|
+
onDismiss: () => void;
|
|
26
|
+
}>): import("react").JSX.Element;
|
|
27
|
+
/** Shown after taking the lease back replaced edits another tab had changed. */
|
|
28
|
+
export declare function EditLeaseDiscardedNotice({ thing }: Readonly<{
|
|
29
|
+
thing: string;
|
|
30
|
+
}>): import("react").JSX.Element | null;
|
|
31
|
+
/**
|
|
32
|
+
* One write gate per editor mount: the whole editing surface is inert while the tab can't
|
|
33
|
+
* write, and the lease modal explains why. The modal portals outside the inert subtree.
|
|
34
|
+
*/
|
|
35
|
+
export declare function EditorWriteGate({ thing, children }: Readonly<{
|
|
36
|
+
thing: string;
|
|
37
|
+
children: ReactNode;
|
|
38
|
+
}>): import("react").JSX.Element;
|