@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,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { $n as buildRenderableMediaAssetIndex } from "./schema-DNHLlze-.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/mediaContext.ts
|
|
4
4
|
function buildMediaAssetIndex(assets) {
|
|
5
5
|
return buildRenderableMediaAssetIndex(assets);
|
package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-D-XwJTjN.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
5
|
-
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE,
|
|
4
|
+
import { Pr as listLookSlot } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, dn as parseMailingListVisitorSelection } from "./shop.interactive-CreQ0I7i.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
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 { n as useBlockApi, r as BlockApiError } from "./context-
|
|
7
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-H92f30y0.mjs";
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-BFwxgZpB.mjs";
|
|
9
9
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
10
10
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import { useEffect, useReducer, useRef, useState } from "react";
|
package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-H92f30y0.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-BO2OmMO9.mjs";
|
|
4
4
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-D-XwJTjN.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as addMonths } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Cr as err, Qn as runtimeMediaSchema, fr as parseSiteTermsVersionId, ht as arrangementModes, wr as ok } from "./schema-DNHLlze-.mjs";
|
|
4
|
+
import { A as confirmationPaymentSchema, R as validateBookingPaymentOptionKinds } from "./ThemedButton-BWsDgjMC.mjs";
|
|
5
|
+
import "./site-styles-B9HgmY07.mjs";
|
|
5
6
|
import { z } from "zod";
|
|
6
7
|
//#region ../core/src/date-time-formatter.ts
|
|
7
8
|
/** Shared Intl engine, internal to core's date presentation owners. */
|
|
@@ -548,6 +549,299 @@ function formatTimeZoneCityLabel(timeZone) {
|
|
|
548
549
|
return timeZone.startsWith("Etc/") ? "local time" : `${timeZone.split("/").slice(-1)[0]?.replace(/_/gu, " ") ?? timeZone} time`;
|
|
549
550
|
}
|
|
550
551
|
//#endregion
|
|
552
|
+
//#region ../core/src/map-drawing/model.ts
|
|
553
|
+
const MAX_DRAWING_BYTES = 1024 * 1024;
|
|
554
|
+
/** Current real city extracts fit with >2x headroom; reservations precede allocation. */
|
|
555
|
+
const DRAWING_DECODE_LIMITS = {
|
|
556
|
+
pathsPerFeature: 2048,
|
|
557
|
+
verticesPerPath: 8192,
|
|
558
|
+
verticesPerFeature: 32768,
|
|
559
|
+
featuresPerLayer: 1e4,
|
|
560
|
+
featuresPerTile: 16e3,
|
|
561
|
+
featuresPerAttempt: 6e4,
|
|
562
|
+
verticesPerAttempt: 1e6
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* The two fixed framings. Neighbourhood draws 1 m per view-box unit, wider 4 m, so the same stroke and label
|
|
566
|
+
* sizes read well in both. The wider view leaves out buildings, distant paths and small green patches, which turn to
|
|
567
|
+
* noise at that scale. `minParkArea` is in square view-box units. Labels go to the nearest streets first, with a
|
|
568
|
+
* minor street counted as `minorLabelDistance` times further away than it is, so the wider view names main roads.
|
|
569
|
+
*/
|
|
570
|
+
const FRAMINGS = [{
|
|
571
|
+
name: "neighbourhood",
|
|
572
|
+
radiusMeters: 400,
|
|
573
|
+
zoom: 15,
|
|
574
|
+
roads: [
|
|
575
|
+
"major",
|
|
576
|
+
"minor",
|
|
577
|
+
"path"
|
|
578
|
+
],
|
|
579
|
+
maxPathDistance: 800,
|
|
580
|
+
buildings: true,
|
|
581
|
+
minParkArea: .3,
|
|
582
|
+
maxLabels: 6,
|
|
583
|
+
minorLabelDistance: 1.5
|
|
584
|
+
}, {
|
|
585
|
+
name: "wider",
|
|
586
|
+
radiusMeters: 1600,
|
|
587
|
+
zoom: 14,
|
|
588
|
+
roads: [
|
|
589
|
+
"major",
|
|
590
|
+
"minor",
|
|
591
|
+
"path"
|
|
592
|
+
],
|
|
593
|
+
maxPathDistance: 100,
|
|
594
|
+
buildings: false,
|
|
595
|
+
minParkArea: 40,
|
|
596
|
+
maxLabels: 5,
|
|
597
|
+
minorLabelDistance: 4
|
|
598
|
+
}];
|
|
599
|
+
const tilePoint = z.tuple([z.number().finite().min(-8192).max(12288), z.number().finite().min(-8192).max(12288)]).readonly();
|
|
600
|
+
const paths = z.array(z.array(tilePoint).min(2).max(DRAWING_DECODE_LIMITS.verticesPerPath).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly();
|
|
601
|
+
const featureFields = {
|
|
602
|
+
kind: z.string().max(80),
|
|
603
|
+
name: z.string().trim().max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/).nullish().transform((value) => value === void 0 || value === null || value === "" ? null : value),
|
|
604
|
+
sortRank: z.number().finite().min(-1e4).max(1e4).default(0),
|
|
605
|
+
paths: paths.refine((value) => value.reduce((n, path) => n + path.length, 0) <= DRAWING_DECODE_LIMITS.verticesPerFeature)
|
|
606
|
+
};
|
|
607
|
+
const feature = z.discriminatedUnion("geometry", [z.strictObject({
|
|
608
|
+
...featureFields,
|
|
609
|
+
layer: z.literal("roads"),
|
|
610
|
+
geometry: z.literal("line")
|
|
611
|
+
}).readonly(), z.strictObject({
|
|
612
|
+
...featureFields,
|
|
613
|
+
layer: z.enum([
|
|
614
|
+
"earth",
|
|
615
|
+
"water",
|
|
616
|
+
"landuse",
|
|
617
|
+
"buildings"
|
|
618
|
+
]),
|
|
619
|
+
geometry: z.literal("polygon")
|
|
620
|
+
}).refine((value) => value.paths.every((ring) => ring.length >= 3)).readonly()]);
|
|
621
|
+
const tile = z.strictObject({
|
|
622
|
+
z: z.union([z.literal(14), z.literal(15)]),
|
|
623
|
+
x: z.number().int().nonnegative(),
|
|
624
|
+
y: z.number().int().nonnegative(),
|
|
625
|
+
extent: z.literal(4096),
|
|
626
|
+
features: z.array(feature).max(DRAWING_DECODE_LIMITS.featuresPerTile).readonly()
|
|
627
|
+
}).refine((value) => value.x < 2 ** value.z && value.y < 2 ** value.z).readonly();
|
|
628
|
+
z.strictObject({
|
|
629
|
+
buildId: z.string().regex(/^\d{8}$/),
|
|
630
|
+
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
631
|
+
pin: z.lazy(() => locationPinSchema),
|
|
632
|
+
tiles: z.array(tile).min(1).max(96).readonly()
|
|
633
|
+
}).superRefine((value, ctx) => {
|
|
634
|
+
const features = value.tiles.flatMap((item) => item.features);
|
|
635
|
+
if (features.length > DRAWING_DECODE_LIMITS.featuresPerAttempt || features.reduce((sum, item) => sum + item.paths.reduce((count, path) => count + path.length, 0), 0) > DRAWING_DECODE_LIMITS.verticesPerAttempt) ctx.addIssue({
|
|
636
|
+
code: "custom",
|
|
637
|
+
message: "Decoded geometry exceeds the attempt budget."
|
|
638
|
+
});
|
|
639
|
+
}).readonly();
|
|
640
|
+
const point = z.tuple([z.number().min(0).max(800), z.number().min(0).max(800)]).readonly();
|
|
641
|
+
const polygon = z.strictObject({
|
|
642
|
+
kind: z.literal("polygon"),
|
|
643
|
+
fillRule: z.literal("evenodd"),
|
|
644
|
+
className: z.enum([
|
|
645
|
+
"map-land",
|
|
646
|
+
"map-water",
|
|
647
|
+
"map-park",
|
|
648
|
+
"map-building"
|
|
649
|
+
]),
|
|
650
|
+
rings: z.array(z.array(point).min(3).max(8192).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly()
|
|
651
|
+
}).readonly();
|
|
652
|
+
const line = z.strictObject({
|
|
653
|
+
kind: z.literal("line"),
|
|
654
|
+
className: z.enum([
|
|
655
|
+
"map-road-major-casing",
|
|
656
|
+
"map-road-major",
|
|
657
|
+
"map-road-minor-casing",
|
|
658
|
+
"map-road-minor",
|
|
659
|
+
"map-road-path"
|
|
660
|
+
]),
|
|
661
|
+
points: z.array(point).min(2).max(8192).readonly()
|
|
662
|
+
}).readonly();
|
|
663
|
+
const drawingPathSchema = z.discriminatedUnion("kind", [polygon, line]);
|
|
664
|
+
const label = z.strictObject({
|
|
665
|
+
className: z.literal("map-label"),
|
|
666
|
+
haloClassName: z.literal("map-label-halo"),
|
|
667
|
+
text: z.string().trim().min(1).max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/),
|
|
668
|
+
point,
|
|
669
|
+
angle: z.number().min(-90).max(90)
|
|
670
|
+
}).readonly();
|
|
671
|
+
const drawingFrameSchema = z.strictObject({
|
|
672
|
+
radiusMeters: z.union([z.literal(FRAMINGS[0].radiusMeters), z.literal(FRAMINGS[1].radiusMeters)]),
|
|
673
|
+
viewBox: z.tuple([
|
|
674
|
+
z.literal(0),
|
|
675
|
+
z.literal(0),
|
|
676
|
+
z.literal(800),
|
|
677
|
+
z.literal(800)
|
|
678
|
+
]).readonly(),
|
|
679
|
+
backgroundClass: z.literal("map-water"),
|
|
680
|
+
paths: z.array(drawingPathSchema).max(1800).readonly(),
|
|
681
|
+
labels: z.array(label).max(12).readonly(),
|
|
682
|
+
pin: z.strictObject({
|
|
683
|
+
className: z.literal("map-pin"),
|
|
684
|
+
point: z.tuple([z.literal(400), z.literal(400)]).readonly()
|
|
685
|
+
}).readonly()
|
|
686
|
+
}).superRefine((value, ctx) => {
|
|
687
|
+
if (value.paths.reduce((sum, path) => sum + (path.kind === "line" ? path.points.length : path.rings.reduce((n, ring) => n + ring.length, 0)), 0) > 5e4) ctx.addIssue({
|
|
688
|
+
code: "custom",
|
|
689
|
+
message: "Drawing exceeds its vertex budget."
|
|
690
|
+
});
|
|
691
|
+
}).readonly();
|
|
692
|
+
const mapDrawingSchema = z.strictObject({
|
|
693
|
+
schemaVersion: z.literal(2),
|
|
694
|
+
generatorVersion: z.literal(3),
|
|
695
|
+
buildId: z.string().regex(/^\d{8}$/),
|
|
696
|
+
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
697
|
+
frames: z.strictObject({
|
|
698
|
+
neighbourhood: drawingFrameSchema,
|
|
699
|
+
wider: drawingFrameSchema
|
|
700
|
+
}).readonly()
|
|
701
|
+
}).refine((value) => value.frames.neighbourhood.radiusMeters === FRAMINGS[0].radiusMeters && value.frames.wider.radiusMeters === FRAMINGS[1].radiusMeters).refine((value) => new TextEncoder().encode(JSON.stringify(value)).byteLength <= MAX_DRAWING_BYTES, { error: "Drawing exceeds its byte budget." }).readonly();
|
|
702
|
+
//#endregion
|
|
703
|
+
//#region ../core/src/string.ts
|
|
704
|
+
/**
|
|
705
|
+
* Trim a user-entered string and collapse blank values to null.
|
|
706
|
+
*/
|
|
707
|
+
function trimmedStringOrNull(value) {
|
|
708
|
+
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
709
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
710
|
+
}
|
|
711
|
+
//#endregion
|
|
712
|
+
//#region ../core/src/location.ts
|
|
713
|
+
/** One complete, finite, bounded arrival pin; zero is a valid coordinate. */
|
|
714
|
+
const locationPinSchema = z.strictObject({
|
|
715
|
+
lat: z.number().min(-90).max(90),
|
|
716
|
+
lng: z.number().min(-180).max(180)
|
|
717
|
+
}).readonly().brand();
|
|
718
|
+
const addressPart = z.string().trim().max(200).nullish().transform((value) => trimmedStringOrNull(value));
|
|
719
|
+
/** Building identifies the place; unit/floor refine it without moving it. */
|
|
720
|
+
const locationAddressSchema = z.strictObject({
|
|
721
|
+
building: addressPart,
|
|
722
|
+
unit: addressPart,
|
|
723
|
+
floor: addressPart,
|
|
724
|
+
street: addressPart,
|
|
725
|
+
locality: addressPart,
|
|
726
|
+
region: addressPart,
|
|
727
|
+
postalCode: addressPart,
|
|
728
|
+
country: addressPart.transform((value) => value?.length === 2 ? value.toUpperCase() : value)
|
|
729
|
+
}).readonly().transform((address) => Object.values(address).some((part) => part !== null) ? address : null);
|
|
730
|
+
const locationAddressMatchSchema = z.strictObject({
|
|
731
|
+
point: locationPinSchema,
|
|
732
|
+
precision: z.enum([
|
|
733
|
+
"building",
|
|
734
|
+
"street",
|
|
735
|
+
"area",
|
|
736
|
+
"unknown"
|
|
737
|
+
]),
|
|
738
|
+
placeId: z.string().trim().max(1024).regex(/^[a-z][a-z0-9-]*:\S+$/),
|
|
739
|
+
attribution: z.array(z.strictObject({
|
|
740
|
+
text: z.string().trim().min(1).max(500),
|
|
741
|
+
url: z.url().max(2048).refine((value) => /^https?:\/\//.test(value))
|
|
742
|
+
}).readonly()).min(1).max(4).readonly()
|
|
743
|
+
}).readonly();
|
|
744
|
+
const locationValueSchema = z.strictObject({
|
|
745
|
+
address: locationAddressSchema.nullable().default(null),
|
|
746
|
+
pin: locationPinSchema.nullable().default(null),
|
|
747
|
+
doorNote: z.string().trim().max(1e3).nullish().transform(trimmedStringOrNull),
|
|
748
|
+
addressMatch: locationAddressMatchSchema.nullable().default(null),
|
|
749
|
+
addressCheckSettled: z.literal(true).optional(),
|
|
750
|
+
ownerConfirmedPinAndAddress: z.boolean().default(false)
|
|
751
|
+
}).superRefine((value, context) => {
|
|
752
|
+
if (value.address === null && value.pin === null) context.addIssue({
|
|
753
|
+
code: "custom",
|
|
754
|
+
path: ["address"],
|
|
755
|
+
message: "Use null to remove a location."
|
|
756
|
+
});
|
|
757
|
+
if (value.address === null && value.addressMatch !== null) context.addIssue({
|
|
758
|
+
code: "custom",
|
|
759
|
+
path: ["addressMatch"],
|
|
760
|
+
message: "Address evidence requires an address."
|
|
761
|
+
});
|
|
762
|
+
if (value.address === null && value.addressCheckSettled) context.addIssue({
|
|
763
|
+
code: "custom",
|
|
764
|
+
path: ["addressCheckSettled"],
|
|
765
|
+
message: "A settled address check requires an address."
|
|
766
|
+
});
|
|
767
|
+
if (value.ownerConfirmedPinAndAddress && (value.address === null || value.pin === null)) context.addIssue({
|
|
768
|
+
code: "custom",
|
|
769
|
+
path: ["ownerConfirmedPinAndAddress"],
|
|
770
|
+
message: "Confirmation requires both address and pin."
|
|
771
|
+
});
|
|
772
|
+
}).readonly();
|
|
773
|
+
/** API/DB ingress parses once. Removed locations are represented by null. */
|
|
774
|
+
function parseLocationValue(input) {
|
|
775
|
+
const parsed = locationValueSchema.nullable().safeParse(input);
|
|
776
|
+
return parsed.success ? ok(parsed.data) : err({
|
|
777
|
+
kind: "invalid_location",
|
|
778
|
+
issues: parsed.error.issues
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
/** One display formatter: a known matching site country is redundant. */
|
|
782
|
+
function formatLocationAddress(address, siteCountry) {
|
|
783
|
+
if (address === null) return null;
|
|
784
|
+
return [
|
|
785
|
+
address.building,
|
|
786
|
+
address.street,
|
|
787
|
+
address.unit,
|
|
788
|
+
address.floor,
|
|
789
|
+
address.locality,
|
|
790
|
+
address.region,
|
|
791
|
+
address.postalCode,
|
|
792
|
+
sameLocationCountry(address.country, siteCountry) ? null : address.country
|
|
793
|
+
].filter((part) => part !== null).join(", ") || null;
|
|
794
|
+
}
|
|
795
|
+
const regionNames = new Intl.DisplayNames(["en"], { type: "region" });
|
|
796
|
+
const countryIdentity = (country) => {
|
|
797
|
+
const text = country.trim();
|
|
798
|
+
const code = text.toUpperCase() === "UK" ? "GB" : text.toUpperCase();
|
|
799
|
+
return (code.length === 2 && /^[A-Z]{2}$/.test(code) ? regionNames.of(code) ?? text : text).toLowerCase();
|
|
800
|
+
};
|
|
801
|
+
function sameLocationCountry(country, siteCountry) {
|
|
802
|
+
return country !== null && Boolean(siteCountry?.trim()) && countryIdentity(country) === countryIdentity(siteCountry ?? "");
|
|
803
|
+
}
|
|
804
|
+
const publicLocationSchema = z.strictObject({
|
|
805
|
+
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
806
|
+
address: locationAddressSchema.nullable(),
|
|
807
|
+
displayAddress: z.string().nullable().default(null),
|
|
808
|
+
pin: locationPinSchema.nullable(),
|
|
809
|
+
doorNote: z.string().max(1e3).nullable(),
|
|
810
|
+
attribution: z.array(locationAddressMatchSchema.unwrap().shape.attribution.unwrap().element).max(4).readonly()
|
|
811
|
+
}).readonly();
|
|
812
|
+
/** Permission belongs to the resource/source owner before this projection. */
|
|
813
|
+
function projectPublicLocation(location, siteCountry) {
|
|
814
|
+
return {
|
|
815
|
+
address: location.address,
|
|
816
|
+
displayAddress: formatLocationAddress(location.address, siteCountry),
|
|
817
|
+
pin: location.pin,
|
|
818
|
+
doorNote: location.doorNote,
|
|
819
|
+
attribution: location.addressMatch?.attribution ?? []
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
function normalizeLocationAddressText(value) {
|
|
823
|
+
if (typeof value !== "string") return null;
|
|
824
|
+
return trimmedStringOrNull(value);
|
|
825
|
+
}
|
|
826
|
+
function hasLocationCoordinates(value) {
|
|
827
|
+
return value != null && typeof value.lat === "number" && Number.isFinite(value.lat) && Math.abs(value.lat) <= 90 && typeof value.lng === "number" && Number.isFinite(value.lng) && Math.abs(value.lng) <= 180;
|
|
828
|
+
}
|
|
829
|
+
function toLocationCoordinates(value) {
|
|
830
|
+
if (!hasLocationCoordinates(value)) return null;
|
|
831
|
+
return {
|
|
832
|
+
lat: value.lat,
|
|
833
|
+
lng: value.lng
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
/** Decide permission before loading or projecting the selected source. */
|
|
837
|
+
function decideLocationSourcePermission(source, businessAddressVisibility) {
|
|
838
|
+
if (source === "business_address" && businessAddressVisibility === void 0) return { kind: "unresolved" };
|
|
839
|
+
return source === "business_address" && businessAddressVisibility === "hidden" ? { kind: "hidden" } : {
|
|
840
|
+
kind: "permitted",
|
|
841
|
+
source
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
//#endregion
|
|
551
845
|
//#region ../core/src/event-series-behaviour.ts
|
|
552
846
|
const WHOLE_SERIES_EVENT_PRESET_VALUES = ["course", "term"];
|
|
553
847
|
const SURFACE_EVENT_PRESET_VALUES = [
|
|
@@ -870,6 +1164,7 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
|
|
|
870
1164
|
* Zod schema for venue data
|
|
871
1165
|
*/
|
|
872
1166
|
const eventVenueSchema = z.object({
|
|
1167
|
+
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
873
1168
|
id: z.string(),
|
|
874
1169
|
name: z.string(),
|
|
875
1170
|
address: z.string().nullable(),
|
|
@@ -879,6 +1174,14 @@ const eventVenueSchema = z.object({
|
|
|
879
1174
|
}).nullable()
|
|
880
1175
|
});
|
|
881
1176
|
/**
|
|
1177
|
+
* The map for an event details page: one drawing, for the venue of the event the page is about.
|
|
1178
|
+
* It travels beside the events rather than on any of them, so a list of events has no place for one.
|
|
1179
|
+
*/
|
|
1180
|
+
const eventVenueDrawingSchema = z.object({
|
|
1181
|
+
venueId: z.string(),
|
|
1182
|
+
drawing: z.lazy(() => mapDrawingSchema)
|
|
1183
|
+
});
|
|
1184
|
+
/**
|
|
882
1185
|
* Zod schema for event category data
|
|
883
1186
|
*/
|
|
884
1187
|
const eventCategorySchema = z.object({
|
|
@@ -1175,6 +1478,11 @@ function normalizeEventStaffMemberId(value) {
|
|
|
1175
1478
|
}
|
|
1176
1479
|
//#endregion
|
|
1177
1480
|
//#region ../blocks/src/system/constants/events.ts
|
|
1481
|
+
/**
|
|
1482
|
+
* Event-related constants
|
|
1483
|
+
*
|
|
1484
|
+
* Shared constants for event content types and booking system integration.
|
|
1485
|
+
*/
|
|
1178
1486
|
const eventCalendarDisplayModeValues = [
|
|
1179
1487
|
"combined",
|
|
1180
1488
|
"calendar",
|
|
@@ -1254,6 +1562,8 @@ function isEventCalendarListLayout(value) {
|
|
|
1254
1562
|
/** The calendar manifest owns its secondary arrangement axis. */
|
|
1255
1563
|
const eventCalendarVariantMeaning = {
|
|
1256
1564
|
kind: "mode",
|
|
1565
|
+
modes: arrangementModes,
|
|
1566
|
+
defaultMode: "list",
|
|
1257
1567
|
arrangementField: "listLayout",
|
|
1258
1568
|
keys: eventCalendarListLayoutValues,
|
|
1259
1569
|
lookOnlyKeys: [
|
|
@@ -1673,4 +1983,4 @@ const logger = {
|
|
|
1673
1983
|
withFields: (_) => logger
|
|
1674
1984
|
};
|
|
1675
1985
|
//#endregion
|
|
1676
|
-
export {
|
|
1986
|
+
export { isObjectRecord as $, eventScheduleScopeValues as A, resolveBookingTimeZoneId as At, normalizeIdList as B, eventCalendarVariantMeaning as C, formatLocalScheduleDate as Ct, isEventCalendarListLayout as D, parseLocalScheduleTime as Dt, isEventCalendarDisplayMode as E, parseBookingLocalDate as Et, normalizeEventStaffMemberId as F, publicEventsArraySchema as G, publicEventDestinationSchema as H, normalizeEventSurfacePresets as I, isBookingRequirementConsentFieldId as J, blockBookingConsentSchema as K, normalizeEventSurfacePresetsCsv as L, normalizeEventCategoryIds as M, toScheduledBookingDateTime as Mt, normalizeEventCategoryIdsCsv as N, toUtcIsoDateTimeString as Nt, normalizeEventCalendarDisplayMode as O, parseUtcIsoDateTimeString as Ot, normalizeEventScheduleScope as P, isRichTextDoc as Q, normalizeEventSurfaceScope as R, eventCalendarListLayoutValues as S, formatBookingCompactEnglishTime as St, isEventCalendarDefaultView as T, getLocalScheduleDate as Tt, publicEventLoaderQuerySchemaShape as U, eventVenueDrawingSchema as V, publicEventSchema as W, blockBookingPaymentTermsSchema as X, toBookingRequirementConsentField as Y, RichTextDocSchema as Z, eventCalendarDefaultViewValues as _, inferSiteDateLocale as _t, eventCheckoutReturnResponseSchema as a, parseLocationValue as at, eventCalendarListLayoutCompatibleDisplayModeValues as b, buildBookingUtcDateWindow as bt, calendarMonthKey as c, toLocationCoordinates as ct, calendarWindowBounds as d, formatDateRange as dt, isRecord as et, calendarWindowMonths as f, formatDateTime as ft, resolveCalendarReadProfile as g, formatTimeZoneCityLabel as gt, planCalendarMonthRanges as h, formatTimeRange as ht, eventCheckoutResponseSchema as i, normalizeLocationAddressText as it, eventSurfaceScopeValues as j, toBookingTimeZone as jt, resolveEventCalendarReadPlan as k, resolveBookingBusinessTimeZone as kt, calendarPageResponseError as l, mapDrawingSchema as lt, calendarWindowQuerySchema as m, formatTime as mt, blockSiteTermsSchema as n, decideLocationSourcePermission as nt, eventRegisterResponseSchema as o, projectPublicLocation as ot, calendarWindowPageSchema as p, formatDateTimeRange as pt, bookingConsentCarrierSchema as q, verifiedSiteTermsAcceptanceSchema as r, locationValueSchema as rt, calendarMonthDate as s, publicLocationSchema as st, logger as t, WHOLE_SERIES_EVENT_PRESET_VALUES as tt, calendarQueryKey as u, formatDate as ut, eventCalendarDisplayModeValues as v, resolveBookingDisplayContext as vt, eventListArrangementValues as w, getBookingLocalDateKey as wt, eventCalendarListLayoutOptions as x, compareLocalScheduleDates as xt, eventCalendarListGroupingDecision as y, addLocalScheduleDays as yt, normalizeEventVenueId as z };
|