@riverbankcms/sdk 0.179.0 → 0.181.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 +2 -2
- package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
- package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
- package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
- package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
- package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
- package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
- package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
- package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
- package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
- package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
- package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
- package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
- package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
- package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.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 -2
- package/dist/_dts/sdk/src/index.d.ts +104 -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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +84 -53
- 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 +43 -56
- package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
- 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 +1 -1
- package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
- package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
- package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
- package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
- package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
- package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
- package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
- package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
- package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
- package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
- package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
- package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
- package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
- package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
- package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
- package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
- package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
- package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
- package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
- package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
- package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
- package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
- package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
- package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
- package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
- package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
- package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
- package/dist/client/bookings.mjs +51 -15
- package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
- package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
- package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
- package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
- package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
- package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
- package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
- package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
- package/dist/client/client.mjs +306 -196
- package/dist/client/constants-CoOkvw__.mjs +100 -0
- package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
- package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
- package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
- package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
- package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
- package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
- package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
- package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
- package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
- package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
- package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
- package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
- package/dist/client/gifting/client.mjs +32 -29
- package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
- package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
- package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
- package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
- package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
- package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
- package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
- package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
- package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
- package/dist/client/portal/client.mjs +11779 -6745
- package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
- package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
- package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
- package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
- package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
- package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
- package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
- package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
- package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -8
- package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
- package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
- package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
- package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
- package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
- package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
- package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
- package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
- package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
- package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-Al4ooTl_.mjs +164 -0
- package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
- package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
- package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
- package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
- package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
- package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
- package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
- package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
- package/dist/preview-next/before-render.mjs +1 -0
- package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
- package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
- package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
- package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
- package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
- package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
- package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
- package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +292 -170
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
- package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
- package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
- package/dist/server/accordions-By_0Ykks.mjs +111 -0
- package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
- package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-VyF5nEhL.mjs +1474 -0
- package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
- package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
- package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
- package/dist/server/manifest.mjs +36 -25
- package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
- package/dist/server/media-BRmYrnzb.mjs +31 -0
- package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
- package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +170 -104
- package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
- package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
- package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
- package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
- package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
- package/dist/server/portal.mjs +3 -3
- package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
- package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
- package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
- 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 +10 -9
- package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
- package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
- package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
- package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
- package/dist/server/theme-bridge.mjs +3 -2
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
- package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
- package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
- package/dist/server/types-BKaBZFjD.mjs +1085 -0
- package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
- package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
- package/dist/server/video-Cdr3wh-q.mjs +272 -0
- package/dist/styles/index.css +3446 -3796
- package/package.json +2 -1
- package/dist/_dts/index-DVSipdrT.d.ts +0 -101
- package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
- package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
- package/dist/client/constants-4o4_hl34.mjs +0 -6
- package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
- package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
- package/dist/server/constants-Cj7hfbrA.mjs +0 -41
- package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
- package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { q as textColorStyle } from "./accessibleSurfaces-
|
|
7
|
-
import {
|
|
2
|
+
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-ZSqRK3dD.mjs";
|
|
3
|
+
import { Do as RichText, Fo as formatEventClockLabel, Go as resolveEventTimeZone, Ss as resolveDateRuntimeContext, Vo as formatEventTimeRange, Wo as groupEventsByDate, gs as parseInlineTextFromUnknown, ho as formatEventRemainingPlaces, hs as isInlineTextEmpty, jo as eventDateOptions, xo as isEventFull, yo as getEventAvailabilityStatus } from "./wizardSteps-BliJOzEX.mjs";
|
|
4
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-BGCX3zwG.mjs";
|
|
5
|
+
import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
+
import { q as textColorStyle } from "./accessibleSurfaces-n6kS6Hct.mjs";
|
|
7
|
+
import { S as parseThemeButtonVariantId, n as ThemedButton, r as ThemedButtonLink, t as ThemedAuthoredButton, x as clsx } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
8
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-uwCpbHXG.mjs";
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { _ as resolveEventLinkProps, m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-
|
|
9
|
+
import { t as getAtPath } from "./src-Al4ooTl_.mjs";
|
|
10
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-CQGE_wHV.mjs";
|
|
11
|
+
import { _ as resolveEventLinkProps, m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-CwzrjcRw.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../core/src/locationLinks.ts
|
|
@@ -84,76 +84,6 @@ function formatOpeningHoursRows(hours, options = {}) {
|
|
|
84
84
|
}, []);
|
|
85
85
|
}
|
|
86
86
|
//#endregion
|
|
87
|
-
//#region ../path-utils/src/index.ts
|
|
88
|
-
const PATH_SEPARATOR_REGEX = /\./g;
|
|
89
|
-
const BRACKET_ACCESS_REGEX = /\[([^\]]+)\]/g;
|
|
90
|
-
/**
|
|
91
|
-
* Segments that would traverse or mutate the prototype chain.
|
|
92
|
-
*
|
|
93
|
-
* `setAtPath` creates nested objects along the path, so allowing these
|
|
94
|
-
* segments is a prototype-pollution vector. They are rejected everywhere a
|
|
95
|
-
* path is parsed (string or pre-parsed array form) — fail closed.
|
|
96
|
-
*/
|
|
97
|
-
const UNSAFE_PATH_SEGMENTS = /* @__PURE__ */ new Set([
|
|
98
|
-
"__proto__",
|
|
99
|
-
"constructor",
|
|
100
|
-
"prototype"
|
|
101
|
-
]);
|
|
102
|
-
var UnsafePathSegmentError = class extends Error {
|
|
103
|
-
constructor(segment) {
|
|
104
|
-
super(`Unsafe path segment: "${segment}"`);
|
|
105
|
-
this.name = "UnsafePathSegmentError";
|
|
106
|
-
this.segment = segment;
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
function assertSafePathSegments(segments) {
|
|
110
|
-
for (const segment of segments) if (typeof segment === "string" && UNSAFE_PATH_SEGMENTS.has(segment)) throw new UnsafePathSegmentError(segment);
|
|
111
|
-
}
|
|
112
|
-
function isRecord(value) {
|
|
113
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
114
|
-
}
|
|
115
|
-
function isPathContainer(value) {
|
|
116
|
-
return Array.isArray(value) || isRecord(value);
|
|
117
|
-
}
|
|
118
|
-
function getContainerValue(container, segment) {
|
|
119
|
-
if (typeof segment === "number") return Array.isArray(container) ? container[segment] : void 0;
|
|
120
|
-
if (segment in container) return Reflect.get(container, segment);
|
|
121
|
-
}
|
|
122
|
-
function parsePath(path) {
|
|
123
|
-
if (Array.isArray(path)) {
|
|
124
|
-
assertSafePathSegments(path);
|
|
125
|
-
return path;
|
|
126
|
-
}
|
|
127
|
-
const segments = [];
|
|
128
|
-
const parts = path.split(PATH_SEPARATOR_REGEX);
|
|
129
|
-
for (const raw of parts) {
|
|
130
|
-
if (!raw) continue;
|
|
131
|
-
const baseMatch = raw.match(/^[^\[]+/);
|
|
132
|
-
if (baseMatch !== null) {
|
|
133
|
-
const base = baseMatch[1] ?? baseMatch[0];
|
|
134
|
-
if (/^\d+$/.test(base)) segments.push(Number(base));
|
|
135
|
-
else segments.push(base);
|
|
136
|
-
}
|
|
137
|
-
const bracketMatches = raw.matchAll(BRACKET_ACCESS_REGEX);
|
|
138
|
-
for (const match of bracketMatches) {
|
|
139
|
-
const token = match[1] ?? "";
|
|
140
|
-
if (token.startsWith("\"") || token.startsWith("'")) segments.push(token.slice(1, -1));
|
|
141
|
-
else if (/^\d+$/.test(token)) segments.push(Number(token));
|
|
142
|
-
else segments.push(token);
|
|
143
|
-
}
|
|
144
|
-
if (baseMatch === null && !raw.includes("[")) segments.push(raw);
|
|
145
|
-
}
|
|
146
|
-
assertSafePathSegments(segments);
|
|
147
|
-
return segments;
|
|
148
|
-
}
|
|
149
|
-
function getAtPath(source, path) {
|
|
150
|
-
return parsePath(path).reduce((current, segment) => {
|
|
151
|
-
if (current === void 0 || current === null) return void 0;
|
|
152
|
-
if (!isPathContainer(current)) return void 0;
|
|
153
|
-
return getContainerValue(current, segment);
|
|
154
|
-
}, source);
|
|
155
|
-
}
|
|
156
|
-
//#endregion
|
|
157
87
|
//#region ../blocks/src/primitives/content/components/Text.tsx
|
|
158
88
|
function Text({ as: Comp = "span", children, className = "", path, style, "data-slot": dataSlot, "data-surface": dataSurface, maxLength: _maxLength }) {
|
|
159
89
|
return /* @__PURE__ */ jsx(Comp, {
|
|
@@ -224,6 +154,201 @@ function LocationMapActions(props) {
|
|
|
224
154
|
}) }) : null;
|
|
225
155
|
}
|
|
226
156
|
//#endregion
|
|
157
|
+
//#region ../blocks/src/system/runtime/nodes/svg.tsx
|
|
158
|
+
/**
|
|
159
|
+
* Strict SVG-`transform` validator.
|
|
160
|
+
*
|
|
161
|
+
* Accepts only a whitespace/comma-separated list of the geometric transform
|
|
162
|
+
* functions (`translate`/`rotate`/`scale`/`skewX`/`skewY`/`matrix`) whose
|
|
163
|
+
* arguments are plain numbers. This deliberately rejects anything else —
|
|
164
|
+
* `url(...)`, CSS functions, `javascript:`, angle/length units, stray letters —
|
|
165
|
+
* so a persisted custom-block tree can't smuggle an executable or exfiltrating
|
|
166
|
+
* value into the attribute.
|
|
167
|
+
*/
|
|
168
|
+
const TRANSFORM_NUMBER = String.raw`-?(?:\d+\.?\d*|\.\d+)(?:e-?\d+)?`;
|
|
169
|
+
const TRANSFORM_ARGS = String.raw`${TRANSFORM_NUMBER}(?:[\s,]+${TRANSFORM_NUMBER})*`;
|
|
170
|
+
const TRANSFORM_FN = String.raw`(?:translate|rotate|scale|skewX|skewY|matrix)\(\s*${TRANSFORM_ARGS}\s*\)`;
|
|
171
|
+
const SAFE_TRANSFORM_RE = new RegExp(String.raw`^\s*${TRANSFORM_FN}(?:[\s,]*${TRANSFORM_FN})*\s*$`);
|
|
172
|
+
function safeTransform(value) {
|
|
173
|
+
if (typeof value !== "string") return void 0;
|
|
174
|
+
const trimmed = value.trim();
|
|
175
|
+
if (trimmed.length === 0) return void 0;
|
|
176
|
+
return SAFE_TRANSFORM_RE.test(trimmed) ? trimmed : void 0;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Turn paint props into a CSS style object. Colour values pass through as-is so
|
|
180
|
+
* they may reference theme tokens via `var()`, which only resolves in a CSS
|
|
181
|
+
* property context (not in a bare presentation attribute).
|
|
182
|
+
*/
|
|
183
|
+
function paintStyle(shape) {
|
|
184
|
+
const style = {};
|
|
185
|
+
if (shape.fill !== void 0) style.fill = shape.fill;
|
|
186
|
+
if (shape.stroke !== void 0) style.stroke = shape.stroke;
|
|
187
|
+
if (shape.strokeWidth !== void 0) style.strokeWidth = shape.strokeWidth;
|
|
188
|
+
if (shape.fillOpacity !== void 0) style.fillOpacity = shape.fillOpacity;
|
|
189
|
+
if (shape.strokeOpacity !== void 0) style.strokeOpacity = shape.strokeOpacity;
|
|
190
|
+
if (shape.strokeLinecap !== void 0) style.strokeLinecap = shape.strokeLinecap;
|
|
191
|
+
if (shape.strokeLinejoin !== void 0) style.strokeLinejoin = shape.strokeLinejoin;
|
|
192
|
+
if (shape.strokeDasharray !== void 0) style.strokeDasharray = shape.strokeDasharray;
|
|
193
|
+
return style;
|
|
194
|
+
}
|
|
195
|
+
function renderShape(shape, key) {
|
|
196
|
+
const style = paintStyle(shape);
|
|
197
|
+
const transform = safeTransform(shape.transform);
|
|
198
|
+
switch (shape.kind) {
|
|
199
|
+
case "text": return /* @__PURE__ */ jsx("text", {
|
|
200
|
+
className: shape.className,
|
|
201
|
+
x: shape.x,
|
|
202
|
+
y: shape.y,
|
|
203
|
+
transform,
|
|
204
|
+
children: shape.text
|
|
205
|
+
}, key);
|
|
206
|
+
case "path": return /* @__PURE__ */ jsx("path", {
|
|
207
|
+
d: shape.d,
|
|
208
|
+
className: shape.className,
|
|
209
|
+
fillRule: shape.fillRule,
|
|
210
|
+
style,
|
|
211
|
+
transform
|
|
212
|
+
}, key);
|
|
213
|
+
case "ellipse": return /* @__PURE__ */ jsx("ellipse", {
|
|
214
|
+
cx: shape.cx,
|
|
215
|
+
cy: shape.cy,
|
|
216
|
+
rx: shape.rx,
|
|
217
|
+
ry: shape.ry,
|
|
218
|
+
style,
|
|
219
|
+
transform
|
|
220
|
+
}, key);
|
|
221
|
+
case "circle": return /* @__PURE__ */ jsx("circle", {
|
|
222
|
+
cx: shape.cx,
|
|
223
|
+
cy: shape.cy,
|
|
224
|
+
r: shape.r,
|
|
225
|
+
style,
|
|
226
|
+
transform
|
|
227
|
+
}, key);
|
|
228
|
+
case "rect": return /* @__PURE__ */ jsx("rect", {
|
|
229
|
+
x: shape.x,
|
|
230
|
+
y: shape.y,
|
|
231
|
+
className: shape.className,
|
|
232
|
+
width: shape.width,
|
|
233
|
+
height: shape.height,
|
|
234
|
+
rx: shape.rx,
|
|
235
|
+
ry: shape.ry,
|
|
236
|
+
style,
|
|
237
|
+
transform
|
|
238
|
+
}, key);
|
|
239
|
+
case "line": return /* @__PURE__ */ jsx("line", {
|
|
240
|
+
x1: shape.x1,
|
|
241
|
+
y1: shape.y1,
|
|
242
|
+
x2: shape.x2,
|
|
243
|
+
y2: shape.y2,
|
|
244
|
+
style,
|
|
245
|
+
transform
|
|
246
|
+
}, key);
|
|
247
|
+
default: return null;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
const SvgNode = ({ blockId: _blockId, blockKind: _blockKind, blockContent: _blockContent, fragmentRegistry: _fragmentRegistry, pathBase: _pathBase, viewBox, width, height, className, style, ariaHidden = true, ariaLabel, shapes }) => {
|
|
251
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
252
|
+
viewBox,
|
|
253
|
+
width,
|
|
254
|
+
height,
|
|
255
|
+
className,
|
|
256
|
+
style,
|
|
257
|
+
"aria-hidden": ariaHidden || void 0,
|
|
258
|
+
role: ariaLabel ? "img" : void 0,
|
|
259
|
+
"aria-label": ariaLabel,
|
|
260
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
261
|
+
fill: "none",
|
|
262
|
+
children: (Array.isArray(shapes) ? shapes : []).map((shape, index) => renderShape(shape, index))
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region ../blocks/src/system/runtime/nodes/shared/MapDrawingSvg.tsx
|
|
267
|
+
const PIN_PATH = "M0 0C-3.5-9-13-15-13-25A13 13 0 1 1 13-25C13-15 3.5-9 0 0ZM0-20.5A4.5 4.5 0 1 0 0-29.5A4.5 4.5 0 1 0 0-20.5Z";
|
|
268
|
+
const commands = (points) => points.map(([x, y], index) => `${index ? "L" : "M"}${x} ${y}`).join(" ");
|
|
269
|
+
function pathShape(path) {
|
|
270
|
+
return path.kind === "polygon" ? {
|
|
271
|
+
kind: "path",
|
|
272
|
+
className: path.className,
|
|
273
|
+
fillRule: path.fillRule,
|
|
274
|
+
d: path.rings.map((ring) => `${commands(ring)} Z`).join(" ")
|
|
275
|
+
} : {
|
|
276
|
+
kind: "path",
|
|
277
|
+
className: path.className,
|
|
278
|
+
d: commands(path.points)
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
function labelShapes(label) {
|
|
282
|
+
const [x, y] = label.point, transform = `rotate(${label.angle} ${x} ${y})`;
|
|
283
|
+
return [label.haloClassName, label.className].map((className) => ({
|
|
284
|
+
kind: "text",
|
|
285
|
+
className,
|
|
286
|
+
x,
|
|
287
|
+
y,
|
|
288
|
+
transform,
|
|
289
|
+
text: label.text
|
|
290
|
+
}));
|
|
291
|
+
}
|
|
292
|
+
/** The drawing the renderer below would show, or null when there's nothing it can draw. */
|
|
293
|
+
function readableMapDrawing(drawing) {
|
|
294
|
+
const parsed = mapDrawingSchema.safeParse(drawing);
|
|
295
|
+
return parsed.success ? parsed.data : null;
|
|
296
|
+
}
|
|
297
|
+
/** Untrusted standalone callers retain boundary admission. */
|
|
298
|
+
function MapDrawingSvg(props) {
|
|
299
|
+
const drawing = readableMapDrawing(props.drawing);
|
|
300
|
+
return drawing ? /* @__PURE__ */ jsx(AdmittedMapDrawingSvg, {
|
|
301
|
+
...props,
|
|
302
|
+
drawing
|
|
303
|
+
}) : null;
|
|
304
|
+
}
|
|
305
|
+
/** Render an already admitted value without allocating another validation copy. */
|
|
306
|
+
function AdmittedMapDrawingSvg(props) {
|
|
307
|
+
const drawing = props.drawing;
|
|
308
|
+
const name = props.wider ? "wider" : "neighbourhood", frame = drawing.frames[name];
|
|
309
|
+
const shapes = [
|
|
310
|
+
{
|
|
311
|
+
kind: "rect",
|
|
312
|
+
className: frame.backgroundClass,
|
|
313
|
+
x: 0,
|
|
314
|
+
y: 0,
|
|
315
|
+
width: 800,
|
|
316
|
+
height: 800
|
|
317
|
+
},
|
|
318
|
+
...frame.paths.map(pathShape),
|
|
319
|
+
...frame.labels.flatMap(labelShapes),
|
|
320
|
+
{
|
|
321
|
+
kind: "path",
|
|
322
|
+
className: frame.pin.className,
|
|
323
|
+
fillRule: "evenodd",
|
|
324
|
+
d: PIN_PATH,
|
|
325
|
+
transform: `translate(${frame.pin.point.join(" ")})`
|
|
326
|
+
}
|
|
327
|
+
];
|
|
328
|
+
return /* @__PURE__ */ jsxs("figure", {
|
|
329
|
+
className: `rb-map-drawing ${props.className ?? ""}`.trim(),
|
|
330
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
331
|
+
className: "rb-map-drawing-crop",
|
|
332
|
+
style: cropHeightStyle(Math.max(255, props.height ?? 320), props.heightAs ?? "fixed"),
|
|
333
|
+
children: /* @__PURE__ */ jsx(SvgNode, {
|
|
334
|
+
className: `map-${name}`,
|
|
335
|
+
viewBox: frame.viewBox.join(" "),
|
|
336
|
+
shapes,
|
|
337
|
+
ariaHidden: false,
|
|
338
|
+
ariaLabel: props.label ? `Map showing ${props.label}` : "Map showing the arrival pin"
|
|
339
|
+
})
|
|
340
|
+
}), /* @__PURE__ */ jsxs("figcaption", { children: ["© ", /* @__PURE__ */ jsx("a", {
|
|
341
|
+
href: "https://www.openstreetmap.org/copyright",
|
|
342
|
+
target: "_blank",
|
|
343
|
+
rel: "noreferrer",
|
|
344
|
+
children: "OpenStreetMap contributors"
|
|
345
|
+
})] })]
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
function cropHeightStyle(height, heightAs) {
|
|
349
|
+
return heightAs === "minimum" ? { minHeight: height } : { height };
|
|
350
|
+
}
|
|
351
|
+
//#endregion
|
|
227
352
|
//#region ../blocks/src/system/runtime/nodes/location-map.view.tsx
|
|
228
353
|
function OpeningHoursTable({ hours, lookLayout }) {
|
|
229
354
|
if (!hours) return null;
|
|
@@ -898,4 +1023,4 @@ function formatDayLabel(date, timeZone, options) {
|
|
|
898
1023
|
}), options);
|
|
899
1024
|
}
|
|
900
1025
|
//#endregion
|
|
901
|
-
export { CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d,
|
|
1026
|
+
export { CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, MapDrawingSvg as f, Text as h, buildWeekBoardViewProps as i, RichTextNode as l, LocationMapActions as m, WeekBoardView as n, RecurringSchedule as o, SvgNode as p, buildWeekBoardNavigationState as r, ButtonNode as s, buildTimetableModel as t, TextNode as u };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
3
|
-
import * as React$1 from "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
2
|
//#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
|
|
6
3
|
/**
|
|
7
4
|
* URL param helpers for client-side "return from redirect" flows.
|
|
@@ -48,42 +45,4 @@ function consumeSearchParams(paramNames) {
|
|
|
48
45
|
return values;
|
|
49
46
|
}
|
|
50
47
|
//#endregion
|
|
51
|
-
|
|
52
|
-
const DEFAULT_TIMEOUT_MS = 2500;
|
|
53
|
-
function useTransientShopAddFeedback(timeoutMs = DEFAULT_TIMEOUT_MS) {
|
|
54
|
-
const [activeKey, setActiveKey] = React$1.useState(null);
|
|
55
|
-
React$1.useEffect(() => {
|
|
56
|
-
if (!activeKey) return;
|
|
57
|
-
const timeoutId = window.setTimeout(() => {
|
|
58
|
-
setActiveKey((current) => current === activeKey ? null : current);
|
|
59
|
-
}, timeoutMs);
|
|
60
|
-
return () => window.clearTimeout(timeoutId);
|
|
61
|
-
}, [activeKey, timeoutMs]);
|
|
62
|
-
return {
|
|
63
|
-
activeKey,
|
|
64
|
-
markAdded: setActiveKey,
|
|
65
|
-
clear: () => setActiveKey(null)
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function ShopAddFeedback(props) {
|
|
69
|
-
if (!props.active) return null;
|
|
70
|
-
return /* @__PURE__ */ jsxs(FeedbackMessage, {
|
|
71
|
-
tone: "success",
|
|
72
|
-
className: "rb-caption status-muted",
|
|
73
|
-
role: "status",
|
|
74
|
-
live: "polite",
|
|
75
|
-
children: [
|
|
76
|
-
"Added ",
|
|
77
|
-
props.itemLabel,
|
|
78
|
-
" to cart.",
|
|
79
|
-
" ",
|
|
80
|
-
/* @__PURE__ */ jsx("a", {
|
|
81
|
-
href: "#shop-cart",
|
|
82
|
-
children: "View cart"
|
|
83
|
-
}),
|
|
84
|
-
"."
|
|
85
|
-
]
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
//#endregion
|
|
89
|
-
export { consumeSearchParams as i, useTransientShopAddFeedback as n, consumeSearchParam as r, ShopAddFeedback as t };
|
|
48
|
+
export { consumeSearchParams as n, consumeSearchParam as t };
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as useBlockApi } from "./context-DTrwaQtg.mjs";
|
|
2
|
+
import { Fn as unsafeAsAppointmentResourceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, _n as formatLocalScheduleDate, bn as parseBookingLocalDate, cn as formatTime$1, hn as addLocalScheduleDays, nn as formatDate$1, t as assertNever, yn as getLocalScheduleDate } from "./src-ZSqRK3dD.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-CRhn9qzS.mjs";
|
|
5
4
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
6
|
-
function clientPersonPhrases(noun) {
|
|
7
|
-
if (noun == null) return {
|
|
8
|
-
label: "Who with",
|
|
9
|
-
chooseAnother: "Choose someone else",
|
|
10
|
-
anyone: "Anyone who's free",
|
|
11
|
-
chooseYours: "Choose who you'd like to see",
|
|
12
|
-
withName: (name) => `With ${name}`,
|
|
13
|
-
listLabel: () => "With"
|
|
14
|
-
};
|
|
15
|
-
const singularLabel = capitalize(noun.singular);
|
|
16
|
-
return {
|
|
17
|
-
label: singularLabel,
|
|
18
|
-
chooseAnother: `Choose another ${noun.singular}`,
|
|
19
|
-
anyone: `Any ${noun.singular}`,
|
|
20
|
-
chooseYours: `Choose your ${noun.singular}`,
|
|
21
|
-
withName: (name) => `${singularLabel}: ${name}`,
|
|
22
|
-
listLabel: (count) => count === 1 ? singularLabel : capitalize(noun.plural)
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
5
|
//#region ../blocks/src/utils/date-formatting.ts
|
|
27
6
|
/**
|
|
28
7
|
* Resolve the browser/runtime timezone for booking surfaces.
|
|
@@ -490,4 +469,4 @@ function useAvailableSlots({ serviceId, resourceId, selectedDate, timezone }) {
|
|
|
490
469
|
};
|
|
491
470
|
}
|
|
492
471
|
//#endregion
|
|
493
|
-
export { formatTime as a, formatDatePillParts as i, useAvailableDates as n, getRuntimeTimeZone as o, formatDate as r,
|
|
472
|
+
export { formatTime as a, formatDatePillParts as i, useAvailableDates as n, getRuntimeTimeZone as o, formatDate as r, useAvailableSlots as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-DFLPyuqe.mjs";
|
|
3
3
|
import { useEffect, useReducer, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { r as
|
|
2
|
+
import { Bt as toError, Ft as eventPaginationLoadReducer, It as getEventIdentity, Lt as getEventPaginationView, Nt as createInitialEventPaginationLoadState, Pt as eventPageOperationQuery, Rt as planEventPageOperation, cn as normalizeCsvString, ln as normalizeOptionalId, on as getEventRuntimeFiltersKey, sn as normalizeCsvIds, zt as toEventPaginationLoadError } from "./newsletter-form.interactive-RuM86VAv.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-ZSqRK3dD.mjs";
|
|
4
|
+
import { Qa as getBlockApiReadStage } from "./wizardSteps-BliJOzEX.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-CRhn9qzS.mjs";
|
|
6
|
+
import { i as listLookSlot, n as listItemPresentation } from "./noop-Dl4mZ-rr.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
|
+
import { r as EventItem } from "./EventItem-CwzrjcRw.mjs";
|
|
9
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-DZ0qMFF4.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
2
|
+
import { ei as membershipCardListContent, ni as passCardListContent, ti as membershipClassesLabel } from "./wizardSteps-BliJOzEX.mjs";
|
|
3
|
+
import { i as listLookSlot } from "./noop-Dl4mZ-rr.mjs";
|
|
4
|
+
import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-CwzrjcRw.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|