@riverbankcms/sdk 0.98.0 → 0.99.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-CG3SSJND.mjs → PreviewEditorSidebar-TPOKCCKY.mjs} +3 -3
- package/dist/{PreviewEditorUI-RHNGKAAU.mjs → PreviewEditorUI-Y347GLC2.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-OGTXRQ4M.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +36 -36
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/endpoints.d.ts +8 -0
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/siteOperations.d.ts +65 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +151 -0
- package/dist/_dts/billing/src/subscriptions/store.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/components/booking/DatePicker.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/components/booking/TimeSlotSelector.d.ts +10 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/{nodes/event-registration → shared/components}/SelectableOptionCard.d.ts +11 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +16 -5
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/utils/date-formatting.d.ts +17 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +274 -30
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +13 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +6 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -4
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +6 -18
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +2 -4
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +32 -0
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +27 -0
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +63 -0
- package/dist/_dts/sdk/src/client/index.d.ts +6 -0
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +6 -1
- package/dist/_dts/sdk/src/next/types.d.ts +19 -0
- package/dist/_dts/sdk/src/prebuild/loader.d.ts +8 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +6 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +8 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
- package/dist/_dts/sdk/src/routing/resolveRoute.d.ts +18 -0
- package/dist/_dts/sdk/src/test/apiClient.d.ts +17 -0
- package/dist/_dts/sdk/src/test/bunDom.setup.d.ts +1 -0
- package/dist/_dts/sdk/src/test/env.d.ts +4 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +3 -3
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/generateBaseCSS.d.ts +6 -0
- package/dist/_dts/theme-core/src/status/contextualColors.d.ts +6 -0
- package/dist/_dts/theme-core/src/status/index.d.ts +1 -0
- package/dist/{chunk-H24OU7WG.mjs → chunk-4HXF2QLH.mjs} +2 -2
- package/dist/{chunk-QPXE2OUZ.mjs → chunk-EMJIT3ZJ.mjs} +1 -1
- package/dist/{chunk-PKDPQHB5.mjs → chunk-PM7HGDHM.mjs} +2 -2
- package/dist/{chunk-DBRI3PQF.mjs → chunk-XO34WBBP.mjs} +1383 -1143
- package/dist/{chunk-6WDBXCPX.mjs → chunk-YGTTEVUM.mjs} +7 -7
- package/dist/{chunk-V2BYFSPW.mjs → chunk-YWTCCOSF.mjs} +8 -0
- package/dist/cli/index.mjs +1010 -921
- package/dist/client/{accordion-Q2BDNL53.mjs → accordion-QSUEYL4L.mjs} +2 -2
- package/dist/client/{bookingForm-ZMP4P7EK.mjs → bookingForm-QYGAHPDP.mjs} +364 -300
- package/dist/client/bookings.mjs +697 -411
- package/dist/client/{carousel-LW3UXPWO.mjs → carousel-SM2LEWAU.mjs} +3 -3
- package/dist/client/{cart-Z6D3KS6K.mjs → cart-3N3SFKNQ.mjs} +7 -7
- package/dist/client/{checkout-YMT2QJQM.mjs → checkout-YFAYPKPZ.mjs} +7 -7
- package/dist/client/{chunk-XNTHVZ25.mjs → chunk-5DLGREUB.mjs} +1 -1
- package/dist/client/{chunk-SK2BMD22.mjs → chunk-CLZ7NBSP.mjs} +147 -75
- package/dist/client/{chunk-R4XK3CKR.mjs → chunk-CYJ3MUFP.mjs} +6 -5
- package/dist/client/{chunk-JNE6UI6U.mjs → chunk-H3H3ODO7.mjs} +1 -1
- package/dist/client/{chunk-IEOECM7U.mjs → chunk-HPEQ4YWW.mjs} +28 -73
- package/dist/client/{chunk-PCHACQEB.mjs → chunk-IIUIKJ4K.mjs} +15 -7
- package/dist/client/{chunk-KDP7ZRZV.mjs → chunk-IOAHWAQG.mjs} +2 -0
- package/dist/client/{chunk-26ZBRXFR.mjs → chunk-JTKBF3W2.mjs} +3 -3
- package/dist/client/{chunk-OLAOAZEO.mjs → chunk-K7KTSACR.mjs} +1 -1
- package/dist/client/{chunk-ET2MDQQT.mjs → chunk-R32M5HFS.mjs} +6 -6
- package/dist/client/{chunk-DRRQ7QSL.mjs → chunk-WEVT46PX.mjs} +3 -3
- package/dist/client/{chunk-HBQEAOG4.mjs → chunk-ZU65LTI3.mjs} +1 -1
- package/dist/client/client.mjs +1875 -1581
- package/dist/client/{courseRegistration-DGKCMC77.mjs → courseRegistration-LYBE7VVK.mjs} +7 -7
- package/dist/client/{eventCalendar-74Z2NNFM.mjs → eventCalendar-FMTB75X6.mjs} +9 -9
- package/dist/client/{eventCombined-GK2ODOX2.mjs → eventCombined-E4LUCJXT.mjs} +9 -9
- package/dist/client/{eventDetails-MONAGT3N.mjs → eventDetails-GELSRR4Z.mjs} +9 -9
- package/dist/client/{eventListing-SKGAO6PS.mjs → eventListing-TB623B6R.mjs} +9 -9
- package/dist/client/{eventRegistration-6KISGXRD.mjs → eventRegistration-NRIKHXTI.mjs} +9 -9
- package/dist/client/{form-FXPRTXHI.mjs → form-Y4U4IAXE.mjs} +3 -3
- package/dist/client/{headerSection-7NAN5WNB.mjs → headerSection-QSOVV5P7.mjs} +3 -3
- package/dist/client/hooks.mjs +115 -21
- package/dist/client/{locationMap-UERN74U4.mjs → locationMap-QYCAHH7H.mjs} +3 -3
- package/dist/client/{newsletterForm-SGWXMJ7U.mjs → newsletterForm-NWHY5TBY.mjs} +3 -3
- package/dist/client/{productDetail-HN3HWZQZ.mjs → productDetail-FYDMU2CE.mjs} +7 -7
- package/dist/client/{productList-YT22Z5UR.mjs → productList-D76CGACQ.mjs} +7 -7
- package/dist/client/rendering/client.mjs +1209 -975
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +1952 -1638
- package/dist/client/{shop-TKEDNWUS.mjs → shop-SOUACT5N.mjs} +7 -7
- package/dist/preview-next/before-render.mjs +8 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +8 -0
- package/dist/{sdk-runtime-LWNYCQF2.mjs → sdk-runtime-XPVE3LBA.mjs} +6 -6
- package/dist/server/components.mjs +917 -765
- package/dist/server/config-validation.mjs +100 -19
- package/dist/server/config.mjs +100 -19
- package/dist/server/data.mjs +115 -21
- package/dist/server/index.mjs +59 -25
- package/dist/server/next.mjs +1017 -816
- package/dist/server/page-converter.mjs +92 -19
- package/dist/server/prebuild-loader.mjs +42 -23
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +932 -767
- package/dist/server/rendering.mjs +968 -776
- package/dist/server/routing.mjs +162 -36
- package/dist/server/server.mjs +156 -32
- package/dist/server/theme-bridge.mjs +597 -505
- package/dist/server/theme.mjs +5 -4
- package/dist/styles/index.css +499 -490
- package/package.json +6 -4
- package/dist/SdkPreviewModeRuntime-OV5PNJBB.mjs +0 -8
|
@@ -5653,6 +5653,14 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
5653
5653
|
responseKind: "json",
|
|
5654
5654
|
errors: []
|
|
5655
5655
|
},
|
|
5656
|
+
adminResolveSiteBillingManualReview: {
|
|
5657
|
+
path: "/admin/sites/{siteId}/billing/manual-reviews/{reviewId}/resolve",
|
|
5658
|
+
method: "POST",
|
|
5659
|
+
tags: ["admin", "site-{siteId}", "billing"],
|
|
5660
|
+
auth: "admin",
|
|
5661
|
+
responseKind: "json",
|
|
5662
|
+
errors: []
|
|
5663
|
+
},
|
|
5656
5664
|
// Admin GSC/SEO endpoints
|
|
5657
5665
|
adminGscVerifyStart: {
|
|
5658
5666
|
path: "/admin/seo/gsc/properties/verify/start",
|
|
@@ -11121,15 +11129,16 @@ var joyStamp = defineButtonPersonality({
|
|
|
11121
11129
|
// 700, matching the mockup's chunky button labels.
|
|
11122
11130
|
typography: "heading",
|
|
11123
11131
|
fontWeight: 700,
|
|
11132
|
+
fontSize: "text-lg",
|
|
11124
11133
|
borderWidth: 2,
|
|
11125
11134
|
hoverTransform: "none",
|
|
11126
11135
|
hoverColor: "none"
|
|
11127
11136
|
},
|
|
11128
11137
|
sizes: {
|
|
11129
|
-
sm: { padding: "0.625rem 1.25rem", fontSize: "text-
|
|
11130
|
-
md: { padding: "0.875rem 1.75rem", fontSize: "text-
|
|
11131
|
-
lg: { padding: "1.125rem 2.25rem", fontSize: "text-
|
|
11132
|
-
xl: { padding: "1.25rem 2.75rem", fontSize: "text-
|
|
11138
|
+
sm: { padding: "0.625rem 1.25rem", fontSize: "text-base" },
|
|
11139
|
+
md: { padding: "0.875rem 1.75rem", fontSize: "text-lg" },
|
|
11140
|
+
lg: { padding: "1.125rem 2.25rem", fontSize: "text-xl" },
|
|
11141
|
+
xl: { padding: "1.25rem 2.75rem", fontSize: "text-2xl" }
|
|
11133
11142
|
},
|
|
11134
11143
|
variants: [
|
|
11135
11144
|
{
|
|
@@ -37839,6 +37848,34 @@ ${root} {
|
|
|
37839
37848
|
/* Order summary */
|
|
37840
37849
|
--er-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
37841
37850
|
--er-summary-border: rgb(var(--tb-border));
|
|
37851
|
+
|
|
37852
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
37853
|
+
Route the shared --rb-reg-* contract through this block's documented
|
|
37854
|
+
Tier 3 vars so existing --er-* overrides keep working unchanged. */
|
|
37855
|
+
--rb-reg-radius: var(--er-radius);
|
|
37856
|
+
--rb-reg-border: var(--er-border);
|
|
37857
|
+
--rb-reg-border-hover: var(--er-border-hover);
|
|
37858
|
+
--rb-reg-border-selected: var(--er-border-selected);
|
|
37859
|
+
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
37860
|
+
--rb-reg-option-bg: var(--er-control-bg);
|
|
37861
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
37862
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
37863
|
+
--rb-reg-on-surface: var(--er-on-surface);
|
|
37864
|
+
--rb-reg-on-surface-muted: var(--er-on-surface-muted);
|
|
37865
|
+
--rb-reg-on-surface-subtle: var(--er-on-surface-subtle);
|
|
37866
|
+
--rb-reg-on-surface-faint: var(--er-on-surface-faint);
|
|
37867
|
+
--rb-reg-check-bg: var(--er-check-bg);
|
|
37868
|
+
--rb-reg-check-text: var(--er-check-text);
|
|
37869
|
+
--rb-reg-step-active: var(--er-step-active);
|
|
37870
|
+
--rb-reg-step-completed: var(--er-step-completed);
|
|
37871
|
+
--rb-reg-step-inactive: var(--er-step-inactive);
|
|
37872
|
+
--rb-reg-step-text: var(--er-step-text);
|
|
37873
|
+
--rb-reg-step-text-active: var(--er-step-text-active);
|
|
37874
|
+
--rb-reg-step-connector: var(--er-step-connector);
|
|
37875
|
+
--rb-reg-summary-bg: var(--er-surface-muted);
|
|
37876
|
+
--rb-reg-summary-border: var(--er-border);
|
|
37877
|
+
--rb-reg-focus-ring: var(--er-focus-ring);
|
|
37878
|
+
--rb-reg-shell-line: var(--er-shell-line);
|
|
37842
37879
|
}
|
|
37843
37880
|
`;
|
|
37844
37881
|
}
|
|
@@ -37971,25 +38008,40 @@ ${root} {
|
|
|
37971
38008
|
--ab-info-bg: rgba(var(--tb-info), 0.1);
|
|
37972
38009
|
--ab-info-text: rgb(var(--tb-info));
|
|
37973
38010
|
|
|
37974
|
-
/*
|
|
38011
|
+
/* Muted summary state */
|
|
37975
38012
|
--ab-muted-bg: rgba(var(--tb-text), 0.05);
|
|
37976
|
-
--ab-muted-text: rgba(var(--tb-text), 0.6);
|
|
37977
|
-
--ab-spinner-color: rgb(var(--tb-primary));
|
|
37978
38013
|
|
|
37979
|
-
/*
|
|
37980
|
-
--ab-input-border: rgb(var(--tb-border));
|
|
38014
|
+
/* Focus ring used by shared registration-surface controls */
|
|
37981
38015
|
--ab-input-focus-ring: rgba(var(--tb-primary), 0.3);
|
|
37982
38016
|
|
|
37983
|
-
/*
|
|
37984
|
-
|
|
37985
|
-
|
|
37986
|
-
|
|
37987
|
-
--
|
|
37988
|
-
--
|
|
37989
|
-
|
|
37990
|
-
|
|
37991
|
-
--
|
|
37992
|
-
--
|
|
38017
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38018
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38019
|
+
(palette tokens where no --ab-* var exists) so --ab-* overrides keep
|
|
38020
|
+
working as the block adopts the shared classes. */
|
|
38021
|
+
--rb-reg-radius: var(--ab-card-radius, var(--rb-block-radius));
|
|
38022
|
+
--rb-reg-border: var(--ab-card-border);
|
|
38023
|
+
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
38024
|
+
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
38025
|
+
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
38026
|
+
--rb-reg-option-bg: transparent;
|
|
38027
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38028
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38029
|
+
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
38030
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38031
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38032
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38033
|
+
--rb-reg-check-bg: var(--ab-check-bg);
|
|
38034
|
+
--rb-reg-check-text: var(--ab-check-text);
|
|
38035
|
+
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
38036
|
+
--rb-reg-step-completed: rgb(var(--tb-success));
|
|
38037
|
+
--rb-reg-step-inactive: rgb(var(--tb-mutedText));
|
|
38038
|
+
--rb-reg-step-text: rgb(255 255 255);
|
|
38039
|
+
--rb-reg-step-text-active: rgb(var(--tb-primaryText, 255 255 255));
|
|
38040
|
+
--rb-reg-step-connector: rgba(var(--tb-border), 0.5);
|
|
38041
|
+
--rb-reg-summary-bg: var(--ab-muted-bg);
|
|
38042
|
+
--rb-reg-summary-border: var(--ab-card-border);
|
|
38043
|
+
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
38044
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
37993
38045
|
}
|
|
37994
38046
|
`;
|
|
37995
38047
|
}
|
|
@@ -38280,6 +38332,35 @@ ${root} {
|
|
|
38280
38332
|
/* Summary */
|
|
38281
38333
|
--cr-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
38282
38334
|
--cr-summary-border: rgb(var(--tb-border));
|
|
38335
|
+
|
|
38336
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38337
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38338
|
+
(palette tokens where no --cr-* var exists) so existing --cr-* overrides
|
|
38339
|
+
keep working unchanged. */
|
|
38340
|
+
--rb-reg-radius: var(--rb-block-radius);
|
|
38341
|
+
--rb-reg-border: var(--cr-border);
|
|
38342
|
+
--rb-reg-border-hover: var(--cr-border-hover);
|
|
38343
|
+
--rb-reg-border-selected: var(--cr-border-selected);
|
|
38344
|
+
--rb-reg-bg-selected: var(--cr-payment-bg-selected);
|
|
38345
|
+
--rb-reg-option-bg: rgb(var(--tb-background));
|
|
38346
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38347
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38348
|
+
--rb-reg-on-surface: var(--cr-on-surface);
|
|
38349
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38350
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38351
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38352
|
+
--rb-reg-check-bg: var(--cr-check-bg);
|
|
38353
|
+
--rb-reg-check-text: var(--cr-check-text);
|
|
38354
|
+
--rb-reg-step-active: var(--cr-step-active);
|
|
38355
|
+
--rb-reg-step-completed: var(--cr-step-completed);
|
|
38356
|
+
--rb-reg-step-inactive: var(--cr-step-inactive);
|
|
38357
|
+
--rb-reg-step-text: var(--cr-step-text);
|
|
38358
|
+
--rb-reg-step-text-active: var(--cr-step-text-active);
|
|
38359
|
+
--rb-reg-step-connector: var(--cr-step-connector);
|
|
38360
|
+
--rb-reg-summary-bg: var(--cr-summary-bg);
|
|
38361
|
+
--rb-reg-summary-border: var(--cr-summary-border);
|
|
38362
|
+
--rb-reg-focus-ring: var(--cr-focus-ring);
|
|
38363
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38283
38364
|
}
|
|
38284
38365
|
`;
|
|
38285
38366
|
}
|
package/dist/server/config.mjs
CHANGED
|
@@ -5698,6 +5698,14 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
5698
5698
|
responseKind: "json",
|
|
5699
5699
|
errors: []
|
|
5700
5700
|
},
|
|
5701
|
+
adminResolveSiteBillingManualReview: {
|
|
5702
|
+
path: "/admin/sites/{siteId}/billing/manual-reviews/{reviewId}/resolve",
|
|
5703
|
+
method: "POST",
|
|
5704
|
+
tags: ["admin", "site-{siteId}", "billing"],
|
|
5705
|
+
auth: "admin",
|
|
5706
|
+
responseKind: "json",
|
|
5707
|
+
errors: []
|
|
5708
|
+
},
|
|
5701
5709
|
// Admin GSC/SEO endpoints
|
|
5702
5710
|
adminGscVerifyStart: {
|
|
5703
5711
|
path: "/admin/seo/gsc/properties/verify/start",
|
|
@@ -11166,15 +11174,16 @@ var joyStamp = defineButtonPersonality({
|
|
|
11166
11174
|
// 700, matching the mockup's chunky button labels.
|
|
11167
11175
|
typography: "heading",
|
|
11168
11176
|
fontWeight: 700,
|
|
11177
|
+
fontSize: "text-lg",
|
|
11169
11178
|
borderWidth: 2,
|
|
11170
11179
|
hoverTransform: "none",
|
|
11171
11180
|
hoverColor: "none"
|
|
11172
11181
|
},
|
|
11173
11182
|
sizes: {
|
|
11174
|
-
sm: { padding: "0.625rem 1.25rem", fontSize: "text-
|
|
11175
|
-
md: { padding: "0.875rem 1.75rem", fontSize: "text-
|
|
11176
|
-
lg: { padding: "1.125rem 2.25rem", fontSize: "text-
|
|
11177
|
-
xl: { padding: "1.25rem 2.75rem", fontSize: "text-
|
|
11183
|
+
sm: { padding: "0.625rem 1.25rem", fontSize: "text-base" },
|
|
11184
|
+
md: { padding: "0.875rem 1.75rem", fontSize: "text-lg" },
|
|
11185
|
+
lg: { padding: "1.125rem 2.25rem", fontSize: "text-xl" },
|
|
11186
|
+
xl: { padding: "1.25rem 2.75rem", fontSize: "text-2xl" }
|
|
11178
11187
|
},
|
|
11179
11188
|
variants: [
|
|
11180
11189
|
{
|
|
@@ -37884,6 +37893,34 @@ ${root} {
|
|
|
37884
37893
|
/* Order summary */
|
|
37885
37894
|
--er-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
37886
37895
|
--er-summary-border: rgb(var(--tb-border));
|
|
37896
|
+
|
|
37897
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
37898
|
+
Route the shared --rb-reg-* contract through this block's documented
|
|
37899
|
+
Tier 3 vars so existing --er-* overrides keep working unchanged. */
|
|
37900
|
+
--rb-reg-radius: var(--er-radius);
|
|
37901
|
+
--rb-reg-border: var(--er-border);
|
|
37902
|
+
--rb-reg-border-hover: var(--er-border-hover);
|
|
37903
|
+
--rb-reg-border-selected: var(--er-border-selected);
|
|
37904
|
+
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
37905
|
+
--rb-reg-option-bg: var(--er-control-bg);
|
|
37906
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
37907
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
37908
|
+
--rb-reg-on-surface: var(--er-on-surface);
|
|
37909
|
+
--rb-reg-on-surface-muted: var(--er-on-surface-muted);
|
|
37910
|
+
--rb-reg-on-surface-subtle: var(--er-on-surface-subtle);
|
|
37911
|
+
--rb-reg-on-surface-faint: var(--er-on-surface-faint);
|
|
37912
|
+
--rb-reg-check-bg: var(--er-check-bg);
|
|
37913
|
+
--rb-reg-check-text: var(--er-check-text);
|
|
37914
|
+
--rb-reg-step-active: var(--er-step-active);
|
|
37915
|
+
--rb-reg-step-completed: var(--er-step-completed);
|
|
37916
|
+
--rb-reg-step-inactive: var(--er-step-inactive);
|
|
37917
|
+
--rb-reg-step-text: var(--er-step-text);
|
|
37918
|
+
--rb-reg-step-text-active: var(--er-step-text-active);
|
|
37919
|
+
--rb-reg-step-connector: var(--er-step-connector);
|
|
37920
|
+
--rb-reg-summary-bg: var(--er-surface-muted);
|
|
37921
|
+
--rb-reg-summary-border: var(--er-border);
|
|
37922
|
+
--rb-reg-focus-ring: var(--er-focus-ring);
|
|
37923
|
+
--rb-reg-shell-line: var(--er-shell-line);
|
|
37887
37924
|
}
|
|
37888
37925
|
`;
|
|
37889
37926
|
}
|
|
@@ -38016,25 +38053,40 @@ ${root} {
|
|
|
38016
38053
|
--ab-info-bg: rgba(var(--tb-info), 0.1);
|
|
38017
38054
|
--ab-info-text: rgb(var(--tb-info));
|
|
38018
38055
|
|
|
38019
|
-
/*
|
|
38056
|
+
/* Muted summary state */
|
|
38020
38057
|
--ab-muted-bg: rgba(var(--tb-text), 0.05);
|
|
38021
|
-
--ab-muted-text: rgba(var(--tb-text), 0.6);
|
|
38022
|
-
--ab-spinner-color: rgb(var(--tb-primary));
|
|
38023
38058
|
|
|
38024
|
-
/*
|
|
38025
|
-
--ab-input-border: rgb(var(--tb-border));
|
|
38059
|
+
/* Focus ring used by shared registration-surface controls */
|
|
38026
38060
|
--ab-input-focus-ring: rgba(var(--tb-primary), 0.3);
|
|
38027
38061
|
|
|
38028
|
-
/*
|
|
38029
|
-
|
|
38030
|
-
|
|
38031
|
-
|
|
38032
|
-
--
|
|
38033
|
-
--
|
|
38034
|
-
|
|
38035
|
-
|
|
38036
|
-
--
|
|
38037
|
-
--
|
|
38062
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38063
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38064
|
+
(palette tokens where no --ab-* var exists) so --ab-* overrides keep
|
|
38065
|
+
working as the block adopts the shared classes. */
|
|
38066
|
+
--rb-reg-radius: var(--ab-card-radius, var(--rb-block-radius));
|
|
38067
|
+
--rb-reg-border: var(--ab-card-border);
|
|
38068
|
+
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
38069
|
+
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
38070
|
+
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
38071
|
+
--rb-reg-option-bg: transparent;
|
|
38072
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38073
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38074
|
+
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
38075
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38076
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38077
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38078
|
+
--rb-reg-check-bg: var(--ab-check-bg);
|
|
38079
|
+
--rb-reg-check-text: var(--ab-check-text);
|
|
38080
|
+
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
38081
|
+
--rb-reg-step-completed: rgb(var(--tb-success));
|
|
38082
|
+
--rb-reg-step-inactive: rgb(var(--tb-mutedText));
|
|
38083
|
+
--rb-reg-step-text: rgb(255 255 255);
|
|
38084
|
+
--rb-reg-step-text-active: rgb(var(--tb-primaryText, 255 255 255));
|
|
38085
|
+
--rb-reg-step-connector: rgba(var(--tb-border), 0.5);
|
|
38086
|
+
--rb-reg-summary-bg: var(--ab-muted-bg);
|
|
38087
|
+
--rb-reg-summary-border: var(--ab-card-border);
|
|
38088
|
+
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
38089
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38038
38090
|
}
|
|
38039
38091
|
`;
|
|
38040
38092
|
}
|
|
@@ -38325,6 +38377,35 @@ ${root} {
|
|
|
38325
38377
|
/* Summary */
|
|
38326
38378
|
--cr-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
38327
38379
|
--cr-summary-border: rgb(var(--tb-border));
|
|
38380
|
+
|
|
38381
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38382
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38383
|
+
(palette tokens where no --cr-* var exists) so existing --cr-* overrides
|
|
38384
|
+
keep working unchanged. */
|
|
38385
|
+
--rb-reg-radius: var(--rb-block-radius);
|
|
38386
|
+
--rb-reg-border: var(--cr-border);
|
|
38387
|
+
--rb-reg-border-hover: var(--cr-border-hover);
|
|
38388
|
+
--rb-reg-border-selected: var(--cr-border-selected);
|
|
38389
|
+
--rb-reg-bg-selected: var(--cr-payment-bg-selected);
|
|
38390
|
+
--rb-reg-option-bg: rgb(var(--tb-background));
|
|
38391
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38392
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38393
|
+
--rb-reg-on-surface: var(--cr-on-surface);
|
|
38394
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38395
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38396
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38397
|
+
--rb-reg-check-bg: var(--cr-check-bg);
|
|
38398
|
+
--rb-reg-check-text: var(--cr-check-text);
|
|
38399
|
+
--rb-reg-step-active: var(--cr-step-active);
|
|
38400
|
+
--rb-reg-step-completed: var(--cr-step-completed);
|
|
38401
|
+
--rb-reg-step-inactive: var(--cr-step-inactive);
|
|
38402
|
+
--rb-reg-step-text: var(--cr-step-text);
|
|
38403
|
+
--rb-reg-step-text-active: var(--cr-step-text-active);
|
|
38404
|
+
--rb-reg-step-connector: var(--cr-step-connector);
|
|
38405
|
+
--rb-reg-summary-bg: var(--cr-summary-bg);
|
|
38406
|
+
--rb-reg-summary-border: var(--cr-summary-border);
|
|
38407
|
+
--rb-reg-focus-ring: var(--cr-focus-ring);
|
|
38408
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38328
38409
|
}
|
|
38329
38410
|
`;
|
|
38330
38411
|
}
|
package/dist/server/data.mjs
CHANGED
|
@@ -5650,6 +5650,14 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
5650
5650
|
responseKind: "json",
|
|
5651
5651
|
errors: []
|
|
5652
5652
|
},
|
|
5653
|
+
adminResolveSiteBillingManualReview: {
|
|
5654
|
+
path: "/admin/sites/{siteId}/billing/manual-reviews/{reviewId}/resolve",
|
|
5655
|
+
method: "POST",
|
|
5656
|
+
tags: ["admin", "site-{siteId}", "billing"],
|
|
5657
|
+
auth: "admin",
|
|
5658
|
+
responseKind: "json",
|
|
5659
|
+
errors: []
|
|
5660
|
+
},
|
|
5653
5661
|
// Admin GSC/SEO endpoints
|
|
5654
5662
|
adminGscVerifyStart: {
|
|
5655
5663
|
path: "/admin/seo/gsc/properties/verify/start",
|
|
@@ -11020,15 +11028,16 @@ var joyStamp = defineButtonPersonality({
|
|
|
11020
11028
|
// 700, matching the mockup's chunky button labels.
|
|
11021
11029
|
typography: "heading",
|
|
11022
11030
|
fontWeight: 700,
|
|
11031
|
+
fontSize: "text-lg",
|
|
11023
11032
|
borderWidth: 2,
|
|
11024
11033
|
hoverTransform: "none",
|
|
11025
11034
|
hoverColor: "none"
|
|
11026
11035
|
},
|
|
11027
11036
|
sizes: {
|
|
11028
|
-
sm: { padding: "0.625rem 1.25rem", fontSize: "text-
|
|
11029
|
-
md: { padding: "0.875rem 1.75rem", fontSize: "text-
|
|
11030
|
-
lg: { padding: "1.125rem 2.25rem", fontSize: "text-
|
|
11031
|
-
xl: { padding: "1.25rem 2.75rem", fontSize: "text-
|
|
11037
|
+
sm: { padding: "0.625rem 1.25rem", fontSize: "text-base" },
|
|
11038
|
+
md: { padding: "0.875rem 1.75rem", fontSize: "text-lg" },
|
|
11039
|
+
lg: { padding: "1.125rem 2.25rem", fontSize: "text-xl" },
|
|
11040
|
+
xl: { padding: "1.25rem 2.75rem", fontSize: "text-2xl" }
|
|
11032
11041
|
},
|
|
11033
11042
|
variants: [
|
|
11034
11043
|
{
|
|
@@ -37927,6 +37936,34 @@ ${root} {
|
|
|
37927
37936
|
/* Order summary */
|
|
37928
37937
|
--er-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
37929
37938
|
--er-summary-border: rgb(var(--tb-border));
|
|
37939
|
+
|
|
37940
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
37941
|
+
Route the shared --rb-reg-* contract through this block's documented
|
|
37942
|
+
Tier 3 vars so existing --er-* overrides keep working unchanged. */
|
|
37943
|
+
--rb-reg-radius: var(--er-radius);
|
|
37944
|
+
--rb-reg-border: var(--er-border);
|
|
37945
|
+
--rb-reg-border-hover: var(--er-border-hover);
|
|
37946
|
+
--rb-reg-border-selected: var(--er-border-selected);
|
|
37947
|
+
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
37948
|
+
--rb-reg-option-bg: var(--er-control-bg);
|
|
37949
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
37950
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
37951
|
+
--rb-reg-on-surface: var(--er-on-surface);
|
|
37952
|
+
--rb-reg-on-surface-muted: var(--er-on-surface-muted);
|
|
37953
|
+
--rb-reg-on-surface-subtle: var(--er-on-surface-subtle);
|
|
37954
|
+
--rb-reg-on-surface-faint: var(--er-on-surface-faint);
|
|
37955
|
+
--rb-reg-check-bg: var(--er-check-bg);
|
|
37956
|
+
--rb-reg-check-text: var(--er-check-text);
|
|
37957
|
+
--rb-reg-step-active: var(--er-step-active);
|
|
37958
|
+
--rb-reg-step-completed: var(--er-step-completed);
|
|
37959
|
+
--rb-reg-step-inactive: var(--er-step-inactive);
|
|
37960
|
+
--rb-reg-step-text: var(--er-step-text);
|
|
37961
|
+
--rb-reg-step-text-active: var(--er-step-text-active);
|
|
37962
|
+
--rb-reg-step-connector: var(--er-step-connector);
|
|
37963
|
+
--rb-reg-summary-bg: var(--er-surface-muted);
|
|
37964
|
+
--rb-reg-summary-border: var(--er-border);
|
|
37965
|
+
--rb-reg-focus-ring: var(--er-focus-ring);
|
|
37966
|
+
--rb-reg-shell-line: var(--er-shell-line);
|
|
37930
37967
|
}
|
|
37931
37968
|
`;
|
|
37932
37969
|
}
|
|
@@ -38059,25 +38096,40 @@ ${root} {
|
|
|
38059
38096
|
--ab-info-bg: rgba(var(--tb-info), 0.1);
|
|
38060
38097
|
--ab-info-text: rgb(var(--tb-info));
|
|
38061
38098
|
|
|
38062
|
-
/*
|
|
38099
|
+
/* Muted summary state */
|
|
38063
38100
|
--ab-muted-bg: rgba(var(--tb-text), 0.05);
|
|
38064
|
-
--ab-muted-text: rgba(var(--tb-text), 0.6);
|
|
38065
|
-
--ab-spinner-color: rgb(var(--tb-primary));
|
|
38066
38101
|
|
|
38067
|
-
/*
|
|
38068
|
-
--ab-input-border: rgb(var(--tb-border));
|
|
38102
|
+
/* Focus ring used by shared registration-surface controls */
|
|
38069
38103
|
--ab-input-focus-ring: rgba(var(--tb-primary), 0.3);
|
|
38070
38104
|
|
|
38071
|
-
/*
|
|
38072
|
-
|
|
38073
|
-
|
|
38074
|
-
|
|
38075
|
-
--
|
|
38076
|
-
--
|
|
38077
|
-
|
|
38078
|
-
|
|
38079
|
-
--
|
|
38080
|
-
--
|
|
38105
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38106
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38107
|
+
(palette tokens where no --ab-* var exists) so --ab-* overrides keep
|
|
38108
|
+
working as the block adopts the shared classes. */
|
|
38109
|
+
--rb-reg-radius: var(--ab-card-radius, var(--rb-block-radius));
|
|
38110
|
+
--rb-reg-border: var(--ab-card-border);
|
|
38111
|
+
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
38112
|
+
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
38113
|
+
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
38114
|
+
--rb-reg-option-bg: transparent;
|
|
38115
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38116
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38117
|
+
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
38118
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38119
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38120
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38121
|
+
--rb-reg-check-bg: var(--ab-check-bg);
|
|
38122
|
+
--rb-reg-check-text: var(--ab-check-text);
|
|
38123
|
+
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
38124
|
+
--rb-reg-step-completed: rgb(var(--tb-success));
|
|
38125
|
+
--rb-reg-step-inactive: rgb(var(--tb-mutedText));
|
|
38126
|
+
--rb-reg-step-text: rgb(255 255 255);
|
|
38127
|
+
--rb-reg-step-text-active: rgb(var(--tb-primaryText, 255 255 255));
|
|
38128
|
+
--rb-reg-step-connector: rgba(var(--tb-border), 0.5);
|
|
38129
|
+
--rb-reg-summary-bg: var(--ab-muted-bg);
|
|
38130
|
+
--rb-reg-summary-border: var(--ab-card-border);
|
|
38131
|
+
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
38132
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38081
38133
|
}
|
|
38082
38134
|
`;
|
|
38083
38135
|
}
|
|
@@ -38368,6 +38420,35 @@ ${root} {
|
|
|
38368
38420
|
/* Summary */
|
|
38369
38421
|
--cr-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
38370
38422
|
--cr-summary-border: rgb(var(--tb-border));
|
|
38423
|
+
|
|
38424
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38425
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38426
|
+
(palette tokens where no --cr-* var exists) so existing --cr-* overrides
|
|
38427
|
+
keep working unchanged. */
|
|
38428
|
+
--rb-reg-radius: var(--rb-block-radius);
|
|
38429
|
+
--rb-reg-border: var(--cr-border);
|
|
38430
|
+
--rb-reg-border-hover: var(--cr-border-hover);
|
|
38431
|
+
--rb-reg-border-selected: var(--cr-border-selected);
|
|
38432
|
+
--rb-reg-bg-selected: var(--cr-payment-bg-selected);
|
|
38433
|
+
--rb-reg-option-bg: rgb(var(--tb-background));
|
|
38434
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38435
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38436
|
+
--rb-reg-on-surface: var(--cr-on-surface);
|
|
38437
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38438
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38439
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38440
|
+
--rb-reg-check-bg: var(--cr-check-bg);
|
|
38441
|
+
--rb-reg-check-text: var(--cr-check-text);
|
|
38442
|
+
--rb-reg-step-active: var(--cr-step-active);
|
|
38443
|
+
--rb-reg-step-completed: var(--cr-step-completed);
|
|
38444
|
+
--rb-reg-step-inactive: var(--cr-step-inactive);
|
|
38445
|
+
--rb-reg-step-text: var(--cr-step-text);
|
|
38446
|
+
--rb-reg-step-text-active: var(--cr-step-text-active);
|
|
38447
|
+
--rb-reg-step-connector: var(--cr-step-connector);
|
|
38448
|
+
--rb-reg-summary-bg: var(--cr-summary-bg);
|
|
38449
|
+
--rb-reg-summary-border: var(--cr-summary-border);
|
|
38450
|
+
--rb-reg-focus-ring: var(--cr-focus-ring);
|
|
38451
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38371
38452
|
}
|
|
38372
38453
|
`;
|
|
38373
38454
|
}
|
|
@@ -40004,6 +40085,10 @@ var MultiPageUpdateResponse = z69.object({
|
|
|
40004
40085
|
function isSupportedLoaderEndpoint2(endpoint) {
|
|
40005
40086
|
return SUPPORTED_LOADER_ENDPOINTS.includes(endpoint);
|
|
40006
40087
|
}
|
|
40088
|
+
var defaultPrefetchBlockDataDeps = {
|
|
40089
|
+
prefetchBlockDataCore: prefetchBlockData,
|
|
40090
|
+
normalizeLoaderParams
|
|
40091
|
+
};
|
|
40007
40092
|
var ENTRY_REF_KEYS = [
|
|
40008
40093
|
"identifier",
|
|
40009
40094
|
"entryIdentifier",
|
|
@@ -40266,18 +40351,27 @@ async function getPublicWeeklySlotAvailability({ client, params }) {
|
|
|
40266
40351
|
});
|
|
40267
40352
|
}
|
|
40268
40353
|
async function prefetchBlockData2(page, context, client, options) {
|
|
40354
|
+
return prefetchBlockDataWithDeps(
|
|
40355
|
+
defaultPrefetchBlockDataDeps,
|
|
40356
|
+
page,
|
|
40357
|
+
context,
|
|
40358
|
+
client,
|
|
40359
|
+
options
|
|
40360
|
+
);
|
|
40361
|
+
}
|
|
40362
|
+
async function prefetchBlockDataWithDeps(deps, page, context, client, options) {
|
|
40269
40363
|
const { customBlocks } = options ?? {};
|
|
40270
40364
|
const customBlockMap = new Map(
|
|
40271
40365
|
(customBlocks ?? []).map((block) => [block.id, block])
|
|
40272
40366
|
);
|
|
40273
|
-
return
|
|
40367
|
+
return deps.prefetchBlockDataCore(page, context, {
|
|
40274
40368
|
apiClient: async ({ endpoint, params }) => {
|
|
40275
40369
|
if (!isSupportedLoaderEndpoint2(endpoint)) {
|
|
40276
40370
|
throw new Error(
|
|
40277
40371
|
`Unsupported loader endpoint: ${endpoint}. SDK only supports: ${SUPPORTED_LOADER_ENDPOINTS.join(", ")}`
|
|
40278
40372
|
);
|
|
40279
40373
|
}
|
|
40280
|
-
const resolvedParams = normalizeLoaderParams(endpoint, params, context);
|
|
40374
|
+
const resolvedParams = deps.normalizeLoaderParams(endpoint, params, context);
|
|
40281
40375
|
return await loaderAdapters[endpoint]({ client, params: resolvedParams });
|
|
40282
40376
|
},
|
|
40283
40377
|
isValidEndpoint: isSupportedLoaderEndpoint2,
|