@riverbankcms/sdk 0.152.0 → 0.154.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 +15 -0
- package/dist/{EventEmbeddedCheckoutStep-DVQXWFm6.mjs → EventEmbeddedCheckoutStep-ba9npQtb.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-Dr4NJi3Q.mjs → PreviewEditorSidebar-C7FiaxlF.mjs} +194 -22
- package/dist/{PreviewEditorUI-DSZXQbyh.mjs → PreviewEditorUI-DFst50q1.mjs} +20 -44
- package/dist/{SdkPreviewModeRuntime-Dl4GyMc3.mjs → SdkPreviewModeRuntime-BUNV_YHZ.mjs} +266 -143
- package/dist/{SiteChromeCustomizeContext-DgBe-FlM.mjs → SiteChromeCustomizeContext-DEj7qppF.mjs} +5340 -4329
- package/dist/{ThemedButton-B8ViBnLK.mjs → ThemedButton-C8kzu0hY.mjs} +610 -116
- package/dist/_dts/ai/src/contracts/proposals.d.ts +416 -182
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +3270 -8214
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +7 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +19 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -106
- package/dist/_dts/api/src/bookings.d.ts +2 -3
- package/dist/_dts/api/src/communications.d.ts +19 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +88 -43
- package/dist/_dts/api/src/index.d.ts +4 -2
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +348 -1537
- package/dist/_dts/api/src/shared-contracts.d.ts +10 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +2 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/teamMembers.d.ts +2 -27
- package/dist/_dts/api/src/types.d.ts +11 -31
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +3 -13
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -96
- package/dist/_dts/blocks/src/index.d.ts +1 -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/pageRendererContracts.d.ts +2 -1
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +276 -884
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +92 -90
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +4 -7
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- 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/customize/facets.d.ts +75 -9
- 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/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 +48 -48
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -99
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingFlowController.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +18 -6
- 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/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +28 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +12 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- 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/eventCollectionContract.d.ts +289 -885
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- 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/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/registry/links.d.ts +3 -3
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -10
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/content-model/src/content-types/schema.d.ts +3 -3
- package/dist/_dts/core/src/booking-refunds.d.ts +2 -0
- package/dist/_dts/core/src/date-display.d.ts +85 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +2 -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 +12 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -2
- package/dist/_dts/core/src/mailing-list-targeting.d.ts +9 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +105 -13
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- 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/mailing-list-targeting/targetingState.d.ts +2 -2
- 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/index.d.ts +4 -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-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/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- 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/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- 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/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/index.d.ts +1 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/image.d.ts +5 -5
- package/dist/_dts/sdk/src/rendering/index.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/link.d.ts +3 -7
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +2 -4
- 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/boxBackgroundSchema.d.ts +397 -26
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +10 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +378 -66
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +42 -42
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- 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 +495 -2766
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +838 -3369
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +23 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -9
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +2 -2
- 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/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-CBuMKN0w.mjs → BookingMailingListNote-CNoSqFtf.mjs} +2 -2
- package/dist/client/{CardListItem-Dc9XTXhB.mjs → CardListItem-BkTkqBkh.mjs} +5 -4
- package/dist/client/{CheckboxChoice-CIqx_o0E.mjs → CheckboxChoice-CHJpsty4.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-D3VQ_kLj.mjs → DemoBookingPortalAccess-C7KQKFNt.mjs} +2 -2
- package/dist/client/{EventCombined.client-BHGEKise.mjs → EventCombined.client-BgeYMjHJ.mjs} +5 -6
- package/dist/client/{EventEmbeddedCheckoutStep-Bo1Cm23R.mjs → EventEmbeddedCheckoutStep-BTc_lTkM.mjs} +2 -2
- package/dist/client/{EventListing.client-D5OQgVPr.mjs → EventListing.client-ChRs9Hl2.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CLL5cWrr.mjs → LeafletStaticMap-C_dNQgd0.mjs} +1 -1
- package/dist/client/{RichText-BoDmnopf.mjs → RichText-BI9bzbjo.mjs} +106 -60
- package/dist/client/{ThemedButton-Ciltp0IK.mjs → ThemedButton-wl3Z3wkH.mjs} +1 -2
- package/dist/client/{accordion-DOkRS64-.mjs → accordion-6Yz8Wd83.mjs} +1 -1
- package/dist/client/{bookingForm-wlMVwo9h.mjs → bookingForm-i_pKIGiY.mjs} +42 -15
- package/dist/client/bookings.mjs +118357 -22833
- package/dist/client/{carousel-CGWk-Z0u.mjs → carousel-DNqd_PjC.mjs} +2 -2
- package/dist/client/{carousel.client-kX5mN1Eg.mjs → carousel.client-BUgjPbb6.mjs} +1 -1
- package/dist/client/{cart-OBBPlaH4.mjs → cart-D8OBHuF4.mjs} +3 -3
- package/dist/client/{checkout-Bmw2WjQX.mjs → checkout-F3-9IGLU.mjs} +3 -3
- package/dist/client/client.mjs +20785 -19238
- package/dist/client/{context-BI77UFAn.mjs → context-Dg4ZrxDD.mjs} +1 -1
- package/dist/client/{eventCalendar-qkej2Edn.mjs → eventCalendar-BUc7YIBM.mjs} +8 -9
- package/dist/client/{eventCombined-DApKHvat.mjs → eventCombined-BwfShk2a.mjs} +4 -4
- package/dist/client/{eventDetails-BQyUDPH0.mjs → eventDetails-BMOVC3go.mjs} +3 -3
- package/dist/client/{eventListing-CeAnshlZ.mjs → eventListing-BwE9PM-t.mjs} +4 -4
- package/dist/client/{eventRegistration-C3A3NyBO.mjs → eventRegistration-CCWPYDc7.mjs} +10 -10
- package/dist/client/{form-DW8rU7jO.mjs → form-CXFr0Gd5.mjs} +115 -52
- package/dist/client/{headerSection-CkIhsoNm.mjs → headerSection-BX8qw8kH.mjs} +3 -3
- package/dist/client/hooks.mjs +17908 -16797
- package/dist/client/{locationMap-D4O8wbli.mjs → locationMap-B3La71m0.mjs} +3 -4
- package/dist/client/{media-C5K_0xPd.mjs → media-B1Cbv721.mjs} +183 -362
- package/dist/client/mediaContext-CwbbimYB.mjs +135 -0
- package/dist/client/{newsletterForm-B7IxSPuz.mjs → newsletterForm-DnGyR0x7.mjs} +51 -15
- package/dist/client/{productDetail-Bqxpwy5N.mjs → productDetail-BVgTqvkb.mjs} +3 -3
- package/dist/client/{productList-u9Lz8V15.mjs → productList-CcO7kUQw.mjs} +3 -3
- package/dist/client/{propsDecoder-Bf1jucUp.mjs → propsDecoder-B1OeWavE.mjs} +2193 -374
- package/dist/client/renderableMediaAssetAdmission-CHkXYDC_.mjs +143 -0
- package/dist/client/rendering/client.mjs +22424 -21488
- package/dist/client/rendering/islands.mjs +20 -23
- package/dist/client/rendering.mjs +21025 -19413
- package/dist/client/{routeIslandApiConfig-BgP-aPMl.mjs → routeIslandApiConfig-Dl4vglJm.mjs} +1 -1
- package/dist/client/{shop-B_eykR-_.mjs → shop-P72nX5Fs.mjs} +7 -7
- package/dist/client/{shop-commerce-CT0APkFV.mjs → shop-commerce-Bt7uraDx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DcvZxdEK.mjs → shop-commerce-store-C1-mxSye.mjs} +1 -1
- package/dist/client/{shopShared-BVJOiUiJ.mjs → shopShared-Db-cRGu3.mjs} +5 -5
- package/dist/client/{useDiscountCodeUi-DPmYDunz.mjs → useDiscountCodeUi-jvAiUoUX.mjs} +1 -1
- package/dist/client/{useEventPagination-8-U55vH5.mjs → useEventPagination-BdWpCniq.mjs} +6 -7
- package/dist/preview-next/before-render.mjs +222 -55
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +133 -51
- package/dist/preview-next/middleware.mjs +133 -51
- package/dist/{sdk-runtime-C5jPdSrk.mjs → sdk-runtime-DLhjF2Nw.mjs} +1 -1
- package/dist/server/components.mjs +21541 -20118
- package/dist/server/config-validation.mjs +2466 -1403
- package/dist/server/config.mjs +2466 -1403
- package/dist/server/data.mjs +17842 -16759
- package/dist/server/date-time.mjs +258 -116
- package/dist/server/index.mjs +360 -53
- package/dist/server/next.mjs +21913 -20539
- package/dist/server/page-converter.mjs +8121 -7322
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +21196 -19760
- package/dist/server/rendering.mjs +21554 -20123
- package/dist/server/routing.mjs +19806 -18607
- package/dist/server/server.mjs +2907 -1845
- package/dist/server/theme-bridge.mjs +991 -160
- package/dist/server/theme.mjs +501 -100
- package/dist/{spinner-B-ab2rJp.mjs → spinner-MTooKfck.mjs} +1 -1
- package/dist/styles/index.css +254 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
- package/dist/client/aspectTransforms-D-TnDdq4.mjs +0 -93
- package/dist/client/colorStyles-ECDNPE_P.mjs +0 -1253
|
@@ -39,77 +39,26 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
39
39
|
readonly form: Readonly<{
|
|
40
40
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
41
41
|
kind: "progressive";
|
|
42
|
-
buildRender: (source: Readonly<{
|
|
43
|
-
|
|
44
|
-
siteId?: string;
|
|
45
|
-
apiBaseUrl?: string;
|
|
46
|
-
submitLabel?: string;
|
|
47
|
-
successMessage?: string | null;
|
|
48
|
-
className?: string;
|
|
49
|
-
spamProtectionEnabled?: boolean;
|
|
50
|
-
}>) => Readonly<{
|
|
51
|
-
display: Readonly<{
|
|
52
|
-
kind: "form";
|
|
53
|
-
state: "missing" | "ready";
|
|
54
|
-
className: string | null;
|
|
55
|
-
formId: string | null;
|
|
56
|
-
submitLabel: string;
|
|
57
|
-
successMessage: string | null;
|
|
58
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
59
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
60
|
-
}>;
|
|
42
|
+
buildRender: (source: import("../nodes/form.interactive").FormSourceProps) => Readonly<{
|
|
43
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
61
44
|
hydration: Readonly<{
|
|
62
45
|
spamProtectionEnabled?: boolean;
|
|
63
46
|
}>;
|
|
64
47
|
}>;
|
|
65
48
|
contracts: Readonly<{
|
|
66
49
|
source: Readonly<{
|
|
67
|
-
encode: (value:
|
|
68
|
-
|
|
69
|
-
siteId?: string;
|
|
70
|
-
apiBaseUrl?: string;
|
|
71
|
-
submitLabel?: string;
|
|
72
|
-
successMessage?: string | null;
|
|
73
|
-
className?: string;
|
|
74
|
-
spamProtectionEnabled?: boolean;
|
|
75
|
-
}>) => unknown;
|
|
76
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
77
|
-
value?: import("../nodes/form.types").FormRecord;
|
|
78
|
-
siteId?: string;
|
|
79
|
-
apiBaseUrl?: string;
|
|
80
|
-
submitLabel?: string;
|
|
81
|
-
successMessage?: string | null;
|
|
82
|
-
className?: string;
|
|
83
|
-
spamProtectionEnabled?: boolean;
|
|
84
|
-
}>>;
|
|
50
|
+
encode: (value: import("../nodes/form.interactive").FormSourceProps) => unknown;
|
|
51
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.interactive").FormSourceProps>;
|
|
85
52
|
}>;
|
|
86
53
|
render: Readonly<{
|
|
87
54
|
encode: (value: Readonly<{
|
|
88
|
-
display:
|
|
89
|
-
kind: "form";
|
|
90
|
-
state: "missing" | "ready";
|
|
91
|
-
className: string | null;
|
|
92
|
-
formId: string | null;
|
|
93
|
-
submitLabel: string;
|
|
94
|
-
successMessage: string | null;
|
|
95
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
96
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
97
|
-
}>;
|
|
55
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
98
56
|
hydration: Readonly<{
|
|
99
57
|
spamProtectionEnabled?: boolean;
|
|
100
58
|
}>;
|
|
101
59
|
}>) => unknown;
|
|
102
60
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
103
|
-
display:
|
|
104
|
-
kind: "form";
|
|
105
|
-
state: "missing" | "ready";
|
|
106
|
-
className: string | null;
|
|
107
|
-
formId: string | null;
|
|
108
|
-
submitLabel: string;
|
|
109
|
-
successMessage: string | null;
|
|
110
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
111
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
112
|
-
}>;
|
|
61
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
113
62
|
hydration: Readonly<{
|
|
114
63
|
spamProtectionEnabled?: boolean;
|
|
115
64
|
}>;
|
|
@@ -122,77 +71,26 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
122
71
|
}>;
|
|
123
72
|
runtime: Readonly<{
|
|
124
73
|
kind: "progressive";
|
|
125
|
-
buildRender: (source: Readonly<{
|
|
126
|
-
|
|
127
|
-
siteId?: string;
|
|
128
|
-
apiBaseUrl?: string;
|
|
129
|
-
submitLabel?: string;
|
|
130
|
-
successMessage?: string | null;
|
|
131
|
-
className?: string;
|
|
132
|
-
spamProtectionEnabled?: boolean;
|
|
133
|
-
}>) => Readonly<{
|
|
134
|
-
display: Readonly<{
|
|
135
|
-
kind: "form";
|
|
136
|
-
state: "missing" | "ready";
|
|
137
|
-
className: string | null;
|
|
138
|
-
formId: string | null;
|
|
139
|
-
submitLabel: string;
|
|
140
|
-
successMessage: string | null;
|
|
141
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
142
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
143
|
-
}>;
|
|
74
|
+
buildRender: (source: import("../nodes/form.interactive").FormSourceProps) => Readonly<{
|
|
75
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
144
76
|
hydration: Readonly<{
|
|
145
77
|
spamProtectionEnabled?: boolean;
|
|
146
78
|
}>;
|
|
147
79
|
}>;
|
|
148
80
|
contracts: Readonly<{
|
|
149
81
|
source: Readonly<{
|
|
150
|
-
encode: (value:
|
|
151
|
-
|
|
152
|
-
siteId?: string;
|
|
153
|
-
apiBaseUrl?: string;
|
|
154
|
-
submitLabel?: string;
|
|
155
|
-
successMessage?: string | null;
|
|
156
|
-
className?: string;
|
|
157
|
-
spamProtectionEnabled?: boolean;
|
|
158
|
-
}>) => unknown;
|
|
159
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
160
|
-
value?: import("../nodes/form.types").FormRecord;
|
|
161
|
-
siteId?: string;
|
|
162
|
-
apiBaseUrl?: string;
|
|
163
|
-
submitLabel?: string;
|
|
164
|
-
successMessage?: string | null;
|
|
165
|
-
className?: string;
|
|
166
|
-
spamProtectionEnabled?: boolean;
|
|
167
|
-
}>>;
|
|
82
|
+
encode: (value: import("../nodes/form.interactive").FormSourceProps) => unknown;
|
|
83
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.interactive").FormSourceProps>;
|
|
168
84
|
}>;
|
|
169
85
|
render: Readonly<{
|
|
170
86
|
encode: (value: Readonly<{
|
|
171
|
-
display:
|
|
172
|
-
kind: "form";
|
|
173
|
-
state: "missing" | "ready";
|
|
174
|
-
className: string | null;
|
|
175
|
-
formId: string | null;
|
|
176
|
-
submitLabel: string;
|
|
177
|
-
successMessage: string | null;
|
|
178
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
179
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
180
|
-
}>;
|
|
87
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
181
88
|
hydration: Readonly<{
|
|
182
89
|
spamProtectionEnabled?: boolean;
|
|
183
90
|
}>;
|
|
184
91
|
}>) => unknown;
|
|
185
92
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
186
|
-
display:
|
|
187
|
-
kind: "form";
|
|
188
|
-
state: "missing" | "ready";
|
|
189
|
-
className: string | null;
|
|
190
|
-
formId: string | null;
|
|
191
|
-
submitLabel: string;
|
|
192
|
-
successMessage: string | null;
|
|
193
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
194
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
195
|
-
}>;
|
|
93
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
196
94
|
hydration: Readonly<{
|
|
197
95
|
spamProtectionEnabled?: boolean;
|
|
198
96
|
}>;
|
|
@@ -505,20 +403,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
505
403
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
506
404
|
kind: "progressive";
|
|
507
405
|
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
508
|
-
display:
|
|
509
|
-
kind: "newsletter-form";
|
|
510
|
-
availability: "ready" | "unavailable";
|
|
511
|
-
className: string | null;
|
|
512
|
-
buttonLabel: string;
|
|
513
|
-
successMessage: string;
|
|
514
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
515
|
-
privacyNote: string | null;
|
|
516
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
517
|
-
choices: readonly Readonly<{
|
|
518
|
-
id: string;
|
|
519
|
-
label: string;
|
|
520
|
-
}>[];
|
|
521
|
-
}>;
|
|
406
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
522
407
|
hydration: Readonly<{
|
|
523
408
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
524
409
|
setupRevision: number | null;
|
|
@@ -534,20 +419,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
534
419
|
}>;
|
|
535
420
|
render: Readonly<{
|
|
536
421
|
encode: (value: Readonly<{
|
|
537
|
-
display:
|
|
538
|
-
kind: "newsletter-form";
|
|
539
|
-
availability: "ready" | "unavailable";
|
|
540
|
-
className: string | null;
|
|
541
|
-
buttonLabel: string;
|
|
542
|
-
successMessage: string;
|
|
543
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
544
|
-
privacyNote: string | null;
|
|
545
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
546
|
-
choices: readonly Readonly<{
|
|
547
|
-
id: string;
|
|
548
|
-
label: string;
|
|
549
|
-
}>[];
|
|
550
|
-
}>;
|
|
422
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
551
423
|
hydration: Readonly<{
|
|
552
424
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
553
425
|
setupRevision: number | null;
|
|
@@ -557,20 +429,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
557
429
|
}>;
|
|
558
430
|
}>) => unknown;
|
|
559
431
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
560
|
-
display:
|
|
561
|
-
kind: "newsletter-form";
|
|
562
|
-
availability: "ready" | "unavailable";
|
|
563
|
-
className: string | null;
|
|
564
|
-
buttonLabel: string;
|
|
565
|
-
successMessage: string;
|
|
566
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
567
|
-
privacyNote: string | null;
|
|
568
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
569
|
-
choices: readonly Readonly<{
|
|
570
|
-
id: string;
|
|
571
|
-
label: string;
|
|
572
|
-
}>[];
|
|
573
|
-
}>;
|
|
432
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
574
433
|
hydration: Readonly<{
|
|
575
434
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
576
435
|
setupRevision: number | null;
|
|
@@ -588,20 +447,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
588
447
|
runtime: Readonly<{
|
|
589
448
|
kind: "progressive";
|
|
590
449
|
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
591
|
-
display:
|
|
592
|
-
kind: "newsletter-form";
|
|
593
|
-
availability: "ready" | "unavailable";
|
|
594
|
-
className: string | null;
|
|
595
|
-
buttonLabel: string;
|
|
596
|
-
successMessage: string;
|
|
597
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
598
|
-
privacyNote: string | null;
|
|
599
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
600
|
-
choices: readonly Readonly<{
|
|
601
|
-
id: string;
|
|
602
|
-
label: string;
|
|
603
|
-
}>[];
|
|
604
|
-
}>;
|
|
450
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
605
451
|
hydration: Readonly<{
|
|
606
452
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
607
453
|
setupRevision: number | null;
|
|
@@ -617,20 +463,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
617
463
|
}>;
|
|
618
464
|
render: Readonly<{
|
|
619
465
|
encode: (value: Readonly<{
|
|
620
|
-
display:
|
|
621
|
-
kind: "newsletter-form";
|
|
622
|
-
availability: "ready" | "unavailable";
|
|
623
|
-
className: string | null;
|
|
624
|
-
buttonLabel: string;
|
|
625
|
-
successMessage: string;
|
|
626
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
627
|
-
privacyNote: string | null;
|
|
628
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
629
|
-
choices: readonly Readonly<{
|
|
630
|
-
id: string;
|
|
631
|
-
label: string;
|
|
632
|
-
}>[];
|
|
633
|
-
}>;
|
|
466
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
634
467
|
hydration: Readonly<{
|
|
635
468
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
636
469
|
setupRevision: number | null;
|
|
@@ -640,20 +473,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
640
473
|
}>;
|
|
641
474
|
}>) => unknown;
|
|
642
475
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
643
|
-
display:
|
|
644
|
-
kind: "newsletter-form";
|
|
645
|
-
availability: "ready" | "unavailable";
|
|
646
|
-
className: string | null;
|
|
647
|
-
buttonLabel: string;
|
|
648
|
-
successMessage: string;
|
|
649
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
650
|
-
privacyNote: string | null;
|
|
651
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
652
|
-
choices: readonly Readonly<{
|
|
653
|
-
id: string;
|
|
654
|
-
label: string;
|
|
655
|
-
}>[];
|
|
656
|
-
}>;
|
|
476
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
657
477
|
hydration: Readonly<{
|
|
658
478
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
659
479
|
setupRevision: number | null;
|
|
@@ -24,77 +24,26 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
24
24
|
readonly form: Readonly<{
|
|
25
25
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
26
26
|
kind: "progressive";
|
|
27
|
-
buildRender: (source: Readonly<{
|
|
28
|
-
|
|
29
|
-
siteId?: string;
|
|
30
|
-
apiBaseUrl?: string;
|
|
31
|
-
submitLabel?: string;
|
|
32
|
-
successMessage?: string | null;
|
|
33
|
-
className?: string;
|
|
34
|
-
spamProtectionEnabled?: boolean;
|
|
35
|
-
}>) => Readonly<{
|
|
36
|
-
display: Readonly<{
|
|
37
|
-
kind: "form";
|
|
38
|
-
state: "missing" | "ready";
|
|
39
|
-
className: string | null;
|
|
40
|
-
formId: string | null;
|
|
41
|
-
submitLabel: string;
|
|
42
|
-
successMessage: string | null;
|
|
43
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
44
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
45
|
-
}>;
|
|
27
|
+
buildRender: (source: import("../nodes/form.interactive").FormSourceProps) => Readonly<{
|
|
28
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
46
29
|
hydration: Readonly<{
|
|
47
30
|
spamProtectionEnabled?: boolean;
|
|
48
31
|
}>;
|
|
49
32
|
}>;
|
|
50
33
|
contracts: Readonly<{
|
|
51
34
|
source: Readonly<{
|
|
52
|
-
encode: (value:
|
|
53
|
-
|
|
54
|
-
siteId?: string;
|
|
55
|
-
apiBaseUrl?: string;
|
|
56
|
-
submitLabel?: string;
|
|
57
|
-
successMessage?: string | null;
|
|
58
|
-
className?: string;
|
|
59
|
-
spamProtectionEnabled?: boolean;
|
|
60
|
-
}>) => unknown;
|
|
61
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
62
|
-
value?: import("../nodes/form.types").FormRecord;
|
|
63
|
-
siteId?: string;
|
|
64
|
-
apiBaseUrl?: string;
|
|
65
|
-
submitLabel?: string;
|
|
66
|
-
successMessage?: string | null;
|
|
67
|
-
className?: string;
|
|
68
|
-
spamProtectionEnabled?: boolean;
|
|
69
|
-
}>>;
|
|
35
|
+
encode: (value: import("../nodes/form.interactive").FormSourceProps) => unknown;
|
|
36
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.interactive").FormSourceProps>;
|
|
70
37
|
}>;
|
|
71
38
|
render: Readonly<{
|
|
72
39
|
encode: (value: Readonly<{
|
|
73
|
-
display:
|
|
74
|
-
kind: "form";
|
|
75
|
-
state: "missing" | "ready";
|
|
76
|
-
className: string | null;
|
|
77
|
-
formId: string | null;
|
|
78
|
-
submitLabel: string;
|
|
79
|
-
successMessage: string | null;
|
|
80
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
81
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
82
|
-
}>;
|
|
40
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
83
41
|
hydration: Readonly<{
|
|
84
42
|
spamProtectionEnabled?: boolean;
|
|
85
43
|
}>;
|
|
86
44
|
}>) => unknown;
|
|
87
45
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
88
|
-
display:
|
|
89
|
-
kind: "form";
|
|
90
|
-
state: "missing" | "ready";
|
|
91
|
-
className: string | null;
|
|
92
|
-
formId: string | null;
|
|
93
|
-
submitLabel: string;
|
|
94
|
-
successMessage: string | null;
|
|
95
|
-
form: import("../nodes/form.types").FormRecord | null;
|
|
96
|
-
groups: readonly import("../nodes/form-layout").FormFieldGroup[];
|
|
97
|
-
}>;
|
|
46
|
+
display: import("../nodes/form.interactive").FormDisplay;
|
|
98
47
|
hydration: Readonly<{
|
|
99
48
|
spamProtectionEnabled?: boolean;
|
|
100
49
|
}>;
|
|
@@ -256,20 +205,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
256
205
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
257
206
|
kind: "progressive";
|
|
258
207
|
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
259
|
-
display:
|
|
260
|
-
kind: "newsletter-form";
|
|
261
|
-
availability: "ready" | "unavailable";
|
|
262
|
-
className: string | null;
|
|
263
|
-
buttonLabel: string;
|
|
264
|
-
successMessage: string;
|
|
265
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
266
|
-
privacyNote: string | null;
|
|
267
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
268
|
-
choices: readonly Readonly<{
|
|
269
|
-
id: string;
|
|
270
|
-
label: string;
|
|
271
|
-
}>[];
|
|
272
|
-
}>;
|
|
208
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
273
209
|
hydration: Readonly<{
|
|
274
210
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
275
211
|
setupRevision: number | null;
|
|
@@ -285,20 +221,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
285
221
|
}>;
|
|
286
222
|
render: Readonly<{
|
|
287
223
|
encode: (value: Readonly<{
|
|
288
|
-
display:
|
|
289
|
-
kind: "newsletter-form";
|
|
290
|
-
availability: "ready" | "unavailable";
|
|
291
|
-
className: string | null;
|
|
292
|
-
buttonLabel: string;
|
|
293
|
-
successMessage: string;
|
|
294
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
295
|
-
privacyNote: string | null;
|
|
296
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
297
|
-
choices: readonly Readonly<{
|
|
298
|
-
id: string;
|
|
299
|
-
label: string;
|
|
300
|
-
}>[];
|
|
301
|
-
}>;
|
|
224
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
302
225
|
hydration: Readonly<{
|
|
303
226
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
304
227
|
setupRevision: number | null;
|
|
@@ -308,20 +231,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
308
231
|
}>;
|
|
309
232
|
}>) => unknown;
|
|
310
233
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
311
|
-
display:
|
|
312
|
-
kind: "newsletter-form";
|
|
313
|
-
availability: "ready" | "unavailable";
|
|
314
|
-
className: string | null;
|
|
315
|
-
buttonLabel: string;
|
|
316
|
-
successMessage: string;
|
|
317
|
-
buttonVariant: import("../nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
318
|
-
privacyNote: string | null;
|
|
319
|
-
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
320
|
-
choices: readonly Readonly<{
|
|
321
|
-
id: string;
|
|
322
|
-
label: string;
|
|
323
|
-
}>[];
|
|
324
|
-
}>;
|
|
234
|
+
display: import("../nodes/newsletter-form.interactive").NewsletterFormDisplay;
|
|
325
235
|
hydration: Readonly<{
|
|
326
236
|
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
327
237
|
setupRevision: number | null;
|
|
@@ -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'];
|
|
@@ -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
|
}>;
|
|
@@ -67,12 +67,17 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
67
67
|
time: "time";
|
|
68
68
|
layout: "layout";
|
|
69
69
|
group: "group";
|
|
70
|
+
contact: "contact";
|
|
70
71
|
stack: "stack";
|
|
71
72
|
inline: "inline";
|
|
72
73
|
heading: "heading";
|
|
73
74
|
intro: "intro";
|
|
74
75
|
section: "section";
|
|
75
76
|
navigation: "navigation";
|
|
77
|
+
head: "head";
|
|
78
|
+
social: "social";
|
|
79
|
+
panel: "panel";
|
|
80
|
+
base: "base";
|
|
76
81
|
row: "row";
|
|
77
82
|
media: "media";
|
|
78
83
|
caption: "caption";
|
|
@@ -81,11 +86,10 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
81
86
|
places: "places";
|
|
82
87
|
eyebrow: "eyebrow";
|
|
83
88
|
mark: "mark";
|
|
84
|
-
icon: "icon";
|
|
85
89
|
controls: "controls";
|
|
90
|
+
icon: "icon";
|
|
86
91
|
copy: "copy";
|
|
87
92
|
grid: "grid";
|
|
88
|
-
panel: "panel";
|
|
89
93
|
facts: "facts";
|
|
90
94
|
chips: "chips";
|
|
91
95
|
numeral: "numeral";
|
|
@@ -97,7 +101,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
97
101
|
sticker: "sticker";
|
|
98
102
|
list: "list";
|
|
99
103
|
frame: "frame";
|
|
100
|
-
head: "head";
|
|
101
104
|
headline: "headline";
|
|
102
105
|
lede: "lede";
|
|
103
106
|
actions: "actions";
|
|
@@ -142,12 +145,17 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
142
145
|
time: "time";
|
|
143
146
|
layout: "layout";
|
|
144
147
|
group: "group";
|
|
148
|
+
contact: "contact";
|
|
145
149
|
stack: "stack";
|
|
146
150
|
inline: "inline";
|
|
147
151
|
heading: "heading";
|
|
148
152
|
intro: "intro";
|
|
149
153
|
section: "section";
|
|
150
154
|
navigation: "navigation";
|
|
155
|
+
head: "head";
|
|
156
|
+
social: "social";
|
|
157
|
+
panel: "panel";
|
|
158
|
+
base: "base";
|
|
151
159
|
row: "row";
|
|
152
160
|
media: "media";
|
|
153
161
|
caption: "caption";
|
|
@@ -156,11 +164,10 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
156
164
|
places: "places";
|
|
157
165
|
eyebrow: "eyebrow";
|
|
158
166
|
mark: "mark";
|
|
159
|
-
icon: "icon";
|
|
160
167
|
controls: "controls";
|
|
168
|
+
icon: "icon";
|
|
161
169
|
copy: "copy";
|
|
162
170
|
grid: "grid";
|
|
163
|
-
panel: "panel";
|
|
164
171
|
facts: "facts";
|
|
165
172
|
chips: "chips";
|
|
166
173
|
numeral: "numeral";
|
|
@@ -172,7 +179,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
172
179
|
sticker: "sticker";
|
|
173
180
|
list: "list";
|
|
174
181
|
frame: "frame";
|
|
175
|
-
head: "head";
|
|
176
182
|
headline: "headline";
|
|
177
183
|
lede: "lede";
|
|
178
184
|
actions: "actions";
|
|
@@ -212,5 +218,11 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
212
218
|
itemSurfaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<ResolvedSurface, ResolvedSurface>>>;
|
|
213
219
|
};
|
|
214
220
|
export declare function listLookSlot(presentation: LookListPresentation, slot: ArrangementSlotName): {};
|
|
221
|
+
/** Control kind is semantic; legacy markup receives no extra attributes. */
|
|
222
|
+
export declare function listLookControl(presentation: Pick<LookListPresentation, 'lookSlots'>, kind: 'select' | 'select-multiple' | 'link'): {
|
|
223
|
+
'data-control'?: undefined;
|
|
224
|
+
} | {
|
|
225
|
+
'data-control': "link" | "select" | "select-multiple";
|
|
226
|
+
};
|
|
215
227
|
/** Pagination uses the displayed collection, just as declarative repeaters do. */
|
|
216
228
|
export declare function listItemPresentation<T extends LookListPresentation>(presentation: T, index: number, count: number): T;
|
|
@@ -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;
|