import{s as c}from"./app-BDiH45dx.js";import{J as i,o as f,c as m,w as o,j as n,u as l}from"./app-DnroACXc.js";const h={__name:"TMenubar",props:["items"],setup(t){const a=t,r=()=>{a.items.forEach(s=>{typeof s.name=="string"&&(s.label=s.name),s.items instanceof Array&&s.items.forEach(e=>{typeof e.name=="string"&&(e.label=e.name)})})};return a.items instanceof Array&&r(),i(()=>a.items,()=>{r()}),(s,e)=>(f(),m(l(c),{model:t.items},{start:o(()=>[n(s.$slots,"start")]),end:o(()=>[n(s.$slots,"end")]),_:3},8,["model"]))}};export{h as _};
