import{H as u,j as b,ah as n,o as e,c as i,a8 as g,F as p,O as c,P as a,V as m,a as l,U as s,a3 as x,T as L}from"./@vue-6dabbe94.js";import{o as B}from"./index-a6ee13d3.js";import"./pinia-b6f74250.js";import"./vue-router-c1461dfc.js";import"./vue-i18n-b3581196.js";import"./@intlify-ea47d1db.js";import"./source-map-7d7e1c08.js";import"./vue-b1ba6f14.js";import"./js-cookie-edb2da2a.js";import"./@element-plus-64e6e14a.js";import"./nprogress-08a53ce8.js";import"./axios-4a70c6fc.js";import"./qs-c5b6dbf2.js";import"./side-channel-394f276c.js";import"./get-intrinsic-bd2830fd.js";import"./has-symbols-e8f3ca0e.js";import"./has-proto-f7d0b240.js";import"./function-bind-22e7ee79.js";import"./has-26d28e02.js";import"./call-bind-e5c1c8b0.js";import"./object-inspect-8fd4bade.js";import"./element-plus-91d6d961.js";import"./lodash-es-9851428c.js";import"./@vueuse-e129c873.js";import"./@popperjs-c75af06c.js";import"./@ctrl-f8748455.js";import"./dayjs-f6fdf7b4.js";import"./async-validator-dee29e8b.js";import"./memoize-one-297ddbcb.js";import"./escape-html-b8998962.js";import"./normalize-wheel-es-ed76fb12.js";import"./@floating-ui-880a26aa.js";import"./mitt-f7ef348c.js";import"./vue-grid-layout-ec2a62c3.js";const I=["onClick"],S=u({name:"navMenuSubItem"}),st=u({...S,props:{chil:{type:Array,default:()=>[]}},setup(_){const d=_,h=b(()=>d.chil),k=o=>{B.handleOpenLink(o)};return(o,V)=>{const r=n("SvgIcon"),f=n("sub-item",!0),y=n("el-sub-menu"),C=n("el-menu-item");return e(!0),i(p,null,g(h.value,t=>(e(),i(p,null,[t.children&&t.children.length>0?(e(),c(y,{index:t.path,key:t.path},{title:a(()=>[m(r,{name:t.meta.icon},null,8,["name"]),l("span",null,s(o.$t(t.meta.title)),1)]),default:a(()=>[m(f,{chil:t.children},null,8,["chil"])]),_:2},1032,["index"])):(e(),c(C,{index:t.path,key:t.path},{default:a(()=>[!t.meta.isLink||t.meta.isLink&&t.meta.isIframe?(e(),i(p,{key:0},[m(r,{name:t.meta.icon},null,8,["name"]),l("span",null,s(o.$t(t.meta.title)),1)],64)):(e(),i("a",{key:1,class:"w100",onClick:x($=>k(t),["prevent"])},[m(r,{name:t.meta.icon},null,8,["name"]),L(" "+s(o.$t(t.meta.title)),1)],8,I))]),_:2},1032,["index"]))],64))),256)}}});export{st as default};
