@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PublicEvent } from '../events/shared/types';
|
|
2
|
-
import { type BookingOfferingPresetSummary, type ResolvedOfferingsPreviewGroup } from './model';
|
|
2
|
+
import { type OfferingsPreviewListing, type OfferingsListingMode, type BookingOfferingPresetSummary, type ResolvedOfferingsPreviewGroup } from './model';
|
|
3
3
|
export type OfferingsCatalogueState = Readonly<{
|
|
4
4
|
kind: 'failed';
|
|
5
5
|
}> | Readonly<{
|
|
@@ -16,3 +16,9 @@ export declare function buildOfferingsCatalogueState(input: Readonly<{
|
|
|
16
16
|
presets: readonly BookingOfferingPresetSummary[] | null | undefined;
|
|
17
17
|
events: readonly PublicEvent[] | null | undefined;
|
|
18
18
|
}>): OfferingsCatalogueState;
|
|
19
|
+
export declare function buildOfferingsCatalogueListing(input: Readonly<{
|
|
20
|
+
presets: readonly BookingOfferingPresetSummary[] | null | undefined;
|
|
21
|
+
events: readonly PublicEvent[] | null | undefined;
|
|
22
|
+
listingMode: OfferingsListingMode;
|
|
23
|
+
now: Date;
|
|
24
|
+
}>): OfferingsPreviewListing;
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { type CardListKnobContent, type CardListSectionActionContent } from '../../fields/cardList';
|
|
2
|
+
import { z } from 'zod';
|
|
2
3
|
import type { SystemBlockDefinition } from '../../registry';
|
|
3
4
|
import type { BlockManifest } from '../../manifest';
|
|
4
5
|
import { type CardStylesContent, type SectionStylesContent } from '../../fields/boxStyles';
|
|
5
6
|
import type { ButtonVariant } from '../events/shared/types';
|
|
6
7
|
import { type OfferingsPreviewGroupOverride, type OfferingsPreviewSourceKey } from './model';
|
|
8
|
+
export declare const publicRouteCandidatesSchema: z.ZodObject<{
|
|
9
|
+
routes: z.ZodArray<z.ZodObject<{
|
|
10
|
+
entityId: z.ZodString;
|
|
11
|
+
path: z.ZodString;
|
|
12
|
+
title: z.ZodString;
|
|
13
|
+
kind: z.ZodEnum<{
|
|
14
|
+
content: "content";
|
|
15
|
+
page: "page";
|
|
16
|
+
pageSurface: "pageSurface";
|
|
17
|
+
}>;
|
|
18
|
+
contentTypeKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
7
21
|
export declare const offeringsPreviewManifest: BlockManifest;
|
|
8
22
|
export type OfferingsPreviewContent = CardListKnobContent & CardListSectionActionContent & {
|
|
9
23
|
/** Internal system composition capability; no customer/editor control. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type BookingOfferingPresetSummary, type OfferingsPreviewGroupOrder, type OfferingsPreviewGroupOverride, type OfferingsPreviewListing, type OfferingsListingMode } from './model';
|
|
1
2
|
import type { PublicEvent } from '../events/shared/types';
|
|
2
3
|
import { type OfferingsPreviewEventDataKey, type OfferingsPreviewSourceKey, type OfferingsPreviewGroupItemData, type OfferingsPreviewRouteCandidate } from './model';
|
|
3
4
|
export type OfferingsPreviewEventInput = Partial<Record<OfferingsPreviewEventDataKey, readonly PublicEvent[] | null>> & Readonly<{
|
|
@@ -7,3 +8,14 @@ export type OfferingsPreviewEventInput = Partial<Record<OfferingsPreviewEventDat
|
|
|
7
8
|
}> | null;
|
|
8
9
|
}>;
|
|
9
10
|
export declare function buildItemDataMap(props: OfferingsPreviewEventInput): ReadonlyMap<OfferingsPreviewSourceKey, OfferingsPreviewGroupItemData>;
|
|
11
|
+
/** Resolve loader inputs once; the listing then travels to rendering and photo counting. */
|
|
12
|
+
export declare function buildLoadedOfferingsPreviewListing(input: OfferingsPreviewEventInput & Readonly<{
|
|
13
|
+
now: Date;
|
|
14
|
+
listingMode: OfferingsListingMode;
|
|
15
|
+
displayMode?: unknown;
|
|
16
|
+
presets?: readonly BookingOfferingPresetSummary[] | null;
|
|
17
|
+
groupOrder?: OfferingsPreviewGroupOrder | null;
|
|
18
|
+
groupOverrides?: readonly OfferingsPreviewGroupOverride[] | null;
|
|
19
|
+
itemLimit?: string | null;
|
|
20
|
+
catalogueEvents?: readonly PublicEvent[] | null;
|
|
21
|
+
}>): OfferingsPreviewListing;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { CardListArrangement } from '../../runtime/nodes/events/shared/CardListItem';
|
|
2
|
+
import { type NonEmptyReadonlyArray } from '../../../../../theme-core/src/site-styles/index';
|
|
1
3
|
import type { ResolvedInternalLinkEntityType } from '../../types/link';
|
|
2
4
|
import type { PublicEventRunGroup } from '../events/shared/runGrouping';
|
|
3
5
|
import type { PublicEvent, PublicWholeSeriesRun } from '../events/shared/types';
|
|
@@ -87,6 +89,7 @@ export type OfferingsPreviewGroupOrder = readonly OfferingsPreviewSourceKey[];
|
|
|
87
89
|
export type ResolvedOfferingsPreviewGroup = Readonly<{
|
|
88
90
|
sourceKey: OfferingsPreviewSourceKey;
|
|
89
91
|
source: OfferingsPreviewSource;
|
|
92
|
+
singularLabel: string;
|
|
90
93
|
title: string;
|
|
91
94
|
intro: string | null;
|
|
92
95
|
hidden: boolean;
|
|
@@ -113,15 +116,54 @@ export type OfferingsPreviewGroupItemData = Readonly<{
|
|
|
113
116
|
reason: 'not_loaded';
|
|
114
117
|
}>;
|
|
115
118
|
export type OfferingsPreviewGroupEventData = OfferingsPreviewGroupItemData;
|
|
116
|
-
export type
|
|
119
|
+
export type GroupLoad = Readonly<{
|
|
117
120
|
kind: 'items';
|
|
118
121
|
group: ResolvedOfferingsPreviewGroup;
|
|
119
|
-
items:
|
|
122
|
+
items: NonEmptyReadonlyArray<OfferingsPreviewItem>;
|
|
120
123
|
} | {
|
|
121
124
|
kind: 'empty';
|
|
122
125
|
group: ResolvedOfferingsPreviewGroup;
|
|
123
|
-
|
|
126
|
+
} | {
|
|
127
|
+
kind: 'failed';
|
|
128
|
+
group: ResolvedOfferingsPreviewGroup;
|
|
129
|
+
}>;
|
|
130
|
+
export type DatedOfferingItem = Readonly<{
|
|
131
|
+
item: SelectedOfferingItem;
|
|
132
|
+
group: ResolvedOfferingsPreviewGroup;
|
|
133
|
+
}>;
|
|
134
|
+
export type OfferingsPreviewListing = Readonly<{
|
|
135
|
+
kind: 'no-groups';
|
|
136
|
+
} | {
|
|
137
|
+
kind: 'by-type';
|
|
138
|
+
groups: NonEmptyReadonlyArray<SelectedGroupLoad>;
|
|
139
|
+
} | {
|
|
140
|
+
kind: 'by-date';
|
|
141
|
+
items: NonEmptyReadonlyArray<DatedOfferingItem>;
|
|
142
|
+
} | {
|
|
143
|
+
kind: 'nothing-to-show';
|
|
144
|
+
reason: 'empty' | 'failed';
|
|
145
|
+
}>;
|
|
146
|
+
/** The arrangement alone owns merging; there is no additional authored setting. */
|
|
147
|
+
export type SelectedOfferingItem = OfferingsPreviewItem & Readonly<{
|
|
148
|
+
nextStartMs: number | null;
|
|
149
|
+
}>;
|
|
150
|
+
export type SelectedGroupLoad = Exclude<GroupLoad, {
|
|
151
|
+
kind: 'items';
|
|
152
|
+
}> | Readonly<{
|
|
153
|
+
kind: 'items';
|
|
154
|
+
group: ResolvedOfferingsPreviewGroup;
|
|
155
|
+
items: NonEmptyReadonlyArray<SelectedOfferingItem>;
|
|
156
|
+
}>;
|
|
157
|
+
export type OfferingsRenderInput = Readonly<{
|
|
158
|
+
kind: 'prepared';
|
|
159
|
+
listing: OfferingsPreviewListing;
|
|
160
|
+
now: Date;
|
|
161
|
+
}> | Readonly<{
|
|
162
|
+
kind: 'unprepared';
|
|
163
|
+
now: Date;
|
|
124
164
|
}>;
|
|
165
|
+
export type OfferingsListingMode = 'by-type' | 'by-date';
|
|
166
|
+
export declare function offeringsListingFor(arrangement: CardListArrangement | 'legacy'): OfferingsListingMode;
|
|
125
167
|
export declare function isOfferingsPreviewSourceKey(value: unknown): value is OfferingsPreviewSourceKey;
|
|
126
168
|
export declare function sourceKeyForEventPreset(preset: OfferingsPreviewEventPreset): OfferingsPreviewSourceKey;
|
|
127
169
|
export declare function sourceKeyForOfferingPreviewSource(source: OfferingsPreviewSource): OfferingsPreviewSourceKey;
|
|
@@ -164,9 +206,17 @@ export declare function buildOfferingsPreviewRenderStates(input: Readonly<{
|
|
|
164
206
|
groups: readonly ResolvedOfferingsPreviewGroup[];
|
|
165
207
|
itemsBySourceKey: ReadonlyMap<OfferingsPreviewSourceKey, OfferingsPreviewGroupItemData>;
|
|
166
208
|
itemLimit: number;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
209
|
+
}>): readonly GroupLoad[];
|
|
210
|
+
/** One selected listing for preview, catalogue and render preparation. */
|
|
211
|
+
export declare function buildOfferingsPreviewListing(input: Readonly<{
|
|
212
|
+
groups: readonly ResolvedOfferingsPreviewGroup[];
|
|
213
|
+
loads: ReadonlyMap<OfferingsPreviewSourceKey, OfferingsPreviewGroupItemData>;
|
|
214
|
+
itemLimit: number;
|
|
215
|
+
listingMode: OfferingsListingMode;
|
|
216
|
+
now: Date;
|
|
217
|
+
}>): OfferingsPreviewListing;
|
|
218
|
+
export declare function nextOfferingEventStartMs(event: PublicEvent, now: Date): number | null;
|
|
219
|
+
export declare function offeringItemTitle(item: OfferingsPreviewItem): string;
|
|
170
220
|
/** Which offerings a site preset row names; one owner for "the course preset means whole-series runs". */
|
|
171
221
|
export declare function sourceFromPresetSummary(preset: BookingOfferingPresetSummary): OfferingsPreviewSource | null;
|
|
172
222
|
export declare function resolveOfferingsPreviewRunPath(run: Pick<PublicWholeSeriesRun, 'eventSeriesId' | 'eventOfferingId'>, routes: readonly OfferingsPreviewRouteCandidate[] | null | undefined): string | null;
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/** Count the displayed cards, using the same selection owner as their renderer. */
|
|
5
|
-
export declare function offeringsPreviewPhotoCount(input: OfferingsPreviewEventInput & Readonly<{
|
|
6
|
-
displayMode?: unknown;
|
|
7
|
-
presets: readonly BookingOfferingPresetSummary[] | undefined;
|
|
8
|
-
groupOrder?: OfferingsPreviewGroupOrder | null;
|
|
9
|
-
groupOverrides?: readonly OfferingsPreviewGroupOverride[] | null;
|
|
10
|
-
itemLimit?: string | null;
|
|
11
|
-
catalogueEvents?: readonly PublicEvent[] | null;
|
|
12
|
-
}>): number;
|
|
1
|
+
import type { OfferingsPreviewListing } from './model';
|
|
2
|
+
/** Count the selected cards, without loading or selecting again. */
|
|
3
|
+
export declare function offeringsPreviewPhotoCount(listing: OfferingsPreviewListing): number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type SiteTermsVersionRef, type SiteTermsVersionId } from '../../../../../core/src/index';
|
|
3
|
+
/** Public checkout projection. It contains no customer or acceptance data. */
|
|
4
|
+
export type BlockSiteTerms = Readonly<{
|
|
5
|
+
kind: 'none';
|
|
6
|
+
}> | Readonly<{
|
|
7
|
+
kind: 'published';
|
|
8
|
+
version: SiteTermsVersionRef;
|
|
9
|
+
businessName: string;
|
|
10
|
+
href: string | null;
|
|
11
|
+
}>;
|
|
12
|
+
export type VerifiedSiteTermsAcceptance = Readonly<{
|
|
13
|
+
versionId: SiteTermsVersionId;
|
|
14
|
+
alreadyAgreed: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const blockSiteTermsSchema: z.ZodType<BlockSiteTerms>;
|
|
17
|
+
export declare const verifiedSiteTermsAcceptanceSchema: z.ZodType<VerifiedSiteTermsAcceptance>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { FooterArrangement, FooterLookPolicy, FooterVisualGroup, FooterColumnCount } from '../../../../core/src/index';
|
|
2
|
+
import type { Theme } from '../../../../theme-core/src/schema';
|
|
3
|
+
import type { FooterRuntimeGroup, FooterRuntimeModule } from './site-footer-runtime';
|
|
4
|
+
export declare function gridRegionClass(columns: 1 | 2 | 3 | 4 | 5): string;
|
|
5
|
+
export declare function regionClass(region: Readonly<{
|
|
6
|
+
kind: 'engagement-row' | 'main' | 'bottom';
|
|
7
|
+
columns: 1 | 2 | 3 | 4 | 5;
|
|
8
|
+
groups: readonly Readonly<{
|
|
9
|
+
kind: FooterRuntimeGroup['kind'];
|
|
10
|
+
width: 'column' | 'full-row';
|
|
11
|
+
}>[];
|
|
12
|
+
}>, layoutVariant: Theme['footer']['variant'] | undefined): string;
|
|
13
|
+
export declare function isCompactSplitRegion(region: Readonly<{
|
|
14
|
+
kind: 'engagement-row' | 'main' | 'bottom';
|
|
15
|
+
groups: readonly Readonly<{
|
|
16
|
+
kind: FooterRuntimeGroup['kind'];
|
|
17
|
+
width: 'column' | 'full-row';
|
|
18
|
+
}>[];
|
|
19
|
+
}>, layoutVariant: Theme['footer']['variant'] | undefined): boolean;
|
|
20
|
+
export declare function fullRowGroupClass(columns: 1 | 2 | 3 | 4 | 5): string;
|
|
21
|
+
export declare function projectNavigationLayout(module: FooterRuntimeModule, policy: FooterLookPolicy, compactSplitRegion: boolean): FooterRuntimeModule;
|
|
22
|
+
export declare function withFooterModuleSlots(module: FooterRuntimeModule, arrangement: FooterArrangement, hasLogo: boolean): FooterRuntimeModule;
|
|
23
|
+
export declare function runtimeGroupClassName(group: FooterVisualGroup, columns: FooterColumnCount, arrangement: FooterArrangement): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type PublicContactDetails, type PublicProfile } from '../../../../core/src/index';
|
|
2
|
+
export type FooterRuntimeContactLink = Readonly<{
|
|
3
|
+
href: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}>;
|
|
6
|
+
export type FooterRuntimeOpeningHours = Readonly<{
|
|
7
|
+
weekday: string;
|
|
8
|
+
hours: string;
|
|
9
|
+
}>;
|
|
10
|
+
export type FooterRuntimeSocialLink = Readonly<{
|
|
11
|
+
href: string;
|
|
12
|
+
label: string;
|
|
13
|
+
icon: string | null;
|
|
14
|
+
}>;
|
|
15
|
+
export declare function contactLinks(contact: PublicContactDetails): readonly FooterRuntimeContactLink[];
|
|
16
|
+
export declare function socialLinks(profile: PublicProfile): readonly FooterRuntimeSocialLink[];
|
|
17
|
+
export declare function openingHours(profile: PublicProfile): Readonly<{
|
|
18
|
+
openingHours: readonly FooterRuntimeOpeningHours[];
|
|
19
|
+
timeZone: string;
|
|
20
|
+
}> | null;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FooterRuntimeContactLink, type FooterRuntimeOpeningHours, type FooterRuntimeSocialLink } from './site-footer-runtime-profile';
|
|
2
|
+
import { type FooterArrangement, type FooterCompositionV1, type FooterVisualGroupKind, type FooterMembershipKey, type FooterModuleId, type FooterRichText, type FooterSection, type PublicProfile, type Result } from '../../../../core/src/index';
|
|
3
|
+
import type { ArrangementSlotName } from '../../../../theme-core/src/site-styles/index';
|
|
2
4
|
import type { Theme } from '../../../../theme-core/src/schema';
|
|
3
5
|
import type { FormSourceProps } from '../runtime/nodes/form.interactive';
|
|
4
6
|
import type { NewsletterFormSourceProps } from '../runtime/nodes/newsletter-form.interactive';
|
|
@@ -6,19 +8,10 @@ type FooterRuntimeModuleBase<TKind extends FooterSection['kind'] | 'attribution'
|
|
|
6
8
|
id: FooterModuleId;
|
|
7
9
|
kind: TKind;
|
|
8
10
|
heading: string | null;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
label
|
|
13
|
-
}>;
|
|
14
|
-
type FooterRuntimeOpeningHours = Readonly<{
|
|
15
|
-
weekday: string;
|
|
16
|
-
hours: string;
|
|
17
|
-
}>;
|
|
18
|
-
type FooterRuntimeSocialLink = Readonly<{
|
|
19
|
-
href: string;
|
|
20
|
-
label: string;
|
|
21
|
-
icon: string | null;
|
|
11
|
+
align?: 'center';
|
|
12
|
+
className?: string;
|
|
13
|
+
contactClassName?: string;
|
|
14
|
+
slots?: Readonly<Partial<Record<'media' | 'heading' | 'copy' | 'schedule' | 'social' | 'group-label' | 'navigation', ArrangementSlotName>>>;
|
|
22
15
|
}>;
|
|
23
16
|
type UnionKeys<T> = T extends T ? keyof T : never;
|
|
24
17
|
type StrictUnionMember<T, TAll> = T extends T ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
|
|
@@ -94,16 +87,24 @@ export type FooterResolvedEngagement = Readonly<{
|
|
|
94
87
|
}>;
|
|
95
88
|
}>;
|
|
96
89
|
export type FooterRuntimeViewModel = Readonly<{
|
|
90
|
+
arrangement?: FooterArrangement;
|
|
91
|
+
arrangementHook?: 'footer-centred';
|
|
92
|
+
slots?: Readonly<{
|
|
93
|
+
'group-label': ArrangementSlotName;
|
|
94
|
+
}>;
|
|
97
95
|
membershipKey: FooterMembershipKey;
|
|
98
96
|
regions: readonly FooterRuntimeRegion[];
|
|
99
97
|
}>;
|
|
100
98
|
export type FooterRuntimeGroup = Readonly<{
|
|
101
|
-
kind:
|
|
99
|
+
kind: FooterVisualGroupKind | 'attribution';
|
|
100
|
+
slot?: ArrangementSlotName;
|
|
101
|
+
align?: 'center';
|
|
102
102
|
className: string;
|
|
103
103
|
modules: readonly FooterRuntimeModule[];
|
|
104
104
|
}>;
|
|
105
105
|
export type FooterRuntimeRegion = Readonly<{
|
|
106
106
|
kind: 'engagement-row' | 'main' | 'bottom';
|
|
107
|
+
slot?: ArrangementSlotName;
|
|
107
108
|
className: string;
|
|
108
109
|
groups: readonly FooterRuntimeGroup[];
|
|
109
110
|
}>;
|
|
@@ -135,7 +136,7 @@ type FooterRuntimeViewModelInput = Readonly<{
|
|
|
135
136
|
hasLegalPolicyNavigation?: boolean;
|
|
136
137
|
hasLogo?: boolean;
|
|
137
138
|
legalRegion?: 'integrated' | 'separate';
|
|
138
|
-
layoutVariant?:
|
|
139
|
+
layoutVariant?: FooterArrangement;
|
|
139
140
|
navigationLayout?: 'stack' | 'inline' | 'inline-wrap';
|
|
140
141
|
engagement: FooterResolvedEngagement;
|
|
141
142
|
}>;
|
|
@@ -3,7 +3,7 @@ import type { FooterRuntimeViewModel } from './site-footer-runtime';
|
|
|
3
3
|
export declare const siteFooterManifest: import("..").DefinedBlockManifest<{
|
|
4
4
|
readonly skipSectionStyles: true;
|
|
5
5
|
}>;
|
|
6
|
-
export type SiteFooterVariant = 'simple' | '
|
|
6
|
+
export type SiteFooterVariant = 'simple' | 'split' | 'centred';
|
|
7
7
|
export type SiteFooterContent = Readonly<{
|
|
8
8
|
showBusinessAddress?: boolean | null;
|
|
9
9
|
footerRuntime?: FooterRuntimeViewModel | null;
|
|
@@ -40,7 +40,7 @@ export declare const eventCalendarListLayoutFacet: {
|
|
|
40
40
|
readonly label: "List style";
|
|
41
41
|
readonly legacyOnly: true;
|
|
42
42
|
readonly values: {
|
|
43
|
-
value: "
|
|
43
|
+
value: "compact" | "stack" | "grid";
|
|
44
44
|
label: "Compact" | "Grid" | "Stack";
|
|
45
45
|
}[];
|
|
46
46
|
readonly defaultValue: "stack";
|
|
@@ -55,7 +55,7 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
55
55
|
readonly label: "List style";
|
|
56
56
|
readonly legacyOnly: true;
|
|
57
57
|
readonly values: {
|
|
58
|
-
value: "
|
|
58
|
+
value: "compact" | "stack" | "grid";
|
|
59
59
|
label: "Compact" | "Grid" | "Stack";
|
|
60
60
|
}[];
|
|
61
61
|
readonly defaultValue: "stack";
|
|
@@ -151,10 +151,32 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
151
151
|
}>;
|
|
152
152
|
legacyOnly?: boolean;
|
|
153
153
|
appliesToLayoutVariants?: readonly string[];
|
|
154
|
-
}>,
|
|
155
|
-
|
|
154
|
+
}>, {
|
|
155
|
+
readonly blockKinds: readonly ["block.testimonials", "block.newsletter-signup", "block.form"];
|
|
156
|
+
readonly blockKind: "block.testimonials";
|
|
157
|
+
readonly id: "archFrame";
|
|
158
|
+
readonly label: string;
|
|
159
|
+
readonly description?: string | undefined;
|
|
160
|
+
readonly values: readonly Readonly<{
|
|
161
|
+
value: string;
|
|
162
|
+
label: string;
|
|
163
|
+
icon?: string;
|
|
164
|
+
}>[];
|
|
165
|
+
readonly defaultValue: string;
|
|
166
|
+
readonly target: CustomizeFacetTarget;
|
|
167
|
+
readonly knob?: (Readonly<{
|
|
168
|
+
kind: "fixed";
|
|
169
|
+
ordered: boolean;
|
|
170
|
+
}> | Readonly<{
|
|
171
|
+
kind: "text";
|
|
172
|
+
maxLength: number;
|
|
173
|
+
}>) | undefined;
|
|
174
|
+
readonly legacyOnly?: boolean | undefined;
|
|
175
|
+
readonly appliesToLayoutVariants?: readonly string[] | undefined;
|
|
176
|
+
}, Readonly<{
|
|
177
|
+
blockKind: "block.hero";
|
|
156
178
|
blockKinds?: readonly string[];
|
|
157
|
-
id: "
|
|
179
|
+
id: "candleGlow";
|
|
158
180
|
label: string;
|
|
159
181
|
description?: string;
|
|
160
182
|
values: readonly Readonly<{
|
|
@@ -176,7 +198,7 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
176
198
|
}>, Readonly<{
|
|
177
199
|
blockKind: "block.hero";
|
|
178
200
|
blockKinds?: readonly string[];
|
|
179
|
-
id: "
|
|
201
|
+
id: "columnGuides";
|
|
180
202
|
label: string;
|
|
181
203
|
description?: string;
|
|
182
204
|
values: readonly Readonly<{
|
|
@@ -198,7 +220,7 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
198
220
|
}>, Readonly<{
|
|
199
221
|
blockKind: "block.hero";
|
|
200
222
|
blockKinds?: readonly string[];
|
|
201
|
-
id: "
|
|
223
|
+
id: "titleSize";
|
|
202
224
|
label: string;
|
|
203
225
|
description?: string;
|
|
204
226
|
values: readonly Readonly<{
|
|
@@ -220,7 +242,7 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
220
242
|
}>, Readonly<{
|
|
221
243
|
blockKind: "block.hero";
|
|
222
244
|
blockKinds?: readonly string[];
|
|
223
|
-
id: "
|
|
245
|
+
id: "imagePosition";
|
|
224
246
|
label: string;
|
|
225
247
|
description?: string;
|
|
226
248
|
values: readonly Readonly<{
|
|
@@ -240,7 +262,51 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
240
262
|
legacyOnly?: boolean;
|
|
241
263
|
appliesToLayoutVariants?: readonly string[];
|
|
242
264
|
}>, Readonly<{
|
|
243
|
-
blockKind: "block.
|
|
265
|
+
blockKind: "block.intro";
|
|
266
|
+
blockKinds?: readonly string[];
|
|
267
|
+
id: "imageShape";
|
|
268
|
+
label: string;
|
|
269
|
+
description?: string;
|
|
270
|
+
values: readonly Readonly<{
|
|
271
|
+
value: string;
|
|
272
|
+
label: string;
|
|
273
|
+
icon?: string;
|
|
274
|
+
}>[];
|
|
275
|
+
defaultValue: string;
|
|
276
|
+
target: CustomizeFacetTarget;
|
|
277
|
+
knob?: Readonly<{
|
|
278
|
+
kind: "fixed";
|
|
279
|
+
ordered: boolean;
|
|
280
|
+
}> | Readonly<{
|
|
281
|
+
kind: "text";
|
|
282
|
+
maxLength: number;
|
|
283
|
+
}>;
|
|
284
|
+
legacyOnly?: boolean;
|
|
285
|
+
appliesToLayoutVariants?: readonly string[];
|
|
286
|
+
}>, Readonly<{
|
|
287
|
+
blockKind: "block.intro";
|
|
288
|
+
blockKinds?: readonly string[];
|
|
289
|
+
id: "imagePosition";
|
|
290
|
+
label: string;
|
|
291
|
+
description?: string;
|
|
292
|
+
values: readonly Readonly<{
|
|
293
|
+
value: string;
|
|
294
|
+
label: string;
|
|
295
|
+
icon?: string;
|
|
296
|
+
}>[];
|
|
297
|
+
defaultValue: string;
|
|
298
|
+
target: CustomizeFacetTarget;
|
|
299
|
+
knob?: Readonly<{
|
|
300
|
+
kind: "fixed";
|
|
301
|
+
ordered: boolean;
|
|
302
|
+
}> | Readonly<{
|
|
303
|
+
kind: "text";
|
|
304
|
+
maxLength: number;
|
|
305
|
+
}>;
|
|
306
|
+
legacyOnly?: boolean;
|
|
307
|
+
appliesToLayoutVariants?: readonly string[];
|
|
308
|
+
}>, Readonly<{
|
|
309
|
+
blockKind: "block.media-text";
|
|
244
310
|
blockKinds?: readonly string[];
|
|
245
311
|
id: "imagePosition";
|
|
246
312
|
label: string;
|
|
@@ -261,6 +327,50 @@ export declare const systemCustomizeFacetDefinitions: readonly [{
|
|
|
261
327
|
}>;
|
|
262
328
|
legacyOnly?: boolean;
|
|
263
329
|
appliesToLayoutVariants?: readonly string[];
|
|
330
|
+
}>, Readonly<{
|
|
331
|
+
blockKind: "block.media-text";
|
|
332
|
+
blockKinds?: readonly string[];
|
|
333
|
+
id: "imageShape";
|
|
334
|
+
label: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
values: readonly Readonly<{
|
|
337
|
+
value: string;
|
|
338
|
+
label: string;
|
|
339
|
+
icon?: string;
|
|
340
|
+
}>[];
|
|
341
|
+
defaultValue: string;
|
|
342
|
+
target: CustomizeFacetTarget;
|
|
343
|
+
knob?: Readonly<{
|
|
344
|
+
kind: "fixed";
|
|
345
|
+
ordered: boolean;
|
|
346
|
+
}> | Readonly<{
|
|
347
|
+
kind: "text";
|
|
348
|
+
maxLength: number;
|
|
349
|
+
}>;
|
|
350
|
+
legacyOnly?: boolean;
|
|
351
|
+
appliesToLayoutVariants?: readonly string[];
|
|
352
|
+
}>, Readonly<{
|
|
353
|
+
blockKind: "block.media-text";
|
|
354
|
+
blockKinds?: readonly string[];
|
|
355
|
+
id: "aspectRatio";
|
|
356
|
+
label: string;
|
|
357
|
+
description?: string;
|
|
358
|
+
values: readonly Readonly<{
|
|
359
|
+
value: string;
|
|
360
|
+
label: string;
|
|
361
|
+
icon?: string;
|
|
362
|
+
}>[];
|
|
363
|
+
defaultValue: string;
|
|
364
|
+
target: CustomizeFacetTarget;
|
|
365
|
+
knob?: Readonly<{
|
|
366
|
+
kind: "fixed";
|
|
367
|
+
ordered: boolean;
|
|
368
|
+
}> | Readonly<{
|
|
369
|
+
kind: "text";
|
|
370
|
+
maxLength: number;
|
|
371
|
+
}>;
|
|
372
|
+
legacyOnly?: boolean;
|
|
373
|
+
appliesToLayoutVariants?: readonly string[];
|
|
264
374
|
}>, Readonly<{
|
|
265
375
|
blockKind: "block.hero";
|
|
266
376
|
blockKinds?: readonly string[];
|
|
@@ -105,7 +105,8 @@ type ReferenceTextConstraint = Readonly<{
|
|
|
105
105
|
type BlockIconValueConstraint = Readonly<{
|
|
106
106
|
kind: "blockIconValue";
|
|
107
107
|
}>;
|
|
108
|
-
type
|
|
108
|
+
type StringFormatConstraint = EmailFormatConstraint | PhoneFormatConstraint | PatternFormatConstraint | UrlFormatConstraint | DateFormatConstraint | TimeFormatConstraint | DateTimeFormatConstraint | SlugFormatConstraint;
|
|
109
|
+
type StringConstraint = RequiredConstraint | TextTypeConstraint | MaxLengthConstraint | StringFormatConstraint | ReferenceTextConstraint | BlockIconValueConstraint;
|
|
109
110
|
type NumberConstraint = RequiredConstraint | NumberTypeConstraint | NumberMinConstraint | NumberMaxConstraint;
|
|
110
111
|
type SelectConstraint = RequiredConstraint | SelectOptionConstraint;
|
|
111
112
|
type ArrayConstraint = RequiredConstraint | ArrayTypeConstraint | MinItemsConstraint | MaxItemsConstraint;
|