@riverbankcms/sdk 0.138.0 → 0.140.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 +12 -16
- package/dist/{PreviewEditorSidebar-BVPur_CU.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
- package/dist/{PreviewEditorUI-DLhWX8oh.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BguJY1SW.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Tda6qw4z.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +62 -28
- package/dist/{SiteChromeCustomizeContext-BHFgMjde.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +8467 -5616
- package/dist/_dts/ai/src/contracts/proposals.d.ts +264 -495
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +221 -242
- package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
- package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/authSubmission.d.ts +46 -0
- package/dist/_dts/api/src/billing.d.ts +18 -7
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
- package/dist/_dts/api/src/blocks.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
- package/dist/_dts/api/src/communications.d.ts +0 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +16 -4
- package/dist/_dts/api/src/endpoints.d.ts +275 -167
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
- package/dist/_dts/api/src/footerSettings.d.ts +10 -10
- package/dist/_dts/api/src/index.d.ts +11 -10
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/mailchimpIntegration.d.ts +2 -59
- package/dist/_dts/api/src/mailingListIntegration.d.ts +123 -0
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/locations.d.ts +1 -0
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/navigation.d.ts +1 -26
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +109 -2
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +185 -0
- package/dist/_dts/api/src/privacyPolicy.d.ts +74 -2
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +14 -6
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +2 -4
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +9 -49
- package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
- package/dist/_dts/api/src/publicReadEndpointDefinitions.d.ts +73 -0
- package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
- package/dist/_dts/api/src/schemas/site-api-keys.d.ts +1 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -32
- package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +46 -46
- package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -34
- package/dist/_dts/api/src/siteOnboarding.d.ts +84 -228
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -13
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +38 -6
- package/dist/_dts/api/src/types.d.ts +78 -77
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
- package/dist/_dts/billing/src/membership/index.d.ts +17 -7
- package/dist/_dts/billing/src/plans/display.d.ts +15 -0
- package/dist/_dts/billing/src/plans/registry.d.ts +2 -0
- package/dist/_dts/billing/src/plans/standing.d.ts +19 -0
- package/dist/_dts/billing/src/plans/types.d.ts +4 -7
- package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
- package/dist/_dts/billing/src/subscriptions/evidence.d.ts +12 -0
- package/dist/_dts/billing/src/subscriptions/standingEvidence.d.ts +31 -0
- package/dist/_dts/billing/src/subscriptions/store.d.ts +23 -5
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -15
- package/dist/_dts/blocks/src/client.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +48 -20
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +9 -0
- package/dist/_dts/blocks/src/pageRenderingMode.d.ts +12 -6
- package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
- package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +11 -0
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +39 -66
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +39 -114
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/catalogue.d.ts +18 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/fields.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +7 -13
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/index.d.ts +4 -4
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
- package/dist/_dts/blocks/src/system/data/publicLoaderCachePolicy.d.ts +2 -74
- package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +33 -100
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +5 -15
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +78 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +39 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarToday.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +94 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +12 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/bookability.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/duration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/index.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/location.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/quickDates.d.ts +16 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/AgendaEventCard.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CalendarDayCell.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CalendarDayHeaders.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DayEventsModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventQuickDates.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekAgendaView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/useHydrationReady.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +62 -33
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +14 -31
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-catalogue.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview-content.d.ts +23 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/formatting.d.ts +5 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +32 -16
- package/dist/_dts/commerce/src/purchase/stripeCommissionMetadata.d.ts +34 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +6 -24
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +4 -2
- package/dist/_dts/core/src/branded.d.ts +0 -8
- package/dist/_dts/core/src/footer-engagement.d.ts +2 -6
- package/dist/_dts/core/src/index.d.ts +10 -1
- package/dist/_dts/core/src/mailing-list-identifiers.d.ts +21 -0
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +42 -0
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +14 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +142 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +224 -0
- package/dist/_dts/core/src/mailing-list-targeting-parser.d.ts +12 -0
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +93 -0
- package/dist/_dts/core/src/navigation-locations.d.ts +28 -0
- package/dist/_dts/core/src/participants.d.ts +2 -29
- package/dist/_dts/core/src/public-experience.d.ts +4 -0
- package/dist/_dts/core/src/public-profile.d.ts +35 -1
- package/dist/_dts/core/src/public-read-cache-contract.d.ts +45 -0
- package/dist/_dts/core/src/site-route-target.d.ts +9 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +797 -954
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -0
- package/dist/_dts/sdk/src/client/publicAppointmentReadOperations.d.ts +12 -0
- package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +2 -1
- package/dist/_dts/sdk/src/client/publicLoaderCacheAccess.d.ts +11 -4
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -13
- package/dist/_dts/sdk/src/config/content-validation.d.ts +5 -8
- package/dist/_dts/sdk/src/constants.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -31
- package/dist/_dts/sdk/src/navigation/index.d.ts +11 -29
- package/dist/_dts/sdk/src/next/index.d.ts +4 -4
- package/dist/_dts/sdk/src/prebuild/types.d.ts +1 -5
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +44 -33
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/client.d.ts +3 -20
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +4 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +8 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +41 -0
- package/dist/_dts/theme-core/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntime.d.ts +0 -1
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
- package/dist/_dts/theme-core/src/schema.d.ts +84 -84
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/tokens.d.ts +7 -0
- package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
- package/dist/_dts/ui/src/pending-button.d.ts +10 -0
- package/dist/client/{BookingConsentAgreement-DQUik1Mx.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
- package/dist/client/{DiscountCodeDisclosure-CU67Q4vH.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
- package/dist/client/{EventCombined.client-a02TXUgg.mjs → EventCombined.client-LTfR1Aby.mjs} +444 -200
- package/dist/client/{EventListing.client-99qx7jFl.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CWzcq73L.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
- package/dist/client/{accordion-D1nb3-Oj.mjs → accordion-6HiIFxNL.mjs} +1 -1
- package/dist/client/{bookingForm-BGrmLhaO.mjs → bookingForm-Dlmid43H.mjs} +7 -7
- package/dist/client/bookings.mjs +368 -142
- package/dist/client/{carousel-DSmOx3ad.mjs → carousel-DmkZRRq_.mjs} +2 -2
- package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
- package/dist/client/{cart-COWeOIUk.mjs → cart-CIC24330.mjs} +3 -3
- package/dist/client/{checkout-CeysaIJK.mjs → checkout-D1Zw9imo.mjs} +3 -3
- package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
- package/dist/client/client.mjs +5017 -2258
- package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
- package/dist/client/{context-DBzX85Xc.mjs → context-Cy1OayHx.mjs} +9 -21
- package/dist/client/{dates-DCYhZBlW.mjs → dates-aDcfoLHr.mjs} +21 -3
- package/dist/client/{eventCalendar-BgsN73Ul.mjs → eventCalendar-FQxMPAjf.mjs} +81 -79
- package/dist/client/{eventCombined-DcZQAMQP.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
- package/dist/client/{eventDetails-BWwGJ54l.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
- package/dist/client/{eventListing-DqYqV8vp.mjs → eventListing-B3XxBf3i.mjs} +3 -3
- package/dist/client/{eventRegistration-DQGDgu_e.mjs → eventRegistration-I6EaokFD.mjs} +543 -155
- package/dist/client/{form-ClfpasVT.mjs → form-BbWckVWY.mjs} +3 -3
- package/dist/client/{headerSection-BuOMe98N.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
- package/dist/client/hooks.mjs +1685 -716
- package/dist/client/{locationMap-CEqu_sfa.mjs → locationMap-CLCShvlG.mjs} +3 -3
- package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
- package/dist/client/newsletterForm-Briukxzi.mjs +444 -0
- package/dist/client/{pricing-xj7MPZlK.mjs → pricing-Copadu-2.mjs} +1 -1
- package/dist/client/{productDetail-vxqTt5Xj.mjs → productDetail-oujlRd-r.mjs} +3 -3
- package/dist/client/{productList-OTdZu8sb.mjs → productList-BRiIRUcd.mjs} +3 -3
- package/dist/client/{propsDecoder-CY9gGEF7.mjs → propsDecoder-CB2KS_ko.mjs} +706 -160
- package/dist/client/rendering/client.mjs +3161 -1226
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +4864 -1914
- package/dist/client/{scrollToBlock--BFV6kl-.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
- package/dist/client/{shop-CP4YbDL9.mjs → shop-Vn6yNFED.mjs} +6 -6
- package/dist/client/{shop-commerce-APs4XBXE.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
- package/dist/client/{shop-commerce-store-CAVLxLFr.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
- package/dist/client/{shopShared-BnSRrwXI.mjs → shopShared-COIeK77T.mjs} +4 -4
- package/dist/client/{useEventFilters-1a1by4c8.mjs → useEventFilters-DzIUcS9n.mjs} +58 -11
- package/dist/preview-next/before-render.mjs +357 -175
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +357 -175
- package/dist/preview-next/middleware.mjs +357 -175
- package/dist/{previewAuthStore-BkEgnYPP.mjs → previewAuthStore-Gjb6r6vz.mjs} +357 -175
- package/dist/{sdk-runtime-DwGfsT0S.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
- package/dist/{separator-BeqDLneQ.mjs → separator-DKDRJ1oH.mjs} +1 -1
- package/dist/server/components.mjs +3389 -1251
- package/dist/server/config-validation.mjs +2737 -1784
- package/dist/server/config.mjs +2742 -1788
- package/dist/server/data.mjs +1586 -615
- package/dist/server/index.mjs +496 -352
- package/dist/server/navigation.mjs +16 -47
- package/dist/server/next.mjs +3978 -2007
- package/dist/server/page-converter.mjs +1109 -553
- package/dist/server/prebuild.mjs +2 -3
- package/dist/server/rendering/server.mjs +4101 -1951
- package/dist/server/rendering.mjs +3416 -1259
- package/dist/server/routing.mjs +1869 -786
- package/dist/server/server.mjs +3260 -2482
- package/dist/server/theme-bridge.mjs +725 -124
- package/dist/server/theme.mjs +8 -2
- package/dist/styles/index.css +526 -68
- package/package.json +1 -1
- package/dist/_dts/api/src/navigation/identity.d.ts +0 -59
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +0 -291
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
- package/dist/_dts/core/src/newsletter-signup-destination.d.ts +0 -38
- package/dist/client/newsletterForm-IbrHjMxy.mjs +0 -322
|
@@ -188,7 +188,9 @@ export declare const proofBlockIslandCodecs: {
|
|
|
188
188
|
mode: "event-registration";
|
|
189
189
|
} & Readonly<{
|
|
190
190
|
display: EventRegistrationDisplay;
|
|
191
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
191
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
192
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
193
|
+
}>;
|
|
192
194
|
}>>;
|
|
193
195
|
}>) => unknown;
|
|
194
196
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
@@ -203,7 +205,9 @@ export declare const proofBlockIslandCodecs: {
|
|
|
203
205
|
mode: "event-registration";
|
|
204
206
|
} & Readonly<{
|
|
205
207
|
display: EventRegistrationDisplay;
|
|
206
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
208
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
209
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
210
|
+
}>;
|
|
207
211
|
}>>;
|
|
208
212
|
}>>;
|
|
209
213
|
}>;
|
|
@@ -418,18 +422,23 @@ export declare const proofBlockIslandCodecs: {
|
|
|
418
422
|
} & Readonly<{
|
|
419
423
|
display: Readonly<{
|
|
420
424
|
kind: "newsletter-form";
|
|
425
|
+
availability: "ready" | "unavailable";
|
|
421
426
|
className: string | null;
|
|
422
427
|
buttonLabel: string;
|
|
428
|
+
successMessage: string;
|
|
423
429
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
424
|
-
successMessage: string | null;
|
|
425
430
|
privacyNote: string | null;
|
|
426
431
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
432
|
+
choices: readonly Readonly<{
|
|
433
|
+
id: string;
|
|
434
|
+
label: string;
|
|
435
|
+
}>[];
|
|
427
436
|
}>;
|
|
428
437
|
hydration: Readonly<{
|
|
429
438
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
439
|
+
setupRevision: number | null;
|
|
440
|
+
choiceProvider: "native" | "brevo" | "mailchimp" | null;
|
|
441
|
+
choicePresentation: "hidden" | "automatic" | "visitor_choice";
|
|
433
442
|
spamProtectionEnabled?: boolean;
|
|
434
443
|
}>;
|
|
435
444
|
}>>;
|
|
@@ -444,18 +453,23 @@ export declare const proofBlockIslandCodecs: {
|
|
|
444
453
|
} & Readonly<{
|
|
445
454
|
display: Readonly<{
|
|
446
455
|
kind: "newsletter-form";
|
|
456
|
+
availability: "ready" | "unavailable";
|
|
447
457
|
className: string | null;
|
|
448
458
|
buttonLabel: string;
|
|
459
|
+
successMessage: string;
|
|
449
460
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
450
|
-
successMessage: string | null;
|
|
451
461
|
privacyNote: string | null;
|
|
452
462
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
463
|
+
choices: readonly Readonly<{
|
|
464
|
+
id: string;
|
|
465
|
+
label: string;
|
|
466
|
+
}>[];
|
|
453
467
|
}>;
|
|
454
468
|
hydration: Readonly<{
|
|
455
469
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
470
|
+
setupRevision: number | null;
|
|
471
|
+
choiceProvider: "native" | "brevo" | "mailchimp" | null;
|
|
472
|
+
choicePresentation: "hidden" | "automatic" | "visitor_choice";
|
|
459
473
|
spamProtectionEnabled?: boolean;
|
|
460
474
|
}>;
|
|
461
475
|
}>>;
|
|
@@ -1110,7 +1124,9 @@ export declare const runtimeIslandCodecs: {
|
|
|
1110
1124
|
mode: "event-registration";
|
|
1111
1125
|
} & Readonly<{
|
|
1112
1126
|
display: EventRegistrationDisplay;
|
|
1113
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
1127
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
1128
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
1129
|
+
}>;
|
|
1114
1130
|
}>>;
|
|
1115
1131
|
}>) => unknown;
|
|
1116
1132
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
@@ -1125,7 +1141,9 @@ export declare const runtimeIslandCodecs: {
|
|
|
1125
1141
|
mode: "event-registration";
|
|
1126
1142
|
} & Readonly<{
|
|
1127
1143
|
display: EventRegistrationDisplay;
|
|
1128
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
1144
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
1145
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
1146
|
+
}>;
|
|
1129
1147
|
}>>;
|
|
1130
1148
|
}>>;
|
|
1131
1149
|
}>;
|
|
@@ -1340,18 +1358,23 @@ export declare const runtimeIslandCodecs: {
|
|
|
1340
1358
|
} & Readonly<{
|
|
1341
1359
|
display: Readonly<{
|
|
1342
1360
|
kind: "newsletter-form";
|
|
1361
|
+
availability: "ready" | "unavailable";
|
|
1343
1362
|
className: string | null;
|
|
1344
1363
|
buttonLabel: string;
|
|
1364
|
+
successMessage: string;
|
|
1345
1365
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
1346
|
-
successMessage: string | null;
|
|
1347
1366
|
privacyNote: string | null;
|
|
1348
1367
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1368
|
+
choices: readonly Readonly<{
|
|
1369
|
+
id: string;
|
|
1370
|
+
label: string;
|
|
1371
|
+
}>[];
|
|
1349
1372
|
}>;
|
|
1350
1373
|
hydration: Readonly<{
|
|
1351
1374
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1375
|
+
setupRevision: number | null;
|
|
1376
|
+
choiceProvider: "native" | "brevo" | "mailchimp" | null;
|
|
1377
|
+
choicePresentation: "hidden" | "automatic" | "visitor_choice";
|
|
1355
1378
|
spamProtectionEnabled?: boolean;
|
|
1356
1379
|
}>;
|
|
1357
1380
|
}>>;
|
|
@@ -1366,18 +1389,23 @@ export declare const runtimeIslandCodecs: {
|
|
|
1366
1389
|
} & Readonly<{
|
|
1367
1390
|
display: Readonly<{
|
|
1368
1391
|
kind: "newsletter-form";
|
|
1392
|
+
availability: "ready" | "unavailable";
|
|
1369
1393
|
className: string | null;
|
|
1370
1394
|
buttonLabel: string;
|
|
1395
|
+
successMessage: string;
|
|
1371
1396
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
1372
|
-
successMessage: string | null;
|
|
1373
1397
|
privacyNote: string | null;
|
|
1374
1398
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
1399
|
+
choices: readonly Readonly<{
|
|
1400
|
+
id: string;
|
|
1401
|
+
label: string;
|
|
1402
|
+
}>[];
|
|
1375
1403
|
}>;
|
|
1376
1404
|
hydration: Readonly<{
|
|
1377
1405
|
target: import("../system/runtime/nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1406
|
+
setupRevision: number | null;
|
|
1407
|
+
choiceProvider: "native" | "brevo" | "mailchimp" | null;
|
|
1408
|
+
choicePresentation: "hidden" | "automatic" | "visitor_choice";
|
|
1381
1409
|
spamProtectionEnabled?: boolean;
|
|
1382
1410
|
}>;
|
|
1383
1411
|
}>>;
|
|
@@ -11,6 +11,7 @@ export type RenderablePageBlock = Readonly<{
|
|
|
11
11
|
kind: Block['kind'];
|
|
12
12
|
purpose: Block['purpose'];
|
|
13
13
|
bindings?: Block['bindings'];
|
|
14
|
+
contentVersionId?: string | null;
|
|
14
15
|
admission: Readonly<{
|
|
15
16
|
kind: 'renderable';
|
|
16
17
|
content: RenderableManifestContent;
|
|
@@ -32,6 +33,7 @@ export type PresentationAdmission = Readonly<{
|
|
|
32
33
|
}>;
|
|
33
34
|
export type PresentationBlock = Block & Readonly<{
|
|
34
35
|
presentationAdmission: PresentationAdmission;
|
|
36
|
+
contentVersionId?: string | null;
|
|
35
37
|
}>;
|
|
36
38
|
export type PresentationPageOutline = Omit<PageOutline, 'blocks'> & Readonly<{
|
|
37
39
|
blocks: readonly PresentationBlock[];
|
|
@@ -5,6 +5,7 @@ import type { SdkCustomBlock } from './system/manifest/schema';
|
|
|
5
5
|
import type { MediaAssetIndexItem, ResolveImageUrlContext, ResolveImageUrlContextInput } from './system/runtime/nodes/media';
|
|
6
6
|
import type { RouteMap } from './system/transforms';
|
|
7
7
|
import type { BookingOfferingPresetSummary } from './system/blocks/offerings-preview/model';
|
|
8
|
+
import type { BlockLoaderFailures } from './system/data/types';
|
|
8
9
|
/**
|
|
9
10
|
* Occurrence context for event pages.
|
|
10
11
|
* Passed through to blocks that need occurrence information (e.g., event-registration).
|
|
@@ -71,6 +72,8 @@ export type BlockOverrideProps<TContent = Record<string, unknown>> = {
|
|
|
71
72
|
imageResolveContext?: ResolveImageUrlContext;
|
|
72
73
|
/** Block instance ID (null for unsaved blocks) */
|
|
73
74
|
blockId: string | null;
|
|
75
|
+
/** Exact content snapshot rendered for this block. */
|
|
76
|
+
contentVersionId?: string | null;
|
|
74
77
|
/** Block kind identifier (e.g., "block.hero" or "custom.my-block") */
|
|
75
78
|
blockKind: string;
|
|
76
79
|
};
|
|
@@ -131,7 +134,11 @@ export type SdkConfigForRenderer = {
|
|
|
131
134
|
export type PageRendererDataContext = {
|
|
132
135
|
siteId?: string;
|
|
133
136
|
pageId?: string;
|
|
137
|
+
/** Canonical request pathname used by blocks when resolving same-site destinations. */
|
|
138
|
+
pathname?: string;
|
|
134
139
|
resolvedData?: Record<string, Record<string, unknown>>;
|
|
140
|
+
/** Failed server loader requests, kept separate from successful data. */
|
|
141
|
+
loaderFailures?: BlockLoaderFailures;
|
|
135
142
|
previewStage?: 'published' | 'preview';
|
|
136
143
|
previewToken?: string | null;
|
|
137
144
|
routes?: RouteMap;
|
|
@@ -149,6 +156,8 @@ export type PageRendererDataContext = {
|
|
|
149
156
|
apiBaseUrl?: string;
|
|
150
157
|
portalToken?: string | null;
|
|
151
158
|
bookingOfferingPresets?: readonly BookingOfferingPresetSummary[];
|
|
159
|
+
mailingList?: import('../../core/src/index').MailingListRuntimeContext;
|
|
152
160
|
bookingTimeZone?: string;
|
|
153
161
|
eventRegistrationOverlayEnabled?: boolean;
|
|
154
162
|
};
|
|
163
|
+
export declare function buildPageRendererRootRuntime(dataContext: PageRendererDataContext | undefined): Readonly<Record<string, unknown>>;
|
|
@@ -8,24 +8,31 @@ export declare class MissingBlockOverrideError extends Error {
|
|
|
8
8
|
export type PageThemeResources = Readonly<{
|
|
9
9
|
kind: 'available';
|
|
10
10
|
tokens: ThemeTokens;
|
|
11
|
-
config
|
|
11
|
+
config?: Theme;
|
|
12
12
|
}> | Readonly<{
|
|
13
13
|
kind: 'unavailable';
|
|
14
14
|
}>;
|
|
15
|
-
type
|
|
15
|
+
export type ThemedRenderMode = Readonly<{
|
|
16
16
|
rendering?: never;
|
|
17
17
|
theme: Theme;
|
|
18
18
|
themeTokens?: ThemeTokens;
|
|
19
19
|
}>;
|
|
20
|
-
type
|
|
20
|
+
export type TokensOnlyRenderMode = Readonly<{
|
|
21
|
+
rendering: {
|
|
22
|
+
kind: 'tokens-only';
|
|
23
|
+
};
|
|
24
|
+
theme?: never;
|
|
25
|
+
themeTokens: ThemeTokens;
|
|
26
|
+
}>;
|
|
27
|
+
export type OverrideOnlyRenderMode = Readonly<{
|
|
21
28
|
rendering: {
|
|
22
29
|
kind: 'overrides-only';
|
|
23
30
|
};
|
|
24
31
|
theme?: never;
|
|
25
32
|
themeTokens?: never;
|
|
26
33
|
}>;
|
|
27
|
-
type
|
|
28
|
-
export declare function resolvePageThemeResources(props:
|
|
34
|
+
export type PublicRenderMode = ThemedRenderMode | TokensOnlyRenderMode | OverrideOnlyRenderMode;
|
|
35
|
+
export declare function resolvePageThemeResources(props: PublicRenderMode): PageThemeResources;
|
|
29
36
|
export declare function requireBlockOverride(resources: PageThemeResources, override: unknown, blockKind: string): void;
|
|
30
37
|
export declare function overrideThemeProps(resources: PageThemeResources): Readonly<{
|
|
31
38
|
theme?: ThemeTokens;
|
|
@@ -34,4 +41,3 @@ export declare function overrideThemeProps(resources: PageThemeResources): Reado
|
|
|
34
41
|
export declare function requireThemeResources(resources: PageThemeResources, blockKind: string): Extract<PageThemeResources, {
|
|
35
42
|
kind: 'available';
|
|
36
43
|
}>;
|
|
37
|
-
export {};
|
|
@@ -111,10 +111,8 @@ export interface CustomerEventRegistration {
|
|
|
111
111
|
ticketingEnabled: boolean;
|
|
112
112
|
ticketUrl?: string;
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
*/
|
|
117
|
-
export interface EventGuest {
|
|
114
|
+
export type { CustomerPortalWaitlistEntry, CustomerPortalWaitlistSubject } from './waitlist-types';
|
|
115
|
+
/** Guest details for event registration. */ export interface EventGuest {
|
|
118
116
|
id: string;
|
|
119
117
|
name: string;
|
|
120
118
|
phone: string | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type CustomerPortalWaitlistSubject = {
|
|
2
|
+
kind: 'occurrence';
|
|
3
|
+
occurrenceId: string;
|
|
4
|
+
eventSeriesId: string;
|
|
5
|
+
startsAt: string;
|
|
6
|
+
endsAt: string;
|
|
7
|
+
timeZone: string;
|
|
8
|
+
} | {
|
|
9
|
+
kind: 'wholeSeries';
|
|
10
|
+
eventSeriesId: string;
|
|
11
|
+
scheduleSummary: string | null;
|
|
12
|
+
};
|
|
13
|
+
type CustomerPortalWaitlistEntryBase = {
|
|
14
|
+
id: string;
|
|
15
|
+
subject: CustomerPortalWaitlistSubject;
|
|
16
|
+
eventTitle: string;
|
|
17
|
+
eventPath: string | null;
|
|
18
|
+
requestedPlaces: number;
|
|
19
|
+
joinedAt: string;
|
|
20
|
+
};
|
|
21
|
+
export type CustomerPortalWaitlistEntry = (CustomerPortalWaitlistEntryBase & {
|
|
22
|
+
status: 'waiting';
|
|
23
|
+
queuePosition: number | null;
|
|
24
|
+
canLeave: true;
|
|
25
|
+
}) | (CustomerPortalWaitlistEntryBase & {
|
|
26
|
+
status: 'placeAvailable';
|
|
27
|
+
claimExpiresAt: string;
|
|
28
|
+
claimPath: string | null;
|
|
29
|
+
canLeave: true;
|
|
30
|
+
}) | (CustomerPortalWaitlistEntryBase & {
|
|
31
|
+
status: 'offerExpired';
|
|
32
|
+
claimExpiredAt: string;
|
|
33
|
+
canLeave: false;
|
|
34
|
+
});
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SystemBlockDefinition } from '../registry';
|
|
2
|
+
import { type SectionStylesContent } from '../fields/boxStyles';
|
|
3
|
+
import type { BlockManifest } from '../manifest';
|
|
4
|
+
declare const appointmentServicesManifest: BlockManifest;
|
|
5
|
+
export type AppointmentServicesContent = Readonly<{
|
|
6
|
+
heading?: string | null;
|
|
7
|
+
description?: unknown;
|
|
8
|
+
_sectionStyles?: SectionStylesContent;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const appointmentServicesBlockDefinition: SystemBlockDefinition<AppointmentServicesContent>;
|
|
11
|
+
export { appointmentServicesManifest };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
2
|
import type { SectionStylesContent } from "../fields/boxStyles";
|
|
3
3
|
import { type RichTextDoc } from "./form";
|
|
4
|
-
import type {
|
|
4
|
+
import type { MailingListPlacementTargeting } from '../../../../core/src/index';
|
|
5
5
|
export declare const contactNewsletterManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
6
6
|
readonly id: "block.contact-newsletter";
|
|
7
7
|
readonly title: "Contact + Newsletter";
|
|
@@ -33,81 +33,58 @@ export declare const contactNewsletterManifest: import("..").DefinedBlockManifes
|
|
|
33
33
|
readonly type: "richText";
|
|
34
34
|
readonly label: "Newsletter intro";
|
|
35
35
|
}, {
|
|
36
|
-
readonly id: "
|
|
37
|
-
readonly type: "
|
|
38
|
-
readonly label: "
|
|
39
|
-
readonly description: "
|
|
36
|
+
readonly id: "targeting";
|
|
37
|
+
readonly type: "group";
|
|
38
|
+
readonly label: "Mailing-list targeting";
|
|
39
|
+
readonly description: "Choose what kind of emails people signing up here will receive.";
|
|
40
40
|
readonly required: true;
|
|
41
|
-
readonly
|
|
42
|
-
|
|
41
|
+
readonly defaultValue: {
|
|
42
|
+
readonly mode: "default";
|
|
43
|
+
};
|
|
43
44
|
readonly ui: {
|
|
44
45
|
readonly intent: "behavior";
|
|
46
|
+
readonly widget: "mailingListTargeting";
|
|
45
47
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
readonly schema: {
|
|
49
|
+
readonly fields: [{
|
|
50
|
+
readonly id: "mode";
|
|
51
|
+
readonly type: "select";
|
|
52
|
+
readonly label: "Mode";
|
|
53
|
+
readonly required: true;
|
|
54
|
+
readonly defaultValue: "default";
|
|
55
|
+
readonly options: [{
|
|
56
|
+
readonly value: "default";
|
|
57
|
+
readonly label: "Default";
|
|
58
|
+
}, {
|
|
59
|
+
readonly value: "custom";
|
|
60
|
+
readonly label: "Custom";
|
|
61
|
+
}];
|
|
62
|
+
readonly ui: {
|
|
63
|
+
readonly hidden: true;
|
|
64
|
+
};
|
|
65
|
+
}];
|
|
53
66
|
};
|
|
54
|
-
readonly options: [{
|
|
55
|
-
readonly value: "emailOnly";
|
|
56
|
-
readonly label: "Email only";
|
|
57
|
-
}, {
|
|
58
|
-
readonly value: "emailName";
|
|
59
|
-
readonly label: "Email + Name";
|
|
60
|
-
}, {
|
|
61
|
-
readonly value: "emailFirstLast";
|
|
62
|
-
readonly label: "Email + First/Last Name";
|
|
63
|
-
}, {
|
|
64
|
-
readonly value: "emailNameCompany";
|
|
65
|
-
readonly label: "Email + Name + Company (B2B)";
|
|
66
|
-
}];
|
|
67
67
|
}, {
|
|
68
|
-
readonly id: "
|
|
69
|
-
readonly type: "boolean";
|
|
70
|
-
readonly label: "Include phone field";
|
|
71
|
-
readonly defaultValue: false;
|
|
72
|
-
readonly ui: {
|
|
73
|
-
readonly intent: "display";
|
|
74
|
-
};
|
|
75
|
-
}, {
|
|
76
|
-
readonly id: "newsletterButtonLabel";
|
|
68
|
+
readonly id: "contactTitle";
|
|
77
69
|
readonly type: "text";
|
|
78
|
-
readonly label: "
|
|
79
|
-
readonly defaultValue: "
|
|
80
|
-
readonly ui: {
|
|
81
|
-
readonly intent: "display";
|
|
82
|
-
};
|
|
70
|
+
readonly label: "Contact title";
|
|
71
|
+
readonly defaultValue: "Get in touch";
|
|
83
72
|
}, {
|
|
84
|
-
readonly id: "
|
|
73
|
+
readonly id: "mailingListSource";
|
|
85
74
|
readonly type: "text";
|
|
86
|
-
readonly label: "
|
|
87
|
-
readonly defaultValue: "Thanks for subscribing!";
|
|
75
|
+
readonly label: "Mailing-list source";
|
|
88
76
|
readonly ui: {
|
|
77
|
+
readonly hidden: true;
|
|
89
78
|
readonly intent: "behavior";
|
|
90
79
|
};
|
|
91
80
|
}, {
|
|
92
|
-
readonly id: "
|
|
81
|
+
readonly id: "mailingListSourceToken";
|
|
93
82
|
readonly type: "text";
|
|
94
|
-
readonly label: "
|
|
95
|
-
readonly ui: {
|
|
96
|
-
readonly intent: "display";
|
|
97
|
-
};
|
|
98
|
-
}, {
|
|
99
|
-
readonly id: "newsletterTags";
|
|
100
|
-
readonly type: "text";
|
|
101
|
-
readonly label: "Newsletter tags";
|
|
102
|
-
readonly description: "Optional tags to apply on subscribe, separated by comma or semicolon.";
|
|
83
|
+
readonly label: "Mailing-list source token";
|
|
103
84
|
readonly ui: {
|
|
85
|
+
readonly hidden: true;
|
|
104
86
|
readonly intent: "behavior";
|
|
105
87
|
};
|
|
106
|
-
}, {
|
|
107
|
-
readonly id: "contactTitle";
|
|
108
|
-
readonly type: "text";
|
|
109
|
-
readonly label: "Contact title";
|
|
110
|
-
readonly defaultValue: "Get in touch";
|
|
111
88
|
}, {
|
|
112
89
|
readonly id: "contactIntro";
|
|
113
90
|
readonly type: "richText";
|
|
@@ -157,13 +134,9 @@ export declare const contactNewsletterManifest: import("..").DefinedBlockManifes
|
|
|
157
134
|
export type ContactNewsletterContent = {
|
|
158
135
|
newsletterTitle?: string | null;
|
|
159
136
|
newsletterSubtitle?: RichTextDoc | null;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
newsletterButtonLabel?: string | null;
|
|
164
|
-
newsletterSuccessMessage?: string | null;
|
|
165
|
-
newsletterPrivacyNote?: string | null;
|
|
166
|
-
newsletterTags?: string | null;
|
|
137
|
+
targeting: MailingListPlacementTargeting;
|
|
138
|
+
mailingListSource?: 'signed-footer' | null;
|
|
139
|
+
mailingListSourceToken?: string | null;
|
|
167
140
|
contactTitle?: string | null;
|
|
168
141
|
contactIntro?: RichTextDoc | null;
|
|
169
142
|
formSlug: string;
|
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { PublicEventPricing, PublicEventPricingOption } from '../../../../../../core/src/index';
|
|
3
|
+
export declare const publicEventLoaderQuerySchemaShape: {
|
|
4
|
+
readonly limit: z.ZodOptional<z.ZodString>;
|
|
5
|
+
readonly from: z.ZodOptional<z.ZodString>;
|
|
6
|
+
readonly to: z.ZodOptional<z.ZodString>;
|
|
7
|
+
readonly afterStartsAt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
readonly afterId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
readonly categoryIds: z.ZodOptional<z.ZodString>;
|
|
10
|
+
readonly venueId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
readonly staffMemberId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
readonly eventSurface: z.ZodOptional<z.ZodString>;
|
|
13
|
+
readonly eventPresets: z.ZodOptional<z.ZodString>;
|
|
14
|
+
readonly scheduleScope: z.ZodOptional<z.ZodString>;
|
|
15
|
+
readonly seriesId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
readonly seriesIds: z.ZodOptional<z.ZodString>;
|
|
17
|
+
readonly runSeriesId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
readonly seriesSlug: z.ZodOptional<z.ZodString>;
|
|
19
|
+
readonly includeOccurrenceId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
readonly readIntent: z.ZodOptional<z.ZodString>;
|
|
21
|
+
readonly detailLevel: z.ZodOptional<z.ZodString>;
|
|
22
|
+
readonly readProfile: z.ZodOptional<z.ZodString>;
|
|
23
|
+
};
|
|
24
|
+
export declare const publicEventLoaderQuerySchema: z.ZodObject<{
|
|
25
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
26
|
+
from: z.ZodOptional<z.ZodString>;
|
|
27
|
+
to: z.ZodOptional<z.ZodString>;
|
|
28
|
+
afterStartsAt: z.ZodOptional<z.ZodString>;
|
|
29
|
+
afterId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
categoryIds: z.ZodOptional<z.ZodString>;
|
|
31
|
+
venueId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
staffMemberId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
eventSurface: z.ZodOptional<z.ZodString>;
|
|
34
|
+
eventPresets: z.ZodOptional<z.ZodString>;
|
|
35
|
+
scheduleScope: z.ZodOptional<z.ZodString>;
|
|
36
|
+
seriesId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
seriesIds: z.ZodOptional<z.ZodString>;
|
|
38
|
+
runSeriesId: z.ZodOptional<z.ZodString>;
|
|
39
|
+
seriesSlug: z.ZodOptional<z.ZodString>;
|
|
40
|
+
includeOccurrenceId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
readIntent: z.ZodOptional<z.ZodString>;
|
|
42
|
+
detailLevel: z.ZodOptional<z.ZodString>;
|
|
43
|
+
readProfile: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>;
|
|
3
45
|
export declare const eventPresetSchema: z.ZodEnum<{
|
|
4
46
|
course: "course";
|
|
5
47
|
event: "event";
|
|
@@ -10,6 +10,10 @@ import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
|
|
|
10
10
|
import type { eventCalendarDefaultViewValues, eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
11
11
|
import type { EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
|
|
12
12
|
import type { BlockButtonRole } from '../../../constants/buttonRoles';
|
|
13
|
+
import type { z } from 'zod';
|
|
14
|
+
import type { publicEventLoaderQuerySchema } from './schemas';
|
|
15
|
+
/** Raw string query vocabulary shared by public Event loader transports. */
|
|
16
|
+
export type PublicEventLoaderParams = Readonly<z.infer<typeof publicEventLoaderQuerySchema>>;
|
|
13
17
|
/**
|
|
14
18
|
* Geographic coordinates for venue location
|
|
15
19
|
*/
|