@riverbankcms/sdk 0.171.1 → 0.173.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-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
- package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
- package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
- package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
- package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
- package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
- package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
- package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
- package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
- package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
- package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
- package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
- package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
- package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
- package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
- package/dist/_dts/{types-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
- package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
- package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
- package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
- package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
- package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
- package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
- package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
- package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
- package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
- package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
- package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
- package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
- package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
- package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
- package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
- package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
- package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
- package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
- package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
- package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-D4DhWo9j.mjs} +37 -38
- package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
- package/dist/client/bookability-SargNwlO.mjs +17 -0
- package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
- package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
- package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
- package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
- package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
- package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
- package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
- package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
- package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
- package/dist/client/client.mjs +183 -4
- package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
- package/dist/client/course-CmOuoZHN.mjs +237 -0
- package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
- package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
- package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
- package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
- package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
- package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
- package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
- package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
- package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
- package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
- package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
- package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
- package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
- package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
- package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
- package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
- package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
- package/dist/client/portal/client.mjs +231 -117
- package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
- package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
- package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
- package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
- package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
- package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +38 -63
- package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
- package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
- package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
- package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
- package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
- package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
- package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
- package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
- package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
- package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
- package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
- package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
- package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
- package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
- package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
- package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
- package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
- package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
- package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
- package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
- package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
- package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
- package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +5 -4
- package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
- package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
- package/dist/preview-next/container-responsive.css +215 -4
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
- package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
- package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
- package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
- package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
- package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
- package/dist/server/config-template-validation.mjs +3 -0
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +3 -3
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +4 -4
- package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
- package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
- package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
- package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
- package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
- package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
- package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
- package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
- package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
- package/dist/styles/index.css +1434 -15
- package/package.json +1 -1
- package/dist/client/cta-CP9l112u.mjs +0 -121
- package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
- package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
- package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-CaI6upCX.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DTET8f__.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-CoRUaYHY.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DTET8f__.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-DH1-Jxsh.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-DvJ5tGTx.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DTET8f__.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-GuuElczW.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DTET8f__.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-D12ljYiX.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Wa as listLookSlot } from "./display-lL-YRApN.mjs";
|
|
3
3
|
import { h as ok, m as err, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
5
|
-
import { S as clsx } from "./ThemedButton-
|
|
4
|
+
import { n as useBlockApi } from "./context-D0KCgbOq.mjs";
|
|
5
|
+
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-C8QHaQOI.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
2
|
+
import { Ua as listLookControl, Wa as listLookSlot } from "./display-lL-YRApN.mjs";
|
|
3
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Bt as formatDateTime, Rt as formatDate$1, on as parseUtcIsoDateTimeString, tn as parseBookingLocalDate } from "./noop-CN0o0yjH.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
5
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-
|
|
3
|
+
import { Rt as formatDate, in as resolveBookingTimeZoneId, pn as formatGiftCardAmountLabel, sn as toUtcIsoDateTimeString, t as logger } from "../noop-CN0o0yjH.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-D0KCgbOq.mjs";
|
|
5
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-B-eLGs2C.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Cn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { Wa as listLookSlot } from "./display-lL-YRApN.mjs";
|
|
4
4
|
import { N as assertNever$1, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
6
|
-
import { S as clsx } from "./ThemedButton-
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-D0KCgbOq.mjs";
|
|
6
|
+
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
8
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D5U-FuVy.mjs";
|
|
9
9
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
10
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
11
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Wa as listLookSlot } from "./display-lL-YRApN.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/newsletter-form.parts.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-oHrqM_Ao.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1018,6 +1018,90 @@ function isRecord(value) {
|
|
|
1018
1018
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1019
1019
|
}
|
|
1020
1020
|
//#endregion
|
|
1021
|
+
//#region ../commerce/src/purchase/checkoutQuantity.ts
|
|
1022
|
+
function unsafeAsPositiveCheckoutQuantity(quantity) {
|
|
1023
|
+
return quantity;
|
|
1024
|
+
}
|
|
1025
|
+
//#endregion
|
|
1026
|
+
//#region ../commerce/src/purchase/settlement.ts
|
|
1027
|
+
function normalizeCurrencyCode(raw) {
|
|
1028
|
+
const normalized = raw.trim().toUpperCase();
|
|
1029
|
+
if (!/^[A-Z]{3}$/.test(normalized)) throw new Error(`Invalid currency code: ${raw}`);
|
|
1030
|
+
return normalized;
|
|
1031
|
+
}
|
|
1032
|
+
function allocateReductionCents(inputs, requestedCents) {
|
|
1033
|
+
const sanitizedInputs = inputs.map((input) => ({
|
|
1034
|
+
lineId: input.lineId,
|
|
1035
|
+
basisCents: toNonNegativeCents(input.basisCents),
|
|
1036
|
+
maxReducibleCents: toNonNegativeCents(input.maxReducibleCents)
|
|
1037
|
+
}));
|
|
1038
|
+
const totalReducibleCents = sanitizedInputs.reduce((sum, input) => sum + input.maxReducibleCents, 0);
|
|
1039
|
+
const targetCents = Math.max(0, Math.min(Math.trunc(requestedCents), totalReducibleCents));
|
|
1040
|
+
const allocations = sanitizedInputs.map((input) => ({
|
|
1041
|
+
lineId: input.lineId,
|
|
1042
|
+
amountCents: toNonNegativeCents(0)
|
|
1043
|
+
}));
|
|
1044
|
+
if (targetCents === 0 || sanitizedInputs.length === 0) return {
|
|
1045
|
+
requestedCents: toNonNegativeCents(requestedCents),
|
|
1046
|
+
appliedCents: toNonNegativeCents(0),
|
|
1047
|
+
allocations
|
|
1048
|
+
};
|
|
1049
|
+
const remainingCaps = sanitizedInputs.map((input) => input.maxReducibleCents);
|
|
1050
|
+
let remainingCents = targetCents;
|
|
1051
|
+
while (remainingCents > 0) {
|
|
1052
|
+
const eligibleIndexes = sanitizedInputs.map((input, index) => ({
|
|
1053
|
+
input,
|
|
1054
|
+
index
|
|
1055
|
+
})).filter(({ input, index }) => input.basisCents > 0 && (remainingCaps[index] ?? 0) > 0);
|
|
1056
|
+
if (eligibleIndexes.length === 0) break;
|
|
1057
|
+
const eligibleBasis = eligibleIndexes.reduce((sum, { input }) => sum + input.basisCents, 0);
|
|
1058
|
+
if (eligibleBasis <= 0) break;
|
|
1059
|
+
const roundCandidates = eligibleIndexes.map(({ input, index }) => {
|
|
1060
|
+
const exactShare = input.basisCents / eligibleBasis * remainingCents;
|
|
1061
|
+
const floorShare = Math.min(Math.floor(exactShare), remainingCaps[index] ?? 0);
|
|
1062
|
+
return {
|
|
1063
|
+
index,
|
|
1064
|
+
floorShare,
|
|
1065
|
+
remainder: exactShare - floorShare
|
|
1066
|
+
};
|
|
1067
|
+
});
|
|
1068
|
+
let assignedThisRound = 0;
|
|
1069
|
+
for (const candidate of roundCandidates) {
|
|
1070
|
+
if (candidate.floorShare <= 0) continue;
|
|
1071
|
+
const allocation = allocations[candidate.index];
|
|
1072
|
+
if (!allocation) continue;
|
|
1073
|
+
allocation.amountCents = toNonNegativeCents(allocation.amountCents + candidate.floorShare);
|
|
1074
|
+
remainingCaps[candidate.index] = toNonNegativeCents((remainingCaps[candidate.index] ?? 0) - candidate.floorShare);
|
|
1075
|
+
assignedThisRound += candidate.floorShare;
|
|
1076
|
+
}
|
|
1077
|
+
remainingCents -= assignedThisRound;
|
|
1078
|
+
if (remainingCents <= 0) break;
|
|
1079
|
+
const remainderCandidates = roundCandidates.filter((candidate) => (remainingCaps[candidate.index] ?? 0) > 0).sort((a, b) => {
|
|
1080
|
+
if (b.remainder !== a.remainder) return b.remainder - a.remainder;
|
|
1081
|
+
return a.index - b.index;
|
|
1082
|
+
});
|
|
1083
|
+
if (remainderCandidates.length === 0) break;
|
|
1084
|
+
let remainderAssigned = 0;
|
|
1085
|
+
for (const candidate of remainderCandidates) {
|
|
1086
|
+
if (remainingCents <= 0) break;
|
|
1087
|
+
if ((remainingCaps[candidate.index] ?? 0) <= 0) continue;
|
|
1088
|
+
const allocation = allocations[candidate.index];
|
|
1089
|
+
if (!allocation) continue;
|
|
1090
|
+
allocation.amountCents = toNonNegativeCents(allocation.amountCents + 1);
|
|
1091
|
+
remainingCaps[candidate.index] = toNonNegativeCents((remainingCaps[candidate.index] ?? 0) - 1);
|
|
1092
|
+
remainingCents -= 1;
|
|
1093
|
+
remainderAssigned += 1;
|
|
1094
|
+
}
|
|
1095
|
+
if (assignedThisRound === 0 && remainderAssigned === 0) break;
|
|
1096
|
+
}
|
|
1097
|
+
const appliedCents = allocations.reduce((sum, allocation) => sum + allocation.amountCents, 0);
|
|
1098
|
+
return {
|
|
1099
|
+
requestedCents: toNonNegativeCents(requestedCents),
|
|
1100
|
+
appliedCents: toNonNegativeCents(appliedCents),
|
|
1101
|
+
allocations
|
|
1102
|
+
};
|
|
1103
|
+
}
|
|
1104
|
+
//#endregion
|
|
1021
1105
|
//#region ../site-contracts/src/siteData/eventQueries.ts
|
|
1022
1106
|
const eventSurfacePresetValues = SURFACE_EVENT_PRESET_VALUES;
|
|
1023
1107
|
const eventSurfaceScopeValues = [
|
|
@@ -1243,13 +1327,6 @@ const eventCalendarListLayoutValues = [
|
|
|
1243
1327
|
];
|
|
1244
1328
|
const eventCalendarListLayoutCompatibleDisplayModeValues = ["combined", "list"];
|
|
1245
1329
|
//#endregion
|
|
1246
|
-
//#region ../commerce/src/purchase/settlement.ts
|
|
1247
|
-
function normalizeCurrencyCode(raw) {
|
|
1248
|
-
const normalized = raw.trim().toUpperCase();
|
|
1249
|
-
if (!/^[A-Z]{3}$/.test(normalized)) throw new Error(`Invalid currency code: ${raw}`);
|
|
1250
|
-
return normalized;
|
|
1251
|
-
}
|
|
1252
|
-
//#endregion
|
|
1253
1330
|
//#region ../media-core/src/mediaKinds.ts
|
|
1254
1331
|
const mediaTypeDiscriminants = [
|
|
1255
1332
|
"image",
|
|
@@ -1298,7 +1375,7 @@ const aspectCropSchema = z.object({
|
|
|
1298
1375
|
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
1299
1376
|
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
1300
1377
|
});
|
|
1301
|
-
const
|
|
1378
|
+
const mediaTransformSchema = z.object({
|
|
1302
1379
|
aspectCrops: z.preprocess((value) => {
|
|
1303
1380
|
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
1304
1381
|
return value;
|
|
@@ -1322,7 +1399,7 @@ const mediaUsageShape = {
|
|
|
1322
1399
|
width: z.number().optional(),
|
|
1323
1400
|
height: z.number().optional(),
|
|
1324
1401
|
poster: mediaPosterSchema.optional(),
|
|
1325
|
-
transform:
|
|
1402
|
+
transform: mediaTransformSchema.optional()
|
|
1326
1403
|
};
|
|
1327
1404
|
const environmentExclusions = {
|
|
1328
1405
|
assetId: z.never().optional(),
|
|
@@ -1568,6 +1645,7 @@ const bookingQuestionsAnswerValueSchema = z.union([
|
|
|
1568
1645
|
]);
|
|
1569
1646
|
const setSchema = z.object({
|
|
1570
1647
|
requirementId: z.string().min(1),
|
|
1648
|
+
sharingKey: z.string().min(1).optional(),
|
|
1571
1649
|
title: z.string(),
|
|
1572
1650
|
sections: z.array(sectionSchema)
|
|
1573
1651
|
});
|
|
@@ -1753,6 +1831,21 @@ z.strictObject({
|
|
|
1753
1831
|
const blockBookingPaymentTermsSchema = bookingPaymentTermsSchema;
|
|
1754
1832
|
//#endregion
|
|
1755
1833
|
//#region ../blocks/src/system/blocks/events/shared/schemas.ts
|
|
1834
|
+
const combinationOfferDetails = {
|
|
1835
|
+
id: z.string().uuid().transform((value) => value),
|
|
1836
|
+
label: z.string().min(1),
|
|
1837
|
+
sortOrder: z.number().int(),
|
|
1838
|
+
priceCents: z.number().int().nonnegative().transform(toNonNegativeCents)
|
|
1839
|
+
};
|
|
1840
|
+
const combinationOfferSchema = z.discriminatedUnion("kind", [z.object({
|
|
1841
|
+
...combinationOfferDetails,
|
|
1842
|
+
kind: z.literal("any"),
|
|
1843
|
+
itemCount: z.number().int().min(2).max(20).transform(unsafeAsPositiveCheckoutQuantity)
|
|
1844
|
+
}), z.object({
|
|
1845
|
+
...combinationOfferDetails,
|
|
1846
|
+
kind: z.literal("particular"),
|
|
1847
|
+
lineIds: z.array(z.string().uuid()).min(2).max(20)
|
|
1848
|
+
})]);
|
|
1756
1849
|
const eventPresetSchema = z.enum([
|
|
1757
1850
|
"event",
|
|
1758
1851
|
"class",
|
|
@@ -1939,6 +2032,21 @@ const publicRunSessionSchema = z.object({
|
|
|
1939
2032
|
status: z.string()
|
|
1940
2033
|
});
|
|
1941
2034
|
const publicWholeSeriesRunSchema = z.object({
|
|
2035
|
+
listing: z.object({
|
|
2036
|
+
title: z.string().nullable(),
|
|
2037
|
+
course: z.object({
|
|
2038
|
+
title: z.string(),
|
|
2039
|
+
path: z.string().nullable(),
|
|
2040
|
+
facts: z.array(z.object({
|
|
2041
|
+
label: z.string(),
|
|
2042
|
+
value: z.string()
|
|
2043
|
+
})).optional(),
|
|
2044
|
+
presentation: z.object({
|
|
2045
|
+
summary: z.string().nullable().optional(),
|
|
2046
|
+
image: runtimeMediaSchema.nullable().optional()
|
|
2047
|
+
}).optional()
|
|
2048
|
+
})
|
|
2049
|
+
}).optional(),
|
|
1942
2050
|
eventSeriesId: z.string(),
|
|
1943
2051
|
eventOfferingId: z.string(),
|
|
1944
2052
|
enrollmentOpen: z.boolean(),
|
|
@@ -1949,7 +2057,9 @@ const publicWholeSeriesRunSchema = z.object({
|
|
|
1949
2057
|
"completed",
|
|
1950
2058
|
"cancelled"
|
|
1951
2059
|
]),
|
|
1952
|
-
sessions: z.array(publicRunSessionSchema)
|
|
2060
|
+
sessions: z.array(publicRunSessionSchema),
|
|
2061
|
+
courseTitle: z.string().optional(),
|
|
2062
|
+
runName: z.string().nullable().optional()
|
|
1953
2063
|
});
|
|
1954
2064
|
/**
|
|
1955
2065
|
* Zod schema for the fields shared by both booking scopes.
|
|
@@ -1967,6 +2077,8 @@ const publicEventBaseSchema = z.object({
|
|
|
1967
2077
|
occurrenceId: z.string(),
|
|
1968
2078
|
seriesId: z.string(),
|
|
1969
2079
|
title: z.string(),
|
|
2080
|
+
/** An occurrence's own authored title; absent when it inherits `title`. */
|
|
2081
|
+
occurrenceTitle: z.string().optional(),
|
|
1970
2082
|
facts: z.array(z.object({
|
|
1971
2083
|
label: z.string(),
|
|
1972
2084
|
value: z.string()
|
|
@@ -2025,7 +2137,13 @@ const publicEventBaseSchema = z.object({
|
|
|
2025
2137
|
allowedCategoryIds: z.array(z.string()),
|
|
2026
2138
|
requireGuestDetails: z.boolean().optional(),
|
|
2027
2139
|
acceptsPasses: z.boolean(),
|
|
2028
|
-
acceptsMemberships: z.boolean()
|
|
2140
|
+
acceptsMemberships: z.boolean(),
|
|
2141
|
+
/**
|
|
2142
|
+
* Whether people may book several dates (or runs) of this event at once.
|
|
2143
|
+
* Wire admission reads an older server, which never sends it, as off.
|
|
2144
|
+
*/
|
|
2145
|
+
allowsMultipleBooking: z.boolean().default(false),
|
|
2146
|
+
combinationPrices: z.array(combinationOfferSchema).default([])
|
|
2029
2147
|
});
|
|
2030
2148
|
/**
|
|
2031
2149
|
* Zod schema for public event data.
|
|
@@ -2115,6 +2233,7 @@ const arrangementOnlyListLayouts = [
|
|
|
2115
2233
|
"ledger",
|
|
2116
2234
|
"timetable-rows",
|
|
2117
2235
|
"day-groups",
|
|
2236
|
+
"week-groups",
|
|
2118
2237
|
"week-columns"
|
|
2119
2238
|
];
|
|
2120
2239
|
const eventListArrangementValues = [...eventCalendarListLayoutValues, ...arrangementOnlyListLayouts];
|
|
@@ -2354,4 +2473,4 @@ const logger = {
|
|
|
2354
2473
|
withFields: (_) => logger
|
|
2355
2474
|
};
|
|
2356
2475
|
//#endregion
|
|
2357
|
-
export {
|
|
2476
|
+
export { externalMediaSchema as $, getBookingLocalDateKey as $t, eyebrowTreatmentValues as A, locationValueSchema as At, publicEventsArraySchema as B, formatDateTime as Bt, normalizeEventCalendarDisplayMode as C, allocateReductionCents as Ct, accordionIconSetValues as D, EVENT_PRESET_VALUES as Dt, accordionIconMotionValues as E, isRecord as Et, visibleHeadingDecorationFamilyValues as F, toLocationCoordinates as Ft, toBookingRequirementConsentField as G, inferSiteDateLocale as Gt, blockBookingConsentSchema as H, formatTime as Ht, eventVenueDrawingSchema as I, trimmedStringOrNull as It, RichTextDocSchema as J, toScheduledBookingDateTime as Jt, beforeBookingQuestionsPresentationSchema as K, resolveBookingDisplayContext as Kt, publicEventDestinationSchema as L, mapDrawingSchema as Lt, headingDecorationOverrideValues as M, parseLocationValue as Mt, isArrangementMode as N, projectPublicLocation as Nt, arrangementModes as O, WHOLE_SERIES_EVENT_PRESET_VALUES as Ot, tileTreatmentValues as P, publicLocationSchema as Pt, assetMediaSchema as Q, formatLocalScheduleDate as Qt, publicEventPricingSchema as R, formatDate as Rt, isEventCalendarListLayout as S, publicEventLoaderQuerySchemaShape as St, accordionIconColorTokenValues as T, unsafeAsPositiveCheckoutQuantity as Tt, bookingConsentCarrierSchema as U, formatTimeRange as Ut, blockBookingPaymentTermsSchema as V, formatDateTimeRange as Vt, isBookingRequirementConsentFieldId as W, formatTimeZoneCityLabel as Wt, createRichTextDoc as X, addLocalScheduleDays as Xt, buildRichTextSchema as Y, buildBookingUtcDateWindow as Yt, isRichTextDoc as Z, compareLocalScheduleDates as Zt, eventCalendarListLayoutOptions as _, calendarMonthDate as _t, eventAutoApplyDiscountPreviewSchema as a, toBookingTimeZone as an, PUBLIC_FILE_FIELD_KINDS as at, isEventCalendarDefaultView as b, eventSurfacePresetValues as bt, calendarMonthKey as c, validateBookingPaymentOptionKinds as cn, eventCalendarDefaultViewValues as ct, calendarWindowBounds as d, toNonNegativeCents as dn, eventCalendarListLayoutValues as dt, getLocalScheduleDate as en, imageMediaSchema as et, calendarWindowMonths as f, formatCurrencyAmount as fn, publicMembershipProductSchema as ft, eventCalendarListGroupingDecision as g, purchasablePublicPassProductSchema as gt, resolveCalendarReadProfile as h, purchasablePublicMembershipProductSchema as ht, EVENT_BOOKING_ARRIVAL_QUERY as i, resolveBookingTimeZoneId as in, videoMediaSchema as it, headingDecorationColorTokenValues as j, normalizeLocationAddressText as jt, eventListTreatmentValues as k, decideLocationSourcePermission as kt, calendarPageResponseError as l, parsePositiveCents as ln, eventCalendarDisplayModeValues as lt, planCalendarMonthRanges as m, publicProductSchema as mt, blockSiteTermsSchema as n, parseLocalScheduleTime as nn, persistableMediaSchema as nt, publicMembershipProductCollectionSchema as o, parseUtcIsoDateTimeString as on, isDisplayMediaKind as ot, calendarWindowPageSchema as p, formatGiftCardAmountLabel as pn, publicPassProductSchema as pt, bookingQuestionsAnswerValueSchema as q, formatBookingCompactEnglishTime as qt, verifiedSiteTermsAcceptanceSchema as r, resolveBookingBusinessTimeZone as rn, runtimeMediaSchema as rt, publicPassProductCollectionSchema as s, toUtcIsoDateTimeString as sn, mediaTypeDiscriminants as st, logger as t, parseBookingLocalDate as tn, mediaSchema as tt, calendarQueryKey as u, parsePositiveMoneyInputToCents as un, eventCalendarListLayoutCompatibleDisplayModeValues as ut, eventCalendarVariantMeaning as v, calendarWindowQuerySchema as vt, resolveEventCalendarReadPlan as w, normalizeCurrencyCode as wt, isEventCalendarDisplayMode as x, eventSurfaceScopeValues as xt, eventListArrangementValues as y, eventScheduleScopeValues as yt, publicEventSchema as z, formatDateRange as zt };
|