import{r as c,c as o}from"./vendor-866bb149-1782572373740v=1.0.0.js";const r=(l="id")=>{const s=c(!1),t=c([]),n=o(()=>{let e=[];return t.value.forEach(a=>e.push(a[l])),e});return{isSelected:s,selectedList:t,selectedListIds:n,selectionChange:e=>{e.length?s.value=!0:s.value=!1,t.value=e}}};export{r as u};
