@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckIcon.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { Ft as assertNever, ft as themeButtonClassName, hn as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-BOimxE3U.mjs";
|
|
4
|
+
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-BPZl0gPZ.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
7
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
8
8
|
import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
|
|
9
9
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
10
|
-
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-
|
|
11
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-DzcFcA5g.mjs";
|
|
11
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-TA_Kz2ku.mjs";
|
|
12
12
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
13
13
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ft as
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { Bt as reportWorkflowError, Ft as assertNever, It as clearWorkflowFeedback, Nt as RichTextDocSchema, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, ft as themeButtonClassName, i as buildProductCardDisplay, mt as logger, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-BOimxE3U.mjs";
|
|
4
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
6
6
|
import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-FL6lRkrt.mjs";
|
|
7
7
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
8
8
|
import { t as CarouselNodeClient } from "./carousel.client-DQTjCVQT.mjs";
|
|
9
9
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
10
|
-
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-
|
|
11
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-DzcFcA5g.mjs";
|
|
11
|
+
import { n as useCommerceCart } from "./shop-commerce-store-TA_Kz2ku.mjs";
|
|
12
12
|
import * as React$1 from "react";
|
|
13
13
|
import { useEffect, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-
|
|
2
|
+
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { D as ok, E as err } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
3
|
+
import { Ft as assertNever } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-BOimxE3U.mjs";
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
8
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Ft as assertNever, G as normalizeCsvString, K as normalizeOptionalId, M as isSemanticSpacing, N as resolveSpacing, U as getEventRuntimeFiltersKey, W as normalizeCsvIds, ct as boxBackgroundSchema, dt as resolveTokenOrCssColorValue, ft as themeButtonClassName, j as SEMANTIC_SPACING_VALUES, lt as isCssColorLiteral, pt as normalizeCardRole, ut as resolveOnColorForThemeToken } from "./propsDecoder-CIZ-hbIG.mjs";
|
|
4
4
|
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-DHpfFwd3.mjs";
|
|
5
|
-
import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-
|
|
6
|
-
import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
5
|
+
import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-ChinRYFt.mjs";
|
|
6
|
+
import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-BnzVksi4.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-BOimxE3U.mjs";
|
|
8
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-RjtGzDQT.mjs";
|
|
9
9
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
@@ -1366,6 +1366,17 @@ function publicReadFreshnessSeconds(endpoint) {
|
|
|
1366
1366
|
//#endregion
|
|
1367
1367
|
//#region ../api/src/publicEventEndpointDefinitions.ts
|
|
1368
1368
|
const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1369
|
+
checkPublicEventRegistrationNextStep: {
|
|
1370
|
+
path: "/public/sites/{siteId}/events/registration-next-step",
|
|
1371
|
+
method: "POST",
|
|
1372
|
+
auth: "public",
|
|
1373
|
+
responseKind: "json",
|
|
1374
|
+
errors: [
|
|
1375
|
+
"validation:invalid_input",
|
|
1376
|
+
"auth:forbidden",
|
|
1377
|
+
"server:internal_error"
|
|
1378
|
+
]
|
|
1379
|
+
},
|
|
1369
1380
|
listPublicEventCalendarWindow: {
|
|
1370
1381
|
path: "/public/sites/{siteId}/events/calendar-window",
|
|
1371
1382
|
method: "GET",
|
|
@@ -6821,13 +6832,6 @@ const API_ENDPOINTS = {
|
|
|
6821
6832
|
auth: "service",
|
|
6822
6833
|
responseKind: "json"
|
|
6823
6834
|
},
|
|
6824
|
-
sdkCatalogTheme: {
|
|
6825
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6826
|
-
method: "GET",
|
|
6827
|
-
errors: ["server:internal_error"],
|
|
6828
|
-
auth: "service",
|
|
6829
|
-
responseKind: "json"
|
|
6830
|
-
},
|
|
6831
6835
|
sdkCatalogBlocks: {
|
|
6832
6836
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6833
6837
|
method: "GET",
|
|
@@ -6888,12 +6892,6 @@ const API_ENDPOINTS = {
|
|
|
6888
6892
|
auth: "service",
|
|
6889
6893
|
responseKind: "json"
|
|
6890
6894
|
},
|
|
6891
|
-
sdkPullTheme: {
|
|
6892
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6893
|
-
method: "GET",
|
|
6894
|
-
auth: "service",
|
|
6895
|
-
responseKind: "json"
|
|
6896
|
-
},
|
|
6897
6895
|
sdkPullFooter: {
|
|
6898
6896
|
path: "/sdk/{siteId}/pull/footer",
|
|
6899
6897
|
method: "GET",
|
|
@@ -7000,30 +6998,6 @@ const API_ENDPOINTS = {
|
|
|
7000
6998
|
auth: "service",
|
|
7001
6999
|
responseKind: "json"
|
|
7002
7000
|
},
|
|
7003
|
-
sdkUpsertTheme: {
|
|
7004
|
-
path: "/sdk/{siteId}/theme",
|
|
7005
|
-
method: "POST",
|
|
7006
|
-
auth: "service",
|
|
7007
|
-
responseKind: "json",
|
|
7008
|
-
errors: [
|
|
7009
|
-
"validation:invalid_input",
|
|
7010
|
-
"resource:not_found",
|
|
7011
|
-
"resource:conflict",
|
|
7012
|
-
"server:internal_error"
|
|
7013
|
-
]
|
|
7014
|
-
},
|
|
7015
|
-
sdkApplySiteStyleSelection: {
|
|
7016
|
-
path: "/sdk/{siteId}/theme/style-selection/apply",
|
|
7017
|
-
method: "POST",
|
|
7018
|
-
auth: "service",
|
|
7019
|
-
responseKind: "json",
|
|
7020
|
-
errors: [
|
|
7021
|
-
"validation:invalid_input",
|
|
7022
|
-
"resource:not_found",
|
|
7023
|
-
"resource:conflict",
|
|
7024
|
-
"server:internal_error"
|
|
7025
|
-
]
|
|
7026
|
-
},
|
|
7027
7001
|
sdkUpsertFooter: {
|
|
7028
7002
|
path: "/sdk/{siteId}/footer",
|
|
7029
7003
|
method: "POST",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-
|
|
2
|
+
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-BCYICImX.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-OIABYLES.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-CDKl0Fr7.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-CDKl0Fr7.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1396,6 +1396,17 @@ function publicReadFreshnessSeconds(endpoint) {
|
|
|
1396
1396
|
//#endregion
|
|
1397
1397
|
//#region ../api/src/publicEventEndpointDefinitions.ts
|
|
1398
1398
|
const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1399
|
+
checkPublicEventRegistrationNextStep: {
|
|
1400
|
+
path: "/public/sites/{siteId}/events/registration-next-step",
|
|
1401
|
+
method: "POST",
|
|
1402
|
+
auth: "public",
|
|
1403
|
+
responseKind: "json",
|
|
1404
|
+
errors: [
|
|
1405
|
+
"validation:invalid_input",
|
|
1406
|
+
"auth:forbidden",
|
|
1407
|
+
"server:internal_error"
|
|
1408
|
+
]
|
|
1409
|
+
},
|
|
1399
1410
|
listPublicEventCalendarWindow: {
|
|
1400
1411
|
path: "/public/sites/{siteId}/events/calendar-window",
|
|
1401
1412
|
method: "GET",
|
|
@@ -6851,13 +6862,6 @@ const API_ENDPOINTS = {
|
|
|
6851
6862
|
auth: "service",
|
|
6852
6863
|
responseKind: "json"
|
|
6853
6864
|
},
|
|
6854
|
-
sdkCatalogTheme: {
|
|
6855
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6856
|
-
method: "GET",
|
|
6857
|
-
errors: ["server:internal_error"],
|
|
6858
|
-
auth: "service",
|
|
6859
|
-
responseKind: "json"
|
|
6860
|
-
},
|
|
6861
6865
|
sdkCatalogBlocks: {
|
|
6862
6866
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6863
6867
|
method: "GET",
|
|
@@ -6918,12 +6922,6 @@ const API_ENDPOINTS = {
|
|
|
6918
6922
|
auth: "service",
|
|
6919
6923
|
responseKind: "json"
|
|
6920
6924
|
},
|
|
6921
|
-
sdkPullTheme: {
|
|
6922
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6923
|
-
method: "GET",
|
|
6924
|
-
auth: "service",
|
|
6925
|
-
responseKind: "json"
|
|
6926
|
-
},
|
|
6927
6925
|
sdkPullFooter: {
|
|
6928
6926
|
path: "/sdk/{siteId}/pull/footer",
|
|
6929
6927
|
method: "GET",
|
|
@@ -7030,30 +7028,6 @@ const API_ENDPOINTS = {
|
|
|
7030
7028
|
auth: "service",
|
|
7031
7029
|
responseKind: "json"
|
|
7032
7030
|
},
|
|
7033
|
-
sdkUpsertTheme: {
|
|
7034
|
-
path: "/sdk/{siteId}/theme",
|
|
7035
|
-
method: "POST",
|
|
7036
|
-
auth: "service",
|
|
7037
|
-
responseKind: "json",
|
|
7038
|
-
errors: [
|
|
7039
|
-
"validation:invalid_input",
|
|
7040
|
-
"resource:not_found",
|
|
7041
|
-
"resource:conflict",
|
|
7042
|
-
"server:internal_error"
|
|
7043
|
-
]
|
|
7044
|
-
},
|
|
7045
|
-
sdkApplySiteStyleSelection: {
|
|
7046
|
-
path: "/sdk/{siteId}/theme/style-selection/apply",
|
|
7047
|
-
method: "POST",
|
|
7048
|
-
auth: "service",
|
|
7049
|
-
responseKind: "json",
|
|
7050
|
-
errors: [
|
|
7051
|
-
"validation:invalid_input",
|
|
7052
|
-
"resource:not_found",
|
|
7053
|
-
"resource:conflict",
|
|
7054
|
-
"server:internal_error"
|
|
7055
|
-
]
|
|
7056
|
-
},
|
|
7057
7031
|
sdkUpsertFooter: {
|
|
7058
7032
|
path: "/sdk/{siteId}/footer",
|
|
7059
7033
|
method: "POST",
|
|
@@ -1367,6 +1367,17 @@ function publicReadFreshnessSeconds(endpoint) {
|
|
|
1367
1367
|
//#endregion
|
|
1368
1368
|
//#region ../api/src/publicEventEndpointDefinitions.ts
|
|
1369
1369
|
const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1370
|
+
checkPublicEventRegistrationNextStep: {
|
|
1371
|
+
path: "/public/sites/{siteId}/events/registration-next-step",
|
|
1372
|
+
method: "POST",
|
|
1373
|
+
auth: "public",
|
|
1374
|
+
responseKind: "json",
|
|
1375
|
+
errors: [
|
|
1376
|
+
"validation:invalid_input",
|
|
1377
|
+
"auth:forbidden",
|
|
1378
|
+
"server:internal_error"
|
|
1379
|
+
]
|
|
1380
|
+
},
|
|
1370
1381
|
listPublicEventCalendarWindow: {
|
|
1371
1382
|
path: "/public/sites/{siteId}/events/calendar-window",
|
|
1372
1383
|
method: "GET",
|
|
@@ -6822,13 +6833,6 @@ const API_ENDPOINTS = {
|
|
|
6822
6833
|
auth: "service",
|
|
6823
6834
|
responseKind: "json"
|
|
6824
6835
|
},
|
|
6825
|
-
sdkCatalogTheme: {
|
|
6826
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6827
|
-
method: "GET",
|
|
6828
|
-
errors: ["server:internal_error"],
|
|
6829
|
-
auth: "service",
|
|
6830
|
-
responseKind: "json"
|
|
6831
|
-
},
|
|
6832
6836
|
sdkCatalogBlocks: {
|
|
6833
6837
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6834
6838
|
method: "GET",
|
|
@@ -6889,12 +6893,6 @@ const API_ENDPOINTS = {
|
|
|
6889
6893
|
auth: "service",
|
|
6890
6894
|
responseKind: "json"
|
|
6891
6895
|
},
|
|
6892
|
-
sdkPullTheme: {
|
|
6893
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6894
|
-
method: "GET",
|
|
6895
|
-
auth: "service",
|
|
6896
|
-
responseKind: "json"
|
|
6897
|
-
},
|
|
6898
6896
|
sdkPullFooter: {
|
|
6899
6897
|
path: "/sdk/{siteId}/pull/footer",
|
|
6900
6898
|
method: "GET",
|
|
@@ -7001,30 +6999,6 @@ const API_ENDPOINTS = {
|
|
|
7001
6999
|
auth: "service",
|
|
7002
7000
|
responseKind: "json"
|
|
7003
7001
|
},
|
|
7004
|
-
sdkUpsertTheme: {
|
|
7005
|
-
path: "/sdk/{siteId}/theme",
|
|
7006
|
-
method: "POST",
|
|
7007
|
-
auth: "service",
|
|
7008
|
-
responseKind: "json",
|
|
7009
|
-
errors: [
|
|
7010
|
-
"validation:invalid_input",
|
|
7011
|
-
"resource:not_found",
|
|
7012
|
-
"resource:conflict",
|
|
7013
|
-
"server:internal_error"
|
|
7014
|
-
]
|
|
7015
|
-
},
|
|
7016
|
-
sdkApplySiteStyleSelection: {
|
|
7017
|
-
path: "/sdk/{siteId}/theme/style-selection/apply",
|
|
7018
|
-
method: "POST",
|
|
7019
|
-
auth: "service",
|
|
7020
|
-
responseKind: "json",
|
|
7021
|
-
errors: [
|
|
7022
|
-
"validation:invalid_input",
|
|
7023
|
-
"resource:not_found",
|
|
7024
|
-
"resource:conflict",
|
|
7025
|
-
"server:internal_error"
|
|
7026
|
-
]
|
|
7027
|
-
},
|
|
7028
7002
|
sdkUpsertFooter: {
|
|
7029
7003
|
path: "/sdk/{siteId}/footer",
|
|
7030
7004
|
method: "POST",
|
|
@@ -1338,6 +1338,17 @@ function publicReadFreshnessSeconds(endpoint) {
|
|
|
1338
1338
|
//#endregion
|
|
1339
1339
|
//#region ../api/src/publicEventEndpointDefinitions.ts
|
|
1340
1340
|
const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1341
|
+
checkPublicEventRegistrationNextStep: {
|
|
1342
|
+
path: "/public/sites/{siteId}/events/registration-next-step",
|
|
1343
|
+
method: "POST",
|
|
1344
|
+
auth: "public",
|
|
1345
|
+
responseKind: "json",
|
|
1346
|
+
errors: [
|
|
1347
|
+
"validation:invalid_input",
|
|
1348
|
+
"auth:forbidden",
|
|
1349
|
+
"server:internal_error"
|
|
1350
|
+
]
|
|
1351
|
+
},
|
|
1341
1352
|
listPublicEventCalendarWindow: {
|
|
1342
1353
|
path: "/public/sites/{siteId}/events/calendar-window",
|
|
1343
1354
|
method: "GET",
|
|
@@ -6793,13 +6804,6 @@ const API_ENDPOINTS = {
|
|
|
6793
6804
|
auth: "service",
|
|
6794
6805
|
responseKind: "json"
|
|
6795
6806
|
},
|
|
6796
|
-
sdkCatalogTheme: {
|
|
6797
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6798
|
-
method: "GET",
|
|
6799
|
-
errors: ["server:internal_error"],
|
|
6800
|
-
auth: "service",
|
|
6801
|
-
responseKind: "json"
|
|
6802
|
-
},
|
|
6803
6807
|
sdkCatalogBlocks: {
|
|
6804
6808
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6805
6809
|
method: "GET",
|
|
@@ -6860,12 +6864,6 @@ const API_ENDPOINTS = {
|
|
|
6860
6864
|
auth: "service",
|
|
6861
6865
|
responseKind: "json"
|
|
6862
6866
|
},
|
|
6863
|
-
sdkPullTheme: {
|
|
6864
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6865
|
-
method: "GET",
|
|
6866
|
-
auth: "service",
|
|
6867
|
-
responseKind: "json"
|
|
6868
|
-
},
|
|
6869
6867
|
sdkPullFooter: {
|
|
6870
6868
|
path: "/sdk/{siteId}/pull/footer",
|
|
6871
6869
|
method: "GET",
|
|
@@ -6972,30 +6970,6 @@ const API_ENDPOINTS = {
|
|
|
6972
6970
|
auth: "service",
|
|
6973
6971
|
responseKind: "json"
|
|
6974
6972
|
},
|
|
6975
|
-
sdkUpsertTheme: {
|
|
6976
|
-
path: "/sdk/{siteId}/theme",
|
|
6977
|
-
method: "POST",
|
|
6978
|
-
auth: "service",
|
|
6979
|
-
responseKind: "json",
|
|
6980
|
-
errors: [
|
|
6981
|
-
"validation:invalid_input",
|
|
6982
|
-
"resource:not_found",
|
|
6983
|
-
"resource:conflict",
|
|
6984
|
-
"server:internal_error"
|
|
6985
|
-
]
|
|
6986
|
-
},
|
|
6987
|
-
sdkApplySiteStyleSelection: {
|
|
6988
|
-
path: "/sdk/{siteId}/theme/style-selection/apply",
|
|
6989
|
-
method: "POST",
|
|
6990
|
-
auth: "service",
|
|
6991
|
-
responseKind: "json",
|
|
6992
|
-
errors: [
|
|
6993
|
-
"validation:invalid_input",
|
|
6994
|
-
"resource:not_found",
|
|
6995
|
-
"resource:conflict",
|
|
6996
|
-
"server:internal_error"
|
|
6997
|
-
]
|
|
6998
|
-
},
|
|
6999
6973
|
sdkUpsertFooter: {
|
|
7000
6974
|
path: "/sdk/{siteId}/footer",
|
|
7001
6975
|
method: "POST",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./PreviewQueryProvider-
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import "./PreviewQueryProvider-BCYICImX.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-OIABYLES.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ha as cn, za as Primitive } from "./SiteChromeCustomizeContext-ohjTvZbc.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -12662,6 +12662,54 @@ function defaultTypographyForRecipe(recipe) {
|
|
|
12662
12662
|
case "classic-serif": return classicSerifTypography;
|
|
12663
12663
|
}
|
|
12664
12664
|
}
|
|
12665
|
+
//#endregion
|
|
12666
|
+
//#region ../theme-core/src/footer/mode.ts
|
|
12667
|
+
const footerModeSchema = z$1.enum([
|
|
12668
|
+
"default",
|
|
12669
|
+
"blocks",
|
|
12670
|
+
"default+blocks",
|
|
12671
|
+
"none"
|
|
12672
|
+
]);
|
|
12673
|
+
/** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
|
|
12674
|
+
function resolveSdkFooterMode(config) {
|
|
12675
|
+
const parsed = z$1.object({ layout: z$1.object({ footerMode: footerModeSchema.optional() }).optional() }).safeParse(config);
|
|
12676
|
+
return parsed.success ? parsed.data.layout?.footerMode ?? "default" : "default";
|
|
12677
|
+
}
|
|
12678
|
+
/**
|
|
12679
|
+
* Resolve what to render for the footer given the current mode and whether the
|
|
12680
|
+
* site is SDK-managed.
|
|
12681
|
+
*
|
|
12682
|
+
* Backwards compatible: missing/undefined mode is treated as 'default'.
|
|
12683
|
+
*/
|
|
12684
|
+
function resolveFooterRenderPlan(params) {
|
|
12685
|
+
if (!params.isSdkSite) return {
|
|
12686
|
+
mode: "default",
|
|
12687
|
+
renderDefaultFooter: true,
|
|
12688
|
+
renderFooterBlocks: false
|
|
12689
|
+
};
|
|
12690
|
+
switch (params.mode ?? "default") {
|
|
12691
|
+
case "blocks": return {
|
|
12692
|
+
mode: "blocks",
|
|
12693
|
+
renderDefaultFooter: false,
|
|
12694
|
+
renderFooterBlocks: true
|
|
12695
|
+
};
|
|
12696
|
+
case "default+blocks": return {
|
|
12697
|
+
mode: "default+blocks",
|
|
12698
|
+
renderDefaultFooter: true,
|
|
12699
|
+
renderFooterBlocks: true
|
|
12700
|
+
};
|
|
12701
|
+
case "none": return {
|
|
12702
|
+
mode: "none",
|
|
12703
|
+
renderDefaultFooter: false,
|
|
12704
|
+
renderFooterBlocks: false
|
|
12705
|
+
};
|
|
12706
|
+
default: return {
|
|
12707
|
+
mode: "default",
|
|
12708
|
+
renderDefaultFooter: true,
|
|
12709
|
+
renderFooterBlocks: false
|
|
12710
|
+
};
|
|
12711
|
+
}
|
|
12712
|
+
}
|
|
12665
12713
|
const hotspotSchema = z$1.object({
|
|
12666
12714
|
x: z$1.number().min(0).max(1),
|
|
12667
12715
|
y: z$1.number().min(0).max(1),
|
|
@@ -17780,12 +17828,6 @@ const footerVariant = z$1.enum([
|
|
|
17780
17828
|
"split"
|
|
17781
17829
|
]);
|
|
17782
17830
|
const footerMaxWidth = z$1.enum(["container", "full"]);
|
|
17783
|
-
const footerMode = z$1.enum([
|
|
17784
|
-
"default",
|
|
17785
|
-
"blocks",
|
|
17786
|
-
"default+blocks",
|
|
17787
|
-
"none"
|
|
17788
|
-
]);
|
|
17789
17831
|
const footerNavLayoutMode = z$1.enum([
|
|
17790
17832
|
"stack",
|
|
17791
17833
|
"inline",
|
|
@@ -17874,9 +17916,9 @@ const footerSchema = z$1.object({
|
|
|
17874
17916
|
/**
|
|
17875
17917
|
* SDK-only footer rendering mode.
|
|
17876
17918
|
*
|
|
17877
|
-
*
|
|
17919
|
+
* Historical persisted field; SDK rendering mode now lives in layout.footerMode.
|
|
17878
17920
|
*/
|
|
17879
|
-
mode:
|
|
17921
|
+
mode: footerModeSchema.optional(),
|
|
17880
17922
|
variant: footerVariant,
|
|
17881
17923
|
maxWidth: footerMaxWidth,
|
|
17882
17924
|
showLogoText: z$1.boolean().optional(),
|
|
@@ -27973,6 +28015,15 @@ const publicEventBaseSchema = z$1.object({
|
|
|
27973
28015
|
timeZone: z$1.string(),
|
|
27974
28016
|
pricing: publicEventPricingSchema,
|
|
27975
28017
|
paymentTerms: blockBookingPaymentTermsSchema,
|
|
28018
|
+
cancellationPolicy: z$1.object({ refunds: z$1.object({
|
|
28019
|
+
mode: z$1.enum([
|
|
28020
|
+
"never",
|
|
28021
|
+
"always",
|
|
28022
|
+
"cutoff"
|
|
28023
|
+
]),
|
|
28024
|
+
cutoffHours: z$1.number(),
|
|
28025
|
+
method: z$1.enum(["original_payment_method", "site_credit"])
|
|
28026
|
+
}) }),
|
|
27976
28027
|
consent: blockBookingConsentSchema.nullable(),
|
|
27977
28028
|
accessRestriction: accessRestrictionSchema,
|
|
27978
28029
|
allowedCategoryIds: z$1.array(z$1.string()),
|
|
@@ -37843,8 +37894,6 @@ function getWizardStepsForContext(hasPreSelectedContext, needsPaymentStep) {
|
|
|
37843
37894
|
if (!needsPaymentStep) return baseSteps;
|
|
37844
37895
|
return [...baseSteps, "select-payment"];
|
|
37845
37896
|
}
|
|
37846
|
-
//#endregion
|
|
37847
|
-
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
|
|
37848
37897
|
function eventMatchesOccurrenceId(event, occurrenceId) {
|
|
37849
37898
|
return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
|
|
37850
37899
|
}
|
|
@@ -38101,6 +38150,7 @@ function shellLabelForRegistrationStep(step, events) {
|
|
|
38101
38150
|
case "redirecting":
|
|
38102
38151
|
case "verifying-payment":
|
|
38103
38152
|
case "verifying-timeout":
|
|
38153
|
+
case "payment-status":
|
|
38104
38154
|
case "payment-failed": return "Details";
|
|
38105
38155
|
}
|
|
38106
38156
|
}
|
|
@@ -72340,41 +72390,6 @@ function ThemeScope$1({ theme, children, themeId = "theme-default", responsiveMo
|
|
|
72340
72390
|
children
|
|
72341
72391
|
});
|
|
72342
72392
|
}
|
|
72343
|
-
/**
|
|
72344
|
-
* Resolve what to render for the footer given the current mode and whether the
|
|
72345
|
-
* site is SDK-managed.
|
|
72346
|
-
*
|
|
72347
|
-
* Backwards compatible: missing/undefined mode is treated as 'default'.
|
|
72348
|
-
*/
|
|
72349
|
-
function resolveFooterRenderPlan(params) {
|
|
72350
|
-
if (!params.isSdkSite) return {
|
|
72351
|
-
mode: "default",
|
|
72352
|
-
renderDefaultFooter: true,
|
|
72353
|
-
renderFooterBlocks: false
|
|
72354
|
-
};
|
|
72355
|
-
switch (params.mode ?? "default") {
|
|
72356
|
-
case "blocks": return {
|
|
72357
|
-
mode: "blocks",
|
|
72358
|
-
renderDefaultFooter: false,
|
|
72359
|
-
renderFooterBlocks: true
|
|
72360
|
-
};
|
|
72361
|
-
case "default+blocks": return {
|
|
72362
|
-
mode: "default+blocks",
|
|
72363
|
-
renderDefaultFooter: true,
|
|
72364
|
-
renderFooterBlocks: true
|
|
72365
|
-
};
|
|
72366
|
-
case "none": return {
|
|
72367
|
-
mode: "none",
|
|
72368
|
-
renderDefaultFooter: false,
|
|
72369
|
-
renderFooterBlocks: false
|
|
72370
|
-
};
|
|
72371
|
-
default: return {
|
|
72372
|
-
mode: "default",
|
|
72373
|
-
renderDefaultFooter: true,
|
|
72374
|
-
renderFooterBlocks: false
|
|
72375
|
-
};
|
|
72376
|
-
}
|
|
72377
|
-
}
|
|
72378
72393
|
//#endregion
|
|
72379
72394
|
//#region ../theme-core/src/ResponsiveScope.tsx
|
|
72380
72395
|
/**
|
|
@@ -74773,7 +74788,7 @@ async function Layout(props) {
|
|
|
74773
74788
|
if (footer === true) {
|
|
74774
74789
|
const footerPlan = resolveFooterRenderPlan({
|
|
74775
74790
|
isSdkSite: Boolean(site.is_sdk_site),
|
|
74776
|
-
mode:
|
|
74791
|
+
mode: resolveSdkFooterMode(siteData.sdkConfig)
|
|
74777
74792
|
});
|
|
74778
74793
|
const footerBlocksElement = footerPlan.renderFooterBlocks && footerBlocks.length > 0 ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
74779
74794
|
theme,
|
|
@@ -76169,6 +76184,17 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
76169
76184
|
//#endregion
|
|
76170
76185
|
//#region ../api/src/publicEventEndpointDefinitions.ts
|
|
76171
76186
|
const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
76187
|
+
checkPublicEventRegistrationNextStep: {
|
|
76188
|
+
path: "/public/sites/{siteId}/events/registration-next-step",
|
|
76189
|
+
method: "POST",
|
|
76190
|
+
auth: "public",
|
|
76191
|
+
responseKind: "json",
|
|
76192
|
+
errors: [
|
|
76193
|
+
"validation:invalid_input",
|
|
76194
|
+
"auth:forbidden",
|
|
76195
|
+
"server:internal_error"
|
|
76196
|
+
]
|
|
76197
|
+
},
|
|
76172
76198
|
listPublicEventCalendarWindow: {
|
|
76173
76199
|
path: "/public/sites/{siteId}/events/calendar-window",
|
|
76174
76200
|
method: "GET",
|
|
@@ -77394,11 +77420,14 @@ const sdkSiteStyleConfigSchema = z$1.object({
|
|
|
77394
77420
|
sectionOptions: sdkSectionOptionsConfigSchema.optional(),
|
|
77395
77421
|
containerOptions: sdkContainerOptionsConfigSchema.optional()
|
|
77396
77422
|
});
|
|
77397
|
-
const sdkSiteLayoutConfigSchema = z$1.object({
|
|
77398
|
-
|
|
77399
|
-
|
|
77400
|
-
|
|
77401
|
-
|
|
77423
|
+
const sdkSiteLayoutConfigSchema = z$1.object({
|
|
77424
|
+
footerMode: footerModeSchema.optional(),
|
|
77425
|
+
footerBlocks: z$1.array(z$1.object({
|
|
77426
|
+
id: z$1.string().min(1).optional(),
|
|
77427
|
+
kind: z$1.string().min(1),
|
|
77428
|
+
content: z$1.record(z$1.string(), z$1.unknown()).optional()
|
|
77429
|
+
})).optional()
|
|
77430
|
+
});
|
|
77402
77431
|
const sdkFieldSelectOptionSchema = z$1.object({
|
|
77403
77432
|
value: z$1.string(),
|
|
77404
77433
|
label: z$1.string()
|