import{b as e,f as a,o as n,l as t,k as o,j as d,h as s,q as l,n as m,F as i,i as r,ad as u,ae as c,t as p}from"./index-a5345aa4.js";const f=e({__name:"index",setup(e){const{themeList:f,activeThemeName:_,setTheme:b}=c();return(e,c)=>{const h=a("el-icon"),k=a("el-tooltip"),w=a("el-dropdown-item"),x=a("el-dropdown-menu"),g=a("el-dropdown");return n(),t(g,{trigger:"click",onCommand:m(b)},{dropdown:o((()=>[d(x,null,{default:o((()=>[(n(!0),s(i,null,l(m(f),((e,a)=>(n(),t(w,{key:a,disabled:m(_)===e.name,command:e.name},{default:o((()=>[r("span",null,p(e.title),1)])),_:2},1032,["disabled","command"])))),128))])),_:1})])),default:o((()=>[r("div",null,[d(k,{effect:"dark",content:"主题模式",placement:"bottom"},{default:o((()=>[d(h,{size:20},{default:o((()=>[d(m(u))])),_:1})])),_:1})])])),_:1},8,["onCommand"])}}});export{f as _};
