@riverbankcms/sdk 0.151.0 → 0.153.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 +52 -0
- package/dist/{EventEmbeddedCheckoutStep-BBHbM22D.mjs → EventEmbeddedCheckoutStep-veN-QiAE.mjs} +10 -9
- package/dist/{PreviewEditorSidebar-BHplI9HE.mjs → PreviewEditorSidebar-jI_4DTZY.mjs} +4 -3
- package/dist/{PreviewEditorUI-DuyN8nsD.mjs → PreviewEditorUI-ORkVZhfu.mjs} +5 -4
- package/dist/{SdkPreviewModeRuntime-CR5ypwxJ.mjs → SdkPreviewModeRuntime-DaNqevI1.mjs} +341 -164
- package/dist/{SiteChromeCustomizeContext-D5t6joF_.mjs → SiteChromeCustomizeContext-CgNuBHC0.mjs} +27124 -39230
- package/dist/ThemedButton-X2UxhW6F.mjs +16525 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +52 -52
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +2357 -7859
- package/dist/_dts/api/src/bookingOperations.d.ts +5 -3
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +4 -0
- package/dist/_dts/api/src/communications.d.ts +19 -5
- package/dist/_dts/api/src/endpoints.d.ts +7 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +7 -0
- package/dist/_dts/api/src/navigation.d.ts +1 -1
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +10 -1
- package/dist/_dts/api/src/sdkThemeWire.d.ts +186 -1434
- package/dist/_dts/api/src/shared-contracts.d.ts +10 -0
- package/dist/_dts/api/src/siteAssets.d.ts +1 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +2 -1
- package/dist/_dts/api/src/teamMembers.d.ts +2 -27
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +3 -13
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/definitions.d.ts +1 -1
- package/dist/_dts/blocks/src/index.d.ts +2 -0
- package/dist/_dts/blocks/src/lib/media.d.ts +1 -0
- package/dist/_dts/blocks/src/lib/picsum.d.ts +2 -2
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +1 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/utils/sanitizeHref.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +212 -804
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +7 -2
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +45 -45
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +4 -7
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +2 -2
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +6 -6
- package/dist/_dts/blocks/src/system/fields/backgroundContent.d.ts +377 -1
- package/dist/_dts/blocks/src/system/helpers/backgroundMedia.d.ts +6 -2
- package/dist/_dts/blocks/src/system/helpers/normalizeMailingListBlockContent.d.ts +2 -0
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +3 -3
- package/dist/_dts/blocks/src/system/layout/repeaterGrid.d.ts +12 -5
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +3 -3
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +14 -2
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -5
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/schemas/events.d.ts +971 -0
- package/dist/_dts/blocks/src/system/runtime/api/schemas/waitlist-claims.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +10 -136
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +48 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingSubmission.state.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +5 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/ImageResolveContext.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +50 -202
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +51 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.hooks.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/carousel.client.state.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/BookingEntryViews.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventEmbeddedCheckoutStep.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +19 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +24 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardContent.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/GuestDetailsSection.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentStatusStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SingleTicketEntitlementNote.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/SuccessStep.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/VerifyingTimeoutStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingCardDisplay.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingEntry.d.ts +154 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/bookingFocus.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/finishedBooking.d.ts +77 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/offeringNoun.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentResponse.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationCompletion.d.ts +33 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDisplay.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDraft.state.d.ts +60 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +58 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +23 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useBookingBarFacts.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationRecoveryRequest.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +4 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +1563 -31
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +2 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/usePaymentStatusRecovery.d.ts +147 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +50 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/waitlistClaimRestoration.d.ts +6 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/wizardSteps.d.ts +85 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +53 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/CardListItem.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/MonthLookView.d.ts +10 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +290 -882
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +22 -90
- package/dist/_dts/blocks/src/system/runtime/nodes/mediaContext.d.ts +69 -0
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptionCopy.d.ts +5 -1
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +37 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/ModalShell.d.ts +9 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/PaymentChoiceRows.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +9 -12
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.state.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/themePortalRoot.d.ts +10 -15
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/links.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/bookingPaymentSelection.d.ts +6 -0
- package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +14 -14
- package/dist/_dts/commerce/src/purchase/confirmationPayment.d.ts +65 -0
- package/dist/_dts/commerce/src/purchase/confirmationPaymentSchema.d.ts +66 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/orderPaymentState.d.ts +8 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +3 -3
- package/dist/_dts/content-model/src/templates/defaults.d.ts +2 -2
- package/dist/_dts/core/src/appointment-booking-terms.d.ts +20 -0
- package/dist/_dts/core/src/booking-payment-schemas.d.ts +70 -0
- package/dist/_dts/core/src/branded.d.ts +0 -2
- package/dist/_dts/core/src/demo-claim-access.d.ts +1 -1
- package/dist/_dts/core/src/demo-claim-readiness.d.ts +18 -0
- package/dist/_dts/core/src/demo-lifecycle-status.d.ts +1 -1
- package/dist/_dts/core/src/demo-warm-pool-target.d.ts +1 -1
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/mailing-list-runtime.d.ts +2 -2
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +9 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +9 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +1 -1
- package/dist/_dts/core/src/mailing-list-targeting-availability.d.ts +68 -0
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +11 -1
- package/dist/_dts/core/src/ticket-quantity.d.ts +13 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +106 -36
- package/dist/_dts/editor/src/chrome/chromeLayers.d.ts +7 -0
- package/dist/_dts/editor/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/admitEditorMediaField.d.ts +4 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkAddressInput.d.ts +8 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkContentList.d.ts +12 -0
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +5 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +8 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +4 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/draft.d.ts +44 -0
- package/dist/_dts/editor-blocks/src/widgets/link/presentation.d.ts +13 -0
- package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +14 -0
- package/dist/_dts/editor-blocks/src/widgets/link/useRoutableContent.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +5 -4
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +13 -8
- package/dist/_dts/media-core/src/assetsInUseSummary.d.ts +6 -0
- package/dist/_dts/media-core/src/contentMediaAudit.d.ts +3 -2
- package/dist/_dts/media-core/src/fileStorage.d.ts +4 -3
- package/dist/_dts/media-core/src/index.d.ts +5 -0
- package/dist/_dts/media-core/src/media.d.ts +406 -0
- package/dist/_dts/media-core/src/mediaIdentifierSchema.d.ts +3 -0
- package/dist/_dts/media-core/src/mediaKinds.d.ts +2 -0
- package/dist/_dts/media-core/src/mediaUsageProjection.d.ts +13 -1
- package/dist/_dts/media-core/src/mediaWriteNormalizer.d.ts +2 -6
- package/dist/_dts/media-core/src/portableMediaReferences.d.ts +8 -21
- package/dist/_dts/media-core/src/renderableMediaAsset.d.ts +28 -14
- package/dist/_dts/media-core/src/renderableMediaAssetAdmission.d.ts +15 -0
- package/dist/_dts/media-core/src/storageObjectKey.d.ts +12 -0
- package/dist/_dts/media-editor/src/CropDialog.d.ts +6 -3
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -1
- package/dist/_dts/media-editor/src/MediaPreview.d.ts +3 -3
- package/dist/_dts/media-editor/src/cropEditorSource.d.ts +5 -7
- package/dist/_dts/media-editor/src/editorMediaState.d.ts +29 -0
- package/dist/_dts/media-editor/src/mediaSelection.d.ts +1 -2
- package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +4 -5
- package/dist/_dts/media-editor/src/types.d.ts +1 -1
- package/dist/_dts/media-editor/src/utils.d.ts +0 -1
- package/dist/_dts/media-react/src/components/cropChangePolicy.d.ts +4 -1
- package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -0
- package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -0
- package/dist/_dts/media-react/src/hooks/useSupabaseMediaUploader.d.ts +1 -1
- package/dist/_dts/media-react/src/internal/supabaseResumableUpload.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/blocks/BlockBackgroundChooser.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeSelectedMedia.d.ts +11 -12
- package/dist/_dts/preview-next/src/client/preview/previewModeRootAttribute.d.ts +11 -0
- package/dist/_dts/sdk/src/contracts/content.d.ts +2 -45
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +3 -3
- package/dist/_dts/sdk/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +0 -1
- package/dist/_dts/sdk/src/rendering/image.d.ts +14 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +5 -2
- package/dist/_dts/sdk/src/rendering/link.d.ts +5 -0
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +2 -4
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/opaquePanels.d.ts +3 -3
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +397 -26
- package/dist/_dts/theme-core/src/buttons/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/cards/types.d.ts +34 -34
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/lib/media.d.ts +2 -616
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +261 -2619
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +548 -3187
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -9
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/styles/skinTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +2 -2
- package/dist/client/BookingMailingListNote-DrchYW1m.mjs +386 -0
- package/dist/client/{CardListItem-ZDLYh6dL.mjs → CardListItem-CC_GVmF6.mjs} +5 -5
- package/dist/client/CheckIcon-CpyXr-Kg.mjs +35 -0
- package/dist/client/{CheckboxChoice-M-3HycLw.mjs → CheckboxChoice-Dq30m3DO.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BMtvPTWE.mjs → DemoBookingPortalAccess-ojwbVUmx.mjs} +85 -85
- package/dist/client/{EventCombined.client-DUm_DOxW.mjs → EventCombined.client-DyN0v0Xk.mjs} +7 -9
- package/dist/client/{EventEmbeddedCheckoutStep-DsNNzgRm.mjs → EventEmbeddedCheckoutStep-CgfpKc3n.mjs} +11 -10
- package/dist/client/{EventListing.client-DjNYGUVm.mjs → EventListing.client-CuOuvYMz.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DuFiOHq_.mjs → LeafletStaticMap-B0WhRr3j.mjs} +1 -1
- package/dist/client/{ModalShell-CqkBvBIC.mjs → ModalShell-BXzucfR6.mjs} +83 -12
- package/dist/client/{RichText-LjPCUGGi.mjs → RichText-C1fIXBzA.mjs} +50 -34
- package/dist/client/{ThemedButton-DZKjtaDD.mjs → ThemedButton-B7HFqFBg.mjs} +1 -2
- package/dist/client/{accordion-Qe--SILD.mjs → accordion-DCDVWSye.mjs} +1 -1
- package/dist/client/{bookingForm-3BCl4g_f.mjs → bookingForm-BJ3C4GlM.mjs} +321 -154
- package/dist/client/bookings.mjs +118607 -22429
- package/dist/client/{carousel-h2YjKOS2.mjs → carousel-BSCBhfHY.mjs} +2 -2
- package/dist/client/{carousel.client-BLrd4hmY.mjs → carousel.client-GEtOGsxo.mjs} +46 -41
- package/dist/client/{cart-5NeiigVd.mjs → cart-Yv-aAtck.mjs} +3 -3
- package/dist/client/{checkout-G4UWjOEw.mjs → checkout-B9xDkl30.mjs} +3 -3
- package/dist/client/client.mjs +37511 -33793
- package/dist/client/{context-GK4-AVAh.mjs → context-BOGe3rIA.mjs} +275 -10
- package/dist/client/{eventCalendar-Prw3Yo_L.mjs → eventCalendar-D6M0T9hs.mjs} +18 -17
- package/dist/client/{eventCombined-BUugi6__.mjs → eventCombined-NM4UFBq8.mjs} +4 -4
- package/dist/client/{eventDetails-CBHUda-R.mjs → eventDetails-f_FhV4O8.mjs} +3 -4
- package/dist/client/{eventListing-CQeG45Dg.mjs → eventListing-WLkfAROh.mjs} +4 -4
- package/dist/client/{eventRegistration-Dif3p3oJ.mjs → eventRegistration-D3ejfLvW.mjs} +2209 -2144
- package/dist/client/{form-Cf0WMtfG.mjs → form-D5Or2Jyu.mjs} +5 -6
- package/dist/client/{headerSection-Bqdr3JWp.mjs → headerSection-hWgnv27V.mjs} +9 -9
- package/dist/client/hooks.mjs +17278 -16106
- package/dist/client/{locationMap-BVvPou4O.mjs → locationMap-Di1K0O2S.mjs} +3 -4
- package/dist/client/{media-47fcnhzD.mjs → media-D29-F1u_.mjs} +183 -362
- package/dist/client/mediaContext-CwbbimYB.mjs +135 -0
- package/dist/client/{newsletterForm-Cx-1dnic.mjs → newsletterForm-CwxcwTNO.mjs} +5 -5
- package/dist/client/{productDetail-DaUMaJYk.mjs → productDetail-BLSnhPdA.mjs} +3 -3
- package/dist/client/{productList-BKQlWEKE.mjs → productList-oGytONOX.mjs} +3 -3
- package/dist/client/{propsDecoder-DO5iXphQ.mjs → propsDecoder-lf_dTeZS.mjs} +18659 -14473
- package/dist/client/renderableMediaAssetAdmission-CHkXYDC_.mjs +143 -0
- package/dist/client/rendering/client.mjs +58971 -55722
- package/dist/client/rendering/islands.mjs +20 -23
- package/dist/client/rendering.mjs +41610 -37917
- package/dist/client/{routeIslandApiConfig-BNm0Z3-g.mjs → routeIslandApiConfig-Bc_WVPS8.mjs} +1 -1
- package/dist/client/{shop-D7ytcFBC.mjs → shop-BQ3bR7fA.mjs} +16 -14
- package/dist/client/{shop-commerce-D68-hHy2.mjs → shop-commerce-DDPll6ZC.mjs} +9 -9
- package/dist/client/{shop-commerce-store-Cu7X2lyu.mjs → shop-commerce-store-DO-e1pTe.mjs} +1 -1
- package/dist/client/{shopShared-D12rxE69.mjs → shopShared-BylM9jh1.mjs} +5 -5
- package/dist/client/themePortalRoot-DS92SRVZ.mjs +47 -0
- package/dist/client/{TerminalPanel-DOTSUCO0.mjs → useDiscountCodeUi-B1Puub2v.mjs} +60 -77
- package/dist/client/{useEventPagination-jgKa67KV.mjs → useEventPagination-BBhkmQaT.mjs} +6 -8
- package/dist/preview-next/before-render.mjs +96 -4
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/keepAlive.mjs +7 -0
- package/dist/preview-next/middleware.mjs +7 -0
- package/dist/{sdk-runtime-4cCWO_3i.mjs → sdk-runtime-DWCvhJGu.mjs} +1 -1
- package/dist/server/components.mjs +21820 -19902
- package/dist/server/config-validation.mjs +1786 -642
- package/dist/server/config.mjs +1786 -642
- package/dist/server/data.mjs +17220 -16076
- package/dist/server/index.mjs +234 -2
- package/dist/server/next.mjs +22505 -20528
- package/dist/server/page-converter.mjs +7587 -6572
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +20487 -19044
- package/dist/server/rendering.mjs +21844 -19901
- package/dist/server/routing.mjs +19186 -17961
- package/dist/server/server.mjs +1874 -695
- package/dist/server/theme-bridge.mjs +1371 -914
- package/dist/server/theme.mjs +154 -37
- package/dist/{spinner-tSdG9YvG.mjs → spinner-BYM-Y81w.mjs} +1 -1
- package/dist/styles/index.css +1088 -721
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/OrderSummary.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useWaitlistClaimRestoration.d.ts +0 -22
- package/dist/_dts/blocks/src/system/runtime/shared/components/SelectableOptionCard.d.ts +0 -30
- package/dist/client/BookingMailingListNote-DlDSs5Vm.mjs +0 -567
- package/dist/client/colorStyles-DTunOThj.mjs +0 -1316
- package/dist/client/pricing-CMD0kADd.mjs +0 -314
- package/dist/client/result-DRW7JWXz.mjs +0 -30
- package/dist/client/scrollToBlock-C86BYkyV.mjs +0 -17
- package/dist/client/themePortalRoot-AGs4cE7t.mjs +0 -30
- package/dist/spinner-BL3kW9Uh.mjs +0 -803
|
@@ -5911,51 +5911,61 @@ export type Database = {
|
|
|
5911
5911
|
};
|
|
5912
5912
|
demo_claims: {
|
|
5913
5913
|
Row: {
|
|
5914
|
+
blueprint_version_id: string | null;
|
|
5914
5915
|
claimant_email: string;
|
|
5915
5916
|
claimant_user_id: string | null;
|
|
5916
|
-
claimed_at: string;
|
|
5917
|
+
claimed_at: string | null;
|
|
5917
5918
|
created_at: string;
|
|
5918
|
-
expires_at: string;
|
|
5919
|
+
expires_at: string | null;
|
|
5919
5920
|
id: string;
|
|
5920
|
-
instance_id: string;
|
|
5921
|
+
instance_id: string | null;
|
|
5921
5922
|
metadata: Json;
|
|
5922
5923
|
release_reason: string | null;
|
|
5923
5924
|
released_at: string | null;
|
|
5924
|
-
site_id: string;
|
|
5925
|
+
site_id: string | null;
|
|
5925
5926
|
status: string;
|
|
5926
5927
|
updated_at: string;
|
|
5927
5928
|
};
|
|
5928
5929
|
Insert: {
|
|
5930
|
+
blueprint_version_id?: string | null;
|
|
5929
5931
|
claimant_email: string;
|
|
5930
5932
|
claimant_user_id?: string | null;
|
|
5931
|
-
claimed_at?: string;
|
|
5933
|
+
claimed_at?: string | null;
|
|
5932
5934
|
created_at?: string;
|
|
5933
|
-
expires_at
|
|
5935
|
+
expires_at?: string | null;
|
|
5934
5936
|
id?: string;
|
|
5935
|
-
instance_id
|
|
5937
|
+
instance_id?: string | null;
|
|
5936
5938
|
metadata?: Json;
|
|
5937
5939
|
release_reason?: string | null;
|
|
5938
5940
|
released_at?: string | null;
|
|
5939
|
-
site_id
|
|
5941
|
+
site_id?: string | null;
|
|
5940
5942
|
status?: string;
|
|
5941
5943
|
updated_at?: string;
|
|
5942
5944
|
};
|
|
5943
5945
|
Update: {
|
|
5946
|
+
blueprint_version_id?: string | null;
|
|
5944
5947
|
claimant_email?: string;
|
|
5945
5948
|
claimant_user_id?: string | null;
|
|
5946
|
-
claimed_at?: string;
|
|
5949
|
+
claimed_at?: string | null;
|
|
5947
5950
|
created_at?: string;
|
|
5948
|
-
expires_at?: string;
|
|
5951
|
+
expires_at?: string | null;
|
|
5949
5952
|
id?: string;
|
|
5950
|
-
instance_id?: string;
|
|
5953
|
+
instance_id?: string | null;
|
|
5951
5954
|
metadata?: Json;
|
|
5952
5955
|
release_reason?: string | null;
|
|
5953
5956
|
released_at?: string | null;
|
|
5954
|
-
site_id?: string;
|
|
5957
|
+
site_id?: string | null;
|
|
5955
5958
|
status?: string;
|
|
5956
5959
|
updated_at?: string;
|
|
5957
5960
|
};
|
|
5958
5961
|
Relationships: [
|
|
5962
|
+
{
|
|
5963
|
+
foreignKeyName: "demo_claims_blueprint_version_id_fkey";
|
|
5964
|
+
columns: ["blueprint_version_id"];
|
|
5965
|
+
isOneToOne: false;
|
|
5966
|
+
referencedRelation: "demo_blueprint_versions";
|
|
5967
|
+
referencedColumns: ["id"];
|
|
5968
|
+
},
|
|
5959
5969
|
{
|
|
5960
5970
|
foreignKeyName: "demo_claims_instance_id_fkey";
|
|
5961
5971
|
columns: ["instance_id"];
|
|
@@ -11248,7 +11258,7 @@ export type Database = {
|
|
|
11248
11258
|
};
|
|
11249
11259
|
newsletter_campaigns: {
|
|
11250
11260
|
Row: {
|
|
11251
|
-
|
|
11261
|
+
audience_json: Json | null;
|
|
11252
11262
|
audience_tags: string[];
|
|
11253
11263
|
captured_at: string | null;
|
|
11254
11264
|
created_at: string;
|
|
@@ -11272,7 +11282,7 @@ export type Database = {
|
|
|
11272
11282
|
updated_by: string | null;
|
|
11273
11283
|
};
|
|
11274
11284
|
Insert: {
|
|
11275
|
-
|
|
11285
|
+
audience_json?: Json | null;
|
|
11276
11286
|
audience_tags?: string[];
|
|
11277
11287
|
captured_at?: string | null;
|
|
11278
11288
|
created_at?: string;
|
|
@@ -11296,7 +11306,7 @@ export type Database = {
|
|
|
11296
11306
|
updated_by?: string | null;
|
|
11297
11307
|
};
|
|
11298
11308
|
Update: {
|
|
11299
|
-
|
|
11309
|
+
audience_json?: Json | null;
|
|
11300
11310
|
audience_tags?: string[];
|
|
11301
11311
|
captured_at?: string | null;
|
|
11302
11312
|
created_at?: string;
|
|
@@ -11545,6 +11555,8 @@ export type Database = {
|
|
|
11545
11555
|
anonymized_by: string | null;
|
|
11546
11556
|
confirm_token_expires_at: string | null;
|
|
11547
11557
|
confirm_token_hash: string | null;
|
|
11558
|
+
confirmation_consent_json: Json | null;
|
|
11559
|
+
confirmation_general_subscription: boolean;
|
|
11548
11560
|
confirmation_list_ids: string[] | null;
|
|
11549
11561
|
confirmation_revision: number | null;
|
|
11550
11562
|
confirmed_at: string | null;
|
|
@@ -11561,6 +11573,7 @@ export type Database = {
|
|
|
11561
11573
|
email_lower: string | null;
|
|
11562
11574
|
first_name: string | null;
|
|
11563
11575
|
full_name: string | null;
|
|
11576
|
+
general_subscribed_at: string | null;
|
|
11564
11577
|
id: string;
|
|
11565
11578
|
last_name: string | null;
|
|
11566
11579
|
phone: string | null;
|
|
@@ -11580,6 +11593,8 @@ export type Database = {
|
|
|
11580
11593
|
anonymized_by?: string | null;
|
|
11581
11594
|
confirm_token_expires_at?: string | null;
|
|
11582
11595
|
confirm_token_hash?: string | null;
|
|
11596
|
+
confirmation_consent_json?: Json | null;
|
|
11597
|
+
confirmation_general_subscription?: boolean;
|
|
11583
11598
|
confirmation_list_ids?: string[] | null;
|
|
11584
11599
|
confirmation_revision?: number | null;
|
|
11585
11600
|
confirmed_at?: string | null;
|
|
@@ -11596,6 +11611,7 @@ export type Database = {
|
|
|
11596
11611
|
email_lower?: string | null;
|
|
11597
11612
|
first_name?: string | null;
|
|
11598
11613
|
full_name?: string | null;
|
|
11614
|
+
general_subscribed_at?: string | null;
|
|
11599
11615
|
id?: string;
|
|
11600
11616
|
last_name?: string | null;
|
|
11601
11617
|
phone?: string | null;
|
|
@@ -11615,6 +11631,8 @@ export type Database = {
|
|
|
11615
11631
|
anonymized_by?: string | null;
|
|
11616
11632
|
confirm_token_expires_at?: string | null;
|
|
11617
11633
|
confirm_token_hash?: string | null;
|
|
11634
|
+
confirmation_consent_json?: Json | null;
|
|
11635
|
+
confirmation_general_subscription?: boolean;
|
|
11618
11636
|
confirmation_list_ids?: string[] | null;
|
|
11619
11637
|
confirmation_revision?: number | null;
|
|
11620
11638
|
confirmed_at?: string | null;
|
|
@@ -11631,6 +11649,7 @@ export type Database = {
|
|
|
11631
11649
|
email_lower?: string | null;
|
|
11632
11650
|
first_name?: string | null;
|
|
11633
11651
|
full_name?: string | null;
|
|
11652
|
+
general_subscribed_at?: string | null;
|
|
11634
11653
|
id?: string;
|
|
11635
11654
|
last_name?: string | null;
|
|
11636
11655
|
phone?: string | null;
|
|
@@ -18998,27 +19017,9 @@ export type Database = {
|
|
|
18998
19017
|
Args: {
|
|
18999
19018
|
p_blueprint_id: string;
|
|
19000
19019
|
p_claimant_email: string;
|
|
19001
|
-
p_claimant_user_id
|
|
19002
|
-
p_claimed_at: string;
|
|
19003
|
-
p_expires_at: string;
|
|
19020
|
+
p_claimant_user_id: string;
|
|
19004
19021
|
};
|
|
19005
|
-
Returns:
|
|
19006
|
-
claim_claimant_email: string;
|
|
19007
|
-
claim_claimant_user_id: string;
|
|
19008
|
-
claim_claimed_at: string;
|
|
19009
|
-
claim_expires_at: string;
|
|
19010
|
-
claim_id: string;
|
|
19011
|
-
claim_instance_id: string;
|
|
19012
|
-
claim_site_id: string;
|
|
19013
|
-
claim_status: string;
|
|
19014
|
-
instance_blueprint_id: string;
|
|
19015
|
-
instance_blueprint_version_id: string;
|
|
19016
|
-
instance_claimed_at: string;
|
|
19017
|
-
instance_expires_at: string;
|
|
19018
|
-
instance_id: string;
|
|
19019
|
-
instance_site_id: string;
|
|
19020
|
-
instance_status: string;
|
|
19021
|
-
}[];
|
|
19022
|
+
Returns: Json;
|
|
19022
19023
|
};
|
|
19023
19024
|
claim_order_flexible_balance_payment_for_booking: {
|
|
19024
19025
|
Args: {
|
|
@@ -19402,6 +19403,12 @@ export type Database = {
|
|
|
19402
19403
|
};
|
|
19403
19404
|
Returns: boolean;
|
|
19404
19405
|
};
|
|
19406
|
+
complete_preparing_demo_claim_atomic: {
|
|
19407
|
+
Args: {
|
|
19408
|
+
p_claim_id: string;
|
|
19409
|
+
};
|
|
19410
|
+
Returns: Json;
|
|
19411
|
+
};
|
|
19405
19412
|
connect_brevo_account_v1: {
|
|
19406
19413
|
Args: {
|
|
19407
19414
|
p_account_email: string;
|
|
@@ -19872,6 +19879,12 @@ export type Database = {
|
|
|
19872
19879
|
};
|
|
19873
19880
|
Returns: Json;
|
|
19874
19881
|
};
|
|
19882
|
+
demo_claim_expires_at: {
|
|
19883
|
+
Args: {
|
|
19884
|
+
p_claimed_at: string;
|
|
19885
|
+
};
|
|
19886
|
+
Returns: string;
|
|
19887
|
+
};
|
|
19875
19888
|
discard_authoritative_page_surface_draft: {
|
|
19876
19889
|
Args: {
|
|
19877
19890
|
p_expected_content_draft_updated_at: string;
|
|
@@ -20339,6 +20352,13 @@ export type Database = {
|
|
|
20339
20352
|
};
|
|
20340
20353
|
Returns: string;
|
|
20341
20354
|
};
|
|
20355
|
+
grant_demo_administrator_membership: {
|
|
20356
|
+
Args: {
|
|
20357
|
+
p_site_id: string;
|
|
20358
|
+
p_user_id: string;
|
|
20359
|
+
};
|
|
20360
|
+
Returns: undefined;
|
|
20361
|
+
};
|
|
20342
20362
|
guard_site_stripe_account_change: {
|
|
20343
20363
|
Args: {
|
|
20344
20364
|
p_account_email?: string;
|
|
@@ -20663,6 +20683,40 @@ export type Database = {
|
|
|
20663
20683
|
};
|
|
20664
20684
|
Returns: undefined;
|
|
20665
20685
|
};
|
|
20686
|
+
newsletter_admin_import_atomic: {
|
|
20687
|
+
Args: {
|
|
20688
|
+
p_audience: Json;
|
|
20689
|
+
p_rows: Json;
|
|
20690
|
+
p_site_id: string;
|
|
20691
|
+
};
|
|
20692
|
+
Returns: {
|
|
20693
|
+
created: boolean;
|
|
20694
|
+
error_code: string;
|
|
20695
|
+
row_number: number;
|
|
20696
|
+
subscriber_row: Database["public"]["Tables"]["newsletter_subscribers"]["Row"];
|
|
20697
|
+
}[];
|
|
20698
|
+
};
|
|
20699
|
+
newsletter_admin_subscribe_atomic: {
|
|
20700
|
+
Args: {
|
|
20701
|
+
p_audience: Json;
|
|
20702
|
+
p_consent_source: string;
|
|
20703
|
+
p_email: string;
|
|
20704
|
+
p_profile: Json;
|
|
20705
|
+
p_site_id: string;
|
|
20706
|
+
};
|
|
20707
|
+
Returns: {
|
|
20708
|
+
created: boolean;
|
|
20709
|
+
subscriber_row: Database["public"]["Tables"]["newsletter_subscribers"]["Row"];
|
|
20710
|
+
}[];
|
|
20711
|
+
};
|
|
20712
|
+
newsletter_audience_eligible: {
|
|
20713
|
+
Args: {
|
|
20714
|
+
p_audience: Json;
|
|
20715
|
+
p_site_id: string;
|
|
20716
|
+
p_subscriber: Database["public"]["Tables"]["newsletter_subscribers"]["Row"];
|
|
20717
|
+
};
|
|
20718
|
+
Returns: boolean;
|
|
20719
|
+
};
|
|
20666
20720
|
newsletter_begin_attempt_atomic: {
|
|
20667
20721
|
Args: {
|
|
20668
20722
|
p_claim_token: string;
|
|
@@ -20736,7 +20790,7 @@ export type Database = {
|
|
|
20736
20790
|
};
|
|
20737
20791
|
newsletter_count_recipients: {
|
|
20738
20792
|
Args: {
|
|
20739
|
-
|
|
20793
|
+
p_audience: Json;
|
|
20740
20794
|
p_site_id: string;
|
|
20741
20795
|
p_tags: string[];
|
|
20742
20796
|
};
|
|
@@ -20772,6 +20826,7 @@ export type Database = {
|
|
|
20772
20826
|
newsletter_preferences_atomic: {
|
|
20773
20827
|
Args: {
|
|
20774
20828
|
p_campaign_id?: string;
|
|
20829
|
+
p_general_subscription: boolean;
|
|
20775
20830
|
p_list_ids: string[];
|
|
20776
20831
|
p_nonce: string;
|
|
20777
20832
|
p_site_id: string;
|
|
@@ -20807,6 +20862,7 @@ export type Database = {
|
|
|
20807
20862
|
p_consent: Json;
|
|
20808
20863
|
p_double_opt_in: boolean;
|
|
20809
20864
|
p_email: string;
|
|
20865
|
+
p_general_subscription: boolean;
|
|
20810
20866
|
p_list_ids: string[];
|
|
20811
20867
|
p_profile: Json;
|
|
20812
20868
|
p_site_id: string;
|
|
@@ -20834,6 +20890,12 @@ export type Database = {
|
|
|
20834
20890
|
removed_count: number;
|
|
20835
20891
|
}[];
|
|
20836
20892
|
};
|
|
20893
|
+
newsletter_valid_audience: {
|
|
20894
|
+
Args: {
|
|
20895
|
+
p_audience: Json;
|
|
20896
|
+
};
|
|
20897
|
+
Returns: boolean;
|
|
20898
|
+
};
|
|
20837
20899
|
next_order_number: {
|
|
20838
20900
|
Args: {
|
|
20839
20901
|
p_site_id: string;
|
|
@@ -21541,6 +21603,14 @@ export type Database = {
|
|
|
21541
21603
|
};
|
|
21542
21604
|
Returns: undefined;
|
|
21543
21605
|
};
|
|
21606
|
+
request_demo_claim_atomic: {
|
|
21607
|
+
Args: {
|
|
21608
|
+
p_blueprint_id: string;
|
|
21609
|
+
p_claimant_email: string;
|
|
21610
|
+
p_claimant_user_id: string;
|
|
21611
|
+
};
|
|
21612
|
+
Returns: Json;
|
|
21613
|
+
};
|
|
21544
21614
|
request_order_payment_plan_collection_closure: {
|
|
21545
21615
|
Args: {
|
|
21546
21616
|
p_plan_id: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where preview and editor chrome stacks against the site it shows. Sites
|
|
3
|
+
* float their own overlays (the event booking bar sits at 12000 and its
|
|
4
|
+
* booking panel at 14000): the chrome stays above a site's floating bars, so
|
|
5
|
+
* its controls stay clickable while viewing, and below a site's modal panel.
|
|
6
|
+
*/
|
|
7
|
+
export declare const PREVIEW_CHROME_Z_INDEX = 13000;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { EditorChrome } from './chrome/EditorChrome';
|
|
2
|
+
export { PREVIEW_CHROME_Z_INDEX } from './chrome/chromeLayers';
|
|
2
3
|
export { EditorStatusBar } from './chrome/EditorStatusBar';
|
|
3
4
|
export { buildEditorStatusBarPresentationProps } from './chrome/statusBarPresentation';
|
|
4
5
|
export type { DraftWorkflowStatus, EditorHistoryBarControls, EditorStatusBarProps, EditorStatusBarToolbar, StatusBarMenuItem, } from './chrome/EditorStatusBar';
|
|
@@ -28,3 +28,4 @@ export * from './widgets/index';
|
|
|
28
28
|
export { createBlockFormLogger, setBlockFormLoggerFactory, setBlockFormAppLogger, } from './block-form/debug';
|
|
29
29
|
export type { BlockFormLogger } from './block-form/debug';
|
|
30
30
|
export { ColourFieldOptionsProvider } from './block-editor/ColourFieldOptionsProvider';
|
|
31
|
+
export { admitEditorMediaField } from './media/admitEditorMediaField';
|
|
@@ -7,5 +7,5 @@ import type { VideoPrepIntentResolver } from '../../../media-react/src/index';
|
|
|
7
7
|
export declare function uploadIntentForFileField(): UploadIntentContract;
|
|
8
8
|
export declare function videoPrepIntentForMediaField(fieldPath: string, mediaKinds: readonly NonNullable<MediaFieldConfig['mediaKinds']>[number][] | undefined): VideoPrepIntentResolver | undefined;
|
|
9
9
|
export declare function videoSelectionIntentForMediaField(fieldPath: string, mediaKinds: readonly NonNullable<MediaFieldConfig['mediaKinds']>[number][] | undefined): VideoPrepIntent | undefined;
|
|
10
|
-
export declare function MediaField(
|
|
11
|
-
export declare function FileField(
|
|
10
|
+
export declare function MediaField(props: FieldWidgetProps<MediaValue | undefined, MediaFieldConfig>): import("react").JSX.Element;
|
|
11
|
+
export declare function FileField(props: FieldWidgetProps<MediaValue | undefined, FileFieldConfig>): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Media, type RenderableMediaAssetIndex } from '../../../media-core/src/index';
|
|
2
|
+
import type { MediaFieldValidationPlan } from '../../../blocks/src/system/manifest/fieldValidation/index';
|
|
3
|
+
/** The field descriptor supplies the omitted stored kind at the editor boundary. */
|
|
4
|
+
export declare function admitEditorMediaField(value: unknown, plan: MediaFieldValidationPlan, index: RenderableMediaAssetIndex | undefined): Media | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function LinkAddressInput({ kind, text, invalid, disabled, onChange, destination }: {
|
|
2
|
+
kind: 'external' | 'custom';
|
|
3
|
+
text: string;
|
|
4
|
+
invalid: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onChange: (text: string) => void;
|
|
7
|
+
destination?: string;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RoutableContentItem } from '../../../../api/src/navigation';
|
|
2
|
+
import type { InternalReference } from './draft';
|
|
3
|
+
import type { RoutableContentState } from './types';
|
|
4
|
+
export declare function LinkContentList({ content, value, query, onQuery, onSelect, disabled, onRefresh }: {
|
|
5
|
+
content: RoutableContentState;
|
|
6
|
+
value: InternalReference | null;
|
|
7
|
+
query: string;
|
|
8
|
+
onQuery: (query: string) => void;
|
|
9
|
+
onSelect: (item: RoutableContentItem) => void;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
onRefresh?: () => void;
|
|
12
|
+
}): import("react").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type RoutableContentItem } from '../../../../api/src/navigation';
|
|
2
2
|
import type { SiteId } from '../../../../core/src/index';
|
|
3
3
|
import type { LinkValue } from '../../../../blocks/src/index';
|
|
4
|
+
import type { RoutableContentResource } from './types';
|
|
4
5
|
import type { LinkWidgetAdapters } from './types';
|
|
5
6
|
export type LinkPickerProps = {
|
|
6
7
|
siteId?: SiteId;
|
|
@@ -10,5 +11,8 @@ export type LinkPickerProps = {
|
|
|
10
11
|
initialItems?: RoutableContentItem[];
|
|
11
12
|
className?: string;
|
|
12
13
|
adapters?: LinkWidgetAdapters;
|
|
14
|
+
content?: RoutableContentResource;
|
|
15
|
+
onCancel?: () => void;
|
|
16
|
+
actionLabel?: string;
|
|
13
17
|
};
|
|
14
18
|
export declare function LinkPicker(props: LinkPickerProps): import("react").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { LinkValue } from '../../../../blocks/src/index';
|
|
2
|
-
import type
|
|
2
|
+
import { type LinkPickerProps } from './LinkPicker';
|
|
3
3
|
type LinkPickerDialogProps = {
|
|
4
4
|
open: boolean;
|
|
5
5
|
onOpenChange: (open: boolean) => void;
|
|
6
6
|
value: LinkValue | null;
|
|
7
7
|
onSave: (value: LinkValue | null) => void;
|
|
8
|
-
} & Pick<LinkPickerProps, 'siteId' | 'disabled' | 'initialItems' | 'adapters'>;
|
|
9
|
-
export declare function LinkPickerDialog({ open, onOpenChange, value, onSave,
|
|
8
|
+
} & Pick<LinkPickerProps, 'siteId' | 'disabled' | 'initialItems' | 'adapters' | 'content'>;
|
|
9
|
+
export declare function LinkPickerDialog({ open, onOpenChange, value, onSave, ...options }: LinkPickerDialogProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import type { LinkValue } from '../../../../blocks/src/index';
|
|
2
|
+
import { type LinkPresentation } from './presentation';
|
|
3
|
+
import type { RoutableContentState } from './types';
|
|
4
|
+
export declare function LinkPresentationContent({ presentation }: {
|
|
5
|
+
presentation: LinkPresentation;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
export declare function LinkSummary({ value, content }: {
|
|
3
8
|
value: LinkValue | null;
|
|
9
|
+
content?: RoutableContentState;
|
|
4
10
|
}): import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { LinkValue } from '../../../../blocks/src/index';
|
|
3
3
|
import type { RoutableContentItem } from '../../../../api/src/navigation';
|
|
4
4
|
import type { SiteId } from '../../../../core/src/index';
|
|
5
|
-
import type { LinkWidgetAdapters } from './types';
|
|
5
|
+
import type { LinkWidgetAdapters, RoutableContentResource } from './types';
|
|
6
6
|
export type LinkWidgetProps = {
|
|
7
7
|
siteId?: SiteId;
|
|
8
8
|
value: LinkValue | null;
|
|
@@ -10,9 +10,10 @@ export type LinkWidgetProps = {
|
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
initialItems?: RoutableContentItem[];
|
|
12
12
|
adapters?: LinkWidgetAdapters;
|
|
13
|
+
content?: RoutableContentResource;
|
|
13
14
|
label?: ReactNode;
|
|
14
15
|
description?: ReactNode;
|
|
15
16
|
fieldPath?: string;
|
|
16
17
|
mode?: 'inline' | 'dialog';
|
|
17
18
|
};
|
|
18
|
-
export declare function LinkWidget({
|
|
19
|
+
export declare function LinkWidget({ value, onChange, label, description, fieldPath, mode, content: supplied, ...options }: LinkWidgetProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { RoutableContentItem } from '../../../../api/src/navigation';
|
|
3
3
|
import type { SiteId } from '../../../../core/src/index';
|
|
4
|
-
import type { LinkWidgetAdapters } from './types';
|
|
4
|
+
import type { LinkWidgetAdapters, RoutableContentResource } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Context value for LinkWidget
|
|
7
7
|
*
|
|
@@ -12,6 +12,7 @@ export type LinkWidgetContextValue = {
|
|
|
12
12
|
siteId?: SiteId;
|
|
13
13
|
adapters?: LinkWidgetAdapters;
|
|
14
14
|
initialItems?: RoutableContentItem[];
|
|
15
|
+
content?: RoutableContentResource;
|
|
15
16
|
};
|
|
16
17
|
/**
|
|
17
18
|
* Provider for LinkWidget context
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type LinkValue } from '../../../../blocks/src/index';
|
|
2
|
+
import type { RoutableContentState } from './types';
|
|
3
|
+
export type InternalReference = Extract<LinkValue, {
|
|
4
|
+
kind: 'internal' | 'page' | 'entry';
|
|
5
|
+
}>;
|
|
6
|
+
export type LinkTab = 'internal' | 'external' | 'custom';
|
|
7
|
+
type EditingLinkDraft = Readonly<{
|
|
8
|
+
kind: 'editing';
|
|
9
|
+
tab: LinkTab;
|
|
10
|
+
internal: InternalReference | null;
|
|
11
|
+
external: string;
|
|
12
|
+
custom: string;
|
|
13
|
+
}>;
|
|
14
|
+
export type LinkDraft = EditingLinkDraft | Readonly<{
|
|
15
|
+
kind: 'cleared';
|
|
16
|
+
tab: 'internal';
|
|
17
|
+
internal: null;
|
|
18
|
+
external: '';
|
|
19
|
+
custom: '';
|
|
20
|
+
}>;
|
|
21
|
+
export type LinkDraftEvent = {
|
|
22
|
+
type: 'clear';
|
|
23
|
+
} | {
|
|
24
|
+
type: 'tab';
|
|
25
|
+
tab: LinkTab;
|
|
26
|
+
} | {
|
|
27
|
+
type: 'internal';
|
|
28
|
+
value: InternalReference;
|
|
29
|
+
} | {
|
|
30
|
+
type: 'external' | 'custom';
|
|
31
|
+
text: string;
|
|
32
|
+
};
|
|
33
|
+
export type LinkDraftDecision = {
|
|
34
|
+
kind: 'valid';
|
|
35
|
+
value: LinkValue | null;
|
|
36
|
+
} | {
|
|
37
|
+
kind: 'invalid';
|
|
38
|
+
reason: 'external' | 'custom' | 'missing' | 'selection';
|
|
39
|
+
};
|
|
40
|
+
export declare function createLinkDraft(value: LinkValue | null): EditingLinkDraft;
|
|
41
|
+
export declare function reduceLinkDraft(draft: LinkDraft, event: LinkDraftEvent): LinkDraft;
|
|
42
|
+
export declare function decideLinkDraft(draft: LinkDraft, content: RoutableContentState): LinkDraftDecision;
|
|
43
|
+
export declare function isLinkTab(value: string): value is LinkTab;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type LinkValue } from '../../../../blocks/src/index';
|
|
2
|
+
import type { RoutableContentItem } from '../../../../api/src/navigation';
|
|
3
|
+
import type { RoutableContentState } from './types';
|
|
4
|
+
export type LinkPresentation = Readonly<{
|
|
5
|
+
title: string;
|
|
6
|
+
typeLabel?: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
missing?: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function presentLink(value: LinkValue | null, content: RoutableContentState): LinkPresentation;
|
|
11
|
+
export declare const publicationLabels: {
|
|
12
|
+
readonly [Status in RoutableContentItem['status']]: Status extends 'published' ? null : Capitalize<Status>;
|
|
13
|
+
};
|
|
@@ -8,3 +8,17 @@ export type CreateLinkWidgetOptions = {
|
|
|
8
8
|
adapters?: LinkWidgetAdapters;
|
|
9
9
|
initialItems?: RoutableContentItem[];
|
|
10
10
|
};
|
|
11
|
+
export type RoutableContentState = {
|
|
12
|
+
kind: 'unavailable';
|
|
13
|
+
} | {
|
|
14
|
+
kind: 'loading';
|
|
15
|
+
} | {
|
|
16
|
+
kind: 'error';
|
|
17
|
+
} | {
|
|
18
|
+
kind: 'ready';
|
|
19
|
+
items: RoutableContentItem[];
|
|
20
|
+
};
|
|
21
|
+
export type RoutableContentResource = Readonly<{
|
|
22
|
+
state: RoutableContentState;
|
|
23
|
+
refresh?: () => void;
|
|
24
|
+
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare function toInternalLinkValue(item: RoutableContentItem): LinkValue;
|
|
1
|
+
import type { RoutableContentItem } from '../../../../api/src/navigation';
|
|
2
|
+
import type { LinkValue } from '../../../../blocks/src/index';
|
|
4
3
|
export declare function getMatchingInternalItem(items: RoutableContentItem[], value: LinkValue | null): RoutableContentItem | null;
|
|
5
|
-
export declare function isSameLinkValue(a: LinkValue | null, b: LinkValue | null): boolean;
|
|
6
4
|
export declare function getDisplayTitle(item: Pick<RoutableContentItem, 'title' | 'draftTitle'>): string;
|
|
5
|
+
export declare function filterRoutableItems(items: RoutableContentItem[], query: string): RoutableContentItem[];
|
|
6
|
+
export declare function isDomainLookingCustomPath(value: string): boolean;
|
|
7
|
+
export declare function isSelectableRoutableItem(item: RoutableContentItem): boolean;
|
package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare function MailingListTargetingControl({ context, targeting, onChan
|
|
|
6
6
|
context: Extract<MailingListRuntimeContext, {
|
|
7
7
|
tag: 'configured';
|
|
8
8
|
}>;
|
|
9
|
-
targeting:
|
|
9
|
+
targeting: unknown;
|
|
10
10
|
onChange: (value: MailingListPlacementTargeting) => void;
|
|
11
11
|
name: string;
|
|
12
12
|
}>): import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MailingListPlacementTargeting, type MailingListRuntimeContext } from '../../../../core/src/index';
|
|
1
|
+
import { type MailingListPlacementTargeting, type MailingListRuntimeContext, type MailingListResolvedCustomTargeting, type MailingListMissingAudienceTargeting } from '../../../../core/src/index';
|
|
2
2
|
type ConfiguredContext = Extract<MailingListRuntimeContext, {
|
|
3
3
|
tag: 'configured';
|
|
4
4
|
}>;
|
|
@@ -8,12 +8,17 @@ type CustomTargeting = Exclude<MailingListPlacementTargeting, {
|
|
|
8
8
|
/** The name of the site's default topic/list/audience, or null when it no longer exists. */
|
|
9
9
|
export declare function defaultItemName(context: ConfiguredContext): string | null;
|
|
10
10
|
/** What the editor is choosing between, in the provider's own words. */
|
|
11
|
-
export declare function choiceNoun(
|
|
11
|
+
export declare function choiceNoun(provider: ConfiguredContext['provider']['provider'], form?: 'singular' | 'plural'): string;
|
|
12
12
|
export declare function providerDisplayName(context: ConfiguredContext): string;
|
|
13
|
-
export declare function
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
export declare function createInitialCustom(context: ConfiguredContext): CustomTargeting | null;
|
|
14
|
+
export type TargetingTransition = Readonly<{
|
|
15
|
+
tag: 'changed';
|
|
16
|
+
targeting: CustomTargeting;
|
|
17
|
+
}> | Readonly<{
|
|
18
|
+
tag: 'refused';
|
|
19
|
+
reason: 'last_choice' | 'invalid_choice' | 'no_interests' | 'audience_missing' | 'no_topics';
|
|
20
|
+
}>;
|
|
21
|
+
type EditableTargeting = MailingListResolvedCustomTargeting | MailingListMissingAudienceTargeting;
|
|
22
|
+
export declare function changeSelectionMode(matched: EditableTargeting, mode: 'general' | 'fixed' | 'visitor_choice'): TargetingTransition;
|
|
23
|
+
export declare function toggleTargetingChoice(targeting: CustomTargeting, rawId: string): TargetingTransition;
|
|
19
24
|
export {};
|
|
@@ -30,6 +30,12 @@ export type AssetsInUseLocationLike = Readonly<{
|
|
|
30
30
|
}> | Readonly<{
|
|
31
31
|
kind: 'productFileDownload';
|
|
32
32
|
productTitle: string;
|
|
33
|
+
}> | Readonly<{
|
|
34
|
+
kind: 'newsletterTemplate';
|
|
35
|
+
templateName: string;
|
|
36
|
+
}> | Readonly<{
|
|
37
|
+
kind: 'newsletterCampaign';
|
|
38
|
+
campaignName: string;
|
|
33
39
|
}>;
|
|
34
40
|
export type AssetsInUseItemLike = Readonly<{
|
|
35
41
|
usedCount: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { SiteId } from '../../core/src/index';
|
|
2
|
-
import type
|
|
2
|
+
import { type MediaIdentifier } from './identifiers';
|
|
3
|
+
import { type MediaTypeDiscriminant } from './media';
|
|
3
4
|
export type ContentFieldPathSegment = string | number;
|
|
4
5
|
export type ContentFieldPath = readonly ContentFieldPathSegment[];
|
|
5
|
-
export type ContentMediaType =
|
|
6
|
+
export type ContentMediaType = MediaTypeDiscriminant;
|
|
6
7
|
export type AllowedContentMediaTypes = readonly [
|
|
7
8
|
ContentMediaType,
|
|
8
9
|
...ContentMediaType[]
|