@riverbankcms/sdk 0.172.0 → 0.174.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 +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
- package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.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 +9 -9
- 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 +4 -2
- 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 +13 -8
- 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 +36 -204
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
- package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
- package/dist/client/bookability-CE637yDE.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
- package/dist/client/client.mjs +206 -7
- package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +34 -61
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
- package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
- package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
- package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- 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 +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
- package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
- package/dist/server/manifest.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 +9 -8
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
- package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
- package/dist/styles/index.css +1038 -200
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
- 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-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-BiWQc28-.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-DAypPzSo.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-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-B_ytWQtn.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-DAypPzSo.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-BiEyK2ii.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-CseTWUFC.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-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-Bs_8im5_.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-DAypPzSo.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-b5TLxntR.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.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-DAypPzSo.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-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-DN-I9_qC.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 {
|
|
3
|
-
import { h as ok, m as err, p as assertNever } from "./creditProducts-
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Ga as listLookSlot } from "./display-D8MW2b0e.mjs";
|
|
3
|
+
import { h as ok, m as err, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
5
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-t2Q1neM6.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";
|
|
@@ -108,7 +108,7 @@ const FormNodeClient = ({ render }) => {
|
|
|
108
108
|
const formData = new FormData(e.currentTarget);
|
|
109
109
|
const honeypot = formData.get("company");
|
|
110
110
|
if (typeof honeypot !== "string" || honeypot.trim()) return;
|
|
111
|
-
await submit({
|
|
111
|
+
if (!(await submit({
|
|
112
112
|
authorization: protection.submission.authorization,
|
|
113
113
|
formId: form.id,
|
|
114
114
|
data: submittedFormFields(formData),
|
|
@@ -117,7 +117,7 @@ const FormNodeClient = ({ render }) => {
|
|
|
117
117
|
referer: typeof window !== "undefined" ? window.location.href : void 0,
|
|
118
118
|
userAgent: typeof navigator !== "undefined" ? navigator.userAgent : void 0
|
|
119
119
|
}
|
|
120
|
-
});
|
|
120
|
+
})).ok) protection.reset();
|
|
121
121
|
};
|
|
122
122
|
if (state.tag === "succeeded") return /* @__PURE__ */ jsx(FormSuccessMessage, { display: render.display });
|
|
123
123
|
const errorBanner = state.tag === "failed" ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ga as listLookSlot, Wa as listLookControl } from "./display-D8MW2b0e.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Bt as formatDate$1, Ht as formatDateTime, cn as parseUtcIsoDateTimeString, rn as parseBookingLocalDate } from "./noop-D5mFWXtN.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
3
|
+
import { Bt as formatDate, hn as formatGiftCardAmountLabel, ln as toUtcIsoDateTimeString, on as resolveBookingTimeZoneId, t as logger } from "../noop-D5mFWXtN.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-CNlesLfF.mjs";
|
|
5
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";
|
|
@@ -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-BiEyK2ii.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-BzjY6AiY.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-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
2
|
+
import { wn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CKFORzux.mjs";
|
|
3
|
+
import { Ga as listLookSlot } from "./display-D8MW2b0e.mjs";
|
|
4
|
+
import { A as assertNever$1, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
6
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-URO5Mn_I.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";
|
|
@@ -211,7 +211,7 @@ function NewsletterFormClient({ render }) {
|
|
|
211
211
|
}
|
|
212
212
|
const visitorSelection = selection.tag === "chosen" ? selection.value : void 0;
|
|
213
213
|
dispatchSubmission({ type: "submitted" });
|
|
214
|
-
|
|
214
|
+
const outcome = await sendNewsletterSubscription(api, {
|
|
215
215
|
authorization: protection.submission.authorization,
|
|
216
216
|
email: submittedFields.email,
|
|
217
217
|
firstName: submittedFields.firstName,
|
|
@@ -223,7 +223,9 @@ function NewsletterFormClient({ render }) {
|
|
|
223
223
|
setupRevision: admission.setupRevision,
|
|
224
224
|
...visitorSelection ? { visitorSelection } : {},
|
|
225
225
|
meta: { honeypot: submittedFields.honeypot }
|
|
226
|
-
})
|
|
226
|
+
});
|
|
227
|
+
dispatchSubmission(outcome);
|
|
228
|
+
if (outcome.type === "failed") protection.reset();
|
|
227
229
|
};
|
|
228
230
|
const submitting = isNewsletterFormSubmitting(submissionState);
|
|
229
231
|
const formError = getNewsletterSubmissionFormError(submissionState);
|
package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ga as listLookSlot } from "./display-D8MW2b0e.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-BiEyK2ii.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-D_YFUlR2.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";
|
|
@@ -859,6 +859,12 @@ function trimmedStringOrNull(value) {
|
|
|
859
859
|
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
860
860
|
return trimmed.length > 0 ? trimmed : null;
|
|
861
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* Capitalize the first character of a string
|
|
864
|
+
*/
|
|
865
|
+
function capitalize(str) {
|
|
866
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
867
|
+
}
|
|
862
868
|
//#endregion
|
|
863
869
|
//#region ../core/src/location.ts
|
|
864
870
|
/** One complete, finite, bounded arrival pin; zero is a valid coordinate. */
|
|
@@ -1018,6 +1024,90 @@ function isRecord(value) {
|
|
|
1018
1024
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1019
1025
|
}
|
|
1020
1026
|
//#endregion
|
|
1027
|
+
//#region ../commerce/src/purchase/settlement.ts
|
|
1028
|
+
function normalizeCurrencyCode(raw) {
|
|
1029
|
+
const normalized = raw.trim().toUpperCase();
|
|
1030
|
+
if (!/^[A-Z]{3}$/.test(normalized)) throw new Error(`Invalid currency code: ${raw}`);
|
|
1031
|
+
return normalized;
|
|
1032
|
+
}
|
|
1033
|
+
function allocateReductionCents(inputs, requestedCents) {
|
|
1034
|
+
const sanitizedInputs = inputs.map((input) => ({
|
|
1035
|
+
lineId: input.lineId,
|
|
1036
|
+
basisCents: toNonNegativeCents(input.basisCents),
|
|
1037
|
+
maxReducibleCents: toNonNegativeCents(input.maxReducibleCents)
|
|
1038
|
+
}));
|
|
1039
|
+
const totalReducibleCents = sanitizedInputs.reduce((sum, input) => sum + input.maxReducibleCents, 0);
|
|
1040
|
+
const targetCents = Math.max(0, Math.min(Math.trunc(requestedCents), totalReducibleCents));
|
|
1041
|
+
const allocations = sanitizedInputs.map((input) => ({
|
|
1042
|
+
lineId: input.lineId,
|
|
1043
|
+
amountCents: toNonNegativeCents(0)
|
|
1044
|
+
}));
|
|
1045
|
+
if (targetCents === 0 || sanitizedInputs.length === 0) return {
|
|
1046
|
+
requestedCents: toNonNegativeCents(requestedCents),
|
|
1047
|
+
appliedCents: toNonNegativeCents(0),
|
|
1048
|
+
allocations
|
|
1049
|
+
};
|
|
1050
|
+
const remainingCaps = sanitizedInputs.map((input) => input.maxReducibleCents);
|
|
1051
|
+
let remainingCents = targetCents;
|
|
1052
|
+
while (remainingCents > 0) {
|
|
1053
|
+
const eligibleIndexes = sanitizedInputs.map((input, index) => ({
|
|
1054
|
+
input,
|
|
1055
|
+
index
|
|
1056
|
+
})).filter(({ input, index }) => input.basisCents > 0 && (remainingCaps[index] ?? 0) > 0);
|
|
1057
|
+
if (eligibleIndexes.length === 0) break;
|
|
1058
|
+
const eligibleBasis = eligibleIndexes.reduce((sum, { input }) => sum + input.basisCents, 0);
|
|
1059
|
+
if (eligibleBasis <= 0) break;
|
|
1060
|
+
const roundCandidates = eligibleIndexes.map(({ input, index }) => {
|
|
1061
|
+
const exactShare = input.basisCents / eligibleBasis * remainingCents;
|
|
1062
|
+
const floorShare = Math.min(Math.floor(exactShare), remainingCaps[index] ?? 0);
|
|
1063
|
+
return {
|
|
1064
|
+
index,
|
|
1065
|
+
floorShare,
|
|
1066
|
+
remainder: exactShare - floorShare
|
|
1067
|
+
};
|
|
1068
|
+
});
|
|
1069
|
+
let assignedThisRound = 0;
|
|
1070
|
+
for (const candidate of roundCandidates) {
|
|
1071
|
+
if (candidate.floorShare <= 0) continue;
|
|
1072
|
+
const allocation = allocations[candidate.index];
|
|
1073
|
+
if (!allocation) continue;
|
|
1074
|
+
allocation.amountCents = toNonNegativeCents(allocation.amountCents + candidate.floorShare);
|
|
1075
|
+
remainingCaps[candidate.index] = toNonNegativeCents((remainingCaps[candidate.index] ?? 0) - candidate.floorShare);
|
|
1076
|
+
assignedThisRound += candidate.floorShare;
|
|
1077
|
+
}
|
|
1078
|
+
remainingCents -= assignedThisRound;
|
|
1079
|
+
if (remainingCents <= 0) break;
|
|
1080
|
+
const remainderCandidates = roundCandidates.filter((candidate) => (remainingCaps[candidate.index] ?? 0) > 0).sort((a, b) => {
|
|
1081
|
+
if (b.remainder !== a.remainder) return b.remainder - a.remainder;
|
|
1082
|
+
return a.index - b.index;
|
|
1083
|
+
});
|
|
1084
|
+
if (remainderCandidates.length === 0) break;
|
|
1085
|
+
let remainderAssigned = 0;
|
|
1086
|
+
for (const candidate of remainderCandidates) {
|
|
1087
|
+
if (remainingCents <= 0) break;
|
|
1088
|
+
if ((remainingCaps[candidate.index] ?? 0) <= 0) continue;
|
|
1089
|
+
const allocation = allocations[candidate.index];
|
|
1090
|
+
if (!allocation) continue;
|
|
1091
|
+
allocation.amountCents = toNonNegativeCents(allocation.amountCents + 1);
|
|
1092
|
+
remainingCaps[candidate.index] = toNonNegativeCents((remainingCaps[candidate.index] ?? 0) - 1);
|
|
1093
|
+
remainingCents -= 1;
|
|
1094
|
+
remainderAssigned += 1;
|
|
1095
|
+
}
|
|
1096
|
+
if (assignedThisRound === 0 && remainderAssigned === 0) break;
|
|
1097
|
+
}
|
|
1098
|
+
const appliedCents = allocations.reduce((sum, allocation) => sum + allocation.amountCents, 0);
|
|
1099
|
+
return {
|
|
1100
|
+
requestedCents: toNonNegativeCents(requestedCents),
|
|
1101
|
+
appliedCents: toNonNegativeCents(appliedCents),
|
|
1102
|
+
allocations
|
|
1103
|
+
};
|
|
1104
|
+
}
|
|
1105
|
+
//#endregion
|
|
1106
|
+
//#region ../commerce/src/purchase/checkoutQuantity.ts
|
|
1107
|
+
function unsafeAsPositiveCheckoutQuantity(quantity) {
|
|
1108
|
+
return quantity;
|
|
1109
|
+
}
|
|
1110
|
+
//#endregion
|
|
1021
1111
|
//#region ../site-contracts/src/siteData/eventQueries.ts
|
|
1022
1112
|
const eventSurfacePresetValues = SURFACE_EVENT_PRESET_VALUES;
|
|
1023
1113
|
const eventSurfaceScopeValues = [
|
|
@@ -1243,13 +1333,6 @@ const eventCalendarListLayoutValues = [
|
|
|
1243
1333
|
];
|
|
1244
1334
|
const eventCalendarListLayoutCompatibleDisplayModeValues = ["combined", "list"];
|
|
1245
1335
|
//#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
1336
|
//#region ../media-core/src/mediaKinds.ts
|
|
1254
1337
|
const mediaTypeDiscriminants = [
|
|
1255
1338
|
"image",
|
|
@@ -1298,7 +1381,7 @@ const aspectCropSchema = z.object({
|
|
|
1298
1381
|
hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
|
|
1299
1382
|
rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
|
|
1300
1383
|
});
|
|
1301
|
-
const
|
|
1384
|
+
const mediaTransformSchema = z.object({
|
|
1302
1385
|
aspectCrops: z.preprocess((value) => {
|
|
1303
1386
|
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
1304
1387
|
return value;
|
|
@@ -1322,7 +1405,7 @@ const mediaUsageShape = {
|
|
|
1322
1405
|
width: z.number().optional(),
|
|
1323
1406
|
height: z.number().optional(),
|
|
1324
1407
|
poster: mediaPosterSchema.optional(),
|
|
1325
|
-
transform:
|
|
1408
|
+
transform: mediaTransformSchema.optional()
|
|
1326
1409
|
};
|
|
1327
1410
|
const environmentExclusions = {
|
|
1328
1411
|
assetId: z.never().optional(),
|
|
@@ -1568,6 +1651,7 @@ const bookingQuestionsAnswerValueSchema = z.union([
|
|
|
1568
1651
|
]);
|
|
1569
1652
|
const setSchema = z.object({
|
|
1570
1653
|
requirementId: z.string().min(1),
|
|
1654
|
+
sharingKey: z.string().min(1).optional(),
|
|
1571
1655
|
title: z.string(),
|
|
1572
1656
|
sections: z.array(sectionSchema)
|
|
1573
1657
|
});
|
|
@@ -1753,6 +1837,21 @@ z.strictObject({
|
|
|
1753
1837
|
const blockBookingPaymentTermsSchema = bookingPaymentTermsSchema;
|
|
1754
1838
|
//#endregion
|
|
1755
1839
|
//#region ../blocks/src/system/blocks/events/shared/schemas.ts
|
|
1840
|
+
const combinationOfferDetails = {
|
|
1841
|
+
id: z.string().uuid().transform((value) => value),
|
|
1842
|
+
label: z.string().min(1),
|
|
1843
|
+
sortOrder: z.number().int(),
|
|
1844
|
+
priceCents: z.number().int().nonnegative().transform(toNonNegativeCents)
|
|
1845
|
+
};
|
|
1846
|
+
const combinationOfferSchema = z.discriminatedUnion("kind", [z.object({
|
|
1847
|
+
...combinationOfferDetails,
|
|
1848
|
+
kind: z.literal("any"),
|
|
1849
|
+
itemCount: z.number().int().min(2).max(20).transform(unsafeAsPositiveCheckoutQuantity)
|
|
1850
|
+
}), z.object({
|
|
1851
|
+
...combinationOfferDetails,
|
|
1852
|
+
kind: z.literal("particular"),
|
|
1853
|
+
lineIds: z.array(z.string().uuid()).min(2).max(20)
|
|
1854
|
+
})]);
|
|
1756
1855
|
const eventPresetSchema = z.enum([
|
|
1757
1856
|
"event",
|
|
1758
1857
|
"class",
|
|
@@ -1964,7 +2063,9 @@ const publicWholeSeriesRunSchema = z.object({
|
|
|
1964
2063
|
"completed",
|
|
1965
2064
|
"cancelled"
|
|
1966
2065
|
]),
|
|
1967
|
-
sessions: z.array(publicRunSessionSchema)
|
|
2066
|
+
sessions: z.array(publicRunSessionSchema),
|
|
2067
|
+
courseTitle: z.string().optional(),
|
|
2068
|
+
runName: z.string().nullable().optional()
|
|
1968
2069
|
});
|
|
1969
2070
|
/**
|
|
1970
2071
|
* Zod schema for the fields shared by both booking scopes.
|
|
@@ -1982,6 +2083,10 @@ const publicEventBaseSchema = z.object({
|
|
|
1982
2083
|
occurrenceId: z.string(),
|
|
1983
2084
|
seriesId: z.string(),
|
|
1984
2085
|
title: z.string(),
|
|
2086
|
+
/** An occurrence's own authored title; absent when it inherits `title`. */
|
|
2087
|
+
occurrenceTitle: z.string().optional(),
|
|
2088
|
+
/** An occurrence's own authored description; absent when it inherits the event's. */
|
|
2089
|
+
occurrenceDescription: z.string().optional(),
|
|
1985
2090
|
facts: z.array(z.object({
|
|
1986
2091
|
label: z.string(),
|
|
1987
2092
|
value: z.string()
|
|
@@ -2040,7 +2145,13 @@ const publicEventBaseSchema = z.object({
|
|
|
2040
2145
|
allowedCategoryIds: z.array(z.string()),
|
|
2041
2146
|
requireGuestDetails: z.boolean().optional(),
|
|
2042
2147
|
acceptsPasses: z.boolean(),
|
|
2043
|
-
acceptsMemberships: z.boolean()
|
|
2148
|
+
acceptsMemberships: z.boolean(),
|
|
2149
|
+
/**
|
|
2150
|
+
* Whether people may book several dates (or runs) of this event at once.
|
|
2151
|
+
* Wire admission reads an older server, which never sends it, as off.
|
|
2152
|
+
*/
|
|
2153
|
+
allowsMultipleBooking: z.boolean().default(false),
|
|
2154
|
+
combinationPrices: z.array(combinationOfferSchema).default([])
|
|
2044
2155
|
});
|
|
2045
2156
|
/**
|
|
2046
2157
|
* Zod schema for public event data.
|
|
@@ -2070,6 +2181,22 @@ const arrangementModes = [
|
|
|
2070
2181
|
function isArrangementMode(value) {
|
|
2071
2182
|
return value === "list" || value === "calendar" || value === "week" || value === "combined";
|
|
2072
2183
|
}
|
|
2184
|
+
/** Every transition that draws something; `none` is the absence of a join. */
|
|
2185
|
+
const decorativeTransitionIntentValues = [
|
|
2186
|
+
"soft-fade-short",
|
|
2187
|
+
"soft-fade-long",
|
|
2188
|
+
"soft-fade-expansive",
|
|
2189
|
+
"wave-edge",
|
|
2190
|
+
"wave-edge-balanced",
|
|
2191
|
+
"wave-edge-gentle",
|
|
2192
|
+
"wave-edge-bold",
|
|
2193
|
+
"wave-edge-drift",
|
|
2194
|
+
"wave-edge-echo",
|
|
2195
|
+
"arc-edge-echo",
|
|
2196
|
+
"angle-edge",
|
|
2197
|
+
"angle-edge-subtle",
|
|
2198
|
+
"angle-edge-steep"
|
|
2199
|
+
];
|
|
2073
2200
|
const tileTreatmentValues = [
|
|
2074
2201
|
"default",
|
|
2075
2202
|
"quiet",
|
|
@@ -2370,4 +2497,4 @@ const logger = {
|
|
|
2370
2497
|
withFields: (_) => logger
|
|
2371
2498
|
};
|
|
2372
2499
|
//#endregion
|
|
2373
|
-
export {
|
|
2500
|
+
export { assetMediaSchema as $, compareLocalScheduleDates as $t, eventListTreatmentValues as A, decideLocationSourcePermission as At, publicEventSchema as B, formatDate as Bt, normalizeEventCalendarDisplayMode as C, publicEventLoaderQuerySchemaShape as Ct, accordionIconSetValues as D, isRecord as Dt, accordionIconMotionValues as E, normalizeCurrencyCode as Et, tileTreatmentValues as F, publicLocationSchema as Ft, isBookingRequirementConsentFieldId as G, formatTimeRange as Gt, blockBookingPaymentTermsSchema as H, formatDateTime as Ht, visibleHeadingDecorationFamilyValues as I, toLocationCoordinates as It, bookingQuestionsAnswerValueSchema as J, resolveBookingDisplayContext as Jt, toBookingRequirementConsentField as K, formatTimeZoneCityLabel as Kt, eventVenueDrawingSchema as L, capitalize as Lt, headingDecorationColorTokenValues as M, normalizeLocationAddressText as Mt, headingDecorationOverrideValues as N, parseLocationValue as Nt, arrangementModes as O, EVENT_PRESET_VALUES as Ot, isArrangementMode as P, projectPublicLocation as Pt, isRichTextDoc as Q, addLocalScheduleDays as Qt, publicEventDestinationSchema as R, trimmedStringOrNull as Rt, isEventCalendarListLayout as S, eventSurfaceScopeValues as St, accordionIconColorTokenValues as T, allocateReductionCents as Tt, blockBookingConsentSchema as U, formatDateTimeRange as Ut, publicEventsArraySchema as V, formatDateRange as Vt, bookingConsentCarrierSchema as W, formatTime as Wt, buildRichTextSchema as X, toScheduledBookingDateTime as Xt, RichTextDocSchema as Y, formatBookingCompactEnglishTime as Yt, createRichTextDoc as Z, buildBookingUtcDateWindow as Zt, eventCalendarListLayoutOptions as _, purchasablePublicPassProductSchema as _t, eventAutoApplyDiscountPreviewSchema as a, resolveBookingBusinessTimeZone as an, videoMediaSchema as at, isEventCalendarDefaultView as b, eventScheduleScopeValues as bt, calendarMonthKey as c, parseUtcIsoDateTimeString as cn, mediaTypeDiscriminants as ct, calendarWindowBounds as d, parsePositiveCents as dn, eventCalendarListLayoutCompatibleDisplayModeValues as dt, formatLocalScheduleDate as en, externalMediaSchema as et, calendarWindowMonths as f, parsePositiveMoneyInputToCents as fn, eventCalendarListLayoutValues as ft, eventCalendarListGroupingDecision as g, purchasablePublicMembershipProductSchema as gt, resolveCalendarReadProfile as h, formatGiftCardAmountLabel as hn, publicProductSchema as ht, EVENT_BOOKING_ARRIVAL_QUERY as i, parseLocalScheduleTime as in, runtimeMediaSchema as it, eyebrowTreatmentValues as j, locationValueSchema as jt, decorativeTransitionIntentValues as k, WHOLE_SERIES_EVENT_PRESET_VALUES as kt, calendarPageResponseError as l, toUtcIsoDateTimeString as ln, eventCalendarDefaultViewValues as lt, planCalendarMonthRanges as m, formatCurrencyAmount as mn, publicPassProductSchema as mt, blockSiteTermsSchema as n, getLocalScheduleDate as nn, mediaSchema as nt, publicMembershipProductCollectionSchema as o, resolveBookingTimeZoneId as on, PUBLIC_FILE_FIELD_KINDS as ot, calendarWindowPageSchema as p, toNonNegativeCents as pn, publicMembershipProductSchema as pt, beforeBookingQuestionsPresentationSchema as q, inferSiteDateLocale as qt, verifiedSiteTermsAcceptanceSchema as r, parseBookingLocalDate as rn, persistableMediaSchema as rt, publicPassProductCollectionSchema as s, toBookingTimeZone as sn, isDisplayMediaKind as st, logger as t, getBookingLocalDateKey as tn, imageMediaSchema as tt, calendarQueryKey as u, validateBookingPaymentOptionKinds as un, eventCalendarDisplayModeValues as ut, eventCalendarVariantMeaning as v, calendarMonthDate as vt, resolveEventCalendarReadPlan as w, unsafeAsPositiveCheckoutQuantity as wt, isEventCalendarDisplayMode as x, eventSurfacePresetValues as xt, eventListArrangementValues as y, calendarWindowQuerySchema as yt, publicEventPricingSchema as z, mapDrawingSchema as zt };
|