@riverbankcms/sdk 0.160.0 → 0.162.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-CoqeotCL.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-CdQS6C7i.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +59 -92
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-DGa53rjL.d.ts} +11 -3
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-CyBaPaIq.d.ts} +17 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-BtnsA14K.d.ts} +10 -20
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-C39F9KaB.d.ts} +13 -2
- package/dist/_dts/{index-C5xslEBn.d.ts → index-DEu85xBt.d.ts} +1 -1
- package/dist/_dts/{schema-D0bNcPWK.d.ts → index-DI2yaSPY.d.ts} +22873 -19918
- package/dist/_dts/{types-D8czmbQF.d.ts → index-Dbd0Sn0G.d.ts} +4356 -1827
- package/dist/_dts/{index-CEaKil7G.d.ts → index-Du1IRglc.d.ts} +2 -2
- package/dist/_dts/{index-DahMwisK.d.ts → index-Jlcq6w69.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-Wm62sXf2.d.ts} +4 -4
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-BPfAAZDW.d.ts} +13 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-DWbrtKf8.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/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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- 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/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/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-CVv2H4AT.d.ts} +7 -7
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-CfNG5koF.d.ts} +4 -2
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-ClZ-BQL_.d.ts} +3 -3
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +23 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-M5rpaHxi.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-k4lhuCn5.mjs} +15 -6
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +25 -13
- package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
- package/dist/client/MapDrawingSvg-_aIK2ojv.mjs +200 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-DJBIQBOw.mjs} +2555 -536
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
- package/dist/client/ThemedButton-BWsDgjMC.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-CtO2XF7M.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-BR-zCD3O.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-C6YpKbZZ.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-dC938WrX.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-Dy9RlREI.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-CefG0d2F.mjs} +1 -1
- package/dist/client/client.mjs +37 -71
- package/dist/client/{context-BLAvalAa.mjs → context-BFwxgZpB.mjs} +28 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-DtA42Xio.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-BFgsLqTj.mjs} +3 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-BaXZ1-Ky.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-COLwF80U.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-CBrkimXu.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-CedKVA1S.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-XFy9uXSJ.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-B0iancFK.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-DMbolu9Y.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-WjlECjtV.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
- package/dist/client/{mediaContext-DThoeEBU.mjs → mediaContext-CNzWmoA4.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B3RNPVrt.mjs} +313 -3
- package/dist/client/portal/client.mjs +1116 -85
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-CbBUVWgd.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-vqOKH2mh.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-CkSUep5a.mjs} +4 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-cZ24QwtW.mjs} +607 -210
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +18 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-DNHLlze-.mjs} +7307 -8363
- package/dist/client/{shop-DZNC0VKk.mjs → shop-CF0dhnfH.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-DqfYoqWH.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CreQ0I7i.mjs} +38 -183
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-D-yh-P7g.mjs} +2 -2
- package/dist/client/site-styles-B9HgmY07.mjs +11619 -0
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-DCdVErTJ.mjs} +149 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CsysCF22.mjs} +8 -21
- package/dist/client/{view-CseyBW07.mjs → view-BpBjo9Te.mjs} +71 -59
- package/dist/client/{view-CkUn3Y0Y.mjs → view-DMyTchi7.mjs} +4 -4
- package/dist/client/wizardSteps-BO2OmMO9.mjs +6604 -0
- package/dist/preview-next/before-render.mjs +7 -6
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +269 -1100
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-VaHvYtrA.mjs} +10 -190
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +639 -536
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-CHKOWXxl.mjs} +1706 -692
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → previewAuthStore-C0VUwEHz.mjs} +81363 -136296
- package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-BeR2S8oG.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +2 -2
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-CkrFDMrl.mjs} +434 -203
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-DxvNGDig.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-BuhKvYkE.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-BobW6DOz.mjs} +39 -72
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +2060 -1680
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-CCG_3mbY.mjs} +14 -5
- package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-jntGoMrf.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-DByQwIyW.mjs} +803 -412
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild-DrwcTk2t.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-LfgxSJYE.mjs} +156 -89
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-8A3T5v4M.mjs} +685 -166
- package/dist/server/{registry-eFjKtEhF.mjs → registry-Digv02oV.mjs} +780 -1052
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-BiqpDRwB.mjs} +4805 -3561
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-DrkprQPL.mjs +755 -0
- package/dist/server/siteChromeOverlayClearance-BmKKkkbh.mjs +750 -0
- package/dist/server/{src-C5Mu-z0F.mjs → src-08GY1njw.mjs} +1060 -44
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-CSd_Vusz.mjs} +151 -53
- package/dist/server/{validation-B-Xar8QS.mjs → validation-DdUTkBOZ.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-DdIOqIDe.mjs} +1 -1
- package/dist/styles/index.css +1029 -41
- package/package.json +1 -1
- package/dist/_dts/index-Blwl7yl6.d.ts +0 -13
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-
|
|
3
|
-
import { u as BindingTransformName } from "./index-
|
|
4
|
-
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-
|
|
1
|
+
import { h as NavigationConfigItemInput, m as NavigationAuthoringLinkInput } from "./index-Dbd0Sn0G.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-K9R7P-KF.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-BtnsA14K.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-ClZ-BQL_.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/content-validation.d.ts
|
package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-COqlgWYU.mjs}
RENAMED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { Yt as parseSurfaceTree } from "./schema-DNHLlze-.mjs";
|
|
3
|
+
import "./site-styles-B9HgmY07.mjs";
|
|
4
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-CNzWmoA4.mjs";
|
|
5
|
+
import { n as toBlocksMediaAssets } from "./mediaAssets-BkoW_PEn.mjs";
|
|
4
6
|
import { useEffect } from "react";
|
|
5
7
|
//#region src/rendering/islands/deferredVideoEmbeds.ts
|
|
6
8
|
const DEFERRED_IFRAME_SELECTOR = "iframe[data-rb-video-embed-deferred=\"true\"]";
|
|
@@ -75,23 +77,22 @@ function isSafeHttpsUrl(value) {
|
|
|
75
77
|
//#endregion
|
|
76
78
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
77
79
|
const defaultEnhancerLoaders = {
|
|
78
|
-
accordion: () => import("./accordion-
|
|
79
|
-
headerSection: () => import("./headerSection-
|
|
80
|
-
carousel: () => import("./carousel-
|
|
81
|
-
form: () => import("./form-
|
|
82
|
-
"booking-form": () => import("./bookingForm-
|
|
83
|
-
"event-registration": () => import("./eventRegistration-
|
|
84
|
-
"event-details": () => import("./eventDetails-
|
|
85
|
-
"
|
|
86
|
-
"event-
|
|
87
|
-
"event-
|
|
88
|
-
"
|
|
89
|
-
"product-
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"newsletter-form": () => import("./newsletterForm-tEaYelzx.mjs")
|
|
80
|
+
accordion: () => import("./accordion-CtO2XF7M.mjs"),
|
|
81
|
+
headerSection: () => import("./headerSection-WjlECjtV.mjs"),
|
|
82
|
+
carousel: () => import("./carousel-BR-zCD3O.mjs"),
|
|
83
|
+
form: () => import("./form-XFy9uXSJ.mjs"),
|
|
84
|
+
"booking-form": () => import("./bookingForm-SvjLPx8i.mjs"),
|
|
85
|
+
"event-registration": () => import("./eventRegistration-DkQQfR1b.mjs"),
|
|
86
|
+
"event-details": () => import("./eventDetails-CBrkimXu.mjs"),
|
|
87
|
+
"event-listing": () => import("./eventListing-CedKVA1S.mjs"),
|
|
88
|
+
"event-calendar": () => import("./eventCalendar-COLwF80U.mjs"),
|
|
89
|
+
"event-combined": () => import("./eventCombined-D3Ltwu03.mjs"),
|
|
90
|
+
"product-list": () => import("./productList-vqOKH2mh.mjs"),
|
|
91
|
+
"product-detail": () => import("./productDetail-CbBUVWgd.mjs"),
|
|
92
|
+
"cart": () => import("./cart-C6YpKbZZ.mjs"),
|
|
93
|
+
"checkout": () => import("./checkout-Dy9RlREI.mjs"),
|
|
94
|
+
shop: () => import("./shop-CF0dhnfH.mjs"),
|
|
95
|
+
"newsletter-form": () => import("./newsletterForm-DMuxzu6I.mjs")
|
|
95
96
|
};
|
|
96
97
|
const DEFAULT_MAX_RETRIES = 2;
|
|
97
98
|
const RETRY_DELAYS_MS = [250, 1e3];
|
|
@@ -166,8 +167,9 @@ function isRetryableError(error) {
|
|
|
166
167
|
return false;
|
|
167
168
|
}
|
|
168
169
|
function decodeLoadedProps(mod, rawProps) {
|
|
169
|
-
|
|
170
|
-
return
|
|
170
|
+
const props = parseSurfaceTree(rawProps);
|
|
171
|
+
if (mod.decode) return mod.decode(props);
|
|
172
|
+
return props;
|
|
171
173
|
}
|
|
172
174
|
function collectIslands(root, loaders) {
|
|
173
175
|
return Array.from(root.querySelectorAll("[data-rb-island]")).filter((el) => el.dataset.rbIslandMounted !== "true").filter((el) => el.dataset.rbIslandError !== "true").filter((el) => el.dataset.rbIslandEnhancing !== "true").map((element) => {
|
package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-CFYPDEHH.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { Kt as RichText } from "./wizardSteps-
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-BO2OmMO9.mjs";
|
|
4
4
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
5
5
|
import { useCallback, useEffect, useId, useReducer, useRef } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, v as isToday } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
3
|
+
import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
|
|
4
4
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
5
|
-
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
9
|
-
import { i as formatEventTeacherLine } from "./EventItem-
|
|
5
|
+
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-BO2OmMO9.mjs";
|
|
6
|
+
import { ut as formatDate } from "./noop-B3RNPVrt.mjs";
|
|
7
|
+
import { Yt as formatEventPrice } from "./shop.interactive-CreQ0I7i.mjs";
|
|
8
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-DtA42Xio.mjs";
|
|
9
|
+
import { i as formatEventTeacherLine } from "./EventItem-M5rpaHxi.mjs";
|
|
10
10
|
import "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
|
package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-
|
|
5
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-B3RNPVrt.mjs";
|
|
5
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-C7X9dJ8A.mjs";
|
|
6
6
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
9
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-BFwxgZpB.mjs";
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-WOiT5Ryi.mjs";
|
|
10
10
|
import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../core/src/site-terms.ts
|
|
@@ -167,6 +167,13 @@ function siteTermsSubmission(view) {
|
|
|
167
167
|
},
|
|
168
168
|
agreed: view.checked
|
|
169
169
|
};
|
|
170
|
+
case "accepted_in_flow": return {
|
|
171
|
+
shown: {
|
|
172
|
+
kind: "checkbox",
|
|
173
|
+
versionId: view.terms.version.id
|
|
174
|
+
},
|
|
175
|
+
agreed: true
|
|
176
|
+
};
|
|
170
177
|
case "already_agreed": return {
|
|
171
178
|
shown: {
|
|
172
179
|
kind: "already_agreed_line",
|
|
@@ -240,13 +247,15 @@ function decideSiteTermsPresentation(input) {
|
|
|
240
247
|
const acceptance = input.identity !== null && input.state.identity === input.identity ? input.state.acceptance : null;
|
|
241
248
|
const context = siteTermsCheckoutContext(input.context);
|
|
242
249
|
const applicability = context.targetKey !== null && input.state.requiredTarget === context.targetKey ? { kind: "server_requirement" } : context;
|
|
243
|
-
const
|
|
250
|
+
const purchaseView = decideSiteTermsAgreement({
|
|
244
251
|
terms,
|
|
245
252
|
acceptance,
|
|
246
253
|
tickedVersionId: input.state.tickedVersionId,
|
|
247
254
|
kind: "purchase"
|
|
248
255
|
});
|
|
249
|
-
const
|
|
256
|
+
const applicable = siteTermsApplicabilityApplies(applicability);
|
|
257
|
+
const view = applicable ? purchaseView : { kind: "nothing" };
|
|
258
|
+
const commerceView = commerceTermsView(input.context, applicable, purchaseView);
|
|
250
259
|
return {
|
|
251
260
|
projectionKey,
|
|
252
261
|
targetKey: context.targetKey,
|
|
@@ -255,6 +264,13 @@ function decideSiteTermsPresentation(input) {
|
|
|
255
264
|
commerceView
|
|
256
265
|
};
|
|
257
266
|
}
|
|
267
|
+
/** A secondary purchase reuses evidence already collected by the applicable event box. */
|
|
268
|
+
function commerceTermsView(context, applicable, purchaseView) {
|
|
269
|
+
return context.kind === "event" && applicable && purchaseView.kind === "checkbox" && purchaseView.checked ? {
|
|
270
|
+
kind: "accepted_in_flow",
|
|
271
|
+
terms: purchaseView.terms
|
|
272
|
+
} : purchaseView;
|
|
273
|
+
}
|
|
258
274
|
//#endregion
|
|
259
275
|
//#region ../blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.ts
|
|
260
276
|
const initialSiteTermsAgreementState = {
|
|
@@ -484,8 +500,8 @@ function useSiteTermsAgreement(options) {
|
|
|
484
500
|
commerceView,
|
|
485
501
|
onChange: useCallback((checked) => dispatch({
|
|
486
502
|
kind: "ticked",
|
|
487
|
-
versionId: checked
|
|
488
|
-
}), [
|
|
503
|
+
versionId: checked ? versionId : null
|
|
504
|
+
}), [versionId]),
|
|
489
505
|
requireAgreement: useCallback((surface = "primary") => {
|
|
490
506
|
if (!siteTermsAgreementOutstanding(surface === "commerce" ? commerceView : view)) return true;
|
|
491
507
|
dispatch({
|
|
@@ -505,7 +521,7 @@ function useSiteTermsAgreement(options) {
|
|
|
505
521
|
function SiteTermsAgreementField(props) {
|
|
506
522
|
const id = useId();
|
|
507
523
|
const view = props.agreement;
|
|
508
|
-
if (view.kind === "nothing") return null;
|
|
524
|
+
if (view.kind === "nothing" || view.kind === "accepted_in_flow") return null;
|
|
509
525
|
const link = view.terms.href === null ? /* @__PURE__ */ jsx("span", { children: "booking terms" }) : /* @__PURE__ */ jsx("a", {
|
|
510
526
|
className: "form-check-link",
|
|
511
527
|
href: view.terms.href,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
4
|
-
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { g as resolveCalendarReadProfile } from "./noop-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { i as useEventCollectionFilters } from "./useEventPagination-
|
|
10
|
-
import { n as EventListingController } from "./EventListing.client-
|
|
11
|
-
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-
|
|
3
|
+
import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
4
|
+
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { g as resolveCalendarReadProfile } from "./noop-B3RNPVrt.mjs";
|
|
6
|
+
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-DCdVErTJ.mjs";
|
|
7
|
+
import { Jt as buildEventListWeek, Nt as buildEventRuntimeFilters, Tt as buildEventCalendarListingRender } from "./shop.interactive-CreQ0I7i.mjs";
|
|
8
|
+
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-COBVxgHb.mjs";
|
|
9
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-CsysCF22.mjs";
|
|
10
|
+
import { n as EventListingController } from "./EventListing.client-B8F40Rmn.mjs";
|
|
11
|
+
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-CNzwEHws.mjs";
|
|
12
12
|
import React, { useEffect, useMemo, useState } from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
|
|
@@ -173,15 +173,14 @@ function hourToTickPercent(hour, hours) {
|
|
|
173
173
|
//#region ../blocks/src/system/runtime/nodes/events/EventCalendar.client.tsx
|
|
174
174
|
const EventCalendarClient = ({ render }) => {
|
|
175
175
|
const { display } = render;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
return /* @__PURE__ */ jsx(
|
|
176
|
+
switch (display.displayMode) {
|
|
177
|
+
case "week": return /* @__PURE__ */ jsx(CalendarRecurringWeek, { display });
|
|
178
|
+
case "combined": return /* @__PURE__ */ jsx(EventCalendarCombinedClient, { render });
|
|
179
|
+
case "list": return display.listBy === "week" ? /* @__PURE__ */ jsx(EventCalendarWeekListClient, { render }) : /* @__PURE__ */ jsx(EventListingController, { render: buildEventCalendarListingRender(render) });
|
|
180
|
+
case "timetable": return /* @__PURE__ */ jsx(EventCalendarTimetableClient, { render });
|
|
181
|
+
case "week-board": return /* @__PURE__ */ jsx(EventCalendarWeekBoardClient, { render });
|
|
182
|
+
case "calendar": return /* @__PURE__ */ jsx(EventCalendarGridClient, { render });
|
|
181
183
|
}
|
|
182
|
-
if (display.displayMode === "timetable") return /* @__PURE__ */ jsx(EventCalendarTimetableClient, { render });
|
|
183
|
-
if (display.displayMode === "week-board") return /* @__PURE__ */ jsx(EventCalendarWeekBoardClient, { render });
|
|
184
|
-
return /* @__PURE__ */ jsx(EventCalendarGridClient, { render });
|
|
185
184
|
};
|
|
186
185
|
function EventCalendarCombinedClient({ render }) {
|
|
187
186
|
const { display, hydration } = render;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
4
|
-
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges,
|
|
6
|
-
import {
|
|
7
|
-
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
3
|
+
import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-B3RNPVrt.mjs";
|
|
6
|
+
import { Nt as buildEventRuntimeFilters, Pt as getEventRuntimeFiltersKey, jt as eventListingBlockRuntime } from "./shop.interactive-CreQ0I7i.mjs";
|
|
7
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-COBVxgHb.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
9
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
10
|
-
import { t as TabBarFragment } from "./TabBarFragment-
|
|
11
|
-
import { n as useBlockApi } from "./context-
|
|
12
|
-
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-
|
|
10
|
+
import { t as TabBarFragment } from "./TabBarFragment-BLsfQskO.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-BFwxgZpB.mjs";
|
|
12
|
+
import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-CsysCF22.mjs";
|
|
13
13
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-
|
|
2
|
+
import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
3
|
-
import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-
|
|
4
|
-
import {
|
|
5
|
-
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
|
+
import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-BO2OmMO9.mjs";
|
|
4
|
+
import { Bt as CardListContentPart, Ht as resolveCardListSchedule, Ut as selectCardListPresentation, Vt as CardListLeadDate, Yt as formatEventPrice } from "./shop.interactive-CreQ0I7i.mjs";
|
|
5
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-DtA42Xio.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-D4ieBLDY.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
2
|
+
import { Pr as listLookSlot } from "./wizardSteps-BO2OmMO9.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
4
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { Nt as buildEventRuntimeFilters } from "./shop.interactive-CreQ0I7i.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D4ieBLDY.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CsysCF22.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { U as normalizeCardRole, ct as boxBackgroundOverlaySchema, gn as resolveTokenOrCssColorValue, jn as getTextColorForBackground, lt as boxBackgroundSchema, mn as resolveOnColorForThemeToken, pn as isCssColorLiteral, ut as runtimeBoxBackgroundSchema } from "./schema-DNHLlze-.mjs";
|
|
3
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
|
|
4
|
+
import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { Wt as MediaNodeServer, Yt as formatEventPrice } from "./shop.interactive-CreQ0I7i.mjs";
|
|
6
|
+
import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-DtA42Xio.mjs";
|
|
7
|
+
import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-M5rpaHxi.mjs";
|
|
8
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-_aIK2ojv.mjs";
|
|
7
9
|
import "react";
|
|
8
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
11
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
@@ -466,7 +468,7 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
466
468
|
formattedTime,
|
|
467
469
|
hasImage,
|
|
468
470
|
headingLevel: cardHeadingLevel,
|
|
469
|
-
mapSlot,
|
|
471
|
+
mapSlot: resolveVenueMapSlot(event.venue, mapSlot),
|
|
470
472
|
priceText,
|
|
471
473
|
showMap,
|
|
472
474
|
showSummary,
|
|
@@ -477,6 +479,13 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
477
479
|
})]
|
|
478
480
|
});
|
|
479
481
|
};
|
|
482
|
+
function resolveVenueMapSlot(venue, override) {
|
|
483
|
+
return override ?? (venue?.drawing ? /* @__PURE__ */ jsx(MapDrawingSvg, {
|
|
484
|
+
drawing: venue.drawing,
|
|
485
|
+
label: venue.name,
|
|
486
|
+
height: 255
|
|
487
|
+
}) : null);
|
|
488
|
+
}
|
|
480
489
|
function EventCardMedia(props) {
|
|
481
490
|
if (props.lookPresentation.lookSlots !== void 0) return /* @__PURE__ */ jsx(EventLookDate, {
|
|
482
491
|
event: props.event,
|
package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-C3g8_Hqb.mjs}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { D as parseEventRegistrationErrorReason, E as eventRegistrationErrors, T as eventRegistrationErrorEndsCommand } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, Dr as resolveEventRegistrationScopedEvents, E as resolveRegistrationTicketContinuation, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment,
|
|
5
|
-
import {
|
|
6
|
-
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-
|
|
4
|
+
import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, Dr as resolveEventRegistrationScopedEvents, E as resolveRegistrationTicketContinuation, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Kr as resolveBookingSignupOffer, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, ii as publicEventPricingStrategy, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { _t as inferSiteDateLocale, kt as resolveBookingBusinessTimeZone } from "./noop-B3RNPVrt.mjs";
|
|
6
|
+
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-CvT0E9AR.mjs";
|
|
7
7
|
import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
|
|
8
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
9
|
-
import { r as usePolling } from "./BookingMailingListNote-
|
|
8
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-Gn_m7e0o.mjs";
|
|
9
|
+
import { r as usePolling } from "./BookingMailingListNote-CFYPDEHH.mjs";
|
|
10
10
|
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
11
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
12
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
13
|
-
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
11
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-BFwxgZpB.mjs";
|
|
12
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-DrTnGNzD.mjs";
|
|
13
|
+
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-WOiT5Ryi.mjs";
|
|
14
14
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
15
15
|
import { z } from "zod";
|
|
16
16
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -699,8 +699,20 @@ function clearEventPayment(siteId) {
|
|
|
699
699
|
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationErrorPresentation.ts
|
|
700
700
|
function registrationErrorPresentation(error) {
|
|
701
701
|
const reason = error instanceof BlockApiError ? parseEventRegistrationErrorReason(error.tag) : null;
|
|
702
|
-
if (reason)
|
|
703
|
-
|
|
702
|
+
if (reason) {
|
|
703
|
+
const { message, action } = eventRegistrationErrors[reason];
|
|
704
|
+
return {
|
|
705
|
+
message,
|
|
706
|
+
action
|
|
707
|
+
};
|
|
708
|
+
}
|
|
709
|
+
if (error instanceof BlockApiError && error.status < 500 && error.code !== "invalid_booking_response") {
|
|
710
|
+
const { message, action } = eventRegistrationErrors.invalidCommitInput;
|
|
711
|
+
return {
|
|
712
|
+
message,
|
|
713
|
+
action
|
|
714
|
+
};
|
|
715
|
+
}
|
|
704
716
|
return {
|
|
705
717
|
message: "Something went wrong. Please try again.",
|
|
706
718
|
action: "retry"
|
|
@@ -779,7 +791,7 @@ function useEventRegistrationSubmitWithDeps(options, deps) {
|
|
|
779
791
|
registrationCommandId: prepared.registrationCommandId
|
|
780
792
|
}));
|
|
781
793
|
} catch (error) {
|
|
782
|
-
if (error instanceof BlockApiError && error.tag
|
|
794
|
+
if (error instanceof BlockApiError && eventRegistrationErrorEndsCommand(error.tag)) commandRef.current = null;
|
|
783
795
|
const { message, action } = registrationErrorPresentation(error);
|
|
784
796
|
options.setErrorAction?.(action);
|
|
785
797
|
options.setErrorMessage(message);
|
|
@@ -2417,7 +2429,7 @@ function resolveWizardPaymentView(input) {
|
|
|
2417
2429
|
}
|
|
2418
2430
|
//#endregion
|
|
2419
2431
|
//#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
|
|
2420
|
-
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-
|
|
2432
|
+
const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-B9yAWV_k.mjs"));
|
|
2421
2433
|
/** The one Stripe mount, shared by the standard wizard and headless arrangements. */
|
|
2422
2434
|
function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
|
|
2423
2435
|
if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
|
+
import { it as normalizeLocationAddressText } from "./noop-B3RNPVrt.mjs";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region ../core/src/locationLinks.ts
|
|
7
|
+
/** Both outbound actions use the arrival pin, never match evidence. */
|
|
8
|
+
function locationMapLinks(input) {
|
|
9
|
+
const target = input.location != null ? `${input.location.lat},${input.location.lng}` : normalizeLocationAddressText(input.addressText);
|
|
10
|
+
if (target === null) return {
|
|
11
|
+
directions: null,
|
|
12
|
+
googleMaps: null
|
|
13
|
+
};
|
|
14
|
+
const directions = new URL("https://www.google.com/maps/dir/");
|
|
15
|
+
directions.searchParams.set("api", "1");
|
|
16
|
+
directions.searchParams.set("destination", target);
|
|
17
|
+
const search = new URL("https://www.google.com/maps/search/");
|
|
18
|
+
search.searchParams.set("api", "1");
|
|
19
|
+
search.searchParams.set("query", target);
|
|
20
|
+
return {
|
|
21
|
+
directions: directions.toString(),
|
|
22
|
+
googleMaps: search.toString()
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../blocks/src/system/runtime/nodes/shared/LocationMapActions.tsx
|
|
27
|
+
/**
|
|
28
|
+
* `compact` (event details) is one plain Google Maps text link under the venue;
|
|
29
|
+
* `block` (the map block) leads with a secondary directions button and keeps
|
|
30
|
+
* the same Google Maps text link beside it.
|
|
31
|
+
*/
|
|
32
|
+
function LocationMapActions(props) {
|
|
33
|
+
const links = locationMapLinks(props);
|
|
34
|
+
const directionsLabel = props.directionsLabel ?? "Get directions";
|
|
35
|
+
const googleMapsLabel = props.googleMapsLabel ?? "Open in Google Maps";
|
|
36
|
+
if (props.layout === "block") return /* @__PURE__ */ jsxs("div", {
|
|
37
|
+
className: "rb-location-map-actions",
|
|
38
|
+
children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
|
|
39
|
+
href: links.directions,
|
|
40
|
+
target: "_blank",
|
|
41
|
+
rel: "noreferrer",
|
|
42
|
+
variant: "secondary",
|
|
43
|
+
size: "sm",
|
|
44
|
+
label: directionsLabel
|
|
45
|
+
}) : null, links.googleMaps ? /* @__PURE__ */ jsx("a", {
|
|
46
|
+
className: "rb-location-map-link",
|
|
47
|
+
href: links.googleMaps,
|
|
48
|
+
target: "_blank",
|
|
49
|
+
rel: "noreferrer",
|
|
50
|
+
children: googleMapsLabel
|
|
51
|
+
}) : null]
|
|
52
|
+
});
|
|
53
|
+
return links.googleMaps ? /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("a", {
|
|
54
|
+
className: "rb-location-map-link",
|
|
55
|
+
href: links.googleMaps,
|
|
56
|
+
target: "_blank",
|
|
57
|
+
rel: "noreferrer",
|
|
58
|
+
children: googleMapsLabel
|
|
59
|
+
}) }) : null;
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
export { LocationMapActions as t };
|