@riverbankcms/sdk 0.62.2 → 0.64.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 +11 -0
- package/dist/_dts/api/src/accessAdmin.d.ts +71 -2
- package/dist/_dts/api/src/aiEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/billing.d.ts +46 -10
- package/dist/_dts/api/src/bookingClosures.d.ts +106 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +27 -1
- package/dist/_dts/api/src/calendar.d.ts +11 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +12 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -0
- package/dist/_dts/api/src/contentVersionHistory.d.ts +52 -0
- package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +45 -0
- package/dist/_dts/api/src/courses.d.ts +3 -0
- package/dist/_dts/api/src/endpoints.d.ts +133 -6
- package/dist/_dts/api/src/index.d.ts +12 -6
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +29 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +13 -1
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +31 -7
- package/dist/_dts/api/src/siteMembers.d.ts +10 -1
- package/dist/_dts/api/src/siteOnboarding.d.ts +4 -0
- package/dist/_dts/api/src/siteOperations.d.ts +10 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +62 -12
- package/dist/_dts/api/src/types.d.ts +4 -2
- package/dist/_dts/api/src/url.d.ts +3 -3
- package/dist/_dts/billing/src/plans/registry.d.ts +1 -0
- package/dist/_dts/billing/src/plans/types.d.ts +9 -0
- package/dist/_dts/block-form/src/FormRenderer.d.ts +38 -0
- package/dist/_dts/block-form/src/backend/adapter.d.ts +7 -0
- package/dist/_dts/block-form/src/backend/hooks/useRepeaterBackend.d.ts +34 -0
- package/dist/_dts/block-form/src/backend/hooks.d.ts +66 -0
- package/dist/_dts/block-form/src/backend/index.d.ts +12 -0
- package/dist/_dts/block-form/src/backend/rhf-backend.d.ts +34 -0
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +60 -0
- package/dist/_dts/block-form/src/backend/types.d.ts +137 -0
- package/dist/_dts/block-form/src/backend/useBackendWatch.d.ts +22 -0
- package/dist/_dts/block-form/src/backend/utils/getErrorMessage.d.ts +1 -0
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +70 -0
- package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +1 -0
- package/dist/_dts/block-form/src/client/index.d.ts +30 -0
- package/dist/_dts/block-form/src/context/BlockContext.d.ts +29 -0
- package/dist/_dts/block-form/src/context/DisplayLabelResolverContext.d.ts +33 -0
- package/dist/_dts/block-form/src/context/FieldPreviewResolverContext.d.ts +30 -0
- package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -0
- package/dist/_dts/block-form/src/context/index.d.ts +4 -0
- package/dist/_dts/block-form/src/fields/props.d.ts +48 -0
- package/dist/_dts/block-form/src/fields/types.d.ts +223 -0
- package/dist/_dts/block-form/src/index.d.ts +22 -0
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +37 -0
- package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +5 -0
- package/dist/_dts/block-form/src/manifest/filterSdkTabs.d.ts +44 -0
- package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +61 -0
- package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +24 -0
- package/dist/_dts/block-form/src/palette/PaletteContext.d.ts +11 -0
- package/dist/_dts/block-form/src/registry/schemas.d.ts +105 -0
- package/dist/_dts/block-form/src/registry/widgets.d.ts +59 -0
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +110 -0
- package/dist/_dts/block-form/src/sdk-config/hooks.d.ts +21 -0
- package/dist/_dts/block-form/src/sdk-config/index.d.ts +2 -0
- package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -0
- package/dist/_dts/block-form/src/shared/hooks/index.d.ts +2 -0
- package/dist/_dts/block-form/src/shared/hooks/useCoarsePointer.d.ts +5 -0
- package/dist/_dts/block-form/src/shared/hooks/useContainerWidth.d.ts +6 -0
- package/dist/_dts/block-form/src/utils/VisibilityWrapper.d.ts +25 -0
- package/dist/_dts/block-form/src/utils/computeWatchedPath.d.ts +18 -0
- package/dist/_dts/block-form/src/utils/evaluateVisibility.d.ts +9 -0
- package/dist/_dts/block-form/src/utils/fieldHelpers.d.ts +94 -0
- package/dist/_dts/block-form/src/utils/resolvePromotedFields.d.ts +22 -0
- package/dist/_dts/block-form/src/utils/slug.d.ts +3 -0
- package/dist/_dts/block-form/src/utils/typeGuards.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorField.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/BackgroundColorWidget.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/BackgroundColorWidget/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientField.d.ts +13 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/BooleanField.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/booleanFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/booleanFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/BooleanField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/BoxStyleWidget/BoxStyleWidget.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/BoxStyleWidget/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/ContentTypeSelectField/contentTypeSelectFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/ContentTypeSelectField/contentTypeSelectFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/DateField/DateField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/DateField/dateFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/DateField/dateFieldSchema.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +32 -0
- package/dist/_dts/block-form/src/widgets/DateField/index.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/DateTimeField.d.ts +30 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/dateTimeFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/dateTimeFieldSchema.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/index.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/utils/dateTimeUtils.d.ts +22 -0
- package/dist/_dts/block-form/src/widgets/DateTimeField/utils/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/EntryPickerField/entryPickerFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/EntryPickerField/entryPickerFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/Field.d.ts +21 -0
- package/dist/_dts/block-form/src/widgets/FieldFrame.d.ts +32 -0
- package/dist/_dts/block-form/src/widgets/FieldSettingsModal/FieldSettingsModal.d.ts +34 -0
- package/dist/_dts/block-form/src/widgets/FieldSettingsModal/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/GroupField/GroupField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/GroupField/groupFieldDefaults.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/GroupField/groupFieldSchema.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/GroupField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/LinkField/linkFieldDefaults.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/LinkField/linkFieldSchema.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/MediaField/mediaFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/MediaField/mediaFieldSchema.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/ModalGroupField.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/modalFieldDefaults.d.ts +18 -0
- package/dist/_dts/block-form/src/widgets/ModalGroupField/modalFieldSchema.d.ts +14 -0
- package/dist/_dts/block-form/src/widgets/NumberField/NumberField.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/NumberField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/NumberField/numberFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/NumberField/numberFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/PresetOrCustomField.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/index.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/presetOrCustomFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/presetOrCustomFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/PresetOrCustomField/types.d.ts +37 -0
- package/dist/_dts/block-form/src/widgets/ReferenceField/referenceFieldDefaults.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/ReferenceField/referenceFieldSchema.d.ts +4 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/RepeaterField.d.ts +26 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterDragHandle.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterError.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterHeader.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +27 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +19 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowContent.d.ts +19 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterTabbedEditDialog.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailCard.d.ts +26 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterThumbnailGrid.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/index.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +34 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/layoutGridCapacityDecision.d.ts +22 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridCapacity.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLinearRepeaterDnd.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterRowErrors.d.ts +12 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterVisibility.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useResolvedItemLabel.d.ts +12 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/repeaterFieldDefaults.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/repeaterFieldSchema.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildItemLabel.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/createDefaultItem.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/getRepeaterItemFieldGroups.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/getRepeaterItemFields.d.ts +22 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/index.d.ts +10 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/layoutGridCapacityContext.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +43 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +24 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +12 -0
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldDefaults.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/SdkSelectField/SdkSelectField.d.ts +11 -0
- package/dist/_dts/block-form/src/widgets/SdkSelectField/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/SelectField/SelectField.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/SelectField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/SelectField/selectFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/SelectField/selectFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/SelectWidget.d.ts +34 -0
- package/dist/_dts/block-form/src/widgets/SettingsModal/SettingsModal.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/SettingsModal/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/SliderField/SliderField.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/SliderField/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/SlugField/SlugField.d.ts +39 -0
- package/dist/_dts/block-form/src/widgets/SlugField/hooks/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/SlugField/hooks/useSlugAutoGeneration.d.ts +29 -0
- package/dist/_dts/block-form/src/widgets/SlugField/index.d.ts +5 -0
- package/dist/_dts/block-form/src/widgets/SlugField/slugFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/SlugField/slugFieldSchema.d.ts +14 -0
- package/dist/_dts/block-form/src/widgets/SlugField/utils/index.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/SlugField/utils/pathUtils.d.ts +30 -0
- package/dist/_dts/block-form/src/widgets/SlugField/utils/slugUtils.d.ts +17 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/TabGroupField.d.ts +13 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/tabGroupFieldSchema.d.ts +25 -0
- package/dist/_dts/block-form/src/widgets/TabGroupField/types.d.ts +46 -0
- package/dist/_dts/block-form/src/widgets/TextField/TextField.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/TextField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/TextField/textFieldDefaults.d.ts +6 -0
- package/dist/_dts/block-form/src/widgets/TextField/textFieldSchema.d.ts +7 -0
- package/dist/_dts/block-form/src/widgets/TextInputWidget.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/TimeField/TimeField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/TimeField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/TimeField/timeFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/TimeField/timeFieldSchema.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/ToggleWidget.d.ts +16 -0
- package/dist/_dts/block-form/src/widgets/UrlField/UrlField.d.ts +23 -0
- package/dist/_dts/block-form/src/widgets/UrlField/index.d.ts +3 -0
- package/dist/_dts/block-form/src/widgets/UrlField/urlFieldDefaults.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/UrlField/urlFieldSchema.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/constants.d.ts +58 -0
- package/dist/_dts/block-form/src/widgets/groupFieldHelpers.d.ts +61 -0
- package/dist/_dts/block-form/src/widgets/index.d.ts +20 -0
- package/dist/_dts/block-form/src/widgets/selectValueMapping.d.ts +9 -0
- package/dist/_dts/block-form/src/widgets/types/modalConfig.d.ts +18 -0
- package/dist/_dts/block-form/src/widgets/utils/readNumericUiConfig.d.ts +10 -0
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +4 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +25 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +6 -6
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/view.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.state.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +19 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +8 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/themeColorResolution.d.ts +7 -0
- package/dist/_dts/calendar/src/grid.d.ts +60 -0
- package/dist/_dts/calendar/src/group.d.ts +14 -0
- package/dist/_dts/calendar/src/index.d.ts +6 -0
- package/dist/_dts/calendar/src/lane-packing.d.ts +28 -0
- package/dist/_dts/calendar/src/timetable.d.ts +90 -0
- package/dist/_dts/calendar/src/timezone.d.ts +19 -0
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +24 -0
- package/dist/_dts/content-editor/src/index.d.ts +2 -4
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +1 -0
- package/dist/_dts/core/src/branded.d.ts +18 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1192 -234
- package/dist/_dts/db/src/schemas/forms.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/index.d.ts +7 -7
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -2
- package/dist/_dts/editor-blocks/src/widgets/link/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/index.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +31 -8
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +6 -5
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +72 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +6 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +12 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +10 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +7 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeButton.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +49 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeEditableSurface.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +15 -2
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +8 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControlStyles.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +9 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +8 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +49 -0
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +18 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +5 -0
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +17 -0
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +6 -0
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +77 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +45 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +21 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +30 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +9 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +50 -0
- package/dist/_dts/sdk/src/cli/merge-remote/stableJson.d.ts +3 -0
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +85 -0
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +30 -0
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +1 -0
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +23 -0
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +8 -0
- package/dist/_dts/site-commands/src/commands.d.ts +1944 -0
- package/dist/_dts/site-commands/src/domain.d.ts +104 -0
- package/dist/_dts/site-commands/src/guards.d.ts +1 -0
- package/dist/_dts/site-commands/src/index.d.ts +9 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +412 -0
- package/dist/_dts/site-commands/src/planner.d.ts +51 -0
- package/dist/_dts/site-commands/src/refContributions.d.ts +10 -0
- package/dist/_dts/site-commands/src/refs.d.ts +75 -0
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +10 -0
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +2 -21
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +3 -67
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +4 -62
- package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +24 -0
- package/dist/_dts/theme-core/src/site-styles/customizableSurfaces.d.ts +94 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +59 -0
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +155 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +7 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +15 -1
- package/dist/_dts/theme-core/src/site-styles/records.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +96 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +1 -2
- package/dist/_dts/theme-core/src/siteChrome.d.ts +44 -2
- package/dist/_dts/theme-core/src/tokens/colorTokenParts.d.ts +13 -0
- package/dist/_dts/theme-core/src/tokens/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +29 -0
- package/dist/_dts/theme-core/src/utils/tokenOrColor.d.ts +27 -1
- package/dist/cli/index.mjs +5049 -932
- package/dist/cli/init-docs/content/cli-reference.md +18 -0
- package/dist/client/bookings.mjs +544 -393
- package/dist/client/client.mjs +5189 -4144
- package/dist/client/hooks.mjs +3233 -2540
- package/dist/client/rendering/client.mjs +4649 -3597
- package/dist/client/rendering/islands.mjs +19533 -13480
- package/dist/client/rendering.mjs +5218 -4171
- package/dist/preview-next/before-render.mjs +161 -6
- package/dist/preview-next/client/runtime.mjs +5676 -3565
- package/dist/preview-next/editor-base.css +31 -0
- package/dist/preview-next/middleware.mjs +154 -6
- package/dist/server/components.mjs +3333 -2575
- package/dist/server/config-validation.mjs +3447 -2754
- package/dist/server/config.mjs +3450 -2757
- package/dist/server/data.mjs +3233 -2540
- package/dist/server/index.mjs +730 -543
- package/dist/server/next.mjs +3651 -2893
- package/dist/server/page-converter.mjs +2512 -2031
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3333 -2575
- package/dist/server/rendering.mjs +3352 -2594
- package/dist/server/routing.mjs +3351 -2640
- package/dist/server/server.mjs +3262 -2569
- package/dist/server/theme-bridge.mjs +1260 -767
- package/dist/server/theme.mjs +623 -498
- package/dist/styles/index.css +33 -0
- package/package.json +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/colorResolution.d.ts +0 -13
- package/dist/_dts/content-editor/src/ai/patch/allowed.d.ts +0 -2
- package/dist/_dts/content-editor/src/ai/patch/diff.d.ts +0 -17
- package/dist/_dts/content-editor/src/ai/patch/schema.d.ts +0 -49
- package/dist/_dts/preview-next/src/client/blocks/overlay.d.ts +0 -30
- package/dist/_dts/theme-core/src/site-styles/siteChromeAppearancePresets.d.ts +0 -67
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modal configuration options for modal-based widgets.
|
|
3
|
+
*
|
|
4
|
+
* Used by ModalGroupField and BoxStyleWidget to configure the trigger button
|
|
5
|
+
* and dialog appearance.
|
|
6
|
+
*/
|
|
7
|
+
export type ModalConfig = {
|
|
8
|
+
/** Text for the trigger button */
|
|
9
|
+
buttonLabel?: string;
|
|
10
|
+
/** Description shown in dialog header */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Button variant: 'default' (filled) or 'outline' */
|
|
13
|
+
buttonVariant?: 'default' | 'outline';
|
|
14
|
+
/** Show "(customized)" indicator when fields have values (default: true) */
|
|
15
|
+
showCustomizedIndicator?: boolean;
|
|
16
|
+
/** Dialog max width Tailwind class (default: 'max-w-3xl') */
|
|
17
|
+
maxWidth?: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type NumericInputUiConfig = {
|
|
2
|
+
min?: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
step?: number;
|
|
5
|
+
};
|
|
6
|
+
export type SliderUiConfig = NumericInputUiConfig & {
|
|
7
|
+
showValue?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function readNumberFieldUiConfig(ui: unknown): NumericInputUiConfig;
|
|
10
|
+
export declare function readSliderFieldUiConfig(ui: unknown): SliderUiConfig;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export type { BindingSource, BindingDescriptor, BindingInput, BindingMap, BindingContext, BindingPath, BindingTransformName, KnownBindingTransformName, FieldBindingDescriptor, MetaBindingDescriptor, LiteralBindingDescriptor, TransformBindingDescriptor, FallbackBindingDescriptor, } from './types';
|
|
8
8
|
export { TRANSFORMS, BINDING_SOURCES } from './types';
|
|
9
|
-
export { asContentTemplateDesignBlockId, asLayoutVariantKey, compileContentTemplateRuntimeFields, parseContentTemplateDesignIntent, type CompiledBlockRuntimeFields, type LayoutVariantKey, } from '@riverbankcms/theme-core/site-styles';
|
|
10
|
-
export { applyCompiledRuntimeFieldsToContent } from '@riverbankcms/theme-core/site-styles/previewCompiler';
|
|
9
|
+
export { asDesignBlockId, asContentTemplateDesignBlockId, asLayoutVariantKey, buildPageDesignEditorReadModel, compileContentTemplateRuntimeFields, parsePageDesignIntent, type DesignBlockId, parseContentTemplateDesignIntent, type CompiledBlockRuntimeFields, type LayoutVariantKey, type PageDesignEditorBlockInput, type PageDesignIntent, applyBlockContentVariantPolicy, deriveSiteStyleBlockPolicy, } from '@riverbankcms/theme-core/site-styles';
|
|
10
|
+
export { applyCompiledRuntimeFieldsToContent, buildEditorModelRuntimeFieldsByBlockId, } from '@riverbankcms/theme-core/site-styles/previewCompiler';
|
|
11
11
|
export { blockDesignMetadataMapFromDefinitions } from '../system/designCapabilities';
|
|
12
12
|
export { systemBlockDefinitions } from '../system/blocks';
|
|
13
13
|
import type { BindingContext, BindingDescriptor, BindingInput, BindingMap, BindingPath, FieldBindingDescriptor, FallbackBindingDescriptor, KnownBindingTransformName, LiteralBindingDescriptor, MetaBindingDescriptor, TransformBindingDescriptor } from './types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ResponsiveSlidesToShow } from '../system/runtime/nodes/carousel.shared';
|
|
2
|
+
import { type EventAutoApplyDiscountPreview } from '../system/blocks/event-details';
|
|
2
3
|
import type { PublicMembershipProduct, PublicPassProduct } from '../system/blocks/shop.shared';
|
|
3
4
|
import type { PublicEvent } from '../system/blocks/events/shared/types';
|
|
4
5
|
import type { OccurrenceContextLike } from '../system/runtime/nodes/event-details/logic';
|
|
@@ -45,6 +46,7 @@ export type EventDetailsIslandProps = Readonly<{
|
|
|
45
46
|
siteMemberships?: Readonly<{
|
|
46
47
|
memberships: readonly PublicMembershipProduct[];
|
|
47
48
|
}> | null;
|
|
49
|
+
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
48
50
|
className?: string | null;
|
|
49
51
|
nowIso?: string;
|
|
50
52
|
}>;
|
|
@@ -115,6 +117,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
115
117
|
siteMemberships?: Readonly<{
|
|
116
118
|
memberships: readonly PublicMembershipProduct[];
|
|
117
119
|
}> | null;
|
|
120
|
+
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
118
121
|
className?: string | null;
|
|
119
122
|
nowIso?: string;
|
|
120
123
|
}>) => unknown;
|
|
@@ -139,6 +142,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
139
142
|
siteMemberships?: Readonly<{
|
|
140
143
|
memberships: readonly PublicMembershipProduct[];
|
|
141
144
|
}> | null;
|
|
145
|
+
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
142
146
|
className?: string | null;
|
|
143
147
|
nowIso?: string;
|
|
144
148
|
}>>;
|
|
@@ -2076,6 +2076,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
2076
2076
|
siteMemberships?: Readonly<{
|
|
2077
2077
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
2078
2078
|
}> | null;
|
|
2079
|
+
autoApplyDiscount?: import("..").EventAutoApplyDiscountPreview | null;
|
|
2079
2080
|
className?: string | null;
|
|
2080
2081
|
nowIso?: string;
|
|
2081
2082
|
}>) => unknown;
|
|
@@ -2100,6 +2101,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
2100
2101
|
siteMemberships?: Readonly<{
|
|
2101
2102
|
memberships: readonly import("..").PublicMembershipProduct[];
|
|
2102
2103
|
}> | null;
|
|
2104
|
+
autoApplyDiscount?: import("..").EventAutoApplyDiscountPreview | null;
|
|
2103
2105
|
className?: string | null;
|
|
2104
2106
|
nowIso?: string;
|
|
2105
2107
|
}>>;
|
|
@@ -29083,7 +29083,7 @@ export declare const appointmentBookingManifest: import("..").DefinedBlockManife
|
|
|
29083
29083
|
} | undefined;
|
|
29084
29084
|
}, "schema"> & {
|
|
29085
29085
|
schema: {
|
|
29086
|
-
fields: import("
|
|
29086
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29087
29087
|
};
|
|
29088
29088
|
} & {
|
|
29089
29089
|
id: "_sectionStyles";
|
|
@@ -23,7 +23,7 @@ export declare const blogListingManifest: import("..").DefinedBlockManifest<impo
|
|
|
23
23
|
readonly description: "Display posts as a vertical list.";
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
readonly additionalFields: readonly [import("
|
|
26
|
+
readonly additionalFields: readonly [import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, Omit<{
|
|
27
27
|
id: string;
|
|
28
28
|
label: string;
|
|
29
29
|
required: boolean;
|
|
@@ -29057,7 +29057,7 @@ export declare const blogListingManifest: import("..").DefinedBlockManifest<impo
|
|
|
29057
29057
|
} | undefined;
|
|
29058
29058
|
}, "schema"> & {
|
|
29059
29059
|
schema: {
|
|
29060
|
-
fields: import("
|
|
29060
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29061
29061
|
};
|
|
29062
29062
|
} & {
|
|
29063
29063
|
id: "_cardStyles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
3
|
export declare const blogPostManifest: import("..").DefinedBlockManifest<{
|
|
4
|
-
readonly additionalFields: import("
|
|
4
|
+
readonly additionalFields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
5
5
|
}>;
|
|
6
6
|
export type BlogPostContent = {
|
|
7
7
|
title?: string | null;
|
|
@@ -29070,7 +29070,7 @@ export declare const cartManifest: import("..").DefinedBlockManifest<import(".."
|
|
|
29070
29070
|
} | undefined;
|
|
29071
29071
|
}, "schema"> & {
|
|
29072
29072
|
schema: {
|
|
29073
|
-
fields: import("
|
|
29073
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29074
29074
|
};
|
|
29075
29075
|
} & {
|
|
29076
29076
|
id: "_sectionStyles";
|
|
@@ -29063,7 +29063,7 @@ export declare const checkoutManifest: import("..").DefinedBlockManifest<import(
|
|
|
29063
29063
|
} | undefined;
|
|
29064
29064
|
}, "schema"> & {
|
|
29065
29065
|
schema: {
|
|
29066
|
-
fields: import("
|
|
29066
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29067
29067
|
};
|
|
29068
29068
|
} & {
|
|
29069
29069
|
id: "_sectionStyles";
|
|
@@ -2,7 +2,7 @@ import type { SystemBlockDefinition } from "../registry";
|
|
|
2
2
|
import type { SemanticSpacing } from "../spacing";
|
|
3
3
|
import { type CardStylesContent } from "../fields/boxStyles";
|
|
4
4
|
export declare const collectionManifest: import("..").DefinedBlockManifest<{
|
|
5
|
-
readonly additionalFields: readonly [import("
|
|
5
|
+
readonly additionalFields: readonly [import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("..").RepeaterFieldDefinition, Omit<{
|
|
6
6
|
id: string;
|
|
7
7
|
label: string;
|
|
8
8
|
required: boolean;
|
|
@@ -29036,7 +29036,7 @@ export declare const collectionManifest: import("..").DefinedBlockManifest<{
|
|
|
29036
29036
|
} | undefined;
|
|
29037
29037
|
}, "schema"> & {
|
|
29038
29038
|
schema: {
|
|
29039
|
-
fields: import("
|
|
29039
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29040
29040
|
};
|
|
29041
29041
|
} & {
|
|
29042
29042
|
id: "_cardStyles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from '../registry';
|
|
2
2
|
import type { SemanticSpacing } from '../spacing';
|
|
3
3
|
export declare const columnsManifest: import("..").DefinedBlockManifest<{
|
|
4
|
-
readonly additionalFields: readonly [import("
|
|
4
|
+
readonly additionalFields: readonly [import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("..").RepeaterFieldDefinition];
|
|
5
5
|
}>;
|
|
6
6
|
export type ColumnsContent = {
|
|
7
7
|
equalHeight?: boolean;
|
|
@@ -306,9 +306,9 @@ export declare const publicCourseSchema: z.ZodObject<{
|
|
|
306
306
|
enrollmentCapacity: z.ZodNullable<z.ZodNumber>;
|
|
307
307
|
acceptsMemberships: z.ZodBoolean;
|
|
308
308
|
status: z.ZodEnum<{
|
|
309
|
+
active: "active";
|
|
309
310
|
draft: "draft";
|
|
310
311
|
cancelled: "cancelled";
|
|
311
|
-
active: "active";
|
|
312
312
|
}>;
|
|
313
313
|
sessionsCount: z.ZodNumber;
|
|
314
314
|
enrolledCount: z.ZodNumber;
|
|
@@ -502,9 +502,9 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
502
502
|
enrollmentCapacity: z.ZodNullable<z.ZodNumber>;
|
|
503
503
|
acceptsMemberships: z.ZodBoolean;
|
|
504
504
|
status: z.ZodEnum<{
|
|
505
|
+
active: "active";
|
|
505
506
|
draft: "draft";
|
|
506
507
|
cancelled: "cancelled";
|
|
507
|
-
active: "active";
|
|
508
508
|
}>;
|
|
509
509
|
sessionsCount: z.ZodNumber;
|
|
510
510
|
enrolledCount: z.ZodNumber;
|
|
@@ -30742,7 +30742,7 @@ declare const ctaFullConfig: {
|
|
|
30742
30742
|
}> | undefined;
|
|
30743
30743
|
}, "schema" | "itemTypes"> & {
|
|
30744
30744
|
schema?: {
|
|
30745
|
-
fields: import("
|
|
30745
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30746
30746
|
};
|
|
30747
30747
|
itemTypes?: Record<string, import("..").ItemTypeDefinition>;
|
|
30748
30748
|
} & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
1
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
3
|
import type { SectionStylesContent } from "../fields/boxStyles";
|
|
3
4
|
/**
|
|
@@ -110,4 +111,28 @@ export type EventDetailsContent = {
|
|
|
110
111
|
showAcceptedMemberships?: boolean | null;
|
|
111
112
|
_sectionStyles?: SectionStylesContent;
|
|
112
113
|
};
|
|
114
|
+
type EventAutoApplyDiscountPreviewBase = {
|
|
115
|
+
id: string;
|
|
116
|
+
publicLabel: string;
|
|
117
|
+
description: string | null;
|
|
118
|
+
minTicketsRequired: number | null;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Local structural equivalent of `EventAutoApplyDiscountPreview` from
|
|
122
|
+
* `@riverbankcms/api`. `@riverbankcms/blocks` deliberately does not depend on
|
|
123
|
+
* the api package — see `system/blocks/shared/teamMembers.ts` for the rationale.
|
|
124
|
+
* Keep this type in sync with the api-side definition; the guardrail lives in
|
|
125
|
+
* `@riverbankcms/api/src/eventAutoApplyDiscountPreview.typetest.ts`.
|
|
126
|
+
*/
|
|
127
|
+
export type EventAutoApplyDiscountPreview = (EventAutoApplyDiscountPreviewBase & {
|
|
128
|
+
discountType: "percent";
|
|
129
|
+
discountPercent: number;
|
|
130
|
+
discountAmountCents: null;
|
|
131
|
+
}) | (EventAutoApplyDiscountPreviewBase & {
|
|
132
|
+
discountType: "fixed";
|
|
133
|
+
discountPercent: null;
|
|
134
|
+
discountAmountCents: number;
|
|
135
|
+
});
|
|
136
|
+
export declare const eventAutoApplyDiscountPreviewSchema: z.ZodType<EventAutoApplyDiscountPreview>;
|
|
113
137
|
export declare const eventDetailsBlockDefinition: SystemBlockDefinition<EventDetailsContent>;
|
|
138
|
+
export {};
|
|
@@ -1785,7 +1785,7 @@ export declare const eventSpotlightManifest: import("../..").DefinedBlockManifes
|
|
|
1785
1785
|
readonly options?: undefined;
|
|
1786
1786
|
readonly multiline?: undefined;
|
|
1787
1787
|
readonly maxLength?: undefined;
|
|
1788
|
-
})[], import("
|
|
1788
|
+
})[], import("@riverbankcms/block-form/backend").FieldDefinition, Omit<{
|
|
1789
1789
|
id: string;
|
|
1790
1790
|
label: string;
|
|
1791
1791
|
required: boolean;
|
|
@@ -30819,7 +30819,7 @@ export declare const eventSpotlightManifest: import("../..").DefinedBlockManifes
|
|
|
30819
30819
|
} | undefined;
|
|
30820
30820
|
}, "schema"> & {
|
|
30821
30821
|
schema: {
|
|
30822
|
-
fields: import("
|
|
30822
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30823
30823
|
};
|
|
30824
30824
|
} & {
|
|
30825
30825
|
id: "_sectionStyles";
|
|
@@ -459,8 +459,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
459
459
|
profilePath: z.ZodNullable<z.ZodString>;
|
|
460
460
|
}, z.core.$strip>>>;
|
|
461
461
|
status: z.ZodOptional<z.ZodEnum<{
|
|
462
|
-
draft: "draft";
|
|
463
462
|
active: "active";
|
|
463
|
+
draft: "draft";
|
|
464
464
|
archived: "archived";
|
|
465
465
|
}>>;
|
|
466
466
|
timeZone: z.ZodString;
|
|
@@ -1018,8 +1018,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1018
1018
|
profilePath: z.ZodNullable<z.ZodString>;
|
|
1019
1019
|
}, z.core.$strip>>>;
|
|
1020
1020
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1021
|
-
draft: "draft";
|
|
1022
1021
|
active: "active";
|
|
1022
|
+
draft: "draft";
|
|
1023
1023
|
archived: "archived";
|
|
1024
1024
|
}>>;
|
|
1025
1025
|
timeZone: z.ZodString;
|
|
@@ -29097,7 +29097,7 @@ export declare const faqManifest: import("..").DefinedBlockManifest<import("..")
|
|
|
29097
29097
|
} | undefined;
|
|
29098
29098
|
}, "schema"> & {
|
|
29099
29099
|
schema: {
|
|
29100
|
-
fields: import("
|
|
29100
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29101
29101
|
};
|
|
29102
29102
|
} & {
|
|
29103
29103
|
id: "_cardStyles";
|
|
@@ -40,7 +40,7 @@ export declare const fileDownloadManifest: import("..").DefinedBlockManifest<imp
|
|
|
40
40
|
readonly required: false;
|
|
41
41
|
readonly multiline: false;
|
|
42
42
|
readonly maxLength: 60;
|
|
43
|
-
}, import("
|
|
43
|
+
}, import("@riverbankcms/block-form/backend").FieldDefinition];
|
|
44
44
|
readonly layout: import("..").NodeDefinition;
|
|
45
45
|
readonly styleTokens: {
|
|
46
46
|
readonly background: "surface";
|
|
@@ -29091,7 +29091,7 @@ export declare const giftingManifest: import("..").DefinedBlockManifest<import("
|
|
|
29091
29091
|
} | undefined;
|
|
29092
29092
|
}, "schema"> & {
|
|
29093
29093
|
schema: {
|
|
29094
|
-
fields: import("
|
|
29094
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29095
29095
|
};
|
|
29096
29096
|
} & {
|
|
29097
29097
|
id: "_sectionStyles";
|
|
@@ -6,7 +6,7 @@ export declare const imageGalleryManifest: import("..").DefinedBlockManifest<imp
|
|
|
6
6
|
readonly id: "block.image-gallery";
|
|
7
7
|
readonly title: "Image Gallery";
|
|
8
8
|
readonly category: "content";
|
|
9
|
-
readonly additionalFields: import("
|
|
9
|
+
readonly additionalFields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
10
10
|
readonly layout: NodeDefinition;
|
|
11
11
|
readonly variants: {
|
|
12
12
|
readonly grid: NodeDefinition;
|
|
@@ -20,7 +20,7 @@ export type LocationMapContent = {
|
|
|
20
20
|
};
|
|
21
21
|
export declare function normalizeLocationMapContent(content: unknown): LocationMapContent;
|
|
22
22
|
export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
23
|
-
readonly additionalFields: readonly [import("
|
|
23
|
+
readonly additionalFields: readonly [import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, {
|
|
24
24
|
id: string;
|
|
25
25
|
label: string;
|
|
26
26
|
required: boolean;
|
|
@@ -139,7 +139,7 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
139
139
|
} | {
|
|
140
140
|
kind: "sdk";
|
|
141
141
|
} | undefined;
|
|
142
|
-
}, import("
|
|
142
|
+
}, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition];
|
|
143
143
|
}>;
|
|
144
144
|
export declare const locationMapBlockDefinition: SystemBlockDefinition<LocationMapContent>;
|
|
145
145
|
export {};
|
|
@@ -74,7 +74,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
74
74
|
readonly ui: {
|
|
75
75
|
readonly intent: "display";
|
|
76
76
|
};
|
|
77
|
-
}, import("
|
|
77
|
+
}, import("@riverbankcms/block-form/backend").FieldDefinition, {
|
|
78
78
|
readonly id: "gap";
|
|
79
79
|
readonly type: "select";
|
|
80
80
|
readonly label: "Gap between media and text";
|
|
@@ -1919,7 +1919,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
1919
1919
|
readonly polymorphic?: boolean | undefined;
|
|
1920
1920
|
readonly allowConversion: boolean;
|
|
1921
1921
|
readonly schema?: {
|
|
1922
|
-
fields: import("
|
|
1922
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
1923
1923
|
};
|
|
1924
1924
|
readonly itemTypes?: Record<string, import("..").ItemTypeDefinition>;
|
|
1925
1925
|
} | {
|
|
@@ -2027,7 +2027,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2027
2027
|
intent?: "content" | "style" | "display" | "behavior" | undefined;
|
|
2028
2028
|
} | undefined;
|
|
2029
2029
|
readonly schema: {
|
|
2030
|
-
fields: import("
|
|
2030
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
2031
2031
|
};
|
|
2032
2032
|
} | {
|
|
2033
2033
|
readonly id: string;
|
|
@@ -2134,7 +2134,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2134
2134
|
intent?: "content" | "style" | "display" | "behavior" | undefined;
|
|
2135
2135
|
} | undefined;
|
|
2136
2136
|
readonly schema: {
|
|
2137
|
-
fields: import("
|
|
2137
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
2138
2138
|
};
|
|
2139
2139
|
} | {
|
|
2140
2140
|
readonly id: string;
|
|
@@ -2242,7 +2242,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2242
2242
|
} | undefined;
|
|
2243
2243
|
readonly activeTabField?: string | undefined;
|
|
2244
2244
|
readonly tabs: import("..").TabDefinition[];
|
|
2245
|
-
}, ...import("
|
|
2245
|
+
}, ...import("@riverbankcms/block-form/backend").FieldDefinition[], {
|
|
2246
2246
|
readonly id: "aspectRatio";
|
|
2247
2247
|
readonly type: "select";
|
|
2248
2248
|
readonly label: "Media aspect ratio";
|
|
@@ -2392,7 +2392,7 @@ export declare const mediaTextManifest: import("..").DefinedBlockManifest<import
|
|
|
2392
2392
|
defaultValue?: any;
|
|
2393
2393
|
visibleRoles?: ("admin" | "designer" | "author")[] | undefined;
|
|
2394
2394
|
schema: {
|
|
2395
|
-
fields: import("
|
|
2395
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
2396
2396
|
};
|
|
2397
2397
|
__boxStyleType?: "card" | undefined;
|
|
2398
2398
|
}];
|
|
@@ -29100,7 +29100,7 @@ export declare const productDetailManifest: import("..").DefinedBlockManifest<im
|
|
|
29100
29100
|
} | undefined;
|
|
29101
29101
|
}, "schema"> & {
|
|
29102
29102
|
schema: {
|
|
29103
|
-
fields: import("
|
|
29103
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29104
29104
|
};
|
|
29105
29105
|
} & {
|
|
29106
29106
|
id: "_sectionStyles";
|
|
@@ -29131,7 +29131,7 @@ export declare const productListManifest: import("..").DefinedBlockManifest<impo
|
|
|
29131
29131
|
} | undefined;
|
|
29132
29132
|
}, "schema"> & {
|
|
29133
29133
|
schema: {
|
|
29134
|
-
fields: import("
|
|
29134
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29135
29135
|
};
|
|
29136
29136
|
} & {
|
|
29137
29137
|
id: "_sectionStyles";
|
|
@@ -29174,8 +29174,8 @@ export declare const productListDataSchema: z.ZodObject<{
|
|
|
29174
29174
|
slug: z.ZodString;
|
|
29175
29175
|
path: z.ZodNullable<z.ZodString>;
|
|
29176
29176
|
status: z.ZodEnum<{
|
|
29177
|
-
draft: "draft";
|
|
29178
29177
|
active: "active";
|
|
29178
|
+
draft: "draft";
|
|
29179
29179
|
}>;
|
|
29180
29180
|
priceCents: z.ZodNumber;
|
|
29181
29181
|
currency: z.ZodString;
|
|
@@ -14,8 +14,8 @@ export declare const publicProductSchema: z.ZodObject<{
|
|
|
14
14
|
slug: z.ZodString;
|
|
15
15
|
path: z.ZodNullable<z.ZodString>;
|
|
16
16
|
status: z.ZodEnum<{
|
|
17
|
-
draft: "draft";
|
|
18
17
|
active: "active";
|
|
18
|
+
draft: "draft";
|
|
19
19
|
}>;
|
|
20
20
|
priceCents: z.ZodNumber;
|
|
21
21
|
currency: z.ZodString;
|
|
@@ -59,8 +59,8 @@ export declare const publicProductsResponseSchema: z.ZodObject<{
|
|
|
59
59
|
slug: z.ZodString;
|
|
60
60
|
path: z.ZodNullable<z.ZodString>;
|
|
61
61
|
status: z.ZodEnum<{
|
|
62
|
-
draft: "draft";
|
|
63
62
|
active: "active";
|
|
63
|
+
draft: "draft";
|
|
64
64
|
}>;
|
|
65
65
|
priceCents: z.ZodNumber;
|
|
66
66
|
currency: z.ZodString;
|
|
@@ -29214,7 +29214,7 @@ export declare const shopManifest: import("..").DefinedBlockManifest<import(".."
|
|
|
29214
29214
|
} | undefined;
|
|
29215
29215
|
}, "schema"> & {
|
|
29216
29216
|
schema: {
|
|
29217
|
-
fields: import("
|
|
29217
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
29218
29218
|
};
|
|
29219
29219
|
} & {
|
|
29220
29220
|
id: "_sectionStyles";
|
|
@@ -14,7 +14,7 @@ export declare const teamMembersManifest: import("..").DefinedBlockManifest<impo
|
|
|
14
14
|
readonly title: "Team Members";
|
|
15
15
|
readonly category: "content";
|
|
16
16
|
readonly titleSource: "heading";
|
|
17
|
-
readonly additionalFields: readonly [import("
|
|
17
|
+
readonly additionalFields: readonly [import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, import("@riverbankcms/block-form/backend").FieldDefinition, {
|
|
18
18
|
readonly ui: {
|
|
19
19
|
readonly intent: "content";
|
|
20
20
|
readonly visibleWhen: {
|
|
@@ -36,7 +36,7 @@ export declare const teamMembersManifest: import("..").DefinedBlockManifest<impo
|
|
|
36
36
|
readonly polymorphic?: boolean | undefined;
|
|
37
37
|
readonly allowConversion: boolean;
|
|
38
38
|
readonly schema?: {
|
|
39
|
-
fields: import("
|
|
39
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
40
40
|
};
|
|
41
41
|
readonly itemTypes?: Record<string, import("..").ItemTypeDefinition>;
|
|
42
42
|
}];
|
|
@@ -24,7 +24,7 @@ export declare const testimonialsManifest: import("..").DefinedBlockManifest<imp
|
|
|
24
24
|
readonly icon: "Grid";
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
readonly additionalFields: import("
|
|
27
|
+
readonly additionalFields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
28
28
|
readonly description: "Display customer testimonials in carousel or grid layouts.";
|
|
29
29
|
readonly tags: readonly ["testimonials", "reviews", "quotes", "feedback", "social-proof", "customers", "carousel"];
|
|
30
30
|
readonly icon: "MessageSquareQuote";
|
|
@@ -5,7 +5,7 @@ export declare const videoGridManifest: import("..").DefinedBlockManifest<import
|
|
|
5
5
|
readonly title: "Video Grid";
|
|
6
6
|
readonly category: "media";
|
|
7
7
|
readonly skipSectionStyles: true;
|
|
8
|
-
readonly additionalFields: import("
|
|
8
|
+
readonly additionalFields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
9
9
|
readonly layout: NodeDefinition;
|
|
10
10
|
readonly description: "Display a collection of YouTube, Vimeo, and Instagram videos in a responsive grid.";
|
|
11
11
|
readonly tags: readonly ["video", "youtube", "vimeo", "instagram", "gallery", "grid", "media", "embed"];
|
|
@@ -30775,7 +30775,7 @@ export declare const cardFragment: import("..").DefinedFragment<{
|
|
|
30775
30775
|
}> | undefined;
|
|
30776
30776
|
}, "schema" | "itemTypes"> & {
|
|
30777
30777
|
schema?: {
|
|
30778
|
-
fields: import("
|
|
30778
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30779
30779
|
};
|
|
30780
30780
|
itemTypes?: Record<string, import("../..").ItemTypeDefinition>;
|
|
30781
30781
|
} & {
|
|
@@ -30712,7 +30712,7 @@ export declare const ctaRowFragment: import("..").DefinedFragment<{
|
|
|
30712
30712
|
}> | undefined;
|
|
30713
30713
|
}, "schema" | "itemTypes"> & {
|
|
30714
30714
|
schema?: {
|
|
30715
|
-
fields: import("
|
|
30715
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30716
30716
|
};
|
|
30717
30717
|
itemTypes?: Record<string, import("../..").ItemTypeDefinition>;
|
|
30718
30718
|
} & {
|
|
@@ -30764,7 +30764,7 @@ export declare const feedbackCalloutFragment: import("..").DefinedFragment<{
|
|
|
30764
30764
|
}> | undefined;
|
|
30765
30765
|
}, "schema" | "itemTypes"> & {
|
|
30766
30766
|
schema?: {
|
|
30767
|
-
fields: import("
|
|
30767
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30768
30768
|
};
|
|
30769
30769
|
itemTypes?: Record<string, import("../..").ItemTypeDefinition>;
|
|
30770
30770
|
} & {
|
|
@@ -30712,7 +30712,7 @@ export declare const heroCtaRowFragment: import("..").DefinedFragment<{
|
|
|
30712
30712
|
}> | undefined;
|
|
30713
30713
|
}, "schema" | "itemTypes"> & {
|
|
30714
30714
|
schema?: {
|
|
30715
|
-
fields: import("
|
|
30715
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30716
30716
|
};
|
|
30717
30717
|
itemTypes?: Record<string, import("../..").ItemTypeDefinition>;
|
|
30718
30718
|
} & {
|
|
@@ -30755,7 +30755,7 @@ export declare const sectionStateFragment: import("..").DefinedFragment<{
|
|
|
30755
30755
|
}> | undefined;
|
|
30756
30756
|
}, "schema" | "itemTypes"> & {
|
|
30757
30757
|
schema?: {
|
|
30758
|
-
fields: import("
|
|
30758
|
+
fields: import("@riverbankcms/block-form/backend").FieldDefinition[];
|
|
30759
30759
|
};
|
|
30760
30760
|
itemTypes?: Record<string, import("../..").ItemTypeDefinition>;
|
|
30761
30761
|
} & {
|
|
@@ -2851,6 +2851,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2851
2851
|
siteMemberships?: Readonly<{
|
|
2852
2852
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2853
2853
|
}> | null;
|
|
2854
|
+
autoApplyDiscount?: import("../..").EventAutoApplyDiscountPreview | null;
|
|
2854
2855
|
className?: string | null;
|
|
2855
2856
|
nowIso?: string;
|
|
2856
2857
|
}>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { EventAutoApplyDiscountPreview } from '../../../blocks/event-details';
|
|
2
3
|
import type { PublicPassProduct, PublicMembershipProduct } from '../../../blocks/shop';
|
|
3
4
|
import type { EventDetailsSelection } from './logic';
|
|
5
|
+
export declare function formatAutoApplyDiscountLine(preview: EventAutoApplyDiscountPreview, currency: string): string;
|
|
4
6
|
type RenderVenueMapArgs = {
|
|
5
7
|
venueName: string;
|
|
6
8
|
location: {
|
|
@@ -20,9 +22,10 @@ export type EventDetailsViewProps = {
|
|
|
20
22
|
showAcceptedMemberships?: boolean;
|
|
21
23
|
applicablePasses?: PublicPassProduct[];
|
|
22
24
|
applicableMemberships?: PublicMembershipProduct[];
|
|
25
|
+
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
23
26
|
mapHeight?: number;
|
|
24
27
|
mapClassName?: string;
|
|
25
28
|
renderVenueMap?: (args: RenderVenueMapArgs) => React.ReactNode;
|
|
26
29
|
};
|
|
27
|
-
export declare function EventDetailsView({ selection, showVenue, showMap, showOtherDates, showCost, showAcceptedPasses, showAcceptedMemberships, applicablePasses, applicableMemberships, mapHeight, mapClassName, renderVenueMap, }: EventDetailsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function EventDetailsView({ selection, showVenue, showMap, showOtherDates, showCost, showAcceptedPasses, showAcceptedMemberships, applicablePasses, applicableMemberships, autoApplyDiscount, mapHeight, mapClassName, renderVenueMap, }: EventDetailsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
28
31
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { EventAutoApplyDiscountPreview } from '../../blocks/event-details';
|
|
2
3
|
import type { EventDetailsContentEntry, EventDetailsIslandProps } from '../../../contracts';
|
|
3
4
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
4
5
|
import type { PublicPassProduct, PublicMembershipProduct } from '../../blocks/shop';
|
|
@@ -22,11 +23,13 @@ export type EventDetailsClientProps = Readonly<{
|
|
|
22
23
|
siteMemberships?: {
|
|
23
24
|
memberships: PublicMembershipProduct[];
|
|
24
25
|
} | null;
|
|
26
|
+
/** Best auto-apply discount code to advertise under the price, if any */
|
|
27
|
+
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
25
28
|
className?: string | null;
|
|
26
29
|
nowIso?: string;
|
|
27
30
|
children?: React.ReactNode;
|
|
28
31
|
}>;
|
|
29
32
|
export type EventDetailsIslandClientProps = EventDetailsIslandProps;
|
|
30
|
-
export declare function EventDetailsClient({ occurrenceContext, events, showVenue, showMap, showOtherDates, otherDatesLimit, showCost, showAcceptedPasses, showAcceptedMemberships, sitePasses, siteMemberships, className, nowIso, children, }: EventDetailsClientProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare function EventDetailsClient({ occurrenceContext, events, showVenue, showMap, showOtherDates, otherDatesLimit, showCost, showAcceptedPasses, showAcceptedMemberships, sitePasses, siteMemberships, autoApplyDiscount, className, nowIso, children, }: EventDetailsClientProps): import("react/jsx-runtime").JSX.Element;
|
|
31
34
|
export declare function EventDetailsIslandClient(props: EventDetailsIslandClientProps): import("react/jsx-runtime").JSX.Element;
|
|
32
35
|
export default EventDetailsClient;
|