@riverbankcms/sdk 0.123.0 → 0.124.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 +14 -9
- package/dist/{PreviewEditorSidebar-DvJFmC29.mjs → PreviewEditorSidebar-DBmAJJkQ.mjs} +22 -39
- package/dist/{PreviewEditorUI-DVHP4bCo.mjs → PreviewEditorUI-CfGaz9cY.mjs} +3 -3
- package/dist/{PreviewQueryProvider-07EE4uWL.mjs → PreviewQueryProvider-BH-3-jSj.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BE5eFayo.mjs → SdkPreviewModeRuntime-BW9Z8j8T.mjs} +1020 -1234
- package/dist/{SiteChromeCustomizeContext-4hn4A0HX.mjs → SiteChromeCustomizeContext-2z8moxYf.mjs} +1900 -1959
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1236 -4152
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +435 -0
- package/dist/_dts/api/src/bookingClosures.d.ts +3 -3
- package/dist/_dts/api/src/bookingConfig.d.ts +72 -73
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +26 -35
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -15
- package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +746 -0
- package/dist/_dts/api/src/bookingVerticalPreset.d.ts +38 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +11 -652
- package/dist/_dts/api/src/bookings.d.ts +11 -9
- package/dist/_dts/api/src/cache-tags.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +10 -10
- package/dist/_dts/api/src/common/envelope.d.ts +2 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +0 -17
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +99 -0
- package/dist/_dts/api/src/courses.d.ts +22 -33
- package/dist/_dts/api/src/defineEndpointDefinitions.d.ts +14 -0
- package/dist/_dts/api/src/demoMutationPolicies.d.ts +4 -0
- package/dist/_dts/api/src/endpoints.d.ts +3740 -3733
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/event-presentation.d.ts +4 -9
- package/dist/_dts/api/src/index.d.ts +9 -11
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +376 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +272 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +274 -0
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +31 -0
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +152 -0
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +95 -0
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +154 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -962
- package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +52 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +0 -51
- package/dist/_dts/api/src/sdkEntryReadEndpoints.d.ts +23 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -38
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -4
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -15
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +0 -16
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -222
- package/dist/_dts/blocks/src/portal/types.d.ts +3 -3
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +1 -14
- package/dist/_dts/blocks/src/subroutes/index.d.ts +1 -1
- package/dist/_dts/blocks/src/subroutes/kinds.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -4
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +401 -12
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +9 -10
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -13
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +1 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +19 -18
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -11
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +10 -10
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -10
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +162 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +59 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +134 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/discounts.d.ts +85 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +241 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/forms.d.ts +53 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +32 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +220 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +176 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +12 -1121
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +19 -583
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -276
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +1 -12
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +1 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/courseRegistrationViewState.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +0 -25
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseEligibility.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationPortal.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +80 -55
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseWaitlistSelection.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -38
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +0 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +0 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +0 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +24 -433
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +52 -266
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventFilters.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +1573 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +1 -3
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -3
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -5
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -5
- package/dist/_dts/content-model/src/templates/defaults.d.ts +6 -3
- package/dist/_dts/core/src/editor-state.d.ts +1 -13
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1580 -120
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +6 -6
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +6 -1
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +27 -4
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +4 -6
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +23 -0
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +25 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +3 -81
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +6 -9
- package/dist/_dts/sdk/src/client/contentReadOperations.d.ts +40 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -3
- package/dist/_dts/sdk/src/client/management/types.d.ts +3 -91
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +72 -0
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +10 -75
- package/dist/_dts/sdk/src/client/types.d.ts +7 -33
- package/dist/_dts/sdk/src/components.d.ts +1 -1
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -6
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +0 -8
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -34
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +4 -3
- package/dist/_dts/sdk/src/next/catch-all-utils.d.ts +0 -11
- package/dist/_dts/sdk/src/next/catch-all.d.ts +1 -76
- package/dist/_dts/sdk/src/next/types.d.ts +0 -19
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +7 -207
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +0 -7
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +81 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -51
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -1
- package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +6 -6
- package/dist/_dts/sdk/src/routing/index.d.ts +0 -2
- package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +3 -3
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +10 -39
- 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/site-commands/src/adapter.d.ts +1 -1
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +100 -0
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commandContract.d.ts +1242 -0
- package/dist/_dts/site-commands/src/commandDomain.d.ts +20 -0
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +7 -0
- package/dist/_dts/site-commands/src/commandValidation.d.ts +10 -0
- package/dist/_dts/site-commands/src/commands.d.ts +729 -2659
- package/dist/_dts/site-commands/src/domain.d.ts +1 -1
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +11 -0
- package/dist/_dts/site-commands/src/exposure.d.ts +1 -1
- package/dist/_dts/site-commands/src/index.d.ts +6 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +1 -27
- package/dist/_dts/site-commands/src/planner.d.ts +1 -1
- package/dist/_dts/site-commands/src/refContributions.d.ts +1 -1
- package/dist/_dts/site-commands/src/refs.d.ts +1 -4
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +378 -0
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +46 -0
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +58 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +47 -24
- package/dist/cli/index.mjs +7250 -8478
- package/dist/cli/init-docs/content/cli-reference.md +5 -21
- package/dist/cli/init-docs/content/content-management.md +4 -5
- package/dist/client/{DiscountCodeDisclosure-DIWj-P9v.mjs → DiscountCodeDisclosure-DxvjKvck.mjs} +2 -2
- package/dist/client/{EventCombined.client-De8YWBSr.mjs → EventCombined.client-BydMGc4c.mjs} +5 -16
- package/dist/client/{EventListing.client-seHTjimY.mjs → EventListing.client-vpzhhysN.mjs} +3 -10
- package/dist/client/{LeafletStaticMap-BmQxFcJW.mjs → LeafletStaticMap-CB07rpf8.mjs} +1 -1
- package/dist/client/{MagicLinkForm-OoJAIUIj.mjs → MagicLinkForm-BzyRJ8VF.mjs} +2 -2
- package/dist/client/{StepIndicator-CiZ8kdPk.mjs → StepIndicator-CTcGf8Be.mjs} +2 -2
- package/dist/client/{accordion-6lnN__XJ.mjs → accordion-B-DUDLRD.mjs} +1 -1
- package/dist/client/{bookingForm-5uyqhONU.mjs → bookingForm-DSbClLcZ.mjs} +6 -6
- package/dist/client/bookings.mjs +753 -818
- package/dist/client/{carousel-Dtnifil_.mjs → carousel-B6Ccdx8M.mjs} +1 -1
- package/dist/client/{cart-5Tc5S7NV.mjs → cart-BZh8G8wM.mjs} +3 -3
- package/dist/client/{checkout-CYKKN5Hr.mjs → checkout-o6zaC-kM.mjs} +3 -3
- package/dist/client/client.mjs +6859 -7149
- package/dist/client/{context-BGZNlGXB.mjs → context-CJz1Vlsz.mjs} +40 -43
- package/dist/client/{courseRegistration-CxCBybB4.mjs → courseRegistration-Cf11pNDs.mjs} +606 -621
- package/dist/client/{eventCalendar-Xj2jZS9X.mjs → eventCalendar-BeXrdsSE.mjs} +5 -13
- package/dist/client/{eventCombined-CgcMoOgM.mjs → eventCombined-DA76PZgG.mjs} +3 -3
- package/dist/client/{eventDetails-CEAH8Edc.mjs → eventDetails-BLxg0rok.mjs} +140 -116
- package/dist/client/{eventListing-qyPVQ0wP.mjs → eventListing-tO9LheBX.mjs} +3 -3
- package/dist/client/{eventRegistration-DDu79CtL.mjs → eventRegistration-Cnene9D9.mjs} +165 -68
- package/dist/client/{form-Bc7JKI7I.mjs → form-DZf72CHB.mjs} +2 -2
- package/dist/client/{headerSection-vTku_LEl.mjs → headerSection-Hioja5Cr.mjs} +2 -2
- package/dist/client/hooks.mjs +3452 -2365
- package/dist/client/{locationMap-Bg7X4Jna.mjs → locationMap-DwhUXEix.mjs} +2 -2
- package/dist/client/{newsletterForm-lpylVdp5.mjs → newsletterForm-C350bEQf.mjs} +2 -2
- package/dist/client/{pricing-DE8fjJiT.mjs → pricing-BYWN_ATa.mjs} +3 -19
- package/dist/client/{productDetail-D7Bo2RMH.mjs → productDetail-CCqCyXgU.mjs} +3 -3
- package/dist/client/{productList-VjnZqiqN.mjs → productList-BAiNJrOU.mjs} +3 -3
- package/dist/client/{propsDecoder-DreFXjNP.mjs → propsDecoder-DeunRj6m.mjs} +210 -378
- package/dist/client/rendering/client.mjs +2541 -2813
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +5622 -4734
- package/dist/client/{shop-IRsHHbf7.mjs → shop-DUmCdBtw.mjs} +6 -6
- package/dist/client/{shop-commerce-gnI8PieZ.mjs → shop-commerce-CY27mEUr.mjs} +5 -5
- package/dist/client/{shop-commerce-store-BTbrhObn.mjs → shop-commerce-store-ChXPbWfa.mjs} +1 -1
- package/dist/client/{shopShared-D6KS2_qk.mjs → shopShared-q0kin1cv.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DCccGCxV.mjs → useDiscountCodeUi-I-92-x2V.mjs} +2 -2
- package/dist/client/{useEventFilters-eGs3rPZQ.mjs → useEventFilters-DlcVluZh.mjs} +59 -124
- package/dist/client/{usePolling-CvSU2sur.mjs → usePolling-Bz7GFV_a.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +1115 -1044
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1118 -1047
- package/dist/{previewAuthStore-ShY26RNz.mjs → previewAuthStore-CJX21dGi.mjs} +1121 -1047
- package/dist/{sdk-runtime-CJxkFq2B.mjs → sdk-runtime-OnPM8Z69.mjs} +2 -2
- package/dist/{separator-CoFmo8uA.mjs → separator-CPtfzHqA.mjs} +1 -1
- package/dist/server/components.mjs +4560 -3672
- package/dist/server/config-validation.mjs +3454 -2356
- package/dist/server/config.mjs +3454 -2356
- package/dist/server/data.mjs +3452 -2367
- package/dist/server/index.mjs +1501 -1491
- package/dist/server/next.mjs +7524 -8067
- package/dist/server/page-converter.mjs +1898 -2040
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4258 -3373
- package/dist/server/rendering.mjs +6228 -5393
- package/dist/server/routing.mjs +3614 -2509
- package/dist/server/server.mjs +3298 -3479
- package/package.json +1 -1
- package/dist/_dts/api/src/previewContentContract.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/course.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/courses.d.ts +0 -4
- package/dist/_dts/sdk/src/client/management/courses.d.ts +0 -10
- package/dist/_dts/sdk/src/routing/resolveEntrySubroute.d.ts +0 -36
|
@@ -5,11 +5,6 @@ import type { OccurrenceContext } from '../../blocks/event-registration.shared';
|
|
|
5
5
|
import type { EventRegistrationClientProps as InternalEventRegistrationClientProps } from './event-registration/types';
|
|
6
6
|
import { type EventRegistrationPageSurfaceSubject } from './event-registration/eventScope';
|
|
7
7
|
import { type InteractiveIslandProps } from '../../../contracts/islands';
|
|
8
|
-
export type EventRegistrationContentEntry = Readonly<{
|
|
9
|
-
id: string;
|
|
10
|
-
slug: string;
|
|
11
|
-
contentTypeSlug: string;
|
|
12
|
-
}>;
|
|
13
8
|
export declare const EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS: readonly ["Date", "Tickets", "Details"];
|
|
14
9
|
declare const EVENT_REGISTRATION_SHELL_STEP_LABELS: readonly ["Event", "Date", "Tickets", "Details", "Payment"];
|
|
15
10
|
export type EventRegistrationGenericShellStepLabels = typeof EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS;
|
|
@@ -20,7 +15,6 @@ export type EventRegistrationSourceProps = Readonly<{
|
|
|
20
15
|
portalToken?: string | null;
|
|
21
16
|
previewToken?: string | null;
|
|
22
17
|
occurrenceContext?: OccurrenceContext | null;
|
|
23
|
-
contentEntry?: EventRegistrationContentEntry | null;
|
|
24
18
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
25
19
|
events?: PublicEvent[] | null;
|
|
26
20
|
className?: string | null;
|
|
@@ -65,11 +59,6 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
65
59
|
portalToken?: string | null;
|
|
66
60
|
previewToken?: string | null;
|
|
67
61
|
occurrenceContext?: OccurrenceContext | null;
|
|
68
|
-
contentEntry?: Readonly<{
|
|
69
|
-
id: string;
|
|
70
|
-
slug: string;
|
|
71
|
-
contentTypeSlug: string;
|
|
72
|
-
}> | null;
|
|
73
62
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
74
63
|
events?: PublicEvent[] | null;
|
|
75
64
|
className?: string | null;
|
|
@@ -110,11 +99,6 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
110
99
|
portalToken?: string | null;
|
|
111
100
|
previewToken?: string | null;
|
|
112
101
|
occurrenceContext?: OccurrenceContext | null;
|
|
113
|
-
contentEntry?: Readonly<{
|
|
114
|
-
id: string;
|
|
115
|
-
slug: string;
|
|
116
|
-
contentTypeSlug: string;
|
|
117
|
-
}> | null;
|
|
118
102
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
119
103
|
events?: PublicEvent[] | null;
|
|
120
104
|
className?: string | null;
|
|
@@ -142,11 +126,6 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
142
126
|
portalToken?: string | null;
|
|
143
127
|
previewToken?: string | null;
|
|
144
128
|
occurrenceContext?: OccurrenceContext | null;
|
|
145
|
-
contentEntry?: Readonly<{
|
|
146
|
-
id: string;
|
|
147
|
-
slug: string;
|
|
148
|
-
contentTypeSlug: string;
|
|
149
|
-
}> | null;
|
|
150
129
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
151
130
|
events?: PublicEvent[] | null;
|
|
152
131
|
className?: string | null;
|
|
@@ -9,5 +9,5 @@ type EventRegistrationProps = Omit<EventRegistrationSourceProps, 'subject'> & Re
|
|
|
9
9
|
* Server-safe placeholder for event registration.
|
|
10
10
|
* Provides a static container for island hydration without importing client hooks.
|
|
11
11
|
*/
|
|
12
|
-
export declare function EventRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, previewToken, occurrenceContext,
|
|
12
|
+
export declare function EventRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, previewToken, occurrenceContext, subject, events, className, buttonText, maxTickets, showVenue, showCapacity, successMessage, waitlistMessage, buttonVariant, overlayEnabled, spamProtectionEnabled, stage, supportEmail, sitePasses, siteMemberships, children, }: EventRegistrationProps): React.JSX.Element;
|
|
13
13
|
export default EventRegistrationSSR;
|
|
@@ -1,73 +1,21 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DisplayMode, EventLayout } from "../../../blocks/events/shared/types";
|
|
2
2
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
3
|
import type { EventListingDisplay, EventListingInteractiveIslandProps } from "./EventListing.interactive";
|
|
4
|
-
import { type
|
|
5
|
-
export type EventCalendarSourceProps = Readonly<{
|
|
6
|
-
events?: PublicEvent[] | null;
|
|
7
|
-
siteId: string;
|
|
8
|
-
apiBaseUrl?: string;
|
|
9
|
-
stage?: "preview" | "published";
|
|
4
|
+
import { type EventCollectionDisplay, type EventCollectionHydration, type EventCollectionSourceProps } from "./shared/eventCollectionContract";
|
|
5
|
+
export type EventCalendarSourceProps = EventCollectionSourceProps & Readonly<{
|
|
10
6
|
variant?: DisplayMode | null;
|
|
11
7
|
displayMode?: DisplayMode | null;
|
|
12
|
-
listLayout?: EventLayout;
|
|
13
|
-
listColumns?: ColumnOption;
|
|
14
8
|
layout?: EventLayout;
|
|
15
|
-
columns?:
|
|
16
|
-
eventsPerPage?: string;
|
|
17
|
-
paginationMode?: EventListPaginationMode;
|
|
18
|
-
seeAllUrl?: string;
|
|
19
|
-
loadMoreText?: string;
|
|
20
|
-
startOfWeek?: WeekStart;
|
|
21
|
-
calendarTabViews?: CalendarTabViews;
|
|
22
|
-
defaultCalendarView?: CalendarView;
|
|
23
|
-
showFilters?: boolean | null;
|
|
24
|
-
showCategoryFilter?: FilterAutoShow;
|
|
25
|
-
showVenueFilter?: boolean | null;
|
|
26
|
-
showStaffFilter?: boolean | null;
|
|
27
|
-
kind?: EventBlockKind | null;
|
|
28
|
-
eventSurface?: EventSurfaceScope | null;
|
|
29
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
30
|
-
scheduleScope?: EventScheduleScope | null;
|
|
31
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
32
|
-
filterStaffMemberId?: string | null;
|
|
33
|
-
filterVenueId?: string | null;
|
|
34
|
-
buttonVariant?: ButtonVariant;
|
|
35
|
-
buttonText?: string;
|
|
9
|
+
columns?: EventCollectionSourceProps["listColumns"];
|
|
36
10
|
boardTitle?: string;
|
|
37
11
|
footerNote?: string;
|
|
38
12
|
elevated?: boolean | null;
|
|
39
13
|
banded?: boolean | null;
|
|
40
|
-
showVenue?: boolean | null;
|
|
41
|
-
showMap?: boolean | null;
|
|
42
|
-
showCapacity?: boolean | null;
|
|
43
|
-
emptyMessage?: string;
|
|
44
|
-
className?: string;
|
|
45
14
|
}>;
|
|
46
|
-
export type EventCalendarDisplay = Readonly<{
|
|
15
|
+
export type EventCalendarDisplay = EventCollectionDisplay & Readonly<{
|
|
47
16
|
kind: "event-calendar";
|
|
48
17
|
displayMode: DisplayMode;
|
|
49
18
|
className: string | null;
|
|
50
|
-
events: readonly PublicEvent[];
|
|
51
|
-
listLayout: EventLayout;
|
|
52
|
-
listColumns: ColumnOption;
|
|
53
|
-
eventsPerPage: EventPageSize;
|
|
54
|
-
paginationAction: EventListPaginationAction;
|
|
55
|
-
startOfWeek: WeekStart;
|
|
56
|
-
calendarTabViews: CalendarTabViews;
|
|
57
|
-
defaultCalendarView: CalendarView;
|
|
58
|
-
showFilters: boolean;
|
|
59
|
-
showCategoryFilter: FilterAutoShow;
|
|
60
|
-
showVenueFilter: boolean;
|
|
61
|
-
showStaffFilter: boolean;
|
|
62
|
-
eventKind: EventBlockKind;
|
|
63
|
-
eventSurface: EventSurfaceScope;
|
|
64
|
-
filterEventPresets: string | null;
|
|
65
|
-
scheduleScope: EventScheduleScope;
|
|
66
|
-
filterCategoryIds: string | null;
|
|
67
|
-
filterStaffMemberId: string | null;
|
|
68
|
-
filterVenueId: string | null;
|
|
69
|
-
buttonVariant: ButtonVariant;
|
|
70
|
-
buttonText: string;
|
|
71
19
|
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
72
20
|
boardTitle?: string;
|
|
73
21
|
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
@@ -83,20 +31,8 @@ export type EventCalendarDisplay = Readonly<{
|
|
|
83
31
|
elevated: boolean;
|
|
84
32
|
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
85
33
|
banded: boolean;
|
|
86
|
-
showVenue: boolean;
|
|
87
|
-
showMap: boolean;
|
|
88
|
-
showCapacity: boolean;
|
|
89
|
-
emptyMessage: string;
|
|
90
|
-
}>;
|
|
91
|
-
export type EventCalendarHydration = Readonly<{
|
|
92
|
-
siteId: string;
|
|
93
|
-
stage?: "preview" | "published";
|
|
94
|
-
prefetchedEvents: boolean;
|
|
95
|
-
eventKind: EventBlockKind;
|
|
96
|
-
eventSurface: EventSurfaceScope;
|
|
97
|
-
filterEventPresets: string | null;
|
|
98
|
-
scheduleScope: EventScheduleScope;
|
|
99
34
|
}>;
|
|
35
|
+
export type EventCalendarHydration = EventCollectionHydration;
|
|
100
36
|
type EventCalendarIslandMeta = Readonly<{
|
|
101
37
|
siteId: string;
|
|
102
38
|
apiBaseUrl?: string;
|
|
@@ -111,298 +47,43 @@ export declare function buildEventCalendarListingRender(render: Readonly<{
|
|
|
111
47
|
export type EventCalendarInteractiveIslandProps = InteractiveIslandProps<EventCalendarIslandMeta, "event-calendar", typeof eventCalendarBlockRuntime>;
|
|
112
48
|
export declare const eventCalendarBlockRuntime: Readonly<{
|
|
113
49
|
kind: "progressive";
|
|
114
|
-
buildRender: (source: Readonly<{
|
|
115
|
-
|
|
116
|
-
siteId: string;
|
|
117
|
-
apiBaseUrl?: string;
|
|
118
|
-
stage?: "preview" | "published";
|
|
119
|
-
variant?: DisplayMode | null;
|
|
120
|
-
displayMode?: DisplayMode | null;
|
|
121
|
-
listLayout?: EventLayout;
|
|
122
|
-
listColumns?: ColumnOption;
|
|
123
|
-
layout?: EventLayout;
|
|
124
|
-
columns?: ColumnOption;
|
|
125
|
-
eventsPerPage?: string;
|
|
126
|
-
paginationMode?: EventListPaginationMode;
|
|
127
|
-
seeAllUrl?: string;
|
|
128
|
-
loadMoreText?: string;
|
|
129
|
-
startOfWeek?: WeekStart;
|
|
130
|
-
calendarTabViews?: CalendarTabViews;
|
|
131
|
-
defaultCalendarView?: CalendarView;
|
|
132
|
-
showFilters?: boolean | null;
|
|
133
|
-
showCategoryFilter?: FilterAutoShow;
|
|
134
|
-
showVenueFilter?: boolean | null;
|
|
135
|
-
showStaffFilter?: boolean | null;
|
|
136
|
-
kind?: EventBlockKind | null;
|
|
137
|
-
eventSurface?: EventSurfaceScope | null;
|
|
138
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
139
|
-
scheduleScope?: EventScheduleScope | null;
|
|
140
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
141
|
-
filterStaffMemberId?: string | null;
|
|
142
|
-
filterVenueId?: string | null;
|
|
143
|
-
buttonVariant?: ButtonVariant;
|
|
144
|
-
buttonText?: string;
|
|
145
|
-
boardTitle?: string;
|
|
146
|
-
footerNote?: string;
|
|
147
|
-
elevated?: boolean | null;
|
|
148
|
-
banded?: boolean | null;
|
|
149
|
-
showVenue?: boolean | null;
|
|
150
|
-
showMap?: boolean | null;
|
|
151
|
-
showCapacity?: boolean | null;
|
|
152
|
-
emptyMessage?: string;
|
|
153
|
-
className?: string;
|
|
154
|
-
}>) => Readonly<{
|
|
155
|
-
display: Readonly<{
|
|
156
|
-
kind: "event-calendar";
|
|
157
|
-
displayMode: DisplayMode;
|
|
158
|
-
className: string | null;
|
|
159
|
-
events: readonly PublicEvent[];
|
|
160
|
-
listLayout: EventLayout;
|
|
161
|
-
listColumns: ColumnOption;
|
|
162
|
-
eventsPerPage: EventPageSize;
|
|
163
|
-
paginationAction: EventListPaginationAction;
|
|
164
|
-
startOfWeek: WeekStart;
|
|
165
|
-
calendarTabViews: CalendarTabViews;
|
|
166
|
-
defaultCalendarView: CalendarView;
|
|
167
|
-
showFilters: boolean;
|
|
168
|
-
showCategoryFilter: FilterAutoShow;
|
|
169
|
-
showVenueFilter: boolean;
|
|
170
|
-
showStaffFilter: boolean;
|
|
171
|
-
eventKind: EventBlockKind;
|
|
172
|
-
eventSurface: EventSurfaceScope;
|
|
173
|
-
filterEventPresets: string | null;
|
|
174
|
-
scheduleScope: EventScheduleScope;
|
|
175
|
-
filterCategoryIds: string | null;
|
|
176
|
-
filterStaffMemberId: string | null;
|
|
177
|
-
filterVenueId: string | null;
|
|
178
|
-
buttonVariant: ButtonVariant;
|
|
179
|
-
buttonText: string;
|
|
180
|
-
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
181
|
-
boardTitle?: string;
|
|
182
|
-
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
183
|
-
footerNote?: string;
|
|
184
|
-
/**
|
|
185
|
-
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
186
|
-
* Undefined omits the CTA — no dead button is ever rendered.
|
|
187
|
-
*/
|
|
188
|
-
seeAllUrl?: string;
|
|
189
|
-
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
190
|
-
loadMoreText?: string;
|
|
191
|
-
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
192
|
-
elevated: boolean;
|
|
193
|
-
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
194
|
-
banded: boolean;
|
|
195
|
-
showVenue: boolean;
|
|
196
|
-
showMap: boolean;
|
|
197
|
-
showCapacity: boolean;
|
|
198
|
-
emptyMessage: string;
|
|
199
|
-
}>;
|
|
50
|
+
buildRender: (source: EventCalendarSourceProps) => Readonly<{
|
|
51
|
+
display: EventCalendarDisplay;
|
|
200
52
|
hydration: Readonly<{
|
|
201
53
|
siteId: string;
|
|
202
54
|
stage?: "preview" | "published";
|
|
203
55
|
prefetchedEvents: boolean;
|
|
204
|
-
|
|
205
|
-
eventSurface: EventSurfaceScope;
|
|
56
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
206
57
|
filterEventPresets: string | null;
|
|
207
|
-
scheduleScope: EventScheduleScope;
|
|
58
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
208
59
|
}>;
|
|
209
60
|
}>;
|
|
210
61
|
contracts: Readonly<{
|
|
211
62
|
source: Readonly<{
|
|
212
|
-
encode: (value:
|
|
213
|
-
|
|
214
|
-
siteId: string;
|
|
215
|
-
apiBaseUrl?: string;
|
|
216
|
-
stage?: "preview" | "published";
|
|
217
|
-
variant?: DisplayMode | null;
|
|
218
|
-
displayMode?: DisplayMode | null;
|
|
219
|
-
listLayout?: EventLayout;
|
|
220
|
-
listColumns?: ColumnOption;
|
|
221
|
-
layout?: EventLayout;
|
|
222
|
-
columns?: ColumnOption;
|
|
223
|
-
eventsPerPage?: string;
|
|
224
|
-
paginationMode?: EventListPaginationMode;
|
|
225
|
-
seeAllUrl?: string;
|
|
226
|
-
loadMoreText?: string;
|
|
227
|
-
startOfWeek?: WeekStart;
|
|
228
|
-
calendarTabViews?: CalendarTabViews;
|
|
229
|
-
defaultCalendarView?: CalendarView;
|
|
230
|
-
showFilters?: boolean | null;
|
|
231
|
-
showCategoryFilter?: FilterAutoShow;
|
|
232
|
-
showVenueFilter?: boolean | null;
|
|
233
|
-
showStaffFilter?: boolean | null;
|
|
234
|
-
kind?: EventBlockKind | null;
|
|
235
|
-
eventSurface?: EventSurfaceScope | null;
|
|
236
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
237
|
-
scheduleScope?: EventScheduleScope | null;
|
|
238
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
239
|
-
filterStaffMemberId?: string | null;
|
|
240
|
-
filterVenueId?: string | null;
|
|
241
|
-
buttonVariant?: ButtonVariant;
|
|
242
|
-
buttonText?: string;
|
|
243
|
-
boardTitle?: string;
|
|
244
|
-
footerNote?: string;
|
|
245
|
-
elevated?: boolean | null;
|
|
246
|
-
banded?: boolean | null;
|
|
247
|
-
showVenue?: boolean | null;
|
|
248
|
-
showMap?: boolean | null;
|
|
249
|
-
showCapacity?: boolean | null;
|
|
250
|
-
emptyMessage?: string;
|
|
251
|
-
className?: string;
|
|
252
|
-
}>) => unknown;
|
|
253
|
-
decode: (input: unknown) => import("../../../../contracts").DecodeResult<Readonly<{
|
|
254
|
-
events?: PublicEvent[] | null;
|
|
255
|
-
siteId: string;
|
|
256
|
-
apiBaseUrl?: string;
|
|
257
|
-
stage?: "preview" | "published";
|
|
258
|
-
variant?: DisplayMode | null;
|
|
259
|
-
displayMode?: DisplayMode | null;
|
|
260
|
-
listLayout?: EventLayout;
|
|
261
|
-
listColumns?: ColumnOption;
|
|
262
|
-
layout?: EventLayout;
|
|
263
|
-
columns?: ColumnOption;
|
|
264
|
-
eventsPerPage?: string;
|
|
265
|
-
paginationMode?: EventListPaginationMode;
|
|
266
|
-
seeAllUrl?: string;
|
|
267
|
-
loadMoreText?: string;
|
|
268
|
-
startOfWeek?: WeekStart;
|
|
269
|
-
calendarTabViews?: CalendarTabViews;
|
|
270
|
-
defaultCalendarView?: CalendarView;
|
|
271
|
-
showFilters?: boolean | null;
|
|
272
|
-
showCategoryFilter?: FilterAutoShow;
|
|
273
|
-
showVenueFilter?: boolean | null;
|
|
274
|
-
showStaffFilter?: boolean | null;
|
|
275
|
-
kind?: EventBlockKind | null;
|
|
276
|
-
eventSurface?: EventSurfaceScope | null;
|
|
277
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
278
|
-
scheduleScope?: EventScheduleScope | null;
|
|
279
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
280
|
-
filterStaffMemberId?: string | null;
|
|
281
|
-
filterVenueId?: string | null;
|
|
282
|
-
buttonVariant?: ButtonVariant;
|
|
283
|
-
buttonText?: string;
|
|
284
|
-
boardTitle?: string;
|
|
285
|
-
footerNote?: string;
|
|
286
|
-
elevated?: boolean | null;
|
|
287
|
-
banded?: boolean | null;
|
|
288
|
-
showVenue?: boolean | null;
|
|
289
|
-
showMap?: boolean | null;
|
|
290
|
-
showCapacity?: boolean | null;
|
|
291
|
-
emptyMessage?: string;
|
|
292
|
-
className?: string;
|
|
293
|
-
}>>;
|
|
63
|
+
encode: (value: EventCalendarSourceProps) => unknown;
|
|
64
|
+
decode: (input: unknown) => import("../../../../contracts").DecodeResult<EventCalendarSourceProps>;
|
|
294
65
|
}>;
|
|
295
66
|
render: Readonly<{
|
|
296
67
|
encode: (value: Readonly<{
|
|
297
|
-
display:
|
|
298
|
-
kind: "event-calendar";
|
|
299
|
-
displayMode: DisplayMode;
|
|
300
|
-
className: string | null;
|
|
301
|
-
events: readonly PublicEvent[];
|
|
302
|
-
listLayout: EventLayout;
|
|
303
|
-
listColumns: ColumnOption;
|
|
304
|
-
eventsPerPage: EventPageSize;
|
|
305
|
-
paginationAction: EventListPaginationAction;
|
|
306
|
-
startOfWeek: WeekStart;
|
|
307
|
-
calendarTabViews: CalendarTabViews;
|
|
308
|
-
defaultCalendarView: CalendarView;
|
|
309
|
-
showFilters: boolean;
|
|
310
|
-
showCategoryFilter: FilterAutoShow;
|
|
311
|
-
showVenueFilter: boolean;
|
|
312
|
-
showStaffFilter: boolean;
|
|
313
|
-
eventKind: EventBlockKind;
|
|
314
|
-
eventSurface: EventSurfaceScope;
|
|
315
|
-
filterEventPresets: string | null;
|
|
316
|
-
scheduleScope: EventScheduleScope;
|
|
317
|
-
filterCategoryIds: string | null;
|
|
318
|
-
filterStaffMemberId: string | null;
|
|
319
|
-
filterVenueId: string | null;
|
|
320
|
-
buttonVariant: ButtonVariant;
|
|
321
|
-
buttonText: string;
|
|
322
|
-
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
323
|
-
boardTitle?: string;
|
|
324
|
-
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
325
|
-
footerNote?: string;
|
|
326
|
-
/**
|
|
327
|
-
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
328
|
-
* Undefined omits the CTA — no dead button is ever rendered.
|
|
329
|
-
*/
|
|
330
|
-
seeAllUrl?: string;
|
|
331
|
-
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
332
|
-
loadMoreText?: string;
|
|
333
|
-
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
334
|
-
elevated: boolean;
|
|
335
|
-
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
336
|
-
banded: boolean;
|
|
337
|
-
showVenue: boolean;
|
|
338
|
-
showMap: boolean;
|
|
339
|
-
showCapacity: boolean;
|
|
340
|
-
emptyMessage: string;
|
|
341
|
-
}>;
|
|
68
|
+
display: EventCalendarDisplay;
|
|
342
69
|
hydration: Readonly<{
|
|
343
70
|
siteId: string;
|
|
344
71
|
stage?: "preview" | "published";
|
|
345
72
|
prefetchedEvents: boolean;
|
|
346
|
-
|
|
347
|
-
eventSurface: EventSurfaceScope;
|
|
73
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
348
74
|
filterEventPresets: string | null;
|
|
349
|
-
scheduleScope: EventScheduleScope;
|
|
75
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
350
76
|
}>;
|
|
351
77
|
}>) => unknown;
|
|
352
78
|
decode: (input: unknown) => import("../../../../contracts").DecodeResult<Readonly<{
|
|
353
|
-
display:
|
|
354
|
-
kind: "event-calendar";
|
|
355
|
-
displayMode: DisplayMode;
|
|
356
|
-
className: string | null;
|
|
357
|
-
events: readonly PublicEvent[];
|
|
358
|
-
listLayout: EventLayout;
|
|
359
|
-
listColumns: ColumnOption;
|
|
360
|
-
eventsPerPage: EventPageSize;
|
|
361
|
-
paginationAction: EventListPaginationAction;
|
|
362
|
-
startOfWeek: WeekStart;
|
|
363
|
-
calendarTabViews: CalendarTabViews;
|
|
364
|
-
defaultCalendarView: CalendarView;
|
|
365
|
-
showFilters: boolean;
|
|
366
|
-
showCategoryFilter: FilterAutoShow;
|
|
367
|
-
showVenueFilter: boolean;
|
|
368
|
-
showStaffFilter: boolean;
|
|
369
|
-
eventKind: EventBlockKind;
|
|
370
|
-
eventSurface: EventSurfaceScope;
|
|
371
|
-
filterEventPresets: string | null;
|
|
372
|
-
scheduleScope: EventScheduleScope;
|
|
373
|
-
filterCategoryIds: string | null;
|
|
374
|
-
filterStaffMemberId: string | null;
|
|
375
|
-
filterVenueId: string | null;
|
|
376
|
-
buttonVariant: ButtonVariant;
|
|
377
|
-
buttonText: string;
|
|
378
|
-
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
379
|
-
boardTitle?: string;
|
|
380
|
-
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
381
|
-
footerNote?: string;
|
|
382
|
-
/**
|
|
383
|
-
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
384
|
-
* Undefined omits the CTA — no dead button is ever rendered.
|
|
385
|
-
*/
|
|
386
|
-
seeAllUrl?: string;
|
|
387
|
-
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
388
|
-
loadMoreText?: string;
|
|
389
|
-
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
390
|
-
elevated: boolean;
|
|
391
|
-
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
392
|
-
banded: boolean;
|
|
393
|
-
showVenue: boolean;
|
|
394
|
-
showMap: boolean;
|
|
395
|
-
showCapacity: boolean;
|
|
396
|
-
emptyMessage: string;
|
|
397
|
-
}>;
|
|
79
|
+
display: EventCalendarDisplay;
|
|
398
80
|
hydration: Readonly<{
|
|
399
81
|
siteId: string;
|
|
400
82
|
stage?: "preview" | "published";
|
|
401
83
|
prefetchedEvents: boolean;
|
|
402
|
-
|
|
403
|
-
eventSurface: EventSurfaceScope;
|
|
84
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
404
85
|
filterEventPresets: string | null;
|
|
405
|
-
scheduleScope: EventScheduleScope;
|
|
86
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
406
87
|
}>;
|
|
407
88
|
}>>;
|
|
408
89
|
}>;
|
|
@@ -418,59 +99,14 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
418
99
|
render: Readonly<{
|
|
419
100
|
mode: "event-calendar";
|
|
420
101
|
} & Readonly<{
|
|
421
|
-
display:
|
|
422
|
-
kind: "event-calendar";
|
|
423
|
-
displayMode: DisplayMode;
|
|
424
|
-
className: string | null;
|
|
425
|
-
events: readonly PublicEvent[];
|
|
426
|
-
listLayout: EventLayout;
|
|
427
|
-
listColumns: ColumnOption;
|
|
428
|
-
eventsPerPage: EventPageSize;
|
|
429
|
-
paginationAction: EventListPaginationAction;
|
|
430
|
-
startOfWeek: WeekStart;
|
|
431
|
-
calendarTabViews: CalendarTabViews;
|
|
432
|
-
defaultCalendarView: CalendarView;
|
|
433
|
-
showFilters: boolean;
|
|
434
|
-
showCategoryFilter: FilterAutoShow;
|
|
435
|
-
showVenueFilter: boolean;
|
|
436
|
-
showStaffFilter: boolean;
|
|
437
|
-
eventKind: EventBlockKind;
|
|
438
|
-
eventSurface: EventSurfaceScope;
|
|
439
|
-
filterEventPresets: string | null;
|
|
440
|
-
scheduleScope: EventScheduleScope;
|
|
441
|
-
filterCategoryIds: string | null;
|
|
442
|
-
filterStaffMemberId: string | null;
|
|
443
|
-
filterVenueId: string | null;
|
|
444
|
-
buttonVariant: ButtonVariant;
|
|
445
|
-
buttonText: string;
|
|
446
|
-
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
447
|
-
boardTitle?: string;
|
|
448
|
-
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
449
|
-
footerNote?: string;
|
|
450
|
-
/**
|
|
451
|
-
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
452
|
-
* Undefined omits the CTA — no dead button is ever rendered.
|
|
453
|
-
*/
|
|
454
|
-
seeAllUrl?: string;
|
|
455
|
-
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
456
|
-
loadMoreText?: string;
|
|
457
|
-
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
458
|
-
elevated: boolean;
|
|
459
|
-
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
460
|
-
banded: boolean;
|
|
461
|
-
showVenue: boolean;
|
|
462
|
-
showMap: boolean;
|
|
463
|
-
showCapacity: boolean;
|
|
464
|
-
emptyMessage: string;
|
|
465
|
-
}>;
|
|
102
|
+
display: EventCalendarDisplay;
|
|
466
103
|
hydration: Readonly<{
|
|
467
104
|
siteId: string;
|
|
468
105
|
stage?: "preview" | "published";
|
|
469
106
|
prefetchedEvents: boolean;
|
|
470
|
-
|
|
471
|
-
eventSurface: EventSurfaceScope;
|
|
107
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
472
108
|
filterEventPresets: string | null;
|
|
473
|
-
scheduleScope: EventScheduleScope;
|
|
109
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
474
110
|
}>;
|
|
475
111
|
}>>;
|
|
476
112
|
}>) => unknown;
|
|
@@ -483,59 +119,14 @@ export declare const eventCalendarInteractiveIslandPropsCodec: Readonly<{
|
|
|
483
119
|
render: Readonly<{
|
|
484
120
|
mode: "event-calendar";
|
|
485
121
|
} & Readonly<{
|
|
486
|
-
display:
|
|
487
|
-
kind: "event-calendar";
|
|
488
|
-
displayMode: DisplayMode;
|
|
489
|
-
className: string | null;
|
|
490
|
-
events: readonly PublicEvent[];
|
|
491
|
-
listLayout: EventLayout;
|
|
492
|
-
listColumns: ColumnOption;
|
|
493
|
-
eventsPerPage: EventPageSize;
|
|
494
|
-
paginationAction: EventListPaginationAction;
|
|
495
|
-
startOfWeek: WeekStart;
|
|
496
|
-
calendarTabViews: CalendarTabViews;
|
|
497
|
-
defaultCalendarView: CalendarView;
|
|
498
|
-
showFilters: boolean;
|
|
499
|
-
showCategoryFilter: FilterAutoShow;
|
|
500
|
-
showVenueFilter: boolean;
|
|
501
|
-
showStaffFilter: boolean;
|
|
502
|
-
eventKind: EventBlockKind;
|
|
503
|
-
eventSurface: EventSurfaceScope;
|
|
504
|
-
filterEventPresets: string | null;
|
|
505
|
-
scheduleScope: EventScheduleScope;
|
|
506
|
-
filterCategoryIds: string | null;
|
|
507
|
-
filterStaffMemberId: string | null;
|
|
508
|
-
filterVenueId: string | null;
|
|
509
|
-
buttonVariant: ButtonVariant;
|
|
510
|
-
buttonText: string;
|
|
511
|
-
/** Week-board: optional top-bar title. Empty/undefined hides the title. */
|
|
512
|
-
boardTitle?: string;
|
|
513
|
-
/** Week-board: optional footer note. Empty/undefined hides the note. */
|
|
514
|
-
footerNote?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Footer CTA destination (reuses the block's "See all destination" field).
|
|
517
|
-
* Undefined omits the CTA — no dead button is ever rendered.
|
|
518
|
-
*/
|
|
519
|
-
seeAllUrl?: string;
|
|
520
|
-
/** Footer CTA label (reuses the block's "CTA button text" field). */
|
|
521
|
-
loadMoreText?: string;
|
|
522
|
-
/** Week-board: raised drop shadow (Fulcrum opt-in). Generic default: flat. */
|
|
523
|
-
elevated: boolean;
|
|
524
|
-
/** Week-board: surrounding section band (Fulcrum opt-in). Default: bandless. */
|
|
525
|
-
banded: boolean;
|
|
526
|
-
showVenue: boolean;
|
|
527
|
-
showMap: boolean;
|
|
528
|
-
showCapacity: boolean;
|
|
529
|
-
emptyMessage: string;
|
|
530
|
-
}>;
|
|
122
|
+
display: EventCalendarDisplay;
|
|
531
123
|
hydration: Readonly<{
|
|
532
124
|
siteId: string;
|
|
533
125
|
stage?: "preview" | "published";
|
|
534
126
|
prefetchedEvents: boolean;
|
|
535
|
-
|
|
536
|
-
eventSurface: EventSurfaceScope;
|
|
127
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
537
128
|
filterEventPresets: string | null;
|
|
538
|
-
scheduleScope: EventScheduleScope;
|
|
129
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
539
130
|
}>;
|
|
540
131
|
}>>;
|
|
541
132
|
}>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { PublicEvent, ButtonVariant, EventLayout, ColumnOption, WeekStart, CalendarTabViews, FilterAutoShow, CalendarView,
|
|
2
|
+
import type { PublicEvent, ButtonVariant, EventLayout, ColumnOption, WeekStart, CalendarTabViews, FilterAutoShow, CalendarView, EventScheduleScope, EventSurfaceScope } from "../../../blocks/events/shared/types";
|
|
3
3
|
import type { EventCombinedInteractiveIslandProps } from "./EventCombined.interactive";
|
|
4
4
|
import { type EventListPaginationAction, type EventPageSize } from "./shared/listOptions";
|
|
5
5
|
export type EventCombinedClientProps = Readonly<{
|
|
@@ -17,7 +17,6 @@ export type EventCombinedClientProps = Readonly<{
|
|
|
17
17
|
showCategoryFilter?: FilterAutoShow;
|
|
18
18
|
showVenueFilter?: boolean | null;
|
|
19
19
|
showStaffFilter?: boolean | null;
|
|
20
|
-
eventKind?: EventBlockKind | null;
|
|
21
20
|
eventSurface?: EventSurfaceScope | null;
|
|
22
21
|
filterEventPresets?: string | null;
|
|
23
22
|
scheduleScope?: EventScheduleScope | null;
|