@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
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Decode once before invitation restoration or admission consumes the response. */
|
|
3
|
+
export declare const waitlistClaimResponseSchema: z.ZodObject<{
|
|
4
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
|
+
kind: z.ZodLiteral<"event_occurrence">;
|
|
6
|
+
occurrenceId: z.ZodString;
|
|
7
|
+
attendanceMode: z.ZodEnum<{
|
|
8
|
+
in_person: "in_person";
|
|
9
|
+
online: "online";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12
|
+
kind: z.ZodLiteral<"whole_series">;
|
|
13
|
+
eventSeriesId: z.ZodString;
|
|
14
|
+
attendanceMode: z.ZodEnum<{
|
|
15
|
+
in_person: "in_person";
|
|
16
|
+
online: "online";
|
|
17
|
+
}>;
|
|
18
|
+
ticketSelections: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
19
|
+
pricingOptionId: z.ZodNullable<z.ZodString>;
|
|
20
|
+
quantity: z.ZodNumber;
|
|
21
|
+
}, z.core.$strict>>>;
|
|
22
|
+
seatCount: z.ZodNumber;
|
|
23
|
+
selectedSlidingAmount: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strict>], "kind">;
|
|
25
|
+
expiresAt: z.ZodString;
|
|
26
|
+
customer: z.ZodObject<{
|
|
27
|
+
email: z.ZodString;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
prefill: z.ZodObject<{
|
|
32
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
33
|
+
guests: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
34
|
+
name: z.ZodString;
|
|
35
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strict>>>;
|
|
38
|
+
email: z.ZodString;
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
}, z.core.$strict>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BookingMailingListNote as BookingSignupNote, BookingPaymentCollectionOptionKind } from '../../../../../../core/src/index';
|
|
1
|
+
import type { BookingMailingListNote as BookingSignupNote, BookingPaymentCollectionOptionKind, AppointmentBookingTerms, AppointmentBookingReview } from '../../../../../../core/src/index';
|
|
2
2
|
/**
|
|
3
3
|
* Appointment booking, availability, service and resource types
|
|
4
4
|
*
|
|
@@ -7,6 +7,7 @@ import type { BookingMailingListNote as BookingSignupNote, BookingPaymentCollect
|
|
|
7
7
|
import type { AppointmentResourceId } from "../../../../../../core/src/index";
|
|
8
8
|
import type { BookingFormService } from "../../nodes/booking-form.state";
|
|
9
9
|
export interface BookingSubmitRequest {
|
|
10
|
+
shownTerms: AppointmentBookingTerms;
|
|
10
11
|
formId: string;
|
|
11
12
|
serviceId: string;
|
|
12
13
|
resourceId?: string | null;
|
|
@@ -22,7 +23,7 @@ export interface BookingSubmitRequest {
|
|
|
22
23
|
successUrl?: string;
|
|
23
24
|
cancelUrl?: string;
|
|
24
25
|
}
|
|
25
|
-
export type BookingPackageSubmitRequest = Omit<BookingSubmitRequest, "altchaSolution" | "cancelUrl" | "discountCode" | "selectedCollectionOptionKind" | "successUrl"> & {
|
|
26
|
+
export type BookingPackageSubmitRequest = Omit<BookingSubmitRequest, "shownTerms" | "altchaSolution" | "cancelUrl" | "discountCode" | "selectedCollectionOptionKind" | "successUrl"> & {
|
|
26
27
|
customerPassId: string;
|
|
27
28
|
};
|
|
28
29
|
export type BookingAppointmentSummary = {
|
|
@@ -39,7 +40,14 @@ export type BookingCustomerSummary = {
|
|
|
39
40
|
name: string | null;
|
|
40
41
|
phone: string | null;
|
|
41
42
|
};
|
|
43
|
+
export type BookingPaymentChoices = Pick<BookingFormService, "id" | "priceAmount" | "priceCurrency" | "pricing" | "paymentTerms" | "paymentTermsAvailability">;
|
|
42
44
|
export type BookingSubmitResponse = {
|
|
45
|
+
type: "review_required";
|
|
46
|
+
review: AppointmentBookingReview;
|
|
47
|
+
} | {
|
|
48
|
+
type: "payment_choice_required";
|
|
49
|
+
paymentChoices: BookingPaymentChoices;
|
|
50
|
+
} | {
|
|
43
51
|
type: "booked";
|
|
44
52
|
orderId: string;
|
|
45
53
|
orderNumber: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { confirmedBookingIdentitySchema, eventBookingOutcomeSchema, eventRegisterResponseSchema, eventCheckoutResponseSchema, eventCheckoutStatusOutcomeSchema, eventCheckoutReturnResponseSchema, eventRegistrationSummarySchema } from '../schemas/events';
|
|
1
3
|
import type { CheckoutSessionHandle, EmbeddedCheckoutBrowserContext } from '../../../../../../commerce/src/purchase/index';
|
|
2
|
-
import type { BookingMailingListNote as BookingSignupNote } from '../../../../../../core/src/index';
|
|
3
4
|
/**
|
|
4
5
|
* Public event, registration, checkout and eligibility types
|
|
5
6
|
*
|
|
@@ -145,62 +146,14 @@ export type EventRegistrationPaymentSubject = {
|
|
|
145
146
|
scope: 'wholeSeries';
|
|
146
147
|
submissionId: string;
|
|
147
148
|
};
|
|
148
|
-
export type
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
message: string;
|
|
152
|
-
passCreditsUsed?: number;
|
|
153
|
-
passCreditsRemaining?: number;
|
|
154
|
-
};
|
|
149
|
+
export type ConfirmedBookingIdentity = z.infer<typeof confirmedBookingIdentitySchema>;
|
|
150
|
+
export type EventBookingOutcome = z.infer<typeof eventBookingOutcomeSchema>;
|
|
151
|
+
export type EventRegistrationSummary = z.infer<typeof eventRegistrationSummarySchema>;
|
|
155
152
|
export type EventEmbeddedCheckout = CheckoutSessionHandle<'embedded'> & Readonly<{
|
|
156
153
|
browser: EmbeddedCheckoutBrowserContext;
|
|
157
154
|
expiresAt: string;
|
|
158
155
|
}>;
|
|
159
|
-
export type EventRegisterResponse =
|
|
160
|
-
kind: 'bookingComplete';
|
|
161
|
-
reference: EventRegistrationStatusReference;
|
|
162
|
-
summary: EventRegistrationSummary;
|
|
163
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
164
|
-
demoBookingPass?: string;
|
|
165
|
-
} | {
|
|
166
|
-
kind: 'paymentDeferred';
|
|
167
|
-
reference: EventRegistrationStatusReference;
|
|
168
|
-
summary: EventRegistrationSummary;
|
|
169
|
-
balance: {
|
|
170
|
-
amountCents: number;
|
|
171
|
-
currency: string;
|
|
172
|
-
};
|
|
173
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
174
|
-
demoBookingPass?: string;
|
|
175
|
-
} | {
|
|
176
|
-
kind: 'checkoutRequired';
|
|
177
|
-
reference: EventRegistrationStatusReference;
|
|
178
|
-
checkout: EventEmbeddedCheckout;
|
|
179
|
-
submissionId: string;
|
|
180
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
181
|
-
demoBookingPass?: string;
|
|
182
|
-
} | {
|
|
183
|
-
kind: 'paymentStatusRequired';
|
|
184
|
-
subject: EventRegistrationPaymentSubject;
|
|
185
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
186
|
-
demoBookingPass?: string;
|
|
187
|
-
} | {
|
|
188
|
-
kind: 'waitlisted';
|
|
189
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
190
|
-
demoBookingPass?: string;
|
|
191
|
-
waitlist: {
|
|
192
|
-
reference: {
|
|
193
|
-
scope: 'occurrence';
|
|
194
|
-
attendeeId: string;
|
|
195
|
-
} | {
|
|
196
|
-
scope: 'occurrence' | 'wholeSeries';
|
|
197
|
-
waitlistEntryId: string;
|
|
198
|
-
};
|
|
199
|
-
position: number | null;
|
|
200
|
-
message: string;
|
|
201
|
-
emailFollowupMessage?: string;
|
|
202
|
-
};
|
|
203
|
-
};
|
|
156
|
+
export type EventRegisterResponse = z.infer<typeof eventRegisterResponseSchema>;
|
|
204
157
|
/** Type of checkout for event payment */
|
|
205
158
|
export type EventCheckoutType = 'event' | 'pass_bundle' | 'membership_bundle';
|
|
206
159
|
type EventCheckoutRequestCommon = {
|
|
@@ -238,44 +191,7 @@ export type EventCheckoutRequest = EventCheckoutRequestCommon & ({
|
|
|
238
191
|
checkoutAttemptId: string;
|
|
239
192
|
collectionOptionKind: DirectCheckoutCollectionOptionKind;
|
|
240
193
|
});
|
|
241
|
-
type
|
|
242
|
-
kind: 'checkoutRequired';
|
|
243
|
-
checkout: EventEmbeddedCheckout;
|
|
244
|
-
}> | Readonly<{
|
|
245
|
-
kind: 'completed';
|
|
246
|
-
deferredBalance?: {
|
|
247
|
-
amountCents: number;
|
|
248
|
-
currency: string;
|
|
249
|
-
};
|
|
250
|
-
}>;
|
|
251
|
-
type OccurrenceCheckoutResponse = CheckoutOutcome & Readonly<{
|
|
252
|
-
scope: 'occurrence';
|
|
253
|
-
attendeeId: string;
|
|
254
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
255
|
-
}>;
|
|
256
|
-
type WholeSeriesCheckoutResponse = CheckoutOutcome & Readonly<{
|
|
257
|
-
scope: 'wholeSeries';
|
|
258
|
-
registrationId: string;
|
|
259
|
-
checkoutAttemptId: string;
|
|
260
|
-
recoverableUntil?: string;
|
|
261
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
262
|
-
}>;
|
|
263
|
-
type WholeSeriesPaymentStatusRequired = Readonly<{
|
|
264
|
-
scope: 'wholeSeries';
|
|
265
|
-
status: 'paymentStatusRequired';
|
|
266
|
-
checkoutAttemptId: string;
|
|
267
|
-
recoverableUntil?: string;
|
|
268
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
269
|
-
}>;
|
|
270
|
-
type WholeSeriesWaitlistResponse = Readonly<{
|
|
271
|
-
scope: 'wholeSeries';
|
|
272
|
-
status: 'waitlist';
|
|
273
|
-
waitlistEntryId: string;
|
|
274
|
-
waitlistPosition: number | null;
|
|
275
|
-
alreadyRegistered?: boolean;
|
|
276
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
277
|
-
}>;
|
|
278
|
-
export type EventCheckoutResponse = OccurrenceCheckoutResponse | WholeSeriesCheckoutResponse | WholeSeriesPaymentStatusRequired | WholeSeriesWaitlistResponse;
|
|
194
|
+
export type EventCheckoutResponse = z.infer<typeof eventCheckoutResponseSchema>;
|
|
279
195
|
export interface EligiblePass {
|
|
280
196
|
customerPassId: string;
|
|
281
197
|
passName: string;
|
|
@@ -351,49 +267,7 @@ export type EventCheckoutReturnRequest = {
|
|
|
351
267
|
kind: 'checkStatus';
|
|
352
268
|
subject: EventRegistrationPaymentSubject;
|
|
353
269
|
};
|
|
354
|
-
export type EventCheckoutStatusOutcome =
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
deferredBalance?: {
|
|
358
|
-
amountCents: number;
|
|
359
|
-
currency: string;
|
|
360
|
-
};
|
|
361
|
-
} | {
|
|
362
|
-
kind: 'abandoned';
|
|
363
|
-
} | {
|
|
364
|
-
kind: 'notFound';
|
|
365
|
-
} | {
|
|
366
|
-
kind: 'reconciliationRequired';
|
|
367
|
-
} | {
|
|
368
|
-
kind: 'paymentProcessing';
|
|
369
|
-
recoverableUntil?: string;
|
|
370
|
-
} | {
|
|
371
|
-
kind: 'paymentAvailable';
|
|
372
|
-
checkout: EventEmbeddedCheckout;
|
|
373
|
-
recoverableUntil?: string;
|
|
374
|
-
}
|
|
375
|
-
/** The customer may book again. `held`: their place is still reserved, so a
|
|
376
|
-
* fresh submission replaces the unpaid attempt on it. `released`: the place
|
|
377
|
-
* went back to availability and must be won again. */
|
|
378
|
-
| {
|
|
379
|
-
kind: 'paymentRetryAvailable';
|
|
380
|
-
place: 'held' | 'released';
|
|
381
|
-
} | {
|
|
382
|
-
kind: 'paymentCheckUnavailable';
|
|
383
|
-
recoverableUntil?: string;
|
|
384
|
-
} | {
|
|
385
|
-
kind: 'paymentAssistanceRequired';
|
|
386
|
-
};
|
|
387
|
-
/** A subject is returned only after the server verifies the exact checkout binding. */
|
|
388
|
-
export type EventCheckoutReturnResponse = {
|
|
389
|
-
kind: 'checkout';
|
|
390
|
-
subject: EventRegistrationPaymentSubject;
|
|
391
|
-
outcome: Exclude<EventCheckoutStatusOutcome, {
|
|
392
|
-
kind: 'notFound';
|
|
393
|
-
}>;
|
|
394
|
-
} | {
|
|
395
|
-
kind: 'notFound';
|
|
396
|
-
} | {
|
|
397
|
-
kind: 'reconciliationRequired';
|
|
398
|
-
};
|
|
270
|
+
export type EventCheckoutStatusOutcome = z.infer<typeof eventCheckoutStatusOutcomeSchema>;
|
|
271
|
+
/** Returned only after verifying the exact checkout binding. */
|
|
272
|
+
export type EventCheckoutReturnResponse = z.infer<typeof eventCheckoutReturnResponseSchema>;
|
|
399
273
|
export {};
|
|
@@ -1471,7 +1471,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1471
1471
|
showCapacity?: boolean;
|
|
1472
1472
|
successMessage?: string;
|
|
1473
1473
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1474
|
-
|
|
1474
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
1475
1475
|
spamProtectionEnabled?: boolean;
|
|
1476
1476
|
stage?: "preview" | "published";
|
|
1477
1477
|
supportEmail?: string;
|
|
@@ -1483,6 +1483,13 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1483
1483
|
}> | null;
|
|
1484
1484
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
1485
1485
|
siteName?: string;
|
|
1486
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
1487
|
+
id: string;
|
|
1488
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
1489
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
1490
|
+
label: string;
|
|
1491
|
+
pluralLabel: string;
|
|
1492
|
+
}>[] | null;
|
|
1486
1493
|
}>) => Readonly<{
|
|
1487
1494
|
display: import("../nodes/event-registration.interactive").EventRegistrationDisplay;
|
|
1488
1495
|
hydration: Readonly<Omit<import("../nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "events" | "className" | "buttonText"> & {
|
|
@@ -1510,7 +1517,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1510
1517
|
showCapacity?: boolean;
|
|
1511
1518
|
successMessage?: string;
|
|
1512
1519
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1513
|
-
|
|
1520
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
1514
1521
|
spamProtectionEnabled?: boolean;
|
|
1515
1522
|
stage?: "preview" | "published";
|
|
1516
1523
|
supportEmail?: string;
|
|
@@ -1522,6 +1529,13 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1522
1529
|
}> | null;
|
|
1523
1530
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
1524
1531
|
siteName?: string;
|
|
1532
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
1533
|
+
id: string;
|
|
1534
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
1535
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
1536
|
+
label: string;
|
|
1537
|
+
pluralLabel: string;
|
|
1538
|
+
}>[] | null;
|
|
1525
1539
|
}>) => unknown;
|
|
1526
1540
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
1527
1541
|
siteId?: string;
|
|
@@ -1542,7 +1556,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1542
1556
|
showCapacity?: boolean;
|
|
1543
1557
|
successMessage?: string;
|
|
1544
1558
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1545
|
-
|
|
1559
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
1546
1560
|
spamProtectionEnabled?: boolean;
|
|
1547
1561
|
stage?: "preview" | "published";
|
|
1548
1562
|
supportEmail?: string;
|
|
@@ -1554,6 +1568,13 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1554
1568
|
}> | null;
|
|
1555
1569
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
1556
1570
|
siteName?: string;
|
|
1571
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
1572
|
+
id: string;
|
|
1573
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
1574
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
1575
|
+
label: string;
|
|
1576
|
+
pluralLabel: string;
|
|
1577
|
+
}>[] | null;
|
|
1557
1578
|
}>>;
|
|
1558
1579
|
}>;
|
|
1559
1580
|
render: Readonly<{
|
|
@@ -1596,7 +1617,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1596
1617
|
showCapacity?: boolean;
|
|
1597
1618
|
successMessage?: string;
|
|
1598
1619
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1599
|
-
|
|
1620
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
1600
1621
|
spamProtectionEnabled?: boolean;
|
|
1601
1622
|
stage?: "preview" | "published";
|
|
1602
1623
|
supportEmail?: string;
|
|
@@ -1608,6 +1629,13 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1608
1629
|
}> | null;
|
|
1609
1630
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
1610
1631
|
siteName?: string;
|
|
1632
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
1633
|
+
id: string;
|
|
1634
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
1635
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
1636
|
+
label: string;
|
|
1637
|
+
pluralLabel: string;
|
|
1638
|
+
}>[] | null;
|
|
1611
1639
|
}>) => Readonly<{
|
|
1612
1640
|
display: import("../nodes/event-registration.interactive").EventRegistrationDisplay;
|
|
1613
1641
|
hydration: Readonly<Omit<import("../nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "events" | "className" | "buttonText"> & {
|
|
@@ -1635,7 +1663,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1635
1663
|
showCapacity?: boolean;
|
|
1636
1664
|
successMessage?: string;
|
|
1637
1665
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1638
|
-
|
|
1666
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
1639
1667
|
spamProtectionEnabled?: boolean;
|
|
1640
1668
|
stage?: "preview" | "published";
|
|
1641
1669
|
supportEmail?: string;
|
|
@@ -1647,6 +1675,13 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1647
1675
|
}> | null;
|
|
1648
1676
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
1649
1677
|
siteName?: string;
|
|
1678
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
1679
|
+
id: string;
|
|
1680
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
1681
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
1682
|
+
label: string;
|
|
1683
|
+
pluralLabel: string;
|
|
1684
|
+
}>[] | null;
|
|
1650
1685
|
}>) => unknown;
|
|
1651
1686
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
1652
1687
|
siteId?: string;
|
|
@@ -1667,7 +1702,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1667
1702
|
showCapacity?: boolean;
|
|
1668
1703
|
successMessage?: string;
|
|
1669
1704
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1670
|
-
|
|
1705
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
1671
1706
|
spamProtectionEnabled?: boolean;
|
|
1672
1707
|
stage?: "preview" | "published";
|
|
1673
1708
|
supportEmail?: string;
|
|
@@ -1679,6 +1714,13 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1679
1714
|
}> | null;
|
|
1680
1715
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
1681
1716
|
siteName?: string;
|
|
1717
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
1718
|
+
id: string;
|
|
1719
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
1720
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
1721
|
+
label: string;
|
|
1722
|
+
pluralLabel: string;
|
|
1723
|
+
}>[] | null;
|
|
1682
1724
|
}>>;
|
|
1683
1725
|
}>;
|
|
1684
1726
|
render: Readonly<{
|
|
@@ -745,7 +745,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
745
745
|
showCapacity?: boolean;
|
|
746
746
|
successMessage?: string;
|
|
747
747
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
748
|
-
|
|
748
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
749
749
|
spamProtectionEnabled?: boolean;
|
|
750
750
|
stage?: "preview" | "published";
|
|
751
751
|
supportEmail?: string;
|
|
@@ -757,6 +757,13 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
757
757
|
}> | null;
|
|
758
758
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
759
759
|
siteName?: string;
|
|
760
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
761
|
+
id: string;
|
|
762
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
763
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
764
|
+
label: string;
|
|
765
|
+
pluralLabel: string;
|
|
766
|
+
}>[] | null;
|
|
760
767
|
}>) => Readonly<{
|
|
761
768
|
display: import("../nodes/event-registration.interactive").EventRegistrationDisplay;
|
|
762
769
|
hydration: Readonly<Omit<import("../nodes/event-registration").EventRegistrationClientProps, "stage" | "siteId" | "events" | "className" | "buttonText"> & {
|
|
@@ -784,7 +791,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
784
791
|
showCapacity?: boolean;
|
|
785
792
|
successMessage?: string;
|
|
786
793
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
787
|
-
|
|
794
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
788
795
|
spamProtectionEnabled?: boolean;
|
|
789
796
|
stage?: "preview" | "published";
|
|
790
797
|
supportEmail?: string;
|
|
@@ -796,6 +803,13 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
796
803
|
}> | null;
|
|
797
804
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
798
805
|
siteName?: string;
|
|
806
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
807
|
+
id: string;
|
|
808
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
809
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
810
|
+
label: string;
|
|
811
|
+
pluralLabel: string;
|
|
812
|
+
}>[] | null;
|
|
799
813
|
}>) => unknown;
|
|
800
814
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
801
815
|
siteId?: string;
|
|
@@ -816,7 +830,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
816
830
|
showCapacity?: boolean;
|
|
817
831
|
successMessage?: string;
|
|
818
832
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
819
|
-
|
|
833
|
+
host?: import("../nodes/event-registration/bookingCardDisplay").BookingHost;
|
|
820
834
|
spamProtectionEnabled?: boolean;
|
|
821
835
|
stage?: "preview" | "published";
|
|
822
836
|
supportEmail?: string;
|
|
@@ -828,6 +842,13 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
828
842
|
}> | null;
|
|
829
843
|
mailingList?: import("../../../../../core/src/index").MailingListRuntimeContext;
|
|
830
844
|
siteName?: string;
|
|
845
|
+
bookingOfferingPresets?: readonly Readonly<{
|
|
846
|
+
id: string;
|
|
847
|
+
canonicalBehaviour: import("../../blocks/offerings-preview/model").BookingOfferingCanonicalBehaviour;
|
|
848
|
+
engine: import("../../blocks/offerings-preview/model").BookingOfferingEngine;
|
|
849
|
+
label: string;
|
|
850
|
+
pluralLabel: string;
|
|
851
|
+
}>[] | null;
|
|
831
852
|
}>>;
|
|
832
853
|
}>;
|
|
833
854
|
render: Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type buildBookingSubmitPlan, type BookingFlowEvent, type BookingFlowReducerState, type BookingFlowStep, type BookingFlowStepId, type DerivedBookingFlowSteps } from '../nodes/booking-form.headless.state';
|
|
2
2
|
import type { BookingFlowActions } from './useHeadlessBookingFlow';
|
|
3
3
|
import type { useBookingSubmission } from './useBookingSubmission';
|
|
4
|
-
type BookingControllerInput = Omit<Parameters<typeof buildBookingSubmitPlan>[0], 'redirect'> & Readonly<{
|
|
4
|
+
type BookingControllerInput = Omit<Parameters<typeof buildBookingSubmitPlan>[0], 'redirect' | 'shownTerms'> & Readonly<{
|
|
5
5
|
discountCode: string;
|
|
6
6
|
mailingListEligible: boolean;
|
|
7
7
|
submit: ReturnType<typeof useBookingSubmission>['submit'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { MailingListRuntimeContext } from "../../../../../core/src/index";
|
|
2
|
+
import type { AppointmentBookingReview, MailingListRuntimeContext } from "../../../../../core/src/index";
|
|
3
3
|
import { type BlockApiConfig } from "../api";
|
|
4
4
|
import type { AutoAppliedDiscountPreview } from "../api/types";
|
|
5
5
|
import type { BookingFormConfig, BookingFormData, BookingFormService, BookingFormServiceCategory, BookingSelectedCollectionOptionKind } from "../nodes/booking-form.state";
|
|
@@ -134,6 +134,8 @@ export type BookingFlowActions = Readonly<{
|
|
|
134
134
|
*/
|
|
135
135
|
goToStep: (stepId: BookingFlowStepId) => Promise<BookingFlowActionResult>;
|
|
136
136
|
submit: (options?: BookingSubmitOptions) => Promise<BookingSubmitActionResult>;
|
|
137
|
+
/** Deliberately accept the specific review displayed by this consumer. Stale reviews are rejected. */
|
|
138
|
+
acceptReview: (review: AppointmentBookingReview, options?: BookingSubmitOptions) => Promise<BookingSubmitActionResult>;
|
|
137
139
|
reset: () => void;
|
|
138
140
|
clearFeedback: () => void;
|
|
139
141
|
}>;
|
|
@@ -141,6 +143,8 @@ export type HeadlessBookingFlow = Readonly<{
|
|
|
141
143
|
mailingList: Readonly<{
|
|
142
144
|
siteName: string;
|
|
143
145
|
}> | null;
|
|
146
|
+
review: AppointmentBookingReview | null;
|
|
147
|
+
paymentAnchorAt: string;
|
|
144
148
|
mailingListOptIn: boolean;
|
|
145
149
|
status: BookingFlowStatus;
|
|
146
150
|
view: BookingFlowView;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { unsafeAsBookingFieldId, bookingFlowReducer, bookingSlidingAmountDefault, planBookingNavigation, planBookingFlowReset, planBookingSubmissionStart, buildBookingAvailabilityQuery, buildBookingStepPlan, buildBookingSubmitPlan, createBookingBlockApiConfig, createInitialBookingFlowReducerState, deriveBookingSlotDisplayOptions, describeUnknownError, deriveBookingFieldViews, deriveBookingFlowSteps, getAppointmentBookingOverrideInput, resolveAppointmentPackagesModel, resolveAvailabilitySelectionInvalidation, resolveHeadlessBookingStatus, resolveHeadlessBookingView, toBookingFormData, toBookingSlotView, toBookingSlotViews, toOptionalAppointmentResourceId, toOptionalAppointmentServiceId, validateBookingField, validateBookingFields, validateBookingStep, } from "../nodes/booking-form.headless.state";
|
|
1
|
+
export { unsafeAsBookingFieldId, bookingFlowReducer, applyBookingPaymentChoices, bookingSlidingAmountDefault, planBookingNavigation, planBookingFlowReset, planBookingSubmissionStart, buildBookingAvailabilityQuery, buildBookingStepPlan, buildBookingSubmitPlan, createBookingBlockApiConfig, createInitialBookingFlowReducerState, deriveBookingSlotDisplayOptions, describeUnknownError, deriveBookingFieldViews, deriveBookingFlowSteps, getAppointmentBookingOverrideInput, resolveAppointmentPackagesModel, resolveAvailabilitySelectionInvalidation, resolveHeadlessBookingStatus, resolveHeadlessBookingView, toBookingFormData, toBookingSlotView, toBookingSlotViews, toOptionalAppointmentResourceId, toOptionalAppointmentServiceId, validateBookingField, validateBookingFields, validateBookingStep, } from "../nodes/booking-form.headless.state";
|
|
2
2
|
export type { BookingValidationErrors } from "../nodes/booking-form.validationErrors";
|
|
3
3
|
export { createEmptyBookingValidationErrors, createFieldBookingValidationErrors, createFormBookingValidationError, hasBookingValidationErrors, } from "../nodes/booking-form.validationErrors";
|
|
4
4
|
export { formatBookingCentsAsCurrencyInput, getBookingServiceSlidingScale, parseBookingCurrencyInputToCents, } from "../nodes/booking-form.state";
|
|
@@ -81,8 +81,8 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
81
81
|
places: "places";
|
|
82
82
|
eyebrow: "eyebrow";
|
|
83
83
|
mark: "mark";
|
|
84
|
-
icon: "icon";
|
|
85
84
|
controls: "controls";
|
|
85
|
+
icon: "icon";
|
|
86
86
|
copy: "copy";
|
|
87
87
|
grid: "grid";
|
|
88
88
|
panel: "panel";
|
|
@@ -156,8 +156,8 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
156
156
|
places: "places";
|
|
157
157
|
eyebrow: "eyebrow";
|
|
158
158
|
mark: "mark";
|
|
159
|
-
icon: "icon";
|
|
160
159
|
controls: "controls";
|
|
160
|
+
icon: "icon";
|
|
161
161
|
copy: "copy";
|
|
162
162
|
grid: "grid";
|
|
163
163
|
panel: "panel";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { ResolveImageUrlContext } from './
|
|
2
|
+
import type { ResolveImageUrlContext } from './mediaContext';
|
|
3
3
|
export declare function ImageResolveContextProvider({ value, children, }: {
|
|
4
4
|
value: ResolveImageUrlContext;
|
|
5
5
|
children: ReactNode;
|