@riverbankcms/sdk 0.163.0 → 0.165.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 +12 -1
- package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-D6gp2Ipb.d.ts} +15 -12
- package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -72
- package/dist/_dts/{client-Chh3bnXC.d.ts → client-BkkExozE.d.ts} +13 -41
- package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-XRXhbLWP.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-CyQhZuhM.d.ts → index-B4ozSzFP.d.ts} +48377 -47862
- package/dist/_dts/{index-DRxgeK8L.d.ts → index-BdkHhyf8.d.ts} +2 -2
- package/dist/_dts/{index-CdSNXLOx.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-C3mJvn27.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
- package/dist/_dts/{index-rhMSu0oY.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-CaL0nKkl.d.ts → index-DAPTSmBM.d.ts} +31097 -31047
- package/dist/_dts/{index-FstkyqQB.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-G2p-HOrK.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-B9vJMq3s.d.ts} +15 -30
- package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- 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/spam-protection/index.d.ts +32 -52
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BmtrA45p.d.ts → types-BDF73NzM.d.ts} +3 -2
- package/dist/_dts/{types-DFOqkClJ.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-CalL7aKP.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -1
- package/dist/client/{EventItem-CND3mfra.mjs → EventItem-dILw2PN_.mjs} +27 -17
- package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +18 -22
- package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-BEF9HrAy.mjs → Page-DUr2YhFR.mjs} +1949 -418
- package/dist/client/ProtectedSubmitButton-2fJqT_NR.mjs +14 -0
- package/dist/client/SpamProtectionWidget-CCF6YLUX.mjs +141 -0
- package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-Cfbo1bfh.mjs} +2 -898
- package/dist/client/{accordion-lzM2nSZB.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/altchaProtection-DjIV9A5n.mjs +12 -0
- package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-BSbWgLyx.mjs} +23 -56
- package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +23 -32
- package/dist/client/{carousel-CxerQwIx.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-X-m0isoI.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +216 -109
- package/dist/client/{context-Bg0SFWcM.mjs → context-CBV21-9L.mjs} +17 -3
- package/dist/client/{cta-HffyM4MA.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-QMqtIywj.mjs} +47 -56
- package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-DAIUrVXb.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-BoAkhoh_.mjs → form.client-BtpK3TZW.mjs} +33 -24
- package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-Djos5Un4.mjs} +6 -5
- package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -4
- package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-DpHNZc7k.mjs} +100 -85
- package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-CLGH20PL.mjs} +11 -7
- package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-4XFGzJpT.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -12
- package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-EK9Um-oh.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/protection-C0PoH1lT.mjs +104 -0
- package/dist/client/purchase-BV5xfaZH.mjs +894 -0
- package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-CIKtTsCl.mjs} +197 -167
- package/dist/client/rendering/client.mjs +27 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +11 -7
- package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-BFwQDvJL.mjs → schema-BdSglH2X.mjs} +2690 -2500
- package/dist/client/{shop-CTUaT57E.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BGmkdIAZ.mjs} +268 -31
- package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-CWHmlVT5.mjs} +2630 -461
- package/dist/client/spam-protection.mjs +4 -69
- package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-yUIfWX3S.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-OvsxzgxP.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-DManVJpc.mjs} +57 -47
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3478 -3109
- package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3761 -4769
- package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +3862 -8657
- package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-Dc6aJ34Z.mjs} +274 -68
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +186449 -173608
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-BBAJjFIz.mjs} +42 -50
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-ClFI3qpX.mjs} +5 -4
- package/dist/server/{bindings-S-gCHhj5.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-C2Q56xqV.mjs → client-DfMDbZ41.mjs} +215 -109
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2362 -217
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-dEEhQxL7.mjs} +6 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-DBFBad8A.mjs} +3 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DhF87Vsd.mjs} +352 -141
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-FwcsT5H2.mjs} +334 -110
- package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-Bz8loTRn.mjs} +87 -78
- package/dist/server/{registry-4ZF3bUuJ.mjs → registry-Cdvz1OtL.mjs} +539 -401
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-DgrigZq9.mjs → schema-uSA_x1Zh.mjs} +247 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-CntHn2KI.mjs} +61 -37
- package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +32 -36
- package/dist/server/{src-C44_fMy5.mjs → src-DsYPhTbs.mjs} +1289 -90
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-CSknYpxk.mjs} +3 -2
- package/dist/server/{validation-BrbY0nxR.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-BBSk8uM6.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +1173 -72
- package/package.json +2 -3
- package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
- package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/client/src-BNZzXgWu.mjs +0 -102
- package/dist/preview-next/client/spinner-CjxE3uws.mjs +0 -67
- package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as ProtectedSubmission, Mn as SubmissionAuthorization, Nn as submissionProof, jn as SpamProtectionPolicy } from "../../../index-DAPTSmBM.js";
|
|
2
|
+
import { n as ProtectedSubmitButton } from "../../../client-BkkExozE.js";
|
|
2
3
|
|
|
3
4
|
//#region .cache/declarations/altcha/src/index.d.ts
|
|
4
5
|
/**
|
|
@@ -8,60 +9,39 @@ import { n as AltchaWidgetProps, t as AltchaWidget } from "../../../AltchaWidget
|
|
|
8
9
|
declare function hasSpamProtection(): boolean;
|
|
9
10
|
/**
|
|
10
11
|
* Get the challenge endpoint URL.
|
|
11
|
-
*
|
|
12
|
+
* Uses the caller's existing API base URL when provided. The environment
|
|
13
|
+
* fallback is for standalone integrations without a Block API client.
|
|
12
14
|
*/
|
|
13
|
-
declare function getChallengeUrl(): string;
|
|
15
|
+
declare function getChallengeUrl(apiBaseUrl?: string): string;
|
|
14
16
|
//#endregion
|
|
15
|
-
//#region .cache/declarations/
|
|
16
|
-
interface
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
/** Additional
|
|
17
|
+
//#region .cache/declarations/altcha/src/AltchaWidget.d.ts
|
|
18
|
+
interface AltchaWidgetProps {
|
|
19
|
+
/** URL to fetch the challenge from (required). */
|
|
20
|
+
challengeUrl: string;
|
|
21
|
+
/** Null whenever verification is pending, reset, expired or failed. */
|
|
22
|
+
onSolutionChange?: (solution: string | null) => void;
|
|
23
|
+
/** Additional class for the inline failure message. */
|
|
22
24
|
className?: string;
|
|
23
25
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region .cache/declarations/altcha/src/useSpamProtection.d.ts
|
|
28
|
+
type SpamProtection = Readonly<{
|
|
29
|
+
submission: ProtectedSubmission;
|
|
30
|
+
widget: (Pick<AltchaWidgetProps, 'challengeUrl' | 'onSolutionChange'> & Readonly<{
|
|
31
|
+
key: number;
|
|
32
|
+
}>) | null;
|
|
30
33
|
reset: () => void;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* function ContactForm() {
|
|
44
|
-
* const { solution, isReady, Widget } = useSpamProtection(getChallengeUrl())
|
|
45
|
-
*
|
|
46
|
-
* const handleSubmit = async (e) => {
|
|
47
|
-
* e.preventDefault()
|
|
48
|
-
* if (!isReady) return
|
|
49
|
-
*
|
|
50
|
-
* const formData = new FormData(e.target)
|
|
51
|
-
* formData.set('altcha-solution', solution)
|
|
52
|
-
* // Submit form...
|
|
53
|
-
* }
|
|
54
|
-
*
|
|
55
|
-
* return (
|
|
56
|
-
* <form onSubmit={handleSubmit}>
|
|
57
|
-
* {/* form fields *\/}
|
|
58
|
-
* <Widget />
|
|
59
|
-
* <button type="submit" disabled={!isReady}>Submit</button>
|
|
60
|
-
* </form>
|
|
61
|
-
* )
|
|
62
|
-
* }
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
declare function useSpamProtection(challengeUrl: string, options?: UseSpamProtectionOptions): UseSpamProtectionResult;
|
|
34
|
+
}>;
|
|
35
|
+
/** One owner for readiness, proof revocation, widget replacement and teardown. */
|
|
36
|
+
declare function useSpamProtection(policy: SpamProtectionPolicy): SpamProtection;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region .cache/declarations/altcha/src/SpamProtectionWidget.d.ts
|
|
39
|
+
/** The widget and submission control share one verification lifetime. */
|
|
40
|
+
declare function SpamProtectionWidget({
|
|
41
|
+
protection,
|
|
42
|
+
...options
|
|
43
|
+
}: Readonly<{
|
|
44
|
+
protection: SpamProtection;
|
|
45
|
+
}> & Omit<AltchaWidgetProps, 'challengeUrl' | 'onSolutionChange'>): import("react").JSX.Element | null;
|
|
66
46
|
//#endregion
|
|
67
|
-
export {
|
|
47
|
+
export { type AltchaWidgetProps, type ProtectedSubmission, ProtectedSubmitButton, type SpamProtection, SpamProtectionWidget, type SubmissionAuthorization, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as RoutableContentResponse, C as PublicPassesResponse, D as PublicTeamMembersResponse, I as SiteResponse, L as SitemapRoutesResponse, M as RouteOutcomeResponse, O as PublicWeeklySlotAvailabilityResponse, R as ResolveEventOccurrenceResponse, S as PublicMembershipsResponse, T as PublicProductsResponse, _ as PublicEndpointName, b as PublicFormResponse, g as PublicBookingServicesResponse, i as CheckRedirectResponse, j as RouteDecisionResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse, v as PublicEventDetailsResponse, w as PublicProductCategorySelector, x as PublicFormsResponse, y as PublicEventsResponse, z as ResolveEventRunResponse } from "./contracts-
|
|
1
|
+
import { ar as CalendarWindowPage, or as CalendarWindowRequest, vo as EventPageSurfaceSubjectRefWire } from "./index-DAPTSmBM.js";
|
|
2
|
+
import { A as RoutableContentResponse, C as PublicPassesResponse, D as PublicTeamMembersResponse, I as SiteResponse, L as SitemapRoutesResponse, M as RouteOutcomeResponse, O as PublicWeeklySlotAvailabilityResponse, R as ResolveEventOccurrenceResponse, S as PublicMembershipsResponse, T as PublicProductsResponse, _ as PublicEndpointName, b as PublicFormResponse, g as PublicBookingServicesResponse, i as CheckRedirectResponse, j as RouteDecisionResponse, o as EntriesResponse, p as PageResponse, s as EntryResponse, v as PublicEventDetailsResponse, w as PublicProductCategorySelector, x as PublicFormsResponse, y as PublicEventsResponse, z as ResolveEventRunResponse } from "./contracts-XRXhbLWP.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/runtimeCacheKeys.d.ts
|
|
5
5
|
declare const publishedRuntimeCacheKeyBrand: unique symbol;
|
|
@@ -803,6 +803,7 @@ interface RiverbankClient {
|
|
|
803
803
|
/**
|
|
804
804
|
* Force clear the cache
|
|
805
805
|
*/
|
|
806
|
+
clearCacheForTags(tags: readonly string[]): void;
|
|
806
807
|
clearCache(): void;
|
|
807
808
|
/**
|
|
808
809
|
* Get the detected API key type based on the key prefix.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-
|
|
3
|
-
import { c as NodeDefinition } from "./index-
|
|
1
|
+
import { u as SdkSiteLayoutConfig } from "./index-B4ozSzFP.js";
|
|
2
|
+
import { H as SystemBlockKind, r as ContentConfig, x as FieldDefinition } from "./content-types-CXNAD7ef.js";
|
|
3
|
+
import { c as NodeDefinition } from "./index-BdkHhyf8.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/config/types.d.ts
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
3
|
-
import { _ as RiverbankClient } from "./types-
|
|
4
|
-
import {
|
|
5
|
-
import { i as LoadContentResult } from "./loadContent-
|
|
6
|
-
import { t as Metadata } from "./generatePageMetadata-
|
|
7
|
-
import { c as RiverbankContentLoadError } from "./resolvePageContent-
|
|
1
|
+
import { zr as Theme } from "./index-DAPTSmBM.js";
|
|
2
|
+
import { u as RiverbankSiteConfig } from "./types-Cl0nP6al.js";
|
|
3
|
+
import { _ as RiverbankClient } from "./types-BDF73NzM.js";
|
|
4
|
+
import { $ as DataLoaderSearchParams, E as BlockOverrideRegistrations, X as DataLoaderOverrides, a as SdkRenderingMode, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-D6gp2Ipb.js";
|
|
5
|
+
import { i as LoadContentResult } from "./loadContent-B9vJMq3s.js";
|
|
6
|
+
import { t as Metadata } from "./generatePageMetadata-DcMtbztV.js";
|
|
7
|
+
import { c as RiverbankContentLoadError } from "./resolvePageContent-DIQyYUi-.js";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
|
|
10
10
|
//#region .cache/declarations/sdk/src/next/content-load-failure.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-
|
|
3
|
-
import { u as BindingTransformName } from "./index-
|
|
4
|
-
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-
|
|
1
|
+
import { g as NavigationConfigItemInput, h as NavigationAuthoringLinkInput } from "./index-B4ozSzFP.js";
|
|
2
|
+
import { d as TEMPLATE_BINDING_META_PATHS, i as ContentTypeConfig, r as ContentConfig } from "./content-types-CXNAD7ef.js";
|
|
3
|
+
import { u as BindingTransformName } from "./index-BdkHhyf8.js";
|
|
4
|
+
import { a as BlockFieldOptionsMap, d as SdkCustomBlock, i as BlockFieldExtensionsMap, r as BlockFieldExtension, u as RiverbankSiteConfig, x as SyncConfig } from "./types-Cl0nP6al.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/content-validation.d.ts
|
package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import "./site-styles-
|
|
4
|
-
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-
|
|
5
|
-
import { r as toBlocksMediaAssets } from "./mediaAssets-
|
|
2
|
+
import { Qt as parseSurfaceTree } from "./schema-BdSglH2X.mjs";
|
|
3
|
+
import "./site-styles-CWHmlVT5.mjs";
|
|
4
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-CwT6ZOm7.mjs";
|
|
5
|
+
import { r as toBlocksMediaAssets } from "./mediaAssets-DHAmrVIi.mjs";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
//#region src/rendering/islands/deferredVideoEmbeds.ts
|
|
8
8
|
const DEFERRED_IFRAME_SELECTOR = "iframe[data-rb-video-embed-deferred=\"true\"]";
|
|
@@ -77,22 +77,22 @@ function isSafeHttpsUrl(value) {
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
79
79
|
const defaultEnhancerLoaders = {
|
|
80
|
-
accordion: () => import("./accordion-
|
|
81
|
-
headerSection: () => import("./headerSection-
|
|
82
|
-
carousel: () => import("./carousel-
|
|
83
|
-
form: () => import("./form-
|
|
84
|
-
"booking-form": () => import("./bookingForm-
|
|
85
|
-
"event-registration": () => import("./eventRegistration-
|
|
86
|
-
"event-details": () => import("./eventDetails-
|
|
87
|
-
"event-listing": () => import("./eventListing-
|
|
88
|
-
"event-calendar": () => import("./eventCalendar-
|
|
89
|
-
"event-combined": () => import("./eventCombined-
|
|
90
|
-
"product-list": () => import("./productList-
|
|
91
|
-
"product-detail": () => import("./productDetail-
|
|
92
|
-
"cart": () => import("./cart-
|
|
93
|
-
"checkout": () => import("./checkout-
|
|
94
|
-
shop: () => import("./shop-
|
|
95
|
-
"newsletter-form": () => import("./newsletterForm-
|
|
80
|
+
accordion: () => import("./accordion-3CYNWzTS.mjs"),
|
|
81
|
+
headerSection: () => import("./headerSection-f16OGkz-.mjs"),
|
|
82
|
+
carousel: () => import("./carousel-Cu5mcpO-.mjs"),
|
|
83
|
+
form: () => import("./form-L-xZOBUS.mjs"),
|
|
84
|
+
"booking-form": () => import("./bookingForm-2MoFBWSt.mjs"),
|
|
85
|
+
"event-registration": () => import("./eventRegistration-Lfyzh1Ab.mjs"),
|
|
86
|
+
"event-details": () => import("./eventDetails-DL08GpUc.mjs"),
|
|
87
|
+
"event-listing": () => import("./eventListing-BfzuEQp_.mjs"),
|
|
88
|
+
"event-calendar": () => import("./eventCalendar-BTDTMosr.mjs"),
|
|
89
|
+
"event-combined": () => import("./eventCombined-BC7a709c.mjs"),
|
|
90
|
+
"product-list": () => import("./productList-CSk8sXCl.mjs"),
|
|
91
|
+
"product-detail": () => import("./productDetail-BD42UOmG.mjs"),
|
|
92
|
+
"cart": () => import("./cart-CDc6x9cR.mjs"),
|
|
93
|
+
"checkout": () => import("./checkout-CkxPqSwD.mjs"),
|
|
94
|
+
shop: () => import("./shop-DscvMz86.mjs"),
|
|
95
|
+
"newsletter-form": () => import("./newsletterForm-BEU0Ocu9.mjs")
|
|
96
96
|
};
|
|
97
97
|
const DEFAULT_MAX_RETRIES = 2;
|
|
98
98
|
const RETRY_DELAYS_MS = [250, 1e3];
|
package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-rUqsBN7L.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { Kt as RichText } from "./wizardSteps-
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-DManVJpc.mjs";
|
|
4
4
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
5
5
|
import { useCallback, useEffect, useId, useReducer, useRef } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, v as isToday } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { an as formatEventPrice } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
4
4
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
5
|
-
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-
|
|
6
|
-
import { ut as formatDate } from "./noop-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-DManVJpc.mjs";
|
|
6
|
+
import { ut as formatDate } from "./noop-CQU7tiMg.mjs";
|
|
7
|
+
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-Bw-al3cs.mjs";
|
|
8
|
+
import { o as formatEventTeacherLine } from "./EventItem-dILw2PN_.mjs";
|
|
9
|
+
import { i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
10
10
|
import "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
|
package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
|
|
3
2
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-
|
|
5
|
-
import {
|
|
3
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-CQU7tiMg.mjs";
|
|
4
|
+
import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
5
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-DlTC4J2a.mjs";
|
|
6
6
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
9
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-CBV21-9L.mjs";
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-D0veHJyi.mjs";
|
|
10
10
|
import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../core/src/site-terms.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink } from "./ThemedButton-
|
|
2
|
+
import { i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { g as resolveCalendarReadProfile } from "./noop-
|
|
6
|
-
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { i as useEventCollectionFilters } from "./useEventPagination-
|
|
10
|
-
import { n as EventListingController } from "./EventListing.client-
|
|
11
|
-
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-
|
|
3
|
+
import { Tt as buildEventCalendarListingRender, Vt as buildEventRuntimeFilters, nn as buildEventListWeek, rn as eventListWeekDays } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
4
|
+
import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { g as resolveCalendarReadProfile } from "./noop-CQU7tiMg.mjs";
|
|
6
|
+
import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-Dynh5-j4.mjs";
|
|
7
|
+
import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-YGzw2IPB.mjs";
|
|
8
|
+
import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
9
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-BfM3xk6j.mjs";
|
|
10
|
+
import { n as EventListingController } from "./EventListing.client-BNueAHmU.mjs";
|
|
11
|
+
import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-6cfAVtnZ.mjs";
|
|
12
12
|
import React, { useEffect, useMemo, useState } from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
|
|
@@ -490,8 +490,15 @@ function EventCalendarWeekListClient({ render }) {
|
|
|
490
490
|
display.startOfWeek,
|
|
491
491
|
context.timeZone
|
|
492
492
|
]);
|
|
493
|
+
const listing = buildEventCalendarListingRender(render);
|
|
493
494
|
return /* @__PURE__ */ jsx(EventListingController, {
|
|
494
|
-
render:
|
|
495
|
+
render: {
|
|
496
|
+
...listing,
|
|
497
|
+
display: {
|
|
498
|
+
...listing.display,
|
|
499
|
+
week: eventListWeekDays(current, today, context.timeZone)
|
|
500
|
+
}
|
|
501
|
+
},
|
|
495
502
|
week: {
|
|
496
503
|
dateWindow: {
|
|
497
504
|
initial,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-
|
|
5
|
-
import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { Bt as toError, Ht as getEventRuntimeFiltersKey, Vt as buildEventRuntimeFilters, jt as eventListingBlockRuntime } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
4
|
+
import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-CQU7tiMg.mjs";
|
|
6
|
+
import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-YGzw2IPB.mjs";
|
|
7
|
+
import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
9
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
10
|
-
import { t as TabBarFragment } from "./TabBarFragment-
|
|
11
|
-
import { n as useBlockApi } from "./context-
|
|
12
|
-
import {
|
|
10
|
+
import { t as TabBarFragment } from "./TabBarFragment-C_kt-PXh.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-CBV21-9L.mjs";
|
|
12
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-BfM3xk6j.mjs";
|
|
13
13
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { t as checkBrowserStripeKey } from "./purchase-BV5xfaZH.mjs";
|
|
3
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
3
4
|
import { useEffect, useRef, useState } from "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
//#region \0rolldown/runtime.js
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { Jt as CardListContentPart, Xt as resolveCardListSchedule, Yt as CardListLeadDate, Zt as selectCardListPresentation, an as formatEventPrice } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
|
+
import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-DManVJpc.mjs";
|
|
4
|
+
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-Bw-al3cs.mjs";
|
|
5
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
@@ -90,6 +90,12 @@ const eventItemParts = {
|
|
|
90
90
|
"description",
|
|
91
91
|
"action"
|
|
92
92
|
],
|
|
93
|
+
"week-columns": [
|
|
94
|
+
"time",
|
|
95
|
+
"title",
|
|
96
|
+
"meta",
|
|
97
|
+
"places"
|
|
98
|
+
],
|
|
93
99
|
grid: [
|
|
94
100
|
"image",
|
|
95
101
|
"date",
|
|
@@ -116,11 +122,17 @@ const eventItemParts = {
|
|
|
116
122
|
function eventItemFacts(props) {
|
|
117
123
|
const options = eventDateOptions(props.event);
|
|
118
124
|
const availability = getEventAvailabilityStatus(props.event);
|
|
125
|
+
const time = formatEventTimeRange(props.event, options);
|
|
126
|
+
const price = formatEventPrice(props.event);
|
|
119
127
|
return {
|
|
120
128
|
date: formatEventCompactDateRail(props.event.startsAt, options, "as-written"),
|
|
121
|
-
time
|
|
122
|
-
price
|
|
123
|
-
|
|
129
|
+
time,
|
|
130
|
+
price,
|
|
131
|
+
link: resolveEventLinkProps(props.event),
|
|
132
|
+
meta: eventItemMeta(props, {
|
|
133
|
+
time,
|
|
134
|
+
price
|
|
135
|
+
}),
|
|
124
136
|
venueIcon: props.arrangement === "compact" && props.showVenue !== false && Boolean(props.event.venue),
|
|
125
137
|
places: props.showCapacity ? formatEventRemainingPlaces(props.event, { full: "Sold out" }) : null,
|
|
126
138
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
@@ -128,12 +140,12 @@ function eventItemFacts(props) {
|
|
|
128
140
|
};
|
|
129
141
|
}
|
|
130
142
|
/** Compact rows keep pricing in the details rail and time in the action rail. */
|
|
131
|
-
function eventItemMeta(props) {
|
|
143
|
+
function eventItemMeta(props, formatted) {
|
|
132
144
|
const parts = props.parts ?? eventItemParts[props.arrangement];
|
|
133
145
|
const venue = props.showVenue !== false ? props.event.venue?.name : null;
|
|
134
146
|
const teacher = formatEventTeacherLine(props.event);
|
|
135
|
-
const time = parts.includes("time") ? null :
|
|
136
|
-
const price = props.arrangement === "compact" && !parts.includes("price") ?
|
|
147
|
+
const time = parts.includes("time") ? null : formatted.time;
|
|
148
|
+
const price = props.arrangement === "compact" && !parts.includes("price") ? formatted.price : null;
|
|
137
149
|
return (props.arrangement === "compact" ? [
|
|
138
150
|
venue,
|
|
139
151
|
teacher,
|
|
@@ -195,11 +207,11 @@ function renderCalendarTrailingParts(props, parts, renderPart) {
|
|
|
195
207
|
}) : content;
|
|
196
208
|
}
|
|
197
209
|
function eventItemTag(arrangement) {
|
|
198
|
-
return arrangement === "ledger" || arrangement === "day-groups" ? "li" : "article";
|
|
210
|
+
return arrangement === "ledger" || arrangement === "day-groups" || arrangement === "week-columns" ? "li" : "article";
|
|
199
211
|
}
|
|
200
212
|
function renderEventItemContentPart({ part, props, facts }) {
|
|
201
213
|
switch (part) {
|
|
202
|
-
case "image": return renderEventItemImage(props);
|
|
214
|
+
case "image": return renderEventItemImage(props, facts.link);
|
|
203
215
|
case "date": return /* @__PURE__ */ jsxs("time", {
|
|
204
216
|
...listLookSlot(props, "date"),
|
|
205
217
|
dateTime: props.event.startsAt,
|
|
@@ -222,7 +234,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
222
234
|
case "title": return /* @__PURE__ */ jsx("h3", {
|
|
223
235
|
...listLookSlot(props, "item-title"),
|
|
224
236
|
children: /* @__PURE__ */ jsx("a", {
|
|
225
|
-
...
|
|
237
|
+
...facts.link,
|
|
226
238
|
children: props.event.title
|
|
227
239
|
})
|
|
228
240
|
});
|
|
@@ -250,8 +262,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
250
262
|
item: {
|
|
251
263
|
id: props.event.id,
|
|
252
264
|
title: props.event.title,
|
|
253
|
-
text: facts.description
|
|
254
|
-
action: { label: "" }
|
|
265
|
+
text: facts.description
|
|
255
266
|
},
|
|
256
267
|
presentation: props
|
|
257
268
|
});
|
|
@@ -273,8 +284,7 @@ function renderEventItemMeta({ props, facts }) {
|
|
|
273
284
|
]
|
|
274
285
|
}) : null;
|
|
275
286
|
}
|
|
276
|
-
function renderEventItemImage(props) {
|
|
277
|
-
const link = resolveEventLinkProps(props.event);
|
|
287
|
+
function renderEventItemImage(props, link) {
|
|
278
288
|
return /* @__PURE__ */ jsx(CardListContentPart, {
|
|
279
289
|
part: "media",
|
|
280
290
|
item: {
|
package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-ClgLtjNY.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
2
|
+
import { Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
4
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-
|
|
2
|
+
import { Vt as buildEventRuntimeFilters } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-ClgLtjNY.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-BfM3xk6j.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
2
|
+
import { Qt as MediaNodeServer, an as formatEventPrice, in as weekColumnDays } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
|
+
import { Dn as getTextColorForBackground, W as normalizeCardRole, an as resolveOnColorForThemeToken, dt as boxBackgroundSchema, ft as runtimeBoxBackgroundSchema, in as isCssColorLiteral, sn as resolveTokenOrCssColorValue, ut as boxBackgroundOverlaySchema } from "./schema-BdSglH2X.mjs";
|
|
4
|
+
import { Ir as resolvedItemSurfaceProps, Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveDatedSeriesCta } from "./cta-Bw-al3cs.mjs";
|
|
6
|
+
import { a as MapPinIcon, i as CalendarIcon, o as formatEventTeacherLine, r as EventItem } from "./EventItem-dILw2PN_.mjs";
|
|
7
|
+
import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
8
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-D1AO_o4h.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
@@ -374,7 +374,7 @@ function eventCardCategoryBadge(category) {
|
|
|
374
374
|
*
|
|
375
375
|
* This component is server-safe (uses no client APIs like Intl).
|
|
376
376
|
*/
|
|
377
|
-
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, itemSurfaces, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext }) => {
|
|
377
|
+
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, itemSurfaces, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, upcomingDates }) => {
|
|
378
378
|
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
379
379
|
event,
|
|
380
380
|
presentation,
|
|
@@ -384,7 +384,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
384
384
|
showCategory,
|
|
385
385
|
showImage,
|
|
386
386
|
showCapacity,
|
|
387
|
-
orientation
|
|
387
|
+
orientation,
|
|
388
|
+
upcomingDates
|
|
388
389
|
});
|
|
389
390
|
return /* @__PURE__ */ jsxs("article", {
|
|
390
391
|
...listLookSlot({
|
|
@@ -653,13 +654,13 @@ function EventLookDate({ event, ...presentation }) {
|
|
|
653
654
|
})]
|
|
654
655
|
});
|
|
655
656
|
}
|
|
656
|
-
function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation }) {
|
|
657
|
+
function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation, upcomingDates }) {
|
|
657
658
|
const { presentation: cardPresentation, presentationClass, headingLevel: cardHeadingLevel } = resolveEventCardOptions({
|
|
658
659
|
presentation,
|
|
659
660
|
headingLevel
|
|
660
661
|
});
|
|
661
662
|
const { formattedDate, formattedTime } = formatEventCardWhen(event);
|
|
662
|
-
const cta =
|
|
663
|
+
const cta = resolveDatedSeriesCta(event, upcomingDates ?? [], buttonText);
|
|
663
664
|
const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
|
|
664
665
|
const title = event.title;
|
|
665
666
|
const summary = event.presentation?.summary ?? event.description;
|
|
@@ -843,7 +844,11 @@ function EventListBody({ display, renderEventCard, footer }) {
|
|
|
843
844
|
className: display.containerClass,
|
|
844
845
|
children: display.events.map(renderEventCard)
|
|
845
846
|
});
|
|
846
|
-
if (display.listLayout === "
|
|
847
|
+
if (display.listLayout === "week-columns" && display.week !== void 0) return /* @__PURE__ */ jsx(WeekColumns, {
|
|
848
|
+
display,
|
|
849
|
+
week: display.week
|
|
850
|
+
});
|
|
851
|
+
if (display.listLayout === "day-groups" || display.listLayout === "week-columns") return /* @__PURE__ */ jsx("ol", {
|
|
847
852
|
...listLookSlot(display, "list"),
|
|
848
853
|
children: display.events.filter((event, index, events) => events.findIndex((candidate) => eventLocalDateKey(candidate) === eventLocalDateKey(event)) === index).map((first) => {
|
|
849
854
|
const date = formatEventCompactDateRail(first.startsAt, eventDateOptions(first), "as-written");
|
|
@@ -900,6 +905,45 @@ function EventListBody({ display, renderEventCard, footer }) {
|
|
|
900
905
|
children: display.events.map(renderEventCard)
|
|
901
906
|
});
|
|
902
907
|
}
|
|
908
|
+
/** All seven days of the shown week; a day known to be empty says so, and a wholly empty week never reaches here. */
|
|
909
|
+
function WeekColumns({ display, week }) {
|
|
910
|
+
const todayMark = display.itemSurfaces?.today;
|
|
911
|
+
return /* @__PURE__ */ jsx("ol", {
|
|
912
|
+
...listLookSlot(display, "list"),
|
|
913
|
+
children: weekColumnDays(week, display.events, display.allLoaded === true).map((day) => /* @__PURE__ */ jsxs("li", {
|
|
914
|
+
...listLookSlot(display, "group"),
|
|
915
|
+
...day.isToday ? { "data-today": "true" } : {},
|
|
916
|
+
children: [/* @__PURE__ */ jsxs("h3", {
|
|
917
|
+
...listLookSlot(display, "group-label"),
|
|
918
|
+
children: [
|
|
919
|
+
/* @__PURE__ */ jsxs("span", {
|
|
920
|
+
...listLookSlot(display, "group-day"),
|
|
921
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
922
|
+
"aria-hidden": "true",
|
|
923
|
+
children: day.label.weekday
|
|
924
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
925
|
+
className: "rb-sr-only",
|
|
926
|
+
children: day.label.fullWeekday
|
|
927
|
+
})]
|
|
928
|
+
}),
|
|
929
|
+
" ",
|
|
930
|
+
/* @__PURE__ */ jsx("span", {
|
|
931
|
+
...listLookSlot(display, "group-date"),
|
|
932
|
+
...day.isToday && todayMark !== void 0 && display.lookSlots?.["group-date"] !== void 0 ? resolvedItemSurfaceProps(todayMark, "group-date") : {},
|
|
933
|
+
children: day.label.day
|
|
934
|
+
})
|
|
935
|
+
]
|
|
936
|
+
}), day.sessions.kind === "some" ? /* @__PURE__ */ jsx("ol", { children: day.sessions.events.map((event) => /* @__PURE__ */ jsx(EventItem, {
|
|
937
|
+
...listItemPresentation(display, display.events.indexOf(event), display.events.length),
|
|
938
|
+
event,
|
|
939
|
+
arrangement: "week-columns"
|
|
940
|
+
}, event.occurrenceId || event.id)) }) : day.sessions.kind === "none" ? /* @__PURE__ */ jsx("p", {
|
|
941
|
+
...listLookSlot(display, "group-empty"),
|
|
942
|
+
children: "Nothing on"
|
|
943
|
+
}) : null]
|
|
944
|
+
}, day.dateKey))
|
|
945
|
+
});
|
|
946
|
+
}
|
|
903
947
|
function hasArrangementPanel(display) {
|
|
904
948
|
return display.state === "ready" && display.lookSlots !== void 0 && display.listLayout === "compact";
|
|
905
949
|
}
|