import{computed as e,inject as t,provide as n}from"vue";var r=Symbol(`OverrideContextKey`),i=()=>t(r,void 0),a=t=>{let{prefixCls:a,mode:o,selectable:s,validator:c,onClick:l,expandIcon:u}=i()||{};n(r,{prefixCls:e(()=>t.prefixCls?.value??a?.value),mode:e(()=>t.mode?.value??o?.value),selectable:e(()=>t.selectable?.value??s?.value),validator:t.validator??c,onClick:t.onClick??l,expandIcon:t.expandIcon??u?.value})};export{r as OverrideContextKey,i as useInjectOverride,a as useProvideOverride};