import{_ as e,b as t,s as n}from"./runtime-core.esm-bundler-Babufkcf.js";import{t as r}from"./create-CGAkPJkS.js";import{a as i}from"./QIcon-cTVL6ikA.js";import{n as a,t as o}from"./use-dark-B6e4te0z.js";var s=[`ul`,`ol`],c=r({name:`QList`,props:{...a,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:`div`}},setup(r,{slots:a}){let c=e(),l=o(r,c.proxy.$q),u=n(()=>s.includes(r.tag)?null:`list`),d=n(()=>`q-list`+(r.bordered?` q-list--bordered`:``)+(r.dense?` q-list--dense`:``)+(r.separator?` q-list--separator`:``)+(l.value?` q-list--dark`:``)+(r.padding?` q-list--padding`:``));return()=>t(r.tag,{class:d.value,role:u.value},i(a.default))}});export{c as t};