@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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useWaitlistClaim, resolveCoursePricingState, formatCoursePriceDisplay, formatCoursePriceAmount, MagicLinkForm } from './chunk-
|
|
3
|
-
import { SpinnerNode } from './chunk-
|
|
2
|
+
import { useWaitlistClaim, resolveCoursePricingState, formatCoursePriceDisplay, formatCoursePriceAmount, MagicLinkForm } from './chunk-JTKBF3W2.mjs';
|
|
3
|
+
import { SpinnerNode } from './chunk-K7KTSACR.mjs';
|
|
4
4
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
5
|
-
import { DiscountCodeDisclosure, useDiscountCodeUi, getStepNumber, logoutPortal, StepIndicator, LoggedInAsUser, CheckIcon, formatPrice, TerminalPanel, StateIcon, ClockIcon, CrossIcon, scrollToBlock, buildCheckoutReturnUrls, MembershipHero, validateFormData } from './chunk-
|
|
5
|
+
import { DiscountCodeDisclosure, useDiscountCodeUi, getStepNumber, logoutPortal, StepIndicator, LoggedInAsUser, CheckIcon, formatPrice, TerminalPanel, StateIcon, ClockIcon, CrossIcon, scrollToBlock, buildCheckoutReturnUrls, MembershipHero, validateFormData } from './chunk-CLZ7NBSP.mjs';
|
|
6
6
|
import { getFieldValidationControlProps, FieldValidationMessage } from './chunk-3DCJ45Z2.mjs';
|
|
7
7
|
import { ModalShell } from './chunk-WBQG7VJA.mjs';
|
|
8
8
|
import { AltchaWidget, getChallengeUrl, isSpamProtectionEnabled } from './chunk-LJCX6V7Q.mjs';
|
|
9
|
-
import { BlockApiProvider, useBlockApi } from './chunk-
|
|
9
|
+
import { BlockApiProvider, useBlockApi } from './chunk-IOAHWAQG.mjs';
|
|
10
10
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder, themeButtonClassName } from './chunk-
|
|
12
|
-
import { formatBookingDate, toScheduledBookingDateTime, toBookingTimeZone, formatBookingTime } from './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder, themeButtonClassName } from './chunk-CYJ3MUFP.mjs';
|
|
12
|
+
import { formatBookingDate, toScheduledBookingDateTime, toBookingTimeZone, formatBookingTime } from './chunk-IIUIKJ4K.mjs';
|
|
13
13
|
import React2, { Component, useMemo, useState, useEffect } from 'react';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
@@ -1406,7 +1406,7 @@ function CourseRegistrationWizard(props) {
|
|
|
1406
1406
|
id: COURSE_REGISTRATION_ANCHOR_ID,
|
|
1407
1407
|
className: `course-registration ${className || ""}`,
|
|
1408
1408
|
"data-block": "course-registration",
|
|
1409
|
-
children: /* @__PURE__ */ jsx("div", { className: "cr-container", children: /* @__PURE__ */ jsxs(
|
|
1409
|
+
children: /* @__PURE__ */ jsx("div", { className: "rb-reg-surface cr-container", children: /* @__PURE__ */ jsxs(
|
|
1410
1410
|
"div",
|
|
1411
1411
|
{
|
|
1412
1412
|
className: `cr-layout${showSidebarLayout ? " cr-layout--with-sidebar" : ""}`,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventCalendarClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventCalendarClient } from './chunk-HPEQ4YWW.mjs';
|
|
2
|
+
import './chunk-5DLGREUB.mjs';
|
|
3
|
+
import './chunk-JTKBF3W2.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-WEVT46PX.mjs';
|
|
6
|
+
import './chunk-K7KTSACR.mjs';
|
|
7
7
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-WBQG7VJA.mjs';
|
|
11
11
|
import './chunk-LJCX6V7Q.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-IOAHWAQG.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
15
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-calendar");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventCombinedIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventCombinedIslandClient } from './chunk-HPEQ4YWW.mjs';
|
|
2
|
+
import './chunk-5DLGREUB.mjs';
|
|
3
|
+
import './chunk-JTKBF3W2.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-WEVT46PX.mjs';
|
|
6
|
+
import './chunk-K7KTSACR.mjs';
|
|
7
7
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-WBQG7VJA.mjs';
|
|
11
11
|
import './chunk-LJCX6V7Q.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-IOAHWAQG.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
15
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-combined");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventDetailsIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventDetailsIslandClient } from './chunk-HPEQ4YWW.mjs';
|
|
2
|
+
import './chunk-5DLGREUB.mjs';
|
|
3
|
+
import './chunk-JTKBF3W2.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-WEVT46PX.mjs';
|
|
6
|
+
import './chunk-K7KTSACR.mjs';
|
|
7
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
8
8
|
import './chunk-3DCJ45Z2.mjs';
|
|
9
9
|
import './chunk-WBQG7VJA.mjs';
|
|
10
10
|
import './chunk-LJCX6V7Q.mjs';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-IOAHWAQG.mjs';
|
|
12
12
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
13
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
14
|
-
import './chunk-
|
|
13
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
14
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
15
15
|
import { jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
var decode = defineIslandPropsDecoder("event-details");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventListingClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventListingClient } from './chunk-HPEQ4YWW.mjs';
|
|
2
|
+
import './chunk-5DLGREUB.mjs';
|
|
3
|
+
import './chunk-JTKBF3W2.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-WEVT46PX.mjs';
|
|
6
|
+
import './chunk-K7KTSACR.mjs';
|
|
7
7
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-WBQG7VJA.mjs';
|
|
11
11
|
import './chunk-LJCX6V7Q.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-IOAHWAQG.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
15
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-listing");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventRegistrationIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventRegistrationIslandClient } from './chunk-HPEQ4YWW.mjs';
|
|
2
|
+
import './chunk-5DLGREUB.mjs';
|
|
3
|
+
import './chunk-JTKBF3W2.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-WEVT46PX.mjs';
|
|
6
|
+
import './chunk-K7KTSACR.mjs';
|
|
7
7
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-WBQG7VJA.mjs';
|
|
11
11
|
import './chunk-LJCX6V7Q.mjs';
|
|
12
|
-
import { BlockApiProvider } from './chunk-
|
|
12
|
+
import { BlockApiProvider } from './chunk-IOAHWAQG.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
15
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-registration");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { isSpamProtectionEnabled, AltchaWidget, getChallengeUrl } from './chunk-LJCX6V7Q.mjs';
|
|
3
|
-
import { BlockApiProvider, FeedbackMessage, useBlockApi } from './chunk-
|
|
3
|
+
import { BlockApiProvider, FeedbackMessage, useBlockApi } from './chunk-IOAHWAQG.mjs';
|
|
4
4
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
5
|
-
import { defineIslandPropsDecoder, themeButtonClassName, assertNever, err, ok } from './chunk-
|
|
6
|
-
import { clsx_default } from './chunk-
|
|
5
|
+
import { defineIslandPropsDecoder, themeButtonClassName, assertNever, err, ok } from './chunk-CYJ3MUFP.mjs';
|
|
6
|
+
import { clsx_default } from './chunk-IIUIKJ4K.mjs';
|
|
7
7
|
import { useState, useReducer, useRef } from 'react';
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useCommerceCart } from './chunk-
|
|
2
|
+
import { useCommerceCart } from './chunk-ZU65LTI3.mjs';
|
|
3
3
|
import { resolveDedicatedCheckoutPath, ModalShell } from './chunk-WBQG7VJA.mjs';
|
|
4
|
-
import { defineIslandPropsDecoder, buildCartDisplay, themeButtonClassName } from './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import { defineIslandPropsDecoder, buildCartDisplay, themeButtonClassName } from './chunk-CYJ3MUFP.mjs';
|
|
5
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
6
6
|
import * as React2 from 'react';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import { createRoot } from 'react-dom/client';
|
package/dist/client/hooks.mjs
CHANGED
|
@@ -5657,6 +5657,14 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
5657
5657
|
responseKind: "json",
|
|
5658
5658
|
errors: []
|
|
5659
5659
|
},
|
|
5660
|
+
adminResolveSiteBillingManualReview: {
|
|
5661
|
+
path: "/admin/sites/{siteId}/billing/manual-reviews/{reviewId}/resolve",
|
|
5662
|
+
method: "POST",
|
|
5663
|
+
tags: ["admin", "site-{siteId}", "billing"],
|
|
5664
|
+
auth: "admin",
|
|
5665
|
+
responseKind: "json",
|
|
5666
|
+
errors: []
|
|
5667
|
+
},
|
|
5660
5668
|
// Admin GSC/SEO endpoints
|
|
5661
5669
|
adminGscVerifyStart: {
|
|
5662
5670
|
path: "/admin/seo/gsc/properties/verify/start",
|
|
@@ -11027,15 +11035,16 @@ var joyStamp = defineButtonPersonality({
|
|
|
11027
11035
|
// 700, matching the mockup's chunky button labels.
|
|
11028
11036
|
typography: "heading",
|
|
11029
11037
|
fontWeight: 700,
|
|
11038
|
+
fontSize: "text-lg",
|
|
11030
11039
|
borderWidth: 2,
|
|
11031
11040
|
hoverTransform: "none",
|
|
11032
11041
|
hoverColor: "none"
|
|
11033
11042
|
},
|
|
11034
11043
|
sizes: {
|
|
11035
|
-
sm: { padding: "0.625rem 1.25rem", fontSize: "text-
|
|
11036
|
-
md: { padding: "0.875rem 1.75rem", fontSize: "text-
|
|
11037
|
-
lg: { padding: "1.125rem 2.25rem", fontSize: "text-
|
|
11038
|
-
xl: { padding: "1.25rem 2.75rem", fontSize: "text-
|
|
11044
|
+
sm: { padding: "0.625rem 1.25rem", fontSize: "text-base" },
|
|
11045
|
+
md: { padding: "0.875rem 1.75rem", fontSize: "text-lg" },
|
|
11046
|
+
lg: { padding: "1.125rem 2.25rem", fontSize: "text-xl" },
|
|
11047
|
+
xl: { padding: "1.25rem 2.75rem", fontSize: "text-2xl" }
|
|
11039
11048
|
},
|
|
11040
11049
|
variants: [
|
|
11041
11050
|
{
|
|
@@ -37934,6 +37943,34 @@ ${root} {
|
|
|
37934
37943
|
/* Order summary */
|
|
37935
37944
|
--er-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
37936
37945
|
--er-summary-border: rgb(var(--tb-border));
|
|
37946
|
+
|
|
37947
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
37948
|
+
Route the shared --rb-reg-* contract through this block's documented
|
|
37949
|
+
Tier 3 vars so existing --er-* overrides keep working unchanged. */
|
|
37950
|
+
--rb-reg-radius: var(--er-radius);
|
|
37951
|
+
--rb-reg-border: var(--er-border);
|
|
37952
|
+
--rb-reg-border-hover: var(--er-border-hover);
|
|
37953
|
+
--rb-reg-border-selected: var(--er-border-selected);
|
|
37954
|
+
--rb-reg-bg-selected: var(--er-payment-bg-selected);
|
|
37955
|
+
--rb-reg-option-bg: var(--er-control-bg);
|
|
37956
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
37957
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
37958
|
+
--rb-reg-on-surface: var(--er-on-surface);
|
|
37959
|
+
--rb-reg-on-surface-muted: var(--er-on-surface-muted);
|
|
37960
|
+
--rb-reg-on-surface-subtle: var(--er-on-surface-subtle);
|
|
37961
|
+
--rb-reg-on-surface-faint: var(--er-on-surface-faint);
|
|
37962
|
+
--rb-reg-check-bg: var(--er-check-bg);
|
|
37963
|
+
--rb-reg-check-text: var(--er-check-text);
|
|
37964
|
+
--rb-reg-step-active: var(--er-step-active);
|
|
37965
|
+
--rb-reg-step-completed: var(--er-step-completed);
|
|
37966
|
+
--rb-reg-step-inactive: var(--er-step-inactive);
|
|
37967
|
+
--rb-reg-step-text: var(--er-step-text);
|
|
37968
|
+
--rb-reg-step-text-active: var(--er-step-text-active);
|
|
37969
|
+
--rb-reg-step-connector: var(--er-step-connector);
|
|
37970
|
+
--rb-reg-summary-bg: var(--er-surface-muted);
|
|
37971
|
+
--rb-reg-summary-border: var(--er-border);
|
|
37972
|
+
--rb-reg-focus-ring: var(--er-focus-ring);
|
|
37973
|
+
--rb-reg-shell-line: var(--er-shell-line);
|
|
37937
37974
|
}
|
|
37938
37975
|
`;
|
|
37939
37976
|
}
|
|
@@ -38066,25 +38103,40 @@ ${root} {
|
|
|
38066
38103
|
--ab-info-bg: rgba(var(--tb-info), 0.1);
|
|
38067
38104
|
--ab-info-text: rgb(var(--tb-info));
|
|
38068
38105
|
|
|
38069
|
-
/*
|
|
38106
|
+
/* Muted summary state */
|
|
38070
38107
|
--ab-muted-bg: rgba(var(--tb-text), 0.05);
|
|
38071
|
-
--ab-muted-text: rgba(var(--tb-text), 0.6);
|
|
38072
|
-
--ab-spinner-color: rgb(var(--tb-primary));
|
|
38073
38108
|
|
|
38074
|
-
/*
|
|
38075
|
-
--ab-input-border: rgb(var(--tb-border));
|
|
38109
|
+
/* Focus ring used by shared registration-surface controls */
|
|
38076
38110
|
--ab-input-focus-ring: rgba(var(--tb-primary), 0.3);
|
|
38077
38111
|
|
|
38078
|
-
/*
|
|
38079
|
-
|
|
38080
|
-
|
|
38081
|
-
|
|
38082
|
-
--
|
|
38083
|
-
--
|
|
38084
|
-
|
|
38085
|
-
|
|
38086
|
-
--
|
|
38087
|
-
--
|
|
38112
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38113
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38114
|
+
(palette tokens where no --ab-* var exists) so --ab-* overrides keep
|
|
38115
|
+
working as the block adopts the shared classes. */
|
|
38116
|
+
--rb-reg-radius: var(--ab-card-radius, var(--rb-block-radius));
|
|
38117
|
+
--rb-reg-border: var(--ab-card-border);
|
|
38118
|
+
--rb-reg-border-hover: var(--ab-card-border-hover);
|
|
38119
|
+
--rb-reg-border-selected: var(--ab-card-border-selected);
|
|
38120
|
+
--rb-reg-bg-selected: var(--ab-card-bg-selected);
|
|
38121
|
+
--rb-reg-option-bg: transparent;
|
|
38122
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38123
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38124
|
+
--rb-reg-on-surface: rgb(var(--tb-onSurface, var(--tb-text)));
|
|
38125
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38126
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38127
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38128
|
+
--rb-reg-check-bg: var(--ab-check-bg);
|
|
38129
|
+
--rb-reg-check-text: var(--ab-check-text);
|
|
38130
|
+
--rb-reg-step-active: rgb(var(--tb-primary));
|
|
38131
|
+
--rb-reg-step-completed: rgb(var(--tb-success));
|
|
38132
|
+
--rb-reg-step-inactive: rgb(var(--tb-mutedText));
|
|
38133
|
+
--rb-reg-step-text: rgb(255 255 255);
|
|
38134
|
+
--rb-reg-step-text-active: rgb(var(--tb-primaryText, 255 255 255));
|
|
38135
|
+
--rb-reg-step-connector: rgba(var(--tb-border), 0.5);
|
|
38136
|
+
--rb-reg-summary-bg: var(--ab-muted-bg);
|
|
38137
|
+
--rb-reg-summary-border: var(--ab-card-border);
|
|
38138
|
+
--rb-reg-focus-ring: var(--ab-input-focus-ring);
|
|
38139
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38088
38140
|
}
|
|
38089
38141
|
`;
|
|
38090
38142
|
}
|
|
@@ -38375,6 +38427,35 @@ ${root} {
|
|
|
38375
38427
|
/* Summary */
|
|
38376
38428
|
--cr-summary-bg: rgba(var(--tb-primary), 0.1);
|
|
38377
38429
|
--cr-summary-border: rgb(var(--tb-border));
|
|
38430
|
+
|
|
38431
|
+
/* Shared registration-surface mappings (issue 1174).
|
|
38432
|
+
Route the shared --rb-reg-* contract through this block's Tier 3 vars
|
|
38433
|
+
(palette tokens where no --cr-* var exists) so existing --cr-* overrides
|
|
38434
|
+
keep working unchanged. */
|
|
38435
|
+
--rb-reg-radius: var(--rb-block-radius);
|
|
38436
|
+
--rb-reg-border: var(--cr-border);
|
|
38437
|
+
--rb-reg-border-hover: var(--cr-border-hover);
|
|
38438
|
+
--rb-reg-border-selected: var(--cr-border-selected);
|
|
38439
|
+
--rb-reg-bg-selected: var(--cr-payment-bg-selected);
|
|
38440
|
+
--rb-reg-option-bg: rgb(var(--tb-background));
|
|
38441
|
+
--rb-reg-option-hover-shadow: 0 8px 18px rgba(var(--tb-shadow, 15 23 42), 0.08);
|
|
38442
|
+
--rb-reg-surface-bg: rgb(var(--tb-surface));
|
|
38443
|
+
--rb-reg-on-surface: var(--cr-on-surface);
|
|
38444
|
+
--rb-reg-on-surface-muted: rgba(var(--tb-onSurface, var(--tb-text)), 0.7);
|
|
38445
|
+
--rb-reg-on-surface-subtle: rgba(var(--tb-onSurface, var(--tb-text)), 0.6);
|
|
38446
|
+
--rb-reg-on-surface-faint: rgba(var(--tb-onSurface, var(--tb-text)), 0.5);
|
|
38447
|
+
--rb-reg-check-bg: var(--cr-check-bg);
|
|
38448
|
+
--rb-reg-check-text: var(--cr-check-text);
|
|
38449
|
+
--rb-reg-step-active: var(--cr-step-active);
|
|
38450
|
+
--rb-reg-step-completed: var(--cr-step-completed);
|
|
38451
|
+
--rb-reg-step-inactive: var(--cr-step-inactive);
|
|
38452
|
+
--rb-reg-step-text: var(--cr-step-text);
|
|
38453
|
+
--rb-reg-step-text-active: var(--cr-step-text-active);
|
|
38454
|
+
--rb-reg-step-connector: var(--cr-step-connector);
|
|
38455
|
+
--rb-reg-summary-bg: var(--cr-summary-bg);
|
|
38456
|
+
--rb-reg-summary-border: var(--cr-summary-border);
|
|
38457
|
+
--rb-reg-focus-ring: var(--cr-focus-ring);
|
|
38458
|
+
--rb-reg-shell-line: rgba(var(--tb-mutedText, 100 116 139), 0.22);
|
|
38378
38459
|
}
|
|
38379
38460
|
`;
|
|
38380
38461
|
}
|
|
@@ -40011,6 +40092,10 @@ var MultiPageUpdateResponse = z69.object({
|
|
|
40011
40092
|
function isSupportedLoaderEndpoint2(endpoint) {
|
|
40012
40093
|
return SUPPORTED_LOADER_ENDPOINTS.includes(endpoint);
|
|
40013
40094
|
}
|
|
40095
|
+
var defaultPrefetchBlockDataDeps = {
|
|
40096
|
+
prefetchBlockDataCore: prefetchBlockData,
|
|
40097
|
+
normalizeLoaderParams
|
|
40098
|
+
};
|
|
40014
40099
|
var ENTRY_REF_KEYS = [
|
|
40015
40100
|
"identifier",
|
|
40016
40101
|
"entryIdentifier",
|
|
@@ -40273,18 +40358,27 @@ async function getPublicWeeklySlotAvailability({ client, params }) {
|
|
|
40273
40358
|
});
|
|
40274
40359
|
}
|
|
40275
40360
|
async function prefetchBlockData2(page, context, client, options) {
|
|
40361
|
+
return prefetchBlockDataWithDeps(
|
|
40362
|
+
defaultPrefetchBlockDataDeps,
|
|
40363
|
+
page,
|
|
40364
|
+
context,
|
|
40365
|
+
client,
|
|
40366
|
+
options
|
|
40367
|
+
);
|
|
40368
|
+
}
|
|
40369
|
+
async function prefetchBlockDataWithDeps(deps, page, context, client, options) {
|
|
40276
40370
|
const { customBlocks } = options ?? {};
|
|
40277
40371
|
const customBlockMap = new Map(
|
|
40278
40372
|
(customBlocks ?? []).map((block) => [block.id, block])
|
|
40279
40373
|
);
|
|
40280
|
-
return
|
|
40374
|
+
return deps.prefetchBlockDataCore(page, context, {
|
|
40281
40375
|
apiClient: async ({ endpoint, params }) => {
|
|
40282
40376
|
if (!isSupportedLoaderEndpoint2(endpoint)) {
|
|
40283
40377
|
throw new Error(
|
|
40284
40378
|
`Unsupported loader endpoint: ${endpoint}. SDK only supports: ${SUPPORTED_LOADER_ENDPOINTS.join(", ")}`
|
|
40285
40379
|
);
|
|
40286
40380
|
}
|
|
40287
|
-
const resolvedParams = normalizeLoaderParams(endpoint, params, context);
|
|
40381
|
+
const resolvedParams = deps.normalizeLoaderParams(endpoint, params, context);
|
|
40288
40382
|
return await loaderAdapters[endpoint]({ client, params: resolvedParams });
|
|
40289
40383
|
},
|
|
40290
40384
|
isValidEndpoint: isSupportedLoaderEndpoint2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LeafletStaticMap } from './chunk-
|
|
1
|
+
import { LeafletStaticMap } from './chunk-5DLGREUB.mjs';
|
|
2
2
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
3
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
4
|
-
import { normalizeLocationAddressText, toLocationCoordinates, textColorStyle, mergeStyles, borderColorStyle, backgroundColorStyle } from './chunk-
|
|
3
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
4
|
+
import { normalizeLocationAddressText, toLocationCoordinates, textColorStyle, mergeStyles, borderColorStyle, backgroundColorStyle } from './chunk-IIUIKJ4K.mjs';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
// ../blocks/src/system/runtime/nodes/location-map.shared.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { getFieldValidationControlProps, FieldValidationMessage } from './chunk-3DCJ45Z2.mjs';
|
|
3
3
|
import { isSpamProtectionEnabled, AltchaWidget, getChallengeUrl } from './chunk-LJCX6V7Q.mjs';
|
|
4
|
-
import { BlockApiProvider, useBlockApi, FeedbackMessage } from './chunk-
|
|
4
|
+
import { BlockApiProvider, useBlockApi, FeedbackMessage } from './chunk-IOAHWAQG.mjs';
|
|
5
5
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
6
|
-
import { defineIslandPropsDecoder, themeButtonClassName, assertNever } from './chunk-
|
|
7
|
-
import { clsx_default } from './chunk-
|
|
6
|
+
import { defineIslandPropsDecoder, themeButtonClassName, assertNever } from './chunk-CYJ3MUFP.mjs';
|
|
7
|
+
import { clsx_default } from './chunk-IIUIKJ4K.mjs';
|
|
8
8
|
import { useReducer, useState } from 'react';
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { mountShopBlockIsland, ProductDetailClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, ProductDetailClient } from './chunk-R32M5HFS.mjs';
|
|
2
|
+
import './chunk-ZU65LTI3.mjs';
|
|
3
|
+
import './chunk-H3H3ODO7.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
5
|
import './chunk-L4J5Y62O.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-WBQG7VJA.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-IOAHWAQG.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
12
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/productDetail.tsx
|
|
15
15
|
var decode = defineIslandPropsDecoder("product-detail");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { mountShopBlockIsland, ProductListClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, ProductListClient } from './chunk-R32M5HFS.mjs';
|
|
2
|
+
import './chunk-ZU65LTI3.mjs';
|
|
3
|
+
import './chunk-H3H3ODO7.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
5
|
import './chunk-L4J5Y62O.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-CLZ7NBSP.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-WBQG7VJA.mjs';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-IOAHWAQG.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-CYJ3MUFP.mjs';
|
|
12
|
+
import './chunk-IIUIKJ4K.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/productList.tsx
|
|
15
15
|
var decode = defineIslandPropsDecoder("product-list");
|