@riverbankcms/sdk 0.153.0 → 0.155.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/README.md +2 -0
- package/dist/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-DALtAjqG.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-CbSbqmz3.mjs} +219 -38
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-CKKnAw11.mjs} +26 -58
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-wLkXrWy9.mjs} +177 -84
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-BQ8vvKb-.mjs} +9824 -5829
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-Bi0rgijy.mjs} +482 -85
- package/dist/_dts/ai/src/contracts/proposals.d.ts +42873 -16847
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +5432 -1810
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -12
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +2 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +11 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +20 -1
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +5 -106
- package/dist/_dts/api/src/bookings.d.ts +10 -4
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/common/envelope.d.ts +2 -2
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -3
- package/dist/_dts/api/src/endpoints.d.ts +89 -44
- package/dist/_dts/api/src/eventManagementContracts.d.ts +20 -11
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/index.d.ts +9 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +20 -2
- package/dist/_dts/api/src/public/types.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +1 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/sdk-event-management.d.ts +1 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +24 -9
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +5 -3
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +15 -4
- package/dist/_dts/api/src/sdkThemeWire.d.ts +172 -103
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/siteTerms.d.ts +100 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +13 -32
- package/dist/_dts/api/src/webhooks.d.ts +9 -9
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/client/index.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +3 -1
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +3 -1
- package/dist/_dts/blocks/src/client/carousel.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +12 -33
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +30 -118
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -1
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +1 -0
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +13 -9
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +7 -1
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +14 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/itemData.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +56 -6
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/photoCount.d.ts +3 -12
- package/dist/_dts/blocks/src/system/blocks/shared/siteTerms.d.ts +17 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +119 -9
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/backgroundLayer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +22 -3
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/node/fragments/styledSection.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +51 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +22 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.d.ts +5 -30
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.server.d.ts +3 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +71 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -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/CalendarAction.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCalendar.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +26 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventItem.d.ts +17 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCardListContent.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +49 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +5 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/SiteTermsAgreementField.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsAgreement.d.ts +81 -0
- package/dist/_dts/blocks/src/system/runtime/shared/siteTermsCheckoutApi.d.ts +14 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -10
- package/dist/_dts/blocks/src/system/types/link.d.ts +2 -0
- package/dist/_dts/calendar/src/icsRenderer.d.ts +23 -0
- package/dist/_dts/calendar/src/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -1
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/publicationDate.d.ts +5 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/entryValidation.d.ts +6 -5
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +10 -2
- package/dist/_dts/content-model/src/definitions/shared.d.ts +2 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -0
- package/dist/_dts/core/src/booking-refunds.d.ts +43 -0
- package/dist/_dts/core/src/branded.d.ts +6 -0
- package/dist/_dts/core/src/date-display.d.ts +90 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +4 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/core/src/site-terms.d.ts +94 -0
- package/dist/_dts/core/src/whole-series-run-schedule.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +356 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +32 -32
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +2 -2
- package/dist/_dts/editor/src/chrome/EditorStatusBar.d.ts +3 -2
- package/dist/_dts/editor/src/chrome/statusBarPresentation.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/arrangementControlsModel.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -0
- package/dist/_dts/sdk/src/config/typed-entry-links.test-d.d.ts +1 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -4
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +3 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +12 -8
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +69 -8
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +22 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +1 -0
- package/dist/_dts/theme-core/src/header/generateHeaderCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +6 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +249 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +321 -192
- package/dist/_dts/theme-core/src/site-styles/accessibleSurfaces.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +24 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +81 -1
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/headerStyleRecipe.d.ts +13 -1
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +46 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +2 -0
- package/dist/_dts/theme-core/src/typography/schema.d.ts +9 -0
- package/dist/_dts/ui/src/calendar.d.ts +6 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/index.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CiW1dsz7.mjs} +3 -3
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-DVYTlYpS.mjs} +70 -13
- package/dist/client/CheckboxChoice-CUnPrBlC.mjs +44 -0
- package/dist/client/DemoBookingPortalAccess-DEsn5F2C.mjs +770 -0
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BdctbwnV.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-DAhQs6Jb.mjs} +2 -5
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-BviZXfAE.mjs} +2 -2
- package/dist/client/{mailingListSignupCopy-DZSHZrm6.mjs → FieldValidationMessage-AYanWFb-.mjs} +1 -14
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-BLTECfjU.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-D3oE1_pw.mjs} +77 -44
- package/dist/client/ThemedButton-Ckj0Rfr_.mjs +1256 -0
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-yBx6d4O2.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-CPDEsQci.mjs} +64 -35
- package/dist/client/bookings.mjs +19252 -15228
- package/dist/client/carousel-DCqjwd2s.mjs +71 -0
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-Bx7XMF8-.mjs} +114 -39
- package/dist/client/{cart-Yv-aAtck.mjs → cart-DWJXrQxs.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-CH4ypSLS.mjs} +3 -3
- package/dist/client/client.mjs +13559 -7353
- package/dist/client/{context-BOGe3rIA.mjs → context-BOs0m_iw.mjs} +16 -12
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-CRylMllc.mjs} +8 -319
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-DohTS3kp.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-qf-u9zcF.mjs} +108 -36
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-Cg__X2vy.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CybWxswy.mjs} +215 -237
- package/dist/client/{form-D5Or2Jyu.mjs → form-C-SGk6nq.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BdzPaHqo.mjs} +3 -3
- package/dist/client/hooks.mjs +3280 -1362
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-CEwIKmMb.mjs} +3 -3
- package/dist/client/mailingListSignupCopy-DS-_ePzG.mjs +14 -0
- package/dist/client/{media-D29-F1u_.mjs → media-V_ShXXru.mjs} +3 -3
- package/dist/client/{mediaContext-CwbbimYB.mjs → mediaContext-D-0tNVxE.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-CmwTltoS.mjs} +52 -15
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-DjIzUwg3.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-D6JGFnMF.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-BRKz13eg.mjs} +17944 -14861
- package/dist/client/{renderableMediaAssetAdmission-CHkXYDC_.mjs → renderableMediaAssetAdmission-Cd3JSw2H.mjs} +3 -1
- package/dist/client/rendering/client.mjs +15893 -11685
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +14451 -8139
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-slAAILQ5.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-C45K96_0.mjs} +178 -157
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-oGBiKT5d.mjs} +23 -10
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-H_HFPFZ8.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-D54T_LAV.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-Dm2EUa03.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-0l_A8CxG.mjs} +62 -24
- package/dist/preview-next/before-render.mjs +134 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +134 -51
- package/dist/preview-next/middleware.mjs +134 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-CjTM32Ah.mjs} +1 -1
- package/dist/server/components.mjs +15231 -10855
- package/dist/server/config-validation.mjs +3153 -1323
- package/dist/server/config.mjs +3119 -1321
- package/dist/server/data.mjs +3201 -1329
- package/dist/server/date-time.mjs +270 -117
- package/dist/server/index.mjs +137 -52
- package/dist/server/next.mjs +14713 -10388
- package/dist/server/page-converter.mjs +2642 -1073
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +14674 -10630
- package/dist/server/rendering.mjs +15055 -10670
- package/dist/server/routing.mjs +3483 -1488
- package/dist/server/server.mjs +3620 -1740
- package/dist/server/theme-bridge.mjs +2694 -189
- package/dist/server/theme.mjs +422 -67
- package/dist/{spinner-BYM-Y81w.mjs → spinner-KVVZh8jd.mjs} +1 -1
- package/dist/src-BgmWy3P1.mjs +1667 -0
- package/dist/styles/index.css +1196 -2
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/CheckboxChoice-Dq30m3DO.mjs +0 -24
- package/dist/client/DemoBookingPortalAccess-ojwbVUmx.mjs +0 -344
- package/dist/client/ThemedButton-B7HFqFBg.mjs +0 -411
- package/dist/client/carousel-BSCBhfHY.mjs +0 -38
|
@@ -63,6 +63,11 @@ export type AttendeeInfo = Readonly<{
|
|
|
63
63
|
}>;
|
|
64
64
|
export type AttendeeBearingCheckoutItem = EventTicketItem | EventSeriesRegistrationItem;
|
|
65
65
|
export type Checkout = CartCheckout | MembershipCheckout;
|
|
66
|
+
/** Public checkout entry input; pricing carts do not make identity decisions. */
|
|
67
|
+
export type CheckoutRequest<T extends Checkout = Checkout> = T & Readonly<{
|
|
68
|
+
siteTermsIdentity: import('../../../core/src/index').SiteTermsIdentity;
|
|
69
|
+
siteTerms?: import('../../../core/src/index').SiteTermsSubmission;
|
|
70
|
+
}>;
|
|
66
71
|
export type CartCheckout<M extends CheckoutMode = CheckoutMode> = {
|
|
67
72
|
mode: 'one_time';
|
|
68
73
|
siteId: SiteId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FooterCompositionV1, type FooterNavigationLayout } from '../../core/src/index';
|
|
1
|
+
import { type FooterCompositionV1, type FooterArrangement, type FooterNavigationLayout } from '../../core/src/index';
|
|
2
2
|
import type { FooterAttribution, FooterRuntimeViewModel } from '../../blocks/src/client/site-chrome';
|
|
3
3
|
import { type FooterEditorTarget, type planFooterEditorView } from './footerComposer';
|
|
4
4
|
import type { SaveState } from './useFooterComposerState';
|
|
@@ -9,7 +9,7 @@ export declare function SaveBadge({ state }: {
|
|
|
9
9
|
export declare function FooterPreview({ runtime, }: {
|
|
10
10
|
runtime: FooterRuntimeViewModel;
|
|
11
11
|
}): import("react").JSX.Element;
|
|
12
|
-
export declare function FooterOverview({ attribution, plan, composition, onTarget, onChange, manageLinksHref, manageSettingsHref, navigationLayout, onEngagement, onNavigationLayoutChange, }: {
|
|
12
|
+
export declare function FooterOverview({ attribution, plan, composition, onTarget, onChange, manageLinksHref, manageSettingsHref, navigationLayout, arrangement, onEngagement, onNavigationLayoutChange, navigationLayoutPending, navigationLayoutDisabled, }: {
|
|
13
13
|
attribution: FooterAttribution | null;
|
|
14
14
|
plan: FooterPlan;
|
|
15
15
|
composition: FooterCompositionV1;
|
|
@@ -18,7 +18,10 @@ export declare function FooterOverview({ attribution, plan, composition, onTarge
|
|
|
18
18
|
manageLinksHref: string;
|
|
19
19
|
manageSettingsHref: string;
|
|
20
20
|
navigationLayout: FooterNavigationLayout;
|
|
21
|
+
arrangement?: FooterArrangement;
|
|
21
22
|
onEngagement: () => void;
|
|
23
|
+
navigationLayoutPending?: boolean;
|
|
24
|
+
navigationLayoutDisabled?: boolean;
|
|
22
25
|
onNavigationLayoutChange?: (layout: FooterNavigationLayout) => void;
|
|
23
26
|
}): import("react").JSX.Element;
|
|
24
27
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { FooterComposerPanelProps } from './footerComposerPanelTypes';
|
|
3
|
-
export declare function FooterComposerPanel({ apiClient, siteId: rawSiteId, customFooterMode, manageLinksHref, manageFormsHref, manageNewsletterHref, manageSettingsHref, legalRegion, navigationLayoutAccess, initialTarget, initialTargetRequestId, variant, canEdit, onSaved, loadingFallback, }: FooterComposerPanelProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
3
|
+
export declare function FooterComposerPanel({ apiClient, siteId: rawSiteId, customFooterMode, manageLinksHref, manageFormsHref, manageNewsletterHref, manageSettingsHref, arrangement, legalRegion, navigationLayoutAccess, initialTarget, initialTargetRequestId, variant, canEdit, onSaved, loadingFallback, }: FooterComposerPanelProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type { FooterNavigationLayout } from '../../core/src/index';
|
|
2
|
-
export declare function FooterNavigationLayoutControl({ value, onChange, }: Readonly<{
|
|
1
|
+
import type { FooterArrangement, FooterNavigationLayout } from '../../core/src/index';
|
|
2
|
+
export declare function FooterNavigationLayoutControl({ value, arrangement, onChange, pending, disabled, }: Readonly<{
|
|
3
|
+
pending?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
arrangement?: FooterArrangement;
|
|
3
6
|
value: FooterNavigationLayout;
|
|
4
7
|
onChange: (layout: FooterNavigationLayout) => void;
|
|
5
|
-
}>): import("react").JSX.Element;
|
|
8
|
+
}>): import("react").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ContentEntrySnapshot, type ContentTypeSchema, type ToolbarState } from '../../../content-model/src/index';
|
|
2
|
-
import type { EditorBlockId, MailingListProviderScope } from '../../../core/src/index';
|
|
2
|
+
import type { EditorBlockId, MailingListProviderScope, DisplayContext } from '../../../core/src/index';
|
|
3
3
|
import type { BlockItem, ServerBlockItem } from '../../../editor-blocks/src/block-editor/types';
|
|
4
4
|
import { type ReactNode } from 'react';
|
|
5
5
|
import { type EntryActions } from '../hooks/useEntryActions';
|
|
@@ -49,6 +49,7 @@ export type EntryRecoveryConflictState = Readonly<{
|
|
|
49
49
|
export type { EntryActions };
|
|
50
50
|
export type EntryControllerContextValue = {
|
|
51
51
|
apiClient: EditorApiClient;
|
|
52
|
+
formatSavedTime: (value: string | null) => string | null;
|
|
52
53
|
entry: ContentEntrySnapshot;
|
|
53
54
|
baseline: Record<string, unknown>;
|
|
54
55
|
errorMessage: string | null;
|
|
@@ -73,6 +74,7 @@ type BaseInternalProps = {
|
|
|
73
74
|
type: string;
|
|
74
75
|
schema: ContentTypeSchema;
|
|
75
76
|
entityLabel?: string | null;
|
|
77
|
+
displayContext: DisplayContext;
|
|
76
78
|
initialEntry?: ContentEntrySnapshot | null;
|
|
77
79
|
initialMetadataRevision: string | null;
|
|
78
80
|
/** Autosave mode (default: auto). Manual disables background autosave triggers. */
|
|
@@ -24,7 +24,7 @@ export type LeaseParticipationKind = ClassifiedParticipation['kind'];
|
|
|
24
24
|
export declare function classifyLeaseParticipation(participation: EditorLeaseParticipation): ClassifiedParticipation;
|
|
25
25
|
export declare function leaseConfigOf(participation: EditorLeaseParticipation): EditorLeaseConfig | null;
|
|
26
26
|
/** Viewing and leased mounts share one store identity, so switching between them keeps local edits. */
|
|
27
|
-
export declare function leaseExemptionOf(participation: EditorLeaseParticipation): "team-member-profile" |
|
|
27
|
+
export declare function leaseExemptionOf(participation: EditorLeaseParticipation): "sdk" | "team-member-profile" | null;
|
|
28
28
|
export declare function initialParticipationEditability(participation: EditorLeaseParticipation): EditorEditability;
|
|
29
29
|
/**
|
|
30
30
|
* The store's editability after the mount's participation changes. A lease controller owns
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type DisplayContext } from '../../../core/src/index';
|
|
2
|
+
/** Admit stored publication instants; preserve the status-only fallback for invalid values. */
|
|
3
|
+
export declare function formatPublicationDate(value: string, context: DisplayContext): string | null;
|
|
4
|
+
/** Save feedback is an absolute acknowledgement clock, not an elapsed-time counter. */
|
|
5
|
+
export declare function formatSavedTime(value: string | null, context: DisplayContext): string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FooterArrangementPlan, type FooterCompositionV1, type FooterModuleId, type FooterNavigationRole, type FooterNavigationLayout, type FooterSection, type PublicProfile } from '../../core/src/index';
|
|
1
|
+
import { type FooterArrangement, type FooterArrangementPlan, type FooterCompositionV1, type FooterModuleId, type FooterNavigationRole, type FooterNavigationLayout, type FooterSection, type PublicProfile } from '../../core/src/index';
|
|
2
2
|
export type FooterEditorTarget = Readonly<{
|
|
3
3
|
kind: 'overview';
|
|
4
4
|
}> | Readonly<{
|
|
@@ -52,6 +52,7 @@ type FooterEditorViewPlanInput = Readonly<{
|
|
|
52
52
|
hasLegalPolicyNavigation?: boolean;
|
|
53
53
|
hasEngagementSource?: boolean;
|
|
54
54
|
canEdit: boolean;
|
|
55
|
+
arrangement?: FooterArrangement;
|
|
55
56
|
legalRegion?: 'integrated' | 'separate';
|
|
56
57
|
navigationLayout?: FooterNavigationLayout;
|
|
57
58
|
}>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import type { FooterArrangement } from '../../core/src/index';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
import type { ApiClient } from '../../api/src/request';
|
|
3
4
|
import type { FooterEditorTarget } from './footerComposer';
|
|
4
5
|
import type { FooterNavigationLayoutAccess } from './useFooterNavigationLayout';
|
|
5
6
|
export type FooterComposerPanelProps = Readonly<{
|
|
6
|
-
apiClient: ApiClient<'getFooterComposition' | 'updateFooterComposition' | 'getPublicProfile' | 'updatePublicProfile' | 'getNavigationMenus' | 'getMailingListAuthoringContext' | 'listForms' | 'applySiteStyleSelection'>;
|
|
7
|
+
apiClient: ApiClient<'getFooterComposition' | 'updateFooterComposition' | 'getPublicProfile' | 'updatePublicProfile' | 'getNavigationMenus' | 'getMailingListAuthoringContext' | 'listForms' | 'applySiteStyleSelection' | 'getSite'>;
|
|
7
8
|
siteId: string;
|
|
8
9
|
customFooterMode: 'default' | 'blocks' | 'default+blocks' | 'none';
|
|
9
10
|
manageLinksHref: string;
|
|
10
11
|
manageFormsHref?: string;
|
|
11
12
|
manageNewsletterHref?: string;
|
|
12
13
|
manageSettingsHref: string;
|
|
14
|
+
arrangement?: FooterArrangement;
|
|
13
15
|
legalRegion?: 'integrated' | 'separate';
|
|
14
16
|
navigationLayoutAccess?: FooterNavigationLayoutAccess;
|
|
15
17
|
initialTarget?: FooterEditorTarget;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { FooterNavigationLayout } from '../../core/src/index';
|
|
2
|
+
export type FooterNavigationSnapshot = Readonly<{
|
|
3
|
+
siteId: string;
|
|
4
|
+
selectionId: string | null;
|
|
5
|
+
selectionVersion: number;
|
|
6
|
+
layout: FooterNavigationLayout;
|
|
7
|
+
editable: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
export type FooterNavigationRequest = Readonly<{
|
|
10
|
+
snapshot: FooterNavigationSnapshot;
|
|
11
|
+
layout: FooterNavigationLayout;
|
|
12
|
+
}>;
|
|
13
|
+
export type FooterNavigationState = Readonly<{
|
|
14
|
+
source: FooterNavigationSnapshot;
|
|
15
|
+
confirmed: FooterNavigationSnapshot;
|
|
16
|
+
}> & (Readonly<{
|
|
17
|
+
kind: 'ready';
|
|
18
|
+
}> | Readonly<{
|
|
19
|
+
kind: 'saving';
|
|
20
|
+
request: FooterNavigationRequest;
|
|
21
|
+
}> | Readonly<{
|
|
22
|
+
kind: 'reload-failed';
|
|
23
|
+
}>);
|
|
24
|
+
export type FooterNavigationEvent = Readonly<{
|
|
25
|
+
kind: 'confirmed';
|
|
26
|
+
request: FooterNavigationRequest;
|
|
27
|
+
snapshot: FooterNavigationSnapshot;
|
|
28
|
+
}> | Readonly<{
|
|
29
|
+
kind: 'failed' | 'reload-failed';
|
|
30
|
+
request: FooterNavigationRequest;
|
|
31
|
+
}>;
|
|
32
|
+
export declare function refreshFooterNavigation(state: FooterNavigationState, source: FooterNavigationSnapshot): FooterNavigationState;
|
|
33
|
+
/** The controller hands the effect shell an admitted request and its pending state together. */
|
|
34
|
+
export declare function beginFooterNavigationSave(state: FooterNavigationState, layout: FooterNavigationLayout): {
|
|
35
|
+
readonly kind: "blocked";
|
|
36
|
+
readonly request?: undefined;
|
|
37
|
+
readonly state?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
readonly kind: "save";
|
|
40
|
+
readonly request: Readonly<{
|
|
41
|
+
snapshot: FooterNavigationSnapshot;
|
|
42
|
+
layout: FooterNavigationLayout;
|
|
43
|
+
}>;
|
|
44
|
+
readonly state: {
|
|
45
|
+
readonly kind: "saving";
|
|
46
|
+
readonly request: Readonly<{
|
|
47
|
+
snapshot: FooterNavigationSnapshot;
|
|
48
|
+
layout: FooterNavigationLayout;
|
|
49
|
+
}>;
|
|
50
|
+
readonly source: FooterNavigationSnapshot;
|
|
51
|
+
readonly confirmed: FooterNavigationSnapshot;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
/** Only the admitted request can finish; a newer refreshed revision wins. */
|
|
55
|
+
export declare function transitionFooterNavigation(state: FooterNavigationState, event: FooterNavigationEvent): FooterNavigationState;
|
|
56
|
+
export declare function footerNavigationLayoutValue(state: FooterNavigationState): FooterNavigationLayout;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FooterAttribution, type FooterResolvedEngagement, type FooterRuntimeViewModel } from '../../blocks/src/client/site-chrome';
|
|
2
|
-
import type { FooterCompositionV1, FooterNavigationLayout, PublicProfile } from '../../core/src/index';
|
|
2
|
+
import type { FooterCompositionV1, FooterArrangement, FooterNavigationLayout, PublicProfile } from '../../core/src/index';
|
|
3
3
|
export type FooterPreviewRuntimeInput = Readonly<{
|
|
4
4
|
composition: FooterCompositionV1;
|
|
5
5
|
publicProfile: PublicProfile;
|
|
@@ -7,6 +7,7 @@ export type FooterPreviewRuntimeInput = Readonly<{
|
|
|
7
7
|
hasLogo: boolean;
|
|
8
8
|
hasMainNavigation: boolean;
|
|
9
9
|
hasLegalPolicyNavigation: boolean;
|
|
10
|
+
arrangement?: FooterArrangement;
|
|
10
11
|
legalRegion: 'integrated' | 'separate';
|
|
11
12
|
navigationLayout: FooterNavigationLayout;
|
|
12
13
|
engagement: FooterResolvedEngagement;
|
|
@@ -18,10 +18,9 @@ export declare function useFooterComposerState({ apiClient, canEdit, initialTarg
|
|
|
18
18
|
message: string | null;
|
|
19
19
|
navigationLayoutControl: {
|
|
20
20
|
readonly layout: "stack" | "inline-wrap";
|
|
21
|
-
readonly
|
|
22
|
-
|
|
23
|
-
readonly layout: "
|
|
24
|
-
readonly onChange: (next: import("../../core/src/index").FooterNavigationLayout) => Promise<void>;
|
|
21
|
+
readonly pending: boolean;
|
|
22
|
+
readonly disabled: boolean;
|
|
23
|
+
readonly onChange: ((layout: import("../../core/src/index").FooterNavigationLayout) => Promise<void>) | undefined;
|
|
25
24
|
};
|
|
26
25
|
saveComposition: (next: FooterCompositionV1, optimistic?: boolean) => Promise<CompositionSaveOutcome>;
|
|
27
26
|
saveProfile: (next: PublicProfile) => Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FooterPreferences } from '../../theme-core/src/site-styles/index';
|
|
2
|
+
import { type ApiClient } from '../../api/src/request';
|
|
2
3
|
import type { Theme } from '../../blocks/src/index';
|
|
3
4
|
import { type FooterNavigationLayout } from '../../core/src/index';
|
|
4
5
|
export type FooterSaveState = 'idle' | 'saving' | 'saved' | 'conflict' | 'failed';
|
|
@@ -7,20 +8,22 @@ export type FooterNavigationLayoutAccess = Readonly<{
|
|
|
7
8
|
}> | Readonly<{
|
|
8
9
|
kind: 'editable';
|
|
9
10
|
theme: Theme;
|
|
11
|
+
preferences: FooterPreferences;
|
|
10
12
|
selectionId: string | null;
|
|
11
13
|
selectionVersion: number;
|
|
12
14
|
}>;
|
|
13
|
-
|
|
14
|
-
apiClient: ApiClient<'applySiteStyleSelection'>;
|
|
15
|
+
type Options = Readonly<{
|
|
16
|
+
apiClient: ApiClient<'applySiteStyleSelection' | 'getSite'>;
|
|
15
17
|
siteId: string;
|
|
16
18
|
access: FooterNavigationLayoutAccess;
|
|
17
19
|
onSaved?: () => void;
|
|
18
20
|
onSaveStateChange: (state: FooterSaveState) => void;
|
|
19
21
|
onMessageChange: (message: string | null) => void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
readonly onChange: undefined;
|
|
23
|
-
} | {
|
|
22
|
+
}>;
|
|
23
|
+
export declare function useFooterNavigationLayout(options: Options): {
|
|
24
24
|
readonly layout: "stack" | "inline-wrap";
|
|
25
|
-
readonly
|
|
25
|
+
readonly pending: boolean;
|
|
26
|
+
readonly disabled: boolean;
|
|
27
|
+
readonly onChange: ((layout: FooterNavigationLayout) => Promise<void>) | undefined;
|
|
26
28
|
};
|
|
29
|
+
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* checks. It is intentionally lightweight — enough to power scaffold diagnostics
|
|
8
8
|
* and a CLI pre-flight — not a replacement for server-side write validation.
|
|
9
9
|
*/
|
|
10
|
-
import type { ContentTypeSchema } from './schema';
|
|
10
|
+
import type { ContentFieldConfig, ContentTypeSchema } from './schema';
|
|
11
11
|
export type EntryValidationCode = 'missing_required' | 'unfilled_placeholder' | 'wrong_type' | 'invalid_option';
|
|
12
12
|
export interface EntryValidationError {
|
|
13
13
|
/** Dotted path to the offending value (e.g. `hero.cta.link`, `items[0].label`). */
|
|
@@ -21,10 +21,11 @@ export interface EntryValidationResult {
|
|
|
21
21
|
valid: boolean;
|
|
22
22
|
errors: EntryValidationError[];
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
export declare function hasRepeaterVariants(field: ContentFieldConfig): field is ContentFieldConfig & {
|
|
25
|
+
itemTypes: NonNullable<ContentFieldConfig['itemTypes']>;
|
|
26
|
+
};
|
|
27
|
+
export declare function resolveRepeaterVariantFields(field: ContentFieldConfig, item: Record<string, unknown>): ContentFieldConfig[] | null;
|
|
28
|
+
/** Validate all entry fields, returning every error so callers can fix them in one pass. */
|
|
28
29
|
export declare function validateEntryInstance(input: {
|
|
29
30
|
schema: ContentTypeSchema;
|
|
30
31
|
data: Record<string, unknown>;
|
|
@@ -69,6 +69,10 @@ declare const BaseContentFieldSchema: z.ZodObject<{
|
|
|
69
69
|
*/
|
|
70
70
|
type ContentFieldSchemaType = z.infer<typeof BaseContentFieldSchema> & {
|
|
71
71
|
fields?: ContentFieldSchemaType[];
|
|
72
|
+
itemTypes?: Record<string, {
|
|
73
|
+
label?: string;
|
|
74
|
+
fields?: ContentFieldSchemaType[];
|
|
75
|
+
}>;
|
|
72
76
|
schema?: {
|
|
73
77
|
fields?: ContentFieldSchemaType[];
|
|
74
78
|
};
|
|
@@ -101,11 +101,19 @@ export type FieldDefinition = (BaseFieldDefinition & {
|
|
|
101
101
|
};
|
|
102
102
|
}) | (BaseFieldDefinition & {
|
|
103
103
|
type: 'repeater';
|
|
104
|
+
itemLabel: string;
|
|
105
|
+
} & ({
|
|
104
106
|
schema: {
|
|
105
107
|
fields: FieldDefinition[];
|
|
106
108
|
};
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
+
polymorphic?: false;
|
|
110
|
+
} | {
|
|
111
|
+
polymorphic: true;
|
|
112
|
+
itemTypes: Record<string, {
|
|
113
|
+
label: string;
|
|
114
|
+
fields: FieldDefinition[];
|
|
115
|
+
}>;
|
|
116
|
+
}));
|
|
109
117
|
/**
|
|
110
118
|
* Maps a content type schema to form field definitions.
|
|
111
119
|
*
|
|
@@ -106,6 +106,8 @@ export declare function getPublishedMetadataFromSnapshot(snapshot: ContentEntryS
|
|
|
106
106
|
type ToolbarOptions = {
|
|
107
107
|
routing: RoutingHelpers;
|
|
108
108
|
entityLabel: string;
|
|
109
|
+
/** Host binds the shared date formatter to its explicit display zone and locale. */
|
|
110
|
+
formatPublicationDate: (value: string) => string | null;
|
|
109
111
|
};
|
|
110
112
|
export declare function buildToolbarState<TValues extends Record<string, unknown>>(snapshot: ContentEntrySnapshot, context: {
|
|
111
113
|
values: TValues;
|
|
@@ -100,6 +100,9 @@ export declare function toBookingTimeZone(timeZone: string | null | undefined):
|
|
|
100
100
|
export declare const DEFAULT_BOOKING_TIME_ZONE: BookingTimeZone;
|
|
101
101
|
export declare function resolveBookingTimezone(venueTimezone: string | null | undefined, siteDefaultTimezone: string): string;
|
|
102
102
|
export declare function resolveBookingTimeZoneId(...candidates: Array<string | null | undefined>): BookingTimeZone;
|
|
103
|
+
/** Canonical business-zone admission, shared by server and public wire boundaries. */
|
|
104
|
+
export declare const DEFAULT_BOOKING_BUSINESS_TIME_ZONE = "Europe/London";
|
|
105
|
+
export declare function resolveBookingBusinessTimeZone(value: string | null | undefined): BookingTimeZone;
|
|
103
106
|
export declare function parseUtcIsoDateTimeString(value: string): Result<UtcIsoDateTimeString, UtcIsoDateTimeStringParseError>;
|
|
104
107
|
export declare function toUtcIsoDateTimeString(value: string): UtcIsoDateTimeString;
|
|
105
108
|
export declare function parseScheduledBookingDateTime(input: BookingDateFormatInput): ParseScheduledBookingDateTimeResult;
|
|
@@ -139,6 +142,8 @@ export declare function formatBookingRange(input: ScheduledBookingDateRange, opt
|
|
|
139
142
|
dateFormat?: Intl.DateTimeFormatOptions;
|
|
140
143
|
timeFormat?: Intl.DateTimeFormatOptions;
|
|
141
144
|
}>): string;
|
|
145
|
+
/** Canonical schedule text at command and SDK boundaries: HH:MM or HH:MM:SS. */
|
|
146
|
+
export declare const localScheduleTimePattern: RegExp;
|
|
142
147
|
export declare function parseLocalScheduleTime(value: string): LocalScheduleTime;
|
|
143
148
|
export declare function getLocalScheduleDate(date: Date, timeZone: BookingTimeZone | string | null | undefined): LocalScheduleDate;
|
|
144
149
|
export declare function getLocalScheduleTime(date: Date, timeZone: BookingTimeZone | string | null | undefined): LocalScheduleTime;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BookingDepositRefundPolicy } from './booking-flexible-balance';
|
|
2
|
+
import type { EventOfferingId } from './branded';
|
|
2
3
|
export type BookingProtectedDepositPolicyState = 'not_applicable' | BookingDepositRefundPolicy;
|
|
3
4
|
export declare function normalizeBookingProtectedDepositPolicyState(value: string | null | undefined): BookingProtectedDepositPolicyState;
|
|
4
5
|
export type BookingRefundMode = 'refund_only' | 'refund_and_revoke';
|
|
@@ -64,3 +65,45 @@ export type AcceptedEventScheduleUpdate<TId extends string = string> = Readonly<
|
|
|
64
65
|
}>;
|
|
65
66
|
cancellationResult: BusinessCancellationResult;
|
|
66
67
|
}>;
|
|
68
|
+
/** Narrow an already typed run or schedule write response to its accepted receipt. */
|
|
69
|
+
export declare function isAcceptedEventScheduleUpdate<T extends object>(response: T): response is Extract<T, Readonly<{
|
|
70
|
+
kind: 'accepted_unavailable';
|
|
71
|
+
}>>;
|
|
72
|
+
/** A run was saved, but a follow-on effect needs attention. */
|
|
73
|
+
export type EventRunWriteWarning = Readonly<{
|
|
74
|
+
code: 'cache_refresh_failed' | 'webhook_failed' | 'attendee_notification_failed' | 'schedule_reconciliation_incomplete' | 'slug_change_not_applied' | 'event_follow_up_failed';
|
|
75
|
+
message: string;
|
|
76
|
+
}>;
|
|
77
|
+
/** A run write committed, but its final projection could not be loaded. */
|
|
78
|
+
type AcceptedEventRunEvidence<TId extends string> = Readonly<{
|
|
79
|
+
kind: 'accepted_unavailable';
|
|
80
|
+
id: TId;
|
|
81
|
+
cancellationResult?: BusinessCancellationResult;
|
|
82
|
+
warnings?: readonly EventRunWriteWarning[];
|
|
83
|
+
restoration?: EventOccurrenceRestorationSummary;
|
|
84
|
+
}>;
|
|
85
|
+
export type AcceptedEventRunUpdate<TId extends string = string> = AcceptedEventRunEvidence<TId> & Readonly<{
|
|
86
|
+
effect: Readonly<{
|
|
87
|
+
kind: 'updated';
|
|
88
|
+
}>;
|
|
89
|
+
eventId?: EventOfferingId;
|
|
90
|
+
}>;
|
|
91
|
+
/** A create receipt also proves identity on matching replay, even when readback fails. */
|
|
92
|
+
export type AcceptedEventRunCreation<TId extends string = string> = AcceptedEventRunEvidence<TId> & Readonly<{
|
|
93
|
+
eventId: EventOfferingId;
|
|
94
|
+
effect: Readonly<{
|
|
95
|
+
kind: 'created' | 'unchanged';
|
|
96
|
+
}>;
|
|
97
|
+
}>;
|
|
98
|
+
/** A date can return without bookings whose instalment collection was stopped. */
|
|
99
|
+
export type EventOccurrenceRestorationSummary = Readonly<{
|
|
100
|
+
restoredOccurrenceIds: readonly string[];
|
|
101
|
+
excludedBookings: readonly Readonly<{
|
|
102
|
+
attendeeId: string;
|
|
103
|
+
occurrenceId: string;
|
|
104
|
+
customerId: string;
|
|
105
|
+
customerName: string | null;
|
|
106
|
+
customerEmail: string | null;
|
|
107
|
+
}>[];
|
|
108
|
+
}>;
|
|
109
|
+
export {};
|
|
@@ -79,6 +79,8 @@ export type MembershipId = Brand<string, 'MembershipId'>;
|
|
|
79
79
|
*/
|
|
80
80
|
export type RetiredCourseId = Brand<string, 'RetiredCourseId'>;
|
|
81
81
|
export type CustomerId = Brand<string, 'CustomerId'>;
|
|
82
|
+
export type SiteTermsVersionId = Brand<string, 'SiteTermsVersionId'>;
|
|
83
|
+
export type SiteTermsAgreementId = Brand<string, 'SiteTermsAgreementId'>;
|
|
82
84
|
export type OrderId = Brand<string, 'OrderId'>;
|
|
83
85
|
export type OrderRetirementOperationId = Brand<string, 'OrderRetirementOperationId'>;
|
|
84
86
|
export type OrderItemId = Brand<string, 'OrderItemId'>;
|
|
@@ -228,6 +230,8 @@ export declare const unsafeAsFormSubmissionId: (id: string) => FormSubmissionId;
|
|
|
228
230
|
export declare const unsafeAsPassId: (id: string) => PassId;
|
|
229
231
|
export declare const unsafeAsMembershipId: (id: string) => MembershipId;
|
|
230
232
|
export declare const unsafeAsCustomerId: (id: string) => CustomerId;
|
|
233
|
+
export declare const unsafeAsSiteTermsVersionId: (id: string) => SiteTermsVersionId;
|
|
234
|
+
export declare const unsafeAsSiteTermsAgreementId: (id: string) => SiteTermsAgreementId;
|
|
231
235
|
export declare const unsafeAsOrderRetirementOperationId: (id: string) => OrderRetirementOperationId;
|
|
232
236
|
export declare const unsafeAsOrderId: (id: string) => OrderId;
|
|
233
237
|
export declare const unsafeAsOrderItemId: (id: string) => OrderItemId;
|
|
@@ -331,6 +335,8 @@ export declare const parseDatedOfferingWaitlistCapacityEffectId: (value: unknown
|
|
|
331
335
|
export declare const parseDatedOfferingWaitlistCapacityEffectClaimToken: (value: unknown) => Result<DatedOfferingWaitlistCapacityEffectClaimToken, BrandedIdParseError>;
|
|
332
336
|
export declare const parseDatedOfferingRunCancellationOperationId: (value: unknown) => Result<DatedOfferingRunCancellationOperationId, BrandedIdParseError>;
|
|
333
337
|
export declare const parseCustomerId: (value: unknown) => Result<CustomerId, BrandedIdParseError>;
|
|
338
|
+
export declare const parseSiteTermsVersionId: (value: unknown) => Result<SiteTermsVersionId, BrandedIdParseError>;
|
|
339
|
+
export declare const parseSiteTermsAgreementId: (value: unknown) => Result<SiteTermsAgreementId, BrandedIdParseError>;
|
|
334
340
|
export declare const parseCustomerPassId: (value: unknown) => Result<CustomerPassId, BrandedIdParseError>;
|
|
335
341
|
export declare const parseCustomerMembershipId: (value: unknown) => Result<CustomerMembershipId, BrandedIdParseError>;
|
|
336
342
|
export declare const parseEventSeriesId: (value: unknown) => Result<EventSeriesId, BrandedIdParseError>;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type BookingTimeZone, type LocalScheduleDate, type UtcIsoDateTimeString } from './booking-date-time';
|
|
2
|
+
/** Explicit business/viewer projection; never consults a clock or server locale. */
|
|
3
|
+
export type DisplayContext = Readonly<{
|
|
4
|
+
locale: string;
|
|
5
|
+
timeZone: BookingTimeZone;
|
|
6
|
+
}>;
|
|
7
|
+
export type DisplayDate = Readonly<{
|
|
8
|
+
kind: 'instant';
|
|
9
|
+
value: UtcIsoDateTimeString;
|
|
10
|
+
}> | Readonly<{
|
|
11
|
+
kind: 'civil';
|
|
12
|
+
value: LocalScheduleDate;
|
|
13
|
+
}>;
|
|
14
|
+
export type DateStyle = 'numeric' | 'short' | 'long';
|
|
15
|
+
export type ZoneLabel = 'omit' | 'always';
|
|
16
|
+
export type DisplayDateOptions = Readonly<{
|
|
17
|
+
date?: DateStyle | 'omit';
|
|
18
|
+
weekday?: 'short' | 'long';
|
|
19
|
+
year?: 'numeric' | 'omit';
|
|
20
|
+
}>;
|
|
21
|
+
export type DisplayDateRangeOptions = DisplayDateOptions & Readonly<{
|
|
22
|
+
order?: 'chronological' | 'session';
|
|
23
|
+
}>;
|
|
24
|
+
export type DisplayTimeOptions = Readonly<{
|
|
25
|
+
zone: ZoneLabel;
|
|
26
|
+
}>;
|
|
27
|
+
export type DisplayDateTimeOptions = DisplayDateOptions & DisplayTimeOptions;
|
|
28
|
+
export type DateTimeSpan = Readonly<{
|
|
29
|
+
start: UtcIsoDateTimeString;
|
|
30
|
+
end: UtcIsoDateTimeString;
|
|
31
|
+
}>;
|
|
32
|
+
export type BookingDisplayContext = Readonly<{
|
|
33
|
+
context: DisplayContext;
|
|
34
|
+
zone: ZoneLabel;
|
|
35
|
+
}>;
|
|
36
|
+
/** Site-language policy, shared by customer emails and public event adapters. */
|
|
37
|
+
export declare function inferSiteDateLocale(siteTimeZone: string | null | undefined): string;
|
|
38
|
+
/** Callers resolve the facts once; all clocks consume the same label decision. */
|
|
39
|
+
export declare function resolveBookingDisplayContext(input: Readonly<{
|
|
40
|
+
sessionTimeZone: BookingTimeZone;
|
|
41
|
+
siteTimeZone: BookingTimeZone;
|
|
42
|
+
locale: string;
|
|
43
|
+
isOnline: boolean;
|
|
44
|
+
surface: 'email' | 'dashboard';
|
|
45
|
+
}>): BookingDisplayContext;
|
|
46
|
+
/** Internal adapter profile: SDK keeps its established native/custom typography. */
|
|
47
|
+
export type DatePresentationProfile = Readonly<{
|
|
48
|
+
kind: 'display';
|
|
49
|
+
dateFormat: Intl.DateTimeFormatOptions;
|
|
50
|
+
clock: Readonly<{
|
|
51
|
+
kind: 'compact';
|
|
52
|
+
localeSource: 'product' | 'context';
|
|
53
|
+
}>;
|
|
54
|
+
zone: ZoneLabel;
|
|
55
|
+
}> | Readonly<{
|
|
56
|
+
kind: 'sdk';
|
|
57
|
+
dateFormat: Intl.DateTimeFormatOptions;
|
|
58
|
+
clock: ClockPresentation;
|
|
59
|
+
zone: 'omit';
|
|
60
|
+
}>;
|
|
61
|
+
/** Public SDK option policy lives beside the display profile, never in its adapter. */
|
|
62
|
+
export declare function sdkPresentationProfile(context: DisplayContext, dateFormat: Intl.DateTimeFormatOptions, time?: Readonly<{
|
|
63
|
+
timePresentation?: 'compact' | 'standard';
|
|
64
|
+
format?: Intl.DateTimeFormatOptions;
|
|
65
|
+
}>): DatePresentationProfile;
|
|
66
|
+
type ClockPresentation = Readonly<{
|
|
67
|
+
kind: 'compact';
|
|
68
|
+
localeSource: 'product' | 'context';
|
|
69
|
+
}> | Readonly<{
|
|
70
|
+
kind: 'intl';
|
|
71
|
+
format: Intl.DateTimeFormatOptions;
|
|
72
|
+
}>;
|
|
73
|
+
export declare function formatDate(value: DisplayDate, context: DisplayContext, options?: DisplayDateOptions): string;
|
|
74
|
+
export declare function formatDateRange(start: DisplayDate, endInclusive: DisplayDate, context: DisplayContext, options?: DisplayDateRangeOptions): string;
|
|
75
|
+
export declare function formatDateTime(value: UtcIsoDateTimeString, context: DisplayContext, options: DisplayDateTimeOptions): string;
|
|
76
|
+
export declare function formatDateTimeRange(span: DateTimeSpan, context: DisplayContext, options: DisplayDateTimeOptions): string;
|
|
77
|
+
export declare function formatTime(value: UtcIsoDateTimeString, context: DisplayContext, options: DisplayTimeOptions): string;
|
|
78
|
+
export declare function formatTimeRange(start: UtcIsoDateTimeString, end: UtcIsoDateTimeString, context: DisplayContext, options: DisplayTimeOptions): string;
|
|
79
|
+
/** Sole date projection/typography owner, used by display and scheduled adapters. */
|
|
80
|
+
export declare function presentDate(value: DisplayDate, context: DisplayContext, profile: DatePresentationProfile): string;
|
|
81
|
+
export declare function presentDateRange(start: DisplayDate, end: DisplayDate, context: DisplayContext, profile: DatePresentationProfile): string;
|
|
82
|
+
export declare function presentTime(value: UtcIsoDateTimeString, context: DisplayContext, profile: DatePresentationProfile): string;
|
|
83
|
+
export declare function presentDateTime(value: UtcIsoDateTimeString, context: DisplayContext, profile: DatePresentationProfile): string;
|
|
84
|
+
export declare function presentTimeRange(span: DateTimeSpan, context: DisplayContext, profile: DatePresentationProfile): string;
|
|
85
|
+
export declare function presentDateTimeRange(span: DateTimeSpan, context: DisplayContext, profile: DatePresentationProfile): string;
|
|
86
|
+
export declare function formatTimeAgo(value: UtcIsoDateTimeString, now: UtcIsoDateTimeString, context: DisplayContext): string;
|
|
87
|
+
export declare function formatTimeUntil(value: UtcIsoDateTimeString, now: UtcIsoDateTimeString, context: DisplayContext): string;
|
|
88
|
+
/** Same city vocabulary as clock-label fallback, for explanatory timezone copy. */
|
|
89
|
+
export declare function formatTimeZoneCityLabel(timeZone: BookingTimeZone): string;
|
|
90
|
+
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import type { FooterArrangementPlan, FooterLookPolicy, RenderableFooterSection } from './footer-composition-types';
|
|
1
|
+
import type { FooterArrangement, FooterArrangementPlan, FooterLookPolicy, RenderableFooterSection } from './footer-composition-types';
|
|
2
|
+
import type { FooterNavigationLayout } from './footer-navigation-layout';
|
|
3
|
+
/** One policy owner for the served footer and its composition preview. */
|
|
4
|
+
export declare function footerArrangementPolicy(input: Readonly<{
|
|
5
|
+
arrangement?: FooterArrangement;
|
|
6
|
+
legalRegion?: 'integrated' | 'separate';
|
|
7
|
+
storedNavigationLayout?: FooterNavigationLayout | 'inline';
|
|
8
|
+
}>): FooterLookPolicy;
|
|
2
9
|
export declare function planFooterArrangement(renderableSections: readonly RenderableFooterSection[], policy: FooterLookPolicy): FooterArrangementPlan;
|
|
@@ -56,20 +56,25 @@ export type FooterCompositionError = Readonly<{
|
|
|
56
56
|
path: string;
|
|
57
57
|
message: string;
|
|
58
58
|
}>;
|
|
59
|
+
export type FooterArrangement = 'simple' | 'split' | 'centred';
|
|
60
|
+
export type FooterArrangementSlot = 'head' | 'navigation' | 'contact' | 'social' | 'panel' | 'base' | 'stack';
|
|
59
61
|
export type FooterLookPolicy = Readonly<{
|
|
62
|
+
arrangement: FooterArrangement;
|
|
60
63
|
kind: 'integrated-legal' | 'separate-legal-region';
|
|
61
64
|
navigationLayout: FooterNavigationLayout;
|
|
62
65
|
}>;
|
|
63
|
-
export type FooterVisualGroupKind = 'identity' | 'main-navigation' | 'visit' | 'engagement' | 'legal-ending';
|
|
66
|
+
export type FooterVisualGroupKind = 'social' | 'identity' | 'main-navigation' | 'visit' | 'engagement' | 'legal-ending';
|
|
64
67
|
export type FooterColumnCount = 1 | 2 | 3 | 4 | 5;
|
|
65
68
|
export type FooterVisualGroup = Readonly<{
|
|
66
69
|
kind: FooterVisualGroupKind;
|
|
67
70
|
sections: readonly FooterSection[];
|
|
68
71
|
width: 'column' | 'full-row';
|
|
72
|
+
slot?: FooterArrangementSlot;
|
|
69
73
|
}>;
|
|
70
74
|
export type FooterRenderRegion = Readonly<{
|
|
71
75
|
kind: 'engagement-row' | 'main' | 'bottom';
|
|
72
76
|
columns: FooterColumnCount;
|
|
77
|
+
slot?: FooterArrangementSlot;
|
|
73
78
|
groups: readonly FooterVisualGroup[];
|
|
74
79
|
}>;
|
|
75
80
|
export type FooterArrangementPlan = Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FooterCompositionError, FooterCompositionV1, FooterModuleId, FooterSection, FooterSourceAvailability, ResolvedFooterSection } from './footer-composition-types';
|
|
2
2
|
import { type FooterEngagementSection } from './footer-engagement';
|
|
3
3
|
import { type Result } from './result';
|
|
4
|
-
export { planFooterArrangement } from './footer-arrangement';
|
|
4
|
+
export { planFooterArrangement, footerArrangementPolicy } from './footer-arrangement';
|
|
5
5
|
export type * from './footer-composition-types';
|
|
6
6
|
export declare function unsafeAsFooterModuleId(value: string): FooterModuleId;
|
|
7
7
|
export declare function parseFooterModuleId(value: unknown): Result<FooterModuleId, FooterCompositionError>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import type { FooterArrangement } from './footer-composition-types';
|
|
1
2
|
export declare const footerNavigationLayouts: readonly ["stack", "inline-wrap"];
|
|
2
3
|
export type FooterNavigationLayout = (typeof footerNavigationLayouts)[number];
|
|
3
4
|
export declare const defaultFooterNavigationLayout: FooterNavigationLayout;
|
|
4
5
|
export declare function normalizeFooterNavigationLayout(value: 'stack' | 'inline' | 'inline-wrap' | null | undefined): FooterNavigationLayout;
|
|
6
|
+
/** The arrangement chooses presentation; the stored preference remains intact. */
|
|
7
|
+
export declare function effectiveFooterNavigationLayout(arrangement: FooterArrangement, stored: FooterNavigationLayout): FooterNavigationLayout;
|
|
@@ -24,7 +24,10 @@ export * from './booking-live-payment-terms';
|
|
|
24
24
|
export * from './booking-payment-options';
|
|
25
25
|
export * from './appointment-booking-terms';
|
|
26
26
|
export * from './booking-date-time';
|
|
27
|
+
export { formatDate, formatDateRange, formatDateTime, formatDateTimeRange, formatTime, formatTimeRange, formatTimeAgo, formatTimeUntil, inferSiteDateLocale, resolveBookingDisplayContext, formatTimeZoneCityLabel, type DisplayContext, type DisplayDate, type DateStyle, type ZoneLabel, type DisplayDateRangeOptions, type DisplayDateOptions, type DisplayTimeOptions, type DisplayDateTimeOptions, type DateTimeSpan, type BookingDisplayContext, } from './date-display';
|
|
28
|
+
export * from './scheduled-date-time';
|
|
27
29
|
export * from './booking-consent';
|
|
30
|
+
export * from './site-terms';
|
|
28
31
|
export * from './appointment-service-categories';
|
|
29
32
|
export * from './dated-offering-settlement';
|
|
30
33
|
export * from './person-records';
|
|
@@ -80,7 +83,7 @@ export * from './site-route-target';
|
|
|
80
83
|
export { disabledSelection, enabledSelection, plannerNoChange, plannerPatch, plannerUpdate, resolvePlanningDateInput, resolvePlanningNow, resolvePlanningNowDate, systemPlanningClock, } from './planner';
|
|
81
84
|
export type { DisabledSelection, EnabledSelection, OptionalSelection, PlannerNoChange, PlannerPatch, PlannerUpdate, PlanningClock, PlanningDateInput, PlanningTimeOptions, } from './planner';
|
|
82
85
|
export { isValidBookingTimeZone, parseBookingTimeZone, type BookingTimeZone, type BookingTimeZoneParseError, } from './booking-time-zone';
|
|
83
|
-
export { CANCELLED_SESSION_STATUS, firstLiveRunSessionStartMs, isWholeSeriesRegistrationOpen, orderedLiveRunSessions, resolveWholeSeriesBookingPhase, resolveWholeSeriesRunLifecycle, type WholeSeriesBookingPhase, type WholeSeriesRunLifecycle, type WholeSeriesScheduleSession, } from './whole-series-run-schedule';
|
|
86
|
+
export { CANCELLED_SESSION_STATUS, firstLiveRunSessionStartMs, nextLiveRunSessionStartMs, isWholeSeriesRegistrationOpen, orderedLiveRunSessions, resolveWholeSeriesBookingPhase, resolveWholeSeriesRunLifecycle, type WholeSeriesBookingPhase, type WholeSeriesRunLifecycle, type WholeSeriesScheduleSession, } from './whole-series-run-schedule';
|
|
84
87
|
export * from './public-read-cache-contract';
|
|
85
88
|
export * from './booking-verticals';
|
|
86
89
|
export * from './event-series-behaviour';
|
|
@@ -17,6 +17,9 @@ export type MailingListSetupRevision = Brand<number, 'MailingListSetupRevision'>
|
|
|
17
17
|
export type MailingListProfileField = 'name' | 'first_name' | 'last_name' | 'company' | 'phone';
|
|
18
18
|
export type MailingListGlobalFields = Readonly<{
|
|
19
19
|
preset: 'emailOnly';
|
|
20
|
+
}> | Readonly<{
|
|
21
|
+
preset: 'emailFirstName';
|
|
22
|
+
firstName: 'required' | 'optional';
|
|
20
23
|
}> | Readonly<{
|
|
21
24
|
preset: 'emailName';
|
|
22
25
|
name: 'required' | 'optional';
|