@riverbankcms/sdk 0.174.0 → 0.174.1
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/_dts/{BlocksIslandsHydrator-GqVX3I8E.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-BhUH31M-.d.ts → Page-Du0zX1B-.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +2 -2
- package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-CHMlw9hT.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Bq-488M7.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-DYsP4k6S.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-3GzargmS.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DYlfdT1O.d.ts → index-D9ZYmGAJ.d.ts} +1 -1
- package/dist/_dts/{index-DdEi2iXd.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index--39uLjrr.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-M-s0p0rq.d.ts} +7 -7
- package/dist/_dts/{request-Be1E-H-V.d.ts → request-BK-pHf0P.d.ts} +449 -118
- package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-DXUCWJ3y.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-5MeDI1w8.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-Bm5_3VEd.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-CVoCc_Ia.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +16 -16
- package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-CwrMzj-k.mjs} +2 -2
- package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-CDkkP-Lv.mjs} +8 -8
- package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-DK3aaz62.mjs} +5 -5
- package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-WeUipfIP.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-DKFImKOx.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +39 -13
- package/dist/client/{Page--xJ23nA5.mjs → Page-BpeP9xdt.mjs} +58 -1011
- package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-CP6zrwkl.mjs} +4 -241
- package/dist/client/{accordion-BQtTkDN8.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-Ce-mQZ7W.mjs} +6 -6
- package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-B-qT_AQB.mjs} +3 -3
- package/dist/client/bookings.mjs +3 -3
- package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CPsW-FPh.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-CwElmocm.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-CfMgqY8H.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +4 -3
- package/dist/client/{course-q1sA4Cj-.mjs → course-DHIrXqNT.mjs} +1 -1
- package/dist/client/{display-D8MW2b0e.mjs → display-Cf_j5stk.mjs} +1972 -382
- package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-zbuX36aA.mjs} +133 -127
- package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-uZrksODt.mjs} +3 -3
- package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-DxhvNAx8.mjs} +3 -3
- package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-_14atrj8.mjs → eventListing-B9KrnPvc.mjs} +3 -3
- package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-TjnURMKl.mjs} +3 -3
- package/dist/client/{form-DfAB-llc.mjs → form-CfqIAhfN.mjs} +2 -2
- package/dist/client/{form.client-DN-I9_qC.mjs → form.client-CL6fF0cW.mjs} +2 -2
- package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{headerSection-Dces54pb.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs} +3 -3
- package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-DOVe-qY3.mjs} +2 -2
- package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-Df5qDD0z.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-mpBQt2AT.mjs} +2 -2
- package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-DdTJyar2.mjs} +19 -37
- package/dist/client/rendering/client.mjs +20 -20
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -6
- package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{shop-gteEpeO5.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-DkValjZj.mjs} +8 -8
- package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +1 -1
- package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BTtZqNmv.mjs} +8 -8
- package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-DNRqG4aX.mjs} +6 -5
- package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-Nky6kPYr.mjs} +1 -1
- package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DZArznD_.mjs} +5 -142
- package/dist/client/{useDiscountApply-BZU5DWZQ.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Da2JqxGC.mjs} +4 -4
- package/dist/client/{view-CvlTplao.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-CxUpgcM6.mjs → view-D9ObkFtz.mjs} +5 -6
- package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-DwxHT-2k.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +9 -9
- package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-D8mUct32.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-L2AEdNUQ.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-Jpj_HDra.mjs} +852 -610
- package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-DmGIG9Hk.mjs} +3 -3
- package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-DQCyswQ-.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +13 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-BOuNcOcN.mjs} +1 -0
- package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-wfJfhs08.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-BtrJNHTB.mjs} +1 -1
- package/dist/server/{bindings-CQg2lzZn.mjs → bindings-P1CF2Gm6.mjs} +4 -4
- package/dist/server/{client-aYRTVneD.mjs → client-CGtU5fHI.mjs} +2 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-ChnkJSay.mjs} +4 -4
- package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-DesHhgxj.mjs} +2 -2
- package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-BBr0mkze.mjs} +106 -8
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-DHEkHcZs.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-0jvm0RBk.mjs} +13 -323
- package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +1 -1
- package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-CuVFoV4z.mjs} +7 -243
- package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-34rkAfaU.mjs → registry-DmqxC8th.mjs} +663 -48
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{validation-CLVKoJrX.mjs → validation-Bt_8IL1g.mjs} +3 -3
- package/dist/server/{version-HVfdvBJ0.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +66 -20
- package/package.json +1 -1
- package/dist/client/bookability-CE637yDE.mjs +0 -17
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _n as staticHeaderChromeRuntime } from "./shop.interactive-
|
|
3
|
-
import { t as buildCartDisplay } from "./display-
|
|
2
|
+
import { _n as staticHeaderChromeRuntime } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { t as buildCartDisplay } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
5
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
6
6
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
7
7
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
8
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
8
|
+
import { n as useCommerceCart } from "./shop-commerce-store-BOmXFmk_.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { createPortal } from "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-
|
|
2
|
+
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-D9ObkFtz.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, an as formatEventPriceDisplay, at as bookingPanelHeading, et as DEFAULT_BOOKING_BUTTON_TEXT, it as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, nt as bookingCardEntry, ot as courseTitleOf, rt as bookingEntry, tt as bookingBarPlacement } from "./shop.interactive-
|
|
3
|
-
import { $
|
|
2
|
+
import { L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, an as formatEventPriceDisplay, at as bookingPanelHeading, et as DEFAULT_BOOKING_BUTTON_TEXT, it as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, nt as bookingCardEntry, ot as courseTitleOf, rt as bookingEntry, tt as bookingBarPlacement } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { $c as publicEventPricingCurrency, $t as runPricingChoice, An as formatDate, B as placeCountCeiling, C as panelShouldOpen, D as registrationStepLabel, Dn as areEntitlementsDisabledForTicketCount, En as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, G as resolveRegistrationAvailabilityBlocker, Ha as resolveEventRegistrationScopedEvents, Ht as SELECTION_LIMIT_NOTE, L as shouldPromptForLogin, Ln as getTicketTypeAvailabilityLabel, Mi as formatCentsAsCurrencyInput, Mn as formatPassCreditUsageLabel, Nc as INCOMPATIBLE_ATTENDANCE_MESSAGE, Ni as formatPrice, Nn as formatRegistrationSchedule, O as registrationStepLabelContext, Pn as formatTime, Qn as canRequestTicketOption, Qt as runNeedsPricingChoice, R as fullyBookedLabel, Rn as getVisibleTicketTypes, S as getEventSelectionMode, Sn as selectionItemName, Ut as SEVERAL_BOOKINGS_ACCOUNT_NOTE, Vn as withOccurrenceTitle, Wt as canToggleSelectionItem, X as isEventRegistrationAvailable, Z as normalizeEventRegistrationMaxTickets, Zt as runChoiceUsable, _i as getRegistrationSuccessCopy, _r as shownVenue, an as selectionIncludes, ao as getEventAvailability, ar as setTicketLineQuantity, bt as confirmationPaymentRows, cn as selectionPlacesLabel, co as isEventFull, do as groupPublicEventsByRun, en as runUnitPriceCents, eo as canJoinEventWaitlist, er as getTicketLineQuantity, fn as severalConfirmationSentence, in as selectionEntitlementNote, jn as formatEventDateTime, k as areEventRegistrationPaymentSelectionsEqual, kn as formatBookingWhen, ln as selectionPlacesNote, lo as selectEventCapacitySource, mr as placesLeftLabel, nl as publicEventPricingType, nn as selectionConfirmationHint, nr as getTicketTypeLineMax, ot as paymentChoiceDetails, pr as bookingPresentation, q as settledRemainingPlaces, rn as selectionConsentLabel, sn as selectionItemsLabel, so as getRemainingPlaces, st as paymentChoicePrice, tl as publicEventPricingStrategy, tn as selectionAtLimit, to as canJoinEventWaitlistOnAnyMode, tr as getTicketSelectionTotal, un as selectionRowAvailability, uo as selectMostOpenCapacitySource, vn as combinationOfferLine, xt as resolveFinishedPresentation, yn as combinationOffersOf, zn as occurrenceTitleOverride } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { mn as formatCurrencyAmount } from "./noop-D5mFWXtN.mjs";
|
|
5
5
|
import { S as formatCreditProductUnits, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
6
|
-
import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
+
import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-1p-pJ1lg.mjs";
|
|
7
7
|
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
8
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
8
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-Dn9TpWyL.mjs";
|
|
9
9
|
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
10
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-D391QRNc.mjs";
|
|
11
10
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
11
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
13
12
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
14
13
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
15
14
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
15
|
import { i as useBookingNowIso } from "./BookingQuestionFields-DZMrGvBh.mjs";
|
|
17
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-d7viY_mu.mjs";
|
|
18
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
19
|
-
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
18
|
+
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-CwrMzj-k.mjs";
|
|
20
19
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
20
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CP6zrwkl.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
22
22
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -520,10 +520,10 @@ function CombinationPricing(props) {
|
|
|
520
520
|
className: "er-summary-bar-pricing",
|
|
521
521
|
children: [/* @__PURE__ */ jsx("span", {
|
|
522
522
|
className: "er-summary-bar-price er-summary-bar-price--struck",
|
|
523
|
-
children: formatPrice
|
|
523
|
+
children: formatPrice(props.listCents, props.currency)
|
|
524
524
|
}), /* @__PURE__ */ jsx("span", {
|
|
525
525
|
className: "er-summary-bar-price",
|
|
526
|
-
children: formatPrice
|
|
526
|
+
children: formatPrice(props.totalCents, props.currency)
|
|
527
527
|
})]
|
|
528
528
|
});
|
|
529
529
|
}
|
|
@@ -652,7 +652,7 @@ function EntitlementSummaryRow(props) {
|
|
|
652
652
|
children: props.copy.productPrice ? /* @__PURE__ */ jsx("span", {
|
|
653
653
|
className: "er-summary-bar-included",
|
|
654
654
|
children: props.copy.productPrice
|
|
655
|
-
}) : productPrice && productCurrency ? formatPrice
|
|
655
|
+
}) : productPrice && productCurrency ? formatPrice(productPrice, productCurrency) : null
|
|
656
656
|
})]
|
|
657
657
|
});
|
|
658
658
|
}
|
|
@@ -699,9 +699,26 @@ function PaymentProductRow(props) {
|
|
|
699
699
|
function summaryCountLabel(wizard, summaryEvent) {
|
|
700
700
|
if (wizard.severalItems !== null) return selectionPlacesLabel(wizard.severalItems, wizard.selection, wizard.ticketsCount);
|
|
701
701
|
if (wizard.ticketsCount <= 0) return null;
|
|
702
|
-
const
|
|
702
|
+
const tiered = summaryEvent !== null && summaryEvent !== void 0 && publicEventPricingStrategy(summaryEvent.pricing) === "tiered";
|
|
703
|
+
if (tiered) {
|
|
704
|
+
const byType = ticketTypeCountLabel(wizard.selectedTicketLines, wizard.visibleTicketTypes);
|
|
705
|
+
if (byType) return byType;
|
|
706
|
+
}
|
|
707
|
+
const unit = tiered ? "ticket" : "place";
|
|
703
708
|
return `${wizard.ticketsCount} ${unit}${wizard.ticketsCount === 1 ? "" : "s"}`;
|
|
704
709
|
}
|
|
710
|
+
/** "1 Standard, 1 Concession" when tickets of more than one type are chosen; otherwise null. */
|
|
711
|
+
function ticketTypeCountLabel(lines, ticketTypes) {
|
|
712
|
+
const chosen = lines.filter((line) => line.quantity > 0);
|
|
713
|
+
if (chosen.length < 2) return null;
|
|
714
|
+
const parts = [];
|
|
715
|
+
for (const line of chosen) {
|
|
716
|
+
const name = ticketTypes.find((type) => type.pricingOptionId === line.pricingOptionId)?.name;
|
|
717
|
+
if (!name) return null;
|
|
718
|
+
parts.push(`${line.quantity} ${name}`);
|
|
719
|
+
}
|
|
720
|
+
return parts.join(", ");
|
|
721
|
+
}
|
|
705
722
|
/**
|
|
706
723
|
* The footer's one line (issue 1581): how many, the discount's name, then
|
|
707
724
|
* when. Ticket types are tickets; a single price, or a course, is places.
|
|
@@ -809,7 +826,7 @@ function SeveralStepSummary({ wizard }) {
|
|
|
809
826
|
className: "er-summary-bar-pricing",
|
|
810
827
|
children: /* @__PURE__ */ jsx("span", {
|
|
811
828
|
className: "er-summary-bar-price",
|
|
812
|
-
children: formatPrice
|
|
829
|
+
children: formatPrice(total, currency)
|
|
813
830
|
})
|
|
814
831
|
}) : null,
|
|
815
832
|
/* @__PURE__ */ jsx(CombinationDetail, { working })
|
|
@@ -918,21 +935,21 @@ function EventRegistrationSummaryBar(props) {
|
|
|
918
935
|
className: "er-summary-bar-pricing",
|
|
919
936
|
children: productMethod ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
920
937
|
className: "er-summary-bar-price er-summary-bar-price--struck",
|
|
921
|
-
children: formatPrice
|
|
938
|
+
children: formatPrice(subtotalCents, summaryCurrency)
|
|
922
939
|
}), /* @__PURE__ */ jsx("div", {
|
|
923
940
|
className: "er-summary-bar-included",
|
|
924
941
|
children: entitlementCopy.pricingNote
|
|
925
942
|
})] }) : flexibleBalanceSummary ? /* @__PURE__ */ jsx(FlexibleBalancePricing, {
|
|
926
943
|
summary: flexibleBalanceSummary,
|
|
927
|
-
fallbackDueToday: formatPrice
|
|
944
|
+
fallbackDueToday: formatPrice(discountedTotalCents, summaryCurrency)
|
|
928
945
|
}) : autoAppliedDiscount && autoAppliedDiscountCents > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
929
946
|
/* @__PURE__ */ jsx("span", {
|
|
930
947
|
className: "er-summary-bar-price er-summary-bar-price--struck",
|
|
931
|
-
children: formatPrice
|
|
948
|
+
children: formatPrice(subtotalCents, summaryCurrency)
|
|
932
949
|
}),
|
|
933
950
|
/* @__PURE__ */ jsx("span", {
|
|
934
951
|
className: "er-summary-bar-price",
|
|
935
|
-
children: formatPrice
|
|
952
|
+
children: formatPrice(discountedTotalCents, summaryCurrency)
|
|
936
953
|
}),
|
|
937
954
|
autoAppliedDiscount.description ? /* @__PURE__ */ jsx("div", {
|
|
938
955
|
className: "er-summary-bar-product-detail er-summary-bar-discount-detail",
|
|
@@ -940,7 +957,7 @@ function EventRegistrationSummaryBar(props) {
|
|
|
940
957
|
}) : null
|
|
941
958
|
] }) : /* @__PURE__ */ jsx("span", {
|
|
942
959
|
className: "er-summary-bar-price",
|
|
943
|
-
children: formatPrice
|
|
960
|
+
children: formatPrice(subtotalCents, summaryCurrency)
|
|
944
961
|
})
|
|
945
962
|
}),
|
|
946
963
|
/* @__PURE__ */ jsx(CombinationDetail, { working })
|
|
@@ -1426,9 +1443,9 @@ function BookingQuantityPrompt(props) {
|
|
|
1426
1443
|
}
|
|
1427
1444
|
function SlidingScaleAmountField(props) {
|
|
1428
1445
|
const id = props.id ?? "er-sliding-amount";
|
|
1429
|
-
const minLabel = formatPrice
|
|
1430
|
-
const maxLabel = formatPrice
|
|
1431
|
-
const suggestedLabel = props.slidingScale.suggestedAmount !== null ? formatPrice
|
|
1446
|
+
const minLabel = formatPrice(props.slidingScale.minAmount, props.currency);
|
|
1447
|
+
const maxLabel = formatPrice(props.slidingScale.maxAmount, props.currency);
|
|
1448
|
+
const suggestedLabel = props.slidingScale.suggestedAmount !== null ? formatPrice(props.slidingScale.suggestedAmount, props.currency) : null;
|
|
1432
1449
|
return /* @__PURE__ */ jsxs("div", {
|
|
1433
1450
|
className: "er-field",
|
|
1434
1451
|
children: [
|
|
@@ -1482,9 +1499,10 @@ function TicketTypeQuantityRows(props) {
|
|
|
1482
1499
|
const availabilityLabel = getTicketTypeAvailabilityLabel(ticketType);
|
|
1483
1500
|
const ticketTypeRemainingLabel = placesLeftLabel({
|
|
1484
1501
|
kind: "ticketType",
|
|
1485
|
-
remaining: ticketType.availability.remainingPlaces
|
|
1502
|
+
remaining: ticketType.availability.remainingPlaces,
|
|
1503
|
+
dateRemaining: props.availableSpots ?? null
|
|
1486
1504
|
}, props.display);
|
|
1487
|
-
const priceLabel = ticketType.priceAmount > 0 ? formatPrice
|
|
1505
|
+
const priceLabel = ticketType.priceAmount > 0 ? formatPrice(ticketType.priceAmount, props.currency) : "Free";
|
|
1488
1506
|
const maxAllowed = getTicketTypeLineMax({
|
|
1489
1507
|
currentQuantity: quantity,
|
|
1490
1508
|
totalSelectedQuantity,
|
|
@@ -1792,7 +1810,7 @@ function RunTicketTypeChoice({ run, name, choice, facts, onChange }) {
|
|
|
1792
1810
|
id: option.id,
|
|
1793
1811
|
label: option.name,
|
|
1794
1812
|
details: option.description ? [option.description] : [],
|
|
1795
|
-
price: option.priceAmount > 0 ? formatPrice
|
|
1813
|
+
price: option.priceAmount > 0 ? formatPrice(option.priceAmount, currency) : "Free",
|
|
1796
1814
|
selected: choice.pricingOptionId === option.id,
|
|
1797
1815
|
disabled: !usable,
|
|
1798
1816
|
disabledReason: usable ? void 0 : "Not available",
|
|
@@ -1929,110 +1947,98 @@ function SeveralRunsTicketStep(props) {
|
|
|
1929
1947
|
}
|
|
1930
1948
|
//#endregion
|
|
1931
1949
|
//#region ../blocks/src/system/runtime/nodes/event-registration/SelectionPaymentSummary.tsx
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
const money =
|
|
1950
|
-
return /* @__PURE__ */ jsxs(
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
label: summary.placesLabel,
|
|
1969
|
-
value: money(summary.subtotalCents)
|
|
1970
|
-
},
|
|
1971
|
-
...summary.reductions.map((row) => ({
|
|
1972
|
-
key: row.key,
|
|
1973
|
-
label: row.label,
|
|
1974
|
-
value: `−${money(row.amountCents)}`
|
|
1975
|
-
})),
|
|
1976
|
-
{
|
|
1977
|
-
key: "total",
|
|
1978
|
-
label: "Total",
|
|
1979
|
-
value: money(summary.totalCents)
|
|
1980
|
-
}
|
|
1981
|
-
] })
|
|
1982
|
-
})]
|
|
1983
|
-
}),
|
|
1984
|
-
summary.note ? /* @__PURE__ */ jsx("p", {
|
|
1985
|
-
className: "er-combination-note",
|
|
1986
|
-
role: "status",
|
|
1987
|
-
children: summary.note
|
|
1988
|
-
}) : null,
|
|
1989
|
-
summary.savingCents !== null ? /* @__PURE__ */ jsxs("p", {
|
|
1990
|
-
className: "er-combination-saving",
|
|
1991
|
-
children: ["You save ", money(summary.savingCents)]
|
|
1992
|
-
}) : null
|
|
1993
|
-
] });
|
|
1950
|
+
function Lines(props) {
|
|
1951
|
+
return /* @__PURE__ */ jsx("dl", {
|
|
1952
|
+
className: "er-selection-payment__lines",
|
|
1953
|
+
children: props.lines.map((line) => /* @__PURE__ */ jsxs("div", {
|
|
1954
|
+
className: "er-confirmation-summary__row",
|
|
1955
|
+
children: [/* @__PURE__ */ jsxs("dt", { children: [line.label, line.multiplier ? /* @__PURE__ */ jsxs("span", {
|
|
1956
|
+
className: "er-selection-payment__multiplier",
|
|
1957
|
+
children: [
|
|
1958
|
+
line.multiplier.places,
|
|
1959
|
+
" × ",
|
|
1960
|
+
props.money(line.multiplier.unitPriceCents)
|
|
1961
|
+
]
|
|
1962
|
+
}) : null] }), /* @__PURE__ */ jsx("dd", { children: props.money(line.amountCents) })]
|
|
1963
|
+
}, line.key))
|
|
1964
|
+
});
|
|
1965
|
+
}
|
|
1966
|
+
function Totals(props) {
|
|
1967
|
+
const { money } = props;
|
|
1968
|
+
return /* @__PURE__ */ jsxs("dl", {
|
|
1969
|
+
className: "er-selection-payment__lines er-selection-payment__totals",
|
|
1970
|
+
children: [[...props.subtotalCents === null ? [] : [{
|
|
1971
|
+
key: "subtotal",
|
|
1972
|
+
label: "Subtotal",
|
|
1973
|
+
value: money(props.subtotalCents)
|
|
1974
|
+
}], ...props.reductions.map((row) => ({
|
|
1975
|
+
key: row.key,
|
|
1976
|
+
label: row.label,
|
|
1977
|
+
value: `−${money(row.amountCents)}`
|
|
1978
|
+
}))].map((row) => /* @__PURE__ */ jsxs("div", {
|
|
1979
|
+
className: "er-confirmation-summary__row",
|
|
1980
|
+
children: [/* @__PURE__ */ jsx("dt", { children: row.label }), /* @__PURE__ */ jsx("dd", { children: row.value })]
|
|
1981
|
+
}, row.key)), /* @__PURE__ */ jsxs("div", {
|
|
1982
|
+
className: "er-confirmation-summary__row er-selection-payment__total",
|
|
1983
|
+
children: [/* @__PURE__ */ jsx("dt", { children: "Total" }), /* @__PURE__ */ jsx("dd", { children: money(props.totalCents) })]
|
|
1984
|
+
})]
|
|
1985
|
+
});
|
|
1994
1986
|
}
|
|
1995
1987
|
/**
|
|
1996
|
-
* What several items cost, above the payment choice (issue 1725):
|
|
1997
|
-
*
|
|
1998
|
-
*
|
|
1988
|
+
* What several items cost, above the payment choice (issue 1725): the items
|
|
1989
|
+
* and places as a caption, each item at what all its places cost, then the
|
|
1990
|
+
* total (after a subtotal and any code when something comes off). With
|
|
1991
|
+
* combination prices the items are grouped by combination, with the note
|
|
1992
|
+
* and saving under the list.
|
|
1999
1993
|
*/
|
|
2000
1994
|
function SelectionPaymentSummary(props) {
|
|
2001
1995
|
const { summary, currency } = props;
|
|
1996
|
+
const money = (cents) => formatCurrencyAmount(cents, currency);
|
|
1997
|
+
const groups = summary.kind === "combined" ? summary.groups : [{
|
|
1998
|
+
key: "items",
|
|
1999
|
+
heading: null,
|
|
2000
|
+
lines: summary.lines
|
|
2001
|
+
}];
|
|
2002
2002
|
return /* @__PURE__ */ jsxs("div", {
|
|
2003
2003
|
className: "rb-reg-stack er-stack er-selection-payment-summary",
|
|
2004
|
-
children: [
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2004
|
+
children: [
|
|
2005
|
+
/* @__PURE__ */ jsx("h3", {
|
|
2006
|
+
tabIndex: -1,
|
|
2007
|
+
className: "er-title",
|
|
2008
|
+
children: "Your booking"
|
|
2009
|
+
}),
|
|
2010
|
+
/* @__PURE__ */ jsxs("div", {
|
|
2011
|
+
className: "er-confirmation-summary er-selection-payment",
|
|
2012
|
+
children: [
|
|
2013
|
+
/* @__PURE__ */ jsx("p", {
|
|
2014
|
+
className: "er-selection-payment__caption",
|
|
2015
|
+
children: summary.caption
|
|
2016
|
+
}),
|
|
2017
|
+
groups.map((group) => /* @__PURE__ */ jsxs(React.Fragment, { children: [group.heading ? /* @__PURE__ */ jsx("p", {
|
|
2018
|
+
className: "er-selection-payment__group",
|
|
2019
|
+
children: group.heading
|
|
2020
|
+
}) : null, /* @__PURE__ */ jsx(Lines, {
|
|
2021
|
+
lines: group.lines,
|
|
2022
|
+
money
|
|
2023
|
+
})] }, group.key)),
|
|
2024
|
+
/* @__PURE__ */ jsx(Totals, {
|
|
2025
|
+
subtotalCents: summary.subtotalCents,
|
|
2026
|
+
reductions: summary.reductions,
|
|
2027
|
+
totalCents: summary.totalCents,
|
|
2028
|
+
money
|
|
2029
|
+
})
|
|
2030
|
+
]
|
|
2031
|
+
}),
|
|
2032
|
+
summary.kind === "combined" && summary.note ? /* @__PURE__ */ jsx("p", {
|
|
2033
|
+
className: "er-combination-note",
|
|
2034
|
+
role: "status",
|
|
2035
|
+
children: summary.note
|
|
2036
|
+
}) : null,
|
|
2037
|
+
summary.kind === "combined" && summary.savingCents !== null ? /* @__PURE__ */ jsxs("p", {
|
|
2038
|
+
className: "er-combination-saving",
|
|
2039
|
+
children: ["You save ", money(summary.savingCents)]
|
|
2040
|
+
}) : null
|
|
2041
|
+
]
|
|
2036
2042
|
});
|
|
2037
2043
|
}
|
|
2038
2044
|
//#endregion
|
|
@@ -2928,7 +2934,7 @@ function SiteCreditPreviewPanel(props) {
|
|
|
2928
2934
|
children: [
|
|
2929
2935
|
"You have",
|
|
2930
2936
|
" ",
|
|
2931
|
-
formatPrice
|
|
2937
|
+
formatPrice(preview.availableCreditCents, preview.creditCurrency),
|
|
2932
2938
|
" ",
|
|
2933
2939
|
"in site credit, but it can't be used for this",
|
|
2934
2940
|
" ",
|
|
@@ -2947,18 +2953,18 @@ function SiteCreditPreviewPanel(props) {
|
|
|
2947
2953
|
}),
|
|
2948
2954
|
/* @__PURE__ */ jsxs("p", {
|
|
2949
2955
|
className: "er-text",
|
|
2950
|
-
children: ["Available: ", formatPrice
|
|
2956
|
+
children: ["Available: ", formatPrice(preview.availableCreditCents, props.currency)]
|
|
2951
2957
|
}),
|
|
2952
2958
|
/* @__PURE__ */ jsx("p", {
|
|
2953
2959
|
className: "er-text",
|
|
2954
|
-
children: preview.outcome === "credit_only" ? `Your credit covers this registration. ${formatPrice
|
|
2960
|
+
children: preview.outcome === "credit_only" ? `Your credit covers this registration. ${formatPrice(preview.appliedCreditCents, props.currency)} will be used and no card payment is needed.` : preview.cardDueNowCents === 0 ? `${formatPrice(preview.appliedCreditCents, props.currency)} will be applied automatically. No card payment is needed today.` : `${formatPrice(preview.appliedCreditCents, props.currency)} will be applied automatically. ${formatPrice(preview.cardDueNowCents, props.currency)} is due by card today.`
|
|
2955
2961
|
}),
|
|
2956
2962
|
preview.laterBalanceCents > 0 && /* @__PURE__ */ jsxs("p", {
|
|
2957
2963
|
className: "er-text er-text--muted",
|
|
2958
2964
|
children: [
|
|
2959
2965
|
"Remaining balance after today:",
|
|
2960
2966
|
" ",
|
|
2961
|
-
formatPrice
|
|
2967
|
+
formatPrice(preview.laterBalanceCents, props.currency)
|
|
2962
2968
|
]
|
|
2963
2969
|
}),
|
|
2964
2970
|
preview.remainingCreditCents > 0 && /* @__PURE__ */ jsxs("p", {
|
|
@@ -2966,7 +2972,7 @@ function SiteCreditPreviewPanel(props) {
|
|
|
2966
2972
|
children: [
|
|
2967
2973
|
"Credit left afterwards:",
|
|
2968
2974
|
" ",
|
|
2969
|
-
formatPrice
|
|
2975
|
+
formatPrice(preview.remainingCreditCents, props.currency)
|
|
2970
2976
|
]
|
|
2971
2977
|
}),
|
|
2972
2978
|
preview.manualDiscountPending && /* @__PURE__ */ jsx("p", {
|
|
@@ -3077,7 +3083,7 @@ function purchasablePassChoices(eligibility) {
|
|
|
3077
3083
|
},
|
|
3078
3084
|
label: pass.name,
|
|
3079
3085
|
details: [`${pass.creditsTotal} credits`, ...pass.description ? [pass.description] : []],
|
|
3080
|
-
price: formatPrice
|
|
3086
|
+
price: formatPrice(pass.price, pass.currency)
|
|
3081
3087
|
}));
|
|
3082
3088
|
}
|
|
3083
3089
|
function purchasableMembershipChoices(eligibility) {
|
|
@@ -3093,7 +3099,7 @@ function purchasableMembershipChoices(eligibility) {
|
|
|
3093
3099
|
},
|
|
3094
3100
|
label: membership.name,
|
|
3095
3101
|
details: membership.description ? [membership.description] : [],
|
|
3096
|
-
price: `${formatPrice
|
|
3102
|
+
price: `${formatPrice(membership.price, membership.currency)}/${membership.interval}`
|
|
3097
3103
|
}));
|
|
3098
3104
|
}
|
|
3099
3105
|
/** Passes and memberships, when the selection can use them (one item, issue 1725). */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-CDkkP-Lv.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-DK3aaz62.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-D7Oz1q2L.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-DL3gGGmF.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-zbuX36aA.mjs";
|
|
3
3
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-CL6fF0cW.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { vo as listLookSlot } from "./display-Cf_j5stk.mjs";
|
|
3
3
|
import { h as ok, m as err, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
4
4
|
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
5
5
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Bf-L66Gg.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { _o as listLookControl, vo as listLookSlot } from "./display-Cf_j5stk.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-5GD5o4Mt.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-Bb7GAZpO.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { wn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-
|
|
3
|
-
import {
|
|
2
|
+
import { wn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { vo as listLookSlot } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { A as assertNever$1, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
5
5
|
import { i as BlockApiError, n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
6
6
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
8
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-BqOVRdIc.mjs";
|
|
9
9
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
10
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
11
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-BqOVRdIc.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { vo as listLookSlot } from "./display-Cf_j5stk.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-Bb7GAZpO.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-CNzeFnFf.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ProductDetailController } from "./shop-commerce-
|
|
2
|
+
import { r as ProductDetailController } from "./shop-commerce-DkValjZj.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ProductListController } from "./shop-commerce-
|
|
2
|
+
import { i as ProductListController } from "./shop-commerce-DkValjZj.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
|