@riverbankcms/sdk 0.130.2 → 0.134.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/CHANGELOG.md +13 -3
- package/dist/{PreviewEditorSidebar-BY-1QdE2.mjs → PreviewEditorSidebar-DfRhJPFQ.mjs} +351 -95
- package/dist/{PreviewEditorUI-BS34jI9_.mjs → PreviewEditorUI-Dppxcr_g.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BD0kOjtI.mjs → PreviewQueryProvider-D51gQaG3.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-B1pWnhu-.mjs → SdkPreviewModeRuntime-8CyGCXir.mjs} +91 -21
- package/dist/{SiteChromeCustomizeContext-BhUG_72i.mjs → SiteChromeCustomizeContext-DVMTMvqA.mjs} +6896 -4335
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1105 -533
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +363 -276
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +13 -9
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +8 -19
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +31 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +2 -14
- package/dist/_dts/api/src/bookingVerticals.d.ts +1 -140
- package/dist/_dts/api/src/bookings.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +45 -12
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -2
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +2 -2
- package/dist/_dts/api/src/courses.d.ts +1 -19
- package/dist/_dts/api/src/endpoints.d.ts +469 -349
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +91 -1
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +32 -0
- package/dist/_dts/api/src/giftingDashboard.d.ts +117 -0
- package/dist/_dts/api/src/giftingEndpointDefinitions.d.ts +124 -0
- package/dist/_dts/api/src/index.d.ts +4 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/media.d.ts +1 -0
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -6
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +3 -4
- package/dist/_dts/api/src/navigation/linkResolver.d.ts +6 -2
- package/dist/_dts/api/src/navigation/types.d.ts +23 -6
- package/dist/_dts/api/src/navigation.d.ts +1 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +15 -0
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +11 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +28 -13
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +2 -0
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +3 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +3 -3
- package/dist/_dts/api/src/sdkBookingVerticalContracts.d.ts +29 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +9 -32
- package/dist/_dts/api/src/sdkEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/sdkSettingsContracts.d.ts +25 -0
- package/dist/_dts/api/src/sdkThemeCatalogContracts.d.ts +20 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +64 -54
- package/dist/_dts/api/src/siteBanner.d.ts +4 -2
- package/dist/_dts/api/src/siteOnboarding.d.ts +3 -3
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +4 -10
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +0 -3
- package/dist/_dts/api/src/types.d.ts +2 -3
- package/dist/_dts/api/src/webhooks.d.ts +12 -12
- package/dist/_dts/blocks/src/PageRenderer.d.ts +2 -13
- package/dist/_dts/blocks/src/client.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +9 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +54 -116
- package/dist/_dts/blocks/src/index.d.ts +4 -3
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -2
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/index.d.ts +0 -3
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +2 -50
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +1 -929
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -97
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +39 -6
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -3
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -20
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +5 -9
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/index.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/pricing.d.ts +50 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +135 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +84 -0
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +148 -148
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/shared/bookingConsent.d.ts +36 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +7 -8
- package/dist/_dts/blocks/src/system/manifest/hydrateLinks.d.ts +9 -2
- package/dist/_dts/blocks/src/system/manifest/resolveBlockData.d.ts +8 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +79 -79
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -11
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts +3 -19
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +45 -72
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +22 -37
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/hooks/useSelectedAppointmentConsentForm.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.consent.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.fields.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +38 -144
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -19
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +19 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +25 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +75 -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 +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SiteCreditPreviewPanel.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +21 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/siteCreditPreview.d.ts +51 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +6 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/validation.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/BookingModeStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/CheckIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/ErrorStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/MembershipHero.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PaymentFailedStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/StepIndicator.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/VerifyingTimeoutStep.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationActiveSteps.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/CourseRegistrationErrorBoundary.d.ts → event-registration/whole-series/WholeSeriesRegistrationErrorBoundary.d.ts} +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationTerminalContent.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationWizard.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +46 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/index.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/presentation.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/types.d.ts +18 -16
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseEligibility.d.ts → event-registration/whole-series/useWholeSeriesEligibility.d.ts} +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesPaymentVerification.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationActions.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseRegistrationPortal.d.ts → event-registration/whole-series/useWholeSeriesRegistrationPortal.d.ts} +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationSelection.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationWizard.d.ts +185 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/useCourseWaitlistSelection.d.ts → event-registration/whole-series/useWholeSeriesWaitlistSelection.d.ts} +5 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/utils.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.contract.d.ts +7 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/whole-series-registration.headless.planning.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesPageSurfaceScope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration/courseRegistrationViewState.d.ts → event-registration/whole-series/wholeSeriesRegistrationViewState.d.ts} +7 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/wizardSteps.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -54
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +12 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.server.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventSpotlight.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventCard.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventDetailModal.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModalCloseButton.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventModals.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +51 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/MagicLinkForm.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingConsentAgreement.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +12 -12
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +30 -11
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +15 -4
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -4
- package/dist/_dts/blocks/src/system/types/link.d.ts +7 -1
- package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +13 -0
- package/dist/_dts/commerce/src/purchase/cancellationPolicy.d.ts +7 -0
- package/dist/_dts/commerce/src/purchase/canonicalRefundPlanner.d.ts +48 -0
- package/dist/_dts/commerce/src/purchase/checkoutCollectionPlan.d.ts +39 -0
- package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +40 -0
- package/dist/_dts/commerce/src/purchase/checkoutDiscountContextPlanning.d.ts +80 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/checkoutOrderItemProjection.d.ts +22 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentFlow.d.ts +50 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +30 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +10 -0
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +53 -0
- package/dist/_dts/commerce/src/purchase/checkoutQuantity.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +76 -0
- package/dist/_dts/commerce/src/purchase/checkoutSettlement.d.ts +46 -0
- package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +12 -0
- package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +125 -0
- package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +55 -0
- package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +91 -0
- package/dist/_dts/commerce/src/purchase/discountApplication.d.ts +74 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +55 -0
- package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +86 -0
- package/dist/_dts/commerce/src/purchase/order-number.d.ts +33 -0
- package/dist/_dts/commerce/src/purchase/orderCancellationPlan.d.ts +19 -0
- package/dist/_dts/commerce/src/purchase/orderCompletionEmailPlan.d.ts +71 -0
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +120 -0
- package/dist/_dts/commerce/src/purchase/orderFulfillmentPlan.d.ts +81 -0
- package/dist/_dts/commerce/src/purchase/orderFulfillmentResult.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/orderHistoryLedgerFilters.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/orderHistorySource.d.ts +11 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentAdminSettlement.d.ts +43 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +29 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +44 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +24 -0
- package/dist/_dts/commerce/src/purchase/orderInstalmentPlan.d.ts +40 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +151 -0
- package/dist/_dts/commerce/src/purchase/orderItemSupport.d.ts +14 -0
- package/dist/_dts/commerce/src/purchase/orderListFilters.d.ts +3 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentLinkPlanning.d.ts +60 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentReceipt.d.ts +184 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentState.d.ts +135 -0
- package/dist/_dts/commerce/src/purchase/orderPlanningTypes.d.ts +102 -0
- package/dist/_dts/commerce/src/purchase/orderRefundPlanning.d.ts +50 -0
- package/dist/_dts/commerce/src/purchase/orderRefundPolicy.d.ts +36 -0
- package/dist/_dts/commerce/src/purchase/orderTotals.d.ts +23 -0
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +39 -0
- package/dist/_dts/commerce/src/purchase/pendingCheckoutSessionClaim.d.ts +1 -0
- package/dist/_dts/commerce/src/purchase/persistedCheckoutLines.d.ts +27 -0
- package/dist/_dts/commerce/src/purchase/protectedDepositRefundPolicy.d.ts +86 -0
- package/dist/_dts/commerce/src/purchase/refundPolicy.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +40 -0
- package/dist/_dts/commerce/src/purchase/result.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/settlement.d.ts +97 -0
- package/dist/_dts/commerce/src/purchase/shopRefundPlanning.d.ts +43 -0
- package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +31 -0
- package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +10 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +168 -0
- package/dist/_dts/commerce/src/shop/shipmentEligibility.d.ts +14 -0
- package/dist/_dts/commerce/src/utils/assertNever.d.ts +1 -0
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +4 -0
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +4 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -4
- package/dist/_dts/core/src/booking-consent.d.ts +8 -0
- package/dist/_dts/core/src/booking-vertical-catalog.d.ts +741 -0
- package/dist/_dts/core/src/booking-vertical-config.d.ts +66 -0
- package/dist/_dts/core/src/booking-vertical-definitions.d.ts +68 -0
- package/dist/_dts/{api/src/bookingVerticalPreset.d.ts → core/src/booking-vertical-preset.d.ts} +1 -1
- package/dist/_dts/core/src/booking-verticals.d.ts +98 -0
- package/dist/_dts/core/src/event-page-selection.d.ts +22 -0
- package/dist/_dts/core/src/event-pricing.d.ts +5 -0
- package/dist/_dts/core/src/event-series-behaviour.d.ts +16 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +81 -3
- package/dist/_dts/db/src/schemas/forms.d.ts +25 -25
- package/dist/_dts/db/src/types/jsonb.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +3 -2
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +3 -4
- package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +3 -0
- package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +2 -0
- package/dist/_dts/media-core/src/identifiers.d.ts +10 -0
- package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
- package/dist/_dts/media-core/src/types.d.ts +2 -1
- package/dist/_dts/media-core/src/usageScanner.d.ts +1 -1
- package/dist/_dts/media-editor/src/index.d.ts +2 -2
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -22
- package/dist/_dts/media-editor/src/useMediaSelection.d.ts +0 -9
- package/dist/_dts/preview-next/src/client/preview/ButtonHoverRoleControls.d.ts +10 -0
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfiguratorWarningNotice.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +1 -1
- package/dist/_dts/sdk/src/bookings/types.d.ts +7 -89
- package/dist/_dts/sdk/src/client/eventSubrouteReadOperations.d.ts +11 -0
- package/dist/_dts/sdk/src/client/types.d.ts +12 -5
- package/dist/_dts/sdk/src/components.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +30 -30
- package/dist/_dts/sdk/src/contracts/content.d.ts +10 -36
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +2 -13
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -16
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +9 -9
- package/dist/_dts/sdk/src/next/pageMetadataProjection.d.ts +7 -0
- package/dist/_dts/sdk/src/next/resolveEventPageSubroute.d.ts +12 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +11 -38
- package/dist/_dts/sdk/src/public-api/eventSubrouteContracts.d.ts +12 -0
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +44 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +4 -3
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +7 -3
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/contextualHover.d.ts +41 -0
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonHoverTreatment.d.ts +14 -0
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +21 -4
- package/dist/_dts/theme-core/src/buttons/styles/recipes/flatInk.d.ts +92 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +10 -150
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -102
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +50 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -12
- package/dist/_dts/theme-core/src/cards/types.d.ts +7 -29
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +90 -75
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +98 -110
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +27 -0
- package/dist/_dts/theme-core/src/site-styles/buttonSelectionCompiler.d.ts +18 -0
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +2 -11
- package/dist/_dts/theme-core/src/site-styles/selectionFallbackWarning.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +13 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -0
- package/dist/client/{StepIndicator-CLjQhkDb.mjs → BookingConsentAgreement-BxgpGEFD.mjs} +26 -4
- package/dist/client/{DiscountCodeDisclosure-BPZ-yfGI.mjs → DiscountCodeDisclosure-CfuPOHD0.mjs} +12 -12
- package/dist/client/{EventCombined.client-Cjt3kKYR.mjs → EventCombined.client-DB8Qfzi-.mjs} +37 -49
- package/dist/client/{EventListing.client-DY9dn6Fh.mjs → EventListing.client-DD4X8hp4.mjs} +2 -2
- package/dist/client/{LeafletStaticMap--2c61XYn.mjs → LeafletStaticMap-QhgIBQbv.mjs} +1 -1
- package/dist/client/{CourseRegistrationWizard-DGW9F0SQ.mjs → WholeSeriesRegistrationWizard-DwtC7bCs.mjs} +1460 -1247
- package/dist/client/{accordion-_boYwHHi.mjs → accordion-DFXpLvwg.mjs} +1 -1
- package/dist/client/{bookingForm--AqEfyBX.mjs → bookingForm-sI05d3lk.mjs} +73 -47
- package/dist/client/bookings.mjs +1719 -706
- package/dist/client/{carousel-CVI2dqZr.mjs → carousel-wjyWTZCh.mjs} +1 -1
- package/dist/client/{cart-DR6IiPz9.mjs → cart-DCwdpA4i.mjs} +3 -3
- package/dist/client/{checkout-CsrGAfQt.mjs → checkout-DTDW3l0R.mjs} +3 -3
- package/dist/client/checkoutUrls-DQYC_Br-.mjs +187 -0
- package/dist/client/client.mjs +6830 -3672
- package/dist/client/{context-B83PiNzm.mjs → context-TSK1CGx8.mjs} +1 -14
- package/dist/client/{courseRegistration-aNJVaLa3.mjs → courseRegistration-A-Tg7qw_.mjs} +11 -5
- package/dist/client/{eventCalendar-OZ7h59VN.mjs → eventCalendar-B0Zg-i_w.mjs} +41 -44
- package/dist/client/{eventCombined-BbJ6bFKz.mjs → eventCombined-B8Y2wizd.mjs} +3 -3
- package/dist/client/{eventDetails-BLyUBiCT.mjs → eventDetails-DPDOwURJ.mjs} +276 -94
- package/dist/client/{eventListing-DuP1yhBS.mjs → eventListing-CjBcmSLn.mjs} +3 -3
- package/dist/client/{eventRegistration-BXyECPa-.mjs → eventRegistration-CK30HsAq.mjs} +730 -190
- package/dist/client/{form-BA4t3kKU.mjs → form-CUXfsABE.mjs} +2 -2
- package/dist/client/{headerSection-CpNaJxhW.mjs → headerSection-N-mN3rjr.mjs} +2 -2
- package/dist/client/hooks.mjs +1418 -484
- package/dist/client/{locationMap-3HGMCL7_.mjs → locationMap-oiIDQMBt.mjs} +2 -2
- package/dist/client/{newsletterForm-C2s6Mw67.mjs → newsletterForm-CkQ2tTrM.mjs} +2 -2
- package/dist/client/pricing-Caa0QWzh.mjs +195 -0
- package/dist/client/{productDetail-C9joWhdE.mjs → productDetail-CnidyrsN.mjs} +3 -3
- package/dist/client/{productList-CjzdU3pB.mjs → productList-CttYcS_S.mjs} +3 -3
- package/dist/client/{propsDecoder-CBPGXEYX.mjs → propsDecoder-CeUMxI9a.mjs} +677 -350
- package/dist/client/rendering/client.mjs +6075 -4150
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +7589 -4388
- package/dist/client/{scrollToBlock-DZ73aEX6.mjs → scrollToBlock-lPr1oqxB.mjs} +1 -1
- package/dist/client/{shop-CQRai7hj.mjs → shop-DXQtMo2O.mjs} +6 -6
- package/dist/client/{shop-commerce-hP9UboOx.mjs → shop-commerce-quDL411J.mjs} +7 -164
- package/dist/client/{shop-commerce-store-DiD5a32e.mjs → shop-commerce-store-Dnu-8Iub.mjs} +1 -1
- package/dist/client/{shopShared-DP8DXTkF.mjs → shopShared-BWPUURvG.mjs} +3 -3
- package/dist/client/{useEventFilters-pF_OJNQP.mjs → useEventFilters-DRhWp2_5.mjs} +196 -7
- package/dist/client/{usePolling-Cls91SD2.mjs → usePolling-UN4WKnaM.mjs} +3 -3
- package/dist/preview-next/before-render.mjs +247 -60
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +247 -60
- package/dist/preview-next/middleware.mjs +247 -60
- package/dist/{previewAuthStore-CX1C_KJ4.mjs → previewAuthStore-BFKd4LrN.mjs} +247 -60
- package/dist/{sdk-runtime-5CcPAI14.mjs → sdk-runtime-Ca5RD78X.mjs} +2 -2
- package/dist/{separator-BXlYN_gr.mjs → separator-CMhj6BTi.mjs} +1 -1
- package/dist/server/components.mjs +3578 -1614
- package/dist/server/config-validation.mjs +1418 -485
- package/dist/server/config.mjs +1418 -485
- package/dist/server/data.mjs +1418 -484
- package/dist/server/index.mjs +289 -81
- package/dist/server/manifest.mjs +0 -1
- package/dist/server/next.mjs +3761 -1794
- package/dist/server/page-converter.mjs +911 -261
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3580 -1613
- package/dist/server/rendering.mjs +3578 -1614
- package/dist/server/routing.mjs +1687 -689
- package/dist/server/server.mjs +1458 -563
- package/dist/server/theme-bridge.mjs +1996 -935
- package/dist/server/theme.mjs +346 -133
- package/dist/styles/index.css +1602 -796
- package/package.json +2 -2
- package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +0 -746
- package/dist/_dts/api/src/eventSeriesPresentationPreset.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/CourseRegistrationWizard.d.ts +0 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/StepIndicator.d.ts +0 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/components.d.ts +0 -45
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +0 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +0 -31
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +0 -102
- package/dist/client/checkoutUrls-Ct8Mxna3.mjs +0 -26
- package/dist/client/eventProductEligibility-AVxyCB1u.mjs +0 -50
- package/dist/client/pricing-BiqIMgZk.mjs +0 -174
- /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/PortalAuthSidebar.d.ts +0 -0
- /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/SuccessStep.d.ts +0 -0
- /package/dist/_dts/blocks/src/system/runtime/nodes/{course-registration → event-registration/whole-series}/WaitlistStep.d.ts +0 -0
|
@@ -147,8 +147,8 @@ export declare const bookingQuestionsFormSettingsSchema: z.ZodObject<{
|
|
|
147
147
|
}, z.core.$strict>>;
|
|
148
148
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
mixed: "mixed";
|
|
150
|
-
appointments: "appointments";
|
|
151
150
|
courses: "courses";
|
|
151
|
+
appointments: "appointments";
|
|
152
152
|
events: "events";
|
|
153
153
|
}>>;
|
|
154
154
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -256,8 +256,8 @@ export declare const formSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
256
256
|
}, z.core.$strict>>;
|
|
257
257
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
258
258
|
mixed: "mixed";
|
|
259
|
-
appointments: "appointments";
|
|
260
259
|
courses: "courses";
|
|
260
|
+
appointments: "appointments";
|
|
261
261
|
events: "events";
|
|
262
262
|
}>>;
|
|
263
263
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -372,8 +372,8 @@ export declare const formSettingsInputSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
372
372
|
}, z.core.$strict>>;
|
|
373
373
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
374
374
|
mixed: "mixed";
|
|
375
|
-
appointments: "appointments";
|
|
376
375
|
courses: "courses";
|
|
376
|
+
appointments: "appointments";
|
|
377
377
|
events: "events";
|
|
378
378
|
}>>;
|
|
379
379
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -416,15 +416,15 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
416
416
|
number: "number";
|
|
417
417
|
date: "date";
|
|
418
418
|
time: "time";
|
|
419
|
+
text: "text";
|
|
419
420
|
email: "email";
|
|
420
421
|
url: "url";
|
|
421
|
-
text: "text";
|
|
422
422
|
textarea: "textarea";
|
|
423
423
|
select: "select";
|
|
424
424
|
checkbox: "checkbox";
|
|
425
425
|
radio: "radio";
|
|
426
|
-
consent: "consent";
|
|
427
426
|
tel: "tel";
|
|
427
|
+
consent: "consent";
|
|
428
428
|
}>;
|
|
429
429
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
430
430
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -447,8 +447,8 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
447
447
|
}, z.core.$strict>>;
|
|
448
448
|
}, z.core.$strict>;
|
|
449
449
|
export declare const bookingQuestionDocumentFileTypeSchema: z.ZodEnum<{
|
|
450
|
-
pdf: "pdf";
|
|
451
450
|
image: "image";
|
|
451
|
+
pdf: "pdf";
|
|
452
452
|
docx: "docx";
|
|
453
453
|
}>;
|
|
454
454
|
declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
@@ -477,9 +477,9 @@ declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
|
477
477
|
number: "number";
|
|
478
478
|
date: "date";
|
|
479
479
|
time: "time";
|
|
480
|
+
text: "text";
|
|
480
481
|
email: "email";
|
|
481
482
|
url: "url";
|
|
482
|
-
text: "text";
|
|
483
483
|
textarea: "textarea";
|
|
484
484
|
select: "select";
|
|
485
485
|
checkbox: "checkbox";
|
|
@@ -501,8 +501,8 @@ declare const bookingQuestionDocumentUploadFieldSchema: z.ZodObject<{
|
|
|
501
501
|
}>>;
|
|
502
502
|
}, z.core.$strict>>;
|
|
503
503
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
504
|
-
pdf: "pdf";
|
|
505
504
|
image: "image";
|
|
505
|
+
pdf: "pdf";
|
|
506
506
|
docx: "docx";
|
|
507
507
|
}>>>;
|
|
508
508
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -533,9 +533,9 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
533
533
|
number: "number";
|
|
534
534
|
date: "date";
|
|
535
535
|
time: "time";
|
|
536
|
+
text: "text";
|
|
536
537
|
email: "email";
|
|
537
538
|
url: "url";
|
|
538
|
-
text: "text";
|
|
539
539
|
textarea: "textarea";
|
|
540
540
|
select: "select";
|
|
541
541
|
checkbox: "checkbox";
|
|
@@ -556,8 +556,8 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
556
556
|
}>>;
|
|
557
557
|
}, z.core.$strict>>;
|
|
558
558
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
559
|
-
pdf: "pdf";
|
|
560
559
|
image: "image";
|
|
560
|
+
pdf: "pdf";
|
|
561
561
|
docx: "docx";
|
|
562
562
|
}>>>;
|
|
563
563
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -592,9 +592,9 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
592
592
|
number: "number";
|
|
593
593
|
date: "date";
|
|
594
594
|
time: "time";
|
|
595
|
+
text: "text";
|
|
595
596
|
email: "email";
|
|
596
597
|
url: "url";
|
|
597
|
-
text: "text";
|
|
598
598
|
textarea: "textarea";
|
|
599
599
|
select: "select";
|
|
600
600
|
checkbox: "checkbox";
|
|
@@ -615,8 +615,8 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
615
615
|
}>>;
|
|
616
616
|
}, z.core.$strict>>;
|
|
617
617
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
618
|
-
pdf: "pdf";
|
|
619
618
|
image: "image";
|
|
619
|
+
pdf: "pdf";
|
|
620
620
|
docx: "docx";
|
|
621
621
|
}>>>;
|
|
622
622
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -654,9 +654,9 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
654
654
|
number: "number";
|
|
655
655
|
date: "date";
|
|
656
656
|
time: "time";
|
|
657
|
+
text: "text";
|
|
657
658
|
email: "email";
|
|
658
659
|
url: "url";
|
|
659
|
-
text: "text";
|
|
660
660
|
textarea: "textarea";
|
|
661
661
|
select: "select";
|
|
662
662
|
checkbox: "checkbox";
|
|
@@ -677,8 +677,8 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
677
677
|
}>>;
|
|
678
678
|
}, z.core.$strict>>;
|
|
679
679
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
680
|
-
pdf: "pdf";
|
|
681
680
|
image: "image";
|
|
681
|
+
pdf: "pdf";
|
|
682
682
|
docx: "docx";
|
|
683
683
|
}>>>;
|
|
684
684
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -698,15 +698,15 @@ export declare const formSchemaSchema: z.ZodObject<{
|
|
|
698
698
|
number: "number";
|
|
699
699
|
date: "date";
|
|
700
700
|
time: "time";
|
|
701
|
+
text: "text";
|
|
701
702
|
email: "email";
|
|
702
703
|
url: "url";
|
|
703
|
-
text: "text";
|
|
704
704
|
textarea: "textarea";
|
|
705
705
|
select: "select";
|
|
706
706
|
checkbox: "checkbox";
|
|
707
707
|
radio: "radio";
|
|
708
|
-
consent: "consent";
|
|
709
708
|
tel: "tel";
|
|
709
|
+
consent: "consent";
|
|
710
710
|
}>;
|
|
711
711
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
712
712
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -757,9 +757,9 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
757
757
|
number: "number";
|
|
758
758
|
date: "date";
|
|
759
759
|
time: "time";
|
|
760
|
+
text: "text";
|
|
760
761
|
email: "email";
|
|
761
762
|
url: "url";
|
|
762
|
-
text: "text";
|
|
763
763
|
textarea: "textarea";
|
|
764
764
|
select: "select";
|
|
765
765
|
checkbox: "checkbox";
|
|
@@ -780,8 +780,8 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
780
780
|
}>>;
|
|
781
781
|
}, z.core.$strict>>;
|
|
782
782
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
783
|
-
pdf: "pdf";
|
|
784
783
|
image: "image";
|
|
784
|
+
pdf: "pdf";
|
|
785
785
|
docx: "docx";
|
|
786
786
|
}>>>;
|
|
787
787
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -815,9 +815,9 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
815
815
|
number: "number";
|
|
816
816
|
date: "date";
|
|
817
817
|
time: "time";
|
|
818
|
+
text: "text";
|
|
818
819
|
email: "email";
|
|
819
820
|
url: "url";
|
|
820
|
-
text: "text";
|
|
821
821
|
textarea: "textarea";
|
|
822
822
|
select: "select";
|
|
823
823
|
checkbox: "checkbox";
|
|
@@ -838,8 +838,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
838
838
|
}>>;
|
|
839
839
|
}, z.core.$strict>>;
|
|
840
840
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
841
|
-
pdf: "pdf";
|
|
842
841
|
image: "image";
|
|
842
|
+
pdf: "pdf";
|
|
843
843
|
docx: "docx";
|
|
844
844
|
}>>>;
|
|
845
845
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -876,9 +876,9 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
876
876
|
number: "number";
|
|
877
877
|
date: "date";
|
|
878
878
|
time: "time";
|
|
879
|
+
text: "text";
|
|
879
880
|
email: "email";
|
|
880
881
|
url: "url";
|
|
881
|
-
text: "text";
|
|
882
882
|
textarea: "textarea";
|
|
883
883
|
select: "select";
|
|
884
884
|
checkbox: "checkbox";
|
|
@@ -899,8 +899,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
899
899
|
}>>;
|
|
900
900
|
}, z.core.$strict>>;
|
|
901
901
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
902
|
-
pdf: "pdf";
|
|
903
902
|
image: "image";
|
|
903
|
+
pdf: "pdf";
|
|
904
904
|
docx: "docx";
|
|
905
905
|
}>>>;
|
|
906
906
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -956,15 +956,15 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
956
956
|
number: "number";
|
|
957
957
|
date: "date";
|
|
958
958
|
time: "time";
|
|
959
|
+
text: "text";
|
|
959
960
|
email: "email";
|
|
960
961
|
url: "url";
|
|
961
|
-
text: "text";
|
|
962
962
|
textarea: "textarea";
|
|
963
963
|
select: "select";
|
|
964
964
|
checkbox: "checkbox";
|
|
965
965
|
radio: "radio";
|
|
966
|
-
consent: "consent";
|
|
967
966
|
tel: "tel";
|
|
967
|
+
consent: "consent";
|
|
968
968
|
}>;
|
|
969
969
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
970
970
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -1086,8 +1086,8 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
1086
1086
|
}, z.core.$strict>>;
|
|
1087
1087
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
1088
1088
|
mixed: "mixed";
|
|
1089
|
-
appointments: "appointments";
|
|
1090
1089
|
courses: "courses";
|
|
1090
|
+
appointments: "appointments";
|
|
1091
1091
|
events: "events";
|
|
1092
1092
|
}>>;
|
|
1093
1093
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
@@ -13,6 +13,7 @@ export type RichTextEditorSurfaceProps = Readonly<{
|
|
|
13
13
|
placeholderClassName?: string;
|
|
14
14
|
placeholderText?: string;
|
|
15
15
|
ariaLabel?: string;
|
|
16
|
+
ariaDescribedBy?: string;
|
|
16
17
|
linkItems?: RichTextRoutableItem[];
|
|
17
18
|
onRequestLinkItems?: () => Promise<RichTextRoutableItem[]>;
|
|
18
19
|
onPickImage?: () => Promise<PickedRichTextImage | null | undefined>;
|
|
@@ -37,4 +38,4 @@ export type RichTextToolbarLayout = Readonly<{
|
|
|
37
38
|
visibility: RichTextToolbarVisibility;
|
|
38
39
|
}>;
|
|
39
40
|
export declare function shouldHandleRichTextActivationKey(container: HTMLElement, target: EventTarget | null): boolean;
|
|
40
|
-
export declare function RichTextEditorSurface({ editor, config, isEmpty, className, contentClassName, placeholderClassName, placeholderText, ariaLabel, linkItems, onRequestLinkItems, onPickImage, toolbarLayout, onClick, renderContent, }: RichTextEditorSurfaceProps): import("react").JSX.Element;
|
|
41
|
+
export declare function RichTextEditorSurface({ editor, config, isEmpty, className, contentClassName, placeholderClassName, placeholderText, ariaLabel, ariaDescribedBy, linkItems, onRequestLinkItems, onPickImage, toolbarLayout, onClick, renderContent, }: RichTextEditorSurfaceProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AnyExtension } from '@tiptap/core';
|
|
2
2
|
import type { RichTextVariant } from '../../../../blocks/src/index';
|
|
3
|
+
export type RichTextEditorVariant = RichTextVariant | 'consent';
|
|
3
4
|
export type ToolbarButtonConfig = {
|
|
4
5
|
type: 'blockType';
|
|
5
6
|
} | {
|
|
@@ -26,4 +27,4 @@ export type RichTextEditorConfig = {
|
|
|
26
27
|
placeholder: string;
|
|
27
28
|
pastePolicy: RichTextPastePolicy;
|
|
28
29
|
};
|
|
29
|
-
export declare const richTextConfigs: Record<
|
|
30
|
+
export declare const richTextConfigs: Record<RichTextEditorVariant, RichTextEditorConfig>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { ResolvedInternalLinkEntityType } from '../../../../../blocks/src/index';
|
|
1
2
|
type TabKey = 'internal' | 'external' | 'custom';
|
|
2
3
|
export type RichTextRoutableItem = {
|
|
3
4
|
routeId: string;
|
|
4
5
|
entityId: string;
|
|
5
|
-
entityType:
|
|
6
|
+
entityType: ResolvedInternalLinkEntityType;
|
|
6
7
|
identifier: string | null;
|
|
7
8
|
contentTypeKey?: string | null;
|
|
8
9
|
contentTypeName?: string | null;
|
|
@@ -21,7 +22,7 @@ export type LinkAttrs = {
|
|
|
21
22
|
contentType?: string;
|
|
22
23
|
routeId?: string;
|
|
23
24
|
entityId?: string;
|
|
24
|
-
entityType?:
|
|
25
|
+
entityType?: ResolvedInternalLinkEntityType;
|
|
25
26
|
title?: string;
|
|
26
27
|
typeLabel?: string;
|
|
27
28
|
contentTypeKey?: string | null;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { Content, Editor } from '@tiptap/react';
|
|
2
|
-
import type
|
|
3
|
-
import { type RichTextEditorConfig } from './config';
|
|
2
|
+
import { type RichTextEditorConfig, type RichTextEditorVariant } from './config';
|
|
4
3
|
import { type RichTextContentWarnings } from './sanitize';
|
|
5
4
|
interface UseRichTextEditorOptions {
|
|
6
5
|
/** TipTap document content - can be JSON object, HTML string, or null */
|
|
7
6
|
content: Content;
|
|
8
7
|
editable: boolean;
|
|
9
|
-
variant:
|
|
8
|
+
variant: RichTextEditorVariant;
|
|
10
9
|
}
|
|
11
10
|
interface UseRichTextEditorResult {
|
|
12
11
|
editor: Editor | null;
|
|
@@ -15,5 +14,5 @@ interface UseRichTextEditorResult {
|
|
|
15
14
|
warnings: RichTextContentWarnings;
|
|
16
15
|
warningSummary: string | null;
|
|
17
16
|
}
|
|
18
|
-
export declare function useRichTextEditor({ content, editable, variant }: UseRichTextEditorOptions): UseRichTextEditorResult;
|
|
17
|
+
export declare function useRichTextEditor({ content, editable, variant, }: UseRichTextEditorOptions): UseRichTextEditorResult;
|
|
19
18
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Result, type SiteScopedStoragePath, type StorageBucketName, type StoragePath, type UploadSessionId, type UtcIsoDateTimeString } from '../../core/src/index';
|
|
2
2
|
import { type ActiveValidatedDurableFileAsset, type FileAssetId, type UploadSessionState, type UploadSessionTransitionError } from './fileDomain';
|
|
3
|
+
import type { MediaIdentifier } from './identifiers';
|
|
3
4
|
import { type DurableFinalizeUploadAssetPlan, type DurableUploadStoragePathError } from './fileUploadAssetBuilder';
|
|
4
5
|
import type { FileUploadFinalizationPlan } from './fileUploadFinalization';
|
|
5
6
|
type UploadedUploadSessionState = Extract<UploadSessionState, {
|
|
@@ -26,6 +27,7 @@ export type FileUploadCompletionStep = {
|
|
|
26
27
|
} | {
|
|
27
28
|
readonly tag: 'insert-file-asset';
|
|
28
29
|
readonly asset: ActiveValidatedDurableFileAsset;
|
|
30
|
+
readonly identifier: MediaIdentifier;
|
|
29
31
|
} | {
|
|
30
32
|
readonly tag: 'delete-staged-object';
|
|
31
33
|
readonly storageObject: FileUploadCompletionStorageObject;
|
|
@@ -69,6 +71,7 @@ export type DurableFileUploadCompletionPlan = {
|
|
|
69
71
|
export type DurableFileUploadCompletionInput = {
|
|
70
72
|
readonly finalizationPlan: DurableFinalizeUploadAssetPlan;
|
|
71
73
|
readonly asset: ActiveValidatedDurableFileAsset;
|
|
74
|
+
readonly identifier: MediaIdentifier;
|
|
72
75
|
readonly now: UtcIsoDateTimeString;
|
|
73
76
|
};
|
|
74
77
|
export type DurableFileUploadCompletionError = {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type MediaAssetId, type Result } from '../../core/src/index';
|
|
2
2
|
import type { FileAssetMetadata } from './fileDomain';
|
|
3
|
+
import type { MediaIdentifier } from './identifiers';
|
|
3
4
|
import { type BuildFinalizedUploadAssetError } from './fileUploadAssetBuilder';
|
|
4
5
|
import { type DurableFileUploadCompletionError, type DurableFileUploadCompletionPlan } from './fileUploadCompletion';
|
|
5
6
|
import { type FileUploadFinalizationError, type FileUploadFinalizationInput } from './fileUploadFinalization';
|
|
6
7
|
export type DurableFileUploadFinalizationInput = FileUploadFinalizationInput & {
|
|
7
8
|
readonly assetId: MediaAssetId;
|
|
9
|
+
readonly identifier: MediaIdentifier;
|
|
8
10
|
readonly metadata?: FileAssetMetadata;
|
|
9
11
|
};
|
|
10
12
|
export type DurableFileUploadFinalizationError = {
|
|
@@ -8,10 +8,20 @@ export type MediaIdentifierParseError = Readonly<{
|
|
|
8
8
|
kind: 'empty_after_normalization';
|
|
9
9
|
value: string;
|
|
10
10
|
}>;
|
|
11
|
+
export type CanonicalMediaIdentifierParseError = MediaIdentifierParseError | Readonly<{
|
|
12
|
+
kind: 'non_canonical_identifier';
|
|
13
|
+
value: string;
|
|
14
|
+
canonical: MediaIdentifier;
|
|
15
|
+
}>;
|
|
11
16
|
export declare function stripFileExtension(filename: string): string;
|
|
12
17
|
export declare function slugifyMediaIdentifier(value: string): string;
|
|
13
18
|
export declare function buildMediaIdentifierFromFilename(filename: string): string;
|
|
14
19
|
export declare function parseMediaIdentifier(value: unknown): Result<MediaIdentifier, MediaIdentifierParseError>;
|
|
20
|
+
/**
|
|
21
|
+
* Admits identifiers read from trusted persistence without repairing dirty data in memory.
|
|
22
|
+
* User input should use parseMediaIdentifier, which intentionally canonicalizes it.
|
|
23
|
+
*/
|
|
24
|
+
export declare function parseCanonicalMediaIdentifier(value: unknown): Result<MediaIdentifier, CanonicalMediaIdentifierParseError>;
|
|
15
25
|
export declare function parseOptionalMediaIdentifier(value: unknown): Result<MediaIdentifier | undefined, MediaIdentifierParseError>;
|
|
16
26
|
export declare function unsafeAsMediaIdentifier(value: string): MediaIdentifier;
|
|
17
27
|
export declare function resolveMediaIdentifier(base: string, existing: Set<string>): MediaIdentifier;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
+
import { type MediaIdentifier } from './identifiers';
|
|
1
2
|
export type MediaIdentifierResolutionRecord = Readonly<{
|
|
2
3
|
id: string;
|
|
3
|
-
identifier:
|
|
4
|
+
identifier: MediaIdentifier;
|
|
4
5
|
filename: string;
|
|
5
6
|
}>;
|
|
6
|
-
export type MediaIdentifierAssignmentRequest = Readonly<{
|
|
7
|
-
assetId: string;
|
|
8
|
-
filenameBase: string;
|
|
9
|
-
}>;
|
|
10
7
|
export type NormalizeMediaReferencesForWriteCoreOptions = Readonly<{
|
|
11
8
|
value: unknown;
|
|
12
9
|
resolveMediaAssetsById: (assetIds: readonly string[]) => Promise<readonly MediaIdentifierResolutionRecord[]>;
|
|
13
|
-
assignIdentifier: (request: MediaIdentifierAssignmentRequest) => Promise<string | null>;
|
|
14
10
|
}>;
|
|
15
11
|
/**
|
|
16
12
|
* Normalizes CMS media objects to identifier-only persistence. Infrastructure
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { MediaAssetId, SiteScopedStoragePath } from '../../core/src/index';
|
|
2
|
+
import type { MediaIdentifier } from './identifiers';
|
|
2
3
|
export type { MediaAssetId } from '../../core/src/index';
|
|
3
4
|
export type MediaSource = 'upload' | 'instagram';
|
|
4
5
|
export type MediaAsset = {
|
|
@@ -7,7 +8,7 @@ export type MediaAsset = {
|
|
|
7
8
|
storageBucket: string;
|
|
8
9
|
storagePath: SiteScopedStoragePath;
|
|
9
10
|
filename: string;
|
|
10
|
-
identifier
|
|
11
|
+
identifier: MediaIdentifier;
|
|
11
12
|
mimeType: string;
|
|
12
13
|
title?: string;
|
|
13
14
|
width?: number;
|
|
@@ -16,5 +16,5 @@ export { createMediaEditorProvider } from './createMediaEditorProvider';
|
|
|
16
16
|
export { withRepeaterStackMediaFieldUi, withRepeaterThumbnailMediaFieldUi, withRepeaterThumbnailPickerOnlyMediaFieldUi, } from './fieldUi';
|
|
17
17
|
export type { MediaValue, PersistableMediaValue, MediaTransform, MediaHotspot } from './types';
|
|
18
18
|
export { DEFAULT_HOTSPOT } from './utils';
|
|
19
|
-
export { buildPersistableMediaValue,
|
|
20
|
-
export type { BuildPersistableMediaValueOptions, IdentifierReadyMediaAsset,
|
|
19
|
+
export { buildPersistableMediaValue, } from './mediaSelection';
|
|
20
|
+
export type { BuildPersistableMediaValueOptions, IdentifierReadyMediaAsset, } from './mediaSelection';
|
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
import type { ApiClient } from '../../api/src/request';
|
|
2
|
-
import { type MediaIdentifier } from '../../blocks/src/index';
|
|
3
1
|
import type { MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
4
2
|
import type { MediaValue, PersistableMediaValue } from './types';
|
|
5
|
-
export type IdentifierReadyMediaAsset =
|
|
6
|
-
identifier: MediaIdentifier;
|
|
7
|
-
}>;
|
|
8
|
-
export type PrepareMediaSelectionResult = Readonly<{
|
|
9
|
-
tag: 'ready';
|
|
10
|
-
asset: IdentifierReadyMediaAsset;
|
|
11
|
-
}> | Readonly<{
|
|
12
|
-
tag: 'failed';
|
|
13
|
-
reason: 'identifier-assignment-failed';
|
|
14
|
-
error: unknown;
|
|
15
|
-
}> | Readonly<{
|
|
16
|
-
tag: 'failed';
|
|
17
|
-
reason: 'identifier-missing-after-assignment';
|
|
18
|
-
}>;
|
|
19
|
-
type PrepareMediaSelectionFailure = Extract<PrepareMediaSelectionResult, {
|
|
20
|
-
tag: 'failed';
|
|
21
|
-
}>;
|
|
22
|
-
export declare function mediaSelectionFailureMessage(failure: PrepareMediaSelectionFailure): string;
|
|
3
|
+
export type IdentifierReadyMediaAsset = MediaAssetWithLabels;
|
|
23
4
|
export type BuildPersistableMediaValueOptions = Readonly<{
|
|
24
5
|
asset: IdentifierReadyMediaAsset;
|
|
25
6
|
mediaKind: PersistableMediaValue['type'];
|
|
@@ -28,5 +9,3 @@ export type BuildPersistableMediaValueOptions = Readonly<{
|
|
|
28
9
|
publicUrl?: string;
|
|
29
10
|
}>;
|
|
30
11
|
export declare function buildPersistableMediaValue({ asset, mediaKind, previousValue, poster, publicUrl, }: BuildPersistableMediaValueOptions): PersistableMediaValue;
|
|
31
|
-
export declare function prepareMediaAssetForSelection(apiClient: ApiClient, asset: MediaAssetWithLabels): Promise<PrepareMediaSelectionResult>;
|
|
32
|
-
export {};
|
|
@@ -2,14 +2,6 @@ import type { MediaAssetWithLabels, MediaKind } from '@riverbankcms/media-storag
|
|
|
2
2
|
import type { MediaEditorContextValue } from './context';
|
|
3
3
|
import type { MediaPickerAssetSelection } from './MediaPickerDialog';
|
|
4
4
|
import type { MediaValue, PersistableMediaValue } from './types';
|
|
5
|
-
export type MediaSelectionState = Readonly<{
|
|
6
|
-
tag: 'idle';
|
|
7
|
-
}> | Readonly<{
|
|
8
|
-
tag: 'preparing';
|
|
9
|
-
}> | Readonly<{
|
|
10
|
-
tag: 'failed';
|
|
11
|
-
message: string;
|
|
12
|
-
}>;
|
|
13
5
|
type UseMediaSelectionOptions = Readonly<{
|
|
14
6
|
context: MediaEditorContextValue;
|
|
15
7
|
value: MediaValue | undefined;
|
|
@@ -21,6 +13,5 @@ type UseMediaSelectionOptions = Readonly<{
|
|
|
21
13
|
export declare function useMediaSelection(options: UseMediaSelectionOptions): {
|
|
22
14
|
readonly cancelSelection: () => void;
|
|
23
15
|
readonly handleSelect: (picked: MediaAssetWithLabels) => Promise<void>;
|
|
24
|
-
readonly selectionState: MediaSelectionState;
|
|
25
16
|
};
|
|
26
17
|
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Theme } from '../../../../blocks/src/index';
|
|
3
|
+
import { type ButtonHoverRoleControl, type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
4
|
+
export declare function ButtonHoverRoleControls({ control, current, previewTheme, onPreview, disabled, }: Readonly<{
|
|
5
|
+
control: ButtonHoverRoleControl<string>;
|
|
6
|
+
current: ButtonStyleSelection;
|
|
7
|
+
previewTheme: Theme;
|
|
8
|
+
onPreview: (selection: ButtonStyleSelection) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}>): React.JSX.Element | null;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Theme } from '../../../../blocks/src/index';
|
|
3
|
-
import { type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
3
|
+
import { type ButtonStyleSelection, type ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
|
|
4
4
|
export type ButtonStylePickerProps = Readonly<{
|
|
5
5
|
selections: readonly ButtonStyleSelection[];
|
|
6
6
|
current: ButtonStyleSelection;
|
|
7
7
|
previewTheme: Theme;
|
|
8
8
|
onPreview: (selection: ButtonStyleSelection) => void;
|
|
9
9
|
disabled?: boolean;
|
|
10
|
+
repairs?: readonly ButtonStyleSelectionRepair[];
|
|
10
11
|
}>;
|
|
11
|
-
export declare function ButtonStylePicker({ selections, current, previewTheme, onPreview, disabled, }: ButtonStylePickerProps): React.JSX.Element;
|
|
12
|
+
export declare function ButtonStylePicker({ selections, current, previewTheme, onPreview, disabled, repairs, }: ButtonStylePickerProps): React.JSX.Element;
|
|
12
13
|
export declare function ButtonStylePreviewPair({ selection, previewTheme, compact, }: Readonly<{
|
|
13
14
|
selection: ButtonStyleSelection;
|
|
14
15
|
previewTheme: Theme;
|
|
@@ -5,6 +5,7 @@ import type { SurfaceId } from '../../../../surfaces/src/index';
|
|
|
5
5
|
import type { EntrySubrouteContextData, BookingOfferingPresetSummary, Theme } from '../../../../blocks/src/index';
|
|
6
6
|
import { type ContentTypeSchema } from '../../../../content-model/src/index';
|
|
7
7
|
import { type ZoomLevel } from '../../../../content-editor/src/index';
|
|
8
|
+
import { type StyleConfiguratorProps } from './StyleConfigurator';
|
|
8
9
|
import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
9
10
|
import type { FooterLookId, HeaderLayoutStyleSelection, HeaderLogoContext } from '../../../../theme-core/src/site-styles/index';
|
|
10
11
|
import type { ViewportMode, ViewportWidth } from './PreviewViewportControls';
|
|
@@ -35,6 +36,7 @@ export type PreviewEditorSidebarProps = {
|
|
|
35
36
|
themeSelectionUpdatedAt?: string | null;
|
|
36
37
|
/** Persisted Style configurator selections (Phase C / E). */
|
|
37
38
|
themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
|
|
39
|
+
themeSelectionButtonStyleRepairs?: StyleConfiguratorProps['buttonStyleRepairs'];
|
|
38
40
|
themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
|
|
39
41
|
themeSelectionFooterLookId?: FooterLookId | null;
|
|
40
42
|
themeSelectionHeaderLogo?: HeaderLogoContext;
|
|
@@ -56,4 +58,4 @@ export type PreviewEditorSidebarProps = {
|
|
|
56
58
|
onViewportWidthChange: (width: ViewportWidth) => void;
|
|
57
59
|
onZoomChange: (zoom: ZoomLevel) => void;
|
|
58
60
|
};
|
|
59
|
-
export declare function PreviewEditorSidebar({ surfaceId, siteId, dashboardBaseUrl, pageId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, themeId, themeSelectionId, themeSelectionVersion, themeSelectionUpdatedAt, themeSelectionButtonStyleSelection, themeSelectionHeaderSelection, themeSelectionFooterLookId, themeSelectionHeaderLogo, apiClient, bearerToken, entrySubrouteContext, assistantPanel, sdkConfig, bookingOfferingPresets, siteStyleAccess, activeTab, onTabChange, onClose, onFooterSaved, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PreviewEditorSidebarProps): React.JSX.Element;
|
|
61
|
+
export declare function PreviewEditorSidebar({ surfaceId, siteId, dashboardBaseUrl, pageId, entryData, contentTypeSchema, referenceContentTypeKeys, draftContent, currentTemplate, theme, themeId, themeSelectionId, themeSelectionVersion, themeSelectionUpdatedAt, themeSelectionButtonStyleSelection, themeSelectionButtonStyleRepairs, themeSelectionHeaderSelection, themeSelectionFooterLookId, themeSelectionHeaderLogo, apiClient, bearerToken, entrySubrouteContext, assistantPanel, sdkConfig, bookingOfferingPresets, siteStyleAccess, activeTab, onTabChange, onClose, onFooterSaved, viewportMode, viewportWidth, zoom, onViewportModeChange, onViewportWidthChange, onZoomChange, }: PreviewEditorSidebarProps): React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { type ComponentProps, type ReactNode } from 'react';
|
|
2
2
|
import { BlockApiProvider } from '../../../../blocks/src/client';
|
|
3
|
-
import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
3
|
+
import type { ButtonStyleSelection, ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
|
|
4
4
|
import type { FooterLookId, HeaderLayoutStyleSelection, HeaderLogoContext } from '../../../../theme-core/src/site-styles/index';
|
|
5
5
|
import type { EntrySubrouteContextData, BookingOfferingPresetSummary, MediaAssetIndexItem, Theme } from '../../../../blocks/src/index';
|
|
6
6
|
import type { ContentTypeSchema } from '../../../../content-model/src/index';
|
|
@@ -51,6 +51,7 @@ type PreviewShellCommonProps = {
|
|
|
51
51
|
* complete palette state.
|
|
52
52
|
*/
|
|
53
53
|
themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
|
|
54
|
+
themeSelectionButtonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
|
|
54
55
|
themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
|
|
55
56
|
themeSelectionFooterLookId?: FooterLookId | null;
|
|
56
57
|
themeSelectionHeaderLogo?: HeaderLogoContext;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { type EntrySubrouteContextData, type BookingOfferingPresetSummary, type Theme } from '../../../../blocks/src/index';
|
|
3
|
-
import type { ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
3
|
+
import type { ButtonStyleSelection, ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
|
|
4
4
|
import type { HeaderLogoContext, FooterLookId, HeaderLayoutStyleSelection } from '../../../../theme-core/src/site-styles/index';
|
|
5
5
|
import type { ContentTypeSchema } from '../../../../content-model/src/index';
|
|
6
6
|
import type { ApiClient } from '../../../../api/src/request';
|
|
@@ -27,6 +27,7 @@ type PreviewShellLayoutCommonProps = {
|
|
|
27
27
|
themeSelectionVersion?: number | null;
|
|
28
28
|
themeSelectionUpdatedAt?: string | null;
|
|
29
29
|
themeSelectionButtonStyleSelection?: ButtonStyleSelection | null;
|
|
30
|
+
themeSelectionButtonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
|
|
30
31
|
themeSelectionHeaderSelection?: HeaderLayoutStyleSelection | null;
|
|
31
32
|
themeSelectionFooterLookId?: FooterLookId | null;
|
|
32
33
|
themeSelectionHeaderLogo?: HeaderLogoContext;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ApiClient } from '../../../../api/src/request';
|
|
3
3
|
import type { Theme } from '../../../../blocks/src/index';
|
|
4
|
+
import { type ButtonStyleSelectionRepair } from '../../../../theme-core/src/buttons/index';
|
|
4
5
|
import { type HeaderLogoContext } from '../../../../theme-core/src/site-styles/index';
|
|
5
6
|
import { type StyleConfiguratorInitialSelections } from './styleConfiguratorSnapshot';
|
|
6
7
|
export type StyleConfiguratorProps = Readonly<{
|
|
@@ -13,7 +14,8 @@ export type StyleConfiguratorProps = Readonly<{
|
|
|
13
14
|
selectionUpdatedAt?: string | null;
|
|
14
15
|
/** Server-persisted design selections. */
|
|
15
16
|
initialSelections: StyleConfiguratorInitialSelections & Readonly<Record<string, unknown>>;
|
|
17
|
+
buttonStyleRepairs?: readonly ButtonStyleSelectionRepair[];
|
|
16
18
|
headerLogoContext?: HeaderLogoContext;
|
|
17
19
|
onFocusedSurfaceChange?: (focused: boolean) => void;
|
|
18
20
|
}>;
|
|
19
|
-
export declare function StyleConfigurator({ siteId, apiClient, theme, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, headerLogoContext, onFocusedSurfaceChange, }: StyleConfiguratorProps): React.JSX.Element;
|
|
21
|
+
export declare function StyleConfigurator({ siteId, apiClient, theme, selectionId, selectionVersion, selectionUpdatedAt, initialSelections, buttonStyleRepairs, headerLogoContext, onFocusedSurfaceChange, }: StyleConfiguratorProps): React.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SelectionFallbackWarning } from '../../../../theme-core/src/site-styles/previewCompiler';
|
|
2
|
+
type StyleConfiguratorWarningNoticeProps = Readonly<{
|
|
3
|
+
warnings: ReadonlyArray<SelectionFallbackWarning>;
|
|
4
|
+
onDismiss: () => void;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function StyleConfiguratorWarningNotice({ warnings, onDismiss, }: StyleConfiguratorWarningNoticeProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '../../../../blocks/src/index';
|
|
2
|
-
import type
|
|
2
|
+
import { type ButtonStyleSelection } from '../../../../theme-core/src/buttons/index';
|
|
3
3
|
import type { FooterLookId, HeaderLayoutId, HeaderLogoContext, HeaderStyleId, SiteChromeSurface } from '../../../../theme-core/src/site-styles/index';
|
|
4
4
|
import { type CuratedSiteStyle, type SelectionFallbackWarning, type SiteThemeSelectionsResult, type SiteStyleId } from '../../../../theme-core/src/site-styles/previewCompiler';
|
|
5
5
|
export type SiteStylePreviewSelection = Readonly<{
|