@riverbankcms/sdk 0.168.0 → 0.169.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-CiD_VVGM.d.ts → BlocksIslandsHydrator-DpROiz12.d.ts} +1 -1
- package/dist/_dts/{Page-Bj6VJRS5.d.ts → Page-DHBBDRC_.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-ChpsnwDX.d.ts → SdkPreviewMode-CG7Qib7u.d.ts} +2 -2
- package/dist/_dts/{client-C8mfUxrJ.d.ts → client-MURxFla9.d.ts} +39 -397
- package/dist/_dts/{content-types-_vXZyR4H.d.ts → content-types-ClBGjxBV.d.ts} +2 -2
- package/dist/_dts/{contracts-CJFfrVKU.d.ts → contracts-CHNvzh0y.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-CMegb23G.d.ts → footerPageOutline-DQM934Fm.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-D9YdAIMh.d.ts → generatePageMetadata-ConZaEqB.d.ts} +2 -2
- package/dist/_dts/{index-BQXaZ7aY.d.ts → index-BaDqRekr.d.ts} +4 -4
- package/dist/_dts/{index-vR3p9Bu-.d.ts → index-CVB5wgbz.d.ts} +2 -2
- package/dist/_dts/{index-Cx2BQlHL.d.ts → index-CiR_oPYT.d.ts} +1 -1
- package/dist/_dts/{index-Bpr-wT5k.d.ts → index-CovKPftP.d.ts} +2 -2
- package/dist/_dts/{index-Dgz6yhsy.d.ts → index-DCw8LO4M.d.ts} +1 -1
- package/dist/_dts/{index-Vh8B9FSa.d.ts → index-DDaX-K2D.d.ts} +1 -1
- package/dist/_dts/{index-C7_Rz8EY.d.ts → index-rfAssXq0.d.ts} +3 -3
- package/dist/_dts/{loadContent-dhWSgLeS.d.ts → loadContent-CRLKVVDP.d.ts} +7 -7
- package/dist/_dts/{request-BrYhNV9Z.d.ts → request-DeVetKBr.d.ts} +1840 -599
- package/dist/_dts/{resolveBlockData-BfSHm8Ms.d.ts → resolveBlockData-C5KYFeig.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-gZJ4i1wN.d.ts → resolvePageContent-D8MZWyNO.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 +2 -2
- 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-FOsJ-KYb.d.ts → types-B4MBlP_B.d.ts} +2 -2
- package/dist/_dts/{types-BVFXYtRg.d.ts → types-Fj31kIi2.d.ts} +7 -7
- package/dist/_dts/{types-BB33-Spd.d.ts → types-OwqfS8Gn.d.ts} +3 -3
- package/dist/_dts/{validation-DckTc6TQ.d.ts → validation-B1Fa8o_b.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DcwEaliO.mjs → BlocksIslandsHydrator-qq4Vhs7k.mjs} +16 -16
- package/dist/client/{BookingMailingListNote-Dsugoe-n.mjs → BookingMailingListNote-y3qWjnOo.mjs} +17 -6
- package/dist/client/{BookingQuestionFields-Bhh0cvsl.mjs → BookingQuestionFields-DjLjd0vc.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNe3ZjdC.mjs → CalendarNavigationChevron-VM7C2fdh.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-BeiZxEUJ.mjs → DemoBookingPortalAccess-C2QCj_Ta.mjs} +65 -9
- package/dist/client/{EventCalendar.client-BL943-tl.mjs → EventCalendar.client-DDjz7tuX.mjs} +9 -9
- package/dist/client/{EventCombined.client-BFVxECTp.mjs → EventCombined.client-CeYbNsch.mjs} +7 -7
- package/dist/client/{EventItem-BIc4gjiD.mjs → EventItem-B5J0IeF4.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-a0QEIEf0.mjs → EventListWeekNavigation-eH04D8-V.mjs} +1 -1
- package/dist/client/{EventListing.client-CEFTC3jH.mjs → EventListing.client-slpvrTrM.mjs} +3 -3
- package/dist/client/{EventListing.view-Bt2sBBms.mjs → EventListing.view-BYBaElec.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-D9YBNb_E.mjs → EventRegistrationPayment-Do7Q0wRG.mjs} +121 -59
- package/dist/client/{LocationMapActions-gqzt5gkW.mjs → LocationMapActions-BFp2uQQQ.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-13JQI7_z.mjs → MapDrawingSvg-DDWfmgpA.mjs} +1 -1
- package/dist/client/{Page-D_M2Vxz3.mjs → Page-Dv9eIOGr.mjs} +20 -15
- package/dist/client/{StepIndicator-CaN8snZ8.mjs → StepIndicator-BZNUd0-v.mjs} +2 -2
- package/dist/client/{accordion-DE7OG--d.mjs → accordion-BCtVxnDZ.mjs} +1 -1
- package/dist/client/{booking-form.client-CS1PPjw7.mjs → booking-form.client-Cr5G-HHO.mjs} +504 -216
- package/dist/client/{bookingForm-DE2CwIU9.mjs → bookingForm-B1Fc62Sl.mjs} +8 -5
- package/dist/client/{bookingRoute-Bqlyu5Vb.mjs → bookingRoute-D6DlxYx6.mjs} +6 -2
- package/dist/client/bookings.mjs +16 -13
- package/dist/client/{carousel-DZyUdnFh.mjs → carousel-DW-HgjvT.mjs} +1 -1
- package/dist/client/{cart-D7HkkNwe.mjs → cart-D1zWe4R7.mjs} +3 -3
- package/dist/client/{cart.client-H4sv2TpD.mjs → cart.client-CIfbTLHS.mjs} +1 -1
- package/dist/client/{checkout-2qVyG-Sh.mjs → checkout-fDCNZ3IT.mjs} +3 -3
- package/dist/client/{checkout.client-DAjrBZ74.mjs → checkout.client-C4l2KjtV.mjs} +1 -1
- package/dist/client/{checkoutUrls-CYj06rX1.mjs → checkoutUrls-cWL6I-Vz.mjs} +3 -2
- package/dist/client/client.mjs +50 -3
- package/dist/client/{context-DXmIbXCK.mjs → context-DQnTyApV.mjs} +24 -2
- package/dist/client/{bookingQuestionValues-BjcyCru5.mjs → creditProducts-CMOmhWm2.mjs} +71 -11
- package/dist/client/{cta-DP_IBnq3.mjs → cta-Bj5WHgcv.mjs} +2 -2
- package/dist/client/{dateFormatting-CwrkFZTr.mjs → dateFormatting-Bv6kjUW3.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-DQXK-Fh6.mjs → demoPortalMagicLink-3uVu3WgG.mjs} +1 -1
- package/dist/client/{wizardSteps-CFulHWnT.mjs → display-CT8KMSpH.mjs} +893 -68
- package/dist/client/{enhanceHeaderSection-DheQj7rg.mjs → enhanceHeaderSection-B27KFGDv.mjs} +3 -2
- package/dist/client/{event-details.client-C5UufcRp.mjs → event-details.client-CL4Lqz2c.mjs} +1 -1
- package/dist/client/{event-registration.client-CMGg63IU.mjs → event-registration.client-Dj3Kyp5X.mjs} +56 -16
- package/dist/client/{eventCalendar-DlD0GCEy.mjs → eventCalendar-DGsdSF8J.mjs} +4 -4
- package/dist/client/{eventCombined-DoSi8p_l.mjs → eventCombined-DFSVDJ3D.mjs} +4 -4
- package/dist/client/{eventDetails-DzuQYgmO.mjs → eventDetails-DzMskXYA.mjs} +2 -2
- package/dist/client/{eventListing-CkiMjl0g.mjs → eventListing-CpFFcAUr.mjs} +4 -4
- package/dist/client/{eventRegistration-CjS3Zpjp.mjs → eventRegistration-BipMUOCw.mjs} +8 -5
- package/dist/client/{form-DgQqm7T2.mjs → form-57k2JQnm.mjs} +3 -3
- package/dist/client/{form.client-BI9Dcsq5.mjs → form.client-CCl6CpRJ.mjs} +4 -4
- package/dist/client/{form.parts-DevF0L_A.mjs → form.parts-BOJ1yDDf.mjs} +1 -1
- package/dist/client/{formatDate-DDyURjoe.mjs → formatDate-BGlhrmhF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-DYIG6Pwb.mjs → headerSection-q_bEzfhW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-BWp7Y1e1.mjs → newsletter-form.client-CiqKAmPs.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-Dg8s9NwJ.mjs → newsletter-form.parts-x1RzAMNO.mjs} +1 -1
- package/dist/client/{newsletterForm-DnPraMzx.mjs → newsletterForm-Cn7h4zFe.mjs} +3 -3
- package/dist/client/{noop-ByFRHYQ2.mjs → noop-B_f7RqLD.mjs} +111 -2
- package/dist/client/portal/client.mjs +20 -12
- package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-rWUvpVvZ.mjs} +1 -1
- package/dist/client/{product-list.client-DVrs_DyY.mjs → product-list.client-J0wDOmKv.mjs} +1 -1
- package/dist/client/{productDetail-D4rvl6Xg.mjs → productDetail-LtCkMrJ0.mjs} +3 -3
- package/dist/client/{productList-B8o5AOMX.mjs → productList-C0MLeh-v.mjs} +3 -3
- package/dist/client/{propsDecoder-hhotPP6P.mjs → propsDecoder-CAmEkJ6Y.mjs} +3 -3
- package/dist/client/{registry.server-Ch3EpupA.mjs → registry.server-Bf2YX_4v.mjs} +22 -19
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-C3LabQ1O.mjs → richText-coerce-BTurYEao.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CQGlxId8.mjs → routeIslandApiConfig-UdAlnZGQ.mjs} +1 -1
- package/dist/client/{shop-rRXplPGZ.mjs → shop-Dkn6EasY.mjs} +3 -3
- package/dist/client/{shop-commerce-VDbVaKY-.mjs → shop-commerce-bo0Z6kwf.mjs} +11 -11
- package/dist/client/{shop-commerce-store-DqdgJ8Zw.mjs → shop-commerce-store-Ckxa4_jI.mjs} +1 -1
- package/dist/client/{shop.client-DdwvMvaK.mjs → shop.client-B_GqU6_U.mjs} +109 -30
- package/dist/client/{shop.interactive-C8OvFY06.mjs → shop.interactive-C6L_Ig5F.mjs} +7 -523
- package/dist/client/{shopShared-BeuJiGPU.mjs → shopShared-CO1Y8lFd.mjs} +2 -2
- package/dist/client/src-BozhJ43Z.mjs +3 -0
- package/dist/client/{src-1PJxc8KO.mjs → src-xrjaKaCj.mjs} +6 -8
- package/dist/client/{timetableModel-Cko9LRKy.mjs → timetableModel-D62jfOxZ.mjs} +10 -10
- package/dist/client/{useAvailableSlots-M6QIEiWf.mjs → useAvailableSlots-CStfVmyY.mjs} +3 -3
- package/dist/client/{useDiscountApply-BJSnyO0f.mjs → useDiscountApply-Ca2pHUDu.mjs} +5 -3
- package/dist/client/{useDiscountCodeUi-D3XnOSCi.mjs → useDiscountCodeUi-AEifktGO.mjs} +1 -1
- package/dist/client/{useEventPagination-PhTIoFVX.mjs → useEventPagination-uxnUWI2v.mjs} +6 -6
- package/dist/client/{view-448wvvEY.mjs → view-B6KSxQMO.mjs} +7 -7
- package/dist/client/{view-L_mkgtnk.mjs → view-SVnWic7i.mjs} +2 -3
- package/dist/preview-next/client/{ArrangementLookControls-BpvnOGlN.mjs → ArrangementLookControls-kbdqYkWM.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-C0OtdWu_.mjs → PreviewEditorSidebar-DI_LhsMQ.mjs} +89 -39
- package/dist/preview-next/client/{PreviewEditorUI-Csc5vH5k.mjs → PreviewEditorUI-yyD-ZREP.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-BOLH_pm-.mjs → PreviewShell-YauP65Gi.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CKodLReY.mjs → SdkPreviewModeRuntime-Bl7jQMI1.mjs} +8 -7
- package/dist/preview-next/client/{SiteChromeCustomizeButton-BeEZpeKn.mjs → SiteChromeCustomizeButton-CQFRP9aM.mjs} +1057 -316
- package/dist/preview-next/client/{previewAssistantSlot-BBdN5kfY.mjs → previewAssistantSlot-DSR0IdAw.mjs} +417 -56
- package/dist/preview-next/client/{previewChromeSurface-VZtGwPuH.mjs → previewChromeSurface-uSnVzeNs.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-kiZkMcuR.mjs → sdk-runtime-6Q0RVJTQ.mjs} +2 -2
- package/dist/preview-next/client/{src-DY8JCJdE.mjs → src-DzXUmsyK.mjs} +6 -8
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BiIHEeE0.mjs → useAutosaveStatus-Cdx3kAGm.mjs} +1 -1
- package/dist/preview-next/client/{useBlockCustomizeControls-BuFLIpmX.mjs → useBlockCustomizeControls-ZrWdhcB6.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-DlxYgmh_.mjs → useOpenBlockForSetup-CK-GWb9k.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-C0sCvCYL.mjs → route-contract-BU1m9SV3.mjs} +47 -0
- package/dist/server/{Block.shared-Dnhc0Wu5.mjs → Block.shared-4vx7wzxj.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-NAQ_zsFu.mjs → ThemeScopeCore-C3HLgqBF.mjs} +6 -3
- package/dist/server/{bindings-DLoZYUxG.mjs → bindings-TAQbo2P5.mjs} +1 -1
- package/dist/server/{booking-form.reserved-fields-BWRF7509.mjs → booking-form.reserved-fields-Cqp13TKc.mjs} +1 -0
- package/dist/server/{client-Bc8jI8zN.mjs → client-DzCxEl3L.mjs} +48 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{headerVariant-BwR9NV4b.mjs → headerVariant-8O5MvxIU.mjs} +2 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D61gpqHB.mjs → loadContent-BO1M9Hdf.mjs} +4 -4
- package/dist/server/{loadPage-B4ZYpIcd.mjs → loadPage-BvWzmZcD.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CDReKy2P.mjs → overrideResolution-fxuB1zZg.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-ByVTA7-4.mjs → pageRenderPlan-DzduDSqY.mjs} +2 -2
- package/dist/server/{pageRuntimeSupport-Dzz_Dze6.mjs → pageRuntimeSupport-BU8pwTNx.mjs} +2 -2
- package/dist/server/{pageShared-Dk5Ku6hs.mjs → pageShared-CSOJ8p8E.mjs} +24 -16
- package/dist/server/{parseThemeForPersistence-pJPGfMrf.mjs → parseThemeForPersistence-BebSeE17.mjs} +1 -1
- package/dist/server/{prebuild-CW4M0WEZ.mjs → prebuild-C5ZYo7wA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bvx0SiIM.mjs → prefetchBlockData-BvbxqeKn.mjs} +2 -2
- package/dist/server/{registry-Bh0Y25zH.mjs → registry-Fv-7D8o2.mjs} +264 -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-CnHHst9r.mjs → resolveBlockData-xPgkvoWS.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{validation-D2bHWSxJ.mjs → validation-DddhgNdb.mjs} +4 -4
- package/dist/server/{version-DkM1eAxG.mjs → version-D_W2mt8w.mjs} +1 -1
- package/dist/styles/index.css +6 -3
- package/package.json +1 -1
- package/dist/client/creditProducts-BOWi1QLp.mjs +0 -62
- package/dist/client/src-CdRISvQp.mjs +0 -3
- package/dist/preview-next/client/src-BP8771hw.mjs +0 -3
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { in as staticHeaderChromeRuntime } from "./shop.interactive-C6L_Ig5F.mjs";
|
|
3
|
+
import { t as buildCartDisplay } from "./display-CT8KMSpH.mjs";
|
|
3
4
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
4
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
5
6
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
6
7
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
7
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
8
|
+
import { n as useCommerceCart } from "./shop-commerce-store-Ckxa4_jI.mjs";
|
|
8
9
|
import * as React$1 from "react";
|
|
9
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
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-B6KSxQMO.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,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
2
|
+
import { $ as bookingEntry, I as offeringNounForEvent, N as displayButtonText, Q as bookingCardEntry, X as DEFAULT_BOOKING_BUTTON_TEXT, Z as bookingBarPlacement, et as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, qt as formatEventPriceDisplay, tt as bookingPanelHeading } from "./shop.interactive-C6L_Ig5F.mjs";
|
|
3
|
+
import { $n as canJoinEventWaitlistOnAnyMode, $t as getTicketTypeLineMax, At as confirmationPaymentRows, B as placeCountCeiling, Bt as formatTime, C as panelShouldOpen, D as registrationStepLabel, Fo as publicEventPricingType, Ft as formatBookingWhen, G as resolveRegistrationAvailabilityBlocker, Gt as occurrenceTitleOverride, It as formatDate, Jt as formatPrice, L as shouldPromptForLogin, Lt as formatEventDateTime, Mo as publicEventPricingCurrency, Mt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Nt as areEntitlementsDisabledForTicketCount, O as registrationStepLabelContext, Po as publicEventPricingStrategy, Qn as canJoinEventWaitlist, Qt as getTicketSelectionTotal, R as fullyBookedLabel, Ri as resolveEventRegistrationScopedEvents, Rt as formatPassCreditUsageLabel, S as getEventSelectionMode, Sn as shownVenue, Ut as getTicketTypeAvailabilityLabel, Wt as getVisibleTicketTypes, X as isEventRegistrationAvailable, Yt as canRequestTicketOption, Z as normalizeEventRegistrationMaxTickets, Zt as getTicketLineQuantity, ar as getRemainingPlaces, cr as selectMostOpenCapacitySource, jt as resolveFinishedPresentation, k as areEventRegistrationPaymentSelectionsEqual, lr as groupPublicEventsByRun, nn as setTicketLineQuantity, or as isEventFull, ot as paymentChoiceDetails, q as settledRemainingPlaces, qt as withOccurrenceTitle, rr as getEventAvailability, sr as selectEventCapacitySource, st as paymentChoicePrice, vr as getRegistrationSuccessCopy, yn as placesLeftLabel, zt as formatRegistrationSchedule } from "./display-CT8KMSpH.mjs";
|
|
4
|
+
import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
5
|
+
import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-C2QCj_Ta.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-DQnTyApV.mjs";
|
|
7
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-Do7Q0wRG.mjs";
|
|
8
8
|
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
9
9
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
10
10
|
import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
|
|
11
11
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
12
12
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { i as useBookingNowIso } from "./BookingQuestionFields-
|
|
15
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
14
|
+
import { i as useBookingNowIso } from "./BookingQuestionFields-DjLjd0vc.mjs";
|
|
15
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-AEifktGO.mjs";
|
|
16
16
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
17
|
-
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
17
|
+
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-y3qWjnOo.mjs";
|
|
18
18
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
19
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
19
|
+
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-BZNUd0-v.mjs";
|
|
20
20
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
21
21
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1164,6 +1164,26 @@ function ClosedPaymentPanel({ message }) {
|
|
|
1164
1164
|
});
|
|
1165
1165
|
}
|
|
1166
1166
|
//#endregion
|
|
1167
|
+
//#region ../blocks/src/system/runtime/nodes/event-registration/existingBookingsSummary.ts
|
|
1168
|
+
function places(count) {
|
|
1169
|
+
return count === 1 ? "1 place" : `${count} places`;
|
|
1170
|
+
}
|
|
1171
|
+
/** Waitlist entries have their own notice, so only confirmed bookings count here. */
|
|
1172
|
+
function summariseExistingBookings(registrations) {
|
|
1173
|
+
const confirmed = registrations.filter((registration) => registration.status === "confirmed");
|
|
1174
|
+
const [only] = confirmed;
|
|
1175
|
+
if (!only) return { kind: "none" };
|
|
1176
|
+
if (confirmed.length === 1) return {
|
|
1177
|
+
kind: "booked",
|
|
1178
|
+
detail: only.ticketBreakdown ?? places(only.ticketsCount)
|
|
1179
|
+
};
|
|
1180
|
+
const placeCount = confirmed.reduce((total, registration) => total + registration.ticketsCount, 0);
|
|
1181
|
+
return {
|
|
1182
|
+
kind: "booked",
|
|
1183
|
+
detail: `${confirmed.length} bookings · ${places(placeCount)}`
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
//#endregion
|
|
1167
1187
|
//#region ../blocks/src/system/runtime/nodes/event-registration/EventSelectionStep.tsx
|
|
1168
1188
|
/** Dates in order, grouped by the month and year they fall in, both in the date's own zone. */
|
|
1169
1189
|
function groupByMonth(events) {
|
|
@@ -2446,7 +2466,7 @@ function entitlementRows(props) {
|
|
|
2446
2466
|
//#region ../blocks/src/system/runtime/nodes/event-registration/CalendarAction.tsx
|
|
2447
2467
|
/** Download effects happen only after a click, including in editor preview. */
|
|
2448
2468
|
async function downloadCalendar(calendar) {
|
|
2449
|
-
const { renderCalendarFeedIcs } = await import("./src-
|
|
2469
|
+
const { renderCalendarFeedIcs } = await import("./src-BozhJ43Z.mjs");
|
|
2450
2470
|
const url = URL.createObjectURL(new Blob([renderCalendarFeedIcs(calendar.feed)], { type: "text/calendar;charset=utf-8" }));
|
|
2451
2471
|
const link = document.createElement("a");
|
|
2452
2472
|
link.href = url;
|
|
@@ -2749,6 +2769,7 @@ function ExistingRegistrationNotice(props) {
|
|
|
2749
2769
|
className: "er-existing-registration-notice",
|
|
2750
2770
|
titleClassName: "er-existing-registration-title",
|
|
2751
2771
|
bodyClassName: "er-existing-registration-copy",
|
|
2772
|
+
secondaryBodyClassName: "er-existing-registration-copy",
|
|
2752
2773
|
icon: /* @__PURE__ */ jsx(StateIcon, {
|
|
2753
2774
|
variant: isBooked ? "success" : "info",
|
|
2754
2775
|
children: /* @__PURE__ */ jsx("svg", {
|
|
@@ -2763,9 +2784,14 @@ function ExistingRegistrationNotice(props) {
|
|
|
2763
2784
|
})
|
|
2764
2785
|
})
|
|
2765
2786
|
}),
|
|
2766
|
-
title: isBooked ? "You're already booked
|
|
2767
|
-
body: "Sign out to book for someone else.",
|
|
2768
|
-
|
|
2787
|
+
title: isBooked ? "You're already booked for this date" : "You're already on the waitlist for this event.",
|
|
2788
|
+
body: isBooked ? props.detail : "Sign out to book for someone else.",
|
|
2789
|
+
secondaryBody: isBooked ? "Need more tickets? You can book them below. They'll come as a new booking with its own confirmation email, and your first booking won't change." : void 0,
|
|
2790
|
+
actions: isBooked ? /* @__PURE__ */ jsx("a", {
|
|
2791
|
+
href: "/portal",
|
|
2792
|
+
className: "er-existing-registration-link",
|
|
2793
|
+
children: "View my bookings"
|
|
2794
|
+
}) : /* @__PURE__ */ jsx("button", {
|
|
2769
2795
|
type: "button",
|
|
2770
2796
|
className: "er-existing-registration-link",
|
|
2771
2797
|
onClick: props.onBookForSomeoneElse,
|
|
@@ -2871,8 +2897,14 @@ function ClosedAdmissionNotice({ wizard }) {
|
|
|
2871
2897
|
}
|
|
2872
2898
|
function TicketSelectionContent({ wizard, display }) {
|
|
2873
2899
|
if (!wizard.selectedEvent && !wizard.occurrenceContext) return null;
|
|
2900
|
+
const isWaitlisted = wizard.admission.kind === "closed" && wizard.admission.reason === "alreadyWaitlisted";
|
|
2901
|
+
const existingBookings = summariseExistingBookings(wizard.existingRegistrations);
|
|
2874
2902
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2875
|
-
|
|
2903
|
+
existingBookings.kind === "booked" && !isWaitlisted && /* @__PURE__ */ jsx(ExistingRegistrationNotice, {
|
|
2904
|
+
kind: "booked",
|
|
2905
|
+
detail: existingBookings.detail
|
|
2906
|
+
}),
|
|
2907
|
+
isWaitlisted && /* @__PURE__ */ jsx(ExistingRegistrationNotice, {
|
|
2876
2908
|
kind: "waitlisted",
|
|
2877
2909
|
onBookForSomeoneElse: wizard.handleBookForSomeoneElse
|
|
2878
2910
|
}),
|
|
@@ -3250,7 +3282,13 @@ function EventRegistrationSurface(props) {
|
|
|
3250
3282
|
return /* @__PURE__ */ jsxs("div", {
|
|
3251
3283
|
ref: useRegistrationStepFocus(wizard.step, props.variant),
|
|
3252
3284
|
className: `rb-reg-surface er-container${props.variant === "overlay" ? " er-container--overlay" : ""}`,
|
|
3253
|
-
children: [
|
|
3285
|
+
children: [wizard.handOff ? /* @__PURE__ */ jsx(NavigationHandOffPanel, {
|
|
3286
|
+
handOff: wizard.handOff,
|
|
3287
|
+
purpose: wizard.handOff.purpose,
|
|
3288
|
+
businessName: wizard.handOffBusinessName,
|
|
3289
|
+
offeringLabel: wizard.handOffOfferingLabel,
|
|
3290
|
+
onBack: () => wizard.dismissHandOff?.()
|
|
3291
|
+
}, wizard.handOff.url) : presentation.layout === "steps" ? /* @__PURE__ */ jsx(EventRegistrationStepLayout, {
|
|
3254
3292
|
...props,
|
|
3255
3293
|
progress: presentation.progress
|
|
3256
3294
|
}) : /* @__PURE__ */ jsxs("div", {
|
|
@@ -3386,6 +3424,8 @@ function useConfiguredEventRegistrationWizard(props) {
|
|
|
3386
3424
|
maxTicketsNum: normalizeEventRegistrationMaxTickets(props.maxTickets ?? "5"),
|
|
3387
3425
|
mailingList: props.mailingList,
|
|
3388
3426
|
siteTerms: props.siteTerms,
|
|
3427
|
+
pageNavigation: props.pageNavigation,
|
|
3428
|
+
offeringNoun: props.offeringNoun,
|
|
3389
3429
|
siteName: props.siteName
|
|
3390
3430
|
});
|
|
3391
3431
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-DDjz7tuX.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-UdAlnZGQ.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 BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-CeYbNsch.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-UdAlnZGQ.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-CAmEkJ6Y.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-CL4Lqz2c.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 BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-slpvrTrM.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-UdAlnZGQ.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 EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as EventRegistrationIslandClient } from "./event-registration.client-Dj3Kyp5X.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.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-UdAlnZGQ.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -22,7 +22,10 @@ const enhance = (root, props) => {
|
|
|
22
22
|
});
|
|
23
23
|
return mountReactIsland(root, ({ root: reactRoot }) => {
|
|
24
24
|
reactRoot.render(/* @__PURE__ */ jsx(BlockApiProvider, {
|
|
25
|
-
config:
|
|
25
|
+
config: {
|
|
26
|
+
...apiConfig,
|
|
27
|
+
pageNavigation: props.render.hydration.pageNavigation
|
|
28
|
+
},
|
|
26
29
|
children: /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props })
|
|
27
30
|
}));
|
|
28
31
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-CCl6CpRJ.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
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Gi as listLookSlot } from "./display-CT8KMSpH.mjs";
|
|
3
|
+
import { _ as ok, g as err, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-DQnTyApV.mjs";
|
|
5
5
|
import { S as clsx } from "./ThemedButton-BdnEwA38.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-BOJ1yDDf.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 { Gi as listLookSlot, Wi as listLookControl } from "./display-CT8KMSpH.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Mt as formatDate$1, Pt as formatDateTime, Yt as parseBookingLocalDate, en as parseUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Mt as formatDate, Qt as resolveBookingTimeZoneId, sn as formatGiftCardAmountLabel, t as logger, tn as toUtcIsoDateTimeString } from "../noop-B_f7RqLD.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-DQnTyApV.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BdnEwA38.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
7
|
import React from "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-CAmEkJ6Y.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-B27KFGDv.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-BWp7Y1e1.mjs → newsletter-form.client-CiqKAmPs.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { dn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-C6L_Ig5F.mjs";
|
|
3
|
+
import { Gi as listLookSlot } from "./display-CT8KMSpH.mjs";
|
|
4
|
+
import { M as assertNever$1, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-DQnTyApV.mjs";
|
|
6
6
|
import { S as clsx } from "./ThemedButton-BdnEwA38.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-x1RzAMNO.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-Dg8s9NwJ.mjs → newsletter-form.parts-x1RzAMNO.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Gi as listLookSlot } from "./display-CT8KMSpH.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-DQnTyApV.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-CiqKAmPs.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, d as parseUuidBrand, f as err, n as renderableMediaAssetSchema, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import { c as addMonths } from "./src-
|
|
3
|
+
import { c as addMonths } from "./src-xrjaKaCj.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../core/src/branded/customers.ts
|
|
6
6
|
const unsafeAsSiteTermsVersionId = (id) => id;
|
|
@@ -1112,6 +1112,111 @@ const publicEventLoaderQuerySchemaShape = {
|
|
|
1112
1112
|
};
|
|
1113
1113
|
z.object(publicEventLoaderQuerySchemaShape);
|
|
1114
1114
|
//#endregion
|
|
1115
|
+
//#region ../site-contracts/src/siteData/products.ts
|
|
1116
|
+
const publicProductVariantSchema = z.object({
|
|
1117
|
+
id: z.string(),
|
|
1118
|
+
title: z.string(),
|
|
1119
|
+
sku: z.string().nullable(),
|
|
1120
|
+
priceCents: z.number(),
|
|
1121
|
+
stockQuantity: z.number().nullable(),
|
|
1122
|
+
soldOut: z.boolean()
|
|
1123
|
+
});
|
|
1124
|
+
const publicProductSchema = z.object({
|
|
1125
|
+
id: z.string(),
|
|
1126
|
+
contentEntryId: z.string().nullable(),
|
|
1127
|
+
title: z.string(),
|
|
1128
|
+
slug: z.string(),
|
|
1129
|
+
path: z.string().nullable(),
|
|
1130
|
+
status: z.enum(["draft", "active"]),
|
|
1131
|
+
priceCents: z.number(),
|
|
1132
|
+
currency: z.string(),
|
|
1133
|
+
productType: z.enum(["physical", "digital"]),
|
|
1134
|
+
requiresShipping: z.boolean(),
|
|
1135
|
+
hasVariants: z.boolean(),
|
|
1136
|
+
trackInventory: z.boolean(),
|
|
1137
|
+
soldOut: z.boolean(),
|
|
1138
|
+
category: z.object({
|
|
1139
|
+
id: z.string(),
|
|
1140
|
+
name: z.string(),
|
|
1141
|
+
slug: z.string()
|
|
1142
|
+
}).nullable(),
|
|
1143
|
+
summary: z.string().nullable(),
|
|
1144
|
+
body: z.unknown().nullable(),
|
|
1145
|
+
gallery: z.array(z.object({
|
|
1146
|
+
url: z.string(),
|
|
1147
|
+
alt: z.string().nullable()
|
|
1148
|
+
})),
|
|
1149
|
+
variants: z.array(publicProductVariantSchema)
|
|
1150
|
+
});
|
|
1151
|
+
/**
|
|
1152
|
+
* Public pass product for shop display
|
|
1153
|
+
*/
|
|
1154
|
+
const publicPassProductFields = {
|
|
1155
|
+
id: z.string(),
|
|
1156
|
+
productUseCase: z.enum(["event_pass", "appointment_package"]).default("event_pass"),
|
|
1157
|
+
name: z.string(),
|
|
1158
|
+
description: z.string().nullable(),
|
|
1159
|
+
price: z.number(),
|
|
1160
|
+
currency: z.string(),
|
|
1161
|
+
creditsTotal: z.number(),
|
|
1162
|
+
pricePerCredit: z.number(),
|
|
1163
|
+
validDays: z.number().nullable(),
|
|
1164
|
+
eligibleCategoryIds: z.array(z.string()),
|
|
1165
|
+
eligibleCategoryNames: z.array(z.string()),
|
|
1166
|
+
heldWithTeamMember: z.object({
|
|
1167
|
+
id: z.string(),
|
|
1168
|
+
name: z.string()
|
|
1169
|
+
}).nullable().optional(),
|
|
1170
|
+
teamMemberSelection: z.discriminatedUnion("kind", [
|
|
1171
|
+
z.object({ kind: z.literal("any") }),
|
|
1172
|
+
z.object({
|
|
1173
|
+
kind: z.literal("owner"),
|
|
1174
|
+
teamMember: z.object({
|
|
1175
|
+
id: z.string(),
|
|
1176
|
+
name: z.string()
|
|
1177
|
+
})
|
|
1178
|
+
}),
|
|
1179
|
+
z.object({
|
|
1180
|
+
kind: z.literal("choose"),
|
|
1181
|
+
teamMembers: z.array(z.object({
|
|
1182
|
+
id: z.string(),
|
|
1183
|
+
name: z.string()
|
|
1184
|
+
}))
|
|
1185
|
+
})
|
|
1186
|
+
]).optional()
|
|
1187
|
+
};
|
|
1188
|
+
const purchasablePublicPassProductSchema = z.object({
|
|
1189
|
+
...publicPassProductFields,
|
|
1190
|
+
purchaseAvailability: z.literal("purchasable")
|
|
1191
|
+
});
|
|
1192
|
+
const publicPassProductSchema = z.discriminatedUnion("purchaseAvailability", [purchasablePublicPassProductSchema, z.object({
|
|
1193
|
+
...publicPassProductFields,
|
|
1194
|
+
purchaseAvailability: z.literal("display_only"),
|
|
1195
|
+
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
1196
|
+
})]);
|
|
1197
|
+
/**
|
|
1198
|
+
* Public membership product for shop display
|
|
1199
|
+
*/
|
|
1200
|
+
const publicMembershipProductFields = {
|
|
1201
|
+
id: z.string(),
|
|
1202
|
+
name: z.string(),
|
|
1203
|
+
description: z.string().nullable(),
|
|
1204
|
+
price: z.number(),
|
|
1205
|
+
currency: z.string(),
|
|
1206
|
+
billingInterval: z.enum(["month", "year"]),
|
|
1207
|
+
eligibleCategoryIds: z.array(z.string()),
|
|
1208
|
+
eligibleCategoryNames: z.array(z.string())
|
|
1209
|
+
};
|
|
1210
|
+
const purchasablePublicMembershipProductSchema = z.object({
|
|
1211
|
+
...publicMembershipProductFields,
|
|
1212
|
+
purchaseAvailability: z.literal("purchasable")
|
|
1213
|
+
});
|
|
1214
|
+
const publicMembershipProductSchema = z.discriminatedUnion("purchaseAvailability", [purchasablePublicMembershipProductSchema, z.object({
|
|
1215
|
+
...publicMembershipProductFields,
|
|
1216
|
+
purchaseAvailability: z.literal("display_only"),
|
|
1217
|
+
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
1218
|
+
})]);
|
|
1219
|
+
//#endregion
|
|
1115
1220
|
//#region ../site-contracts/src/siteData/eventVocabulary.ts
|
|
1116
1221
|
const eventCalendarDisplayModeValues = [
|
|
1117
1222
|
"combined",
|
|
@@ -2124,6 +2229,10 @@ function planCalendarMonthRanges(months) {
|
|
|
2124
2229
|
return ranges;
|
|
2125
2230
|
}
|
|
2126
2231
|
//#endregion
|
|
2232
|
+
//#region ../blocks/src/system/blocks/shop.shared.ts
|
|
2233
|
+
const publicPassProductCollectionSchema = z.object({ passes: z.array(publicPassProductSchema) });
|
|
2234
|
+
const publicMembershipProductCollectionSchema = z.object({ memberships: z.array(publicMembershipProductSchema) });
|
|
2235
|
+
//#endregion
|
|
2127
2236
|
//#region ../blocks/src/contracts/events.ts
|
|
2128
2237
|
/** Release 1: older SDKs reject additional confirmed-outcome fields. */
|
|
2129
2238
|
const EVENT_BOOKING_ARRIVAL_QUERY = "bookingArrival";
|
|
@@ -2178,4 +2287,4 @@ const logger = {
|
|
|
2178
2287
|
withFields: (_) => logger
|
|
2179
2288
|
};
|
|
2180
2289
|
//#endregion
|
|
2181
|
-
export {
|
|
2290
|
+
export { persistableMediaSchema as $, toBookingTimeZone as $t, eyebrowTreatmentValues as A, trimmedStringOrNull as At, blockBookingPaymentTermsSchema as B, resolveBookingDisplayContext as Bt, normalizeEventCalendarDisplayMode as C, decideLocationSourcePermission as Ct, accordionIconSetValues as D, projectPublicLocation as Dt, accordionIconMotionValues as E, parseLocationValue as Et, visibleHeadingDecorationFamilyValues as F, formatDateTimeRange as Ft, beforeBookingQuestionsPresentationSchema as G, compareLocalScheduleDates as Gt, bookingConsentCarrierSchema as H, toScheduledBookingDateTime as Ht, eventVenueDrawingSchema as I, formatTime as It, isRichTextDoc as J, getLocalScheduleDate as Jt, bookingQuestionsAnswerValueSchema as K, formatLocalScheduleDate as Kt, publicEventDestinationSchema as L, formatTimeRange as Lt, headingDecorationOverrideValues as M, formatDate as Mt, isArrangementMode as N, formatDateRange as Nt, arrangementModes as O, publicLocationSchema as Ot, tileTreatmentValues as P, formatDateTime as Pt, mediaSchema as Q, resolveBookingTimeZoneId as Qt, publicEventSchema as R, formatTimeZoneCityLabel as Rt, isEventCalendarListLayout as S, WHOLE_SERIES_EVENT_PRESET_VALUES as St, accordionIconColorTokenValues as T, normalizeLocationAddressText as Tt, isBookingRequirementConsentFieldId as U, buildBookingUtcDateWindow as Ut, blockBookingConsentSchema as V, formatBookingCompactEnglishTime as Vt, toBookingRequirementConsentField as W, addLocalScheduleDays as Wt, externalMediaSchema as X, parseLocalScheduleTime as Xt, assetMediaSchema as Y, parseBookingLocalDate as Yt, imageMediaSchema as Z, resolveBookingBusinessTimeZone as Zt, eventCalendarListLayoutOptions as _, eventScheduleScopeValues as _t, eventAutoApplyDiscountPreviewSchema as a, toNonNegativeCents as an, normalizeCurrencyCode as at, isEventCalendarDefaultView as b, publicEventLoaderQuerySchemaShape as bt, calendarMonthKey as c, eventCalendarListLayoutCompatibleDisplayModeValues as ct, calendarWindowBounds as d, publicPassProductSchema as dt, parseUtcIsoDateTimeString as en, runtimeMediaSchema as et, calendarWindowMonths as f, publicProductSchema as ft, eventCalendarListGroupingDecision as g, calendarWindowQuerySchema as gt, resolveCalendarReadProfile as h, calendarMonthDate as ht, EVENT_BOOKING_ARRIVAL_QUERY as i, parsePositiveMoneyInputToCents as in, mediaTypeDiscriminants as it, headingDecorationColorTokenValues as j, mapDrawingSchema as jt, eventListTreatmentValues as k, toLocationCoordinates as kt, calendarPageResponseError as l, eventCalendarListLayoutValues as lt, planCalendarMonthRanges as m, purchasablePublicPassProductSchema as mt, blockSiteTermsSchema as n, validateBookingPaymentOptionKinds as nn, PUBLIC_FILE_FIELD_KINDS as nt, publicMembershipProductCollectionSchema as o, formatCurrencyAmount as on, eventCalendarDefaultViewValues as ot, calendarWindowPageSchema as p, purchasablePublicMembershipProductSchema as pt, RichTextDocSchema as q, getBookingLocalDateKey as qt, verifiedSiteTermsAcceptanceSchema as r, parsePositiveCents as rn, isDisplayMediaKind as rt, publicPassProductCollectionSchema as s, formatGiftCardAmountLabel as sn, eventCalendarDisplayModeValues as st, logger as t, toUtcIsoDateTimeString as tn, videoMediaSchema as tt, calendarQueryKey as u, publicMembershipProductSchema as ut, eventCalendarVariantMeaning as v, eventSurfacePresetValues as vt, resolveEventCalendarReadPlan as w, locationValueSchema as wt, isEventCalendarDisplayMode as x, isRecord as xt, eventListArrangementValues as y, eventSurfaceScopeValues as yt, publicEventsArraySchema as z, inferSiteDateLocale as zt };
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { n as useAvailableDates, s as unsafeAsAppointmentResourceId, t as useAvailableSlots } from "../useAvailableSlots-
|
|
5
|
-
import {
|
|
3
|
+
import { in as parsePositiveMoneyInputToCents, on as formatCurrencyAmount, t as logger } from "../noop-B_f7RqLD.mjs";
|
|
4
|
+
import { n as useAvailableDates, s as unsafeAsAppointmentResourceId, t as useAvailableSlots } from "../useAvailableSlots-CStfVmyY.mjs";
|
|
5
|
+
import { M as assertNever$1, a as UNANSWERED_QUESTIONS_SUMMARY, h as assertNever, i as getPortalCreditProductCreditNoun, j as resolveFlexibleBalancePaymentEligibility, m as unansweredRequiredBookingQuestions, o as UNANSWERED_QUESTION_MESSAGE, r as getCreditProductTypeLabel, t as deriveCreditProductLabels, u as initialBookingQuestionValues, w as formatOrderInstalmentStatusLabel$1 } from "../creditProducts-CMOmhWm2.mjs";
|
|
6
6
|
import { t as generateUuidV4 } from "../uuid-BETKW8rS.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { a as createBlockApi, i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-DQnTyApV.mjs";
|
|
8
8
|
import { S as clsx, i as ThemedButtonLink, l as SpinnerNode, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton } from "../ThemedButton-BdnEwA38.mjs";
|
|
9
|
-
import { t as resolveDedicatedBookingHref } from "../bookingRoute-
|
|
10
|
-
import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-
|
|
9
|
+
import { t as resolveDedicatedBookingHref } from "../bookingRoute-D6DlxYx6.mjs";
|
|
10
|
+
import { a as DemoPortalSignInLink, i as useBookingNowIso, r as parseBookingSubmissionFailure, t as BookingQuestionFields } from "../BookingQuestionFields-DjLjd0vc.mjs";
|
|
11
11
|
import { t as ModalShell } from "../ModalShell-B_fHWK71.mjs";
|
|
12
12
|
import { t as TabBarFragment } from "../TabBarFragment-DkVKtK5a.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-CwrkFZTr.mjs";
|
|
13
|
+
import { t as formatDate } from "../formatDate-BGlhrmhF.mjs";
|
|
14
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-3uVu3WgG.mjs";
|
|
15
|
+
import { a as formatPortalSessionDay, c as isPast, i as formatPortalSession, l as portalSessionDisplay, n as formatDateTime, o as formatPortalSessionTime, r as formatEntitlementEnd, s as formatPortalSessionWithWeekday, t as formatDate$1 } from "../dateFormatting-Bv6kjUW3.mjs";
|
|
17
16
|
import * as React$1 from "react";
|
|
18
17
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
19
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5474,11 +5473,11 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
|
|
|
5474
5473
|
className: "rb-space-y-4",
|
|
5475
5474
|
children: [
|
|
5476
5475
|
/* @__PURE__ */ jsx(TaskIntro, { detail }),
|
|
5477
|
-
/* @__PURE__ */ jsx(BookingQuestionFields, {
|
|
5476
|
+
viewOnly ? /* @__PURE__ */ jsx(CapturedAnswers, { answers: detail.completedAnswers }) : /* @__PURE__ */ jsx(BookingQuestionFields, {
|
|
5478
5477
|
sections: detail.sections,
|
|
5479
5478
|
values: formValues,
|
|
5480
5479
|
fieldErrors,
|
|
5481
|
-
disabled:
|
|
5480
|
+
disabled: saving,
|
|
5482
5481
|
showFirstSectionTitle: detail.shape === "detailed-questionnaire",
|
|
5483
5482
|
onChange: (fieldId, next) => {
|
|
5484
5483
|
setFormValues((current) => ({
|
|
@@ -5529,6 +5528,15 @@ function BeforeYouComeTask({ entityId, task, session, loadTask, saveTask, create
|
|
|
5529
5528
|
}) : null
|
|
5530
5529
|
}) : null] });
|
|
5531
5530
|
}
|
|
5531
|
+
function CapturedAnswers({ answers }) {
|
|
5532
|
+
return /* @__PURE__ */ jsx("div", {
|
|
5533
|
+
className: "rb-space-y-4",
|
|
5534
|
+
children: answers?.map((answer) => /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", {
|
|
5535
|
+
className: "rb-font-medium",
|
|
5536
|
+
children: answer.label
|
|
5537
|
+
}), /* @__PURE__ */ jsx("p", { children: answer.kind === "scalar" ? answer.valueSummary : answer.fileName })] }, answer.fieldId))
|
|
5538
|
+
});
|
|
5539
|
+
}
|
|
5532
5540
|
function TaskIntro({ detail }) {
|
|
5533
5541
|
const body = detail.introBody ? /* @__PURE__ */ jsx("p", {
|
|
5534
5542
|
className: "rb-caption status-muted cp-before-you-come__body",
|
package/dist/client/{product-detail.client-BFAgHrdg.mjs → product-detail.client-rWUvpVvZ.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-bo0Z6kwf.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-bo0Z6kwf.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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductDetailClient } from "./product-detail.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
3
|
+
import { t as ProductDetailClient } from "./product-detail.client-rWUvpVvZ.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-CO1Y8lFd.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productDetail.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-detail");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductListClient } from "./product-list.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CAmEkJ6Y.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-J0wDOmKv.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-CO1Y8lFd.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productList.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-list");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
|