@riverbankcms/sdk 0.159.0 → 0.161.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/README.md +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- 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 +13 -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 +6 -6
- 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 +10 -28
- 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/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.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-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- 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/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- 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-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- 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-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { C as clsx } from "./ThemedButton-CnyL3s1A.mjs";
|
|
3
|
+
import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
+
import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
|
|
5
|
+
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, fn as parseMailingListVisitorSelection } from "./shop.interactive-CVqLAU53.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-DN8oMCQ0.mjs";
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-9ZfMb6GA.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";
|
|
@@ -27,7 +27,7 @@ function newsletterFormSubmissionReducer(state, action) {
|
|
|
27
27
|
tag: "success",
|
|
28
28
|
outcome: action.outcome
|
|
29
29
|
};
|
|
30
|
-
default: return assertNever
|
|
30
|
+
default: return assertNever(action);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
function newsletterFieldError(fieldId, message) {
|
|
@@ -102,7 +102,7 @@ function resolveNewsletterSubmitTarget(input) {
|
|
|
102
102
|
tag: "unavailable",
|
|
103
103
|
reason: "preview_only_source"
|
|
104
104
|
};
|
|
105
|
-
default: return assertNever(input);
|
|
105
|
+
default: return assertNever$1(input);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
function publishedSourceTarget(sourceRef) {
|
package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.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-CnyL3s1A.mjs";
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.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-G0j0HXBO.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-Cbepz2KU.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,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as addMonths } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Xn as runtimeMediaSchema, br as err, lr as parseSiteTermsVersionId, xr as ok } from "./schema-C-m8XHuW.mjs";
|
|
4
|
+
import { A as confirmationPaymentSchema, R as validateBookingPaymentOptionKinds } from "./ThemedButton-CnyL3s1A.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../core/src/date-time-formatter.ts
|
|
7
7
|
/** Shared Intl engine, internal to core's date presentation owners. */
|
|
@@ -548,6 +548,299 @@ function formatTimeZoneCityLabel(timeZone) {
|
|
|
548
548
|
return timeZone.startsWith("Etc/") ? "local time" : `${timeZone.split("/").slice(-1)[0]?.replace(/_/gu, " ") ?? timeZone} time`;
|
|
549
549
|
}
|
|
550
550
|
//#endregion
|
|
551
|
+
//#region ../core/src/map-drawing/model.ts
|
|
552
|
+
const MAX_DRAWING_BYTES = 1024 * 1024;
|
|
553
|
+
/** Current real city extracts fit with >2x headroom; reservations precede allocation. */
|
|
554
|
+
const DRAWING_DECODE_LIMITS = {
|
|
555
|
+
pathsPerFeature: 2048,
|
|
556
|
+
verticesPerPath: 8192,
|
|
557
|
+
verticesPerFeature: 32768,
|
|
558
|
+
featuresPerLayer: 1e4,
|
|
559
|
+
featuresPerTile: 16e3,
|
|
560
|
+
featuresPerAttempt: 6e4,
|
|
561
|
+
verticesPerAttempt: 1e6
|
|
562
|
+
};
|
|
563
|
+
/**
|
|
564
|
+
* The two fixed framings. Neighbourhood draws 1 m per view-box unit, wider 4 m, so the same stroke and label
|
|
565
|
+
* sizes read well in both. The wider view leaves out buildings, distant paths and small green patches, which turn to
|
|
566
|
+
* noise at that scale. `minParkArea` is in square view-box units. Labels go to the nearest streets first, with a
|
|
567
|
+
* minor street counted as `minorLabelDistance` times further away than it is, so the wider view names main roads.
|
|
568
|
+
*/
|
|
569
|
+
const FRAMINGS = [{
|
|
570
|
+
name: "neighbourhood",
|
|
571
|
+
radiusMeters: 400,
|
|
572
|
+
zoom: 15,
|
|
573
|
+
roads: [
|
|
574
|
+
"major",
|
|
575
|
+
"minor",
|
|
576
|
+
"path"
|
|
577
|
+
],
|
|
578
|
+
maxPathDistance: 800,
|
|
579
|
+
buildings: true,
|
|
580
|
+
minParkArea: .3,
|
|
581
|
+
maxLabels: 6,
|
|
582
|
+
minorLabelDistance: 1.5
|
|
583
|
+
}, {
|
|
584
|
+
name: "wider",
|
|
585
|
+
radiusMeters: 1600,
|
|
586
|
+
zoom: 14,
|
|
587
|
+
roads: [
|
|
588
|
+
"major",
|
|
589
|
+
"minor",
|
|
590
|
+
"path"
|
|
591
|
+
],
|
|
592
|
+
maxPathDistance: 100,
|
|
593
|
+
buildings: false,
|
|
594
|
+
minParkArea: 40,
|
|
595
|
+
maxLabels: 5,
|
|
596
|
+
minorLabelDistance: 4
|
|
597
|
+
}];
|
|
598
|
+
const tilePoint = z.tuple([z.number().finite().min(-8192).max(12288), z.number().finite().min(-8192).max(12288)]).readonly();
|
|
599
|
+
const paths = z.array(z.array(tilePoint).min(2).max(DRAWING_DECODE_LIMITS.verticesPerPath).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly();
|
|
600
|
+
const featureFields = {
|
|
601
|
+
kind: z.string().max(80),
|
|
602
|
+
name: z.string().trim().max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/).nullish().transform((value) => value === void 0 || value === null || value === "" ? null : value),
|
|
603
|
+
sortRank: z.number().finite().min(-1e4).max(1e4).default(0),
|
|
604
|
+
paths: paths.refine((value) => value.reduce((n, path) => n + path.length, 0) <= DRAWING_DECODE_LIMITS.verticesPerFeature)
|
|
605
|
+
};
|
|
606
|
+
const feature = z.discriminatedUnion("geometry", [z.strictObject({
|
|
607
|
+
...featureFields,
|
|
608
|
+
layer: z.literal("roads"),
|
|
609
|
+
geometry: z.literal("line")
|
|
610
|
+
}).readonly(), z.strictObject({
|
|
611
|
+
...featureFields,
|
|
612
|
+
layer: z.enum([
|
|
613
|
+
"earth",
|
|
614
|
+
"water",
|
|
615
|
+
"landuse",
|
|
616
|
+
"buildings"
|
|
617
|
+
]),
|
|
618
|
+
geometry: z.literal("polygon")
|
|
619
|
+
}).refine((value) => value.paths.every((ring) => ring.length >= 3)).readonly()]);
|
|
620
|
+
const tile = z.strictObject({
|
|
621
|
+
z: z.union([z.literal(14), z.literal(15)]),
|
|
622
|
+
x: z.number().int().nonnegative(),
|
|
623
|
+
y: z.number().int().nonnegative(),
|
|
624
|
+
extent: z.literal(4096),
|
|
625
|
+
features: z.array(feature).max(DRAWING_DECODE_LIMITS.featuresPerTile).readonly()
|
|
626
|
+
}).refine((value) => value.x < 2 ** value.z && value.y < 2 ** value.z).readonly();
|
|
627
|
+
z.strictObject({
|
|
628
|
+
buildId: z.string().regex(/^\d{8}$/),
|
|
629
|
+
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
630
|
+
pin: z.lazy(() => locationPinSchema),
|
|
631
|
+
tiles: z.array(tile).min(1).max(96).readonly()
|
|
632
|
+
}).superRefine((value, ctx) => {
|
|
633
|
+
const features = value.tiles.flatMap((item) => item.features);
|
|
634
|
+
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({
|
|
635
|
+
code: "custom",
|
|
636
|
+
message: "Decoded geometry exceeds the attempt budget."
|
|
637
|
+
});
|
|
638
|
+
}).readonly();
|
|
639
|
+
const point = z.tuple([z.number().min(0).max(800), z.number().min(0).max(800)]).readonly();
|
|
640
|
+
const polygon = z.strictObject({
|
|
641
|
+
kind: z.literal("polygon"),
|
|
642
|
+
fillRule: z.literal("evenodd"),
|
|
643
|
+
className: z.enum([
|
|
644
|
+
"map-land",
|
|
645
|
+
"map-water",
|
|
646
|
+
"map-park",
|
|
647
|
+
"map-building"
|
|
648
|
+
]),
|
|
649
|
+
rings: z.array(z.array(point).min(3).max(8192).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly()
|
|
650
|
+
}).readonly();
|
|
651
|
+
const line = z.strictObject({
|
|
652
|
+
kind: z.literal("line"),
|
|
653
|
+
className: z.enum([
|
|
654
|
+
"map-road-major-casing",
|
|
655
|
+
"map-road-major",
|
|
656
|
+
"map-road-minor-casing",
|
|
657
|
+
"map-road-minor",
|
|
658
|
+
"map-road-path"
|
|
659
|
+
]),
|
|
660
|
+
points: z.array(point).min(2).max(8192).readonly()
|
|
661
|
+
}).readonly();
|
|
662
|
+
const drawingPathSchema = z.discriminatedUnion("kind", [polygon, line]);
|
|
663
|
+
const label = z.strictObject({
|
|
664
|
+
className: z.literal("map-label"),
|
|
665
|
+
haloClassName: z.literal("map-label-halo"),
|
|
666
|
+
text: z.string().trim().min(1).max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/),
|
|
667
|
+
point,
|
|
668
|
+
angle: z.number().min(-90).max(90)
|
|
669
|
+
}).readonly();
|
|
670
|
+
const drawingFrameSchema = z.strictObject({
|
|
671
|
+
radiusMeters: z.union([z.literal(FRAMINGS[0].radiusMeters), z.literal(FRAMINGS[1].radiusMeters)]),
|
|
672
|
+
viewBox: z.tuple([
|
|
673
|
+
z.literal(0),
|
|
674
|
+
z.literal(0),
|
|
675
|
+
z.literal(800),
|
|
676
|
+
z.literal(800)
|
|
677
|
+
]).readonly(),
|
|
678
|
+
backgroundClass: z.literal("map-water"),
|
|
679
|
+
paths: z.array(drawingPathSchema).max(1800).readonly(),
|
|
680
|
+
labels: z.array(label).max(12).readonly(),
|
|
681
|
+
pin: z.strictObject({
|
|
682
|
+
className: z.literal("map-pin"),
|
|
683
|
+
point: z.tuple([z.literal(400), z.literal(400)]).readonly()
|
|
684
|
+
}).readonly()
|
|
685
|
+
}).superRefine((value, ctx) => {
|
|
686
|
+
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({
|
|
687
|
+
code: "custom",
|
|
688
|
+
message: "Drawing exceeds its vertex budget."
|
|
689
|
+
});
|
|
690
|
+
}).readonly();
|
|
691
|
+
const mapDrawingSchema = z.strictObject({
|
|
692
|
+
schemaVersion: z.literal(2),
|
|
693
|
+
generatorVersion: z.literal(3),
|
|
694
|
+
buildId: z.string().regex(/^\d{8}$/),
|
|
695
|
+
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
696
|
+
frames: z.strictObject({
|
|
697
|
+
neighbourhood: drawingFrameSchema,
|
|
698
|
+
wider: drawingFrameSchema
|
|
699
|
+
}).readonly()
|
|
700
|
+
}).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();
|
|
701
|
+
//#endregion
|
|
702
|
+
//#region ../core/src/string.ts
|
|
703
|
+
/**
|
|
704
|
+
* Trim a user-entered string and collapse blank values to null.
|
|
705
|
+
*/
|
|
706
|
+
function trimmedStringOrNull(value) {
|
|
707
|
+
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
708
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
709
|
+
}
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region ../core/src/location.ts
|
|
712
|
+
/** One complete, finite, bounded arrival pin; zero is a valid coordinate. */
|
|
713
|
+
const locationPinSchema = z.strictObject({
|
|
714
|
+
lat: z.number().min(-90).max(90),
|
|
715
|
+
lng: z.number().min(-180).max(180)
|
|
716
|
+
}).readonly().brand();
|
|
717
|
+
const addressPart = z.string().trim().max(200).nullish().transform((value) => trimmedStringOrNull(value));
|
|
718
|
+
/** Building identifies the place; unit/floor refine it without moving it. */
|
|
719
|
+
const locationAddressSchema = z.strictObject({
|
|
720
|
+
building: addressPart,
|
|
721
|
+
unit: addressPart,
|
|
722
|
+
floor: addressPart,
|
|
723
|
+
street: addressPart,
|
|
724
|
+
locality: addressPart,
|
|
725
|
+
region: addressPart,
|
|
726
|
+
postalCode: addressPart,
|
|
727
|
+
country: addressPart.transform((value) => value?.length === 2 ? value.toUpperCase() : value)
|
|
728
|
+
}).readonly().transform((address) => Object.values(address).some((part) => part !== null) ? address : null);
|
|
729
|
+
const locationAddressMatchSchema = z.strictObject({
|
|
730
|
+
point: locationPinSchema,
|
|
731
|
+
precision: z.enum([
|
|
732
|
+
"building",
|
|
733
|
+
"street",
|
|
734
|
+
"area",
|
|
735
|
+
"unknown"
|
|
736
|
+
]),
|
|
737
|
+
placeId: z.string().trim().max(1024).regex(/^[a-z][a-z0-9-]*:\S+$/),
|
|
738
|
+
attribution: z.array(z.strictObject({
|
|
739
|
+
text: z.string().trim().min(1).max(500),
|
|
740
|
+
url: z.url().max(2048).refine((value) => /^https?:\/\//.test(value))
|
|
741
|
+
}).readonly()).min(1).max(4).readonly()
|
|
742
|
+
}).readonly();
|
|
743
|
+
const locationValueSchema = z.strictObject({
|
|
744
|
+
address: locationAddressSchema.nullable().default(null),
|
|
745
|
+
pin: locationPinSchema.nullable().default(null),
|
|
746
|
+
doorNote: z.string().trim().max(1e3).nullish().transform(trimmedStringOrNull),
|
|
747
|
+
addressMatch: locationAddressMatchSchema.nullable().default(null),
|
|
748
|
+
addressCheckSettled: z.literal(true).optional(),
|
|
749
|
+
ownerConfirmedPinAndAddress: z.boolean().default(false)
|
|
750
|
+
}).superRefine((value, context) => {
|
|
751
|
+
if (value.address === null && value.pin === null) context.addIssue({
|
|
752
|
+
code: "custom",
|
|
753
|
+
path: ["address"],
|
|
754
|
+
message: "Use null to remove a location."
|
|
755
|
+
});
|
|
756
|
+
if (value.address === null && value.addressMatch !== null) context.addIssue({
|
|
757
|
+
code: "custom",
|
|
758
|
+
path: ["addressMatch"],
|
|
759
|
+
message: "Address evidence requires an address."
|
|
760
|
+
});
|
|
761
|
+
if (value.address === null && value.addressCheckSettled) context.addIssue({
|
|
762
|
+
code: "custom",
|
|
763
|
+
path: ["addressCheckSettled"],
|
|
764
|
+
message: "A settled address check requires an address."
|
|
765
|
+
});
|
|
766
|
+
if (value.ownerConfirmedPinAndAddress && (value.address === null || value.pin === null)) context.addIssue({
|
|
767
|
+
code: "custom",
|
|
768
|
+
path: ["ownerConfirmedPinAndAddress"],
|
|
769
|
+
message: "Confirmation requires both address and pin."
|
|
770
|
+
});
|
|
771
|
+
}).readonly();
|
|
772
|
+
/** API/DB ingress parses once. Removed locations are represented by null. */
|
|
773
|
+
function parseLocationValue(input) {
|
|
774
|
+
const parsed = locationValueSchema.nullable().safeParse(input);
|
|
775
|
+
return parsed.success ? ok(parsed.data) : err({
|
|
776
|
+
kind: "invalid_location",
|
|
777
|
+
issues: parsed.error.issues
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
/** One display formatter: a known matching site country is redundant. */
|
|
781
|
+
function formatLocationAddress(address, siteCountry) {
|
|
782
|
+
if (address === null) return null;
|
|
783
|
+
return [
|
|
784
|
+
address.building,
|
|
785
|
+
address.street,
|
|
786
|
+
address.unit,
|
|
787
|
+
address.floor,
|
|
788
|
+
address.locality,
|
|
789
|
+
address.region,
|
|
790
|
+
address.postalCode,
|
|
791
|
+
sameLocationCountry(address.country, siteCountry) ? null : address.country
|
|
792
|
+
].filter((part) => part !== null).join(", ") || null;
|
|
793
|
+
}
|
|
794
|
+
const regionNames = new Intl.DisplayNames(["en"], { type: "region" });
|
|
795
|
+
const countryIdentity = (country) => {
|
|
796
|
+
const text = country.trim();
|
|
797
|
+
const code = text.toUpperCase() === "UK" ? "GB" : text.toUpperCase();
|
|
798
|
+
return (code.length === 2 && /^[A-Z]{2}$/.test(code) ? regionNames.of(code) ?? text : text).toLowerCase();
|
|
799
|
+
};
|
|
800
|
+
function sameLocationCountry(country, siteCountry) {
|
|
801
|
+
return country !== null && Boolean(siteCountry?.trim()) && countryIdentity(country) === countryIdentity(siteCountry ?? "");
|
|
802
|
+
}
|
|
803
|
+
const publicLocationSchema = z.strictObject({
|
|
804
|
+
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
805
|
+
address: locationAddressSchema.nullable(),
|
|
806
|
+
displayAddress: z.string().nullable().default(null),
|
|
807
|
+
pin: locationPinSchema.nullable(),
|
|
808
|
+
doorNote: z.string().max(1e3).nullable(),
|
|
809
|
+
attribution: z.array(locationAddressMatchSchema.unwrap().shape.attribution.unwrap().element).max(4).readonly()
|
|
810
|
+
}).readonly();
|
|
811
|
+
/** Permission belongs to the resource/source owner before this projection. */
|
|
812
|
+
function projectPublicLocation(location, siteCountry) {
|
|
813
|
+
return {
|
|
814
|
+
address: location.address,
|
|
815
|
+
displayAddress: formatLocationAddress(location.address, siteCountry),
|
|
816
|
+
pin: location.pin,
|
|
817
|
+
doorNote: location.doorNote,
|
|
818
|
+
attribution: location.addressMatch?.attribution ?? []
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
function normalizeLocationAddressText(value) {
|
|
822
|
+
if (typeof value !== "string") return null;
|
|
823
|
+
return trimmedStringOrNull(value);
|
|
824
|
+
}
|
|
825
|
+
function hasLocationCoordinates(value) {
|
|
826
|
+
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;
|
|
827
|
+
}
|
|
828
|
+
function toLocationCoordinates(value) {
|
|
829
|
+
if (!hasLocationCoordinates(value)) return null;
|
|
830
|
+
return {
|
|
831
|
+
lat: value.lat,
|
|
832
|
+
lng: value.lng
|
|
833
|
+
};
|
|
834
|
+
}
|
|
835
|
+
/** Decide permission before loading or projecting the selected source. */
|
|
836
|
+
function decideLocationSourcePermission(source, businessAddressVisibility) {
|
|
837
|
+
if (source === "business_address" && businessAddressVisibility === void 0) return { kind: "unresolved" };
|
|
838
|
+
return source === "business_address" && businessAddressVisibility === "hidden" ? { kind: "hidden" } : {
|
|
839
|
+
kind: "permitted",
|
|
840
|
+
source
|
|
841
|
+
};
|
|
842
|
+
}
|
|
843
|
+
//#endregion
|
|
551
844
|
//#region ../core/src/event-series-behaviour.ts
|
|
552
845
|
const WHOLE_SERIES_EVENT_PRESET_VALUES = ["course", "term"];
|
|
553
846
|
const SURFACE_EVENT_PRESET_VALUES = [
|
|
@@ -870,6 +1163,7 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
|
|
|
870
1163
|
* Zod schema for venue data
|
|
871
1164
|
*/
|
|
872
1165
|
const eventVenueSchema = z.object({
|
|
1166
|
+
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
873
1167
|
id: z.string(),
|
|
874
1168
|
name: z.string(),
|
|
875
1169
|
address: z.string().nullable(),
|
|
@@ -1180,7 +1474,8 @@ const eventCalendarDisplayModeValues = [
|
|
|
1180
1474
|
"calendar",
|
|
1181
1475
|
"list",
|
|
1182
1476
|
"timetable",
|
|
1183
|
-
"week-board"
|
|
1477
|
+
"week-board",
|
|
1478
|
+
"week"
|
|
1184
1479
|
];
|
|
1185
1480
|
const eventCalendarDefaultViewValues = ["month", "week"];
|
|
1186
1481
|
const eventCalendarListLayoutValues = [
|
|
@@ -1221,6 +1516,11 @@ function resolveEventCalendarReadPlan(input) {
|
|
|
1221
1516
|
jobs: "both",
|
|
1222
1517
|
readProfile: "listing-card"
|
|
1223
1518
|
};
|
|
1519
|
+
case "week": return {
|
|
1520
|
+
mode,
|
|
1521
|
+
jobs: "schedule",
|
|
1522
|
+
readProfile: "listing-card"
|
|
1523
|
+
};
|
|
1224
1524
|
case "list": return {
|
|
1225
1525
|
mode,
|
|
1226
1526
|
jobs: "list",
|
|
@@ -1261,7 +1561,8 @@ const eventCalendarVariantMeaning = {
|
|
|
1261
1561
|
calendar: "Month",
|
|
1262
1562
|
combined: "List and month",
|
|
1263
1563
|
timetable: "Timetable",
|
|
1264
|
-
"week-board": "Week board"
|
|
1564
|
+
"week-board": "Week board",
|
|
1565
|
+
week: "Week"
|
|
1265
1566
|
}
|
|
1266
1567
|
};
|
|
1267
1568
|
/** Weekly lists share the arrangement-Look admission used by calendar arrangements. */
|
|
@@ -1666,4 +1967,4 @@ const logger = {
|
|
|
1666
1967
|
withFields: (_) => logger
|
|
1667
1968
|
};
|
|
1668
1969
|
//#endregion
|
|
1669
|
-
export { isRecord as $, eventScheduleScopeValues as A, normalizeIdList as B, eventCalendarVariantMeaning as C,
|
|
1970
|
+
export { isRecord as $, eventScheduleScopeValues as A, toScheduledBookingDateTime as At, normalizeIdList as B, eventCalendarVariantMeaning as C, getLocalScheduleDate as Ct, isEventCalendarListLayout as D, resolveBookingBusinessTimeZone as Dt, isEventCalendarDisplayMode as E, parseUtcIsoDateTimeString as Et, normalizeEventStaffMemberId as F, blockBookingConsentSchema as G, publicEventLoaderQuerySchemaShape as H, normalizeEventSurfacePresets as I, toBookingRequirementConsentField as J, bookingConsentCarrierSchema as K, normalizeEventSurfacePresetsCsv as L, normalizeEventCategoryIds as M, normalizeEventCategoryIdsCsv as N, normalizeEventCalendarDisplayMode as O, resolveBookingTimeZoneId as Ot, normalizeEventScheduleScope as P, isObjectRecord as Q, normalizeEventSurfaceScope as R, eventCalendarListLayoutValues as S, getBookingLocalDateKey as St, isEventCalendarDefaultView as T, parseLocalScheduleTime as Tt, publicEventSchema as U, publicEventDestinationSchema as V, publicEventsArraySchema as W, RichTextDocSchema as X, blockBookingPaymentTermsSchema as Y, isRichTextDoc as Z, eventCalendarDefaultViewValues as _, addLocalScheduleDays as _t, eventCheckoutReturnResponseSchema as a, projectPublicLocation as at, eventCalendarListLayoutCompatibleDisplayModeValues as b, formatBookingCompactEnglishTime as bt, calendarMonthKey as c, mapDrawingSchema as ct, calendarWindowBounds as d, formatDateTime as dt, WHOLE_SERIES_EVENT_PRESET_VALUES as et, calendarWindowMonths as f, formatDateTimeRange as ft, resolveCalendarReadProfile as g, resolveBookingDisplayContext as gt, planCalendarMonthRanges as h, inferSiteDateLocale as ht, eventCheckoutResponseSchema as i, parseLocationValue as it, eventSurfaceScopeValues as j, toUtcIsoDateTimeString as jt, resolveEventCalendarReadPlan as k, toBookingTimeZone as kt, calendarPageResponseError as l, formatDate as lt, calendarWindowQuerySchema as m, formatTimeRange as mt, blockSiteTermsSchema as n, locationValueSchema as nt, eventRegisterResponseSchema as o, publicLocationSchema as ot, calendarWindowPageSchema as p, formatTime as pt, isBookingRequirementConsentFieldId as q, verifiedSiteTermsAcceptanceSchema as r, normalizeLocationAddressText as rt, calendarMonthDate as s, toLocationCoordinates as st, logger as t, decideLocationSourcePermission as tt, calendarQueryKey as u, formatDateRange as ut, eventCalendarDisplayModeValues as v, buildBookingUtcDateWindow as vt, eventListArrangementValues as w, parseBookingLocalDate as wt, eventCalendarListLayoutOptions as x, formatLocalScheduleDate as xt, eventCalendarListGroupingDecision as y, compareLocalScheduleDates as yt, normalizeEventVenueId as z };
|