@riverbankcms/sdk 0.81.0 → 0.84.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 +81 -3
- package/dist/{PreviewEditorSidebar-RDCMEXIJ.mjs → PreviewEditorSidebar-HML67UDA.mjs} +367 -507
- package/dist/{PreviewEditorSidebar-O4NDX5TP.css → PreviewEditorSidebar-JA4VIPSZ.css} +1 -1
- package/dist/{SdkPreviewModeRuntime-PBGALTMK.css → PreviewEditorUI-36T7QYV4.css} +1 -1
- package/dist/{PreviewEditorUI-NYGQ6K7B.mjs → PreviewEditorUI-I4BQUU6K.mjs} +4 -6
- package/dist/{PreviewEditorUI-4JVDBZBS.css → SdkPreviewModeRuntime-FXKI6XNL.css} +1 -1
- package/dist/SdkPreviewModeRuntime-MCKMVDTK.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1038 -262
- package/dist/_dts/altcha/src/AltchaWidget.d.ts +1 -1
- package/dist/_dts/api/src/analytics.d.ts +1 -1
- package/dist/_dts/api/src/blocks.d.ts +36 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +49 -3
- package/dist/_dts/api/src/courses.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +40 -0
- package/dist/_dts/api/src/event-destination-policy.d.ts +17 -0
- package/dist/_dts/api/src/index.d.ts +6 -2
- package/dist/_dts/api/src/navigation/boundaries.d.ts +64 -0
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +6 -54
- package/dist/_dts/api/src/sdk-event-pricing.d.ts +61 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +52 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +50 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +67 -33
- package/dist/_dts/api/src/shared-contracts.d.ts +13 -0
- package/dist/_dts/api/src/siteGeneration.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +29 -42
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +46 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +6 -1
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +1 -1
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +2 -2
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +3 -2
- package/dist/_dts/block-form/src/utils/visibleWhen.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +2 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/Field.d.ts +2 -2
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +3 -3
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/stringDefaultValue.d.ts +1 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +12 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +1 -1
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -20
- package/dist/_dts/blocks/src/index.d.ts +2 -2
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +7 -7
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/Text.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +3 -0
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Inline.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/layout/Stack.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/contact-newsletter.d.ts +171 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +302 -151
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +6 -20
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/feature-card-icons.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -10
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +2608 -225
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +4 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +28 -0
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +880 -2618
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +880 -2620
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +880 -2608
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +36 -3
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +3 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -2
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/linkedContentEntries.d.ts +38 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +3 -1
- package/dist/_dts/blocks/src/system/fields/aspectRatio.d.ts +4 -1
- package/dist/_dts/blocks/src/system/fields/imageShape.d.ts +30 -0
- package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +25 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +106 -217
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +36 -30
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +18 -15
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +33 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.shared.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +10 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PortalAuthSidebar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/SuccessStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/WaitlistStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +3 -2
- 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/CoursePricingDisplay.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSummaryBar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizard.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PastOccurrenceNotice.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SelectableOptionCard.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.state.d.ts +303 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +38 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +2 -1
- 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/EventDetailModal.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/gifting.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.client.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.view.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-add-feedback.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop-commerce.server.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/spinner.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ActionRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ClockIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CrossIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +1 -1
- package/dist/_dts/content-editor/src/components/EditableBlockProvider.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +7 -1
- package/dist/_dts/content-editor/src/primitives/shared/activePreviewField.d.ts +2 -0
- package/dist/_dts/content-editor/src/primitives/shared/index.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/shared/storeBinding.d.ts +3 -1
- package/dist/_dts/content-editor/src/primitives/shared/types.d.ts +5 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +7 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -40
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -40
- package/dist/_dts/content-model/src/entry-slots/index.d.ts +1 -0
- package/dist/_dts/content-model/src/entry-slots/types.d.ts +356 -0
- package/dist/_dts/content-model/src/index.d.ts +1 -0
- package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -1
- package/dist/_dts/core/src/event-pricing.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +127 -7
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/editor/src/chrome/EditorChrome.d.ts +1 -1
- package/dist/_dts/editor/src/inline/InlineTextEditor.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/EditorPrimitivesProvider.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/InlineFieldContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/SaveContext.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextToolbar.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/BlockTypeDropdown.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/LinkPopover.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/ToolbarIconButton.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +6 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/AddBlockDivider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/HeaderActions.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/block-editor/owner.d.ts +27 -0
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewWidgetProvider.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/index.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/orderDomain.d.ts +29 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/useImagePicker.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionWidgetProvider.d.ts +1 -1
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +8 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +37 -3
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialogShell.d.ts +1 -1
- package/dist/_dts/media-editor/src/FileAssetPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +1 -1
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +1 -1
- package/dist/_dts/media-react/src/components/AuthenticatedImage.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaLibrary.d.ts +1 -1
- package/dist/_dts/media-react/src/components/MediaPickerMini.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/PreviewShellSmoke.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +5 -3
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeControlPlan.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +19 -0
- package/dist/_dts/preview-next/src/client/preview/MaintenanceModeBadge.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthInit.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewBlockCustomizeSelectionContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewChromeLayer.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewConfirmationDialog.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignCoordinatorContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignHistoryOrderContext.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorGuidanceCard.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewOpenEditorButton.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewQueryProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +4 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewSidebarSection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SelectedBlockCustomizePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +17 -3
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SubrouteNoticePanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/linkedEntryEditEvents.d.ts +14 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromePlacement.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControls.d.ts +11 -10
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +10 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +29 -6
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewModeRuntime.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +5 -3
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +4 -3
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +15 -22
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -1
- package/dist/_dts/sdk/src/cli/helpers.d.ts +10 -5
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +31 -0
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +7 -7
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +40 -10
- package/dist/_dts/sdk/src/client/types.d.ts +36 -4
- package/dist/_dts/sdk/src/client.d.ts +1 -1
- package/dist/_dts/sdk/src/config/content-types.d.ts +3 -14
- package/dist/_dts/sdk/src/config/content-validation.d.ts +9 -214
- package/dist/_dts/sdk/src/config/field-definitions.d.ts +13 -7
- package/dist/_dts/sdk/src/config/types.d.ts +9 -0
- package/dist/_dts/sdk/src/config/validation.d.ts +21 -21
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +28 -5
- package/dist/_dts/sdk/src/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +6 -6
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +4 -3
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +42 -37
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Block.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Block.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Page.server.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/PageHydrationBootstrap.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +10 -9
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +9 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -57
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/primitives/RichText.d.ts +2 -1
- package/dist/_dts/sdk/src/server.d.ts +1 -1
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.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/site-commands/src/commands.d.ts +84 -21
- package/dist/_dts/theme-core/src/ClientThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +3 -2
- package/dist/_dts/theme-core/src/ThemeScope.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeScopeCore.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/buttons/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/cards/types.d.ts +20 -20
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -225
- package/dist/_dts/theme-core/src/mock-themes/components/PaletteCard.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/components/swatch.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/presets.d.ts +1 -1
- package/dist/_dts/theme-core/src/navigation/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +15 -0
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/warm-dark.d.ts +16 -0
- package/dist/_dts/theme-core/src/schema.d.ts +263 -248
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +141 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +16 -14
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +110 -5
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +11 -9
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +5 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +30 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +16 -1
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +1 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +6 -6
- package/dist/_dts/ui/src/async-boundary.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +3 -3
- package/dist/_dts/ui/src/calendar.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +6 -6
- package/dist/_dts/ui/src/combobox.d.ts +1 -1
- package/dist/_dts/ui/src/command-multi-select.d.ts +1 -1
- package/dist/_dts/ui/src/content-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/delayed-spinner.d.ts +1 -1
- package/dist/_dts/ui/src/dev-toolbar.d.ts +1 -1
- package/dist/_dts/ui/src/dialog.d.ts +10 -10
- package/dist/_dts/ui/src/dropdown-menu.d.ts +1 -1
- package/dist/_dts/ui/src/editor-drawer.d.ts +1 -1
- package/dist/_dts/ui/src/empty-state.d.ts +1 -1
- package/dist/_dts/ui/src/filter-button-group.d.ts +1 -1
- package/dist/_dts/ui/src/fixed-bottom-surface.d.ts +1 -1
- package/dist/_dts/ui/src/form.d.ts +7 -7
- package/dist/_dts/ui/src/label.d.ts +1 -1
- package/dist/_dts/ui/src/menubar.d.ts +16 -16
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -2
- package/dist/_dts/ui/src/number-input.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +1 -1
- package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +1 -1
- package/dist/_dts/ui/src/resizable-split-pane.d.ts +1 -1
- package/dist/_dts/ui/src/select.d.ts +10 -10
- package/dist/_dts/ui/src/separator.d.ts +1 -1
- package/dist/_dts/ui/src/sheet.d.ts +9 -9
- package/dist/_dts/ui/src/spinner.d.ts +1 -1
- package/dist/_dts/ui/src/tooltip.d.ts +4 -4
- package/dist/{chunk-4T5JIPWY.mjs → chunk-3LXFQS7T.mjs} +1 -1
- package/dist/{chunk-3QWQ2MUQ.mjs → chunk-5E33VO6J.mjs} +3128 -2300
- package/dist/{chunk-3VT7LZY2.mjs → chunk-6X2OVO3S.mjs} +2 -2
- package/dist/{chunk-3PTVPAT4.mjs → chunk-HFMGVJCE.mjs} +388 -56
- package/dist/{chunk-E3NZYEKF.mjs → chunk-LBBPD2IW.mjs} +53 -2
- package/dist/{chunk-WUHKQBB6.mjs → chunk-MSHZO4SL.mjs} +23773 -18556
- package/dist/cli/index.mjs +6062 -3246
- package/dist/cli/init-docs/content/getting-started.md +2 -0
- package/dist/cli/init-docs/content/workflow-custom-block.md +5 -0
- package/dist/cli/init-docs/content/workflow-templates.md +93 -2
- package/dist/client/{accordion-SFIIZWNH.mjs → accordion-ESY65T56.mjs} +2 -2
- package/dist/client/{bookingForm-CFKZVWGA.mjs → bookingForm-JRFNZUHD.mjs} +12 -12
- package/dist/client/bookings.mjs +3568 -299
- package/dist/client/{carousel-ELXWSBLA.mjs → carousel-CPR5VWIP.mjs} +3 -3
- package/dist/client/{cart-6SSCPYY5.mjs → cart-ZUX5BA7O.mjs} +8 -7
- package/dist/client/{checkout-UFQ34HPV.mjs → checkout-RULGBADZ.mjs} +8 -7
- package/dist/client/{chunk-PA2LJH2M.mjs → chunk-52I7BGEK.mjs} +5 -4
- package/dist/client/{chunk-IUEDYLFJ.mjs → chunk-5ZEAZ33K.mjs} +1 -1
- package/dist/client/{chunk-V6XI4M2Q.mjs → chunk-BT6AEIKN.mjs} +1 -1
- package/dist/client/{chunk-3PEDD5KJ.mjs → chunk-DVNUDUVT.mjs} +1 -1
- package/dist/client/{chunk-YLMKMCSJ.mjs → chunk-GFSQNTRW.mjs} +1 -3
- package/dist/client/{chunk-NX6X3GRF.mjs → chunk-HXPWP5EN.mjs} +492 -201
- package/dist/client/{chunk-G56BSZAM.mjs → chunk-JWEYB4V6.mjs} +3 -3
- package/dist/client/chunk-L4J5Y62O.mjs +18 -0
- package/dist/client/{chunk-76JUETXQ.mjs → chunk-RDJFCPY3.mjs} +358 -157
- package/dist/client/{chunk-RMWMT3ZD.mjs → chunk-SYIJ5JO2.mjs} +1 -1
- package/dist/client/{chunk-NP47RHIX.mjs → chunk-URQCZD5W.mjs} +17 -34
- package/dist/client/{chunk-TCJS3NY5.mjs → chunk-Z5OBQ5I4.mjs} +1 -1
- package/dist/client/{chunk-7BXX7WXH.mjs → chunk-ZE5G642V.mjs} +60 -2
- package/dist/client/client.mjs +75121 -72133
- package/dist/client/{courseRegistration-HJIISAAG.mjs → courseRegistration-QTUDC35T.mjs} +13 -12
- package/dist/client/{eventCalendar-F6YVUCZR.mjs → eventCalendar-Q7NS4XLD.mjs} +14 -14
- package/dist/client/{eventCombined-B5DSTIOK.mjs → eventCombined-QAO7VUO5.mjs} +14 -14
- package/dist/client/{eventDetails-SEJDDHQC.mjs → eventDetails-WTNNU6Q3.mjs} +9 -9
- package/dist/client/{eventListing-TPMWIIBO.mjs → eventListing-5TA2ELDT.mjs} +14 -14
- package/dist/client/{eventRegistration-QU6W2PV6.mjs → eventRegistration-M6USZGRF.mjs} +17 -15
- package/dist/client/{form-LVTYNTDE.mjs → form-DGVGXLMH.mjs} +3 -3
- package/dist/client/{headerSection-SO3MFC4U.mjs → headerSection-O2AGMPCU.mjs} +4 -4
- package/dist/client/hooks.mjs +7289 -5663
- package/dist/client/{locationMap-5E5FLAKO.mjs → locationMap-EJRNRIKJ.mjs} +2 -2
- package/dist/client/{newsletterForm-GN32JEBQ.mjs → newsletterForm-7NTC2DTR.mjs} +3 -3
- package/dist/client/{productDetail-Q346KSVR.mjs → productDetail-HH4LP53D.mjs} +8 -7
- package/dist/client/{productList-DTDMQYGZ.mjs → productList-YVHYM2AF.mjs} +8 -7
- package/dist/client/rendering/client.mjs +3818 -2234
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +17370 -14360
- package/dist/client/{shop-OFUW7KPN.mjs → shop-UIFX7XRK.mjs} +8 -7
- package/dist/client/spam-protection.mjs +3 -5
- package/dist/preview-next/before-render.mjs +40 -0
- package/dist/preview-next/client/runtime.css +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +40 -0
- package/dist/{sdk-runtime-EEMNSB7J.css → sdk-runtime-JD4A6SU6.css} +1 -1
- package/dist/{sdk-runtime-2GIX6I7X.mjs → sdk-runtime-ZENAOYMN.mjs} +6 -6
- package/dist/server/components.mjs +13473 -11321
- package/dist/server/config-validation.mjs +7017 -5489
- package/dist/server/config.mjs +7017 -5489
- package/dist/server/data.mjs +7295 -5669
- package/dist/server/index.mjs +149 -56
- package/dist/server/next.mjs +14431 -12060
- package/dist/server/page-converter.mjs +8062 -5399
- package/dist/server/prebuild.mjs +2 -1
- package/dist/server/rendering/server.mjs +13510 -11263
- package/dist/server/rendering.mjs +13613 -11293
- package/dist/server/routing.mjs +30919 -29206
- package/dist/server/server.mjs +27669 -25919
- package/dist/server/theme-bridge.mjs +1288 -146
- package/dist/server/theme.mjs +221 -131
- package/dist/styles/index.css +416 -96
- package/package.json +16 -16
- package/dist/SdkPreviewModeRuntime-AKCSCZEC.mjs +0 -8
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import type { BlockApiConfig } from '../../api';
|
|
2
|
+
import type { PaymentMethod } from '../../api/types';
|
|
3
|
+
import type { EventRegistrationContentEntry } from '../event-registration.interactive';
|
|
4
|
+
import type { EligibilityData, FormData, Guest, GuestErrors, OccurrenceContext, PaymentSelection, PaymentStepState, PublicEvent, RegistrationEvent, RegistrationResult, RegistrationStep } from './types';
|
|
5
|
+
import type { SelectableEventTicketType } from './utils';
|
|
6
|
+
import type { PortalAuthState, PortalProfile } from './hooks';
|
|
7
|
+
import type { UseWaitlistClaimResult } from '../../shared/useWaitlistClaim';
|
|
8
|
+
import type { UseEventRegistrationWizardResult } from './useEventRegistrationWizard';
|
|
9
|
+
import type { EventRegistrationSubmitOptions, EventRegistrationSubmitResult } from './useEventRegistrationSubmit';
|
|
10
|
+
export declare const DEFAULT_EVENT_REGISTRATION_MAX_TICKETS = 5;
|
|
11
|
+
export type EventRegistrationLoadState<T> = Readonly<{
|
|
12
|
+
tag: 'idle';
|
|
13
|
+
value: T | null;
|
|
14
|
+
}> | Readonly<{
|
|
15
|
+
tag: 'loading';
|
|
16
|
+
value: T | null;
|
|
17
|
+
}> | Readonly<{
|
|
18
|
+
tag: 'loaded';
|
|
19
|
+
value: T;
|
|
20
|
+
}>;
|
|
21
|
+
export type EventRegistrationSubmitArgs = Readonly<{
|
|
22
|
+
method: PaymentMethod;
|
|
23
|
+
passId?: string;
|
|
24
|
+
membershipId?: string;
|
|
25
|
+
selection?: PaymentSelection;
|
|
26
|
+
}>;
|
|
27
|
+
export type EventRegistrationSubmitPlan = Readonly<{
|
|
28
|
+
ok: true;
|
|
29
|
+
args: EventRegistrationSubmitArgs;
|
|
30
|
+
}> | Readonly<{
|
|
31
|
+
ok: false;
|
|
32
|
+
reason: 'payment-selection-required';
|
|
33
|
+
message: string;
|
|
34
|
+
}>;
|
|
35
|
+
export type EventRegistrationFlowStatus = Readonly<{
|
|
36
|
+
tag: 'ready';
|
|
37
|
+
}> | Readonly<{
|
|
38
|
+
tag: 'submitting';
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
tag: 'redirecting';
|
|
41
|
+
}> | Readonly<{
|
|
42
|
+
tag: 'verifying-payment';
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
tag: 'verifying-timeout';
|
|
45
|
+
}> | Readonly<{
|
|
46
|
+
tag: 'payment-failed';
|
|
47
|
+
message: string;
|
|
48
|
+
}> | Readonly<{
|
|
49
|
+
tag: 'success';
|
|
50
|
+
result: RegistrationResult;
|
|
51
|
+
}> | Readonly<{
|
|
52
|
+
tag: 'error';
|
|
53
|
+
message: string;
|
|
54
|
+
}>;
|
|
55
|
+
export type EventRegistrationFlowView = Readonly<{
|
|
56
|
+
kind: 'empty';
|
|
57
|
+
message: string;
|
|
58
|
+
}> | Readonly<{
|
|
59
|
+
kind: 'unavailable';
|
|
60
|
+
message: string;
|
|
61
|
+
}> | Readonly<{
|
|
62
|
+
kind: 'form';
|
|
63
|
+
}> | Readonly<{
|
|
64
|
+
kind: 'verifying';
|
|
65
|
+
message: string;
|
|
66
|
+
}> | Readonly<{
|
|
67
|
+
kind: 'success';
|
|
68
|
+
result: RegistrationResult;
|
|
69
|
+
}> | Readonly<{
|
|
70
|
+
kind: 'error';
|
|
71
|
+
message: string;
|
|
72
|
+
}>;
|
|
73
|
+
export type EventRegistrationFlowStepId = 'select-event' | 'select-tickets' | 'enter-details' | 'select-payment';
|
|
74
|
+
export type EventRegistrationFlowStepState = 'complete' | 'active' | 'available' | 'blocked';
|
|
75
|
+
export type EventRegistrationFlowStep = Readonly<{
|
|
76
|
+
id: EventRegistrationFlowStepId;
|
|
77
|
+
label: string;
|
|
78
|
+
state: EventRegistrationFlowStepState;
|
|
79
|
+
index: number;
|
|
80
|
+
canEnter: boolean;
|
|
81
|
+
canLeave: boolean;
|
|
82
|
+
}>;
|
|
83
|
+
export type EventRegistrationFlowActionResult = Readonly<{
|
|
84
|
+
ok: true;
|
|
85
|
+
}> | Readonly<{
|
|
86
|
+
ok: false;
|
|
87
|
+
reason: 'blocked' | 'validation-failed' | 'submission-failed';
|
|
88
|
+
message: string;
|
|
89
|
+
}>;
|
|
90
|
+
export type EventRegistrationEventsModel = Readonly<{
|
|
91
|
+
items: readonly PublicEvent[];
|
|
92
|
+
scoped: readonly RegistrationEvent[];
|
|
93
|
+
selected: RegistrationEvent | null;
|
|
94
|
+
preSelected: RegistrationEvent | null;
|
|
95
|
+
hasPreSelectedContext: boolean;
|
|
96
|
+
target: UseEventRegistrationWizardResult['registrationTarget'];
|
|
97
|
+
occurrenceContext: OccurrenceContext | null | undefined;
|
|
98
|
+
contentEntry: EventRegistrationContentEntry | null | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
export type EventRegistrationTicketsModel = Readonly<{
|
|
101
|
+
count: number;
|
|
102
|
+
max: number;
|
|
103
|
+
selectedTicketTypeId: string | null;
|
|
104
|
+
selectedTicketType: SelectableEventTicketType | null;
|
|
105
|
+
visibleTicketTypes: readonly SelectableEventTicketType[];
|
|
106
|
+
selectionRequired: boolean;
|
|
107
|
+
hasValidSelection: boolean;
|
|
108
|
+
eventRequiresPayment: boolean;
|
|
109
|
+
selectedAttendanceMode: 'in_person' | 'online' | null;
|
|
110
|
+
}>;
|
|
111
|
+
export type EventRegistrationAttendeeModel = Readonly<{
|
|
112
|
+
values: FormData;
|
|
113
|
+
errors: Partial<Record<keyof FormData, string>>;
|
|
114
|
+
}>;
|
|
115
|
+
export type EventRegistrationGuestsModel = Readonly<{
|
|
116
|
+
required: boolean;
|
|
117
|
+
items: readonly Guest[];
|
|
118
|
+
errors: GuestErrors;
|
|
119
|
+
shake: boolean;
|
|
120
|
+
}>;
|
|
121
|
+
export type EventRegistrationPaymentSelection = Readonly<{
|
|
122
|
+
method: 'none';
|
|
123
|
+
}> | Readonly<{
|
|
124
|
+
method: 'free';
|
|
125
|
+
}> | Readonly<{
|
|
126
|
+
method: 'stripe';
|
|
127
|
+
}> | Readonly<{
|
|
128
|
+
method: 'pass';
|
|
129
|
+
passId: string;
|
|
130
|
+
productName?: string;
|
|
131
|
+
}> | Readonly<{
|
|
132
|
+
method: 'membership';
|
|
133
|
+
membershipId: string;
|
|
134
|
+
productName?: string;
|
|
135
|
+
}> | Readonly<{
|
|
136
|
+
method: 'pass_bundle';
|
|
137
|
+
passId: string;
|
|
138
|
+
productName?: string;
|
|
139
|
+
}> | Readonly<{
|
|
140
|
+
method: 'membership_bundle';
|
|
141
|
+
membershipId: string;
|
|
142
|
+
productName?: string;
|
|
143
|
+
}>;
|
|
144
|
+
export type EventRegistrationPaymentModel = Readonly<{
|
|
145
|
+
kind: 'hidden';
|
|
146
|
+
selection: EventRegistrationPaymentSelection;
|
|
147
|
+
stepState: PaymentStepState;
|
|
148
|
+
}> | Readonly<{
|
|
149
|
+
kind: 'loading' | 'error' | 'not-eligible' | 'ready';
|
|
150
|
+
selection: EventRegistrationPaymentSelection;
|
|
151
|
+
stepState: PaymentStepState;
|
|
152
|
+
eligibility: EligibilityData | null;
|
|
153
|
+
eligibilityError: string | null | undefined;
|
|
154
|
+
}>;
|
|
155
|
+
export type EventRegistrationDiscountModel = Readonly<{
|
|
156
|
+
code: string;
|
|
157
|
+
isOpen: boolean;
|
|
158
|
+
available: boolean;
|
|
159
|
+
manualCodeEntryAllowed: boolean;
|
|
160
|
+
loading: boolean;
|
|
161
|
+
autoAppliedDiscount: UseEventRegistrationWizardResult['autoAppliedDiscount'];
|
|
162
|
+
}>;
|
|
163
|
+
export type EventRegistrationPortalAuthModel = Readonly<{
|
|
164
|
+
state: PortalAuthState;
|
|
165
|
+
profile: PortalProfile | null;
|
|
166
|
+
isAuthenticated: boolean;
|
|
167
|
+
showMagicLinkModal: boolean;
|
|
168
|
+
}>;
|
|
169
|
+
export type EventRegistrationSpamProtectionModel = Readonly<{
|
|
170
|
+
enabled: false;
|
|
171
|
+
}> | Readonly<{
|
|
172
|
+
enabled: true;
|
|
173
|
+
provider: 'altcha';
|
|
174
|
+
challenge: {
|
|
175
|
+
url: string;
|
|
176
|
+
auto: 'onfocus';
|
|
177
|
+
};
|
|
178
|
+
solution: string | null;
|
|
179
|
+
}>;
|
|
180
|
+
export type EventRegistrationTerminalModel = Readonly<{
|
|
181
|
+
result: RegistrationResult | null;
|
|
182
|
+
errorMessage: string;
|
|
183
|
+
verification: UseEventRegistrationWizardResult['verification'];
|
|
184
|
+
}>;
|
|
185
|
+
export type EventRegistrationFlowActions = Readonly<{
|
|
186
|
+
selectEvent: (event: RegistrationEvent) => void;
|
|
187
|
+
selectAttendanceMode: (mode: 'in_person' | 'online' | null) => void;
|
|
188
|
+
selectTicketType: (ticketTypeId: string | null) => void;
|
|
189
|
+
setTicketsCount: (count: number) => void;
|
|
190
|
+
updateAttendee: (values: FormData) => void;
|
|
191
|
+
updateGuests: (guests: Guest[]) => void;
|
|
192
|
+
selectPayment: (selection: EventRegistrationPaymentSelection) => void;
|
|
193
|
+
setDiscountCode: (code: string) => void;
|
|
194
|
+
setDiscountOpen: (isOpen: boolean) => void;
|
|
195
|
+
setAltchaSolution: (solution: string | null) => void;
|
|
196
|
+
requestLogin: () => void;
|
|
197
|
+
logout: () => void;
|
|
198
|
+
next: () => Promise<EventRegistrationFlowActionResult>;
|
|
199
|
+
back: () => void;
|
|
200
|
+
submit: (options?: EventRegistrationSubmitOptions) => Promise<EventRegistrationSubmitResult>;
|
|
201
|
+
retry: () => void;
|
|
202
|
+
}>;
|
|
203
|
+
export type HeadlessEventRegistrationFlow = Readonly<{
|
|
204
|
+
status: EventRegistrationFlowStatus;
|
|
205
|
+
view: EventRegistrationFlowView;
|
|
206
|
+
steps: readonly EventRegistrationFlowStep[];
|
|
207
|
+
currentStep: EventRegistrationFlowStep | null;
|
|
208
|
+
events: EventRegistrationEventsModel;
|
|
209
|
+
tickets: EventRegistrationTicketsModel;
|
|
210
|
+
attendee: EventRegistrationAttendeeModel;
|
|
211
|
+
guests: EventRegistrationGuestsModel;
|
|
212
|
+
payment: EventRegistrationPaymentModel;
|
|
213
|
+
discount: EventRegistrationDiscountModel;
|
|
214
|
+
portalAuth: EventRegistrationPortalAuthModel;
|
|
215
|
+
existingRegistration: Readonly<{
|
|
216
|
+
state: EventRegistrationLoadState<UseEventRegistrationWizardResult['existingRegistration']>;
|
|
217
|
+
registration: UseEventRegistrationWizardResult['existingRegistration'];
|
|
218
|
+
}>;
|
|
219
|
+
waitlistClaim: UseWaitlistClaimResult;
|
|
220
|
+
spamProtection: EventRegistrationSpamProtectionModel;
|
|
221
|
+
terminal: EventRegistrationTerminalModel;
|
|
222
|
+
actions: EventRegistrationFlowActions;
|
|
223
|
+
}>;
|
|
224
|
+
export type EventRegistrationOverrideData = Readonly<{
|
|
225
|
+
events?: readonly PublicEvent[] | null;
|
|
226
|
+
}>;
|
|
227
|
+
export type EventRegistrationOverridePropsLike = Readonly<{
|
|
228
|
+
content?: Partial<{
|
|
229
|
+
maxTickets: string | null;
|
|
230
|
+
showVenue: boolean | null;
|
|
231
|
+
showCapacity: boolean | null;
|
|
232
|
+
successMessage: string | null;
|
|
233
|
+
waitlistMessage: string | null;
|
|
234
|
+
buttonVariant: 'primary' | 'secondary' | 'outline' | null;
|
|
235
|
+
buttonText: string | null;
|
|
236
|
+
spamProtectionEnabled: boolean | null;
|
|
237
|
+
supportEmail: string | null;
|
|
238
|
+
}> | null;
|
|
239
|
+
data?: EventRegistrationOverrideData | Record<string, unknown> | null;
|
|
240
|
+
siteId?: string;
|
|
241
|
+
apiBaseUrl?: string;
|
|
242
|
+
portalToken?: string | null;
|
|
243
|
+
previewToken?: string | null;
|
|
244
|
+
stage?: 'preview' | 'published';
|
|
245
|
+
occurrenceContext?: OccurrenceContext | null;
|
|
246
|
+
contentEntry?: Record<string, unknown> | null;
|
|
247
|
+
blockId?: string | null;
|
|
248
|
+
}>;
|
|
249
|
+
export type EventRegistrationOverrideInput = Readonly<{
|
|
250
|
+
siteId: string;
|
|
251
|
+
apiBaseUrl: string;
|
|
252
|
+
portalToken: string | null;
|
|
253
|
+
previewToken: string | null;
|
|
254
|
+
stage?: 'preview' | 'published';
|
|
255
|
+
occurrenceContext?: OccurrenceContext | null;
|
|
256
|
+
contentEntry?: EventRegistrationContentEntry | null;
|
|
257
|
+
events: readonly PublicEvent[];
|
|
258
|
+
maxTickets?: string;
|
|
259
|
+
showVenue?: boolean;
|
|
260
|
+
showCapacity?: boolean;
|
|
261
|
+
successMessage?: string;
|
|
262
|
+
waitlistMessage?: string;
|
|
263
|
+
buttonText?: string | null;
|
|
264
|
+
buttonVariant?: 'primary' | 'secondary' | 'outline';
|
|
265
|
+
spamProtectionEnabled?: boolean;
|
|
266
|
+
supportEmail?: string;
|
|
267
|
+
blockId?: string | null;
|
|
268
|
+
}>;
|
|
269
|
+
export type EventRegistrationOverrideInputResult = Readonly<{
|
|
270
|
+
ok: true;
|
|
271
|
+
value: EventRegistrationOverrideInput;
|
|
272
|
+
}> | Readonly<{
|
|
273
|
+
ok: false;
|
|
274
|
+
reason: 'missing-site-id' | 'missing-api-base-url';
|
|
275
|
+
message: string;
|
|
276
|
+
}>;
|
|
277
|
+
export declare function createEventRegistrationBlockApiConfig(input: Readonly<{
|
|
278
|
+
siteId: string;
|
|
279
|
+
apiBaseUrl: string;
|
|
280
|
+
portalToken?: string | null;
|
|
281
|
+
previewToken?: string | null;
|
|
282
|
+
stage?: 'preview' | 'published';
|
|
283
|
+
}>): BlockApiConfig;
|
|
284
|
+
export declare function getRegistrableStatuses(isPreview: boolean | undefined): readonly PublicEvent['status'][];
|
|
285
|
+
export declare function normalizeEventRegistrationMaxTickets(value: string | number | undefined): number;
|
|
286
|
+
export declare function getEventRegistrationOverrideInput(props: EventRegistrationOverridePropsLike): EventRegistrationOverrideInputResult;
|
|
287
|
+
export declare function toHeadlessPaymentSelection(selection: PaymentSelection): EventRegistrationPaymentSelection;
|
|
288
|
+
export declare function toInternalPaymentSelection(selection: EventRegistrationPaymentSelection): PaymentSelection;
|
|
289
|
+
export declare function resolveEventRegistrationSubmitPlan(input: Readonly<{
|
|
290
|
+
paymentSelection: PaymentSelection;
|
|
291
|
+
eventRequiresPayment: boolean;
|
|
292
|
+
canJoinWaitlist?: boolean | null;
|
|
293
|
+
}>): EventRegistrationSubmitPlan;
|
|
294
|
+
export declare function resolveHeadlessEventRegistrationStatus(wizard: Pick<UseEventRegistrationWizardResult, 'step' | 'registrationResult' | 'errorMessage'>): EventRegistrationFlowStatus;
|
|
295
|
+
export declare function resolveHeadlessEventRegistrationView(wizard: Readonly<Pick<UseEventRegistrationWizardResult, 'step' | 'scopedEvents' | 'occurrenceContext' | 'registrationResult' | 'errorMessage'> & {
|
|
296
|
+
api: Pick<UseEventRegistrationWizardResult['api'], 'config'>;
|
|
297
|
+
}>): EventRegistrationFlowView;
|
|
298
|
+
export declare function deriveEventRegistrationSteps(input: Readonly<{
|
|
299
|
+
step: RegistrationStep;
|
|
300
|
+
hasPreSelectedContext: boolean;
|
|
301
|
+
eventRequiresPayment: boolean;
|
|
302
|
+
paymentSelection: PaymentSelection;
|
|
303
|
+
}>): readonly EventRegistrationFlowStep[];
|
package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function resolveRegistrationTarget(input: Readonly<{
|
|
|
17
17
|
export declare function resolveEventRequiresPayment(input: Readonly<{
|
|
18
18
|
eligibility: Pick<EligibilityData, 'requiresPayment'> | null;
|
|
19
19
|
selectedTicketType: Pick<EligibilityEventTicketType | PublicEventTicketType, 'priceAmount'> | null;
|
|
20
|
-
event: Pick<RegistrationEvent, '
|
|
20
|
+
event: Pick<RegistrationEvent, 'pricing'> | null;
|
|
21
21
|
}>): boolean;
|
|
22
22
|
export declare function resolveDiscountContext(input: Readonly<{
|
|
23
23
|
paymentSelection: PaymentSelection;
|
|
@@ -84,10 +84,9 @@ export type EligibilityData = {
|
|
|
84
84
|
availableMemberships: AvailableMembership[];
|
|
85
85
|
};
|
|
86
86
|
export type { EligibilityEventTicketType, PublicEventTicketType, PublicEventTicketTypeAvailability };
|
|
87
|
-
export type RegistrationEvent = Omit<PublicEvent, 'id' | 'occurrenceId'
|
|
87
|
+
export type RegistrationEvent = Omit<PublicEvent, 'id' | 'occurrenceId'> & {
|
|
88
88
|
publicEventId: string;
|
|
89
89
|
registrationOccurrenceId: string;
|
|
90
|
-
ticketTypes: PublicEventTicketType[];
|
|
91
90
|
};
|
|
92
91
|
/**
|
|
93
92
|
* Payment selection state for the summary bar.
|
package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts
CHANGED
|
@@ -2,6 +2,25 @@ import type { BlockApiClient } from '../../api';
|
|
|
2
2
|
import type { FormData, Guest, RegistrationResult, RegistrationStep, PaymentSelection } from './types';
|
|
3
3
|
import type { PaymentMethod } from '../../api/types';
|
|
4
4
|
import type { RegistrationTarget } from './registrationDerivations';
|
|
5
|
+
export type EventRegistrationSubmitOptions = Readonly<{
|
|
6
|
+
redirect?: 'auto' | 'manual';
|
|
7
|
+
}>;
|
|
8
|
+
export type EventRegistrationSubmitResult = Readonly<{
|
|
9
|
+
ok: true;
|
|
10
|
+
outcome: {
|
|
11
|
+
kind: 'completed';
|
|
12
|
+
};
|
|
13
|
+
}> | Readonly<{
|
|
14
|
+
ok: true;
|
|
15
|
+
outcome: {
|
|
16
|
+
kind: 'checkout_redirect';
|
|
17
|
+
checkoutUrl: string;
|
|
18
|
+
};
|
|
19
|
+
}> | Readonly<{
|
|
20
|
+
ok: false;
|
|
21
|
+
reason: 'blocked' | 'missing-target' | 'submission-failed';
|
|
22
|
+
message: string;
|
|
23
|
+
}>;
|
|
5
24
|
export declare function useEventRegistrationSubmit(options: {
|
|
6
25
|
api: BlockApiClient;
|
|
7
26
|
registrationTarget: RegistrationTarget | null;
|
|
@@ -18,4 +37,4 @@ export declare function useEventRegistrationSubmit(options: {
|
|
|
18
37
|
setStep: (step: RegistrationStep) => void;
|
|
19
38
|
setRegistrationResult: (result: RegistrationResult) => void;
|
|
20
39
|
setErrorMessage: (message: string) => void;
|
|
21
|
-
}): (method: PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection) => Promise<
|
|
40
|
+
}): (method: PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection, submitOptions?: EventRegistrationSubmitOptions) => Promise<EventRegistrationSubmitResult>;
|
package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { DiscountContext } from '../../api/types';
|
|
2
2
|
import type { EventRegistrationClientProps, FormData, Guest, GuestErrors, PaymentSelection, PaymentStepState, PublicEvent, RegistrationEvent, RegistrationResult, RegistrationStep } from './types';
|
|
3
|
-
import type { PaymentMethod } from './PaymentSelectionStep';
|
|
4
3
|
export declare function useEventRegistrationWizard(options: {
|
|
5
4
|
anchorId: string;
|
|
6
5
|
occurrenceContext: EventRegistrationClientProps['occurrenceContext'];
|
|
@@ -61,6 +60,7 @@ export declare function useEventRegistrationWizard(options: {
|
|
|
61
60
|
altchaSolution: string | null;
|
|
62
61
|
setAltchaSolution: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
63
62
|
portalAuthState: import("./hooks").PortalAuthState;
|
|
63
|
+
portalProfile: import("./hooks").PortalProfile | null;
|
|
64
64
|
showMagicLinkModal: boolean;
|
|
65
65
|
setShowMagicLinkModal: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
66
66
|
handleLogout: () => void;
|
|
@@ -75,6 +75,7 @@ export declare function useEventRegistrationWizard(options: {
|
|
|
75
75
|
eligibilityError: string | null;
|
|
76
76
|
existingRegistration: import("../../api").CustomerEventRegistration | null;
|
|
77
77
|
existingRegistrationLoading: boolean;
|
|
78
|
+
existingRegistrationState: import("./hooks.state").ExistingRegistrationLookupState;
|
|
78
79
|
hasEligibility: boolean;
|
|
79
80
|
hasMembershipEligibility: boolean;
|
|
80
81
|
requireGuestDetails: boolean;
|
|
@@ -90,10 +91,10 @@ export declare function useEventRegistrationWizard(options: {
|
|
|
90
91
|
shouldShowDiscountToggle: boolean;
|
|
91
92
|
verification: import("../../hooks/usePaymentVerification").PaymentVerificationResult;
|
|
92
93
|
handleDetailsComplete: () => Promise<void>;
|
|
93
|
-
handlePaymentSelect: (
|
|
94
|
+
handlePaymentSelect: () => Promise<void>;
|
|
94
95
|
handleUseCardInsteadOfPass: () => void;
|
|
95
96
|
handleBookForSomeoneElse: () => void;
|
|
96
|
-
handleSubmit: (method: PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection) => Promise<
|
|
97
|
+
handleSubmit: (method: import("./PaymentSelectionStep").PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection, submitOptions?: import("./useEventRegistrationSubmit").EventRegistrationSubmitOptions) => Promise<import("./useEventRegistrationSubmit").EventRegistrationSubmitResult>;
|
|
97
98
|
handleEventSelect: (event: RegistrationEvent) => void;
|
|
98
99
|
handleRetry: () => void;
|
|
99
100
|
};
|
|
@@ -2,7 +2,7 @@ import type { EligibilityCheckResponse } from '../../api/types';
|
|
|
2
2
|
import type { EligibilityData, EligibilityEventTicketType, PublicEvent, PublicEventTicketType, RegistrationEvent } from './types';
|
|
3
3
|
export declare const DEFAULT_EVENT_CURRENCY = "usd";
|
|
4
4
|
export type SelectableEventTicketType = EligibilityEventTicketType | PublicEventTicketType;
|
|
5
|
-
type TicketTypeSourceEvent =
|
|
5
|
+
type TicketTypeSourceEvent = PublicEvent | RegistrationEvent;
|
|
6
6
|
/**
|
|
7
7
|
* Format date for display
|
|
8
8
|
*/
|
|
@@ -69,6 +69,7 @@ export declare function getVisibleTicketTypes(input: {
|
|
|
69
69
|
eligibility: EligibilityData | null;
|
|
70
70
|
selectedAttendanceMode?: 'in_person' | 'online' | null;
|
|
71
71
|
}): SelectableEventTicketType[];
|
|
72
|
+
export declare function getImplicitSingleAvailableTicketType(ticketTypes: readonly SelectableEventTicketType[]): SelectableEventTicketType | null;
|
|
72
73
|
export declare function findSelectedTicketType(input: {
|
|
73
74
|
event: TicketTypeSourceEvent | null;
|
|
74
75
|
eligibility: EligibilityData | null;
|
|
@@ -7,10 +7,13 @@ export type EventRegistrationContentEntry = Readonly<{
|
|
|
7
7
|
slug: string;
|
|
8
8
|
contentTypeSlug: string;
|
|
9
9
|
}>;
|
|
10
|
+
export declare const EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS: readonly ["Date", "Tickets", "Details"];
|
|
11
|
+
export type EventRegistrationGenericShellStepLabels = typeof EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS;
|
|
10
12
|
export type EventRegistrationSourceProps = Readonly<{
|
|
11
13
|
siteId?: string;
|
|
12
14
|
apiBaseUrl?: string;
|
|
13
15
|
portalToken?: string | null;
|
|
16
|
+
previewToken?: string | null;
|
|
14
17
|
occurrenceContext?: OccurrenceContext | null;
|
|
15
18
|
contentEntry?: EventRegistrationContentEntry | null;
|
|
16
19
|
events?: PublicEvent[] | null;
|
|
@@ -28,8 +31,11 @@ export type EventRegistrationSourceProps = Readonly<{
|
|
|
28
31
|
}>;
|
|
29
32
|
export type EventRegistrationDisplay = Readonly<{
|
|
30
33
|
kind: 'event-registration';
|
|
31
|
-
state: 'shell';
|
|
34
|
+
state: 'generic-shell';
|
|
32
35
|
className: string | null;
|
|
36
|
+
titleText: string;
|
|
37
|
+
bodyText: string;
|
|
38
|
+
stepLabels: EventRegistrationGenericShellStepLabels;
|
|
33
39
|
summaryButtonText: string;
|
|
34
40
|
}>;
|
|
35
41
|
export type EventRegistrationHydration = Readonly<Omit<InternalEventRegistrationClientProps, 'siteId' | 'stage' | 'registrationEndpoint' | 'eligibilityEndpoint' | 'checkoutEndpoint' | 'buttonText' | 'className'>>;
|
|
@@ -37,6 +43,7 @@ type EventRegistrationIslandMeta = Readonly<{
|
|
|
37
43
|
siteId?: string;
|
|
38
44
|
apiBaseUrl?: string;
|
|
39
45
|
portalToken?: string | null;
|
|
46
|
+
previewToken?: string | null;
|
|
40
47
|
stage?: 'preview' | 'published';
|
|
41
48
|
}>;
|
|
42
49
|
export declare function buildEventRegistrationDisplay(source: EventRegistrationSourceProps): EventRegistrationDisplay;
|
|
@@ -47,6 +54,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
47
54
|
siteId?: string;
|
|
48
55
|
apiBaseUrl?: string;
|
|
49
56
|
portalToken?: string | null;
|
|
57
|
+
previewToken?: string | null;
|
|
50
58
|
occurrenceContext?: OccurrenceContext | null;
|
|
51
59
|
contentEntry?: Readonly<{
|
|
52
60
|
id: string;
|
|
@@ -68,11 +76,14 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
68
76
|
}>) => Readonly<{
|
|
69
77
|
display: Readonly<{
|
|
70
78
|
kind: "event-registration";
|
|
71
|
-
state: "shell";
|
|
79
|
+
state: "generic-shell";
|
|
72
80
|
className: string | null;
|
|
81
|
+
titleText: string;
|
|
82
|
+
bodyText: string;
|
|
83
|
+
stepLabels: EventRegistrationGenericShellStepLabels;
|
|
73
84
|
summaryButtonText: string;
|
|
74
85
|
}>;
|
|
75
|
-
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "
|
|
86
|
+
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
76
87
|
}>;
|
|
77
88
|
contracts: Readonly<{
|
|
78
89
|
source: Readonly<{
|
|
@@ -80,6 +91,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
80
91
|
siteId?: string;
|
|
81
92
|
apiBaseUrl?: string;
|
|
82
93
|
portalToken?: string | null;
|
|
94
|
+
previewToken?: string | null;
|
|
83
95
|
occurrenceContext?: OccurrenceContext | null;
|
|
84
96
|
contentEntry?: Readonly<{
|
|
85
97
|
id: string;
|
|
@@ -103,6 +115,7 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
103
115
|
siteId?: string;
|
|
104
116
|
apiBaseUrl?: string;
|
|
105
117
|
portalToken?: string | null;
|
|
118
|
+
previewToken?: string | null;
|
|
106
119
|
occurrenceContext?: OccurrenceContext | null;
|
|
107
120
|
contentEntry?: Readonly<{
|
|
108
121
|
id: string;
|
|
@@ -127,20 +140,26 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
127
140
|
encode: (value: Readonly<{
|
|
128
141
|
display: Readonly<{
|
|
129
142
|
kind: "event-registration";
|
|
130
|
-
state: "shell";
|
|
143
|
+
state: "generic-shell";
|
|
131
144
|
className: string | null;
|
|
145
|
+
titleText: string;
|
|
146
|
+
bodyText: string;
|
|
147
|
+
stepLabels: EventRegistrationGenericShellStepLabels;
|
|
132
148
|
summaryButtonText: string;
|
|
133
149
|
}>;
|
|
134
|
-
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "
|
|
150
|
+
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
135
151
|
}>) => unknown;
|
|
136
152
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
137
153
|
display: Readonly<{
|
|
138
154
|
kind: "event-registration";
|
|
139
|
-
state: "shell";
|
|
155
|
+
state: "generic-shell";
|
|
140
156
|
className: string | null;
|
|
157
|
+
titleText: string;
|
|
158
|
+
bodyText: string;
|
|
159
|
+
stepLabels: EventRegistrationGenericShellStepLabels;
|
|
141
160
|
summaryButtonText: string;
|
|
142
161
|
}>;
|
|
143
|
-
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "
|
|
162
|
+
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
144
163
|
}>>;
|
|
145
164
|
}>;
|
|
146
165
|
}>;
|
|
@@ -150,6 +169,7 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
150
169
|
siteId?: string;
|
|
151
170
|
apiBaseUrl?: string;
|
|
152
171
|
portalToken?: string | null;
|
|
172
|
+
previewToken?: string | null;
|
|
153
173
|
stage?: "preview" | "published";
|
|
154
174
|
}> & {
|
|
155
175
|
renderKind: "client-owned";
|
|
@@ -158,17 +178,21 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
158
178
|
} & Readonly<{
|
|
159
179
|
display: Readonly<{
|
|
160
180
|
kind: "event-registration";
|
|
161
|
-
state: "shell";
|
|
181
|
+
state: "generic-shell";
|
|
162
182
|
className: string | null;
|
|
183
|
+
titleText: string;
|
|
184
|
+
bodyText: string;
|
|
185
|
+
stepLabels: EventRegistrationGenericShellStepLabels;
|
|
163
186
|
summaryButtonText: string;
|
|
164
187
|
}>;
|
|
165
|
-
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "
|
|
188
|
+
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
166
189
|
}>>;
|
|
167
190
|
}>) => unknown;
|
|
168
191
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<Readonly<{
|
|
169
192
|
siteId?: string;
|
|
170
193
|
apiBaseUrl?: string;
|
|
171
194
|
portalToken?: string | null;
|
|
195
|
+
previewToken?: string | null;
|
|
172
196
|
stage?: "preview" | "published";
|
|
173
197
|
}> & {
|
|
174
198
|
renderKind: "client-owned";
|
|
@@ -177,11 +201,14 @@ export declare const eventRegistrationInteractiveIslandPropsCodec: Readonly<{
|
|
|
177
201
|
} & Readonly<{
|
|
178
202
|
display: Readonly<{
|
|
179
203
|
kind: "event-registration";
|
|
180
|
-
state: "shell";
|
|
204
|
+
state: "generic-shell";
|
|
181
205
|
className: string | null;
|
|
206
|
+
titleText: string;
|
|
207
|
+
bodyText: string;
|
|
208
|
+
stepLabels: EventRegistrationGenericShellStepLabels;
|
|
182
209
|
summaryButtonText: string;
|
|
183
210
|
}>;
|
|
184
|
-
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "
|
|
211
|
+
hydration: Readonly<Omit<InternalEventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText" | "registrationEndpoint" | "eligibilityEndpoint" | "checkoutEndpoint">>;
|
|
185
212
|
}>>;
|
|
186
213
|
}>>;
|
|
187
214
|
}>;
|
|
@@ -8,5 +8,5 @@ type EventRegistrationProps = EventRegistrationSourceProps & Readonly<{
|
|
|
8
8
|
* Server-safe placeholder for event registration.
|
|
9
9
|
* Provides a static container for island hydration without importing client hooks.
|
|
10
10
|
*/
|
|
11
|
-
export declare function EventRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, occurrenceContext, contentEntry, events, className, buttonText, maxTickets, showVenue, showCapacity, successMessage, waitlistMessage, buttonVariant, spamProtectionEnabled, stage, supportEmail, children, }: EventRegistrationProps):
|
|
11
|
+
export declare function EventRegistrationSSR({ blockId, siteId, apiBaseUrl, portalToken, previewToken, occurrenceContext, contentEntry, events, className, buttonText, maxTickets, showVenue, showCapacity, successMessage, waitlistMessage, buttonVariant, spamProtectionEnabled, stage, supportEmail, children, }: EventRegistrationProps): React.JSX.Element;
|
|
12
12
|
export default EventRegistrationSSR;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export type DateTimeTileProps = {
|
|
2
3
|
startsAt: string;
|
|
3
4
|
endsAt: string;
|
|
@@ -7,4 +8,4 @@ export type DateTimeTileProps = {
|
|
|
7
8
|
* Shared tile content for displaying date and time range.
|
|
8
9
|
* Used by event-details "Other dates" and course-details "Sessions".
|
|
9
10
|
*/
|
|
10
|
-
export declare function DateTimeTile({ startsAt, endsAt, timeZone }: DateTimeTileProps):
|
|
11
|
+
export declare function DateTimeTile({ startsAt, endsAt, timeZone }: DateTimeTileProps): React.JSX.Element;
|
|
@@ -6,6 +6,7 @@ type DayEventsModalProps = {
|
|
|
6
6
|
showCapacity: boolean;
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
onSelectEvent: (event: PublicEvent) => void;
|
|
9
|
+
portalRoot?: HTMLElement | null;
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
11
12
|
* DayEventsModal - Modal overlay showing all events for a specific day
|
|
@@ -13,5 +14,5 @@ type DayEventsModalProps = {
|
|
|
13
14
|
* Uses AgendaEventCard with onClick prop to display events.
|
|
14
15
|
* Clicking an event triggers onSelectEvent (typically opens EventDetailModal).
|
|
15
16
|
*/
|
|
16
|
-
export declare function DayEventsModal({ date, events, showCapacity, onClose, onSelectEvent, }: DayEventsModalProps): React.ReactElement;
|
|
17
|
+
export declare function DayEventsModal({ date, events, showCapacity, onClose, onSelectEvent, portalRoot, }: DayEventsModalProps): React.ReactElement;
|
|
17
18
|
export default DayEventsModal;
|
|
@@ -4,6 +4,7 @@ type EventDetailModalProps = {
|
|
|
4
4
|
event: PublicEvent;
|
|
5
5
|
showCapacity: boolean;
|
|
6
6
|
onClose: () => void;
|
|
7
|
+
portalRoot?: HTMLElement | null;
|
|
7
8
|
cardVariant?: EventCardVariantInput;
|
|
8
9
|
buttonVariant?: ButtonVariant;
|
|
9
10
|
buttonText?: string;
|
|
@@ -15,5 +16,5 @@ type EventDetailModalProps = {
|
|
|
15
16
|
* Reuses EventCard component directly for DRY implementation.
|
|
16
17
|
* EventCard already includes the CTA button to navigate to the full event page.
|
|
17
18
|
*/
|
|
18
|
-
export declare function EventDetailModal({ event, showCapacity, onClose, cardVariant, buttonVariant, buttonText, showMap, }: EventDetailModalProps): React.ReactElement;
|
|
19
|
+
export declare function EventDetailModal({ event, showCapacity, onClose, portalRoot, cardVariant, buttonVariant, buttonText, showMap, }: EventDetailModalProps): React.ReactElement;
|
|
19
20
|
export default EventDetailModal;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PublicEventPricing } from '../../../../../../../core/src/index';
|
|
2
|
+
import type { PublicEventTicketType } from '../../../../blocks/events/shared/types';
|
|
3
|
+
type RuntimeEventPricingSource = {
|
|
4
|
+
pricing?: unknown;
|
|
5
|
+
requiresRegistration?: boolean | null;
|
|
6
|
+
pricingType?: unknown;
|
|
7
|
+
price?: unknown;
|
|
8
|
+
currency?: unknown;
|
|
9
|
+
priceDisplay?: unknown;
|
|
10
|
+
pricingMode?: unknown;
|
|
11
|
+
ticketTypes?: unknown;
|
|
12
|
+
};
|
|
13
|
+
export declare function resolveRuntimeEventPricing(event: RuntimeEventPricingSource): PublicEventPricing<PublicEventTicketType>;
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { GiftingInteractiveIslandProps } from './gifting.interactive';
|
|
2
3
|
type GiftingClientProps = GiftingInteractiveIslandProps;
|
|
3
|
-
export declare function GiftingClient(props: GiftingClientProps):
|
|
4
|
+
export declare function GiftingClient(props: GiftingClientProps): React.JSX.Element;
|
|
4
5
|
export default GiftingClient;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type GiftingSourceProps } from './gifting.interactive';
|
|
2
3
|
type GiftingSSRProps = Readonly<{
|
|
3
4
|
blockId?: string | null;
|
|
4
5
|
}> & GiftingSourceProps;
|
|
5
|
-
export declare function GiftingSSR({ blockId, ...rest }: GiftingSSRProps):
|
|
6
|
+
export declare function GiftingSSR({ blockId, ...rest }: GiftingSSRProps): React.JSX.Element;
|
|
6
7
|
export default GiftingSSR;
|