import{j as i}from"./Bgmy51Qv.js";function m(){const t=i([]),l=i(null),s=i([]);return{cbList:t,listPageRef:l,deleteBulk:()=>{var e;(e=t.value)!=null&&e.length&&l.value.deleteItem(t.value.join(","))},setItemList:e=>{s.value=e},checkAll:e=>{e.target.checked?t.value=s.value.map(d=>d.id):t.value=[]},editNode:e=>{l.value.editItem(e.id)},deleteNode:e=>{l.value.deleteItem(e.id)},itemList:s}}export{m as u};
