@riverbankcms/sdk 0.141.0 → 0.143.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/dist/{PreviewEditorSidebar-Q-fy9GYw.mjs → PreviewEditorSidebar-DROGfMKi.mjs} +24 -15
- package/dist/{PreviewEditorUI-LYGzgk85.mjs → PreviewEditorUI-BaRjhFu-.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CN0ewic5.mjs → PreviewQueryProvider-BCYICImX.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CoPYI5Jq.mjs → SdkPreviewModeRuntime-OIABYLES.mjs} +16 -11
- package/dist/{SiteChromeCustomizeContext-D8LePX8x.mjs → SiteChromeCustomizeContext-ohjTvZbc.mjs} +607 -545
- package/dist/_dts/api/src/billing.d.ts +6 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +1 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/endpoints.d.ts +7 -27
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +7 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +48 -41
- package/dist/_dts/api/src/sdkConfig/layout.d.ts +13 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +3 -8
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -31
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +9 -5
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +56 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +95 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentStatusStep.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +0 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +12 -1
- 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/registrationCompletion.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +12 -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/sessionStorage.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/ticketSelectionLines.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +9 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +56 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +10 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/usePaymentStatusRecovery.d.ts +23 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +56 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -4
- package/dist/_dts/commerce/src/purchase/eventCheckoutRecoveryWindow.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +2 -1
- package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +1 -13
- package/dist/_dts/commerce/src/purchase/stripeCommissionMetadata.d.ts +1 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +58 -45
- package/dist/_dts/editor-blocks/src/block-editor/ColourFieldOptionsProvider.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/block-editor/colourFieldVisibility.d.ts +7 -0
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewFooterEditorPanel.d.ts +3 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/footerInspection.d.ts +16 -0
- package/dist/_dts/preview-next/src/client/preview/sdkConfig.d.ts +6 -0
- package/dist/_dts/sdk/src/config/types.d.ts +2 -18
- package/dist/_dts/sdk/src/config/validation.d.ts +6 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +10 -1
- package/dist/_dts/theme-core/src/schema.d.ts +1 -7
- package/dist/_dts/theme-core/src/site-styles/effectivePageDesign.d.ts +32 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/client/{BookingConsentAgreement-xJeYNdnb.mjs → BookingConsentAgreement-BoCtvzzu.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-DdT6uzl9.mjs → DiscountCodeDisclosure-B5S30nZk.mjs} +1 -1
- package/dist/client/{EventCombined.client-Cp28uYuM.mjs → EventCombined.client-CeZ2-zSt.mjs} +5 -5
- package/dist/client/{EventListing.client-CD6AJsMr.mjs → EventListing.client-DJN3j8B3.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DBsAi9-e.mjs → LeafletStaticMap-RjtGzDQT.mjs} +1 -1
- package/dist/client/{accordion-6dwbOKYR.mjs → accordion-DOmnDoyg.mjs} +1 -1
- package/dist/client/{bookingForm-CZE9_qPQ.mjs → bookingForm-C0vk7pgS.mjs} +5 -5
- package/dist/client/bookings.mjs +468 -534
- package/dist/client/{carousel-7VHGQARz.mjs → carousel-BZJ7pno3.mjs} +1 -1
- package/dist/client/{cart-Qg_mvQhh.mjs → cart-CaeVAHJl.mjs} +3 -3
- package/dist/client/{checkout-D84rpgdr.mjs → checkout-7wmoNDtG.mjs} +3 -3
- package/dist/client/client.mjs +559 -593
- package/dist/client/{context-Ctp3T0Wr.mjs → context-BOimxE3U.mjs} +12 -1
- package/dist/client/{dates-DJKFcI_N.mjs → dates-BnzVksi4.mjs} +2 -2
- package/dist/client/{eventCalendar-CK31z3vs.mjs → eventCalendar-l-fpaslC.mjs} +7 -7
- package/dist/client/{eventCombined-DiXd-ewn.mjs → eventCombined-DGGvssK6.mjs} +3 -3
- package/dist/client/{eventDetails-CTRgt2DK.mjs → eventDetails-DRiCm_hL.mjs} +4 -4
- package/dist/client/{eventListing-Dy9vi_j_.mjs → eventListing-dph8loYX.mjs} +3 -3
- package/dist/client/{eventRegistration-CnalYMr2.mjs → eventRegistration-ClBohmbY.mjs} +472 -531
- package/dist/client/{form-eUiMveTT.mjs → form-BLVVAnd3.mjs} +2 -2
- package/dist/client/{headerSection-Dy9kQpB1.mjs → headerSection-DHy4C8Ix.mjs} +2 -2
- package/dist/client/hooks.mjs +39 -13
- package/dist/client/{locationMap-DalCmWU0.mjs → locationMap-6HuS28ck.mjs} +2 -2
- package/dist/client/{newsletterForm-SDDPvhS0.mjs → newsletterForm-xOdcOhZP.mjs} +2 -2
- package/dist/client/{pricing-OcMz4SnX.mjs → pricing-ChinRYFt.mjs} +1 -1
- package/dist/client/{productDetail-BQrgHElM.mjs → productDetail-0chA5gbK.mjs} +3 -3
- package/dist/client/{productList-OnPn_UJj.mjs → productList-OoINA0h1.mjs} +3 -3
- package/dist/client/{propsDecoder-zBdsnS-N.mjs → propsDecoder-CIZ-hbIG.mjs} +33 -9
- package/dist/client/rendering/client.mjs +536 -550
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +602 -596
- package/dist/client/{scrollToBlock-BNM4Ob2Y.mjs → scrollToBlock-BPZl0gPZ.mjs} +1 -1
- package/dist/client/{shop-Bv1fPTwQ.mjs → shop-CLJFqNIq.mjs} +6 -6
- package/dist/client/{shop-commerce-D4KNGaW8.mjs → shop-commerce-PpANg5wB.mjs} +5 -5
- package/dist/client/{shop-commerce-store-2N5EV0Rc.mjs → shop-commerce-store-TA_Kz2ku.mjs} +1 -1
- package/dist/client/{shopShared-DvJGdHTV.mjs → shopShared-DzcFcA5g.mjs} +3 -3
- package/dist/client/{useEventFilters-BBBvGDHQ.mjs → useEventFilters-CFU21QZo.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +11 -37
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +11 -37
- package/dist/preview-next/middleware.mjs +11 -37
- package/dist/{previewAuthStore-Gjb6r6vz.mjs → previewAuthStore-JA6-I_sL.mjs} +11 -37
- package/dist/{sdk-runtime-Defnbfzw.mjs → sdk-runtime-CDKl0Fr7.mjs} +2 -2
- package/dist/{separator-CZXO3Sb0.mjs → separator-BTp96X32.mjs} +1 -1
- package/dist/server/components.mjs +80 -51
- package/dist/server/config-validation.mjs +43 -14
- package/dist/server/config.mjs +43 -14
- package/dist/server/data.mjs +39 -13
- package/dist/server/index.mjs +12 -38
- package/dist/server/next.mjs +40 -53
- package/dist/server/page-converter.mjs +20 -8
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +80 -51
- package/dist/server/rendering.mjs +80 -51
- package/dist/server/routing.mjs +52 -17
- package/dist/server/server.mjs +40 -51
- package/dist/server/theme-bridge.mjs +10 -8
- package/dist/server/theme.mjs +10 -8
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +0 -8
|
@@ -8,6 +8,9 @@ import type { PublicTeamMemberBlockItem } from './teamMemberContracts';
|
|
|
8
8
|
import type { ResolveEventSubrouteResponse } from './eventSubrouteContracts';
|
|
9
9
|
export type { PublicTeamMemberBlockItem, PublicTeamMemberPhoto, PublicTeamMemberSummary, } from './teamMemberContracts';
|
|
10
10
|
export type RuntimeSiteSdkConfig = {
|
|
11
|
+
layout?: {
|
|
12
|
+
footerMode?: import('../../../theme-core/src/footer/mode').FooterMode;
|
|
13
|
+
};
|
|
11
14
|
theme?: SdkThemeConfig;
|
|
12
15
|
customBlocks?: SdkCustomBlock[];
|
|
13
16
|
};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const footerModeSchema: z.ZodEnum<{
|
|
3
|
+
none: "none";
|
|
4
|
+
default: "default";
|
|
5
|
+
blocks: "blocks";
|
|
6
|
+
"default+blocks": "default+blocks";
|
|
7
|
+
}>;
|
|
8
|
+
export type FooterMode = z.infer<typeof footerModeSchema>;
|
|
9
|
+
/** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
|
|
10
|
+
export declare function resolveSdkFooterMode(config: unknown): FooterMode;
|
|
2
11
|
export type FooterBrandVisibility = Readonly<{
|
|
3
12
|
showLogo: boolean;
|
|
4
13
|
showTitle: boolean;
|
|
@@ -3486,12 +3486,6 @@ declare const footerMaxWidth: z.ZodEnum<{
|
|
|
3486
3486
|
full: "full";
|
|
3487
3487
|
container: "container";
|
|
3488
3488
|
}>;
|
|
3489
|
-
declare const footerMode: z.ZodEnum<{
|
|
3490
|
-
none: "none";
|
|
3491
|
-
default: "default";
|
|
3492
|
-
blocks: "blocks";
|
|
3493
|
-
"default+blocks": "default+blocks";
|
|
3494
|
-
}>;
|
|
3495
3489
|
export declare const footerSchema: z.ZodObject<{
|
|
3496
3490
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
3497
3491
|
none: "none";
|
|
@@ -12336,7 +12330,7 @@ export type HeaderCtaGap = z.infer<typeof headerCtaGapSchema>;
|
|
|
12336
12330
|
export type ThemeHeader = z.infer<typeof headerSchema>;
|
|
12337
12331
|
export type FooterVariant = z.infer<typeof footerVariant>;
|
|
12338
12332
|
export type FooterMaxWidth = z.infer<typeof footerMaxWidth>;
|
|
12339
|
-
export type FooterMode
|
|
12333
|
+
export type { FooterMode } from './footer/mode';
|
|
12340
12334
|
export type ThemeFooter = z.infer<typeof footerSchema>;
|
|
12341
12335
|
export type ThemeLayout = z.infer<typeof layoutSchema>;
|
|
12342
12336
|
export type ThemeHero = z.infer<typeof heroSchema>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type PageDesignIntent } from './pageDesignIntent';
|
|
2
|
+
import type { SiteStyleId } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Where an effective page design intent came from. `stored` means a persisted
|
|
5
|
+
* intent was found (and rebased onto the current site style); `default` means
|
|
6
|
+
* nothing was persisted and the site style's own defaults were used.
|
|
7
|
+
*/
|
|
8
|
+
export type EffectivePageDesignIntentSource = 'stored' | 'default';
|
|
9
|
+
/**
|
|
10
|
+
* Resolution outcome for a page's effective design intent.
|
|
11
|
+
*
|
|
12
|
+
* `no-site-style` is not an error in this layer: it only says that there is no
|
|
13
|
+
* style to resolve against. Whether that is an invariant violation depends on
|
|
14
|
+
* whether the site is managed, which is a concept this layer does not know
|
|
15
|
+
* about. See issue 1462.
|
|
16
|
+
*/
|
|
17
|
+
export type EffectivePageDesignIntentResolution = Readonly<{
|
|
18
|
+
kind: 'resolved';
|
|
19
|
+
intent: PageDesignIntent;
|
|
20
|
+
source: EffectivePageDesignIntentSource;
|
|
21
|
+
}> | Readonly<{
|
|
22
|
+
kind: 'no-site-style';
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Every page with an applicable site style has an effective design, whether or
|
|
26
|
+
* not a design version was ever persisted. Missing persistence is ordinary
|
|
27
|
+
* default resolution, not a failure.
|
|
28
|
+
*
|
|
29
|
+
* Corrupt persisted state never reaches this function: callers keep their own
|
|
30
|
+
* invalid state untouched and only resolve `stored` values they could parse.
|
|
31
|
+
*/
|
|
32
|
+
export declare function resolveEffectivePageDesignIntent(stored: PageDesignIntent | null, currentSiteStyleId: SiteStyleId | null): EffectivePageDesignIntentResolution;
|
|
@@ -26,6 +26,7 @@ export * from './headerOpeningSection';
|
|
|
26
26
|
export * from './lookResolution';
|
|
27
27
|
export * from './lookOptionGroups';
|
|
28
28
|
export * from './logoBranding';
|
|
29
|
+
export * from './effectivePageDesign';
|
|
29
30
|
export * from './pageDesignAuthority';
|
|
30
31
|
export * from './pageDesignEditorErrors';
|
|
31
32
|
export * from './pageDesignEditorCapabilities';
|
package/dist/client/{BookingConsentAgreement-xJeYNdnb.mjs → BookingConsentAgreement-BoCtvzzu.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { O as clsx } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { a as CheckIcon } from "./scrollToBlock-
|
|
3
|
+
import { Ft as assertNever$2, pn as formatCurrencyAmount } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
4
|
+
import { a as CheckIcon } from "./scrollToBlock-BPZl0gPZ.mjs";
|
|
5
5
|
import { n as RichText } from "./checkoutUrls-FL6lRkrt.mjs";
|
|
6
6
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
package/dist/client/{DiscountCodeDisclosure-DdT6uzl9.mjs → DiscountCodeDisclosure-B5S30nZk.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ft as themeButtonClassName } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
3
3
|
import { useId } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { O as clsx } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { a as EventCardClient, i as EventPaginatedListView, n as useEventPagination, o as EventFilters, r as toError, s as formatEventTeacherLine, t as useEventFilters } from "./useEventFilters-
|
|
5
|
-
import { o as formatEventRemainingPlaces, p as isEventFull, t as formatEventPrice } from "./pricing-
|
|
6
|
-
import { a as formatTime, d as resolveEventLinkProps, o as groupEventsByDate, s as resolveEventTimeZone, t as formatDate, u as resolveEventCta } from "./dates-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
3
|
+
import { $ as formatDateKey, $t as getLocalScheduleDate, B as planCalendarMonthRanges, F as calendarPageResponseError, H as buildEventRuntimeFilters, I as calendarQueryKey, J as getContainerClass, L as calendarWindowBounds, P as calendarMonthDate, Q as buildCalendarViewport, R as calendarWindowMonths$1, U as getEventRuntimeFiltersKey, Y as MONTH_NAMES, Z as addMonths, Zt as formatLocalScheduleDate, at as shiftCalendarAnchorDate, et as getDayOfWeek, ft as themeButtonClassName, it as isToday, q as getCardOrientation, rt as isSameCalendarDay, tt as getOrderedDayNames } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
4
|
+
import { a as EventCardClient, i as EventPaginatedListView, n as useEventPagination, o as EventFilters, r as toError, s as formatEventTeacherLine, t as useEventFilters } from "./useEventFilters-CFU21QZo.mjs";
|
|
5
|
+
import { o as formatEventRemainingPlaces, p as isEventFull, t as formatEventPrice } from "./pricing-ChinRYFt.mjs";
|
|
6
|
+
import { a as formatTime, d as resolveEventLinkProps, o as groupEventsByDate, s as resolveEventTimeZone, t as formatDate, u as resolveEventCta } from "./dates-BnzVksi4.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-BOimxE3U.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
9
9
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
10
10
|
import React, { createContext, useCallback, useContext, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as EventPaginatedListView, n as useEventPagination, o as EventFilters, t as useEventFilters } from "./useEventFilters-
|
|
2
|
+
import { H as buildEventRuntimeFilters } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
3
|
+
import { i as EventPaginatedListView, n as useEventPagination, o as EventFilters, t as useEventFilters } from "./useEventFilters-CFU21QZo.mjs";
|
|
4
4
|
import { useId, useMemo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Pt as isRecord } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/shared/LeafletStaticMap.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
2
2
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
3
3
|
const decode = defineIslandPropsDecoder("accordion");
|
|
4
4
|
function parseDefaultValues(value) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { C as unsafeAsPassId, b as unsafeAsCustomerPassId, v as unsafeAsAppointmentResourceId, x as unsafeAsFormId, y as unsafeAsAppointmentServiceId } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
-
import { a as buildBookingPaymentSelectionViewModel, i as usePolling, n as StepIndicator, r as SpinnerNode, t as BookingConsentAgreement } from "./BookingConsentAgreement-
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
3
|
+
import { a as buildBookingPaymentSelectionViewModel, i as usePolling, n as StepIndicator, r as SpinnerNode, t as BookingConsentAgreement } from "./BookingConsentAgreement-BoCtvzzu.mjs";
|
|
4
|
+
import { At as resolveSelectedAppointmentConsent, Bt as reportWorkflowError, Ct as prepareBookingSubmission, Dt as resolveDefaultBookingServiceId, Et as resolveBookingSiteId, Ft as assertNever, Gt as addLocalScheduleDays, It as clearWorkflowFeedback, Lt as err, Mt as isBookingRequirementConsentFieldId, Ot as toSelectedCollectionOptionKind, St as parseBookingCurrencyInputToCents, Tt as resolveBookingPaymentStep, Vt as reportWorkflowSuccess, Yt as formatBookingInstant, Zt as formatLocalScheduleDate, _t as formatBookingSubmissionPreparationError, bt as getBookingSuccessMessage, en as parseBookingLocalDate, ft as themeButtonClassName, gt as formatBookingCentsAsCurrencyInput, ht as deriveBookingFormViewState, jt as BOOKING_FORM_DATA_RESERVED_KEYS, kt as projectSelectedAppointmentConsentIntoForm, mt as logger, pn as formatCurrencyAmount, t as defineIslandPropsDecoder, tn as resolveBookingTimeZoneId, vt as getBookingRedirectStateFromLocation, wt as resolveAppointmentCheckoutVerificationState, xt as isBookingServiceSlidingAmountInRange, yt as getBookingServiceSlidingScale, zt as okWith } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
5
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-BOimxE3U.mjs";
|
|
6
6
|
import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
|
|
7
|
-
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-
|
|
8
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
7
|
+
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-BPZl0gPZ.mjs";
|
|
8
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
|
|
9
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
10
10
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-AYanWFb-.mjs";
|
|
11
11
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-FL6lRkrt.mjs";
|