import{$ as e,G as t,W as n,Wt as r,_ as i,g as a,h as o,j as s,v as c,y as l,z as u}from"./vue.runtime.esm-bundler-DAWRyTnP.js";import{t as d}from"./_plugin-vue_export-helper-B7aGp3iI.js";var f={name:`List`},p={class:`list-none`};function m(e,t,r,i,a,o){return u(),l(`div`,p,[n(e.$slots,`default`)])}var h=d(f,[[`render`,m]]),g={name:`ListItem`,props:{title:{type:String,required:!1,default:``},active:{type:Boolean,required:!0},index:{type:Number,default:null}},setup(e,{slots:t}){let n=`cursor-pointer pb-2 pr-0 text-sm font-medium leading-5  flex items-center`;return{hasIconSlot:o(()=>!!t.icon),containerClass:o(()=>e.active?`${n} text-primary-500`:`${n} text-gray-500`)}}},_={key:0,class:`mr-3`};function v(o,d,f,p,m,h){let g=t(`router-link`);return u(),i(g,s(o.$attrs,{class:p.containerClass}),{default:e(()=>[p.hasIconSlot?(u(),l(`span`,_,[n(o.$slots,`icon`)])):c(``,!0),a(`span`,null,r(f.title),1)]),_:3},16,[`class`])}var y=d(g,[[`render`,v]]);export{h as n,y as t};