@riverbankcms/sdk 0.140.0 → 0.142.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-CUyTzd5z.mjs → PreviewEditorSidebar-Dk6Dt11f.mjs} +24 -15
- package/dist/{PreviewEditorUI-Agkw4v5i.mjs → PreviewEditorUI-D6EQTsCA.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CN0ewic5.mjs → PreviewQueryProvider-CC-EPkyQ.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DdbeAdS8.mjs → SdkPreviewModeRuntime-DH1n4ytY.mjs} +85 -54
- package/dist/{SiteChromeCustomizeContext-CqGOz-Kv.mjs → SiteChromeCustomizeContext-DunIzY0K.mjs} +797 -216
- 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/contentRuntime.d.ts +12 -31
- package/dist/_dts/api/src/domainConnection.d.ts +4 -0
- package/dist/_dts/api/src/endpoints.d.ts +0 -27
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +25 -0
- package/dist/_dts/api/src/index.d.ts +2 -2
- package/dist/_dts/api/src/launchReadiness.d.ts +1 -0
- package/dist/_dts/api/src/navigation/dashboardSiteNav.d.ts +2 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +1 -0
- 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/siteManagementEndpoints.d.ts +3 -26
- package/dist/_dts/api/src/siteOnboarding.d.ts +7 -0
- 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 +18 -5
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +122 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/eventSelection.d.ts +11 -0
- 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/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +5 -0
- package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +27 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +12 -180
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +6 -90
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +5 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.state.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useDiscountCodeUi.state.d.ts +10 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useSettledCommerceView.d.ts +37 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +4 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +11 -101
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +63 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +12 -0
- package/dist/_dts/commerce/src/purchase/bookingInstalmentSchedule.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/stripeCommissionMetadata.d.ts +1 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3102 -3122
- 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/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +27 -1
- 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 +4 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/ThemeFontLoader.d.ts +17 -1
- package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +16 -0
- package/dist/_dts/theme-core/src/buttons/generateButtonCss.d.ts +0 -6
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +4 -4
- package/dist/_dts/theme-core/src/footer/mode.d.ts +10 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +54 -12
- package/dist/_dts/theme-core/src/index.d.ts +1 -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-CuKa82V4.mjs → BookingConsentAgreement-CnJeq3_r.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-BbYieKWB.mjs → DiscountCodeDisclosure-BINEO6J9.mjs} +1 -1
- package/dist/client/{EventCombined.client-LTfR1Aby.mjs → EventCombined.client-srxNQ6sZ.mjs} +11 -15
- package/dist/client/{EventListing.client-DUHpYSuo.mjs → EventListing.client-DbyVyGkX.mjs} +4 -17
- package/dist/client/{LeafletStaticMap-CHRupL6m.mjs → LeafletStaticMap-B-wpijzL.mjs} +1 -1
- package/dist/client/{accordion-6HiIFxNL.mjs → accordion-B-iUXU7n.mjs} +1 -1
- package/dist/client/{bookingForm-Dlmid43H.mjs → bookingForm-BXYPke5q.mjs} +5 -5
- package/dist/client/bookings.mjs +194 -102
- package/dist/client/{carousel-DmkZRRq_.mjs → carousel-Cr4aj63H.mjs} +1 -1
- package/dist/client/{cart-CIC24330.mjs → cart-DibP9WWa.mjs} +3 -3
- package/dist/client/{checkout-D1Zw9imo.mjs → checkout-CrSBVnL8.mjs} +3 -3
- package/dist/client/client.mjs +643 -192
- package/dist/client/{context-Cy1OayHx.mjs → context-Ces-AgdR.mjs} +1 -1
- package/dist/client/{dates-aDcfoLHr.mjs → dates-BXyNeNhB.mjs} +2 -2
- package/dist/client/{eventCalendar-FQxMPAjf.mjs → eventCalendar-HwpPeqrH.mjs} +11 -7
- package/dist/client/{eventCombined-Dr3ac6Hb.mjs → eventCombined-BpFUkuEI.mjs} +3 -3
- package/dist/client/{eventDetails-D-AzUHFQ.mjs → eventDetails-DK_agiWy.mjs} +4 -4
- package/dist/client/{eventListing-B3XxBf3i.mjs → eventListing-DhzHqP1c.mjs} +3 -3
- package/dist/client/{eventRegistration-I6EaokFD.mjs → eventRegistration-BdQ_Dn2d.mjs} +124 -32
- package/dist/client/{form-BbWckVWY.mjs → form-B1frcuzy.mjs} +2 -2
- package/dist/client/{headerSection-C9qU4Y7x.mjs → headerSection-CT5z460s.mjs} +2 -2
- package/dist/client/hooks.mjs +274 -45
- package/dist/client/{locationMap-CLCShvlG.mjs → locationMap-CIQXB9i2.mjs} +2 -2
- package/dist/client/{newsletterForm-Briukxzi.mjs → newsletterForm-BYNYZSes.mjs} +23 -10
- package/dist/client/{pricing-Copadu-2.mjs → pricing-CbTlAsmt.mjs} +1 -1
- package/dist/client/{productDetail-oujlRd-r.mjs → productDetail-CR7Z3yjS.mjs} +3 -3
- package/dist/client/{productList-BRiIRUcd.mjs → productList-DXj00vzR.mjs} +3 -3
- package/dist/client/{propsDecoder-CB2KS_ko.mjs → propsDecoder-DiLiBdek.mjs} +57 -16
- package/dist/client/rendering/client.mjs +476 -132
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +686 -195
- package/dist/client/{scrollToBlock-B1IS1_ua.mjs → scrollToBlock-CrcbBf0h.mjs} +28 -11
- package/dist/client/{shop-Vn6yNFED.mjs → shop-DgqiB_1b.mjs} +6 -6
- package/dist/client/{shop-commerce-BVTqipYp.mjs → shop-commerce-D_J781in.mjs} +5 -5
- package/dist/client/{shop-commerce-store-BVnJVy7v.mjs → shop-commerce-store-PGUbDwqe.mjs} +1 -1
- package/dist/client/{shopShared-COIeK77T.mjs → shopShared-C_Bb2zwG.mjs} +3 -3
- package/dist/client/{useEventFilters-DzIUcS9n.mjs → useEventFilters-CM17Xpr1.mjs} +17 -11
- package/dist/preview-next/before-render.mjs +0 -37
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-chrome.css +4 -8
- package/dist/preview-next/keepAlive.mjs +0 -37
- package/dist/preview-next/middleware.mjs +0 -37
- package/dist/{previewAuthStore-Gjb6r6vz.mjs → previewAuthStore-oVttoRDO.mjs} +0 -37
- package/dist/{sdk-runtime-CnCLvZRv.mjs → sdk-runtime-DhmuRhIX.mjs} +2 -2
- package/dist/{separator-DKDRJ1oH.mjs → separator-C3hlg9LH.mjs} +1 -1
- package/dist/server/components.mjs +452 -111
- package/dist/server/config-validation.mjs +263 -40
- package/dist/server/config.mjs +263 -40
- package/dist/server/data.mjs +274 -45
- package/dist/server/index.mjs +1 -38
- package/dist/server/next.mjs +427 -119
- package/dist/server/page-converter.mjs +208 -33
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +467 -119
- package/dist/server/rendering.mjs +467 -117
- package/dist/server/routing.mjs +301 -50
- package/dist/server/server.mjs +275 -83
- package/dist/server/theme-bridge.mjs +57 -23
- package/dist/server/theme.mjs +11 -9
- package/dist/styles/index.css +28 -2
- package/package.json +1 -1
|
@@ -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-BINEO6J9.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
|
|
@@ -118,10 +118,14 @@ function buildDiscountAvailabilityRequestPlan(options) {
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
function discountAvailabilityStateFromResponse(response) {
|
|
122
|
-
if (!discountAvailabilityHasDiscounts(response)) return {
|
|
121
|
+
function discountAvailabilityStateFromResponse(requestKey, response) {
|
|
122
|
+
if (!discountAvailabilityHasDiscounts(response)) return {
|
|
123
|
+
tag: "unavailable",
|
|
124
|
+
requestKey
|
|
125
|
+
};
|
|
123
126
|
return {
|
|
124
127
|
tag: "available",
|
|
128
|
+
requestKey,
|
|
125
129
|
manualCodeEntryAllowed: discountAvailabilityAllowsManualEntry(response),
|
|
126
130
|
autoAppliedDiscount: getAutoAppliedDiscountPreview(response)
|
|
127
131
|
};
|
|
@@ -131,10 +135,13 @@ function discountCodeUiReducer(state, event) {
|
|
|
131
135
|
case "availability-disabled": return initialDiscountCodeUiState;
|
|
132
136
|
case "availability-loading": return {
|
|
133
137
|
...state,
|
|
134
|
-
availability: {
|
|
138
|
+
availability: {
|
|
139
|
+
tag: "loading",
|
|
140
|
+
previous: state.availability.tag === "available" || state.availability.tag === "unavailable" ? state.availability : state.availability.tag === "loading" ? state.availability.previous : null
|
|
141
|
+
}
|
|
135
142
|
};
|
|
136
143
|
case "availability-loaded": {
|
|
137
|
-
const availability = discountAvailabilityStateFromResponse(event.response);
|
|
144
|
+
const availability = discountAvailabilityStateFromResponse(event.requestKey, event.response);
|
|
138
145
|
if (availability.tag !== "available" || !availability.manualCodeEntryAllowed) return {
|
|
139
146
|
...state,
|
|
140
147
|
discountUiOpen: false,
|
|
@@ -150,7 +157,10 @@ function discountCodeUiReducer(state, event) {
|
|
|
150
157
|
...state,
|
|
151
158
|
discountUiOpen: false,
|
|
152
159
|
discountCode: "",
|
|
153
|
-
availability: {
|
|
160
|
+
availability: {
|
|
161
|
+
tag: "error",
|
|
162
|
+
requestKey: event.requestKey
|
|
163
|
+
}
|
|
154
164
|
};
|
|
155
165
|
case "discount-code-changed": return {
|
|
156
166
|
...state,
|
|
@@ -186,11 +196,15 @@ function useDiscountCodeUi(options) {
|
|
|
186
196
|
if (cancelled) return;
|
|
187
197
|
dispatch({
|
|
188
198
|
type: "availability-loaded",
|
|
199
|
+
requestKey: requestPlan.key,
|
|
189
200
|
response: res
|
|
190
201
|
});
|
|
191
202
|
} catch {
|
|
192
203
|
if (cancelled) return;
|
|
193
|
-
dispatch({
|
|
204
|
+
dispatch({
|
|
205
|
+
type: "availability-failed",
|
|
206
|
+
requestKey: requestPlan.key
|
|
207
|
+
});
|
|
194
208
|
}
|
|
195
209
|
}
|
|
196
210
|
checkDiscountAvailability();
|
|
@@ -199,8 +213,9 @@ function useDiscountCodeUi(options) {
|
|
|
199
213
|
};
|
|
200
214
|
}, [options.api, requestPlan]);
|
|
201
215
|
const availability = state.availability;
|
|
202
|
-
const
|
|
203
|
-
const
|
|
216
|
+
const settledAvailability = availability.tag === "loading" ? availability.previous : availability.tag === "available" || availability.tag === "unavailable" ? availability : null;
|
|
217
|
+
const isAvailable = settledAvailability?.tag === "available";
|
|
218
|
+
const manualCodeEntryAllowed = isAvailable ? settledAvailability.manualCodeEntryAllowed : false;
|
|
204
219
|
return {
|
|
205
220
|
discountUiOpen: state.discountUiOpen,
|
|
206
221
|
setDiscountUiOpen: (isOpen) => dispatch({
|
|
@@ -214,8 +229,10 @@ function useDiscountCodeUi(options) {
|
|
|
214
229
|
}),
|
|
215
230
|
discountsAvailable: isAvailable,
|
|
216
231
|
manualCodeEntryAllowed,
|
|
217
|
-
autoAppliedDiscount: isAvailable ?
|
|
218
|
-
discountsAvailableLoading: availability.tag === "loading"
|
|
232
|
+
autoAppliedDiscount: isAvailable ? settledAvailability.autoAppliedDiscount : null,
|
|
233
|
+
discountsAvailableLoading: availability.tag === "loading",
|
|
234
|
+
discountAvailabilityRequestKey: requestPlan.key,
|
|
235
|
+
settledDiscountAvailabilityRequestKey: availability.tag === "error" ? availability.requestKey : settledAvailability?.requestKey ?? null
|
|
219
236
|
};
|
|
220
237
|
}
|
|
221
238
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Pt as assertNever, dt as themeButtonClassName, mn as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
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 { Pt as assertNever, dt as themeButtonClassName, mn as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-DiLiBdek.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-Ces-AgdR.mjs";
|
|
4
|
+
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-CrcbBf0h.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BINEO6J9.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-C_Bb2zwG.mjs";
|
|
11
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-PGUbDwqe.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 clearWorkflowFeedback, Mt as RichTextDocSchema, Pt as assertNever, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, dt as themeButtonClassName, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, pt as logger, u as buildProductCartItem, zt as reportWorkflowError } from "./propsDecoder-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { Ft as clearWorkflowFeedback, Mt as RichTextDocSchema, Pt as assertNever, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, dt as themeButtonClassName, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, pt as logger, u as buildProductCartItem, zt as reportWorkflowError } from "./propsDecoder-DiLiBdek.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-Ces-AgdR.mjs";
|
|
4
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BINEO6J9.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-C_Bb2zwG.mjs";
|
|
11
|
+
import { n as useCommerceCart } from "./shop-commerce-store-PGUbDwqe.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-DiLiBdek.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 { Pt as assertNever } from "./propsDecoder-
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
3
|
+
import { Pt as assertNever } from "./propsDecoder-DiLiBdek.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-Ces-AgdR.mjs";
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-BINEO6J9.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 { A as SEMANTIC_SPACING_VALUES, G as normalizeOptionalId, H as getEventRuntimeFiltersKey, M as resolveSpacing, Pt as assertNever, U as normalizeCsvIds, W as normalizeCsvString, ct as isCssColorLiteral, dt as themeButtonClassName, ft as normalizeCardRole, j as isSemanticSpacing, lt as resolveOnColorForThemeToken, st as boxBackgroundSchema, ut as resolveTokenOrCssColorValue } from "./propsDecoder-
|
|
3
|
+
import { A as SEMANTIC_SPACING_VALUES, G as normalizeOptionalId, H as getEventRuntimeFiltersKey, M as resolveSpacing, Pt as assertNever, U as normalizeCsvIds, W as normalizeCsvString, ct as isCssColorLiteral, dt as themeButtonClassName, ft as normalizeCardRole, j as isSemanticSpacing, lt as resolveOnColorForThemeToken, st as boxBackgroundSchema, ut as resolveTokenOrCssColorValue } from "./propsDecoder-DiLiBdek.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-CbTlAsmt.mjs";
|
|
6
|
+
import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-BXyNeNhB.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-Ces-AgdR.mjs";
|
|
8
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-B-wpijzL.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
|
|
@@ -740,7 +740,7 @@ function createIcon(displayName, children) {
|
|
|
740
740
|
}
|
|
741
741
|
createIcon("ArrowDownIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M12 5v14" }), /* @__PURE__ */ jsx("path", { d: "m6 13 6 6 6-6" })] }));
|
|
742
742
|
createIcon("ArrowLeftIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M19 12H5" }), /* @__PURE__ */ jsx("path", { d: "m11 6-6 6 6 6" })] }));
|
|
743
|
-
|
|
743
|
+
createIcon("ArrowRightIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("path", { d: "M5 12h14" }), /* @__PURE__ */ jsx("path", { d: "m13 6 6 6-6 6" })] }));
|
|
744
744
|
createIcon("AwardIcon", /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("circle", {
|
|
745
745
|
cx: "12",
|
|
746
746
|
cy: "8",
|
|
@@ -1100,12 +1100,12 @@ const EventCompactRow = ({ event, buttonVariant = "primary", buttonText }) => {
|
|
|
1100
1100
|
}), cta.hidden ? /* @__PURE__ */ jsx("span", {
|
|
1101
1101
|
className: "event-compact-row-status",
|
|
1102
1102
|
children: cta.label
|
|
1103
|
-
}) : /* @__PURE__ */
|
|
1103
|
+
}) : /* @__PURE__ */ jsx("a", {
|
|
1104
1104
|
href: cta.href,
|
|
1105
1105
|
target: cta.external ? "_blank" : void 0,
|
|
1106
1106
|
rel: cta.external ? "noopener noreferrer" : void 0,
|
|
1107
1107
|
className: `${buttonClass} event-compact-row-cta`,
|
|
1108
|
-
children:
|
|
1108
|
+
children: /* @__PURE__ */ jsx("span", { children: cta.label })
|
|
1109
1109
|
})]
|
|
1110
1110
|
})]
|
|
1111
1111
|
})]
|
|
@@ -1312,6 +1312,7 @@ function useEventPagination({ siteId: _siteId, initialEvents = [], fetchInitialO
|
|
|
1312
1312
|
const eventSurface = filters?.eventSurface;
|
|
1313
1313
|
const eventPresets = normalizeCsvString(filters?.eventPresets);
|
|
1314
1314
|
const scheduleScope = filters?.scheduleScope;
|
|
1315
|
+
const seriesIds = filters?.seriesIds;
|
|
1315
1316
|
const eventsRef = useRef(events);
|
|
1316
1317
|
const loadingRef = useRef(loading);
|
|
1317
1318
|
const hasMoreRef = useRef(hasMore);
|
|
@@ -1339,6 +1340,7 @@ function useEventPagination({ siteId: _siteId, initialEvents = [], fetchInitialO
|
|
|
1339
1340
|
const currentEvents = eventsRef.current;
|
|
1340
1341
|
const lastEvent = options.reset ? void 0 : currentEvents[currentEvents.length - 1];
|
|
1341
1342
|
const newEvents = await getPublicEvents({
|
|
1343
|
+
seriesIds,
|
|
1342
1344
|
afterStartsAt: lastEvent ? lastEvent.startsAt : void 0,
|
|
1343
1345
|
afterId: lastEvent ? lastEvent.occurrenceId : void 0,
|
|
1344
1346
|
limit: pageSize,
|
|
@@ -1377,6 +1379,7 @@ function useEventPagination({ siteId: _siteId, initialEvents = [], fetchInitialO
|
|
|
1377
1379
|
eventSurface,
|
|
1378
1380
|
eventPresets,
|
|
1379
1381
|
scheduleScope,
|
|
1382
|
+
seriesIds,
|
|
1380
1383
|
normalizedCategoryIds,
|
|
1381
1384
|
normalizedStaffMemberId,
|
|
1382
1385
|
normalizedVenueId
|
|
@@ -1386,7 +1389,7 @@ function useEventPagination({ siteId: _siteId, initialEvents = [], fetchInitialO
|
|
|
1386
1389
|
}, [fetchPage]);
|
|
1387
1390
|
const initialFetchAttemptKeyRef = useRef(null);
|
|
1388
1391
|
useEffect(() => {
|
|
1389
|
-
if (!fetchInitialOnMount) return;
|
|
1392
|
+
if (!fetchInitialOnMount || seriesIds === "") return;
|
|
1390
1393
|
if (!filtersMatchInitial) return;
|
|
1391
1394
|
if (initialEventsRef.current.length > 0) return;
|
|
1392
1395
|
if (eventsRef.current.length > 0) return;
|
|
@@ -1400,7 +1403,8 @@ function useEventPagination({ siteId: _siteId, initialEvents = [], fetchInitialO
|
|
|
1400
1403
|
fetchPage,
|
|
1401
1404
|
filtersKey,
|
|
1402
1405
|
filtersMatchInitial,
|
|
1403
|
-
stage
|
|
1406
|
+
stage,
|
|
1407
|
+
seriesIds
|
|
1404
1408
|
]);
|
|
1405
1409
|
const prevFiltersMatchInitialRef = useRef(filtersMatchInitial);
|
|
1406
1410
|
const prevInitialEventsKeyRef = useRef(initialEventsKey);
|
|
@@ -1524,7 +1528,7 @@ function getEventFiltersError(state) {
|
|
|
1524
1528
|
* const events = await api.getPublicEvents(params);
|
|
1525
1529
|
* ```
|
|
1526
1530
|
*/
|
|
1527
|
-
function useEventFilters({ showCategoryFilter = "auto", showVenueFilter = false, showStaffFilter = false, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope } = {}) {
|
|
1531
|
+
function useEventFilters({ showCategoryFilter = "auto", showVenueFilter = false, showStaffFilter = false, preFilterSeriesIds, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope } = {}) {
|
|
1528
1532
|
const api = useBlockApi();
|
|
1529
1533
|
const [loadState, dispatchLoadState] = useReducer(eventFiltersLoadReducer, void 0, createInitialEventFiltersLoadState);
|
|
1530
1534
|
const filters = getEventFiltersData(loadState);
|
|
@@ -1673,6 +1677,7 @@ function useEventFilters({ showCategoryFilter = "auto", showVenueFilter = false,
|
|
|
1673
1677
|
setSelectedVenueId("all");
|
|
1674
1678
|
}, []),
|
|
1675
1679
|
getFilterParams: useCallback(() => {
|
|
1680
|
+
if (preFilterSeriesIds != null) return { seriesIds: preFilterSeriesIds };
|
|
1676
1681
|
const params = {};
|
|
1677
1682
|
if (fixedEventSurface) params.eventSurface = fixedEventSurface;
|
|
1678
1683
|
if (fixedEventPresets) params.eventPresets = fixedEventPresets;
|
|
@@ -1686,6 +1691,7 @@ function useEventFilters({ showCategoryFilter = "auto", showVenueFilter = false,
|
|
|
1686
1691
|
params.staffMemberId = fixedStaffMemberId ?? (selectedStaffMemberId !== "all" ? selectedStaffMemberId : void 0);
|
|
1687
1692
|
return params;
|
|
1688
1693
|
}, [
|
|
1694
|
+
preFilterSeriesIds,
|
|
1689
1695
|
allowedCategoryIds,
|
|
1690
1696
|
allowedCategorySet,
|
|
1691
1697
|
fixedEventPresets,
|
|
@@ -6821,13 +6821,6 @@ const API_ENDPOINTS = {
|
|
|
6821
6821
|
auth: "service",
|
|
6822
6822
|
responseKind: "json"
|
|
6823
6823
|
},
|
|
6824
|
-
sdkCatalogTheme: {
|
|
6825
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6826
|
-
method: "GET",
|
|
6827
|
-
errors: ["server:internal_error"],
|
|
6828
|
-
auth: "service",
|
|
6829
|
-
responseKind: "json"
|
|
6830
|
-
},
|
|
6831
6824
|
sdkCatalogBlocks: {
|
|
6832
6825
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6833
6826
|
method: "GET",
|
|
@@ -6888,12 +6881,6 @@ const API_ENDPOINTS = {
|
|
|
6888
6881
|
auth: "service",
|
|
6889
6882
|
responseKind: "json"
|
|
6890
6883
|
},
|
|
6891
|
-
sdkPullTheme: {
|
|
6892
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6893
|
-
method: "GET",
|
|
6894
|
-
auth: "service",
|
|
6895
|
-
responseKind: "json"
|
|
6896
|
-
},
|
|
6897
6884
|
sdkPullFooter: {
|
|
6898
6885
|
path: "/sdk/{siteId}/pull/footer",
|
|
6899
6886
|
method: "GET",
|
|
@@ -7000,30 +6987,6 @@ const API_ENDPOINTS = {
|
|
|
7000
6987
|
auth: "service",
|
|
7001
6988
|
responseKind: "json"
|
|
7002
6989
|
},
|
|
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
6990
|
sdkUpsertFooter: {
|
|
7028
6991
|
path: "/sdk/{siteId}/footer",
|
|
7029
6992
|
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-CC-EPkyQ.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-DH1n4ytY.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-DhmuRhIX.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-DhmuRhIX.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -26,19 +26,15 @@
|
|
|
26
26
|
|
|
27
27
|
/* Editor block highlighting */
|
|
28
28
|
[data-editor-block-highlight="true"] {
|
|
29
|
-
outline:
|
|
30
|
-
outline-offset: -
|
|
31
|
-
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
|
|
32
|
-
transition: outline-offset 0.2s ease, box-shadow 0.2s ease;
|
|
29
|
+
outline: 1px solid var(--ring);
|
|
30
|
+
outline-offset: -1px;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
/* Editor field highlighting */
|
|
36
34
|
[data-editor-field-highlight="true"] {
|
|
37
|
-
outline:
|
|
38
|
-
outline-offset: -
|
|
39
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
|
|
35
|
+
outline: 1px solid var(--ring);
|
|
36
|
+
outline-offset: -1px;
|
|
40
37
|
border-radius: 0.5rem;
|
|
41
|
-
transition: outline-offset 0.2s ease, box-shadow 0.2s ease;
|
|
42
38
|
}
|
|
43
39
|
|
|
44
40
|
/*
|
|
@@ -6851,13 +6851,6 @@ const API_ENDPOINTS = {
|
|
|
6851
6851
|
auth: "service",
|
|
6852
6852
|
responseKind: "json"
|
|
6853
6853
|
},
|
|
6854
|
-
sdkCatalogTheme: {
|
|
6855
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6856
|
-
method: "GET",
|
|
6857
|
-
errors: ["server:internal_error"],
|
|
6858
|
-
auth: "service",
|
|
6859
|
-
responseKind: "json"
|
|
6860
|
-
},
|
|
6861
6854
|
sdkCatalogBlocks: {
|
|
6862
6855
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6863
6856
|
method: "GET",
|
|
@@ -6918,12 +6911,6 @@ const API_ENDPOINTS = {
|
|
|
6918
6911
|
auth: "service",
|
|
6919
6912
|
responseKind: "json"
|
|
6920
6913
|
},
|
|
6921
|
-
sdkPullTheme: {
|
|
6922
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6923
|
-
method: "GET",
|
|
6924
|
-
auth: "service",
|
|
6925
|
-
responseKind: "json"
|
|
6926
|
-
},
|
|
6927
6914
|
sdkPullFooter: {
|
|
6928
6915
|
path: "/sdk/{siteId}/pull/footer",
|
|
6929
6916
|
method: "GET",
|
|
@@ -7030,30 +7017,6 @@ const API_ENDPOINTS = {
|
|
|
7030
7017
|
auth: "service",
|
|
7031
7018
|
responseKind: "json"
|
|
7032
7019
|
},
|
|
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
7020
|
sdkUpsertFooter: {
|
|
7058
7021
|
path: "/sdk/{siteId}/footer",
|
|
7059
7022
|
method: "POST",
|
|
@@ -6822,13 +6822,6 @@ const API_ENDPOINTS = {
|
|
|
6822
6822
|
auth: "service",
|
|
6823
6823
|
responseKind: "json"
|
|
6824
6824
|
},
|
|
6825
|
-
sdkCatalogTheme: {
|
|
6826
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6827
|
-
method: "GET",
|
|
6828
|
-
errors: ["server:internal_error"],
|
|
6829
|
-
auth: "service",
|
|
6830
|
-
responseKind: "json"
|
|
6831
|
-
},
|
|
6832
6825
|
sdkCatalogBlocks: {
|
|
6833
6826
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6834
6827
|
method: "GET",
|
|
@@ -6889,12 +6882,6 @@ const API_ENDPOINTS = {
|
|
|
6889
6882
|
auth: "service",
|
|
6890
6883
|
responseKind: "json"
|
|
6891
6884
|
},
|
|
6892
|
-
sdkPullTheme: {
|
|
6893
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6894
|
-
method: "GET",
|
|
6895
|
-
auth: "service",
|
|
6896
|
-
responseKind: "json"
|
|
6897
|
-
},
|
|
6898
6885
|
sdkPullFooter: {
|
|
6899
6886
|
path: "/sdk/{siteId}/pull/footer",
|
|
6900
6887
|
method: "GET",
|
|
@@ -7001,30 +6988,6 @@ const API_ENDPOINTS = {
|
|
|
7001
6988
|
auth: "service",
|
|
7002
6989
|
responseKind: "json"
|
|
7003
6990
|
},
|
|
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
6991
|
sdkUpsertFooter: {
|
|
7029
6992
|
path: "/sdk/{siteId}/footer",
|
|
7030
6993
|
method: "POST",
|
|
@@ -6793,13 +6793,6 @@ const API_ENDPOINTS = {
|
|
|
6793
6793
|
auth: "service",
|
|
6794
6794
|
responseKind: "json"
|
|
6795
6795
|
},
|
|
6796
|
-
sdkCatalogTheme: {
|
|
6797
|
-
path: "/sdk/{siteId}/catalog/theme",
|
|
6798
|
-
method: "GET",
|
|
6799
|
-
errors: ["server:internal_error"],
|
|
6800
|
-
auth: "service",
|
|
6801
|
-
responseKind: "json"
|
|
6802
|
-
},
|
|
6803
6796
|
sdkCatalogBlocks: {
|
|
6804
6797
|
path: "/sdk/{siteId}/catalog/blocks",
|
|
6805
6798
|
method: "GET",
|
|
@@ -6860,12 +6853,6 @@ const API_ENDPOINTS = {
|
|
|
6860
6853
|
auth: "service",
|
|
6861
6854
|
responseKind: "json"
|
|
6862
6855
|
},
|
|
6863
|
-
sdkPullTheme: {
|
|
6864
|
-
path: "/sdk/{siteId}/pull/theme",
|
|
6865
|
-
method: "GET",
|
|
6866
|
-
auth: "service",
|
|
6867
|
-
responseKind: "json"
|
|
6868
|
-
},
|
|
6869
6856
|
sdkPullFooter: {
|
|
6870
6857
|
path: "/sdk/{siteId}/pull/footer",
|
|
6871
6858
|
method: "GET",
|
|
@@ -6972,30 +6959,6 @@ const API_ENDPOINTS = {
|
|
|
6972
6959
|
auth: "service",
|
|
6973
6960
|
responseKind: "json"
|
|
6974
6961
|
},
|
|
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
6962
|
sdkUpsertFooter: {
|
|
7000
6963
|
path: "/sdk/{siteId}/footer",
|
|
7001
6964
|
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-CC-EPkyQ.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-DH1n4ytY.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-DunIzY0K.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
|