import{k as e,j as s}from"./index55.js?v=1761009159";import{N as o}from"./None.js?v=1761009159";import{c as t,g as r,v as a,x as i,y as l,N as p,B as m,C as n,D as u,F as j,b0 as _,L as c,A as d}from"./base-lib.js?v=1761009159";import"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./useMethod7.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./header-nav-tools.vue_vue_type_script_setup_true_lang.js?v=1761009159";import"./useMethod8.js?v=1761009159";import"./index105.js?v=1761009159";import"./form-item.js?v=1761009159";const v=t({__name:"Menu",props:{compKey:{}},setup(t){const v=t,y=r(()=>e.value[v.compKey].links),f=r(()=>{const{info:o}=e.value[v.compKey];return{...s(e.value[v.compKey]),display:"vertical"===(null==o?void 0:o.layout)?"block":"inline-block"}});return(e,s)=>(a(),i("div",null,[0===l(y).length?(a(),p(o,{key:0},{default:m(()=>s[0]||(s[0]=[n("菜单",-1)])),_:1,__:[0]})):u("",!0),(a(!0),i(j,null,_(l(y),e=>(a(),i("a",{key:e.id,style:c(l(f)),rel:"noreferrer noopener"},d(e.label),5))),128))]))}});export{v as default};
