import{a as s,b as n,V as i}from"./forwardRefs-BSESyuUp.js";import{d as u}from"./VAvatar-x_79C0tA.js";import{c as l,o as a,w as t,m,F as p,G as d,a as c,l as f,t as _}from"./index-CTxlYqj4.js";const C={__name:"MenuItems",props:{items:{type:Object,default:()=>{}},obj:{type:Object,default:()=>{}}},setup(o){return(k,V)=>(a(),l(i,{density:"compact"},{default:t(()=>[(a(!0),m(p,null,d(o.items,(e,r)=>(a(),l(s,{key:r,value:e,onClick:b=>e.onClick(o.obj)},{prepend:t(()=>[c(u,{color:e.color,icon:e.icon},null,8,["color","icon"])]),default:t(()=>[c(n,null,{default:t(()=>[f(_(e.label),1)]),_:2},1024)]),_:2},1032,["value","onClick"]))),128))]),_:1}))}};export{C as _};
