@riverbankcms/sdk 0.143.0 → 0.145.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-DROGfMKi.mjs → PreviewEditorSidebar-O-V6Pl5a.mjs} +20 -26
- package/dist/{PreviewEditorUI-BaRjhFu-.mjs → PreviewEditorUI-1UlX_9cw.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BCYICImX.mjs → PreviewQueryProvider-BxGwdOCV.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-OIABYLES.mjs → SdkPreviewModeRuntime-DYbA_4iv.mjs} +431 -351
- package/dist/{SiteChromeCustomizeContext-ohjTvZbc.mjs → SiteChromeCustomizeContext-CNTKQ9nx.mjs} +3989 -2769
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4719 -66
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +429 -6
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/appointmentServiceCategoryEndpoints.d.ts +75 -0
- package/dist/_dts/api/src/appointmentServiceContracts.d.ts +80 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +8 -1
- package/dist/_dts/api/src/billing.d.ts +1 -1
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +8 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +3 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -12
- package/dist/_dts/api/src/communications.d.ts +14 -22
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -0
- package/dist/_dts/api/src/endpoints.d.ts +105 -58
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +2 -0
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +4 -4
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +0 -23
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +3 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +35 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/publicNewsletterEndpointDefinitions.d.ts +58 -0
- package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +3 -3
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
- package/dist/_dts/api/src/sdkSettingsContracts.d.ts +8 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -6
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -8
- package/dist/_dts/api/src/siteSettings.d.ts +17 -7
- package/dist/_dts/api/src/types.d.ts +2 -1
- package/dist/_dts/billing/src/membership/index.d.ts +3 -0
- package/dist/_dts/block-form/src/backend/types.d.ts +14 -0
- package/dist/_dts/block-form/src/client/index.d.ts +1 -0
- package/dist/_dts/block-form/src/context/RepeaterHostActionsContext.d.ts +30 -0
- package/dist/_dts/block-form/src/context/index.d.ts +1 -0
- package/dist/_dts/block-form/src/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +4 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +5 -2
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +11 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useEmptyStateFocusAfterRemoval.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +15 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterRowActionsDomain.d.ts +5 -2
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -4
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +58 -10
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/pageRenderJoins.d.ts +68 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -27
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +7 -4
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +40 -23
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/constants/events.d.ts +10 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -3
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/api/context.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/api/readAuthority.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -13
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -6
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +9 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +22 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +7 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +57 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-choices.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +13 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +7 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +6 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/header-control.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +6 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ThemedButton.d.ts +58 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/chromeLogo.d.ts +23 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +3 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +4 -1
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/core/src/appointment-service-categories.d.ts +108 -0
- package/dist/_dts/core/src/editor-state.d.ts +6 -0
- package/dist/_dts/core/src/event-catalogue.d.ts +27 -0
- package/dist/_dts/core/src/event-preset-vocabulary.d.ts +7 -0
- package/dist/_dts/core/src/index.d.ts +3 -0
- package/dist/_dts/core/src/public-profile.d.ts +9 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +676 -241
- package/dist/_dts/db/src/schemas/forms.d.ts +286 -2
- package/dist/_dts/editor-blocks/src/block-editor/{BlockCardHeader.d.ts → BlockCardFrame.d.ts} +11 -3
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +16 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +13 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +29 -0
- package/dist/_dts/logger/src/console.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +1 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
- package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +1 -0
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +8 -0
- package/dist/_dts/sdk/src/client/types.d.ts +4 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +7 -2
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +2 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +27 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +21 -15
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +7 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/islands/enhancers/shopShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +3 -13
- package/dist/_dts/theme-core/src/customCss/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/customCss/patch.d.ts +0 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/layout/boundaryCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +1 -3
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/joinTreatment.d.ts +132 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorBoundaries.d.ts +31 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +33 -29
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageFlowPresets.d.ts +36 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -10
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +17 -4
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +20 -74
- package/dist/_dts/theme-core/src/site-styles/sectionBoundaryComposition.d.ts +95 -0
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +80 -518
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/transitionCatalogue.d.ts +320 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -18
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/logoVariant.d.ts +26 -0
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +10 -0
- package/dist/_dts/ui/src/editor-item-card.d.ts +116 -0
- package/dist/_dts/ui/src/index.d.ts +1 -0
- package/dist/client/{BookingConsentAgreement-BoCtvzzu.mjs → BookingConsentAgreement-DlVOmpW4.mjs} +4 -55
- package/dist/client/{DiscountCodeDisclosure-B5S30nZk.mjs → DiscountCodeDisclosure-T9q623PQ.mjs} +27 -17
- package/dist/client/{EventCombined.client-CeZ2-zSt.mjs → EventCombined.client-DnsUeONl.mjs} +54 -46
- package/dist/client/{EventListing.client-DJN3j8B3.mjs → EventListing.client-CNBFqJS4.mjs} +3 -4
- package/dist/client/{LeafletStaticMap-RjtGzDQT.mjs → LeafletStaticMap-C7higg52.mjs} +1 -1
- package/dist/client/ThemedButton-LAJTNrS8.mjs +412 -0
- package/dist/client/{accordion-DOmnDoyg.mjs → accordion-BcNF9TjX.mjs} +1 -1
- package/dist/client/{bookingForm-C0vk7pgS.mjs → bookingForm-BUaQ3S03.mjs} +161 -75
- package/dist/client/bookings.mjs +392 -182
- package/dist/client/{carousel-BZJ7pno3.mjs → carousel-CTdF6e0V.mjs} +2 -2
- package/dist/client/{carousel.client-DQTjCVQT.mjs → carousel.client-jahpU9Vz.mjs} +1 -1
- package/dist/client/{cart-CaeVAHJl.mjs → cart-pGtyf_XU.mjs} +3 -3
- package/dist/client/{checkout-7wmoNDtG.mjs → checkout-Da9WSn7Y.mjs} +3 -3
- package/dist/client/{checkoutUrls-FL6lRkrt.mjs → checkoutUrls-CW3-78uu.mjs} +1 -1
- package/dist/client/client.mjs +3819 -2717
- package/dist/client/{colorStyles-3013aRAY.mjs → colorStyles-CuJBiS-1.mjs} +16 -4
- package/dist/client/{context-BOimxE3U.mjs → context-BFeY_Wbm.mjs} +24 -8
- package/dist/client/{dates-BnzVksi4.mjs → dates-BhwVSxDg.mjs} +2 -2
- package/dist/client/{eventCalendar-l-fpaslC.mjs → eventCalendar-BAtdnR4s.mjs} +39 -50
- package/dist/client/{eventCombined-DGGvssK6.mjs → eventCombined-RksA3tRC.mjs} +5 -4
- package/dist/client/{eventDetails-DRiCm_hL.mjs → eventDetails-BB9hB4wR.mjs} +4 -4
- package/dist/client/{eventListing-dph8loYX.mjs → eventListing-BpJBkviM.mjs} +5 -4
- package/dist/client/{eventRegistration-ClBohmbY.mjs → eventRegistration-B18jFq_o.mjs} +83 -68
- package/dist/client/{form-BLVVAnd3.mjs → form-Dodt8Y8t.mjs} +9 -10
- package/dist/client/{headerSection-DHy4C8Ix.mjs → headerSection-B0qj9ttg.mjs} +23 -30
- package/dist/client/hooks.mjs +807 -162
- package/dist/client/{locationMap-6HuS28ck.mjs → locationMap-gn-iMk7a.mjs} +9 -10
- package/dist/client/{media-DHpfFwd3.mjs → media-BtJ37tzS.mjs} +1 -1
- package/dist/client/{newsletterForm-xOdcOhZP.mjs → newsletterForm-oByLdFkr.mjs} +31 -11
- package/dist/client/{pricing-ChinRYFt.mjs → pricing-BOU0_Hai.mjs} +1 -1
- package/dist/client/{productDetail-0chA5gbK.mjs → productDetail-D9v1zH2j.mjs} +3 -3
- package/dist/client/{productList-OoINA0h1.mjs → productList-D-mItx1n.mjs} +3 -3
- package/dist/client/{propsDecoder-CIZ-hbIG.mjs → propsDecoder-C3TP_z4x.mjs} +158 -61
- package/dist/client/rendering/client.mjs +2785 -2000
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3855 -2694
- package/dist/client/{routeIslandApiConfig-UNsfPcYq.mjs → routeIslandApiConfig-DzN1W0sq.mjs} +8 -1
- package/dist/client/{scrollToBlock-BPZl0gPZ.mjs → scrollToBlock-CWs8EIdo.mjs} +1 -1
- package/dist/client/{shop-CLJFqNIq.mjs → shop-Dufw7N7o.mjs} +45 -58
- package/dist/client/{shop-commerce-PpANg5wB.mjs → shop-commerce-gklw_hLF.mjs} +42 -55
- package/dist/client/{shop-commerce-store-TA_Kz2ku.mjs → shop-commerce-store-Sf1eyTaZ.mjs} +1 -1
- package/dist/client/{shopShared-DzcFcA5g.mjs → shopShared-B5nyA41S.mjs} +6 -5
- package/dist/client/{useEventFilters-CFU21QZo.mjs → useEventFilters-CLL829vy.mjs} +66 -355
- package/dist/preview-next/before-render.mjs +147 -77
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-chrome.css +8 -0
- package/dist/preview-next/keepAlive.mjs +147 -77
- package/dist/preview-next/middleware.mjs +147 -77
- package/dist/{previewAuthStore-JA6-I_sL.mjs → previewAuthStore-BxAFlu-j.mjs} +147 -77
- package/dist/{sdk-runtime-CDKl0Fr7.mjs → sdk-runtime-D0uZFev7.mjs} +2 -2
- package/dist/{separator-BTp96X32.mjs → separator-EvdCAn4V.mjs} +1 -1
- package/dist/server/components.mjs +2548 -1607
- package/dist/server/config-validation.mjs +794 -160
- package/dist/server/config.mjs +794 -160
- package/dist/server/data.mjs +806 -161
- package/dist/server/index.mjs +167 -85
- package/dist/server/navigation.mjs +28 -1
- package/dist/server/next.mjs +14930 -14036
- package/dist/server/page-converter.mjs +494 -113
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2537 -1590
- package/dist/server/rendering.mjs +2571 -1618
- package/dist/server/routing.mjs +918 -200
- package/dist/server/server.mjs +819 -205
- package/dist/server/theme-bridge.mjs +1232 -28
- package/dist/server/theme.mjs +6 -4
- package/dist/styles/index.css +6 -0
- package/package.json +2 -1
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { U as createHostedBlockApiConfig } from "./propsDecoder-C3TP_z4x.mjs";
|
|
1
2
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
2
|
-
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage }) {
|
|
3
|
+
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
4
|
+
if (readAuthority) return createHostedBlockApiConfig({
|
|
5
|
+
baseUrl: apiBaseUrl,
|
|
6
|
+
siteId,
|
|
7
|
+
readAuthority,
|
|
8
|
+
portalToken
|
|
9
|
+
});
|
|
3
10
|
return {
|
|
4
11
|
baseUrl: apiBaseUrl,
|
|
5
12
|
auth: previewToken ? {
|
|
@@ -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-T9q623PQ.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckIcon.tsx
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder, yn as assertNever$1, zt as assertNever } from "./propsDecoder-C3TP_z4x.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-BFeY_Wbm.mjs";
|
|
4
|
+
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-CWs8EIdo.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-T9q623PQ.mjs";
|
|
6
|
+
import { t as ThemedButton } from "./ThemedButton-LAJTNrS8.mjs";
|
|
6
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
8
9
|
import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
|
|
9
10
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
10
|
-
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-
|
|
11
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-B5nyA41S.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-Sf1eyTaZ.mjs";
|
|
12
13
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
13
14
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
14
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -143,15 +144,13 @@ function PassProductCard(props) {
|
|
|
143
144
|
});
|
|
144
145
|
return /* @__PURE__ */ jsx(PassCardView, {
|
|
145
146
|
display: props.display,
|
|
146
|
-
action: /* @__PURE__ */ jsx(
|
|
147
|
+
action: /* @__PURE__ */ jsx(ThemedButton, {
|
|
147
148
|
type: "button",
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
onClick: () => props.onBuy(action.product),
|
|
154
|
-
children: action.label
|
|
149
|
+
variant: props.buttonVariant,
|
|
150
|
+
size: "md",
|
|
151
|
+
extraClassName: "shop__cta",
|
|
152
|
+
label: action.label,
|
|
153
|
+
onClick: () => props.onBuy(action.product)
|
|
155
154
|
}),
|
|
156
155
|
feedback: /* @__PURE__ */ jsx(ShopAddFeedback, {
|
|
157
156
|
active: props.feedbackActive,
|
|
@@ -377,15 +376,13 @@ function PassesMembershipsController({ render }) {
|
|
|
377
376
|
}),
|
|
378
377
|
title: state.returnNotice.kind === "success" ? "Payment successful" : "Payment cancelled",
|
|
379
378
|
body: state.returnNotice.kind === "success" ? "Check your email for confirmation." : "You can try again whenever you’re ready.",
|
|
380
|
-
actions: /* @__PURE__ */ jsx(
|
|
379
|
+
actions: /* @__PURE__ */ jsx(ThemedButton, {
|
|
381
380
|
type: "button",
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
})
|
|
387
|
-
onClick: () => dispatch({ type: "clearReturnNotice" }),
|
|
388
|
-
children: "Dismiss"
|
|
381
|
+
variant: "secondary",
|
|
382
|
+
size: "sm",
|
|
383
|
+
extraClassName: "shop__return-dismiss",
|
|
384
|
+
label: "Dismiss",
|
|
385
|
+
onClick: () => dispatch({ type: "clearReturnNotice" })
|
|
389
386
|
})
|
|
390
387
|
}) : null }),
|
|
391
388
|
passCards: display.passes.map((passDisplay) => {
|
|
@@ -401,15 +398,13 @@ function PassesMembershipsController({ render }) {
|
|
|
401
398
|
if (!membership) return null;
|
|
402
399
|
return /* @__PURE__ */ jsx(MembershipCardView, {
|
|
403
400
|
display: membershipDisplay,
|
|
404
|
-
action: /* @__PURE__ */ jsx(
|
|
401
|
+
action: /* @__PURE__ */ jsx(ThemedButton, {
|
|
405
402
|
type: "button",
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
onClick: () => handleSubscribe(membership),
|
|
412
|
-
children: membershipDisplay.actionLabel
|
|
403
|
+
variant: hydration.buttonVariant,
|
|
404
|
+
size: "md",
|
|
405
|
+
extraClassName: "shop__cta",
|
|
406
|
+
label: membershipDisplay.actionLabel,
|
|
407
|
+
onClick: () => handleSubscribe(membership)
|
|
413
408
|
})
|
|
414
409
|
}, membership.id);
|
|
415
410
|
})
|
|
@@ -475,23 +470,19 @@ function PassesMembershipsController({ render }) {
|
|
|
475
470
|
}),
|
|
476
471
|
/* @__PURE__ */ jsxs(ActionRow, {
|
|
477
472
|
className: "shop__modal-warning-actions",
|
|
478
|
-
children: [/* @__PURE__ */ jsx(
|
|
473
|
+
children: [/* @__PURE__ */ jsx(ThemedButton, {
|
|
479
474
|
type: "button",
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
children: "Cancel"
|
|
486
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
475
|
+
variant: "secondary",
|
|
476
|
+
size: "md",
|
|
477
|
+
label: "Cancel",
|
|
478
|
+
onClick: closeCheckout
|
|
479
|
+
}), /* @__PURE__ */ jsx(ThemedButton, {
|
|
487
480
|
type: "button",
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
}),
|
|
481
|
+
variant: "default",
|
|
482
|
+
size: "md",
|
|
483
|
+
label: checkout.submitting ? "Processing..." : "Subscribe Anyway",
|
|
492
484
|
onClick: handleConfirmDuplicate,
|
|
493
|
-
disabled: checkout.submitting
|
|
494
|
-
children: checkout.submitting ? "Processing..." : "Subscribe Anyway"
|
|
485
|
+
disabled: checkout.submitting
|
|
495
486
|
})]
|
|
496
487
|
})
|
|
497
488
|
]
|
|
@@ -575,23 +566,19 @@ function PassesMembershipsController({ render }) {
|
|
|
575
566
|
}) : null,
|
|
576
567
|
/* @__PURE__ */ jsxs(ActionRow, {
|
|
577
568
|
className: "shop__modal-actions",
|
|
578
|
-
children: [/* @__PURE__ */ jsx(
|
|
569
|
+
children: [/* @__PURE__ */ jsx(ThemedButton, {
|
|
579
570
|
type: "button",
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
}),
|
|
571
|
+
variant: "secondary",
|
|
572
|
+
size: "md",
|
|
573
|
+
label: "Cancel",
|
|
584
574
|
onClick: closeCheckout,
|
|
585
|
-
disabled: checkout.submitting
|
|
586
|
-
|
|
587
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
575
|
+
disabled: checkout.submitting
|
|
576
|
+
}), /* @__PURE__ */ jsx(ThemedButton, {
|
|
588
577
|
type: "submit",
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
disabled: checkout.submitting,
|
|
594
|
-
children: checkout.submitting ? "Processing..." : "Continue to Payment"
|
|
578
|
+
variant: "default",
|
|
579
|
+
size: "md",
|
|
580
|
+
label: checkout.submitting ? "Processing..." : "Continue to Payment",
|
|
581
|
+
disabled: checkout.submitting
|
|
595
582
|
})]
|
|
596
583
|
})
|
|
597
584
|
]
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bt as
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { Bt as clearWorkflowFeedback, Lt as RichTextDocSchema, Wt as reportWorkflowError, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem, vt as logger, zt as assertNever } from "./propsDecoder-C3TP_z4x.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-BFeY_Wbm.mjs";
|
|
4
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-T9q623PQ.mjs";
|
|
5
|
+
import { n as ThemedButtonLink, t as ThemedButton } from "./ThemedButton-LAJTNrS8.mjs";
|
|
5
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
6
|
-
import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
7
|
+
import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-CW3-78uu.mjs";
|
|
7
8
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
8
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
9
|
+
import { t as CarouselNodeClient } from "./carousel.client-jahpU9Vz.mjs";
|
|
9
10
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
10
|
-
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-
|
|
11
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-B5nyA41S.mjs";
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-Sf1eyTaZ.mjs";
|
|
12
13
|
import * as React$1 from "react";
|
|
13
14
|
import { useEffect, useState } from "react";
|
|
14
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -134,12 +135,11 @@ function ProductListController(props) {
|
|
|
134
135
|
[card.productId]: variantId
|
|
135
136
|
}))
|
|
136
137
|
}),
|
|
137
|
-
actions: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(
|
|
138
|
+
actions: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ThemedButton, {
|
|
138
139
|
type: "button",
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}),
|
|
140
|
+
variant: "default",
|
|
141
|
+
size: "md",
|
|
142
|
+
label: card.soldOut ? "Sold out" : card.actionLabel,
|
|
143
143
|
onClick: () => {
|
|
144
144
|
const product = props.render.hydration.products.find((candidate) => candidate.id === card.productId);
|
|
145
145
|
if (!product) return;
|
|
@@ -151,15 +151,12 @@ function ProductListController(props) {
|
|
|
151
151
|
cart.addProduct(cartItem);
|
|
152
152
|
addFeedback.markAdded(cartItem.key);
|
|
153
153
|
},
|
|
154
|
-
disabled: card.soldOut
|
|
155
|
-
|
|
156
|
-
}), card.path ? /* @__PURE__ */ jsx("a", {
|
|
154
|
+
disabled: card.soldOut
|
|
155
|
+
}), card.path ? /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
157
156
|
href: card.path,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}),
|
|
162
|
-
children: "View details"
|
|
157
|
+
variant: "secondary",
|
|
158
|
+
size: "sm",
|
|
159
|
+
label: "View details"
|
|
163
160
|
}) : null] }),
|
|
164
161
|
feedback: /* @__PURE__ */ jsx(ShopAddFeedback, {
|
|
165
162
|
active: addFeedback.activeKey === productItemKey(card.productId, card.selectedVariantId),
|
|
@@ -206,12 +203,11 @@ function ProductDetailController(props) {
|
|
|
206
203
|
selectedVariantId: display.selectedVariantId,
|
|
207
204
|
onChange: setVariantId
|
|
208
205
|
}) : null,
|
|
209
|
-
actions: display.state === "ready" ? /* @__PURE__ */ jsx(
|
|
206
|
+
actions: display.state === "ready" ? /* @__PURE__ */ jsx(ThemedButton, {
|
|
210
207
|
type: "button",
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}),
|
|
208
|
+
variant: "default",
|
|
209
|
+
size: "md",
|
|
210
|
+
label: display.soldOut ? "Sold out" : display.actionLabel,
|
|
215
211
|
disabled: display.soldOut,
|
|
216
212
|
onClick: () => {
|
|
217
213
|
if (!selectedProduct) return;
|
|
@@ -222,8 +218,7 @@ function ProductDetailController(props) {
|
|
|
222
218
|
});
|
|
223
219
|
cart.addProduct(cartItem);
|
|
224
220
|
addFeedback.markAdded(cartItem.key);
|
|
225
|
-
}
|
|
226
|
-
children: display.soldOut ? "Sold out" : display.actionLabel
|
|
221
|
+
}
|
|
227
222
|
}) : null,
|
|
228
223
|
feedback: display.state === "ready" ? /* @__PURE__ */ jsx(ShopAddFeedback, {
|
|
229
224
|
active: addFeedback.activeKey === productItemKey(selectedProduct?.id ?? "", display.selectedVariantId),
|
|
@@ -248,33 +243,27 @@ function CartController(props) {
|
|
|
248
243
|
readOnly: !item.quantityEditable,
|
|
249
244
|
"aria-label": `Quantity for ${item.title}`,
|
|
250
245
|
onChange: item.quantityEditable ? (event) => cart.updateQuantity(item.key, Number(event.target.value)) : void 0
|
|
251
|
-
}), /* @__PURE__ */ jsx(
|
|
246
|
+
}), /* @__PURE__ */ jsx(ThemedButton, {
|
|
252
247
|
type: "button",
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
onClick: () => cart.removeItem(item.key),
|
|
258
|
-
children: "Remove"
|
|
248
|
+
variant: "secondary",
|
|
249
|
+
size: "sm",
|
|
250
|
+
label: "Remove",
|
|
251
|
+
onClick: () => cart.removeItem(item.key)
|
|
259
252
|
})] }),
|
|
260
|
-
footerActions: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(
|
|
253
|
+
footerActions: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ThemedButton, {
|
|
261
254
|
type: "button",
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
children: display.clearButtonText
|
|
268
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
255
|
+
variant: "secondary",
|
|
256
|
+
size: "sm",
|
|
257
|
+
label: display.clearButtonText,
|
|
258
|
+
onClick: () => cart.clear()
|
|
259
|
+
}), /* @__PURE__ */ jsx(ThemedButton, {
|
|
269
260
|
type: "button",
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}),
|
|
261
|
+
variant: "default",
|
|
262
|
+
size: "md",
|
|
263
|
+
label: display.checkoutButtonText,
|
|
274
264
|
onClick: () => {
|
|
275
265
|
window.location.href = resolveDedicatedCheckoutPath(window.location.pathname);
|
|
276
|
-
}
|
|
277
|
-
children: display.checkoutButtonText
|
|
266
|
+
}
|
|
278
267
|
})] })
|
|
279
268
|
});
|
|
280
269
|
}
|
|
@@ -441,14 +430,12 @@ function CheckoutController(props) {
|
|
|
441
430
|
role: "alert",
|
|
442
431
|
children: state.feedback.message
|
|
443
432
|
}) : null,
|
|
444
|
-
/* @__PURE__ */ jsx(
|
|
433
|
+
/* @__PURE__ */ jsx(ThemedButton, {
|
|
445
434
|
type: "submit",
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
disabled: state.submission === "submitting",
|
|
451
|
-
children: state.submission === "submitting" ? "Loading…" : display.submitButtonText
|
|
435
|
+
variant: "default",
|
|
436
|
+
size: "md",
|
|
437
|
+
label: state.submission === "submitting" ? "Loading…" : display.submitButtonText,
|
|
438
|
+
disabled: state.submission === "submitting"
|
|
452
439
|
})
|
|
453
440
|
]
|
|
454
441
|
})
|
|
@@ -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-C3TP_z4x.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 { D as ok, E as err } from "./colorStyles-
|
|
3
|
-
import {
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { D as ok, E as err } from "./colorStyles-CuJBiS-1.mjs";
|
|
3
|
+
import { zt as assertNever } from "./propsDecoder-C3TP_z4x.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-BFeY_Wbm.mjs";
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-T9q623PQ.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.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-DzN1W0sq.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";
|
|
@@ -642,6 +642,7 @@ function mountShopBlockIsland(root, props, Component, label) {
|
|
|
642
642
|
if (!siteId) throw new Error(`[sdk:islands] ${label} requires siteId`);
|
|
643
643
|
if (!apiBaseUrl) throw new Error(`[sdk:islands] ${label} requires apiBaseUrl`);
|
|
644
644
|
const apiConfig = buildRouteIslandApiConfig({
|
|
645
|
+
readAuthority: props.readAuthority,
|
|
645
646
|
apiBaseUrl,
|
|
646
647
|
siteId,
|
|
647
648
|
stage
|