@riverbankcms/sdk 0.172.0 → 0.173.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
- package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
- package/dist/client/bookability-SargNwlO.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
- package/dist/client/client.mjs +52 -4
- package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +24 -55
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
- package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
- package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +1 -1
- 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-CPV30ABr.mjs} +48 -0
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
- package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- 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-BIJb3WAK.mjs} +5 -6
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
- package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
- package/dist/styles/index.css +174 -0
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs}
RENAMED
|
@@ -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-P8xcfKxq.mjs"),
|
|
81
|
+
headerSection: () => import("./headerSection-BtFWtoUm.mjs"),
|
|
82
|
+
carousel: () => import("./carousel-CQQ_m0KA.mjs"),
|
|
83
|
+
form: () => import("./form-DO6qKH3M.mjs"),
|
|
84
|
+
"booking-form": () => import("./bookingForm-JnaZPZge.mjs"),
|
|
85
|
+
"event-registration": () => import("./eventRegistration-WhtpDEbq.mjs"),
|
|
86
|
+
"event-details": () => import("./eventDetails-BJpAD10-.mjs"),
|
|
87
|
+
"event-listing": () => import("./eventListing-jLB8iRqp.mjs"),
|
|
88
|
+
"event-calendar": () => import("./eventCalendar-BiCINPkV.mjs"),
|
|
89
|
+
"event-combined": () => import("./eventCombined-BtzmH6FW.mjs"),
|
|
90
|
+
"product-list": () => import("./productList-CMx4-XlG.mjs"),
|
|
91
|
+
"product-detail": () => import("./productDetail-DaqM-LgL.mjs"),
|
|
92
|
+
"cart": () => import("./cart-0Q4fjw_K.mjs"),
|
|
93
|
+
"checkout": () => import("./checkout-1J-3ftxF.mjs"),
|
|
94
|
+
shop: () => import("./shop-Cy6xXDM7.mjs"),
|
|
95
|
+
"newsletter-form": () => import("./newsletterForm-CBYbFxSx.mjs")
|
|
96
96
|
};
|
|
97
97
|
const DEFAULT_MAX_RETRIES = 2;
|
|
98
98
|
const RETRY_DELAYS_MS = [250, 1e3];
|
|
@@ -167,7 +167,7 @@ function isRetryableError(error) {
|
|
|
167
167
|
* a transport envelope, which keeps it out of the hydrator's first-load graph.
|
|
168
168
|
*/
|
|
169
169
|
async function restoreSurfaceTransport(rawProps) {
|
|
170
|
-
const { restoreRuntimeResponse } = await import("./runtimeResponse-
|
|
170
|
+
const { restoreRuntimeResponse } = await import("./runtimeResponse-Wd6kwhE_.mjs");
|
|
171
171
|
return restoreRuntimeResponse(rawProps);
|
|
172
172
|
}
|
|
173
173
|
function decodeLoadedProps(mod, props) {
|
package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Aa as requestSignIn, cr as decideSignInReturn, dr as signInReturnPath, fr as sweepExpiredSignInReturnDrafts, lr as nextSignInReturnExpiry, or as clearSignInReturnDrafts, ur as readSignInReturn, vr as RichText } from "./display-lL-YRApN.mjs";
|
|
3
3
|
import { p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
4
|
-
import { c as NavigationHandOffPanel } from "./DemoBookingPortalAccess-
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-
|
|
4
|
+
import { c as NavigationHandOffPanel } from "./DemoBookingPortalAccess-CARUWQ_E.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi, r as useBlockApiOptional } from "./context-D0KCgbOq.mjs";
|
|
6
6
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
7
|
-
import { a as DemoPortalSignInLink, t as BookingQuestionFields } from "./BookingQuestionFields-
|
|
7
|
+
import { a as DemoPortalSignInLink, t as BookingQuestionFields } from "./BookingQuestionFields-BewbU_cV.mjs";
|
|
8
8
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
9
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
9
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-CL7KGRta.mjs";
|
|
10
10
|
import { n as getBookingMailingListNoteCopy } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import * as React$1 from "react";
|
|
12
12
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
@@ -78,7 +78,7 @@ function PaymentChoiceRows(props) {
|
|
|
78
78
|
* the appointment booking form and event registration.
|
|
79
79
|
*/
|
|
80
80
|
function useBookingQuestionsRefresh(input) {
|
|
81
|
-
const { api, dispatch, identity, targetKey } = input;
|
|
81
|
+
const { api, dispatch, identity, onFailed, targetKey } = input;
|
|
82
82
|
const targetRef = useRef(input.target);
|
|
83
83
|
useLayoutEffect(() => {
|
|
84
84
|
targetRef.current = input.target;
|
|
@@ -95,7 +95,12 @@ function useBookingQuestionsRefresh(input) {
|
|
|
95
95
|
identity,
|
|
96
96
|
presentation
|
|
97
97
|
});
|
|
98
|
-
}).catch(() => {
|
|
98
|
+
}).catch(() => {
|
|
99
|
+
if (request.live) onFailed?.({
|
|
100
|
+
targetKey,
|
|
101
|
+
identity
|
|
102
|
+
});
|
|
103
|
+
});
|
|
99
104
|
return () => {
|
|
100
105
|
request.live = false;
|
|
101
106
|
};
|
|
@@ -103,6 +108,7 @@ function useBookingQuestionsRefresh(input) {
|
|
|
103
108
|
api,
|
|
104
109
|
dispatch,
|
|
105
110
|
identity,
|
|
111
|
+
onFailed,
|
|
106
112
|
reading,
|
|
107
113
|
targetKey
|
|
108
114
|
]);
|
package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { pr as bookingPresentation } from "./display-lL-YRApN.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StepIndicator.tsx
|
package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { sn as toUtcIsoDateTimeString } from "./noop-CN0o0yjH.mjs";
|
|
3
3
|
import { s as getInitialFieldValue } from "./creditProducts-BTRX4edc.mjs";
|
|
4
|
-
import { i as BlockApiError } from "./context-
|
|
4
|
+
import { i as BlockApiError } from "./context-D0KCgbOq.mjs";
|
|
5
5
|
import { i as ThemedButtonLink } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
7
7
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { nn as formatEventPrice } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { Gr as formatTime, Ha as listItemPresentation, Kr as groupEventsByDate, Nr as eventDateOptions, Wa as listLookSlot, Zr as formatEventRemainingPlaces, qr as resolveEventTimeZone, ri as isEventFull } from "./display-lL-YRApN.mjs";
|
|
4
|
+
import { Rt as formatDate, tn as parseBookingLocalDate } from "./noop-CN0o0yjH.mjs";
|
|
5
5
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
6
6
|
import { d as formatDateKey, v as isToday } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { i as ThemedButtonLink } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import { n as resolveEventCta,
|
|
9
|
-
import { o as formatEventLocation } from "./MapDrawingSvg-
|
|
10
|
-
import { l as formatEventTeacherLine, r as EventItem } from "./EventItem-
|
|
8
|
+
import { c as resolveEventLinkProps, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-CmOuoZHN.mjs";
|
|
9
|
+
import { o as formatEventLocation } from "./MapDrawingSvg-DCLtxOnt.mjs";
|
|
10
|
+
import { l as formatEventTeacherLine, r as EventItem } from "./EventItem-Doe4KodB.mjs";
|
|
11
11
|
import "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region ../blocks/src/system/runtime/nodes/events/domain/monthDay.ts
|
|
@@ -64,7 +64,7 @@ function MonthEvent({ event, timeZone, locale, presentation }) {
|
|
|
64
64
|
" ",
|
|
65
65
|
/* @__PURE__ */ jsx("span", {
|
|
66
66
|
...listLookSlot(presentation, "what"),
|
|
67
|
-
children: event
|
|
67
|
+
children: eventDisplayTitleText(event)
|
|
68
68
|
})
|
|
69
69
|
]
|
|
70
70
|
});
|
|
@@ -251,7 +251,7 @@ function AgendaModalCard({ event, showCapacity, calendarTimeZone, onClick }) {
|
|
|
251
251
|
}))
|
|
252
252
|
}), /* @__PURE__ */ jsx("span", {
|
|
253
253
|
className: "event-agenda-card-title",
|
|
254
|
-
children: event
|
|
254
|
+
children: eventDisplayTitleText(event)
|
|
255
255
|
})]
|
|
256
256
|
}), /* @__PURE__ */ jsxs("div", {
|
|
257
257
|
className: "event-agenda-card-details status-muted",
|
|
@@ -305,33 +305,40 @@ function AgendaLinkCard({ event, showCapacity, showVenue, buttonVariant, buttonT
|
|
|
305
305
|
}),
|
|
306
306
|
/* @__PURE__ */ jsxs("div", {
|
|
307
307
|
className: "event-agenda-card-content",
|
|
308
|
-
children: [
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
315
|
-
className: "event-agenda-card-details status-muted",
|
|
316
|
-
children: [
|
|
317
|
-
showVenue ? /* @__PURE__ */ jsxs("span", {
|
|
318
|
-
className: "event-agenda-card-location",
|
|
319
|
-
children: [/* @__PURE__ */ jsx(LocationIcon, {}), location]
|
|
320
|
-
}) : null,
|
|
321
|
-
/* @__PURE__ */ jsx("span", {
|
|
322
|
-
className: "event-agenda-card-duration",
|
|
323
|
-
children: duration
|
|
324
|
-
}),
|
|
325
|
-
teacherLine && /* @__PURE__ */ jsx("span", {
|
|
326
|
-
className: "event-agenda-card-teacher",
|
|
327
|
-
children: teacherLine
|
|
328
|
-
}),
|
|
329
|
-
capacity && /* @__PURE__ */ jsx("span", {
|
|
330
|
-
className: `event-agenda-card-capacity ${isEventFull(event) ? "event-agenda-card-capacity--full status-error" : ""}`,
|
|
331
|
-
children: capacity
|
|
308
|
+
children: [
|
|
309
|
+
/* @__PURE__ */ jsx("h5", {
|
|
310
|
+
className: "event-agenda-card-title",
|
|
311
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
312
|
+
...eventLinkProps,
|
|
313
|
+
children: eventDisplayTitle(event).title
|
|
332
314
|
})
|
|
333
|
-
|
|
334
|
-
|
|
315
|
+
}),
|
|
316
|
+
eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
|
|
317
|
+
className: "event-agenda-card-run-name rb-caption",
|
|
318
|
+
children: eventDisplayTitle(event).runName
|
|
319
|
+
}) : null,
|
|
320
|
+
/* @__PURE__ */ jsxs("div", {
|
|
321
|
+
className: "event-agenda-card-details status-muted",
|
|
322
|
+
children: [
|
|
323
|
+
showVenue ? /* @__PURE__ */ jsxs("span", {
|
|
324
|
+
className: "event-agenda-card-location",
|
|
325
|
+
children: [/* @__PURE__ */ jsx(LocationIcon, {}), location]
|
|
326
|
+
}) : null,
|
|
327
|
+
/* @__PURE__ */ jsx("span", {
|
|
328
|
+
className: "event-agenda-card-duration",
|
|
329
|
+
children: duration
|
|
330
|
+
}),
|
|
331
|
+
teacherLine && /* @__PURE__ */ jsx("span", {
|
|
332
|
+
className: "event-agenda-card-teacher",
|
|
333
|
+
children: teacherLine
|
|
334
|
+
}),
|
|
335
|
+
capacity && /* @__PURE__ */ jsx("span", {
|
|
336
|
+
className: `event-agenda-card-capacity ${isEventFull(event) ? "event-agenda-card-capacity--full status-error" : ""}`,
|
|
337
|
+
children: capacity
|
|
338
|
+
})
|
|
339
|
+
]
|
|
340
|
+
})
|
|
341
|
+
]
|
|
335
342
|
}),
|
|
336
343
|
/* @__PURE__ */ jsxs("div", {
|
|
337
344
|
className: "event-agenda-card-action",
|
package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-
|
|
2
|
+
import { Oa as leavePage } from "./display-lL-YRApN.mjs";
|
|
3
|
+
import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-CN0o0yjH.mjs";
|
|
4
4
|
import { p as assertNever } from "./creditProducts-BTRX4edc.mjs";
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-D0KCgbOq.mjs";
|
|
6
6
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
7
7
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
8
8
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
9
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
10
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
10
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-CL7KGRta.mjs";
|
|
11
11
|
import React, { useCallback, useEffect, useId, useMemo, useReducer, useState } from "react";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region ../core/src/site-terms.ts
|
|
@@ -21,6 +21,22 @@ function siteTermsChangedMessage(businessName) {
|
|
|
21
21
|
return `${businessName} updated their booking terms while you were booking. Please have a look and tick the box again.`;
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
+
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
25
|
+
function discountAvailabilityHasDiscounts(availability) {
|
|
26
|
+
return availability.type !== "none";
|
|
27
|
+
}
|
|
28
|
+
function discountAvailabilityAllowsManualEntry(availability) {
|
|
29
|
+
return "manualCodeEntryAllowed" in availability && availability.manualCodeEntryAllowed;
|
|
30
|
+
}
|
|
31
|
+
function getAutoAppliedDiscountPreview(availability) {
|
|
32
|
+
switch (availability.type) {
|
|
33
|
+
case "none":
|
|
34
|
+
case "manual": return null;
|
|
35
|
+
case "auto":
|
|
36
|
+
case "auto_and_manual": return availability.autoAppliedDiscount;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
24
40
|
//#region ../blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.tsx
|
|
25
41
|
const BLOCK_DISCOUNT_CODE_DISCLOSURE_CLASSES = { "event-registration": {
|
|
26
42
|
root: "er-discount",
|
|
@@ -137,22 +153,6 @@ function DiscountCodeDisclosure({ surface, isOpen, code, onOpen, onChange, onRem
|
|
|
137
153
|
});
|
|
138
154
|
}
|
|
139
155
|
//#endregion
|
|
140
|
-
//#region ../blocks/src/system/runtime/api/types/discounts.ts
|
|
141
|
-
function discountAvailabilityHasDiscounts(availability) {
|
|
142
|
-
return availability.type !== "none";
|
|
143
|
-
}
|
|
144
|
-
function discountAvailabilityAllowsManualEntry(availability) {
|
|
145
|
-
return "manualCodeEntryAllowed" in availability && availability.manualCodeEntryAllowed;
|
|
146
|
-
}
|
|
147
|
-
function getAutoAppliedDiscountPreview(availability) {
|
|
148
|
-
switch (availability.type) {
|
|
149
|
-
case "none":
|
|
150
|
-
case "manual": return null;
|
|
151
|
-
case "auto":
|
|
152
|
-
case "auto_and_manual": return availability.autoAppliedDiscount;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
156
|
//#region ../blocks/src/system/runtime/shared/navigation/NavigationHandOffPanel.tsx
|
|
157
157
|
function NavigationHandOffPanel(props) {
|
|
158
158
|
const [opened, setOpened] = useState(false);
|
|
@@ -741,4 +741,4 @@ function handlePortalAccessError(error) {
|
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
743
|
//#endregion
|
|
744
|
-
export { siteTermsFailureKind as a, NavigationHandOffPanel as c,
|
|
744
|
+
export { siteTermsFailureKind as a, NavigationHandOffPanel as c, discountAvailabilityHasDiscounts as d, getAutoAppliedDiscountPreview as f, SiteTermsChangedNotice as i, DiscountCodeDisclosure as l, DemoBookingPortalAccess as n, useSiteTermsAgreement as o, SiteTermsAgreementField as r, eventSiteTermsSurface as s, BookingConfirmation as t, discountAvailabilityAllowsManualEntry as u };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Mt as buildEventRuntimeFilters, Xt as buildEventListWeek, Zt as eventListWeekDays, ht as buildEventCalendarListingRender } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { h as resolveCalendarReadProfile } from "./noop-
|
|
5
|
-
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-
|
|
2
|
+
import { Mt as buildEventRuntimeFilters, Xt as buildEventListWeek, Zt as eventListWeekDays, ht as buildEventCalendarListingRender } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { Br as formatEventHourLabel, Kr as groupEventsByDate } from "./display-lL-YRApN.mjs";
|
|
4
|
+
import { h as resolveCalendarReadProfile } from "./noop-CN0o0yjH.mjs";
|
|
5
|
+
import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-CZeJwMxP.mjs";
|
|
6
6
|
import { d as formatDateKey, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { n as eventDisplayTitleText } from "./course-CmOuoZHN.mjs";
|
|
9
|
+
import { c as CalendarDayHeaders, n as WeekAgendaView, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-BMZp3RS3.mjs";
|
|
10
|
+
import { i as useEventCollectionFilters } from "./useEventPagination-CCAGQHsD.mjs";
|
|
11
|
+
import { n as EventListingController } from "./EventListing.client-DvJ5tGTx.mjs";
|
|
12
|
+
import { a as CalendarDayCell, c as MonthLookClient, d as useCalendarToday, i as useHydrationReady, l as EventModalProvider, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useEventModal } from "./EventCombined.client-CoRUaYHY.mjs";
|
|
12
13
|
import { useEffect, useMemo, useState } from "react";
|
|
13
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
15
|
//#region ../blocks/src/system/runtime/nodes/events/shared/WeekTimetableView.tsx
|
|
@@ -111,7 +112,7 @@ const TimetableDayColumn = ({ day, hours, rangeMinutes, selected, onEventClick,
|
|
|
111
112
|
const TimetableEventButton = ({ cell, onClick, showCapacity }) => /* @__PURE__ */ jsxs("button", {
|
|
112
113
|
type: "button",
|
|
113
114
|
className: "event-timetable-event",
|
|
114
|
-
title: `${cell.event
|
|
115
|
+
title: `${eventDisplayTitleText(cell.event)}, ${cell.timeLabel}`,
|
|
115
116
|
style: {
|
|
116
117
|
top: `${cell.topPercent}%`,
|
|
117
118
|
height: `${cell.heightPercent}%`,
|
|
@@ -127,7 +128,7 @@ const TimetableEventButton = ({ cell, onClick, showCapacity }) => /* @__PURE__ *
|
|
|
127
128
|
}),
|
|
128
129
|
/* @__PURE__ */ jsx("span", {
|
|
129
130
|
className: "event-timetable-event-title",
|
|
130
|
-
children: cell.event
|
|
131
|
+
children: eventDisplayTitleText(cell.event)
|
|
131
132
|
}),
|
|
132
133
|
cell.teacherLine ? /* @__PURE__ */ jsx("span", {
|
|
133
134
|
className: "event-timetable-event-teacher",
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Mt as buildEventRuntimeFilters, Nt as getEventRuntimeFiltersKey, St as eventListingBlockRuntime, jt as toError } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Mt as buildEventRuntimeFilters, Nt as getEventRuntimeFiltersKey, St as eventListingBlockRuntime, jt as toError } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { Ar as buildCalendarViewport, Gr as formatTime, Kr as groupEventsByDate, Nr as eventDateOptions, Ta as getBlockApiReadStage, Wa as listLookSlot, jr as eventCalendarWeekStart } from "./display-lL-YRApN.mjs";
|
|
4
|
+
import { Rt as formatDate, _t as calendarMonthDate, c as calendarMonthKey, d as calendarWindowBounds, en as getLocalScheduleDate, f as calendarWindowMonths$1, l as calendarPageResponseError, m as planCalendarMonthRanges, u as calendarQueryKey } from "./noop-CN0o0yjH.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-D0KCgbOq.mjs";
|
|
6
6
|
import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-xrjaKaCj.mjs";
|
|
7
7
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { n as eventDisplayTitleText } from "./course-CmOuoZHN.mjs";
|
|
9
|
+
import { a as combinedClassName, c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, r as AgendaEventCard, t as CalendarNavigationChevron, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-BMZp3RS3.mjs";
|
|
9
10
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
10
11
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
11
12
|
import { t as TabBarFragment } from "./TabBarFragment-BqfRLojo.mjs";
|
|
12
|
-
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-
|
|
13
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-CCAGQHsD.mjs";
|
|
13
14
|
import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
14
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
16
|
//#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
|
|
@@ -553,7 +554,7 @@ function CalendarDayEvents(props) {
|
|
|
553
554
|
children: [props.day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsxs("button", {
|
|
554
555
|
type: "button",
|
|
555
556
|
className: "event-calendar-event",
|
|
556
|
-
title: `${event
|
|
557
|
+
title: `${eventDisplayTitleText(event)} at ${formatTime(event.startsAt, eventDateOptions({
|
|
557
558
|
...event,
|
|
558
559
|
timeZone
|
|
559
560
|
}))}`,
|
|
@@ -569,7 +570,7 @@ function CalendarDayEvents(props) {
|
|
|
569
570
|
" ",
|
|
570
571
|
/* @__PURE__ */ jsx("span", {
|
|
571
572
|
className: "event-calendar-event-title",
|
|
572
|
-
children: event
|
|
573
|
+
children: eventDisplayTitleText(event)
|
|
573
574
|
})
|
|
574
575
|
]
|
|
575
576
|
}, event.occurrenceId || event.id)), props.day.moreCount > 0 && /* @__PURE__ */ jsxs("button", {
|
|
@@ -632,7 +633,7 @@ function EventModalCloseButton({ closeButtonRef, onClose }) {
|
|
|
632
633
|
*/
|
|
633
634
|
function EventDetailModal({ event, showCapacity, onClose, portalRoot, cardRole = "default", buttonVariant = "primary", buttonText, showMap = true }) {
|
|
634
635
|
return /* @__PURE__ */ jsx(ModalShell, {
|
|
635
|
-
title: event
|
|
636
|
+
title: eventDisplayTitleText(event) || "Event details",
|
|
636
637
|
titleId: "ec-event-modal-title",
|
|
637
638
|
onClose,
|
|
638
639
|
portal: portalRoot != null,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bt as CardListLeadDate, Gt as EventQuickFacts, Ht as resolveCardListSchedule, Ut as selectCardListPresentation,
|
|
3
|
-
import {
|
|
4
|
-
import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, st as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-
|
|
2
|
+
import { Bt as CardListLeadDate, Gt as EventQuickFacts, Ht as resolveCardListSchedule, Ut as selectCardListPresentation, nn as formatEventPrice, zt as CardListContentPart } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { Ha as listItemPresentation, Nr as eventDateOptions, Rr as formatEventCompactDateRail, Ur as formatEventTimeRange, Wa as listLookSlot, Wr as formatEventWeekdayTime, Zr as formatEventRemainingPlaces, ti as getEventAvailabilityStatus } from "./display-lL-YRApN.mjs";
|
|
4
|
+
import { R as isCssColorLiteral, V as resolveTokenOrCssColorValue, st as getTextColorForBackground, z as resolveOnColorForThemeToken } from "./accessibleSurfaces-D4DhWo9j.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { c as resolveEventLinkProps, s as resolveEventCta, t as eventDisplayTitle } from "./course-CmOuoZHN.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
|
|
@@ -193,7 +193,8 @@ function eventItemFacts(props) {
|
|
|
193
193
|
...props.eventRows === "day-schedule" ? { count: "always" } : {}
|
|
194
194
|
}) : null,
|
|
195
195
|
availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
|
|
196
|
-
description: props.event.presentation?.summary ?? props.event.description
|
|
196
|
+
description: props.event.presentation?.summary ?? props.event.description,
|
|
197
|
+
title: eventDisplayTitle(props.event)
|
|
197
198
|
};
|
|
198
199
|
}
|
|
199
200
|
/** Rows with a rail keep pricing in the details and time in the action rail. */
|
|
@@ -298,16 +299,24 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
298
299
|
})
|
|
299
300
|
]
|
|
300
301
|
});
|
|
301
|
-
case "title": return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
302
|
+
case "title": return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
303
|
+
/* @__PURE__ */ jsx("h3", {
|
|
304
|
+
...listLookSlot(props, "item-title"),
|
|
305
|
+
children: /* @__PURE__ */ jsx("a", {
|
|
306
|
+
...facts.link,
|
|
307
|
+
children: facts.title.title
|
|
308
|
+
})
|
|
309
|
+
}),
|
|
310
|
+
facts.title.runName ? /* @__PURE__ */ jsx("p", {
|
|
311
|
+
className: "rb-card-list-subtitle rb-caption",
|
|
312
|
+
"data-card-subtitle": true,
|
|
313
|
+
children: facts.title.runName
|
|
314
|
+
}) : null,
|
|
315
|
+
props.eventRows === "day-schedule" ? null : /* @__PURE__ */ jsx(EventQuickFacts, {
|
|
316
|
+
facts: props.event.facts,
|
|
317
|
+
context: "card"
|
|
306
318
|
})
|
|
307
|
-
})
|
|
308
|
-
facts: props.event.facts,
|
|
309
|
-
context: "card"
|
|
310
|
-
})] });
|
|
319
|
+
] });
|
|
311
320
|
case "time": return /* @__PURE__ */ jsxs("p", {
|
|
312
321
|
...listLookSlot(props, "time"),
|
|
313
322
|
children: [hasActionRail(props.arrangement) ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, props.arrangement === "week-groups" ? formatEventWeekdayTime(props.event) : facts.time]
|
|
@@ -331,7 +340,7 @@ function renderEventItemContentPart({ part, props, facts }) {
|
|
|
331
340
|
part: "text",
|
|
332
341
|
item: {
|
|
333
342
|
id: props.event.id,
|
|
334
|
-
title:
|
|
343
|
+
title: facts.title.title,
|
|
335
344
|
text: facts.description
|
|
336
345
|
},
|
|
337
346
|
presentation: props
|
|
@@ -359,7 +368,7 @@ function renderEventItemImage(props, link) {
|
|
|
359
368
|
part: "media",
|
|
360
369
|
item: {
|
|
361
370
|
id: props.event.id,
|
|
362
|
-
title: props.event.title,
|
|
371
|
+
title: eventDisplayTitle(props.event).title,
|
|
363
372
|
media: props.event.presentation?.image,
|
|
364
373
|
titleLink: link,
|
|
365
374
|
newTabHint: link.target === "_blank"
|
package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Wa as listLookSlot } from "./display-lL-YRApN.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 { Mt as buildEventRuntimeFilters } from "./shop.interactive-
|
|
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 { Mt as buildEventRuntimeFilters } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-CXWLKDfa.mjs";
|
|
4
|
+
import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CCAGQHsD.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 { $t as groupEventsByWeek, Gt as EventQuickFacts, Wt as MediaNodeServer, en as weekColumnDays,
|
|
3
|
-
import {
|
|
4
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
2
|
+
import { $t as groupEventsByWeek, Gt as EventQuickFacts, Wt as MediaNodeServer, en as weekColumnDays, nn as formatEventPrice } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
|
+
import { Ha as listItemPresentation, Ir as formatDate, Kr as groupEventsByDate, Nr as eventDateOptions, Pr as eventLocalDateKey, Rr as formatEventCompactDateRail, Ur as formatEventTimeRange, Vr as formatEventNextDateFact, Wa as listLookSlot, yr as ImagePresets } from "./display-lL-YRApN.mjs";
|
|
4
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-Cahps5kR.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, m as ClockIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
8
|
-
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-
|
|
6
|
+
import { c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, r as formatCourseDatesAfter, s as resolveEventCta, t as eventDisplayTitle } from "./course-CmOuoZHN.mjs";
|
|
7
|
+
import { a as eventVenuePlace, n as MapDrawingSvg } from "./MapDrawingSvg-DCLtxOnt.mjs";
|
|
8
|
+
import { c as MapPinIcon, l as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-Doe4KodB.mjs";
|
|
9
9
|
import "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
@@ -18,7 +18,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
18
18
|
* This component is server-safe (uses no client APIs like Intl).
|
|
19
19
|
*/
|
|
20
20
|
const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, now }) => {
|
|
21
|
-
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
21
|
+
const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, runName, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
|
|
22
22
|
event,
|
|
23
23
|
presentation,
|
|
24
24
|
headingLevel,
|
|
@@ -70,7 +70,8 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
|
|
|
70
70
|
showVenue,
|
|
71
71
|
summary,
|
|
72
72
|
teacherLine,
|
|
73
|
-
title
|
|
73
|
+
title,
|
|
74
|
+
runName
|
|
74
75
|
})]
|
|
75
76
|
});
|
|
76
77
|
};
|
|
@@ -123,6 +124,8 @@ function EventCardMedia(props) {
|
|
|
123
124
|
}
|
|
124
125
|
function EventCardContent(props) {
|
|
125
126
|
const { event } = props;
|
|
127
|
+
const courseSessions = formatCourseSessions(event);
|
|
128
|
+
const moreDates = formatCourseDatesAfter(event);
|
|
126
129
|
const Heading = props.headingLevel === 4 ? "h4" : "h3";
|
|
127
130
|
return /* @__PURE__ */ jsxs("div", {
|
|
128
131
|
...listLookSlot(props, "item-body"),
|
|
@@ -143,6 +146,10 @@ function EventCardContent(props) {
|
|
|
143
146
|
children: props.title
|
|
144
147
|
})
|
|
145
148
|
}),
|
|
149
|
+
props.runName ? /* @__PURE__ */ jsx("p", {
|
|
150
|
+
className: "event-card-run-name rb-caption rb-mb-3",
|
|
151
|
+
children: props.runName
|
|
152
|
+
}) : null,
|
|
146
153
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
147
154
|
facts: event.facts,
|
|
148
155
|
context: "card"
|
|
@@ -152,10 +159,21 @@ function EventCardContent(props) {
|
|
|
152
159
|
className: "rb-mb-2 rb-caption",
|
|
153
160
|
children: /* @__PURE__ */ jsxs("div", {
|
|
154
161
|
className: "rb-flex rb-items-center rb-gap-2",
|
|
155
|
-
children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
children: [/* @__PURE__ */ jsx(CalendarIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("div", { children: [
|
|
163
|
+
/* @__PURE__ */ jsx("time", { children: props.formattedDate }),
|
|
164
|
+
moreDates ? /* @__PURE__ */ jsxs("span", {
|
|
165
|
+
className: "event-card-more-dates",
|
|
166
|
+
children: [" ", moreDates]
|
|
167
|
+
}) : null,
|
|
168
|
+
/* @__PURE__ */ jsx("p", {
|
|
169
|
+
className: "rb-pl-6",
|
|
170
|
+
children: props.formattedTime
|
|
171
|
+
}),
|
|
172
|
+
courseSessions ? /* @__PURE__ */ jsx("p", {
|
|
173
|
+
className: "event-card-course-sessions rb-pl-6",
|
|
174
|
+
children: courseSessions
|
|
175
|
+
}) : null
|
|
176
|
+
] })]
|
|
159
177
|
})
|
|
160
178
|
}),
|
|
161
179
|
/* @__PURE__ */ jsx(EventCardVenue, {
|
|
@@ -289,7 +307,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
289
307
|
const booking = eventCardBooking(event, presentation, buttonText, now);
|
|
290
308
|
const { cta } = booking;
|
|
291
309
|
const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
|
|
292
|
-
const title = event
|
|
310
|
+
const { title, runName } = eventDisplayTitle(event);
|
|
293
311
|
const summary = event.presentation?.summary ?? event.description;
|
|
294
312
|
const image = event.presentation?.image ?? null;
|
|
295
313
|
const category = event.eventCategory;
|
|
@@ -301,6 +319,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
|
|
|
301
319
|
cta,
|
|
302
320
|
cardClass,
|
|
303
321
|
title,
|
|
322
|
+
runName,
|
|
304
323
|
summary,
|
|
305
324
|
image,
|
|
306
325
|
category,
|
|
@@ -374,9 +393,13 @@ const LegacyEventCompactRow = ({ event, buttonVariant = "primary", buttonText, s
|
|
|
374
393
|
children: /* @__PURE__ */ jsx("a", {
|
|
375
394
|
className: "event-title-link",
|
|
376
395
|
...resolveEventLinkProps(event),
|
|
377
|
-
children: event.title
|
|
396
|
+
children: eventDisplayTitle(event).title
|
|
378
397
|
})
|
|
379
398
|
}),
|
|
399
|
+
eventDisplayTitle(event).runName ? /* @__PURE__ */ jsx("p", {
|
|
400
|
+
className: "event-compact-row-run-name rb-caption",
|
|
401
|
+
children: eventDisplayTitle(event).runName
|
|
402
|
+
}) : null,
|
|
380
403
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
381
404
|
facts: event.facts,
|
|
382
405
|
context: "card"
|