@riverbankcms/sdk 0.183.0 → 0.185.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 +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- 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/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- 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 +3 -3
- 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/portal/index.d.ts +10 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +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 +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
- package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
- package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +61 -48
- package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
- package/dist/client/gifting/client.mjs +8 -8
- package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +999 -81
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
- package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +158 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
- 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 +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +684 -181
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { _n as staticHeaderChromeRuntime } from "../newsletter-form.interactive-
|
|
3
|
+
import { _n as staticHeaderChromeRuntime } from "../newsletter-form.interactive-DpcfRbI_.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import { h as Text } from "../timetableModel-
|
|
9
|
-
import { Bt as accordionLookAttributes, Dt as EventDetailsView, Ft as markEditableSurfaceForwarding,
|
|
10
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
11
|
-
import "../accessibleSurfaces-
|
|
12
|
-
import {
|
|
5
|
+
import { Ro as RichText, as as computeMediaTransformStyle, cs as renderVideo, fs as resolveMediaNodeResponsiveImage, is as MediaPlaceholder, os as mediaImageHostProps, rs as ImagePresets, ss as renderAudio } from "../wizardSteps-BbroaNkT.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-DAlWWWjV.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-Ckb4aDE9.mjs";
|
|
8
|
+
import { h as Text } from "../timetableModel-DZzGD6rS.mjs";
|
|
9
|
+
import { Bn as ICON_CONFIG, Bt as accordionLookAttributes, Dt as EventDetailsView, Ft as markEditableSurfaceForwarding, Ht as resolveAccordionIconStyle, It as splitPositioningClasses, Nt as HeaderSectionFrame, Pt as composeHeaderSectionWrapperClassName, Vt as accordionIconColorStyle, jt as resolveEventDetailsPresentation, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, rt as WeeklySlotAvailabilityView, t as serverComponentRegistry, vt as LocationMapSSR, zt as accordionItemPartSlots } from "../registry.server-0UDNY7dO.mjs";
|
|
10
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-CG77Keax.mjs";
|
|
11
|
+
import "../accessibleSurfaces-q-dDOwsW.mjs";
|
|
12
|
+
import { O as clsx } from "../ThemedButton-C4rCsPCt.mjs";
|
|
13
13
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
14
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
15
|
-
import { n as useEditorParts, t as ShopClient } from "../shop.client-
|
|
16
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
17
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
14
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-BFDEPZZA.mjs";
|
|
15
|
+
import { n as useEditorParts, t as ShopClient } from "../shop.client-BI2iw6Z3.mjs";
|
|
16
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-BdRZXB14.mjs";
|
|
17
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-nD6nuvSW.mjs";
|
|
18
18
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
19
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
20
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
21
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
22
|
-
import { t as CartClient } from "../cart.client-
|
|
23
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
24
|
-
import { t as GiftingClient } from "../gifting.client
|
|
25
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
26
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
27
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
28
|
-
import { t as FormNodeClient } from "../form.client-
|
|
29
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
30
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
19
|
+
import { t as CarouselNodeClient } from "../carousel.client-DKWqVHHh.mjs";
|
|
20
|
+
import { t as ProductListClient } from "../product-list.client-CftTl7n6.mjs";
|
|
21
|
+
import { t as ProductDetailClient } from "../product-detail.client-BrBNT7Mq.mjs";
|
|
22
|
+
import { t as CartClient } from "../cart.client-hB_9MimN.mjs";
|
|
23
|
+
import { t as CheckoutClient } from "../checkout.client-Bt_GtHW9.mjs";
|
|
24
|
+
import { t as GiftingClient } from "../gifting.client-CraWj4I4.mjs";
|
|
25
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DgzZNM2M.mjs";
|
|
26
|
+
import { t as EventListingClient } from "../EventListing.client-BEGiiFnO.mjs";
|
|
27
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-By7e9nyF.mjs";
|
|
28
|
+
import { t as FormNodeClient } from "../form.client-Whi43oio.mjs";
|
|
29
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-BgVJdKVe.mjs";
|
|
30
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CooOPhs3.mjs";
|
|
31
31
|
import * as React$1 from "react";
|
|
32
32
|
import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1183,7 +1183,7 @@ const FALLBACK_IMAGE_DATA_URL = "data:image/svg+xml;charset=utf-8," + encodeURIC
|
|
|
1183
1183
|
<circle cx="320" cy="275" r="26"/>
|
|
1184
1184
|
</g>
|
|
1185
1185
|
</svg>`);
|
|
1186
|
-
const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface, className, style, videoPlayback = "inline", loading = "lazy", fetchPriority, size = ImagePresets.full, fieldPath, blockKind, blockContent, imageResolveContext: explicitImageResolveContext }) => {
|
|
1186
|
+
const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface, "data-photo-shape": photoShape, className, style, videoPlayback = "inline", loading = "lazy", fetchPriority, size = ImagePresets.full, fieldPath, blockKind, blockContent, imageResolveContext: explicitImageResolveContext }) => {
|
|
1187
1187
|
const contextImageResolveContext = useImageResolveContextOptional();
|
|
1188
1188
|
const markPart = useEditorParts();
|
|
1189
1189
|
const imageResolveContext = mergeResolveImageUrlContexts(explicitImageResolveContext, contextImageResolveContext);
|
|
@@ -1226,7 +1226,8 @@ const MediaNode = ({ value, "data-slot": dataSlot, "data-surface": dataSurface,
|
|
|
1226
1226
|
loading,
|
|
1227
1227
|
fetchPriority,
|
|
1228
1228
|
"data-slot": dataSlot,
|
|
1229
|
-
"data-surface": dataSurface
|
|
1229
|
+
"data-surface": dataSurface,
|
|
1230
|
+
"data-photo-shape": photoShape
|
|
1230
1231
|
}, computedStyle),
|
|
1231
1232
|
src: imageUrl,
|
|
1232
1233
|
srcSet: responsive?.srcSet,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { Cn as toUtcIsoDateTimeString, J as persistableMediaSchema, Y as runtimeMediaSchema, q as mediaSchema } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-
|
|
6
|
-
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-
|
|
7
|
-
import { q as parseFieldDefinition } from "./registry.server-
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, J as persistableMediaSchema, Y as runtimeMediaSchema, q as mediaSchema } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { Fs as sanitizeHref, Ns as readRuntimeNow, Ps as resolveDateRuntimeContext, Ro as RichText$2, as as computeMediaTransformStyle, ds as resolveImageUrlWithContext$1, ls as resolveImageSourceSetWithContext$1, us as resolveImageUrl$1 } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-D3Ttfv5x.mjs";
|
|
6
|
+
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-uP7AKSyp.mjs";
|
|
7
|
+
import { q as parseFieldDefinition } from "./registry.server-0UDNY7dO.mjs";
|
|
8
8
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
9
9
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-COfQolI3.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as RichTextDocSchema } from "./src-
|
|
3
|
-
import { c as logger } from "./islands-
|
|
2
|
+
import { B as RichTextDocSchema } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { c as logger } from "./islands-C95FyxUF.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
5
5
|
function parseRichTextDoc(value) {
|
|
6
6
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { no as createHostedBlockApiConfig } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as parseSurfaceTree } from "./accessibleSurfaces-q-dDOwsW.mjs";
|
|
3
3
|
//#region ../site-renderer/src/runtimeResponse.ts
|
|
4
4
|
/** Recreate owner-produced rendering values at a JSON boundary, never trust copied proofs. */
|
|
5
5
|
function restoreRuntimeResponse(serialized) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as ShopClient } from "./shop.client-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as ShopClient } from "./shop.client-BI2iw6Z3.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BNWzgWAC.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { G as getShopDisplayForItems } from "./newsletter-form.interactive-
|
|
3
|
-
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-
|
|
8
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
-
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-
|
|
10
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
11
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
12
|
-
import {
|
|
2
|
+
import { G as getShopDisplayForItems } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { Qr as formatCommercePrice, Ro as RichText, Xr as buildProductDetailDisplay, Yr as buildProductCardDisplay, li as productItemKey, oi as buildProductCartItem, si as deriveCommerceCheckoutState } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BFDEPZZA.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
10
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CP-rQOZV.mjs";
|
|
11
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-CE0aaSHJ.mjs";
|
|
12
|
+
import { n as consumeSearchParam, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-CJDylOUe.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
15
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
16
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
17
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
14
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CHOhliHv.mjs";
|
|
15
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
16
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-p4aXtVsF.mjs";
|
|
17
|
+
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
19
19
|
import { useEffect, useState } from "react";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -98,7 +98,7 @@ function shopCheckoutReducer(state, action) {
|
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region ../blocks/src/system/runtime/nodes/shop-cart-discount-ui.ts
|
|
100
100
|
const CART_DISCOUNT_UNAVAILABLE = { type: "unavailable" };
|
|
101
|
-
function useCartDiscountUiState(api, plan) {
|
|
101
|
+
function useCartDiscountUiState(api, plan, revision = 0) {
|
|
102
102
|
const [discountUiState, setDiscountUiState] = useState(CART_DISCOUNT_UNAVAILABLE);
|
|
103
103
|
useEffect(() => {
|
|
104
104
|
let cancelled = false;
|
|
@@ -120,7 +120,11 @@ function useCartDiscountUiState(api, plan) {
|
|
|
120
120
|
return () => {
|
|
121
121
|
cancelled = true;
|
|
122
122
|
};
|
|
123
|
-
}, [
|
|
123
|
+
}, [
|
|
124
|
+
api,
|
|
125
|
+
plan,
|
|
126
|
+
revision
|
|
127
|
+
]);
|
|
124
128
|
return discountUiState;
|
|
125
129
|
}
|
|
126
130
|
//#endregion
|
|
@@ -297,10 +301,11 @@ function ShopCheckoutNoticeView(props) {
|
|
|
297
301
|
children: succeeded ? "Payment successful." : "Checkout cancelled."
|
|
298
302
|
}), succeeded && props.demoEmailSuppressed ? /* @__PURE__ */ jsx(DemoBookingPortalAccess, { email: props.email }) : null] });
|
|
299
303
|
}
|
|
300
|
-
function cartCheckoutForm(form, discountApply, uiState) {
|
|
304
|
+
function cartCheckoutForm(form, discountApply, uiState, quotedAutomaticDiscountCode) {
|
|
301
305
|
return checkoutFormForDiscountUiState({
|
|
302
306
|
...form,
|
|
303
|
-
discountCode: getAppliedDiscountCode(discountApply) ?? ""
|
|
307
|
+
discountCode: getAppliedDiscountCode(discountApply) ?? "",
|
|
308
|
+
quotedAutomaticDiscountCode
|
|
304
309
|
}, uiState);
|
|
305
310
|
}
|
|
306
311
|
function checkoutFailureMessage(error) {
|
|
@@ -355,7 +360,13 @@ function CheckoutController(props) {
|
|
|
355
360
|
const display = React$1.useMemo(() => getShopDisplayForItems(props.render, cart.items), [cart.items, props.render]);
|
|
356
361
|
const checkoutState = React$1.useMemo(() => deriveCommerceCheckoutState({ items: cart.items }), [cart.items]);
|
|
357
362
|
const discountAvailabilityPlan = React$1.useMemo(() => planCartDiscountAvailabilityRequests(checkoutState), [checkoutState]);
|
|
358
|
-
const
|
|
363
|
+
const [discountRevision, setDiscountRevision] = React$1.useState(0);
|
|
364
|
+
const discountUiState = useCartDiscountUiState(api, discountAvailabilityPlan, discountRevision);
|
|
365
|
+
const automaticPreview = useAutomaticDiscountPreview({
|
|
366
|
+
api,
|
|
367
|
+
email: state.form.email,
|
|
368
|
+
lines: discountAvailabilityPlan.ok ? discountAvailabilityPlan.value : []
|
|
369
|
+
});
|
|
359
370
|
const discountApplyFeedback = getDiscountApplyFeedback(discountApply.status, formatCommercePrice);
|
|
360
371
|
React$1.useEffect(() => {
|
|
361
372
|
if (discountUiState.type === "manual-allowed") return;
|
|
@@ -395,7 +406,7 @@ function CheckoutController(props) {
|
|
|
395
406
|
const { successUrl, cancelUrl } = buildCheckoutReturnUrls("checkout", CHECKOUT_ANCHOR_ID);
|
|
396
407
|
const command = planUnifiedCheckoutRequest({
|
|
397
408
|
checkout: checkoutState,
|
|
398
|
-
form: cartCheckoutForm(state.form, discountApply, discountUiState),
|
|
409
|
+
form: cartCheckoutForm(state.form, discountApply, discountUiState, automaticPreview.quotedAutomaticDiscountCode),
|
|
399
410
|
successUrl,
|
|
400
411
|
cancelUrl
|
|
401
412
|
});
|
|
@@ -415,11 +426,15 @@ function CheckoutController(props) {
|
|
|
415
426
|
cart.clear();
|
|
416
427
|
window.location.href = successUrl;
|
|
417
428
|
} catch (submitError) {
|
|
418
|
-
if (isDiscountCodeRefusal(submitError))
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
429
|
+
if (isDiscountCodeRefusal(submitError)) {
|
|
430
|
+
setDiscountRevision((value) => value + 1);
|
|
431
|
+
automaticPreview.refresh();
|
|
432
|
+
dispatchDiscountApply({
|
|
433
|
+
type: "applyRejected",
|
|
434
|
+
reason: "invalid_or_not_applicable",
|
|
435
|
+
message: submitError.message
|
|
436
|
+
});
|
|
437
|
+
}
|
|
423
438
|
dispatch({
|
|
424
439
|
type: "submitFailed",
|
|
425
440
|
message: checkoutFailureMessage(submitError)
|
|
@@ -492,7 +507,10 @@ function CheckoutController(props) {
|
|
|
492
507
|
isApplying: isDiscountApplyInFlight(discountApply),
|
|
493
508
|
disabled: state.submission === "submitting"
|
|
494
509
|
}) : null,
|
|
495
|
-
/* @__PURE__ */ jsx(CartDiscountNotice, { uiState: discountUiState
|
|
510
|
+
/* @__PURE__ */ jsx(CartDiscountNotice, { uiState: discountUiState.type === "auto-only" ? {
|
|
511
|
+
type: "auto-only",
|
|
512
|
+
autoAppliedDiscount: automaticPreview.discount
|
|
513
|
+
} : discountUiState }),
|
|
496
514
|
state.feedback.tag === "error" ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
497
515
|
tone: "error",
|
|
498
516
|
className: "rb-caption status-muted",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ai as buildPassCartItem, ci as parseStoredCommerceCartState, ii as EMPTY_COMMERCE_CART_STATE, ui as reduceCommerceCart } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutRoute.ts
|
|
5
5
|
function resolveDedicatedCheckoutTarget(pathname) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
|
|
5
5
|
const initialDiscountApplyState = {
|
|
6
6
|
isOpen: false,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Q as shopProductPresentation } from "./newsletter-form.interactive-
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { h as assertNever$1 } from "./bookingCalendar
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { n as ThemedButton } from "./ThemedButton-
|
|
9
|
-
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { Q as shopProductPresentation } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { $r as formatInterval, Gr as appliedDiscountHint, Qr as formatCommercePrice, Ui as getShopSuccessCopy } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { h as assertNever$1 } from "./bookingCalendar-9nFa_do4.mjs";
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
8
|
+
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
|
-
import {
|
|
12
|
+
import { r as consumeSearchParams, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-CJDylOUe.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DMtTHqex.mjs";
|
|
17
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
18
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, p as noEditorParts, r as MembershipCardView } from "./view-
|
|
19
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
20
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
21
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
22
|
-
import { n as formatEntitlementEnd } from "./dateFormatting-
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, p as noEditorParts, r as MembershipCardView } from "./view-CHOhliHv.mjs";
|
|
19
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
20
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-p4aXtVsF.mjs";
|
|
21
|
+
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
22
|
+
import { n as formatEntitlementEnd } from "./dateFormatting-DIRIgfYr.mjs";
|
|
23
23
|
import React, { createContext, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -207,6 +207,7 @@ function buildDirectShopCheckoutPlan(input) {
|
|
|
207
207
|
cancelUrl.searchParams.set("checkout", "cancelled");
|
|
208
208
|
const form = {
|
|
209
209
|
...input.checkout.form,
|
|
210
|
+
quotedAutomaticDiscountCode: input.quotedAutomaticDiscountCode,
|
|
210
211
|
discountCode: input.manualCodeEntryAllowed ? getAppliedDiscountCode(input.discountApply) ?? "" : ""
|
|
211
212
|
};
|
|
212
213
|
return {
|
|
@@ -236,6 +237,7 @@ async function submitDirectShopCheckout(input) {
|
|
|
236
237
|
currentUrl: window.location.href,
|
|
237
238
|
confirmDuplicate: input.confirmDuplicate,
|
|
238
239
|
discountApply: input.discountApply,
|
|
240
|
+
quotedAutomaticDiscountCode: input.quotedAutomaticDiscountCode,
|
|
239
241
|
manualCodeEntryAllowed: input.manualCodeEntryAllowed
|
|
240
242
|
});
|
|
241
243
|
if (!attempt.command.ok) {
|
|
@@ -391,6 +393,38 @@ function checkoutSubmitLabel(checkout, status) {
|
|
|
391
393
|
if (totalAfterDiscountCents !== 0) return `Pay ${formatCommercePrice(totalAfterDiscountCents, currency)}`;
|
|
392
394
|
return checkout.item.productType === "membership" ? "Continue to payment" : "Complete purchase";
|
|
393
395
|
}
|
|
396
|
+
/** Manual application owns the displayed price; otherwise the automatic quote does. */
|
|
397
|
+
function checkoutDiscountPresentation(status, automatic) {
|
|
398
|
+
if (status.type === "applied" || !automatic) return {
|
|
399
|
+
status,
|
|
400
|
+
automatic: false
|
|
401
|
+
};
|
|
402
|
+
return {
|
|
403
|
+
status: {
|
|
404
|
+
type: "applied",
|
|
405
|
+
discount: automatic
|
|
406
|
+
},
|
|
407
|
+
automatic: true
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
function ShopAutomaticDiscountNotice(props) {
|
|
411
|
+
if (props.presentation.automatic) return /* @__PURE__ */ jsxs(FeedbackMessage, {
|
|
412
|
+
tone: "success",
|
|
413
|
+
className: "shop__modal-discount",
|
|
414
|
+
role: "status",
|
|
415
|
+
children: [
|
|
416
|
+
getDiscountApplyFeedback(props.presentation.status, formatCommercePrice)?.message,
|
|
417
|
+
" ",
|
|
418
|
+
checkoutDiscountHint(props.checkout, props.presentation.status)
|
|
419
|
+
]
|
|
420
|
+
});
|
|
421
|
+
return !props.loading && props.discountsAvailable && !props.manualCodeEntryAllowed ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
422
|
+
tone: "info",
|
|
423
|
+
className: "shop__modal-discount",
|
|
424
|
+
role: "status",
|
|
425
|
+
children: "Eligible discounts will be applied at checkout."
|
|
426
|
+
}) : null;
|
|
427
|
+
}
|
|
394
428
|
function getCheckoutModalTitle(checkout) {
|
|
395
429
|
if (!checkout) return "";
|
|
396
430
|
if (checkout.item.productType === "membership") return "Subscribe to Membership";
|
|
@@ -409,6 +443,13 @@ function getCheckoutDiscountApplyLine(checkout) {
|
|
|
409
443
|
currency: checkout.item.product.currency
|
|
410
444
|
};
|
|
411
445
|
}
|
|
446
|
+
/** The buyer and exact product being quoted, including a quote with no automatic discount. */
|
|
447
|
+
function directShopAutomaticDiscountInput(checkout) {
|
|
448
|
+
return {
|
|
449
|
+
email: checkout?.form.email ?? "",
|
|
450
|
+
lines: checkout ? [getCheckoutDiscountApplyLine(checkout)] : []
|
|
451
|
+
};
|
|
452
|
+
}
|
|
412
453
|
function PassesMembershipsController({ render }) {
|
|
413
454
|
const api = useBlockApi();
|
|
414
455
|
const markPart = useEditorParts();
|
|
@@ -440,6 +481,12 @@ function PassesMembershipsController({ render }) {
|
|
|
440
481
|
}, [checkout]),
|
|
441
482
|
subtotalCents: checkout?.item.product.price
|
|
442
483
|
});
|
|
484
|
+
const automaticPreview = useAutomaticDiscountPreview({
|
|
485
|
+
api,
|
|
486
|
+
...directShopAutomaticDiscountInput(checkout)
|
|
487
|
+
});
|
|
488
|
+
const discountPresentation = checkoutDiscountPresentation(discountApply.status, automaticPreview.discount);
|
|
489
|
+
const shownDiscountStatus = discountPresentation.status;
|
|
443
490
|
const discountApplyFeedback = getDiscountApplyFeedback(discountApply.status, formatCommercePrice);
|
|
444
491
|
const handleBuyPass = useCallback((pass, teamMember) => {
|
|
445
492
|
dispatch({
|
|
@@ -520,17 +567,23 @@ function PassesMembershipsController({ render }) {
|
|
|
520
567
|
api: siteTerms.api,
|
|
521
568
|
discountApply,
|
|
522
569
|
manualCodeEntryAllowed: discountUi.manualCodeEntryAllowed,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
570
|
+
quotedAutomaticDiscountCode: automaticPreview.quotedAutomaticDiscountCode,
|
|
571
|
+
onDiscountRefused: (message) => {
|
|
572
|
+
dispatchDiscountApply({
|
|
573
|
+
type: "applyRejected",
|
|
574
|
+
reason: "invalid_or_not_applicable",
|
|
575
|
+
message
|
|
576
|
+
});
|
|
577
|
+
discountUi.refresh();
|
|
578
|
+
automaticPreview.refresh();
|
|
579
|
+
},
|
|
528
580
|
dispatch
|
|
529
581
|
}), [
|
|
530
582
|
siteTerms.api,
|
|
531
583
|
checkout,
|
|
532
584
|
discountApply,
|
|
533
|
-
discountUi.manualCodeEntryAllowed
|
|
585
|
+
discountUi.manualCodeEntryAllowed,
|
|
586
|
+
automaticPreview.quotedAutomaticDiscountCode
|
|
534
587
|
]);
|
|
535
588
|
const applyDiscountCode = useDiscountApply({
|
|
536
589
|
api,
|
|
@@ -622,7 +675,7 @@ function PassesMembershipsController({ render }) {
|
|
|
622
675
|
children: [
|
|
623
676
|
/* @__PURE__ */ jsxs("p", {
|
|
624
677
|
className: "shop__modal-product",
|
|
625
|
-
children: [checkoutProductLabel(checkout, checkoutShownTotalCents(checkout,
|
|
678
|
+
children: [checkoutProductLabel(checkout, checkoutShownTotalCents(checkout, shownDiscountStatus)), checkout.item.productType === "membership" ? /* @__PURE__ */ jsx("span", {
|
|
626
679
|
className: "shop__modal-interval",
|
|
627
680
|
children: formatInterval(checkout.item.product.billingInterval)
|
|
628
681
|
}) : null]
|
|
@@ -740,12 +793,13 @@ function PassesMembershipsController({ render }) {
|
|
|
740
793
|
isApplying: isDiscountApplyInFlight(discountApply),
|
|
741
794
|
disabled: checkout.submitting
|
|
742
795
|
}) : null,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
796
|
+
/* @__PURE__ */ jsx(ShopAutomaticDiscountNotice, {
|
|
797
|
+
checkout,
|
|
798
|
+
presentation: discountPresentation,
|
|
799
|
+
discountsAvailable: discountUi.discountsAvailable,
|
|
800
|
+
loading: discountUi.discountsAvailableLoading,
|
|
801
|
+
manualCodeEntryAllowed: discountUi.manualCodeEntryAllowed
|
|
802
|
+
}),
|
|
749
803
|
checkout.formError ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
750
804
|
tone: "error",
|
|
751
805
|
className: "shop__modal-error",
|
|
@@ -771,7 +825,7 @@ function PassesMembershipsController({ render }) {
|
|
|
771
825
|
type: "submit",
|
|
772
826
|
variant: "default",
|
|
773
827
|
size: "md",
|
|
774
|
-
label: checkoutSubmitLabel(checkout,
|
|
828
|
+
label: checkoutSubmitLabel(checkout, shownDiscountStatus),
|
|
775
829
|
disabled: checkoutPayBlocked(checkout, discountApply)
|
|
776
830
|
})]
|
|
777
831
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
3
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-CY6u5sQa.mjs";
|
|
4
4
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
5
5
|
import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
6
6
|
export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, f as parseUuidBrand, m as ok$1, n as renderableMediaAssetSchema, p as err$1 } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { l as addMonths } from "./src-CMuv8vSO.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../core/src/branded/events.ts
|
|
6
6
|
const unsafeAsEventOfferingId = (id) => id;
|
|
@@ -553,6 +553,10 @@ function calendarLinks(entry) {
|
|
|
553
553
|
outlookUrl: outlook.toString()
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
|
+
/** A booking keeps its calendar identity when its time changes or a neighbouring date is removed. */
|
|
557
|
+
function customerBookingCalendarUid(identity) {
|
|
558
|
+
return identity.kind === "appointment" ? `appointment-${identity.appointmentId}@riverbankcms.com` : `booking-${identity.bookingId}-${identity.occurrenceId}@riverbankcms.com`;
|
|
559
|
+
}
|
|
556
560
|
//#endregion
|
|
557
561
|
//#region ../../node_modules/.pnpm/@date-fns+tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js
|
|
558
562
|
/**
|
|
@@ -1692,4 +1696,4 @@ function calendarEvent(entry, generatedAt) {
|
|
|
1692
1696
|
};
|
|
1693
1697
|
}
|
|
1694
1698
|
//#endregion
|
|
1695
|
-
export { getWeekCalendarDays as _, buildTimetableModel as a, shiftCalendarAnchorDate as b, addDays as c, formatCalendarTitle as d, formatDateKey as f, getWeekCalendarDayTuple as g, getOrderedDayNames as h, groupItemsByDate as i, addMonths as l, getMonthCalendarDays as m,
|
|
1699
|
+
export { getWeekCalendarDays as _, buildTimetableModel as a, shiftCalendarAnchorDate as b, addDays as c, formatCalendarTitle as d, formatDateKey as f, getWeekCalendarDayTuple as g, getOrderedDayNames as h, groupItemsByDate as i, addMonths as l, getMonthCalendarDays as m, calendarLinks as n, DAY_NAMES as o, getDayOfWeek as p, customerBookingCalendarUid as r, MONTH_NAMES as s, renderCalendarFeedIcs as t, buildCalendarViewport as u, isSameCalendarDay as v, isToday as y };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
5
|
-
import { h as assertNever } from "./bookingCalendar
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { Ao as getEventAvailabilityStatus, Ds as isInlineTextEmpty, Eo as formatEventRemainingPlaces, Ho as eventDateOptions, Ko as formatEventClockLabel, Mo as isEventFull, Os as parseInlineTextFromUnknown, Ps as resolveDateRuntimeContext, Qo as formatEventTimeRange, Ro as RichText, bo as resolveEventPageLink, go as eventDestinationBookingLink, ns as resolveEventTimeZone, ts as groupEventsByDate } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-oaHxRbUO.mjs";
|
|
5
|
+
import { h as assertNever } from "./bookingCalendar-9nFa_do4.mjs";
|
|
6
|
+
import { U as textColorStyle } from "./accessibleSurfaces-q-dDOwsW.mjs";
|
|
7
|
+
import { O as clsx, k as parseThemeButtonVariantId, n as ThemedButton, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
+
import { a as buildTimetableModel$1, f as formatDateKey, p as getDayOfWeek, y as isToday } from "./src-CMuv8vSO.mjs";
|
|
9
9
|
import { t as getAtPath } from "./src-Al4ooTl_.mjs";
|
|
10
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
11
|
-
import { m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-
|
|
10
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BFDEPZZA.mjs";
|
|
11
|
+
import { m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-CDMa9zOX.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../core/src/locationLinks.ts
|