@riverbankcms/sdk 0.155.0 → 0.156.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-CbSbqmz3.mjs → PreviewEditorSidebar-B4ESNPzL.mjs} +3 -3
- package/dist/{PreviewEditorUI-CKKnAw11.mjs → PreviewEditorUI-BdUVaGOh.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-wLkXrWy9.mjs → SdkPreviewModeRuntime-C4V3BvxK.mjs} +1122 -1079
- package/dist/{SiteChromeCustomizeContext-BQ8vvKb-.mjs → SiteChromeCustomizeContext-3gmd26Mn.mjs} +1019 -517
- package/dist/_dts/ai/src/contracts/proposals.d.ts +624 -624
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +856 -856
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/aiPlayground.d.ts +2 -2
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -22
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -2
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +1 -1
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/types.d.ts +2 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/sdkBlockContentAdmission.d.ts +1 -1
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkPageDesign.d.ts +9 -9
- package/dist/_dts/api/src/sdkThemeWire.d.ts +182 -182
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +2 -2
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridMoveAnimation.d.ts +13 -0
- package/dist/_dts/blocks/src/client/portal.d.ts +5 -0
- package/dist/_dts/blocks/src/contracts/event-registration.d.ts +141 -0
- package/dist/_dts/blocks/src/contracts/events.d.ts +21 -0
- package/dist/_dts/blocks/src/contracts/footer.d.ts +130 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/site-chrome.d.ts +10 -0
- package/dist/_dts/blocks/src/customer-portal/client.d.ts +62 -0
- package/dist/_dts/blocks/src/customer-portal/components/PortalLoginForm.d.ts +16 -0
- package/dist/_dts/blocks/src/customer-portal/components/badge.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/AppointmentBeforeYouComeTask.d.ts +29 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsSection.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsTable.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventRow.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationRow.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationTableRow.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/PortalAppointmentRescheduleFlow.d.ts +7 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/ScalarQuestionInput.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistCard.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistsSection.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/bookingsTypes.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventGuestDrafts.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventSeriesRegistrationPresentation.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.d.ts +36 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.state.d.ts +43 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/OrdersSection.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/orderInteraction.d.ts +63 -0
- package/dist/_dts/blocks/src/customer-portal/components/portal-modal.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/portalDeepLink.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.d.ts +13 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.state.d.ts +32 -0
- package/dist/_dts/blocks/src/customer-portal/pages/AccessState.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/pages/DigitalProductView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PageChrome.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PrintButton.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketCode.d.ts +3 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/route-client.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/bookingRoute.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/checkoutUrls.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/shared/signedUrlUpload.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/shared/urlParams.d.ts +30 -0
- package/dist/_dts/blocks/src/customer-portal/state.d.ts +196 -0
- package/dist/_dts/blocks/src/customer-portal/tabs.d.ts +17 -0
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +13 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +7 -14
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +1 -25
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +1 -141
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -135
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -129
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -5
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +2 -5
- package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +82 -82
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +21 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +87 -3
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/schemas/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +16 -27
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +2 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/form.types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/AppointmentRescheduleSlotOptions.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.d.ts +73 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.state.d.ts +62 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +1 -4
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -1
- package/dist/_dts/core/src/date-display.d.ts +4 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +13 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewEditingModeProvider.d.ts +7 -0
- package/dist/_dts/sdk/src/bookings/types.d.ts +0 -1
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/portal.d.ts +41 -0
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +4 -9
- package/dist/_dts/sdk/src/next/types.d.ts +8 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -0
- package/dist/_dts/sdk/src/portal/index.d.ts +4 -36
- package/dist/_dts/sdk/src/portal/token.d.ts +4 -20
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -28
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -41
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +2 -2
- package/dist/_dts/theme-core/src/cards/types.d.ts +34 -34
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +255 -255
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +294 -294
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +12 -12
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +27 -27
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/client/{BookingMailingListNote-CiW1dsz7.mjs → BookingMailingListNote-B9mP3Io9.mjs} +2 -2
- package/dist/client/{CardListItem-DVYTlYpS.mjs → CardListItem-D5rL2wPv.mjs} +3 -3
- package/dist/client/{CheckboxChoice-CUnPrBlC.mjs → CheckboxChoice-Bz6wLaBl.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DEsn5F2C.mjs → DemoBookingPortalAccess-7BPVzfLU.mjs} +6 -10
- package/dist/client/{EventCombined.client-BdctbwnV.mjs → EventCombined.client-DZH5qHJl.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-DAhQs6Jb.mjs → EventEmbeddedCheckoutStep-CV31Qvn2.mjs} +2 -2
- package/dist/client/{EventListing.client-BviZXfAE.mjs → EventListing.client-C19sjRGF.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BLTECfjU.mjs → LeafletStaticMap-DjUjYdzQ.mjs} +1 -1
- package/dist/client/{RichText-D3oE1_pw.mjs → RichText-DkKcVZwr.mjs} +2 -2
- package/dist/client/{ThemedButton-Ckj0Rfr_.mjs → ThemedButton-CTgpAXfL.mjs} +1 -1
- package/dist/client/{accordion-yBx6d4O2.mjs → accordion-R2-q5wo-.mjs} +1 -1
- package/dist/client/{bookingForm-CPDEsQci.mjs → bookingForm-VSU8nIdO.mjs} +12 -16
- package/dist/client/bookings.mjs +352 -64
- package/dist/client/{carousel-DCqjwd2s.mjs → carousel-BjPlY4ee.mjs} +2 -2
- package/dist/client/{carousel.client-Bx7XMF8-.mjs → carousel.client-Tnwvm0l1.mjs} +1 -1
- package/dist/client/{cart-DWJXrQxs.mjs → cart-DAPYTOP7.mjs} +3 -3
- package/dist/client/{checkout-CH4ypSLS.mjs → checkout-DGJTx4vB.mjs} +3 -3
- package/dist/client/client.mjs +61275 -61217
- package/dist/client/{context-BOs0m_iw.mjs → context-ByZBoKdq.mjs} +92 -209
- package/dist/client/{eventCalendar-CRylMllc.mjs → eventCalendar-CP5Z7iME.mjs} +8 -8
- package/dist/client/{eventCombined-DohTS3kp.mjs → eventCombined-D8nbUyxu.mjs} +4 -4
- package/dist/client/{eventDetails-qf-u9zcF.mjs → eventDetails-Bknq8k7E.mjs} +46 -44
- package/dist/client/{eventListing-Cg__X2vy.mjs → eventListing-BwMnPteX.mjs} +4 -4
- package/dist/client/{eventRegistration-CybWxswy.mjs → eventRegistration-COFk1mjw.mjs} +11 -11
- package/dist/client/{form-C-SGk6nq.mjs → form-BiWLd_me.mjs} +5 -5
- package/dist/client/{headerSection-BdzPaHqo.mjs → headerSection-BptDP4xF.mjs} +3 -3
- package/dist/client/hooks.mjs +22850 -22861
- package/dist/client/{locationMap-CEwIKmMb.mjs → locationMap-B-kPoqcK.mjs} +3 -3
- package/dist/client/{media-V_ShXXru.mjs → media-FjqQK4qS.mjs} +68 -1
- package/dist/client/{newsletterForm-CmwTltoS.mjs → newsletterForm-s_B8fCtT.mjs} +4 -4
- package/dist/client/portal/client.mjs +17419 -0
- package/dist/client/{productDetail-DjIzUwg3.mjs → productDetail-CS3GZMPi.mjs} +3 -3
- package/dist/client/{productList-D6JGFnMF.mjs → productList-Csc3WJDs.mjs} +3 -3
- package/dist/client/{propsDecoder-BRKz13eg.mjs → propsDecoder-Dn68GoQZ.mjs} +502 -2705
- package/dist/client/rendering/client.mjs +3303 -3612
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +46273 -46220
- package/dist/client/{routeIslandApiConfig-slAAILQ5.mjs → routeIslandApiConfig-DeBuevOO.mjs} +1 -1
- package/dist/client/{shop-C45K96_0.mjs → shop-B5EQbeUX.mjs} +7 -7
- package/dist/client/{shop-commerce-oGBiKT5d.mjs → shop-commerce-DYs7PdNL.mjs} +8 -8
- package/dist/client/{shop-commerce-store-H_HFPFZ8.mjs → shop-commerce-store-B2-DIPbg.mjs} +1 -1
- package/dist/client/{shopShared-D54T_LAV.mjs → shopShared-CE302Pfy.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-Dm2EUa03.mjs → useDiscountCodeUi-BZ02FBrV.mjs} +1 -1
- package/dist/client/{useEventPagination-0l_A8CxG.mjs → useEventPagination-VudQWKtG.mjs} +116 -6
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CjTM32Ah.mjs → sdk-runtime-C8Qh6r51.mjs} +1 -1
- package/dist/server/components.mjs +927 -262
- package/dist/server/config-template-validation.mjs +5 -3
- package/dist/server/config-validation.mjs +35200 -35211
- package/dist/server/config.mjs +35200 -35211
- package/dist/server/data.mjs +32783 -32794
- package/dist/server/date-time.mjs +14 -7
- package/dist/server/index.mjs +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +71470 -70677
- package/dist/server/page-converter.mjs +202 -213
- package/dist/server/portal.mjs +5 -51
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1180 -722
- package/dist/server/rendering.mjs +922 -262
- package/dist/server/routing.mjs +39382 -41704
- package/dist/server/server.mjs +203 -214
- package/dist/server/theme-bridge.mjs +262 -2
- package/dist/{spinner-KVVZh8jd.mjs → spinner-Bi68Z_0o.mjs} +1 -1
- package/dist/styles/index.css +258 -2
- package/package.json +9 -1
- package/dist/_dts/sdk/src/portal/config.d.ts +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _n as createHostedBlockApiConfig } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
2
2
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
3
3
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
4
4
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ni as assertNever$1,
|
|
3
|
-
import { d as readDemoBookingCheckoutReturnEmail, f as storeDemoBookingCheckoutReturn, g as useSiteTermsAgreement, o as SiteTermsAgreementField, s as SiteTermsChangedNotice, t as BookingConfirmation, v as DiscountCodeDisclosure } from "./DemoBookingPortalAccess-
|
|
4
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { Ni as assertNever$1, cr as getShopSuccessCopy, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder, wr as assertNever } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { d as readDemoBookingCheckoutReturnEmail, f as storeDemoBookingCheckoutReturn, g as useSiteTermsAgreement, o as SiteTermsAgreementField, s as SiteTermsChangedNotice, t as BookingConfirmation, v as DiscountCodeDisclosure } from "./DemoBookingPortalAccess-7BPVzfLU.mjs";
|
|
4
|
+
import { n as ThemedButton } from "./ThemedButton-CTgpAXfL.mjs";
|
|
5
5
|
import { n as scrollToBlock, t as CheckIcon } from "./CheckIcon-CpyXr-Kg.mjs";
|
|
6
6
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DS92SRVZ.mjs";
|
|
7
|
-
import { D as consumeSearchParams, _ 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-
|
|
7
|
+
import { D as consumeSearchParams, _ 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-CE302Pfy.mjs";
|
|
8
8
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
9
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
10
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
11
|
-
import { n as useBlockApi } from "./context-
|
|
12
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BZ02FBrV.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-ByZBoKdq.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-B2-DIPbg.mjs";
|
|
13
13
|
import { t as ModalShell } from "./ModalShell-BXzucfR6.mjs";
|
|
14
14
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { d as readDemoBookingCheckoutReturnEmail, f as storeDemoBookingCheckoutReturn, g as useSiteTermsAgreement, n as DemoBookingPortalAccess, o as SiteTermsAgreementField, s as SiteTermsChangedNotice, v as DiscountCodeDisclosure } from "./DemoBookingPortalAccess-
|
|
4
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { Sr as RichTextDocSchema, Tr as clearWorkflowFeedback, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, er as logger, i as buildProductCardDisplay, kr as reportWorkflowError, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem, wr as assertNever } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { d as readDemoBookingCheckoutReturnEmail, f as storeDemoBookingCheckoutReturn, g as useSiteTermsAgreement, n as DemoBookingPortalAccess, o as SiteTermsAgreementField, s as SiteTermsChangedNotice, v as DiscountCodeDisclosure } from "./DemoBookingPortalAccess-7BPVzfLU.mjs";
|
|
4
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-CTgpAXfL.mjs";
|
|
5
5
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-ChxwaNtO.mjs";
|
|
6
|
-
import { C as ProductGalleryFrameView, E as consumeSearchParam, 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-
|
|
6
|
+
import { C as ProductGalleryFrameView, E as consumeSearchParam, 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-CE302Pfy.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
9
|
-
import { t as RichText } from "./RichText-
|
|
10
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
8
|
+
import { n as useBlockApi } from "./context-ByZBoKdq.mjs";
|
|
9
|
+
import { t as RichText } from "./RichText-DkKcVZwr.mjs";
|
|
10
|
+
import { t as CarouselNodeClient } from "./carousel.client-Tnwvm0l1.mjs";
|
|
11
11
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
12
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-B2-DIPbg.mjs";
|
|
13
13
|
import * as React$1 from "react";
|
|
14
14
|
import { useEffect, useState } from "react";
|
|
15
15
|
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-Dn68GoQZ.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,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { wr as assertNever } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
3
|
import { v as err, y as ok } from "./renderableMediaAssetAdmission-Cd3JSw2H.mjs";
|
|
4
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
4
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-7BPVzfLU.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
6
|
-
import { t as BlockApiProvider } from "./context-
|
|
6
|
+
import { t as BlockApiProvider } from "./context-ByZBoKdq.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
8
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DeBuevOO.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { useCallback } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-7BPVzfLU.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/StateIcon.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import { t as ImagePresets } from "./media-
|
|
4
|
-
import { i as ClockIcon, n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
5
|
-
import { a as resolveEventCta, i as MediaNodeServer, n as CardListLeadDate, o as resolveEventLinkProps, r as resolveCardListSchedule, t as CardListContentPart } from "./CardListItem-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { $n as listLookSlot, $r as resolveTokenOrCssColorValue, An as eventLocalDateKey, Cn as normalizeOptionalId, Fn as formatEventTimeRange, Gn as getEventAvailabilityStatus, Hn as formatEventRemainingPlaces, In as formatTime, Mn as formatEventCompactDateRail, Pn as formatEventNextDateFact, Qr as resolveOnColorForThemeToken, Sn as normalizeCsvString, Tn as formatEventPrice, Zn as listItemPresentation, Zr as isCssColorLiteral, bn as getEventRuntimeFiltersKey, ei as relativeLuminance, jn as formatDate, kn as eventDateOptions, ni as normalizeCardRole, qr as boxBackgroundSchema, ti as hexToRgb, vn as getBlockApiReadStage, wr as assertNever, xn as normalizeCsvIds } from "./propsDecoder-Dn68GoQZ.mjs";
|
|
3
|
+
import { t as ImagePresets } from "./media-FjqQK4qS.mjs";
|
|
4
|
+
import { i as ClockIcon, n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-CTgpAXfL.mjs";
|
|
5
|
+
import { a as resolveEventCta, i as MediaNodeServer, n as CardListLeadDate, o as resolveEventLinkProps, r as resolveCardListSchedule, t as CardListContentPart } from "./CardListItem-D5rL2wPv.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-ByZBoKdq.mjs";
|
|
7
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-DjUjYdzQ.mjs";
|
|
8
8
|
import React, { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
@@ -760,6 +760,116 @@ function useEventCollectionFilters(source) {
|
|
|
760
760
|
};
|
|
761
761
|
}
|
|
762
762
|
//#endregion
|
|
763
|
+
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
764
|
+
/**
|
|
765
|
+
* Safely narrows unknown values to partial object shapes used by transforms.
|
|
766
|
+
* Arrays are intentionally excluded.
|
|
767
|
+
*/
|
|
768
|
+
function asPartialObject(value) {
|
|
769
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return;
|
|
770
|
+
return value;
|
|
771
|
+
}
|
|
772
|
+
//#endregion
|
|
773
|
+
//#region ../blocks/src/system/spacing.ts
|
|
774
|
+
/**
|
|
775
|
+
* Type-safe spacing system for sections and containers.
|
|
776
|
+
*
|
|
777
|
+
* This module provides:
|
|
778
|
+
* - Semantic spacing values (none, compact, cozy, medium, comfortable, spacious)
|
|
779
|
+
* - Type-safe mappings to CSS class tokens
|
|
780
|
+
* - Runtime validation via type guards
|
|
781
|
+
* - Separate handling for section (vertical) vs container (all-sides) spacing
|
|
782
|
+
*
|
|
783
|
+
* Type Safety Guarantees:
|
|
784
|
+
* - Type is derived from data (single source of truth)
|
|
785
|
+
* - Maps are validated for completeness at compile time
|
|
786
|
+
* - Runtime validation available via isSemanticSpacing()
|
|
787
|
+
*/
|
|
788
|
+
/**
|
|
789
|
+
* Single source of truth for semantic spacing values.
|
|
790
|
+
* The SemanticSpacing type is derived from this array to ensure they stay in sync.
|
|
791
|
+
*
|
|
792
|
+
* Adding a new spacing value:
|
|
793
|
+
* 1. Add it to this array
|
|
794
|
+
* 2. TypeScript will error until you update both spacing maps
|
|
795
|
+
* 3. No way to get out of sync
|
|
796
|
+
*/
|
|
797
|
+
const SEMANTIC_SPACING_VALUES = [
|
|
798
|
+
"none",
|
|
799
|
+
"compact",
|
|
800
|
+
"cozy",
|
|
801
|
+
"medium",
|
|
802
|
+
"comfortable",
|
|
803
|
+
"spacious"
|
|
804
|
+
];
|
|
805
|
+
/**
|
|
806
|
+
* Runtime type guard for validating spacing values.
|
|
807
|
+
* Use this at system boundaries where data enters from external sources.
|
|
808
|
+
*
|
|
809
|
+
* @param value - Unknown value to validate
|
|
810
|
+
* @returns true if value is a valid SemanticSpacing, with type narrowing
|
|
811
|
+
*
|
|
812
|
+
* @example
|
|
813
|
+
* const userInput = 'medium';
|
|
814
|
+
* if (isSemanticSpacing(userInput)) {
|
|
815
|
+
* // TypeScript knows userInput is SemanticSpacing here
|
|
816
|
+
* const classes = resolveSpacing(userInput, 'y');
|
|
817
|
+
* }
|
|
818
|
+
*/
|
|
819
|
+
function isSemanticSpacing(value) {
|
|
820
|
+
return typeof value === "string" && SEMANTIC_SPACING_VALUES.includes(value);
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* Type-safe mapping from semantic spacing to CSS classes for sections (y-axis).
|
|
824
|
+
*
|
|
825
|
+
* Sections use vertical padding only to control spacing between blocks.
|
|
826
|
+
* Horizontal padding (px-6) is handled separately via baseClass.
|
|
827
|
+
*
|
|
828
|
+
* The `satisfies` operator ensures all SemanticSpacing values are present at compile time.
|
|
829
|
+
* TypeScript will error if any spacing value is missing or if extra keys exist.
|
|
830
|
+
*/
|
|
831
|
+
const SECTION_SPACING_MAP = {
|
|
832
|
+
none: "rb-section-pad-none",
|
|
833
|
+
compact: "rb-section-pad-compact",
|
|
834
|
+
cozy: "rb-section-pad-cozy",
|
|
835
|
+
medium: "rb-section-pad-medium",
|
|
836
|
+
comfortable: "rb-section-pad-comfortable",
|
|
837
|
+
spacious: "rb-section-pad-spacious"
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* Type-safe mapping from semantic spacing to CSS classes for containers (all sides).
|
|
841
|
+
*
|
|
842
|
+
* Containers use padding on all sides for internal content spacing.
|
|
843
|
+
*
|
|
844
|
+
* The `satisfies` operator ensures all SemanticSpacing values are present at compile time.
|
|
845
|
+
*/
|
|
846
|
+
const CONTAINER_SPACING_MAP = {
|
|
847
|
+
none: "rb-container-pad-none",
|
|
848
|
+
compact: "rb-container-pad-compact",
|
|
849
|
+
cozy: "rb-container-pad-cozy",
|
|
850
|
+
medium: "rb-container-pad-medium",
|
|
851
|
+
comfortable: "rb-container-pad-comfortable",
|
|
852
|
+
spacious: "rb-container-pad-spacious"
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* Resolve semantic spacing to CSS classes based on axis.
|
|
856
|
+
*
|
|
857
|
+
* This function guarantees that valid SemanticSpacing values always return a result.
|
|
858
|
+
* Since spacing is typed, there's no need for fallback logic.
|
|
859
|
+
*
|
|
860
|
+
* @param spacing - Semantic spacing value (validated at compile time)
|
|
861
|
+
* @param axis - Which axis to apply padding ('y' for sections, 'all' for containers)
|
|
862
|
+
* @returns CSS class token string
|
|
863
|
+
*
|
|
864
|
+
* @example
|
|
865
|
+
* resolveSpacing('medium', 'y') // => 'rb-section-pad-medium'
|
|
866
|
+
* resolveSpacing('medium', 'all') // => 'rb-container-pad-medium'
|
|
867
|
+
* resolveSpacing('compact') // => 'rb-section-pad-compact' (defaults to 'y' axis)
|
|
868
|
+
*/
|
|
869
|
+
function resolveSpacing(spacing, axis = "y") {
|
|
870
|
+
return (axis === "y" ? SECTION_SPACING_MAP : CONTAINER_SPACING_MAP)[spacing];
|
|
871
|
+
}
|
|
872
|
+
//#endregion
|
|
763
873
|
//#region ../blocks/src/system/fields/backgroundContent.ts
|
|
764
874
|
function parseBackgroundContent(value) {
|
|
765
875
|
const result = boxBackgroundSchema.safeParse(value);
|
|
@@ -4,13 +4,13 @@ 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-C4V3BvxK.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-C8Qh6r51.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-C8Qh6r51.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewQueryProvider-AR9eEn7j.mjs";
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-C4V3BvxK.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|