@riverbankcms/sdk 0.157.0 → 0.158.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/_dts/{BlocksIslandsHydrator-B3AHhvIn.d.ts → BlocksIslandsHydrator-BgNBtEai.d.ts} +1 -1
- package/dist/_dts/{Page-BMaOSVCP.d.ts → Page-DpCo8zXD.d.ts} +9 -6
- package/dist/_dts/{SdkPreviewMode-CEwDDqfK.d.ts → SdkPreviewMode-Bv2TMscG.d.ts} +2 -2
- package/dist/_dts/{client-BRFVhGUB.d.ts → client-B960v2gW.d.ts} +1 -1
- package/dist/_dts/{content-types-tEy1rtQ5.d.ts → content-types-CN0Wy8V6.d.ts} +26 -3
- package/dist/_dts/{contracts-BwDSOVGj.d.ts → contracts-BFUrby76.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-BVp5EPJj.d.ts → footerPageOutline-CmoqleLS.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BQb1mvpc.d.ts → generatePageMetadata-Dkvivc3R.d.ts} +2 -2
- package/dist/_dts/{hosted-booking-appearance-BN2Zu93B.d.ts → hosted-booking-appearance-BIbit60h.d.ts} +8976 -47
- package/dist/_dts/{index-Ca3oD2id.d.ts → index-Ba6RmuxX.d.ts} +3 -3
- package/dist/_dts/{index-Br1TNJlL.d.ts → index-DCNu_8it.d.ts} +4 -4
- package/dist/_dts/{index-CSLkIKs3.d.ts → index-DPfI2t5A.d.ts} +2 -2
- package/dist/_dts/{index-B0wsEbm3.d.ts → index-DaS_z6ir.d.ts} +1 -1
- package/dist/_dts/{index-B0DzVcrB.d.ts → index-DfkFWUxt.d.ts} +4 -1
- package/dist/_dts/{index-BF3hkKvt.d.ts → index-DpgkhY-a.d.ts} +2 -2
- package/dist/_dts/{loadContent-Dz9fOZMZ.d.ts → loadContent-DvvKF4nB.d.ts} +10 -7
- package/dist/_dts/{navigation-DOZwagCE.d.ts → navigation-n-eTVTIQ.d.ts} +75 -4
- package/dist/_dts/{resolvePageContent-oHZ8cfaF.d.ts → resolvePageContent-D0lGwVD6.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 +6 -6
- 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/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 +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +10 -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 +11 -4
- 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/index.d.ts +45 -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/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-Dy1DNdIV.d.ts → types-BJrRUaY7.d.ts} +2 -2
- package/dist/_dts/{types-6q1MDqxg.d.ts → types-BY7PgnDi.d.ts} +7 -7
- package/dist/_dts/{types-BuWOkyqw.d.ts → types-maEnXL6Z.d.ts} +3 -3
- package/dist/_dts/{validation-BumblAOO.d.ts → validation-BjuVrMrs.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Cid8be1G.mjs → BlocksIslandsHydrator-WRLS96Ev.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-BpzJTCZw.mjs → BookingMailingListNote-eovghMPa.mjs} +3 -56
- package/dist/client/{CalendarNavigationChevron-CBKHlGjE.mjs → CalendarNavigationChevron-CIcMQRc1.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-DpfgDMQ-.mjs → DemoBookingPortalAccess-CdnFgDyQ.mjs} +3 -3
- package/dist/client/{EventCalendar.client-DE5JHf4s.mjs → EventCalendar.client-Dc-ZLxKo.mjs} +8 -8
- package/dist/client/{EventCombined.client-DQLU3EAc.mjs → EventCombined.client-C93XqRIv.mjs} +6 -6
- package/dist/client/{EventItem-C9QTFafI.mjs → EventItem-DnCTygqk.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-6oYGdpNS.mjs → EventListWeekNavigation-9h97heuQ.mjs} +1 -1
- package/dist/client/{EventListing.client-D0N4Wj_4.mjs → EventListing.client-DFKlQvvs.mjs} +3 -3
- package/dist/client/{EventListing.view-Bish8-si.mjs → EventListing.view-pAuTDyrP.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-DLPYU2VU.mjs → EventRegistrationPayment-rgKlBvhP.mjs} +8 -7
- package/dist/client/{LeafletStaticMap-BmgEmEUS.mjs → LeafletStaticMap-3XiWSgy0.mjs} +1 -1
- package/dist/client/{Page-C-W_6VPx.mjs → Page-BmpeAwID.mjs} +750 -169
- package/dist/client/{StepIndicator-D8fvzhlS.mjs → StepIndicator-qEq6X5zP.mjs} +2 -2
- package/dist/client/{accordion-B5jBBoBC.mjs → accordion-DeObOasQ.mjs} +1 -1
- package/dist/client/{booking-form.client-xypjcfob.mjs → booking-form.client-DfWeF0lj.mjs} +36 -32
- package/dist/client/{bookingForm-CSE7NT54.mjs → bookingForm-TnzIBHx2.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-BrrLdGgn.mjs → carousel-kkFnbr5Z.mjs} +1 -1
- package/dist/client/{cart-QFgSKqia.mjs → cart-BAXNbFux.mjs} +3 -3
- package/dist/client/{cart.client-C6iA9v8X.mjs → cart.client-BczxUF70.mjs} +1 -1
- package/dist/client/{checkout-BAuLgA6Q.mjs → checkout-C5NRhPeP.mjs} +3 -3
- package/dist/client/{checkout.client-hbvBPpZR.mjs → checkout.client-BuDk3Td9.mjs} +1 -1
- package/dist/client/client.mjs +3 -2
- package/dist/client/{context-psG_Bwfs.mjs → context-CVsgML69.mjs} +1 -1
- package/dist/client/{cta-DrX2pzK9.mjs → cta-BWnUuJce.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CClf0SHq.mjs → demoPortalMagicLink-CUlwvmxf.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CqN7ig-2.mjs → enhanceHeaderSection-Cw8nnFj-.mjs} +2 -2
- package/dist/client/{event-details.client-CcYX4URD.mjs → event-details.client-Bl0E_6Vi.mjs} +2 -2
- package/dist/client/{event-registration.client-B8wVfnJ8.mjs → event-registration.client-DmfLg_LC.mjs} +15 -14
- package/dist/client/{eventCalendar-CRYN9-Vv.mjs → eventCalendar-D1Dwb9VA.mjs} +4 -4
- package/dist/client/{eventCombined-gGuj2_Vh.mjs → eventCombined-DfsqY1qR.mjs} +4 -4
- package/dist/client/{eventDetails-D1U7WEsJ.mjs → eventDetails-BmugDVoa.mjs} +2 -2
- package/dist/client/{eventListing-BY20rsvl.mjs → eventListing-BPAGJi3C.mjs} +4 -4
- package/dist/client/{eventRegistration-DnOZYpqh.mjs → eventRegistration-DBlz_x6u.mjs} +4 -4
- package/dist/client/{form-_q17Emh7.mjs → form-DVu3ZMjx.mjs} +3 -3
- package/dist/client/{form.client-BVaTf4FG.mjs → form.client-QZUyABIY.mjs} +3 -3
- package/dist/client/{form.parts-C9EmjE7U.mjs → form.parts-Bs0F3v08.mjs} +1 -1
- package/dist/client/formatDate-BD9D3dgo.mjs +26 -0
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-CZ3unSkX.mjs → headerSection-BQwWW4Yy.mjs} +2 -2
- package/dist/client/{location-map.client-C_udm2_y.mjs → location-map.client-upKuwABk.mjs} +3 -10
- package/dist/client/{location-map.view-Bkd9gu_S.mjs → location-map.view-RuBCD10O.mjs} +87 -13
- package/dist/client/{locationMap-CunBAPoo.mjs → locationMap-1sCbsk0V.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BkHhqPBi.mjs → newsletter-form.client-DBTU3oNv.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-VGjM-NDG.mjs → newsletter-form.parts-C9I9JBhe.mjs} +1 -1
- package/dist/client/{newsletterForm-DGc1-NVR.mjs → newsletterForm-DTPtTxxG.mjs} +3 -3
- package/dist/client/{noop-D3wctocR.mjs → noop-DMFt3KdC.mjs} +19 -132
- package/dist/client/portal/client.mjs +589 -482
- package/dist/client/{product-detail.client-C_8N4OxU.mjs → product-detail.client-BX7M5o6p.mjs} +1 -1
- package/dist/client/{product-list.client-79qoSlLs.mjs → product-list.client-i32QNY4c.mjs} +1 -1
- package/dist/client/{productDetail-QGBXBpWb.mjs → productDetail-DWjE9zm7.mjs} +3 -3
- package/dist/client/{productList-Bdno11g6.mjs → productList-DZH9_brv.mjs} +3 -3
- package/dist/client/{propsDecoder-BpKsRqjG.mjs → propsDecoder-CTzHkEkh.mjs} +14 -3
- package/dist/client/{registry.server-D9GvC4EZ.mjs → registry.server-vJ5FlscU.mjs} +589 -246
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +26 -4
- package/dist/client/{richText-coerce-Nln8Bw2P.mjs → richText-coerce-DXAmC72p.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-B4E30DaZ.mjs → routeIslandApiConfig-CmC7ygin.mjs} +1 -1
- package/dist/client/{shop-653-Nn74.mjs → shop-C7eL3B37.mjs} +3 -3
- package/dist/client/{shop-commerce-CfbvhT6h.mjs → shop-commerce-D8oRN0QJ.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CfB26IXt.mjs → shop-commerce-store-CRnQ4M18.mjs} +1 -1
- package/dist/client/{shop.client-Bn7jUQOB.mjs → shop.client-X6d6KVmA.mjs} +9 -9
- package/dist/client/{shop.interactive-acMnyBZU.mjs → shop.interactive-DBMeM8VD.mjs} +155 -3
- package/dist/client/{shopShared-Du4efbgL.mjs → shopShared-Y182kN_s.mjs} +2 -2
- package/dist/client/{timetableModel-Duwk6gXe.mjs → timetableModel-D7PwpaBY.mjs} +5 -5
- package/dist/client/{useAvailableSlots-CbaAFr8M.mjs → useAvailableSlots-BDV6MHgJ.mjs} +2 -2
- package/dist/client/useBookingNowIso-DgJEv3ZY.mjs +58 -0
- package/dist/client/{useDiscountApply-DAl-GX21.mjs → useDiscountApply-BTu9EeT7.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BUf9LuI6.mjs → useDiscountCodeUi-BfZxdxI-.mjs} +1 -1
- package/dist/client/{useEventPagination-hJDAEg-T.mjs → useEventPagination-pnvdHGeQ.mjs} +6 -6
- package/dist/client/{view-CFSMNvdC.mjs → view-BPEa6Okm.mjs} +8 -7
- package/dist/client/{view-4sSIJ6Ny.mjs → view-hJr_L4QC2.mjs} +3 -3
- package/dist/client/{wizardSteps-B3tRF3_2.mjs → wizardSteps-HdyGoIG3.mjs} +218 -47
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BX5F0a_h.mjs → EventEmbeddedCheckoutStep-BFlBqSu4.mjs} +1 -1
- package/dist/preview-next/client/{PreviewEditorSidebar-DLzGdmTw.mjs → PreviewEditorSidebar-CXRUbqMp.mjs} +42 -26
- package/dist/preview-next/client/{PreviewEditorUI-Dru5AxOd.mjs → PreviewEditorUI-CxjEV0Fm.mjs} +31 -22
- package/dist/preview-next/client/{SdkPreviewModeRuntime-QVfwY0HY.mjs → SdkPreviewModeRuntime-BxI12BBS.mjs} +1310 -1226
- package/dist/preview-next/client/{SdkPreviewModeRuntime-V3absa-c.mjs → SdkPreviewModeRuntime-XdQSGGj_.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-RSPyKO_K.mjs → SiteChromeCustomizeContext-CfRQRwpH.mjs} +133891 -131593
- package/dist/preview-next/client/{ThemedButton-ADHirm0A.mjs → ThemedButton-BEOPss9H.mjs} +30 -4
- package/dist/preview-next/client/{previewChromeSurface-Cc4b9nBZ.mjs → previewChromeSurface-CH7hd5n7.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CTLm99t6.mjs → sdk-runtime-C6xEU1LI.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-YpHSMBBC.mjs → siteStyleAccess-CRXaC2oL.mjs} +2 -2
- package/dist/preview-next/client/{spinner-CsiSmy1g.mjs → spinner-BTf1CZmy.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-dR_Jzpo5.mjs → route-contract-DM22uOXM.mjs} +41 -0
- package/dist/server/{Block.shared-BNrmEY1p.mjs → Block.shared-DLoilC2J.mjs} +4 -4
- package/dist/server/{bindings-C9zgT9uX.mjs → bindings-C7DKLVx_.mjs} +1 -1
- package/dist/server/{blocks-BLm-OxTv.mjs → blocks-jlIm0PWc.mjs} +953 -324
- package/dist/server/{client-CaQ1ElR3.mjs → client-CU4wlMLE.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BFyU8YxS.mjs → loadContent-DmQ4BiiQ.mjs} +6 -4
- package/dist/server/{loadPage-DeQipVdO.mjs → loadPage-BBkDQA57.mjs} +3 -2
- package/dist/server/loadPage-ZrcfjG3X.mjs +2 -0
- package/dist/server/next.mjs +24 -12
- package/dist/server/{overrideResolution-D5nmZUYe.mjs → overrideResolution-ByeAbLSO.mjs} +1 -1
- package/dist/server/{overrides-BI13bIb7.mjs → overrides-BcA6ZPWf.mjs} +94 -30
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-UgDhSzy2.mjs → prebuild-8T-m7XjB.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CLF-Y7h-.mjs → prefetchBlockData-Bjya-X9t.mjs} +6 -5
- package/dist/server/{publicProducts-vPbNQJsO.mjs → publicProducts-C3meXS2o.mjs} +41 -0
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +26 -8
- package/dist/server/{resolveBlockData-C7J-pixy.mjs → resolveBlockData-D0ow8PRJ.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{siteChromeOverlayClearance-DLROm32h.mjs → siteChromeOverlayClearance-BangtD8A.mjs} +126 -1
- package/dist/server/{src-BZb5L4Fa.mjs → src-B935_bzN.mjs} +300 -2
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/{themeAdmission-x3uhdOWx.mjs → themeAdmission-D2-BnmDO.mjs} +314 -125
- package/dist/server/{validation-Ban_hxJG.mjs → validation-Cm41pDUB.mjs} +2 -2
- package/dist/server/{version-bkGVuskm.mjs → version-Bo9C3McI.mjs} +1 -1
- package/dist/styles/index.css +282 -0
- package/package.json +1 -1
- package/dist/server/loadPage-CvyKRtXK.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import "./shop.interactive-
|
|
3
|
+
import { Ki as assertNever } from "./wizardSteps-HdyGoIG3.mjs";
|
|
4
|
+
import "./shop.interactive-DBMeM8VD.mjs";
|
|
5
5
|
import { t as StepIndicator$1 } from "./StepIndicator-BK0GEDoP.mjs";
|
|
6
6
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
7
7
|
import React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as unsafeAsCustomerPassId, b as unsafeAsPassId, g as unsafeAsAppointmentServiceId, h as unsafeAsAppointmentResourceId, v as unsafeAsFormId, x as unsafeAsSiteId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
|
|
3
3
|
import { Mr as formatCurrencyAmount, l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
4
|
-
import { $n as resolveSelectedAppointmentConsent, B as paymentChoicePrice, Fn as formatBookingSubmissionPreparationError, Gn as prepareBookingSubmission, Hn as normalizeBookingFormConfig, In as getBookingRedirectStateFromLocation, Jn as resolveBookingSiteId, Kn as resolveAppointmentCheckoutVerificationState, L as buildBookingPaymentSelectionViewModel, Ln as getBookingServiceSlidingScale, Mn as readOverrideServiceCategories, Nn as deriveBookingFormViewState,
|
|
5
|
-
import { at as formatTime, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, it as formatDateTimeRange, q as isBookingRequirementConsentFieldId,
|
|
6
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
4
|
+
import { $n as resolveSelectedAppointmentConsent, Ai as resolveBookingSignupOffer, B as paymentChoicePrice, Fn as formatBookingSubmissionPreparationError, Gn as prepareBookingSubmission, Hn as normalizeBookingFormConfig, In as getBookingRedirectStateFromLocation, Jn as resolveBookingSiteId, Kn as resolveAppointmentCheckoutVerificationState, L as buildBookingPaymentSelectionViewModel, Ln as getBookingServiceSlidingScale, Mn as readOverrideServiceCategories, Nn as deriveBookingFormViewState, Pn as formatBookingCentsAsCurrencyInput, Qn as projectSelectedAppointmentConsentIntoForm, R as buildReviewedBookingPaymentViewModel, Rn as getBookingSuccessCopy, Un as normalizeBookingServices, Vn as isBookingServiceSlidingAmountInRange, Wn as parseBookingCurrencyInputToCents, Xn as selectedBookingCollectionOptionKind, Yn as resolveDefaultBookingServiceId, Zn as toSelectedCollectionOptionKind, _r as resolveDateRuntimeContext, er as BOOKING_FORM_DATA_RESERVED_KEYS, gr as readRuntimeNow, jn as buildBookingFormInteractiveIslandProps, qn as resolveBookingPaymentStep, z as paymentChoiceDetails } from "./wizardSteps-HdyGoIG3.mjs";
|
|
5
|
+
import { Ct as toUtcIsoDateTimeString, at as formatTime, bt as resolveBookingTimeZoneId, ct as resolveBookingDisplayContext, it as formatDateTimeRange, q as isBookingRequirementConsentFieldId, t as logger, tt as formatDate, vt as parseUtcIsoDateTimeString, yt as resolveBookingBusinessTimeZone } from "./noop-DMFt3KdC.mjs";
|
|
6
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-CdnFgDyQ.mjs";
|
|
7
7
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
8
8
|
import { a as clearWorkflowFeedback, i as okWith, n as err, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
9
9
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
@@ -12,15 +12,29 @@ import { t as CheckboxChoice } from "./CheckboxChoice-BF9eCNno.mjs";
|
|
|
12
12
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
13
13
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
14
14
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
15
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
-
import {
|
|
15
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BfZxdxI-.mjs";
|
|
16
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-eovghMPa.mjs";
|
|
17
17
|
import { t as StepIndicator } from "./StepIndicator-BK0GEDoP.mjs";
|
|
18
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
18
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
19
19
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
20
|
-
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-
|
|
21
|
-
import {
|
|
20
|
+
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-BDV6MHgJ.mjs";
|
|
21
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-DgJEv3ZY.mjs";
|
|
22
|
+
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-CUlwvmxf.mjs";
|
|
22
23
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
23
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
+
//#region ../blocks/src/system/runtime/nodes/booking-form.date-display.ts
|
|
26
|
+
/** Presentation follows the existing viewer projection; business locale and modality own labels. */
|
|
27
|
+
function resolveBookingFormDateDisplay(input) {
|
|
28
|
+
const mode = input.service?.location?.mode;
|
|
29
|
+
return resolveBookingDisplayContext({
|
|
30
|
+
sessionTimeZone: resolveBookingTimeZoneId(input.viewerTimeZone, input.dateContext.timeZone),
|
|
31
|
+
siteTimeZone: input.dateContext.timeZone,
|
|
32
|
+
locale: input.dateContext.locale,
|
|
33
|
+
isOnline: mode === "online" || mode === "either",
|
|
34
|
+
surface: "public"
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
24
38
|
//#region ../blocks/src/system/runtime/nodes/booking-form.payment-confirmation.ts
|
|
25
39
|
function resolveBookingPaymentConfirmationSummary(input) {
|
|
26
40
|
const service = input.service;
|
|
@@ -1543,17 +1557,6 @@ function HeadlessBookingProvider({ config, children }) {
|
|
|
1543
1557
|
children
|
|
1544
1558
|
});
|
|
1545
1559
|
}
|
|
1546
|
-
/** Presentation follows the existing viewer projection; business locale and modality own labels. */
|
|
1547
|
-
function resolveBookingAvailabilityDisplay(input) {
|
|
1548
|
-
const mode = input.service?.location?.mode;
|
|
1549
|
-
return resolveBookingDisplayContext({
|
|
1550
|
-
sessionTimeZone: resolveBookingTimeZoneId(input.viewerTimeZone, input.dateContext.timeZone),
|
|
1551
|
-
siteTimeZone: input.dateContext.timeZone,
|
|
1552
|
-
locale: input.dateContext.locale,
|
|
1553
|
-
isOnline: mode === "online" || mode === "either",
|
|
1554
|
-
surface: "public"
|
|
1555
|
-
});
|
|
1556
|
-
}
|
|
1557
1560
|
function useHeadlessBookingFlow(options) {
|
|
1558
1561
|
const viewerTimeZone = options.viewerTimeZone ?? getRuntimeTimeZone();
|
|
1559
1562
|
const formKey = unsafeAsFormId(options.formId);
|
|
@@ -1777,7 +1780,7 @@ function useHeadlessBookingFlow(options) {
|
|
|
1777
1780
|
hasSelectedAppointmentPackage: Boolean(state.selectedAppointmentPackageId),
|
|
1778
1781
|
paymentResolution
|
|
1779
1782
|
});
|
|
1780
|
-
const availabilityDisplay =
|
|
1783
|
+
const availabilityDisplay = resolveBookingFormDateDisplay({
|
|
1781
1784
|
viewerTimeZone,
|
|
1782
1785
|
dateContext: options.dateContext,
|
|
1783
1786
|
service: selectedService
|
|
@@ -3086,11 +3089,7 @@ const SuccessMessage = ({ copy, resourceName, className, demoEmailSuppressed = f
|
|
|
3086
3089
|
//#endregion
|
|
3087
3090
|
//#region ../blocks/src/system/runtime/components/booking/RequestSentMessage.tsx
|
|
3088
3091
|
function describeRequestSent(request) {
|
|
3089
|
-
const
|
|
3090
|
-
const context = {
|
|
3091
|
-
locale: inferSiteDateLocale(timeZone),
|
|
3092
|
-
timeZone
|
|
3093
|
-
};
|
|
3092
|
+
const { context, zone } = request;
|
|
3094
3093
|
const startAt = toUtcIsoDateTimeString(request.startAt);
|
|
3095
3094
|
const day = formatDate({
|
|
3096
3095
|
kind: "instant",
|
|
@@ -3099,10 +3098,7 @@ function describeRequestSent(request) {
|
|
|
3099
3098
|
weekday: "long",
|
|
3100
3099
|
year: "omit"
|
|
3101
3100
|
});
|
|
3102
|
-
const time = formatTime(startAt, context, {
|
|
3103
|
-
zone: "omit",
|
|
3104
|
-
clock: "24-hour"
|
|
3105
|
-
});
|
|
3101
|
+
const time = formatTime(startAt, context, { zone });
|
|
3106
3102
|
return `We've sent your request for ${request.serviceName} on ${day} at ${time}. It isn't confirmed yet. We'll email you once it's been looked at.`;
|
|
3107
3103
|
}
|
|
3108
3104
|
const RequestSentMessage = ({ request, className }) => /* @__PURE__ */ jsx(TerminalPanel, {
|
|
@@ -3162,8 +3158,16 @@ function isRecord(value) {
|
|
|
3162
3158
|
//#endregion
|
|
3163
3159
|
//#region ../blocks/src/system/runtime/nodes/booking-form.completion.tsx
|
|
3164
3160
|
/** The request summary when the flow ended by sending a request. */
|
|
3165
|
-
function bookingViewRequest(view) {
|
|
3166
|
-
|
|
3161
|
+
function bookingViewRequest(view, dateContext, service) {
|
|
3162
|
+
const request = view.kind === "success" ? view.request : null;
|
|
3163
|
+
return request ? {
|
|
3164
|
+
...request,
|
|
3165
|
+
...resolveBookingFormDateDisplay({
|
|
3166
|
+
viewerTimeZone: request.timezone,
|
|
3167
|
+
dateContext,
|
|
3168
|
+
service
|
|
3169
|
+
})
|
|
3170
|
+
} : null;
|
|
3167
3171
|
}
|
|
3168
3172
|
function CompletionMessage({ request, ...success }) {
|
|
3169
3173
|
return request ? /* @__PURE__ */ jsx(RequestSentMessage, { request }) : /* @__PURE__ */ jsx(SuccessMessage, { ...success });
|
|
@@ -3351,7 +3355,7 @@ const BookingFormClient = ({ siteId: siteIdProp, render }) => {
|
|
|
3351
3355
|
localNote: localMailingListNote,
|
|
3352
3356
|
customerEmail: localCustomerEmail,
|
|
3353
3357
|
demoEmailSuppressed: render.hydration.demoEmailSuppressed,
|
|
3354
|
-
request: bookingViewRequest(booking.view)
|
|
3358
|
+
request: bookingViewRequest(booking.view, render.hydration.dateContext, booking.services.selected)
|
|
3355
3359
|
})
|
|
3356
3360
|
});
|
|
3357
3361
|
if (viewState.kind === "verifying") return /* @__PURE__ */ jsx(BookingSurface, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
4
|
+
import { t as BookingFormClient } from "./booking-form.client-DfWeF0lj.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CmC7ygin.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as normalizeEventRegistrationMaxTickets, F as toInternalPaymentSelection, Hn as normalizeBookingFormConfig, M as resolveHeadlessEventRegistrationStatus, N as resolveHeadlessEventRegistrationView, O as deriveEventRegistrationSteps, P as toHeadlessPaymentSelection, Rt as resolveRegistrationDisplay, Sr as normalizeEventRegistrationPageSurfaceSubject, Tt as getSingleSelectedPricingOptionId, Un as normalizeBookingServices, Vt as createHostedBlockApiConfig, _n as resolveRuntimeEventDestination, gr as readRuntimeNow, j as resolveEventRegistrationSubmitPlan, tr as BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from "./wizardSteps-
|
|
3
|
-
import { U as publicEventSchema } from "./noop-
|
|
4
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
2
|
+
import { A as normalizeEventRegistrationMaxTickets, F as toInternalPaymentSelection, Hn as normalizeBookingFormConfig, M as resolveHeadlessEventRegistrationStatus, N as resolveHeadlessEventRegistrationView, O as deriveEventRegistrationSteps, P as toHeadlessPaymentSelection, Rt as resolveRegistrationDisplay, Sr as normalizeEventRegistrationPageSurfaceSubject, Tt as getSingleSelectedPricingOptionId, Un as normalizeBookingServices, Vt as createHostedBlockApiConfig, _n as resolveRuntimeEventDestination, gr as readRuntimeNow, j as resolveEventRegistrationSubmitPlan, tr as BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from "./wizardSteps-HdyGoIG3.mjs";
|
|
3
|
+
import { U as publicEventSchema } from "./noop-DMFt3KdC.mjs";
|
|
4
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-rgKlBvhP.mjs";
|
|
5
5
|
import { t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
7
7
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
8
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
8
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-DfWeF0lj.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
11
11
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
3
|
import { i as carouselRegionAttributes } from "./carousel.shared-DBnWEJzo.mjs";
|
|
4
4
|
import { t as CarouselNodeClient } from "./carousel.client-BJGoJVtg.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-BczxUF70.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Y182kN_s.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-D8oRN0QJ.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-BuDk3Td9.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Y182kN_s.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-D8oRN0QJ.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as isPublicReadEndpoint, E as prefetchBlockData, G as setSdkVersion, H as ApiRequestError, K as isSupportedLoaderEndpoint, Q as getPublicReadCachePolicy, S as resolveSiteCustomBlocks, T as requireSdkTheme, U as createBearerAPIClient, V as encodePublicProductCategorySelector, W as createInternalAPIClient, X as isApiError, Y as ApiEnvelopeError, Z as unwrapResponse, et as publicReadFreshnessSeconds, g as collectMediaAssetSidecar, m as buildRenderablePageOutline, t as Page, v as projectRenderablePageOutline } from "./Page-BmpeAwID.mjs";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
//#region src/rendering/hooks/usePage.ts
|
|
5
5
|
/**
|
|
@@ -35,6 +35,7 @@ async function loadUsePageSuccess(input) {
|
|
|
35
35
|
siteId,
|
|
36
36
|
resolvedData,
|
|
37
37
|
dataContext: { previewStage },
|
|
38
|
+
openingHours: site.businessDetails?.openingHours ?? null,
|
|
38
39
|
mailingList: site.mailingList,
|
|
39
40
|
sdkConfig: site.sdkConfig ?? null,
|
|
40
41
|
supabaseUrl: site.supabaseUrl,
|
|
@@ -512,7 +513,7 @@ var SimpleCache = class {
|
|
|
512
513
|
* 1. This constant
|
|
513
514
|
* 2. The "version" field in package.json
|
|
514
515
|
*/
|
|
515
|
-
const SDK_VERSION = "0.
|
|
516
|
+
const SDK_VERSION = "0.158.0";
|
|
516
517
|
//#endregion
|
|
517
518
|
//#region src/client/error.ts
|
|
518
519
|
let _Symbol$for;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-
|
|
2
|
+
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-DMFt3KdC.mjs";
|
|
3
3
|
import { createContext, useContext, useMemo } from "react";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { En as isEventFull,
|
|
2
|
+
import { En as isEventFull, Ki as assertNever, _n as resolveRuntimeEventDestination, yn as canJoinEventWaitlistOnAnyMode } from "./wizardSteps-HdyGoIG3.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
4
4
|
/**
|
|
5
5
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as BlockApiError } from "./context-
|
|
2
|
+
import { r as BlockApiError } from "./context-CVsgML69.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import { en as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-
|
|
3
|
+
import { en as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-DBMeM8VD.mjs";
|
|
4
4
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
5
5
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
6
6
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
7
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
7
|
+
import { n as useCommerceCart } from "./shop-commerce-store-CRnQ4M18.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { createPortal } from "react-dom";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-
|
|
3
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-BPEa6Okm.mjs";
|
|
3
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-3XiWSgy0.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import { A as normalizeEventRegistrationMaxTickets, B as paymentChoicePrice, Bi as
|
|
4
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
5
|
-
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Yt as formatEventPriceDisplay, Z as offeringNounForEvent, _t as bookingPanelHeading, ft as DEFAULT_BOOKING_BUTTON_TEXT, gt as bookingEntryProgress, ht as bookingEntry, mt as bookingCardEntry, pt as bookingBarPlacement } from "./shop.interactive-
|
|
6
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
3
|
+
import { A as normalizeEventRegistrationMaxTickets, B as paymentChoicePrice, Bi as publicEventPricingCurrency, Cn as getEventAvailability, Cr as resolveEventRegistrationScopedEvents, Ct as formatPrice, Dn as selectEventCapacitySource, Dt as getTicketSelectionTotal, E as settledRemainingPlaces, En as isEventFull, Et as getTicketLineQuantity, Hi as publicEventPricingStrategy, It as placesLeftLabel, On as selectMostOpenCapacitySource, Ot as getTicketTypeLineMax, St as withOccurrenceTitle, Tn as getRemainingPlaces, Ui as publicEventPricingType, _ as shouldPromptForLogin, at as resolveFinishedPresentation, bt as occurrenceTitleOverride, c as registrationStepLabelContext, dt as formatDate, ft as formatEventDateTime, ht as formatTime, it as confirmationPaymentRows, jt as setTicketLineQuantity, k as isEventRegistrationAvailable, kn as groupPublicEventsByRun, l as areEventRegistrationPaymentSelectionsEqual, mt as formatRegistrationSchedule, n as getEventSelectionMode, ot as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, pt as formatPassCreditUsageLabel, r as panelShouldOpen, s as registrationStepLabel, st as areEntitlementsDisabledForTicketCount, ut as formatBookingWhen, v as fullyBookedLabel, vn as canJoinEventWaitlist, vt as getTicketTypeAvailabilityLabel, w as resolveRegistrationAvailabilityBlocker, wt as canRequestTicketOption, y as placeCountCeiling, yn as canJoinEventWaitlistOnAnyMode, yt as getVisibleTicketTypes, z as paymentChoiceDetails, zn as getRegistrationSuccessCopy, zt as shownVenue } from "./wizardSteps-HdyGoIG3.mjs";
|
|
4
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-CdnFgDyQ.mjs";
|
|
5
|
+
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Yt as formatEventPriceDisplay, Z as offeringNounForEvent, _t as bookingPanelHeading, ft as DEFAULT_BOOKING_BUTTON_TEXT, gt as bookingEntryProgress, ht as bookingEntry, mt as bookingCardEntry, pt as bookingBarPlacement } from "./shop.interactive-DBMeM8VD.mjs";
|
|
6
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-rgKlBvhP.mjs";
|
|
7
7
|
import { t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
9
|
import { t as CheckboxChoice } from "./CheckboxChoice-BF9eCNno.mjs";
|
|
@@ -11,14 +11,15 @@ import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
|
11
11
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
13
|
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-DHxYgkT6.mjs";
|
|
14
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
14
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-BfZxdxI-.mjs";
|
|
15
15
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
16
|
-
import {
|
|
16
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-eovghMPa.mjs";
|
|
17
17
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
18
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
19
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
18
|
+
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-qEq6X5zP.mjs";
|
|
19
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-CVsgML69.mjs";
|
|
20
20
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
21
|
-
import {
|
|
21
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-DgJEv3ZY.mjs";
|
|
22
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CUlwvmxf.mjs";
|
|
22
23
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
23
24
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
|
|
24
25
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3465,8 +3466,8 @@ function RegistrationError({ wizard }) {
|
|
|
3465
3466
|
const EVENT_PORTAL_AUTH_COPY = {
|
|
3466
3467
|
membership: {
|
|
3467
3468
|
title: "Have a class pass, membership or credit?",
|
|
3468
|
-
buttonText: "
|
|
3469
|
-
afterButton: " to use it
|
|
3469
|
+
buttonText: "Sign in",
|
|
3470
|
+
afterButton: " to use it for this booking. We’ll email you a link, so there’s no password to remember.",
|
|
3470
3471
|
placement: "after"
|
|
3471
3472
|
},
|
|
3472
3473
|
"waitlist-claim": {
|
|
@@ -3482,7 +3483,7 @@ function getPortalAuthCopy(waitlistClaimRequiresPortalLogin, loginMessage, demoE
|
|
|
3482
3483
|
} : EVENT_PORTAL_AUTH_COPY.membership;
|
|
3483
3484
|
return demoEmailSuppressed && !waitlistClaimRequiresPortalLogin ? {
|
|
3484
3485
|
...defaultCopy,
|
|
3485
|
-
|
|
3486
|
+
afterButton: " to use it for this booking."
|
|
3486
3487
|
} : defaultCopy;
|
|
3487
3488
|
}
|
|
3488
3489
|
/**
|
|
@@ -3825,12 +3826,12 @@ function toEventRegistrationClientProps(props, display) {
|
|
|
3825
3826
|
}
|
|
3826
3827
|
/** Older sources can omit session facts; admission keeps the notice render-safe. */
|
|
3827
3828
|
function pastOccurrenceNoticeProps(clientProps, startsAt) {
|
|
3828
|
-
const event = clientProps.events?.
|
|
3829
|
+
const event = clientProps.events?.find((event) => event.occurrenceId === clientProps.occurrenceContext?.id);
|
|
3829
3830
|
return {
|
|
3830
3831
|
anchorId: EVENT_REGISTRATION_ANCHOR_ID,
|
|
3831
3832
|
className: clientProps.className,
|
|
3832
3833
|
startsAt,
|
|
3833
|
-
timeZone:
|
|
3834
|
+
timeZone: clientProps.occurrenceContext?.timeZone ?? null,
|
|
3834
3835
|
siteTimeZone: event?.siteTimeZone ?? null,
|
|
3835
3836
|
deliveryMode: event?.deliveryMode ?? null
|
|
3836
3837
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-Dc-ZLxKo.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CmC7ygin.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
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-C93XqRIv.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CmC7ygin.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-CTzHkEkh.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-Bl0E_6Vi.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-DFKlQvvs.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CmC7ygin.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 { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventRegistrationIslandClient } from "./event-registration.client-
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as EventRegistrationIslandClient } from "./event-registration.client-DmfLg_LC.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CmC7ygin.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
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CTzHkEkh.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-QZUyABIY.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { S as clsx } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import { Ar as listLookSlot } from "./wizardSteps-
|
|
3
|
+
import { Ar as listLookSlot } from "./wizardSteps-HdyGoIG3.mjs";
|
|
4
4
|
import { n as err, r as ok, t as assertNever } from "./src-7cXhT0G_.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Bs0F3v08.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CVsgML69.mjs";
|
|
8
8
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
9
9
|
import { useReducer, useRef, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
|
|
3
|
-
import { Ar as listLookSlot, kr as listLookControl } from "./wizardSteps-
|
|
3
|
+
import { Ar as listLookSlot, kr as listLookControl } from "./wizardSteps-HdyGoIG3.mjs";
|
|
4
4
|
import { t as CheckboxChoice } from "./CheckboxChoice-BF9eCNno.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { gt as parseBookingLocalDate, rt as formatDateTime, tt as formatDate$1, vt as parseUtcIsoDateTimeString } from "./noop-DMFt3KdC.mjs";
|
|
3
|
+
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
|
+
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
|
+
function formatDate(value, context, options) {
|
|
6
|
+
if (typeof value !== "string" || !value) return null;
|
|
7
|
+
if (/^\d{4}-\d{2}-\d{2}$/u.test(value)) try {
|
|
8
|
+
return formatDate$1({
|
|
9
|
+
kind: "civil",
|
|
10
|
+
value: parseBookingLocalDate(value)
|
|
11
|
+
}, context, options);
|
|
12
|
+
} catch {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
const instant = parseUtcIsoDateTimeString(value);
|
|
16
|
+
if (!instant.ok) return null;
|
|
17
|
+
return options.includeTime ? formatDateTime(instant.value, context, {
|
|
18
|
+
date: options.date,
|
|
19
|
+
zone: "omit"
|
|
20
|
+
}) : formatDate$1({
|
|
21
|
+
kind: "instant",
|
|
22
|
+
value: instant.value
|
|
23
|
+
}, context, options);
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { formatDate as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
3
|
import { Nr as formatGiftCardAmountLabel, i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DVBC_pS9.mjs";
|
|
4
|
-
import { bt as resolveBookingTimeZoneId, t as logger, tt as formatDate
|
|
4
|
+
import { Ct as toUtcIsoDateTimeString, bt as resolveBookingTimeZoneId, t as logger, tt as formatDate } from "../noop-DMFt3KdC.mjs";
|
|
5
5
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
6
|
-
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-
|
|
6
|
+
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-CVsgML69.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useRouter } from "next/navigation.js";
|
|
@@ -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-CTzHkEkh.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-Cw8nnFj-.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as normalizeLocationMapProps, t as LocationMapView } from "./location-map.view-
|
|
3
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { i as normalizeLocationMapProps, t as LocationMapView } from "./location-map.view-RuBCD10O.mjs";
|
|
3
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-3XiWSgy0.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/location-map.client.tsx
|
|
@@ -10,14 +10,7 @@ function LocationMapClient(props) {
|
|
|
10
10
|
className: `location-map ${normalized.className ?? ""}`.trim(),
|
|
11
11
|
"data-block": "location-map",
|
|
12
12
|
children: [/* @__PURE__ */ jsx(LocationMapView, {
|
|
13
|
-
|
|
14
|
-
location: normalized.location,
|
|
15
|
-
zoom: normalized.zoom,
|
|
16
|
-
heightPx: normalized.heightPx,
|
|
17
|
-
showAddressText: normalized.showAddressText,
|
|
18
|
-
showDirections: normalized.showDirections,
|
|
19
|
-
directionsLabel: normalized.directionsLabel,
|
|
20
|
-
unresolvedMessage: normalized.unresolvedMessage,
|
|
13
|
+
...normalized,
|
|
21
14
|
renderMap: ({ addressText, className, height, location, zoom }) => /* @__PURE__ */ jsx(LeafletStaticMap, {
|
|
22
15
|
location,
|
|
23
16
|
label: addressText ?? void 0,
|