@riverbankcms/sdk 0.148.0 → 0.150.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/README.md +1 -1
- package/dist/EventEmbeddedCheckoutStep-D00Kc8Zj.mjs +285 -0
- package/dist/{PreviewEditorSidebar-DvEPG3Z2.mjs → PreviewEditorSidebar-7ZhmmnBB.mjs} +103 -66
- package/dist/{PreviewEditorUI-D6eb6fkx.mjs → PreviewEditorUI-BIJucTRd.mjs} +3 -6
- package/dist/{PreviewQueryProvider-5znTyJuz.mjs → PreviewQueryProvider-C0mndwHB.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-DJ6utQ_R.mjs → SdkPreviewModeRuntime-tj45gmCX.mjs} +96 -67
- package/dist/{SiteChromeCustomizeContext-CFJYh6vo.mjs → SiteChromeCustomizeContext-BFOt0ss-.mjs} +4804 -4161
- package/dist/_dts/ai/src/contracts/proposals.d.ts +660 -0
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +510 -0
- package/dist/_dts/api/src/billing.d.ts +2 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +33 -48
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -6
- package/dist/_dts/api/src/bookingOperations.d.ts +5 -7
- package/dist/_dts/api/src/bookingRecords.d.ts +15 -11
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +5 -5
- package/dist/_dts/api/src/clientErrorReporting.d.ts +11 -0
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +0 -2
- package/dist/_dts/api/src/common/cancellation.d.ts +23 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -1
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +2 -10
- package/dist/_dts/api/src/eventManagementContracts.d.ts +4 -7
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +9 -0
- package/dist/_dts/api/src/footerSettings.d.ts +3 -3
- package/dist/_dts/api/src/index.d.ts +4 -4
- package/dist/_dts/api/src/navigation/bookingPortalLink.d.ts +13 -0
- package/dist/_dts/api/src/navigation.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +2 -2
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +2 -29
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +9 -173
- package/dist/_dts/api/src/request.d.ts +1 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -1
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +1 -1
- package/dist/_dts/api/src/sdkThemeWire.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/siteOperations.d.ts +6 -2
- package/dist/_dts/api/src/siteSettings.d.ts +2 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +2 -1
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +38 -10
- package/dist/_dts/blocks/src/portal/types.d.ts +9 -6
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +84 -160
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +31 -4
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +30 -3
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +10 -1
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +38 -18
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +48 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingNowIso.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +14 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventEmbeddedCheckoutStep.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/FullyBookedStep.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentBlockingPanel.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +15 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentLocation.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentResponse.d.ts +72 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationCompletion.d.ts +66 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +13 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +11 -52
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +19 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +7 -42
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +7 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +94 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useGuestRegistrationRecovery.d.ts +30 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/usePaymentStatusRecovery.d.ts +24 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useRegistrationAdmission.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/wizardSteps.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +24 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +41 -6
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/shared/stripe/browserStripe.d.ts +8 -0
- package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/bookingPaymentSelection.d.ts +54 -0
- package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +58 -13
- package/dist/_dts/commerce/src/purchase/checkoutCopy.d.ts +10 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +16 -21
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +23 -40
- package/dist/_dts/commerce/src/purchase/checkoutPresentation.d.ts +49 -0
- package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +6 -6
- package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +5 -1
- package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +5 -4
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +9 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +3 -3
- package/dist/_dts/commerce/src/purchase/membershipOrderItemMetadata.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +9 -4
- package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +13 -1
- package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +5 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +4 -1
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +7 -1
- package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +2 -2
- package/dist/_dts/commerce/src/purchase/stripeCheckoutReturnUrl.d.ts +9 -2
- package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +6 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +7 -7
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +3 -2
- package/dist/_dts/content-editor/src/controller/editLeaseHandover.d.ts +30 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +6 -1
- package/dist/_dts/content-editor/src/lib/browserStorage.d.ts +5 -0
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +7 -0
- package/dist/_dts/core/src/booking-flexible-balance.d.ts +2 -2
- package/dist/_dts/core/src/booking-instalment-deposit.d.ts +20 -0
- package/dist/_dts/core/src/booking-live-payment-terms.d.ts +72 -0
- package/dist/_dts/core/src/booking-payment-options.d.ts +24 -0
- package/dist/_dts/core/src/booking-payment-schemas.d.ts +522 -0
- package/dist/_dts/core/src/branded.d.ts +3 -0
- package/dist/_dts/core/src/edit-lease.d.ts +5 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/patch/index.d.ts +30 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +326 -36
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +3 -1
- package/dist/_dts/media-editor/src/MediaPickerMiniDialog.d.ts +10 -0
- package/dist/_dts/media-editor/src/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +0 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/previewAuthStore.d.ts +7 -0
- package/dist/_dts/preview-next/src/constants.d.ts +4 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +1 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -1
- package/dist/_dts/sdk/src/bookings/types.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -12
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/blocks/opaquePanels.d.ts +147 -0
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +22 -0
- package/dist/_dts/theme-core/src/cards/roles.d.ts +12 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +198 -0
- package/dist/_dts/theme-core/src/palette/utils/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/palette/utils/scrimContrast.d.ts +22 -0
- package/dist/_dts/theme-core/src/runtime/bridgeColourTokens.d.ts +10 -0
- package/dist/_dts/theme-core/src/schema.d.ts +330 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +0 -51
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +0 -51
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +7 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +7 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +0 -5
- package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +12 -6
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +7 -4
- package/dist/_dts/theme-core/src/site-styles/sectionSurfaceBackgrounds.d.ts +65 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +17 -0
- package/dist/_dts/theme-core/src/surfaces/opaqueSurface.d.ts +43 -0
- package/dist/_dts/ui/src/color-picker.d.ts +1 -1
- package/dist/_dts/ui/src/palette/useHexDraft.d.ts +7 -0
- package/dist/client/{BookingMailingListNote-CzRt2dF_.mjs → BookingMailingListNote-CYHOufsI.mjs} +33 -124
- package/dist/client/{CheckboxChoice-B33MqoUo.mjs → CheckboxChoice-M-3HycLw.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-mxqwap3f.mjs → DemoBookingPortalAccess-Cvr9O_ca.mjs} +2 -2
- package/dist/client/{EventCombined.client-CDb11igO.mjs → EventCombined.client-m5UZIobP.mjs} +7 -7
- package/dist/client/EventEmbeddedCheckoutStep-DL6zFAkA.mjs +289 -0
- package/dist/client/{EventListing.client-EgYhzKPa.mjs → EventListing.client-DeMfCM04.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-gtmtaA2b.mjs → LeafletStaticMap-CvZ3gOdD.mjs} +1 -1
- package/dist/client/{checkoutUrls-CXhko2Rv.mjs → RichText-BtfNvQV6.mjs} +2 -29
- package/dist/client/{TerminalPanel-DvNUP5ot.mjs → TerminalPanel-CUCNEwlH.mjs} +2 -18
- package/dist/client/{ThemedButton-C7CeUJjW.mjs → ThemedButton-C7WhXuRl.mjs} +2 -2
- package/dist/client/{accordion-kjvt49rA.mjs → accordion-cQm5mjqs.mjs} +1 -1
- package/dist/client/{bookingForm-pbRZordh.mjs → bookingForm-BVPJE5RQ.mjs} +15 -11
- package/dist/client/bookings.mjs +2860 -1222
- package/dist/client/{carousel-f4Zbmicv.mjs → carousel-3vgnY7LC.mjs} +2 -2
- package/dist/client/{carousel.client-A2lG-9od.mjs → carousel.client-CISsdZvg.mjs} +1 -1
- package/dist/client/{cart-DO20An50.mjs → cart-BGK4oOjm.mjs} +3 -3
- package/dist/client/{checkout-Du5amDR_.mjs → checkout-GsBLUNJD.mjs} +3 -3
- package/dist/client/checkoutUrls-ChxwaNtO.mjs +28 -0
- package/dist/client/client.mjs +3324 -2053
- package/dist/client/{colorStyles-j5U9v5JA.mjs → colorStyles-D-32xHZh.mjs} +2 -30
- package/dist/client/{context-eW97E945.mjs → context-D_8s12Fp.mjs} +1 -1
- package/dist/client/{dates-jPCirRea.mjs → dates-DeJQbQ9T.mjs} +2 -2
- package/dist/client/{eventCalendar-C2M-iE4j.mjs → eventCalendar-cmucD4NR.mjs} +10 -10
- package/dist/client/{eventCombined-W6ns3LHg.mjs → eventCombined-ku3E9FTl.mjs} +4 -4
- package/dist/client/{eventDetails-CR-GT0f0.mjs → eventDetails-CyKZ61sF.mjs} +5 -5
- package/dist/client/{eventListing-BK8AfYZz.mjs → eventListing-B7yxGIhX.mjs} +4 -4
- package/dist/client/{eventRegistration-BJSd4KUu.mjs → eventRegistration-BoXfSFgZ.mjs} +1455 -1184
- package/dist/client/{form-BvpfbQaT.mjs → form-CNQOWhJo.mjs} +5 -5
- package/dist/client/{headerSection-I5sUQ8x-.mjs → headerSection-DahaBJGQ.mjs} +3 -3
- package/dist/client/hooks.mjs +283 -193
- package/dist/client/{locationMap-BLvwf9_f.mjs → locationMap-BoDjqYlW.mjs} +4 -4
- package/dist/client/{media-Cl38iOMI.mjs → media-BFY0y2rb.mjs} +2 -1
- package/dist/client/{newsletterForm-DrQ2weE8.mjs → newsletterForm-DtzXDklw.mjs} +4 -4
- package/dist/client/{pricing-BES87mrR.mjs → pricing-DXEh2Lhh.mjs} +1 -1
- package/dist/client/{productDetail-Url9jcc5.mjs → productDetail-D7cPa-00.mjs} +3 -3
- package/dist/client/{productList-DE7ngEZJ.mjs → productList-D1XMap66.mjs} +3 -3
- package/dist/client/{propsDecoder-D1OtGXDV.mjs → propsDecoder-DiIeBopB.mjs} +913 -322
- package/dist/client/rendering/client.mjs +3913 -2260
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3302 -2013
- package/dist/client/result-DRW7JWXz.mjs +30 -0
- package/dist/client/{routeIslandApiConfig-BG9Y-SHg.mjs → routeIslandApiConfig-wzR4lKAY.mjs} +1 -1
- package/dist/client/scrollToBlock-C86BYkyV.mjs +17 -0
- package/dist/client/{shop-CJkuySJ3.mjs → shop-CYT5P-S5.mjs} +13 -14
- package/dist/client/{shop-commerce-store-Bxm75Pg6.mjs → shop-commerce-store-wKhsJQxI.mjs} +1 -1
- package/dist/client/{shop-commerce-4rKj5n9h.mjs → shop-commerce-ypBu_dx4.mjs} +9 -9
- package/dist/client/{shopShared-DpoQDWfz.mjs → shopShared-DFGhYrf2.mjs} +52 -6
- package/dist/client/{useEventFilters-D8HliSqR.mjs → useEventFilters-blSbN5o7.mjs} +8 -8
- package/dist/preview-next/before-render.mjs +15 -22
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/constants.mjs +5 -1
- package/dist/preview-next/index.mjs +5 -1
- package/dist/preview-next/keepAlive.mjs +149 -82
- package/dist/preview-next/middleware.mjs +15 -22
- package/dist/{previewAuthStore-BXXF3hhW.mjs → previewAuthStore-BBmV7UsW.mjs} +49 -29
- package/dist/{sdk-runtime-C2a05WjL.mjs → sdk-runtime-2p8uQk1V.mjs} +2 -2
- package/dist/{separator-CuNhBAhS.mjs → separator-Cvvzk0Oo.mjs} +1 -1
- package/dist/server/components.mjs +4041 -3704
- package/dist/server/config-validation.mjs +345 -255
- package/dist/server/config.mjs +345 -255
- package/dist/server/data.mjs +283 -193
- package/dist/server/index.mjs +20 -27
- package/dist/server/next.mjs +788 -469
- package/dist/server/page-converter.mjs +245 -121
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4018 -3690
- package/dist/server/rendering.mjs +4044 -3707
- package/dist/server/routing.mjs +314 -190
- package/dist/server/server.mjs +290 -218
- package/dist/server/theme-bridge.mjs +1122 -310
- package/dist/server/theme.mjs +126 -116
- package/dist/spinner-CDo6AkDz.mjs +658 -0
- package/dist/styles/index.css +75 -212
- package/package.json +1 -1
- package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +0 -123
- package/dist/_dts/billing/src/checkout/platform.d.ts +0 -77
- package/dist/_dts/billing/src/config/env.d.ts +0 -29
- package/dist/_dts/billing/src/stripe/client.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +0 -63
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +0 -9
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +0 -10
- package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +0 -55
- package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +0 -24
- package/dist/client/urlParams-D71VXFGx.mjs +0 -47
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
2
|
+
function r(e) {
|
|
3
|
+
var t, f, n = "";
|
|
4
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
5
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
6
|
+
var o = e.length;
|
|
7
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
8
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
9
|
+
return n;
|
|
10
|
+
}
|
|
11
|
+
function clsx() {
|
|
12
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
13
|
+
return n;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region ../core/src/result.ts
|
|
17
|
+
function ok(value) {
|
|
18
|
+
return {
|
|
19
|
+
ok: true,
|
|
20
|
+
value
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function err(error) {
|
|
24
|
+
return {
|
|
25
|
+
ok: false,
|
|
26
|
+
error
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ok as n, clsx as r, err as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as createHostedBlockApiConfig } from "./propsDecoder-
|
|
1
|
+
import { G as createHostedBlockApiConfig } from "./propsDecoder-DiIeBopB.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({
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region ../blocks/src/system/runtime/shared/utils/scrollToBlock.ts
|
|
2
|
+
/**
|
|
3
|
+
* Scroll to a block element by its anchor ID.
|
|
4
|
+
*
|
|
5
|
+
* Uses requestAnimationFrame to defer scrolling until after
|
|
6
|
+
* layout shifts (lazy images, fonts, etc.) have settled.
|
|
7
|
+
*/
|
|
8
|
+
function scrollToBlock(anchorId) {
|
|
9
|
+
requestAnimationFrame(() => {
|
|
10
|
+
document.getElementById(anchorId)?.scrollIntoView({
|
|
11
|
+
behavior: "smooth",
|
|
12
|
+
block: "start"
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { scrollToBlock as t };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
2
|
+
import { Pn as assertNever$1, Wt as assertNever, kt as getShopSuccessCopy, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-DiIeBopB.mjs";
|
|
3
|
+
import { t as ThemedButton } from "./ThemedButton-C7WhXuRl.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-D_8s12Fp.mjs";
|
|
5
|
+
import { d as storeDemoBookingCheckoutReturn, o as DiscountCodeDisclosure, t as BookingConfirmation, u as readDemoBookingCheckoutReturnEmail } from "./DemoBookingPortalAccess-Cvr9O_ca.mjs";
|
|
6
|
+
import { i as useDiscountCodeUi, n as StateIcon, r as CheckIcon, t as TerminalPanel } from "./TerminalPanel-CUCNEwlH.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
8
|
+
import { t as scrollToBlock } from "./scrollToBlock-C86BYkyV.mjs";
|
|
8
9
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
9
|
-
import {
|
|
10
|
+
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-DFGhYrf2.mjs";
|
|
10
11
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-Bxm75Pg6.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-wKhsJQxI.mjs";
|
|
13
13
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
14
14
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -441,19 +441,18 @@ function PassesMembershipsController({ render }) {
|
|
|
441
441
|
}, passDisplay.id);
|
|
442
442
|
}),
|
|
443
443
|
membershipCards: display.memberships.map((membershipDisplay) => {
|
|
444
|
-
const
|
|
445
|
-
if (!membership) return null;
|
|
444
|
+
const { action } = membershipDisplay;
|
|
446
445
|
return /* @__PURE__ */ jsx(MembershipCardView, {
|
|
447
446
|
display: membershipDisplay,
|
|
448
|
-
action: /* @__PURE__ */ jsx(ThemedButton, {
|
|
447
|
+
action: action.kind === "unavailable" ? /* @__PURE__ */ jsx(PassPurchaseUnavailable, { label: action.label }) : /* @__PURE__ */ jsx(ThemedButton, {
|
|
449
448
|
type: "button",
|
|
450
449
|
variant: hydration.buttonVariant,
|
|
451
450
|
size: "md",
|
|
452
451
|
extraClassName: "shop__cta",
|
|
453
|
-
label:
|
|
454
|
-
onClick: () => handleSubscribe(
|
|
452
|
+
label: action.label,
|
|
453
|
+
onClick: () => handleSubscribe(action.product)
|
|
455
454
|
})
|
|
456
|
-
},
|
|
455
|
+
}, membershipDisplay.id);
|
|
457
456
|
})
|
|
458
457
|
})
|
|
459
458
|
}), checkout ? /* @__PURE__ */ jsx(ModalShell, {
|
|
@@ -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-DiIeBopB.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,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Gt as clearWorkflowFeedback, Ht as RichTextDocSchema, Wt as assertNever, Yt as reportWorkflowError, a as buildProductDetailDisplay, bt as logger, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem } from "./propsDecoder-
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
2
|
+
import { Gt as clearWorkflowFeedback, Ht as RichTextDocSchema, Wt as assertNever, Yt as reportWorkflowError, a as buildProductDetailDisplay, bt as logger, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem } from "./propsDecoder-DiIeBopB.mjs";
|
|
3
|
+
import { n as ThemedButtonLink, t as ThemedButton } from "./ThemedButton-C7WhXuRl.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-D_8s12Fp.mjs";
|
|
5
|
+
import { d as storeDemoBookingCheckoutReturn, n as DemoBookingPortalAccess, o as DiscountCodeDisclosure, u as readDemoBookingCheckoutReturnEmail } from "./DemoBookingPortalAccess-Cvr9O_ca.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
7
|
+
import { t as RichText } from "./RichText-BtfNvQV6.mjs";
|
|
8
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-ChxwaNtO.mjs";
|
|
9
|
+
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-DFGhYrf2.mjs";
|
|
10
|
+
import { t as CarouselNodeClient } from "./carousel.client-CISsdZvg.mjs";
|
|
10
11
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import { n as useCommerceCart } from "./shop-commerce-store-Bxm75Pg6.mjs";
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-wKhsJQxI.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,14 +1,60 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Wt as assertNever } from "./propsDecoder-
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
5
|
-
import { c as discountAvailabilityHasDiscounts, l as getAutoAppliedDiscountPreview, s as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { n as ok, t as err } from "./result-DRW7JWXz.mjs";
|
|
3
|
+
import { Wt as assertNever } from "./propsDecoder-DiIeBopB.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-D_8s12Fp.mjs";
|
|
5
|
+
import { c as discountAvailabilityHasDiscounts, l as getAutoAppliedDiscountPreview, s as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-Cvr9O_ca.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-wzR4lKAY.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";
|
|
12
|
+
//#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
|
|
13
|
+
/**
|
|
14
|
+
* URL param helpers for client-side "return from redirect" flows.
|
|
15
|
+
*
|
|
16
|
+
* Used for flows like magic-link login or Stripe checkout return URLs where
|
|
17
|
+
* we want to:
|
|
18
|
+
* - read a query param once
|
|
19
|
+
* - remove it from the URL (so refresh doesn't re-trigger)
|
|
20
|
+
* - preserve hash fragments
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Consume a query param from the current URL's search string.
|
|
24
|
+
*
|
|
25
|
+
* Returns the param value (if present) and removes it from the URL via
|
|
26
|
+
* history.replaceState, preserving hash.
|
|
27
|
+
*/
|
|
28
|
+
function consumeSearchParam(paramName) {
|
|
29
|
+
const url = new URL(window.location.href);
|
|
30
|
+
const value = url.searchParams.get(paramName);
|
|
31
|
+
if (value === null) return null;
|
|
32
|
+
url.searchParams.delete(paramName);
|
|
33
|
+
const newUrl = url.pathname + (url.search ? url.search : "") + url.hash;
|
|
34
|
+
window.history.replaceState({}, "", newUrl);
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Consume multiple query params from the current URL's search string.
|
|
39
|
+
*
|
|
40
|
+
* Returns a record of consumed values (missing params are null) and removes
|
|
41
|
+
* all provided params from the URL in a single replaceState call.
|
|
42
|
+
*/
|
|
43
|
+
function consumeSearchParams(paramNames) {
|
|
44
|
+
const url = new URL(window.location.href);
|
|
45
|
+
const values = Object.fromEntries(paramNames.map((name) => [name, url.searchParams.get(name)]));
|
|
46
|
+
let changed = false;
|
|
47
|
+
for (const name of paramNames) if (url.searchParams.has(name)) {
|
|
48
|
+
url.searchParams.delete(name);
|
|
49
|
+
changed = true;
|
|
50
|
+
}
|
|
51
|
+
if (changed) {
|
|
52
|
+
const newUrl = url.pathname + (url.search ? url.search : "") + url.hash;
|
|
53
|
+
window.history.replaceState({}, "", newUrl);
|
|
54
|
+
}
|
|
55
|
+
return values;
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
12
58
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|
|
13
59
|
function VariantSelectView(props) {
|
|
14
60
|
const { options, selectedVariantId, disabled = false, onChange } = props;
|
|
@@ -655,4 +701,4 @@ function mountShopBlockIsland(root, props, Component, label) {
|
|
|
655
701
|
});
|
|
656
702
|
}
|
|
657
703
|
//#endregion
|
|
658
|
-
export { ProductGalleryFrameView as C, ProductDetailView as S, VariantSelectView as T, MembershipCardView as _, getDiscountApplyFeedback as a, PassesMembershipsSectionView as b, aggregateCartDiscountUiState as c, planDirectShopCheckoutRequest as d, planUnifiedCheckoutRequest as f, CheckoutShellView as g, CartShellView as h, getAppliedDiscountCode as i, checkoutFormForDiscountUiState as l, useTransientShopAddFeedback as m, useDiscountApply as n, initialDiscountApplyState as o, ShopAddFeedback as p, discountApplyReducer as r, isDiscountApplyInFlight as s, mountShopBlockIsland as t, planCartDiscountAvailabilityRequests as u, PassCardView as v, ProductListSectionView as w, ProductCardView as x, PassPurchaseUnavailable as y };
|
|
704
|
+
export { ProductGalleryFrameView as C, consumeSearchParams as D, consumeSearchParam as E, ProductDetailView as S, VariantSelectView as T, MembershipCardView as _, getDiscountApplyFeedback as a, PassesMembershipsSectionView as b, aggregateCartDiscountUiState as c, planDirectShopCheckoutRequest as d, planUnifiedCheckoutRequest as f, CheckoutShellView as g, CartShellView as h, getAppliedDiscountCode as i, checkoutFormForDiscountUiState as l, useTransientShopAddFeedback as m, useDiscountApply as n, initialDiscountApplyState as o, ShopAddFeedback as p, discountApplyReducer as r, isDiscountApplyInFlight as s, mountShopBlockIsland as t, planCartDiscountAvailabilityRequests as u, PassCardView as v, ProductListSectionView as w, ProductCardView as x, PassPurchaseUnavailable as y };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-
|
|
3
|
-
import { F as resolveSpacing, J as getEventRuntimeFiltersKey, K as getBlockApiReadStage, N as SEMANTIC_SPACING_VALUES, P as isSemanticSpacing, Wt as assertNever, X as normalizeCsvString, Y as normalizeCsvIds, Z as normalizeOptionalId,
|
|
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 {
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-D-32xHZh.mjs";
|
|
3
|
+
import { F as resolveSpacing, J as getEventRuntimeFiltersKey, K as getBlockApiReadStage, N as SEMANTIC_SPACING_VALUES, P as isSemanticSpacing, Wt as assertNever, X as normalizeCsvString, Y as normalizeCsvIds, Z as normalizeOptionalId, _t as resolveOnColorForThemeToken, gt as isCssColorLiteral, pt as boxBackgroundSchema, vt as resolveTokenOrCssColorValue, yt as normalizeCardRole } from "./propsDecoder-DiIeBopB.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-BFY0y2rb.mjs";
|
|
5
|
+
import { n as ThemedButtonLink, r as ClockIcon, t as ThemedButton } from "./ThemedButton-C7WhXuRl.mjs";
|
|
6
|
+
import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-DXEh2Lhh.mjs";
|
|
7
|
+
import { a as formatEventNextDateFact, f as resolveEventCta, n as formatDate, o as formatEventTimeRange, p as resolveEventLinkProps, r as formatEventCompactDateRail, s as formatTime, t as eventDateOptions } from "./dates-DeJQbQ9T.mjs";
|
|
8
|
+
import { n as useBlockApi } from "./context-D_8s12Fp.mjs";
|
|
9
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-CvZ3gOdD.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
@@ -2816,7 +2816,8 @@ const CLIENT_ERROR_REPORT_LIMITS = {
|
|
|
2816
2816
|
stack: 8e3,
|
|
2817
2817
|
digest: 128,
|
|
2818
2818
|
componentStack: 8e3,
|
|
2819
|
-
sourceLocation: 1024
|
|
2819
|
+
sourceLocation: 1024,
|
|
2820
|
+
navigationAgeMs: 6e4
|
|
2820
2821
|
};
|
|
2821
2822
|
const clientErrorEventSchema = z.enum([
|
|
2822
2823
|
"dashboard:route-error",
|
|
@@ -2833,7 +2834,17 @@ z.object({
|
|
|
2833
2834
|
stack: z.string().max(CLIENT_ERROR_REPORT_LIMITS.stack).nullable(),
|
|
2834
2835
|
digest: z.string().max(CLIENT_ERROR_REPORT_LIMITS.digest).nullable(),
|
|
2835
2836
|
componentStack: z.string().max(CLIENT_ERROR_REPORT_LIMITS.componentStack).nullable(),
|
|
2836
|
-
sourceLocation: z.string().max(CLIENT_ERROR_REPORT_LIMITS.sourceLocation).nullable()
|
|
2837
|
+
sourceLocation: z.string().max(CLIENT_ERROR_REPORT_LIMITS.sourceLocation).nullable(),
|
|
2838
|
+
navigation: z.object({
|
|
2839
|
+
fromPathname: z.string().regex(/^\/[^?#]*$/).max(CLIENT_ERROR_REPORT_LIMITS.pathname),
|
|
2840
|
+
toPathname: z.string().regex(/^\/[^?#]*$/).max(CLIENT_ERROR_REPORT_LIMITS.pathname),
|
|
2841
|
+
type: z.enum([
|
|
2842
|
+
"push",
|
|
2843
|
+
"replace",
|
|
2844
|
+
"traverse"
|
|
2845
|
+
]),
|
|
2846
|
+
ageMs: z.number().int().min(0).max(CLIENT_ERROR_REPORT_LIMITS.navigationAgeMs)
|
|
2847
|
+
}).strict().nullable().optional()
|
|
2837
2848
|
}).strict();
|
|
2838
2849
|
const API_ENDPOINTS = {
|
|
2839
2850
|
...SITE_LIFECYCLE_ENDPOINT_DEFINITIONS,
|
|
@@ -6590,24 +6601,6 @@ const API_ENDPOINTS = {
|
|
|
6590
6601
|
"server:internal_error"
|
|
6591
6602
|
]
|
|
6592
6603
|
},
|
|
6593
|
-
syncBookingPassWithStripe: {
|
|
6594
|
-
path: "/sites/{siteId}/bookings/passes/{passId}/sync-stripe",
|
|
6595
|
-
method: "POST",
|
|
6596
|
-
tags: [
|
|
6597
|
-
"site-{siteId}",
|
|
6598
|
-
"passes-{siteId}",
|
|
6599
|
-
"pass-{passId}"
|
|
6600
|
-
],
|
|
6601
|
-
auth: "user",
|
|
6602
|
-
responseKind: "json",
|
|
6603
|
-
errors: [
|
|
6604
|
-
"validation:invalid_input",
|
|
6605
|
-
"auth:forbidden",
|
|
6606
|
-
"resource:not_found",
|
|
6607
|
-
"resource:conflict",
|
|
6608
|
-
"server:internal_error"
|
|
6609
|
-
]
|
|
6610
|
-
},
|
|
6611
6604
|
refundCustomerPass: {
|
|
6612
6605
|
path: "/sites/{siteId}/bookings/customer-passes/{customerPassId}/refund",
|
|
6613
6606
|
method: "POST",
|
|
@@ -8071,7 +8064,7 @@ const API_ENDPOINTS = {
|
|
|
8071
8064
|
]
|
|
8072
8065
|
},
|
|
8073
8066
|
cancelFlexibleBalanceBookingDueToNonPayment: {
|
|
8074
|
-
path: "/sites/{siteId}/shop/orders/{orderId}/
|
|
8067
|
+
path: "/sites/{siteId}/shop/orders/{orderId}/flexible-balance/cancel-due-to-non-payment",
|
|
8075
8068
|
method: "POST",
|
|
8076
8069
|
auth: "user",
|
|
8077
8070
|
responseKind: "json",
|
|
@@ -8082,7 +8075,7 @@ const API_ENDPOINTS = {
|
|
|
8082
8075
|
]
|
|
8083
8076
|
},
|
|
8084
8077
|
reopenFlexibleBalanceBookingAfterNonPaymentCancellation: {
|
|
8085
|
-
path: "/sites/{siteId}/shop/orders/{orderId}/
|
|
8078
|
+
path: "/sites/{siteId}/shop/orders/{orderId}/flexible-balance/reopen",
|
|
8086
8079
|
method: "POST",
|
|
8087
8080
|
auth: "user",
|
|
8088
8081
|
responseKind: "json",
|
|
@@ -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-C0mndwHB.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-tj45gmCX.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-2p8uQk1V.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-2p8uQk1V.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -4,5 +4,9 @@ const PREVIEW_REFRESH_COOKIE_NAME = "preview_refresh_token";
|
|
|
4
4
|
const PREVIEW_COOKIE_MAX_AGE = 3600 * 12;
|
|
5
5
|
const PREVIEW_CODE_PARAM = "preview_code";
|
|
6
6
|
const PREVIEW_THEME_COOKIE_NAME = "preview_theme_id";
|
|
7
|
+
const PREVIEW_KEEP_ALIVE_INTERVAL_MS = 600 * 1e3;
|
|
8
|
+
const PREVIEW_KEEP_ALIVE_JITTER_RATIO = .1;
|
|
9
|
+
const PREVIEW_KEEP_ALIVE_MAX_INTERVAL_MS = PREVIEW_KEEP_ALIVE_INTERVAL_MS * 1.1;
|
|
10
|
+
const PREVIEW_REFRESH_THRESHOLD_SECONDS = 900;
|
|
7
11
|
//#endregion
|
|
8
|
-
export { PREVIEW_CODE_PARAM, PREVIEW_COOKIE_MAX_AGE, PREVIEW_COOKIE_NAME, PREVIEW_REFRESH_COOKIE_NAME, PREVIEW_THEME_COOKIE_NAME };
|
|
12
|
+
export { PREVIEW_CODE_PARAM, PREVIEW_COOKIE_MAX_AGE, PREVIEW_COOKIE_NAME, PREVIEW_KEEP_ALIVE_INTERVAL_MS, PREVIEW_KEEP_ALIVE_JITTER_RATIO, PREVIEW_KEEP_ALIVE_MAX_INTERVAL_MS, PREVIEW_REFRESH_COOKIE_NAME, PREVIEW_REFRESH_THRESHOLD_SECONDS, PREVIEW_THEME_COOKIE_NAME };
|
|
@@ -4,6 +4,10 @@ const PREVIEW_REFRESH_COOKIE_NAME = "preview_refresh_token";
|
|
|
4
4
|
const PREVIEW_COOKIE_MAX_AGE = 3600 * 12;
|
|
5
5
|
const PREVIEW_CODE_PARAM = "preview_code";
|
|
6
6
|
const PREVIEW_THEME_COOKIE_NAME = "preview_theme_id";
|
|
7
|
+
const PREVIEW_KEEP_ALIVE_INTERVAL_MS = 600 * 1e3;
|
|
8
|
+
const PREVIEW_KEEP_ALIVE_JITTER_RATIO = .1;
|
|
9
|
+
const PREVIEW_KEEP_ALIVE_MAX_INTERVAL_MS = PREVIEW_KEEP_ALIVE_INTERVAL_MS * 1.1;
|
|
10
|
+
const PREVIEW_REFRESH_THRESHOLD_SECONDS = 900;
|
|
7
11
|
//#endregion
|
|
8
12
|
//#region ../preview-next/src/cookies.ts
|
|
9
13
|
function getPreviewCookieOptions(options = {}) {
|
|
@@ -35,4 +39,4 @@ function clearPreviewCookies(res) {
|
|
|
35
39
|
return res;
|
|
36
40
|
}
|
|
37
41
|
//#endregion
|
|
38
|
-
export { PREVIEW_CODE_PARAM, PREVIEW_COOKIE_MAX_AGE, PREVIEW_COOKIE_NAME, PREVIEW_REFRESH_COOKIE_NAME, PREVIEW_THEME_COOKIE_NAME, clearPreviewCookies, setPreviewAuthCookies, setPreviewCookie, setPreviewRefreshCookie };
|
|
42
|
+
export { PREVIEW_CODE_PARAM, PREVIEW_COOKIE_MAX_AGE, PREVIEW_COOKIE_NAME, PREVIEW_KEEP_ALIVE_INTERVAL_MS, PREVIEW_KEEP_ALIVE_JITTER_RATIO, PREVIEW_KEEP_ALIVE_MAX_INTERVAL_MS, PREVIEW_REFRESH_COOKIE_NAME, PREVIEW_REFRESH_THRESHOLD_SECONDS, PREVIEW_THEME_COOKIE_NAME, clearPreviewCookies, setPreviewAuthCookies, setPreviewCookie, setPreviewRefreshCookie };
|