@riverbankcms/sdk 0.141.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-Q-fy9GYw.mjs → PreviewEditorSidebar-Dk6Dt11f.mjs} +24 -15
- package/dist/{PreviewEditorUI-LYGzgk85.mjs → PreviewEditorUI-D6EQTsCA.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CN0ewic5.mjs → PreviewQueryProvider-CC-EPkyQ.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CoPYI5Jq.mjs → SdkPreviewModeRuntime-DH1n4ytY.mjs} +16 -11
- package/dist/{SiteChromeCustomizeContext-D8LePX8x.mjs → SiteChromeCustomizeContext-DunIzY0K.mjs} +117 -21
- 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 +0 -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/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/nodes/events/shared/eventCollectionContract.d.ts +56 -0
- package/dist/_dts/commerce/src/purchase/stripeCommissionMetadata.d.ts +1 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3099 -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/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-CnJeq3_r.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-DdT6uzl9.mjs → DiscountCodeDisclosure-BINEO6J9.mjs} +1 -1
- package/dist/client/{EventCombined.client-Cp28uYuM.mjs → EventCombined.client-srxNQ6sZ.mjs} +5 -5
- package/dist/client/{EventListing.client-CD6AJsMr.mjs → EventListing.client-DbyVyGkX.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DBsAi9-e.mjs → LeafletStaticMap-B-wpijzL.mjs} +1 -1
- package/dist/client/{accordion-6dwbOKYR.mjs → accordion-B-iUXU7n.mjs} +1 -1
- package/dist/client/{bookingForm-CZE9_qPQ.mjs → bookingForm-BXYPke5q.mjs} +5 -5
- package/dist/client/bookings.mjs +19 -9
- package/dist/client/{carousel-7VHGQARz.mjs → carousel-Cr4aj63H.mjs} +1 -1
- package/dist/client/{cart-Qg_mvQhh.mjs → cart-DibP9WWa.mjs} +3 -3
- package/dist/client/{checkout-D84rpgdr.mjs → checkout-CrSBVnL8.mjs} +3 -3
- package/dist/client/client.mjs +42 -54
- package/dist/client/{context-Ctp3T0Wr.mjs → context-Ces-AgdR.mjs} +1 -1
- package/dist/client/{dates-DJKFcI_N.mjs → dates-BXyNeNhB.mjs} +2 -2
- package/dist/client/{eventCalendar-CK31z3vs.mjs → eventCalendar-HwpPeqrH.mjs} +7 -7
- package/dist/client/{eventCombined-DiXd-ewn.mjs → eventCombined-BpFUkuEI.mjs} +3 -3
- package/dist/client/{eventDetails-CTRgt2DK.mjs → eventDetails-DK_agiWy.mjs} +4 -4
- package/dist/client/{eventListing-Dy9vi_j_.mjs → eventListing-DhzHqP1c.mjs} +3 -3
- package/dist/client/{eventRegistration-CnalYMr2.mjs → eventRegistration-BdQ_Dn2d.mjs} +6 -7
- package/dist/client/{form-eUiMveTT.mjs → form-B1frcuzy.mjs} +2 -2
- package/dist/client/{headerSection-Dy9kQpB1.mjs → headerSection-CT5z460s.mjs} +2 -2
- package/dist/client/hooks.mjs +27 -13
- package/dist/client/{locationMap-DalCmWU0.mjs → locationMap-CIQXB9i2.mjs} +2 -2
- package/dist/client/{newsletterForm-SDDPvhS0.mjs → newsletterForm-BYNYZSes.mjs} +2 -2
- package/dist/client/{pricing-OcMz4SnX.mjs → pricing-CbTlAsmt.mjs} +1 -1
- package/dist/client/{productDetail-BQrgHElM.mjs → productDetail-CR7Z3yjS.mjs} +3 -3
- package/dist/client/{productList-OnPn_UJj.mjs → productList-DXj00vzR.mjs} +3 -3
- package/dist/client/{propsDecoder-zBdsnS-N.mjs → propsDecoder-DiLiBdek.mjs} +19 -8
- package/dist/client/rendering/client.mjs +30 -11
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +85 -57
- package/dist/client/{scrollToBlock-BNM4Ob2Y.mjs → scrollToBlock-CrcbBf0h.mjs} +1 -1
- package/dist/client/{shop-Bv1fPTwQ.mjs → shop-DgqiB_1b.mjs} +6 -6
- package/dist/client/{shop-commerce-D4KNGaW8.mjs → shop-commerce-D_J781in.mjs} +5 -5
- package/dist/client/{shop-commerce-store-2N5EV0Rc.mjs → shop-commerce-store-PGUbDwqe.mjs} +1 -1
- package/dist/client/{shopShared-DvJGdHTV.mjs → shopShared-C_Bb2zwG.mjs} +3 -3
- package/dist/client/{useEventFilters-BBBvGDHQ.mjs → useEventFilters-CM17Xpr1.mjs} +5 -5
- package/dist/preview-next/before-render.mjs +0 -37
- package/dist/preview-next/client/runtime.mjs +4 -4
- 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-Defnbfzw.mjs → sdk-runtime-DhmuRhIX.mjs} +2 -2
- package/dist/{separator-CZXO3Sb0.mjs → separator-C3hlg9LH.mjs} +1 -1
- package/dist/server/components.mjs +68 -49
- package/dist/server/config-validation.mjs +31 -14
- package/dist/server/config.mjs +31 -14
- package/dist/server/data.mjs +27 -13
- package/dist/server/index.mjs +1 -38
- package/dist/server/next.mjs +28 -51
- package/dist/server/page-converter.mjs +19 -8
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +68 -51
- package/dist/server/rendering.mjs +68 -49
- package/dist/server/routing.mjs +40 -17
- package/dist/server/server.mjs +28 -51
- package/dist/server/theme-bridge.mjs +10 -8
- package/dist/server/theme.mjs +10 -8
- package/package.json +1 -1
|
@@ -75,23 +75,23 @@ function isSafeHttpsUrl(value) {
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
77
77
|
const defaultEnhancerLoaders = {
|
|
78
|
-
accordion: () => import("../accordion-
|
|
79
|
-
headerSection: () => import("../headerSection-
|
|
80
|
-
carousel: () => import("../carousel-
|
|
81
|
-
form: () => import("../form-
|
|
82
|
-
"booking-form": () => import("../bookingForm-
|
|
83
|
-
"event-registration": () => import("../eventRegistration-
|
|
84
|
-
"event-details": () => import("../eventDetails-
|
|
85
|
-
"location-map": () => import("../locationMap-
|
|
86
|
-
"event-listing": () => import("../eventListing-
|
|
87
|
-
"event-calendar": () => import("../eventCalendar-
|
|
88
|
-
"event-combined": () => import("../eventCombined-
|
|
89
|
-
"product-list": () => import("../productList-
|
|
90
|
-
"product-detail": () => import("../productDetail-
|
|
91
|
-
"cart": () => import("../cart-
|
|
92
|
-
"checkout": () => import("../checkout-
|
|
93
|
-
shop: () => import("../shop-
|
|
94
|
-
"newsletter-form": () => import("../newsletterForm-
|
|
78
|
+
accordion: () => import("../accordion-B-iUXU7n.mjs"),
|
|
79
|
+
headerSection: () => import("../headerSection-CT5z460s.mjs"),
|
|
80
|
+
carousel: () => import("../carousel-Cr4aj63H.mjs"),
|
|
81
|
+
form: () => import("../form-B1frcuzy.mjs"),
|
|
82
|
+
"booking-form": () => import("../bookingForm-BXYPke5q.mjs"),
|
|
83
|
+
"event-registration": () => import("../eventRegistration-BdQ_Dn2d.mjs"),
|
|
84
|
+
"event-details": () => import("../eventDetails-DK_agiWy.mjs"),
|
|
85
|
+
"location-map": () => import("../locationMap-CIQXB9i2.mjs"),
|
|
86
|
+
"event-listing": () => import("../eventListing-DhzHqP1c.mjs"),
|
|
87
|
+
"event-calendar": () => import("../eventCalendar-HwpPeqrH.mjs"),
|
|
88
|
+
"event-combined": () => import("../eventCombined-BpFUkuEI.mjs"),
|
|
89
|
+
"product-list": () => import("../productList-DXj00vzR.mjs"),
|
|
90
|
+
"product-detail": () => import("../productDetail-CR7Z3yjS.mjs"),
|
|
91
|
+
"cart": () => import("../cart-DibP9WWa.mjs"),
|
|
92
|
+
"checkout": () => import("../checkout-CrSBVnL8.mjs"),
|
|
93
|
+
shop: () => import("../shop-DgqiB_1b.mjs"),
|
|
94
|
+
"newsletter-form": () => import("../newsletterForm-BYNYZSes.mjs")
|
|
95
95
|
};
|
|
96
96
|
const DEFAULT_MAX_RETRIES = 2;
|
|
97
97
|
const RETRY_DELAYS_MS = [250, 1e3];
|
|
@@ -3571,7 +3571,10 @@ var init_contentMediaSnapshotAudit = __esmMin((() => {
|
|
|
3571
3571
|
init_contentMediaAudit();
|
|
3572
3572
|
init_contentMediaAuditFieldAdapter();
|
|
3573
3573
|
init_identifiers();
|
|
3574
|
-
}))
|
|
3574
|
+
}));
|
|
3575
|
+
//#endregion
|
|
3576
|
+
//#region ../media-core/src/index.ts
|
|
3577
|
+
var init_src$1 = __esmMin((() => {
|
|
3575
3578
|
init_types$15();
|
|
3576
3579
|
init_fileDomain();
|
|
3577
3580
|
init_fileStorage();
|
|
@@ -3622,6 +3625,56 @@ var init_contentMediaSnapshotAudit = __esmMin((() => {
|
|
|
3622
3625
|
init_contentMediaAudit();
|
|
3623
3626
|
init_contentMediaAuditFieldAdapter();
|
|
3624
3627
|
init_contentMediaSnapshotAudit();
|
|
3628
|
+
}));
|
|
3629
|
+
//#endregion
|
|
3630
|
+
//#region ../theme-core/src/footer/mode.ts
|
|
3631
|
+
/** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
|
|
3632
|
+
function resolveSdkFooterMode(config) {
|
|
3633
|
+
const parsed = z$1.object({ layout: z$1.object({ footerMode: footerModeSchema.optional() }).optional() }).safeParse(config);
|
|
3634
|
+
return parsed.success ? parsed.data.layout?.footerMode ?? "default" : "default";
|
|
3635
|
+
}
|
|
3636
|
+
/**
|
|
3637
|
+
* Resolve what to render for the footer given the current mode and whether the
|
|
3638
|
+
* site is SDK-managed.
|
|
3639
|
+
*
|
|
3640
|
+
* Backwards compatible: missing/undefined mode is treated as 'default'.
|
|
3641
|
+
*/
|
|
3642
|
+
function resolveFooterRenderPlan(params) {
|
|
3643
|
+
if (!params.isSdkSite) return {
|
|
3644
|
+
mode: "default",
|
|
3645
|
+
renderDefaultFooter: true,
|
|
3646
|
+
renderFooterBlocks: false
|
|
3647
|
+
};
|
|
3648
|
+
switch (params.mode ?? "default") {
|
|
3649
|
+
case "blocks": return {
|
|
3650
|
+
mode: "blocks",
|
|
3651
|
+
renderDefaultFooter: false,
|
|
3652
|
+
renderFooterBlocks: true
|
|
3653
|
+
};
|
|
3654
|
+
case "default+blocks": return {
|
|
3655
|
+
mode: "default+blocks",
|
|
3656
|
+
renderDefaultFooter: true,
|
|
3657
|
+
renderFooterBlocks: true
|
|
3658
|
+
};
|
|
3659
|
+
case "none": return {
|
|
3660
|
+
mode: "none",
|
|
3661
|
+
renderDefaultFooter: false,
|
|
3662
|
+
renderFooterBlocks: false
|
|
3663
|
+
};
|
|
3664
|
+
default: return {
|
|
3665
|
+
mode: "default",
|
|
3666
|
+
renderDefaultFooter: true,
|
|
3667
|
+
renderFooterBlocks: false
|
|
3668
|
+
};
|
|
3669
|
+
}
|
|
3670
|
+
}
|
|
3671
|
+
var footerModeSchema, init_mode = __esmMin((() => {
|
|
3672
|
+
footerModeSchema = z$1.enum([
|
|
3673
|
+
"default",
|
|
3674
|
+
"blocks",
|
|
3675
|
+
"default+blocks",
|
|
3676
|
+
"none"
|
|
3677
|
+
]);
|
|
3625
3678
|
})), hotspotSchema, rotationSchema, rectSchema, aspectCropSchema, transformSchema, mediaPosterSchema, mediaBaseSchema, mediaIdentifierSchema, imageMediaSchema, videoMediaSchema, audioMediaSchema, documentMediaSchema, spreadsheetMediaSchema, archiveMediaSchema, mediaSchema, persistableMediaBaseSchema;
|
|
3626
3679
|
var init_media$2 = __esmMin((() => {
|
|
3627
3680
|
hotspotSchema = z$1.object({
|
|
@@ -12487,8 +12540,9 @@ var init_boxBackgroundSchema = __esmMin((() => {
|
|
|
12487
12540
|
showVideoOnMobile: z$1.boolean().nullable().optional()
|
|
12488
12541
|
})
|
|
12489
12542
|
]);
|
|
12490
|
-
})), axesSchema, typographyStyleSchema, bodyTypographyStyleSchema, headingSizeSchema, headingTypographyOverridesSchema, headingTypographyStyleSchema, proseLinkUnderlineStyleSchema, proseLinkUnderlineThicknessSchema, proseLinkUnderlineOffsetSchema, proseLinkStyleSchema, semanticSpacingSchema, boxRoundedSchema, noHeadingDecorationSchema, visibleHeadingDecorationSchema, headingDecorationSchema, headingDecorationOverrideSchema, accordionIconTreatmentSchema, sectionStylesOverrideSchema, containerStylesOverrideSchema, cardBorderOverrideSchema, cardStylesOverrideSchema, blockStyleOverridesSchema, blockThemeOverrideSchema, typographyScaleSchema, eyebrowTypographyStyleSchema, typographySchema, spaceSchema, corners, shadow, border, motion, inputStyle, headerPositioningValues, headerPositioning, headerNavStyle, navFontWeight, headerMaxWidth, headerBorderSchema, logoStyleSchema, headerLogoTextSchema, dropdownStyleSchema, headerCtaGapSchema, headerCtaTreatmentSchema, navContainerSchema, headerBackgroundSchema, headerSchema, footerVariant, footerMaxWidth,
|
|
12543
|
+
})), axesSchema, typographyStyleSchema, bodyTypographyStyleSchema, headingSizeSchema, headingTypographyOverridesSchema, headingTypographyStyleSchema, proseLinkUnderlineStyleSchema, proseLinkUnderlineThicknessSchema, proseLinkUnderlineOffsetSchema, proseLinkStyleSchema, semanticSpacingSchema, boxRoundedSchema, noHeadingDecorationSchema, visibleHeadingDecorationSchema, headingDecorationSchema, headingDecorationOverrideSchema, accordionIconTreatmentSchema, sectionStylesOverrideSchema, containerStylesOverrideSchema, cardBorderOverrideSchema, cardStylesOverrideSchema, blockStyleOverridesSchema, blockThemeOverrideSchema, typographyScaleSchema, eyebrowTypographyStyleSchema, typographySchema, spaceSchema, corners, shadow, border, motion, inputStyle, headerPositioningValues, headerPositioning, headerNavStyle, navFontWeight, headerMaxWidth, headerBorderSchema, logoStyleSchema, headerLogoTextSchema, dropdownStyleSchema, headerCtaGapSchema, headerCtaTreatmentSchema, navContainerSchema, headerBackgroundSchema, headerSchema, footerVariant, footerMaxWidth, footerNavLayoutMode, footerNavLayoutAlign, footerSpacing, footerLogoPlacement, footerLogoSize, footerLogoMaxHeight, footerBottomTextLinkStyleSchema, footerBottomBarSchema, footerNavLayoutSchema, footerLogoSchema, footerSchema, containerPaddingPresetSchema, layoutSchema, heroTypographySizeSchema, heroTypographyLineHeightSchema, heroResponsiveTypographySchema, heroTypographySchema, heroSchema, bodyTextIntroTypographySizeSchema, bodyTextSchema, testimonialQuoteTreatmentSchema, themeSchema;
|
|
12491
12544
|
var init_schema$2 = __esmMin((() => {
|
|
12545
|
+
init_mode();
|
|
12492
12546
|
init_media$2();
|
|
12493
12547
|
init_schema$3();
|
|
12494
12548
|
init_buttons();
|
|
@@ -12987,12 +13041,6 @@ var init_schema$2 = __esmMin((() => {
|
|
|
12987
13041
|
"split"
|
|
12988
13042
|
]);
|
|
12989
13043
|
footerMaxWidth = z$1.enum(["container", "full"]);
|
|
12990
|
-
footerMode = z$1.enum([
|
|
12991
|
-
"default",
|
|
12992
|
-
"blocks",
|
|
12993
|
-
"default+blocks",
|
|
12994
|
-
"none"
|
|
12995
|
-
]);
|
|
12996
13044
|
footerNavLayoutMode = z$1.enum([
|
|
12997
13045
|
"stack",
|
|
12998
13046
|
"inline",
|
|
@@ -13081,9 +13129,9 @@ var init_schema$2 = __esmMin((() => {
|
|
|
13081
13129
|
/**
|
|
13082
13130
|
* SDK-only footer rendering mode.
|
|
13083
13131
|
*
|
|
13084
|
-
*
|
|
13132
|
+
* Historical persisted field; SDK rendering mode now lives in layout.footerMode.
|
|
13085
13133
|
*/
|
|
13086
|
-
mode:
|
|
13134
|
+
mode: footerModeSchema.optional(),
|
|
13087
13135
|
variant: footerVariant,
|
|
13088
13136
|
maxWidth: footerMaxWidth,
|
|
13089
13137
|
showLogoText: z$1.boolean().optional(),
|
|
@@ -13698,6 +13746,15 @@ var init_schemas = __esmMin((() => {
|
|
|
13698
13746
|
timeZone: z$1.string(),
|
|
13699
13747
|
pricing: publicEventPricingSchema,
|
|
13700
13748
|
paymentTerms: blockBookingPaymentTermsSchema,
|
|
13749
|
+
cancellationPolicy: z$1.object({ refunds: z$1.object({
|
|
13750
|
+
mode: z$1.enum([
|
|
13751
|
+
"never",
|
|
13752
|
+
"always",
|
|
13753
|
+
"cutoff"
|
|
13754
|
+
]),
|
|
13755
|
+
cutoffHours: z$1.number(),
|
|
13756
|
+
method: z$1.enum(["original_payment_method", "site_credit"])
|
|
13757
|
+
}) }),
|
|
13701
13758
|
consent: blockBookingConsentSchema.nullable(),
|
|
13702
13759
|
accessRestriction: accessRestrictionSchema,
|
|
13703
13760
|
allowedCategoryIds: z$1.array(z$1.string()),
|
|
@@ -21482,6 +21539,10 @@ var init_headerOpeningForeground = __esmMin((() => {
|
|
|
21482
21539
|
init_colorTokenParts();
|
|
21483
21540
|
init_types$8();
|
|
21484
21541
|
}));
|
|
21542
|
+
var init_effectivePageDesign = __esmMin((() => {
|
|
21543
|
+
init_pageDesignIntent();
|
|
21544
|
+
init_siteStyleBlockPolicies();
|
|
21545
|
+
}));
|
|
21485
21546
|
function validateBlockSequence(snapshots, ctx) {
|
|
21486
21547
|
for (const issue of collectBlockSequenceIssues(snapshots)) ctx.addIssue(issue);
|
|
21487
21548
|
}
|
|
@@ -21758,6 +21819,7 @@ var init_site_styles = __esmMin((() => {
|
|
|
21758
21819
|
init_lookResolution();
|
|
21759
21820
|
init_lookOptionGroups();
|
|
21760
21821
|
init_logoBranding();
|
|
21822
|
+
init_effectivePageDesign();
|
|
21761
21823
|
init_pageDesignAuthority();
|
|
21762
21824
|
init_pageDesignEditorErrors();
|
|
21763
21825
|
init_pageDesignEditorCapabilities();
|
|
@@ -102503,7 +102565,6 @@ var init_stripeCommissionMetadata = __esmMin((() => {
|
|
|
102503
102565
|
"no_commission_plan",
|
|
102504
102566
|
"billing_evidence_invalid",
|
|
102505
102567
|
"fee_rounds_to_zero",
|
|
102506
|
-
"non_commissionable_scope",
|
|
102507
102568
|
"payment_not_stripe"
|
|
102508
102569
|
];
|
|
102509
102570
|
historicalContext = {
|
|
@@ -153475,44 +153536,10 @@ function ThemeScope$1({ theme, children, themeId = "theme-default", responsiveMo
|
|
|
153475
153536
|
//#endregion
|
|
153476
153537
|
//#region ../blocks/src/system/blocks/site-footer-runtime.ts
|
|
153477
153538
|
init_src$2();
|
|
153478
|
-
/**
|
|
153479
|
-
* Resolve what to render for the footer given the current mode and whether the
|
|
153480
|
-
* site is SDK-managed.
|
|
153481
|
-
*
|
|
153482
|
-
* Backwards compatible: missing/undefined mode is treated as 'default'.
|
|
153483
|
-
*/
|
|
153484
|
-
function resolveFooterRenderPlan(params) {
|
|
153485
|
-
if (!params.isSdkSite) return {
|
|
153486
|
-
mode: "default",
|
|
153487
|
-
renderDefaultFooter: true,
|
|
153488
|
-
renderFooterBlocks: false
|
|
153489
|
-
};
|
|
153490
|
-
switch (params.mode ?? "default") {
|
|
153491
|
-
case "blocks": return {
|
|
153492
|
-
mode: "blocks",
|
|
153493
|
-
renderDefaultFooter: false,
|
|
153494
|
-
renderFooterBlocks: true
|
|
153495
|
-
};
|
|
153496
|
-
case "default+blocks": return {
|
|
153497
|
-
mode: "default+blocks",
|
|
153498
|
-
renderDefaultFooter: true,
|
|
153499
|
-
renderFooterBlocks: true
|
|
153500
|
-
};
|
|
153501
|
-
case "none": return {
|
|
153502
|
-
mode: "none",
|
|
153503
|
-
renderDefaultFooter: false,
|
|
153504
|
-
renderFooterBlocks: false
|
|
153505
|
-
};
|
|
153506
|
-
default: return {
|
|
153507
|
-
mode: "default",
|
|
153508
|
-
renderDefaultFooter: true,
|
|
153509
|
-
renderFooterBlocks: false
|
|
153510
|
-
};
|
|
153511
|
-
}
|
|
153512
|
-
}
|
|
153513
153539
|
//#endregion
|
|
153514
153540
|
//#region ../blocks/src/rendering/server.ts
|
|
153515
153541
|
init_schema();
|
|
153542
|
+
init_mode();
|
|
153516
153543
|
//#endregion
|
|
153517
153544
|
//#region ../theme-core/src/ResponsiveScope.tsx
|
|
153518
153545
|
/**
|
|
@@ -156006,6 +156033,7 @@ init_buttons();
|
|
|
156006
156033
|
init_cards();
|
|
156007
156034
|
init_tokens();
|
|
156008
156035
|
init_gradients();
|
|
156036
|
+
init_mode();
|
|
156009
156037
|
init_richTextSchema();
|
|
156010
156038
|
init_media();
|
|
156011
156039
|
init_media$1();
|
|
@@ -156181,11 +156209,7 @@ function buildFooterRenderablePageOutline(siteData, blocks) {
|
|
|
156181
156209
|
}
|
|
156182
156210
|
//#endregion
|
|
156183
156211
|
//#region src/rendering/components/Layout.tsx
|
|
156184
|
-
|
|
156185
|
-
* Layout component with header and footer
|
|
156186
|
-
*
|
|
156187
|
-
* Renders site header and footer around content. Fetches site data if not provided.
|
|
156188
|
-
*/
|
|
156212
|
+
init_mode();
|
|
156189
156213
|
function isOverrideOnlyLayout(props) {
|
|
156190
156214
|
return props.rendering?.kind === "overrides-only";
|
|
156191
156215
|
}
|
|
@@ -156360,7 +156384,7 @@ async function Layout(props) {
|
|
|
156360
156384
|
if (footer === true) {
|
|
156361
156385
|
const footerPlan = resolveFooterRenderPlan({
|
|
156362
156386
|
isSdkSite: Boolean(site.is_sdk_site),
|
|
156363
|
-
mode:
|
|
156387
|
+
mode: resolveSdkFooterMode(siteData.sdkConfig)
|
|
156364
156388
|
});
|
|
156365
156389
|
const footerBlocksElement = footerPlan.renderFooterBlocks && footerBlocks.length > 0 ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
156366
156390
|
theme,
|
|
@@ -158748,6 +158772,7 @@ function internalNavigationLinkToLocalLink(item) {
|
|
|
158748
158772
|
}
|
|
158749
158773
|
//#endregion
|
|
158750
158774
|
//#region ../api/src/sdkConfig/contracts.ts
|
|
158775
|
+
init_mode();
|
|
158751
158776
|
init_src$2();
|
|
158752
158777
|
/**
|
|
158753
158778
|
* Canonical SDK config Zod contracts.
|
|
@@ -158920,11 +158945,14 @@ const sdkSiteStyleConfigSchema = z$1.object({
|
|
|
158920
158945
|
sectionOptions: sdkSectionOptionsConfigSchema.optional(),
|
|
158921
158946
|
containerOptions: sdkContainerOptionsConfigSchema.optional()
|
|
158922
158947
|
});
|
|
158923
|
-
const sdkSiteLayoutConfigSchema = z$1.object({
|
|
158924
|
-
|
|
158925
|
-
|
|
158926
|
-
|
|
158927
|
-
|
|
158948
|
+
const sdkSiteLayoutConfigSchema = z$1.object({
|
|
158949
|
+
footerMode: footerModeSchema.optional(),
|
|
158950
|
+
footerBlocks: z$1.array(z$1.object({
|
|
158951
|
+
id: z$1.string().min(1).optional(),
|
|
158952
|
+
kind: z$1.string().min(1),
|
|
158953
|
+
content: z$1.record(z$1.string(), z$1.unknown()).optional()
|
|
158954
|
+
})).optional()
|
|
158955
|
+
});
|
|
158928
158956
|
const sdkFieldSelectOptionSchema = z$1.object({
|
|
158929
158957
|
value: z$1.string(),
|
|
158930
158958
|
label: z$1.string()
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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, {
|
|
@@ -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
|