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