@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
package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
|
package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { t as assertNever } from "./src-ZSqRK3dD.mjs";
|
|
3
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CRhn9qzS.mjs";
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-C8i4NraK.mjs";
|
|
5
5
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
7
|
import { useCallback, useEffect, useId, useMemo, useReducer } from "react";
|
|
@@ -217,29 +217,36 @@ function withSiteTermsCheckoutApi(api, execute) {
|
|
|
217
217
|
...api,
|
|
218
218
|
submitBooking: (request) => execute(request, api.submitBooking, appointmentPurchaseAccepted),
|
|
219
219
|
submitBookingWithPackage: (request) => execute(request, api.submitBookingWithPackage, appointmentPurchaseAccepted),
|
|
220
|
-
registerForEvent: (request) => execute(request, api.registerForEvent, purchaseAccepted,
|
|
220
|
+
registerForEvent: (request) => execute(request, api.registerForEvent, purchaseAccepted, eventRequestSiteTermsSurface(request)),
|
|
221
221
|
createEventCheckout: (request) => execute(request, api.createEventCheckout, purchaseAccepted),
|
|
222
222
|
createShopCheckout: (request) => execute(request, api.createShopCheckout, (response) => response.type !== "duplicate_membership_warning", "commerce"),
|
|
223
223
|
createUnifiedCheckout: (request) => execute(request, api.createUnifiedCheckout, purchaseAccepted, "commerce"),
|
|
224
224
|
createGiftingCheckout: (request) => execute(request, api.createGiftingCheckout, purchaseAccepted, "commerce")
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
/**
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
227
|
+
/** The same split read from the request on the wire: buying a pass or membership agrees on the commerce surface. */
|
|
228
|
+
function eventRequestSiteTermsSurface(request) {
|
|
229
|
+
if (request.funding !== void 0) {
|
|
230
|
+
if (request.funding.kind === "money") return "primary";
|
|
231
|
+
const source = request.funding.source;
|
|
232
|
+
switch (source.kind) {
|
|
233
|
+
case "buyPass":
|
|
234
|
+
case "buyMembership": return "commerce";
|
|
235
|
+
case "ownedPass":
|
|
236
|
+
case "ownedMembership": return "primary";
|
|
237
|
+
default: return assertNever(source);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
const method = request.paymentMethod;
|
|
241
|
+
switch (method) {
|
|
242
|
+
case "buy_pass":
|
|
243
|
+
case "buy_membership": return "commerce";
|
|
236
244
|
case "free":
|
|
237
245
|
case "pass":
|
|
238
246
|
case "membership":
|
|
239
247
|
case "stripe":
|
|
240
|
-
case null:
|
|
241
248
|
case void 0: return "primary";
|
|
242
|
-
default: return assertNever(
|
|
249
|
+
default: return assertNever(method);
|
|
243
250
|
}
|
|
244
251
|
}
|
|
245
252
|
function appointmentPurchaseAccepted(response) {
|
|
@@ -256,15 +263,11 @@ function siteTermsFailureKind(error) {
|
|
|
256
263
|
if (codes.some((code) => code === "SITE_TERMS_CHANGED" || code === "site_terms_changed")) return "changed";
|
|
257
264
|
return codes.some((code) => code === "SITE_TERMS_AGREEMENT_MISSING" || code === "site_terms_agreement_missing") ? "missing" : null;
|
|
258
265
|
}
|
|
266
|
+
/** What the signed-in customer last agreed to; a guest, or a profile that couldn't be read, has agreed to nothing we know of. */
|
|
259
267
|
async function readVerifiedAcceptance(api) {
|
|
260
|
-
if (
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
const parsed = verifiedSiteTermsAcceptanceSchema.nullable().safeParse(response.siteTermsAcceptance ?? null);
|
|
264
|
-
return parsed.success ? parsed.data : null;
|
|
265
|
-
} catch {
|
|
266
|
-
return null;
|
|
267
|
-
}
|
|
268
|
+
if (!api.portalVisitor) return null;
|
|
269
|
+
const result = await api.portalVisitor.profile();
|
|
270
|
+
return result.ok ? result.value.siteTermsAcceptance : null;
|
|
268
271
|
}
|
|
269
272
|
function privateIdentity(api) {
|
|
270
273
|
const auth = api.config.authOverrides?.portal ?? api.config.auth;
|
|
@@ -444,4 +447,4 @@ function SiteTermsChangedNotice(props) {
|
|
|
444
447
|
});
|
|
445
448
|
}
|
|
446
449
|
//#endregion
|
|
447
|
-
export {
|
|
450
|
+
export { useSiteTermsAgreement as i, SiteTermsChangedNotice as n, siteTermsFailureKind as r, SiteTermsAgreementField as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ao as bookingPresentation } from "./wizardSteps-BliJOzEX.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/BookingPanelArrangement.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { r as boxStyleClassNames } from "./boxStyleClassNames-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
2
|
+
import { C as resolveEventRegistrationEventSource, M as cancelledDateCopy, N as hasCancelledRegistrationDate } from "./newsletter-form.interactive-RuM86VAv.mjs";
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, nn as formatDate } from "./src-ZSqRK3dD.mjs";
|
|
4
|
+
import { Ci as planWholeSeriesParentBooking, Di as resolveSelectionBookingClosedDetail, Gs as resolveWholeSeriesBookingPhase, Oi as selectionRepresentativeEvent, Si as planOrdinarySeriesSelection, Ti as planWholeSeriesRunSelection, Ws as orderedLiveRunSessions, _i as resolveEventRegistrationScopedEvents, ao as bookingPresentation, bi as isOrdinaryPublicEvent, di as closedDatesCopy, fi as closedRunCopy, hi as normalizeEventRegistrationPageSurfaceSubject, jo as eventDateOptions, pi as closedDateCopy, vi as eventOccurrenceContext, wi as planWholeSeriesParentSelection, xi as planDropInPanel, yi as getPublicEventCanonicalPath } from "./wizardSteps-BliJOzEX.mjs";
|
|
5
|
+
import { h as assertNever } from "./bookingCalendar--aWnqFDn.mjs";
|
|
6
|
+
import { r as boxStyleClassNames } from "./boxStyleClassNames-BpGVdLFD.mjs";
|
|
7
|
+
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
|
|
8
|
+
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-CoOkvw__.mjs";
|
|
9
|
+
import { n as BookingPanelArrangement, t as StepIndicator$1 } from "./StepIndicator-Dn_DY4oY.mjs";
|
|
10
10
|
import React from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/nodes/event-registration/BookingPanel.tsx
|
|
@@ -221,7 +221,8 @@ function resolveBookingPanelSelection(source) {
|
|
|
221
221
|
}, events);
|
|
222
222
|
return selection ? {
|
|
223
223
|
selection,
|
|
224
|
-
subject
|
|
224
|
+
subject,
|
|
225
|
+
pageEvents: events
|
|
225
226
|
} : null;
|
|
226
227
|
}
|
|
227
228
|
function selectPagePanel(source, events) {
|
|
@@ -257,7 +258,7 @@ function selectOccurrenceForPanel(events, occurrenceId) {
|
|
|
257
258
|
event
|
|
258
259
|
} : null;
|
|
259
260
|
}
|
|
260
|
-
function planEventBookingPanel({ selection, subject }, now) {
|
|
261
|
+
function planEventBookingPanel({ selection, subject, pageEvents }, now) {
|
|
261
262
|
if (isCancelledDateSelection(selection)) return {
|
|
262
263
|
kind: "cancelled",
|
|
263
264
|
registration: null
|
|
@@ -267,7 +268,7 @@ function planEventBookingPanel({ selection, subject }, now) {
|
|
|
267
268
|
case "occurrence":
|
|
268
269
|
case "dateChoice":
|
|
269
270
|
case "wholeSeriesRun": {
|
|
270
|
-
const registration = selectionRegistrationTarget(selection, subject);
|
|
271
|
+
const registration = selectionRegistrationTarget(selection, subject, pageEvents);
|
|
271
272
|
if (nonBookingPanel) return {
|
|
272
273
|
...nonBookingPanel,
|
|
273
274
|
registration
|
|
@@ -331,10 +332,14 @@ function planNonBookingPanel(selection) {
|
|
|
331
332
|
detail
|
|
332
333
|
} : null;
|
|
333
334
|
}
|
|
334
|
-
|
|
335
|
+
/**
|
|
336
|
+
* A date's own page hands over its series' other dates as well as its own:
|
|
337
|
+
* the wizard decides whether the visitor can add them (`decideRegistrationEntry`).
|
|
338
|
+
*/
|
|
339
|
+
function selectionRegistrationTarget(selection, subject, pageEvents) {
|
|
335
340
|
switch (selection.kind) {
|
|
336
341
|
case "occurrence": return {
|
|
337
|
-
events:
|
|
342
|
+
events: seriesDates(selection.event, pageEvents),
|
|
338
343
|
occurrenceContext: eventOccurrenceContext(selection.event),
|
|
339
344
|
subject
|
|
340
345
|
};
|
|
@@ -350,6 +355,9 @@ function selectionRegistrationTarget(selection, subject) {
|
|
|
350
355
|
};
|
|
351
356
|
}
|
|
352
357
|
}
|
|
358
|
+
function seriesDates(pageDate, pageEvents) {
|
|
359
|
+
return [pageDate, ...pageEvents.filter((event) => isOrdinaryPublicEvent(event) && event.seriesId === pageDate.seriesId && event.occurrenceId !== pageDate.occurrenceId)];
|
|
360
|
+
}
|
|
353
361
|
/**
|
|
354
362
|
* Every run the course page admits, not just those still taking bookings. An
|
|
355
363
|
* invitation emailed for a run links here, and stays good after that run closes.
|
|
@@ -1327,38 +1327,6 @@ function ThemedButtonLink({ variant, size, extraClassName, screenReaderSuffix, l
|
|
|
1327
1327
|
})
|
|
1328
1328
|
});
|
|
1329
1329
|
}
|
|
1330
|
-
/** Fixed icon-only actions control; callers cannot supply icon children. */
|
|
1331
|
-
function ThemedActionsButton({ variant, size, extraClassName, ...buttonProps }) {
|
|
1332
|
-
return /* @__PURE__ */ jsx("button", {
|
|
1333
|
-
...buttonProps,
|
|
1334
|
-
"aria-label": "Actions",
|
|
1335
|
-
className: themedButtonClasses(variant, size, extraClassName),
|
|
1336
|
-
children: /* @__PURE__ */ jsxs("svg", {
|
|
1337
|
-
width: "16",
|
|
1338
|
-
height: "16",
|
|
1339
|
-
viewBox: "0 0 16 16",
|
|
1340
|
-
fill: "currentColor",
|
|
1341
|
-
"aria-hidden": "true",
|
|
1342
|
-
children: [
|
|
1343
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1344
|
-
cx: "8",
|
|
1345
|
-
cy: "3",
|
|
1346
|
-
r: "1.5"
|
|
1347
|
-
}),
|
|
1348
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1349
|
-
cx: "8",
|
|
1350
|
-
cy: "8",
|
|
1351
|
-
r: "1.5"
|
|
1352
|
-
}),
|
|
1353
|
-
/* @__PURE__ */ jsx("circle", {
|
|
1354
|
-
cx: "8",
|
|
1355
|
-
cy: "13",
|
|
1356
|
-
r: "1.5"
|
|
1357
|
-
})
|
|
1358
|
-
]
|
|
1359
|
-
})
|
|
1360
|
-
});
|
|
1361
|
-
}
|
|
1362
1330
|
/** Fixed semantic download affordance; callers cannot supply arbitrary icon children. */
|
|
1363
1331
|
function ThemedDownloadLink({ variant, size, extraClassName, label, screenReaderSuffix, labelClassName, ...anchorProps }) {
|
|
1364
1332
|
return /* @__PURE__ */ jsxs("a", {
|
|
@@ -1403,4 +1371,4 @@ function ThemedAuthoredButton({ label, href, variant, size, extraClassName, disa
|
|
|
1403
1371
|
});
|
|
1404
1372
|
}
|
|
1405
1373
|
//#endregion
|
|
1406
|
-
export {
|
|
1374
|
+
export { themeButtonSelector as C, parseThemeButtonVariantId as S, FileTextIcon as _, ThemedFileChooser as a, SpinnerNode as b, ArrowDownIcon as c, CirclePlusIcon as d, ClockIcon as f, FileSpreadsheetIcon as g, FileAudioIcon as h, ThemedDownloadLink as i, ChevronDownIcon as l, FileArchiveIcon as m, ThemedButton as n, getIconComponent as o, ExternalLinkIcon as p, ThemedButtonLink as r, isSemanticIconId as s, ThemedAuthoredButton as t, CircleMinusIcon as u, MinusIcon as v, AFFORDANCE_SUPPRESS_CLASS as w, clsx as x, PlusIcon as y };
|
|
@@ -1101,6 +1101,36 @@ function inkFrom(family, paint, ratio, maxDistance = BRAND_INK_MAX_DELTA_E) {
|
|
|
1101
1101
|
source: "family"
|
|
1102
1102
|
};
|
|
1103
1103
|
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Neutral text for a paint. The style's preferred neutral wins when one of its
|
|
1106
|
+
* pair clears (the higher-contrast one, dark on a tie); otherwise literal black
|
|
1107
|
+
* or white by `maxContrastBlackOrWhite`; otherwise `unpaintable`.
|
|
1108
|
+
*/
|
|
1109
|
+
function neutralInk(paint, ratio, preferred) {
|
|
1110
|
+
assertContrastRatio(ratio);
|
|
1111
|
+
if (preferred) {
|
|
1112
|
+
const dark = worstContrast(hexLuminance(preferred.dark), paint);
|
|
1113
|
+
const light = worstContrast(hexLuminance(preferred.light), paint);
|
|
1114
|
+
const [hex, achieved] = dark >= light ? [preferred.dark, dark] : [preferred.light, light];
|
|
1115
|
+
if (achieved >= ratio) return {
|
|
1116
|
+
kind: "ink",
|
|
1117
|
+
hex,
|
|
1118
|
+
ratio: achieved,
|
|
1119
|
+
source: "neutral"
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
const literal = maxContrastBlackOrWhite(paint);
|
|
1123
|
+
return literal.ratio >= ratio ? {
|
|
1124
|
+
kind: "ink",
|
|
1125
|
+
hex: literal.ink === "black" ? "#000000" : "#ffffff",
|
|
1126
|
+
ratio: literal.ratio,
|
|
1127
|
+
source: "neutral"
|
|
1128
|
+
} : {
|
|
1129
|
+
kind: "unpaintable",
|
|
1130
|
+
interval: paint,
|
|
1131
|
+
ratio
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1104
1134
|
//#endregion
|
|
1105
1135
|
//#region ../theme-core/src/surfaces/surfaceInks.ts
|
|
1106
1136
|
/** Lines and focus rings are graphics: WCAG non-text contrast. */
|
|
@@ -1372,6 +1402,50 @@ function normalizedReference(value) {
|
|
|
1372
1402
|
return normalized.length > 0 ? normalized : null;
|
|
1373
1403
|
}
|
|
1374
1404
|
//#endregion
|
|
1405
|
+
//#region ../theme-core/src/utils/cssValueSafety.ts
|
|
1406
|
+
/**
|
|
1407
|
+
* Whether a value can be written into CSS where its author meant it to go
|
|
1408
|
+
* (issue 1185).
|
|
1409
|
+
*
|
|
1410
|
+
* Server rendering writes a `style` object as one attribute string, and
|
|
1411
|
+
* generated stylesheets interpolate tokens into declarations. Either way the
|
|
1412
|
+
* value is left as it is, so one holding a `;` or a brace adds declarations or
|
|
1413
|
+
* rules nobody wrote. This is the one rule for "a value stays inside its
|
|
1414
|
+
* declaration"; the inline style guard, the colour token helpers and the
|
|
1415
|
+
* custom-block layout gate all build on it.
|
|
1416
|
+
*/
|
|
1417
|
+
/** A complete quoted string, inside which `;` is just text (a font name, a data URI). */
|
|
1418
|
+
const QUOTED_STRING = /"[^"\\\n]*"|'[^'\\\n]*'/g;
|
|
1419
|
+
/**
|
|
1420
|
+
* Outside quoted strings: the end of a declaration, a block, a CSS escape, or
|
|
1421
|
+
* a quote that never closes and would swallow what follows.
|
|
1422
|
+
*/
|
|
1423
|
+
const DECLARATION_BREAK = /[;{}\\"']/;
|
|
1424
|
+
/**
|
|
1425
|
+
* Refused inside quoted strings too: values also go into `<style>` elements,
|
|
1426
|
+
* where `</style>` ends the stylesheet whether or not CSS reads it as a string.
|
|
1427
|
+
*/
|
|
1428
|
+
const TAG_BRACKET = /[<>]/;
|
|
1429
|
+
/** The value with its complete quoted strings removed. */
|
|
1430
|
+
const outsideQuotedStrings = (value) => value.replace(QUOTED_STRING, "");
|
|
1431
|
+
/** True when `value` cannot end its declaration or open another construct. */
|
|
1432
|
+
function staysInsideDeclaration(value) {
|
|
1433
|
+
return !TAG_BRACKET.test(value) && !DECLARATION_BREAK.test(outsideQuotedStrings(value));
|
|
1434
|
+
}
|
|
1435
|
+
/** `url(` and `image-set(` (which `-webkit-image-set(` ends in), the two every browser fetches through. */
|
|
1436
|
+
const LOADING_FUNCTION_CALL = /(?:url|image-set)\(/i;
|
|
1437
|
+
/**
|
|
1438
|
+
* True when `value` calls `url()` or `image-set()`, in any letter case.
|
|
1439
|
+
*
|
|
1440
|
+
* Only meaningful for a value that `staysInsideDeclaration`: that rule refuses
|
|
1441
|
+
* backslashes, so the name cannot be spelled with CSS escapes. A name split
|
|
1442
|
+
* from its bracket by a space or a comment is not a function call to a browser
|
|
1443
|
+
* either, so it fetches nothing.
|
|
1444
|
+
*/
|
|
1445
|
+
function callsCssLoadingFunction(value) {
|
|
1446
|
+
return LOADING_FUNCTION_CALL.test(outsideQuotedStrings(value));
|
|
1447
|
+
}
|
|
1448
|
+
//#endregion
|
|
1375
1449
|
//#region ../theme-core/src/utils/colorStyles.ts
|
|
1376
1450
|
const COLOR_VAR_PREFIX = "--tb-";
|
|
1377
1451
|
function parseToken(source) {
|
|
@@ -1407,6 +1481,7 @@ function surfaceRoleForTextToken(token) {
|
|
|
1407
1481
|
* rgbColorValue('raw:transparent') // => 'transparent'
|
|
1408
1482
|
*/
|
|
1409
1483
|
function rgbColorValue(token) {
|
|
1484
|
+
if (typeof token !== "string" || !staysInsideDeclaration(token)) return "transparent";
|
|
1410
1485
|
const { token: baseToken, opacityPercent, raw } = parseToken(token);
|
|
1411
1486
|
if (raw) return raw;
|
|
1412
1487
|
const cssVar = `${COLOR_VAR_PREFIX}${baseToken}`;
|
|
@@ -1425,6 +1500,7 @@ function rgbColorValue(token) {
|
|
|
1425
1500
|
* cssVarValue('surface/95') // => 'var(--tb-surface)' (opacity ignored)
|
|
1426
1501
|
*/
|
|
1427
1502
|
function cssVarValue(token) {
|
|
1503
|
+
if (typeof token !== "string" || !staysInsideDeclaration(token)) return "transparent";
|
|
1428
1504
|
const { token: baseToken } = parseToken(token);
|
|
1429
1505
|
return `var(${COLOR_VAR_PREFIX}${baseToken})`;
|
|
1430
1506
|
}
|
|
@@ -4397,4 +4473,4 @@ function mapSurfaceTreeChildren(value, map) {
|
|
|
4397
4473
|
return isSurfaceTreeRecord(value) ? Object.fromEntries(Object.entries(value).map(([key, item]) => [key, map(item)])) : value;
|
|
4398
4474
|
}
|
|
4399
4475
|
//#endregion
|
|
4400
|
-
export {
|
|
4476
|
+
export { surfaceInkPublication as $, DEFAULT_BUTTON_SIZES as A, ORDINARY_TEXT_MIN_CONTRAST_RATIO as At, resolveThemeColorReferenceValue as B, rgbToHex as Bt, buttonRadius as C, freezeOwnedThemeValue as Ct, materializeRuntimeButtonAppearance as D, paletteValueKey as Dt, buttonTypographyDeclarations as E, resolveOpaqueSurfaceHex as Et, defineButtonStyleRecipe as F, featuresFromHex as Ft, mergeStyles as G, backgroundColorStyle as H, mapButtonRoleAppearances as I, hexToRgb as It, textColorValue as J, rgbColorValue as K, mapButtonVisualAppearances as L, oklabToOklch as Lt, FONT_SIZE_MAP as M, preparePaletteColourIndex as Mt, generateShadowValue as N, solidPaint as Nt, paddingDeclarations as O, paletteValueKeySchema as Ot, PUBLIC_BUTTON_ROLES as P, _classPrivateFieldInitSpec as Pt, safeTokenOr as Q, isCssColorLiteral as R, oklabToSrgb as Rt, buttonBorder as S, surfaceInkValue as St, buttonStateAppearanceDeclarations as T, resolveConcreteColorHex as Tt, borderColorStyle as U, resolveTokenOrCssColorValue as V, srgbToOklab as Vt, cssVarValue as W, staysInsideDeclaration as X, callsCssLoadingFunction as Y, resolveSurfaceForeground as Z, contextualButtonSurfaceResetStyles as _, surfaceForegroundStyle as _t, requireResolvedSurface as a, HOVER_TEXT_THRESHOLD as at, BUTTON_CONTRAST_POLICY as b, surfaceInkDeclarations as bt, surfaceButtonRequest as c, inkReference as ct, toAccessibleColorSurfaceIntent as d, planForegroundHover as dt, CONTROL_EDGE_SEED_TOKEN as et, compositeHex as f, DEFAULT_SURFACE_TEXT_COLOR as ft, actionVariableFallback as g, surfaceForegroundInputFromResolved as gt, scrimTone as h, surfaceForegroundDeclarations as ht, prepareThemeSurfaceRevision as i, _classPrivateFieldSet2 as it, ELEVATION_OFFSET as j, contrastRatio as jt, BORDER_WIDTH_MAP as k, requirePaletteColorsFromEntries as kt, surfaceDecorationColors as l, expandPalette as lt, minimumScrimOpacity as m, SURFACE_INK_CSS_VARS as mt, parseSurfaceTree as n, neutralInk as nt, resolveSurface as o, certifyPaint as ot, gradientScrimSamples as p, SURFACE_FOREGROUND_CSS_VARS as pt, textColorStyle as q, prepareSurfaceIndex as r, _classPrivateFieldGet2 as rt, serializeSurfaceTree as s, contrastThresholdByPolicy as st, parseResolvedSurface as t, solveSurfaceInks as tt, surfaceTransportContext as u, getTextColorForBackground as ut, compileButtonColourStates as v, surfaceForegroundValue as vt, buttonShadow as w, ownedThemeSnapshot as wt, formatButtonColourContractError as x, surfaceInkStyle as xt, resolveSolidButtonColour as y, surfaceForegroundValueWithOpacity as yt, resolveOnColorForThemeToken as z, oklchToHexGamut as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder--uHW4tFM.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|