@riverbankcms/sdk 0.109.0 → 0.111.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-DWqwfy3_.mjs → PreviewEditorSidebar-CTR6LUhN.mjs} +178 -117
- package/dist/{PreviewEditorUI-B7OL4sfR.mjs → PreviewEditorUI-DZg15Zip.mjs} +3 -4
- package/dist/{PreviewQueryProvider-D0y2l8JN.mjs → PreviewQueryProvider-kkmjklLG.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-D8Gt9Gbe.mjs → SdkPreviewModeRuntime-DeOTAFvR.mjs} +229 -219
- package/dist/{SiteChromeCustomizeContext-DUpalEdL.mjs → SiteChromeCustomizeContext-DOSDLCiJ.mjs} +1695 -2169
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1716 -76
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/contentRuntime.d.ts +4 -1
- package/dist/_dts/api/src/courses.d.ts +30 -15
- package/dist/_dts/api/src/endpoints.d.ts +14 -4
- package/dist/_dts/api/src/index.d.ts +2 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +23 -11
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/siteOperations.d.ts +11 -19
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -6
- package/dist/_dts/api/src/webhooks.d.ts +98 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +3 -0
- package/dist/_dts/blocks/src/client/course-registration.d.ts +4 -1
- package/dist/_dts/blocks/src/client.d.ts +4 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -4
- package/dist/_dts/blocks/src/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +2 -4
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +2 -1
- package/dist/_dts/blocks/src/system/constants/buttonRoles.d.ts +35 -0
- package/dist/_dts/blocks/src/system/fields/button.d.ts +10 -21
- package/dist/_dts/blocks/src/system/fields/ctas.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +9 -5
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/buttonAffordance.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/ErrorStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/PaymentFailedStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/VerifyingTimeoutStep.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +326 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.planning.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +5 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/file-download.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +7 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +4 -2
- package/dist/_dts/content-editor/src/index.d.ts +12 -12
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +17 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +221 -53
- package/dist/_dts/editor-blocks/src/widgets/button/context.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/index.d.ts +3 -2
- package/dist/_dts/preview-next/src/client/preview/ButtonStylePicker.d.ts +16 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/PreviewDesignOpenRequestContext.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +5 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +5 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +7 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +4 -11
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +7 -7
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +0 -8
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +1 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +1 -5
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +2 -3
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +3 -5
- package/dist/_dts/sdk/src/bookings/index.d.ts +5 -4
- package/dist/_dts/sdk/src/bookings/types.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +3 -2
- package/dist/_dts/sdk/src/client/management/types.d.ts +2 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +12 -15
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/index.d.ts +1 -1
- package/dist/_dts/sdk/src/webhooks/verify.d.ts +3 -3
- package/dist/_dts/site-commands/src/commands.d.ts +129 -6
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +80 -0
- package/dist/_dts/theme-core/src/buttons/styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/defineStaticButtonStyleRecipe.d.ts +49 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +67 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +649 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +753 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +69 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +26 -24
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +19 -153
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +8 -9
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +4 -4
- package/dist/_dts/ui/src/palette/hex.d.ts +3 -3
- package/dist/cli/index.mjs +1760 -1914
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +1 -1
- package/dist/client/{DiscountCodeDisclosure-DU1ygxU2.mjs → DiscountCodeDisclosure-C4xvTBux.mjs} +1 -1
- package/dist/client/{EventCombined.client-DB5zagCo.mjs → EventCombined.client-Cr7G131j.mjs} +2 -3
- package/dist/client/{EventListing.client-CTX9JHBL.mjs → EventListing.client-CAjbseNy.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BYImhgiB.mjs → LeafletStaticMap-BMlWfwz3.mjs} +1 -1
- package/dist/client/{MagicLinkForm-CRkw_M3l.mjs → MagicLinkForm-ChdFz96y.mjs} +1 -2
- package/dist/client/{StepIndicator-BnmVBJJh.mjs → StepIndicator-7D3GaBeM.mjs} +2 -2
- package/dist/client/{accordion-CeGreumd.mjs → accordion-D8JTs2Si.mjs} +1 -1
- package/dist/client/{bookingForm-CSzFNrpN.mjs → bookingForm-H3DCRBHs.mjs} +6 -7
- package/dist/client/bookings.mjs +3069 -1447
- package/dist/client/{carousel-B2jDtogf.mjs → carousel-DMr_QWlz.mjs} +1 -1
- package/dist/client/{cart-D-jZ-vaY.mjs → cart-DWMbfBdR.mjs} +3 -3
- package/dist/client/{checkout-Dza-LA7N.mjs → checkout-zmfdkXLx.mjs} +3 -3
- package/dist/client/client.mjs +1732 -1913
- package/dist/client/{colorStyles-CrgzoXsm.mjs → colorStyles-gcTh5yZT.mjs} +2 -12
- package/dist/client/{colorTokenParts-CMugwvX_.mjs → colorTokenParts-FSS3al6l.mjs} +31 -1
- package/dist/client/{courseRegistration-TYkNychb.mjs → courseRegistration-Z_mn18jy.mjs} +100 -37
- package/dist/client/{eventCalendar-BI_90SsT.mjs → eventCalendar-CYp0YJGF.mjs} +4 -5
- package/dist/client/{eventCombined-mNrpryE9.mjs → eventCombined-rKyYZUa9.mjs} +2 -2
- package/dist/client/{eventDetails-D4GVlCIY.mjs → eventDetails-X0ZaUuMj.mjs} +3 -3
- package/dist/client/{eventListing-YhKN018y.mjs → eventListing-W1SuL7EP.mjs} +2 -2
- package/dist/client/{eventRegistration-CdHGtilr.mjs → eventRegistration-ClWricui.mjs} +6 -7
- package/dist/client/{form-AcAL45rA.mjs → form--eKPwAAD.mjs} +1 -2
- package/dist/client/{headerSection-uEC52ueD.mjs → headerSection-BSeGr-FS.mjs} +2 -3
- package/dist/client/hooks.mjs +1554 -1871
- package/dist/client/{locationMap-_wJDSUYe.mjs → locationMap-BpOrtNYn.mjs} +8 -5
- package/dist/client/{media-BK0O3b-U.mjs → media-DoF0dcVx.mjs} +2 -2
- package/dist/client/{newsletterForm-DrArsb2B.mjs → newsletterForm-Bt7it7Dy.mjs} +1 -2
- package/dist/client/{pricing-BSYVghwo.mjs → pricing-BTjSDDr4.mjs} +1 -1
- package/dist/client/{productDetail-Dyk90sMs.mjs → productDetail-ICnVTcCg.mjs} +3 -3
- package/dist/client/{productList-BCKThwAI.mjs → productList-ZHr6D604.mjs} +3 -3
- package/dist/client/{propsDecoder-CkXxkdSR.mjs → propsDecoder-wWN0tBDF.mjs} +2351 -129
- package/dist/client/rendering/client.mjs +1664 -1824
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +1697 -1909
- package/dist/client/{shop-DeltVH10.mjs → shop-C1u_BUn0.mjs} +5 -6
- package/dist/client/{shop-commerce-BD9Jsm2Z.mjs → shop-commerce-CleZdRha.mjs} +5 -6
- package/dist/client/{shop-commerce-store-CmXD6FDS.mjs → shop-commerce-store-ycnoB2Ce.mjs} +1 -1
- package/dist/client/{shopShared-B8v-lH_F.mjs → shopShared-CPhByt2a.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DbWJN8ld.mjs → useDiscountCodeUi-cStSQI6C.mjs} +1 -1
- package/dist/client/{useEventFilters-EJIMUnqT.mjs → useEventFilters-DKPN7hSY.mjs} +26 -27
- package/dist/client/{usePolling-Cmh14fc7.mjs → usePolling-BKAd6pkZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +37 -6
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +37 -6
- package/dist/{previewAuthStore-CTO7CRPk.mjs → previewAuthStore-BkT1D06A.mjs} +37 -6
- package/dist/{sdk-runtime-Dou0GAav.mjs → sdk-runtime-hu3wr3ng.mjs} +2 -2
- package/dist/{separator-CI5wZNXT.mjs → separator-Bln8izQ9.mjs} +1 -1
- package/dist/server/components.mjs +1472 -1788
- package/dist/server/config-validation.mjs +1559 -1876
- package/dist/server/config.mjs +1559 -1876
- package/dist/server/data.mjs +1554 -1871
- package/dist/server/index.mjs +38 -7
- package/dist/server/next/revalidate.mjs +53 -1
- package/dist/server/next.mjs +1584 -1869
- package/dist/server/page-converter.mjs +1543 -1860
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1472 -1788
- package/dist/server/rendering.mjs +1472 -1788
- package/dist/server/routing.mjs +1600 -1891
- package/dist/server/server.mjs +1574 -1860
- package/dist/server/theme-bridge.mjs +1436 -1619
- package/dist/server/theme.mjs +1345 -1241
- package/dist/server/webhooks.mjs +54 -2
- package/package.json +1 -1
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/earth-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/flat-ink.d.ts +0 -20
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +0 -172
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/joy-stamp.d.ts +0 -22
- package/dist/_dts/theme-core/src/buttons/personalities/ornate-ritual.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +0 -16
- package/dist/_dts/theme-core/src/buttons/personalities/two-tone-pill.d.ts +0 -17
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +0 -285
- package/dist/client/buttons-DoFV7KDL.mjs +0 -2115
- package/dist/client/foregroundContract-xICPq59x.mjs +0 -31
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Gt as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder, tt as themeButtonClassName, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
3
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
4
|
-
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
6
|
-
import { r as themeButtonClassName } from "./buttons-DoFV7KDL.mjs";
|
|
4
|
+
import { i as CheckIcon, n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-cStSQI6C.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
7
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
8
7
|
import { t as scrollToBlock } from "./scrollToBlock-C86BYkyV.mjs";
|
|
9
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
10
9
|
import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
|
|
11
10
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
12
|
-
import { _ as MembershipCardView, a as getDiscountApplyFeedback, 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 PassesMembershipsSectionView } from "./shopShared-
|
|
13
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { _ as MembershipCardView, a as getDiscountApplyFeedback, 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 PassesMembershipsSectionView } from "./shopShared-CPhByt2a.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-ycnoB2Ce.mjs";
|
|
14
13
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
15
14
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
16
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as createRichTextDocFromMarkdown,
|
|
3
|
-
import { a as getCurrentResolveImageUrlContext, c as resolveImageUrlWithContext, t as ImagePresets } from "./media-
|
|
2
|
+
import { J as createRichTextDocFromMarkdown, X as isRecord, Y as unwrapRichTextRoot, a as buildProductDetailDisplay, bt as clearWorkflowFeedback, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, tt as themeButtonClassName, u as buildProductCartItem, wt as reportWorkflowError, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
|
+
import { a as getCurrentResolveImageUrlContext, c as resolveImageUrlWithContext, t as ImagePresets } from "./media-DoF0dcVx.mjs";
|
|
4
4
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
6
|
-
import { r as themeButtonClassName } from "./buttons-DoFV7KDL.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
7
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
8
7
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-Ct8Mxna3.mjs";
|
|
9
8
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
10
9
|
import { t as CarouselNodeClient } from "./carousel.client-CpwTUhIo.mjs";
|
|
11
10
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
12
|
-
import { C as ProductListSectionView, S as ProductGalleryFrameView, a as getDiscountApplyFeedback, b as ProductCardView, 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 VariantSelectView, x as ProductDetailView } from "./shopShared-
|
|
13
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { C as ProductListSectionView, S as ProductGalleryFrameView, a as getDiscountApplyFeedback, b as ProductCardView, 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 VariantSelectView, x as ProductDetailView } from "./shopShared-CPhByt2a.mjs";
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-ycnoB2Ce.mjs";
|
|
14
13
|
import * as React$1 from "react";
|
|
15
14
|
import React, { useEffect, useState } from "react";
|
|
16
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-wWN0tBDF.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { _ as err, v as ok } from "./colorTokenParts-FSS3al6l.mjs";
|
|
3
|
+
import { yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
4
|
import { t as BlockApiProvider } from "./context-BGZNlGXB.mjs";
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-ByMrs3cr.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
8
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-C4xvTBux.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckIcon.tsx
|
|
@@ -1,35 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as parseColorTokenParts } from "./colorTokenParts-
|
|
3
|
-
import { A as formatDate, B as resolveEventCta, D as normalizeCsvIds, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, N as formatEventPrice, O as normalizeCsvString,
|
|
4
|
-
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-
|
|
5
|
-
import {
|
|
2
|
+
import { t as parseColorTokenParts } from "./colorTokenParts-FSS3al6l.mjs";
|
|
3
|
+
import { $ as relativeLuminance, A as formatDate, B as resolveEventCta, D as normalizeCsvIds, E as getEventRuntimeFiltersKey, F as formatEventTeacherLine, I as formatTime, N as formatEventPrice, O as normalizeCsvString, U as getEventAvailability, Z as normalizeCardVariantRole, et as hexToRgb, j as formatEventCompactDateRail, k as normalizeOptionalId, nt as parseThemeColorToken, q as normalizeEventBlockKind, tt as themeButtonClassName, yt as assertNever } from "./propsDecoder-wWN0tBDF.mjs";
|
|
4
|
+
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-DoF0dcVx.mjs";
|
|
5
|
+
import { r as rgbColorValue } from "./colorStyles-gcTh5yZT.mjs";
|
|
6
6
|
import { n as useBlockApi } from "./context-BGZNlGXB.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-BYImhgiB.mjs";
|
|
7
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-BMlWfwz3.mjs";
|
|
9
8
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { z as z$1 } from "zod";
|
|
12
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/EmptyState.tsx
|
|
13
|
-
/**
|
|
14
|
-
* EmptyState Component
|
|
15
|
-
* Displays when no events are available.
|
|
16
|
-
* Optionally shows a "Reset filters" button when filters are applied.
|
|
17
|
-
*/
|
|
18
|
-
const EmptyState = ({ message = "No upcoming events scheduled.", className, hasActiveFilters = false, onResetFilters, resetFiltersText = "Reset filters" }) => {
|
|
19
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
20
|
-
className: `event-list-empty ${className || ""}`,
|
|
21
|
-
children: [/* @__PURE__ */ jsx("p", {
|
|
22
|
-
className: "rb-caption status-muted",
|
|
23
|
-
children: message
|
|
24
|
-
}), hasActiveFilters && onResetFilters && /* @__PURE__ */ jsx("button", {
|
|
25
|
-
type: "button",
|
|
26
|
-
onClick: onResetFilters,
|
|
27
|
-
className: "event-reset-filters-btn",
|
|
28
|
-
children: resetFiltersText
|
|
29
|
-
})]
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
11
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
34
12
|
/**
|
|
35
13
|
* Pick the better of black/white text for a given background using actual
|
|
@@ -71,6 +49,27 @@ function clamp255(value) {
|
|
|
71
49
|
return Math.max(0, Math.min(255, value));
|
|
72
50
|
}
|
|
73
51
|
//#endregion
|
|
52
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/EmptyState.tsx
|
|
53
|
+
/**
|
|
54
|
+
* EmptyState Component
|
|
55
|
+
* Displays when no events are available.
|
|
56
|
+
* Optionally shows a "Reset filters" button when filters are applied.
|
|
57
|
+
*/
|
|
58
|
+
const EmptyState = ({ message = "No upcoming events scheduled.", className, hasActiveFilters = false, onResetFilters, resetFiltersText = "Reset filters" }) => {
|
|
59
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
60
|
+
className: `event-list-empty ${className || ""}`,
|
|
61
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
62
|
+
className: "rb-caption status-muted",
|
|
63
|
+
children: message
|
|
64
|
+
}), hasActiveFilters && onResetFilters && /* @__PURE__ */ jsx("button", {
|
|
65
|
+
type: "button",
|
|
66
|
+
onClick: onResetFilters,
|
|
67
|
+
className: "event-reset-filters-btn",
|
|
68
|
+
children: resetFiltersText
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
74
73
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventFilters.tsx
|
|
75
74
|
/**
|
|
76
75
|
* EventFilters Component
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as formatPrice } from "./StepIndicator-
|
|
2
|
+
import { yt as assertNever$2 } from "./propsDecoder-wWN0tBDF.mjs";
|
|
3
|
+
import { r as formatPrice } from "./StepIndicator-7D3GaBeM.mjs";
|
|
4
4
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
5
5
|
//#region ../core/src/date-math.ts
|
|
6
6
|
function addDaysToDate(date, dayCount) {
|
|
@@ -2270,6 +2270,24 @@ const API_ENDPOINTS = {
|
|
|
2270
2270
|
auth: "user",
|
|
2271
2271
|
responseKind: "json"
|
|
2272
2272
|
},
|
|
2273
|
+
publishEventOfferingPageSurface: {
|
|
2274
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2275
|
+
method: "POST",
|
|
2276
|
+
errors: [
|
|
2277
|
+
"auth:forbidden",
|
|
2278
|
+
"validation:invalid_input",
|
|
2279
|
+
"resource:not_found",
|
|
2280
|
+
"resource:conflict",
|
|
2281
|
+
"server:internal_error"
|
|
2282
|
+
],
|
|
2283
|
+
tags: [
|
|
2284
|
+
TAG_TEMPLATES.siteCollection,
|
|
2285
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2286
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2287
|
+
],
|
|
2288
|
+
auth: "user",
|
|
2289
|
+
responseKind: "json"
|
|
2290
|
+
},
|
|
2273
2291
|
runSdkWorkflow: {
|
|
2274
2292
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2275
2293
|
method: "POST",
|
|
@@ -6132,8 +6150,8 @@ const API_ENDPOINTS = {
|
|
|
6132
6150
|
auth: "user",
|
|
6133
6151
|
responseKind: "blob"
|
|
6134
6152
|
},
|
|
6135
|
-
|
|
6136
|
-
path: "/admin/sites/{siteId}/
|
|
6153
|
+
adminSiteBillingArrangement: {
|
|
6154
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6137
6155
|
method: "GET",
|
|
6138
6156
|
tags: [
|
|
6139
6157
|
"admin",
|
|
@@ -6141,10 +6159,16 @@ const API_ENDPOINTS = {
|
|
|
6141
6159
|
"billing"
|
|
6142
6160
|
],
|
|
6143
6161
|
auth: "admin",
|
|
6144
|
-
responseKind: "json"
|
|
6162
|
+
responseKind: "json",
|
|
6163
|
+
errors: [
|
|
6164
|
+
"validation:invalid_input",
|
|
6165
|
+
"auth:forbidden",
|
|
6166
|
+
"resource:not_found",
|
|
6167
|
+
"server:internal_error"
|
|
6168
|
+
]
|
|
6145
6169
|
},
|
|
6146
|
-
|
|
6147
|
-
path: "/admin/sites/{siteId}/
|
|
6170
|
+
adminUpdateSiteBillingArrangement: {
|
|
6171
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6148
6172
|
method: "POST",
|
|
6149
6173
|
tags: [
|
|
6150
6174
|
"admin",
|
|
@@ -6152,7 +6176,14 @@ const API_ENDPOINTS = {
|
|
|
6152
6176
|
"billing"
|
|
6153
6177
|
],
|
|
6154
6178
|
auth: "admin",
|
|
6155
|
-
responseKind: "json"
|
|
6179
|
+
responseKind: "json",
|
|
6180
|
+
errors: [
|
|
6181
|
+
"validation:invalid_input",
|
|
6182
|
+
"auth:forbidden",
|
|
6183
|
+
"resource:not_found",
|
|
6184
|
+
"resource:conflict",
|
|
6185
|
+
"server:internal_error"
|
|
6186
|
+
]
|
|
6156
6187
|
},
|
|
6157
6188
|
adminScheduleBillingComponentEnd: {
|
|
6158
6189
|
path: "/admin/sites/{siteId}/billing/components/{componentId}/end",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-
|
|
2
|
+
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-kkmjklLG.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-DeOTAFvR.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-hu3wr3ng.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-hu3wr3ng.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -2272,6 +2272,24 @@ const API_ENDPOINTS = {
|
|
|
2272
2272
|
auth: "user",
|
|
2273
2273
|
responseKind: "json"
|
|
2274
2274
|
},
|
|
2275
|
+
publishEventOfferingPageSurface: {
|
|
2276
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2277
|
+
method: "POST",
|
|
2278
|
+
errors: [
|
|
2279
|
+
"auth:forbidden",
|
|
2280
|
+
"validation:invalid_input",
|
|
2281
|
+
"resource:not_found",
|
|
2282
|
+
"resource:conflict",
|
|
2283
|
+
"server:internal_error"
|
|
2284
|
+
],
|
|
2285
|
+
tags: [
|
|
2286
|
+
TAG_TEMPLATES.siteCollection,
|
|
2287
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2288
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2289
|
+
],
|
|
2290
|
+
auth: "user",
|
|
2291
|
+
responseKind: "json"
|
|
2292
|
+
},
|
|
2275
2293
|
runSdkWorkflow: {
|
|
2276
2294
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2277
2295
|
method: "POST",
|
|
@@ -6134,8 +6152,8 @@ const API_ENDPOINTS = {
|
|
|
6134
6152
|
auth: "user",
|
|
6135
6153
|
responseKind: "blob"
|
|
6136
6154
|
},
|
|
6137
|
-
|
|
6138
|
-
path: "/admin/sites/{siteId}/
|
|
6155
|
+
adminSiteBillingArrangement: {
|
|
6156
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6139
6157
|
method: "GET",
|
|
6140
6158
|
tags: [
|
|
6141
6159
|
"admin",
|
|
@@ -6143,10 +6161,16 @@ const API_ENDPOINTS = {
|
|
|
6143
6161
|
"billing"
|
|
6144
6162
|
],
|
|
6145
6163
|
auth: "admin",
|
|
6146
|
-
responseKind: "json"
|
|
6164
|
+
responseKind: "json",
|
|
6165
|
+
errors: [
|
|
6166
|
+
"validation:invalid_input",
|
|
6167
|
+
"auth:forbidden",
|
|
6168
|
+
"resource:not_found",
|
|
6169
|
+
"server:internal_error"
|
|
6170
|
+
]
|
|
6147
6171
|
},
|
|
6148
|
-
|
|
6149
|
-
path: "/admin/sites/{siteId}/
|
|
6172
|
+
adminUpdateSiteBillingArrangement: {
|
|
6173
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6150
6174
|
method: "POST",
|
|
6151
6175
|
tags: [
|
|
6152
6176
|
"admin",
|
|
@@ -6154,7 +6178,14 @@ const API_ENDPOINTS = {
|
|
|
6154
6178
|
"billing"
|
|
6155
6179
|
],
|
|
6156
6180
|
auth: "admin",
|
|
6157
|
-
responseKind: "json"
|
|
6181
|
+
responseKind: "json",
|
|
6182
|
+
errors: [
|
|
6183
|
+
"validation:invalid_input",
|
|
6184
|
+
"auth:forbidden",
|
|
6185
|
+
"resource:not_found",
|
|
6186
|
+
"resource:conflict",
|
|
6187
|
+
"server:internal_error"
|
|
6188
|
+
]
|
|
6158
6189
|
},
|
|
6159
6190
|
adminScheduleBillingComponentEnd: {
|
|
6160
6191
|
path: "/admin/sites/{siteId}/billing/components/{componentId}/end",
|
|
@@ -2243,6 +2243,24 @@ const API_ENDPOINTS = {
|
|
|
2243
2243
|
auth: "user",
|
|
2244
2244
|
responseKind: "json"
|
|
2245
2245
|
},
|
|
2246
|
+
publishEventOfferingPageSurface: {
|
|
2247
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/publication",
|
|
2248
|
+
method: "POST",
|
|
2249
|
+
errors: [
|
|
2250
|
+
"auth:forbidden",
|
|
2251
|
+
"validation:invalid_input",
|
|
2252
|
+
"resource:not_found",
|
|
2253
|
+
"resource:conflict",
|
|
2254
|
+
"server:internal_error"
|
|
2255
|
+
],
|
|
2256
|
+
tags: [
|
|
2257
|
+
TAG_TEMPLATES.siteCollection,
|
|
2258
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2259
|
+
TAG_TEMPLATES.pageSurfaceById
|
|
2260
|
+
],
|
|
2261
|
+
auth: "user",
|
|
2262
|
+
responseKind: "json"
|
|
2263
|
+
},
|
|
2246
2264
|
runSdkWorkflow: {
|
|
2247
2265
|
path: "/sites/{siteId}/content/{type}/{entryId}/workflows/{workflowId}/run",
|
|
2248
2266
|
method: "POST",
|
|
@@ -6105,8 +6123,8 @@ const API_ENDPOINTS = {
|
|
|
6105
6123
|
auth: "user",
|
|
6106
6124
|
responseKind: "blob"
|
|
6107
6125
|
},
|
|
6108
|
-
|
|
6109
|
-
path: "/admin/sites/{siteId}/
|
|
6126
|
+
adminSiteBillingArrangement: {
|
|
6127
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6110
6128
|
method: "GET",
|
|
6111
6129
|
tags: [
|
|
6112
6130
|
"admin",
|
|
@@ -6114,10 +6132,16 @@ const API_ENDPOINTS = {
|
|
|
6114
6132
|
"billing"
|
|
6115
6133
|
],
|
|
6116
6134
|
auth: "admin",
|
|
6117
|
-
responseKind: "json"
|
|
6135
|
+
responseKind: "json",
|
|
6136
|
+
errors: [
|
|
6137
|
+
"validation:invalid_input",
|
|
6138
|
+
"auth:forbidden",
|
|
6139
|
+
"resource:not_found",
|
|
6140
|
+
"server:internal_error"
|
|
6141
|
+
]
|
|
6118
6142
|
},
|
|
6119
|
-
|
|
6120
|
-
path: "/admin/sites/{siteId}/
|
|
6143
|
+
adminUpdateSiteBillingArrangement: {
|
|
6144
|
+
path: "/admin/sites/{siteId}/billing/arrangement",
|
|
6121
6145
|
method: "POST",
|
|
6122
6146
|
tags: [
|
|
6123
6147
|
"admin",
|
|
@@ -6125,7 +6149,14 @@ const API_ENDPOINTS = {
|
|
|
6125
6149
|
"billing"
|
|
6126
6150
|
],
|
|
6127
6151
|
auth: "admin",
|
|
6128
|
-
responseKind: "json"
|
|
6152
|
+
responseKind: "json",
|
|
6153
|
+
errors: [
|
|
6154
|
+
"validation:invalid_input",
|
|
6155
|
+
"auth:forbidden",
|
|
6156
|
+
"resource:not_found",
|
|
6157
|
+
"resource:conflict",
|
|
6158
|
+
"server:internal_error"
|
|
6159
|
+
]
|
|
6129
6160
|
},
|
|
6130
6161
|
adminScheduleBillingComponentEnd: {
|
|
6131
6162
|
path: "/admin/sites/{siteId}/billing/components/{componentId}/end",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./PreviewQueryProvider-
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import "./PreviewQueryProvider-kkmjklLG.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-DeOTAFvR.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { $u as Primitive, rd as cn } from "./SiteChromeCustomizeContext-DOSDLCiJ.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|