const c=(t,e=!1)=>{if(!t)return[];const s=t.getCheckedKeys();let r=[];return e&&(r=t.getHalfCheckedKeys()),!s&&!r?[]:[...s,...r]},o=t=>{if(!t)return[];const e=t.getHalfCheckedKeys();return e||[]},l=(t,e)=>{if(!(!e||e.store._getAllNodes().length===0))for(let s=0;s<e.store._getAllNodes().length;s++)e.store._getAllNodes()[s].checked=t};export{o as a,l as c,c as g};
