import{c as s,a as o,h as n,b as c,a8 as l,a9 as u,g as i}from"./index-CoQ-x5A8.js";import{u as q,a as v}from"./use-dark-dqtTUvyg.js";const m=s({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(a,{slots:e}){const r=o(()=>`q-card__section q-card__section--${a.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>n(a.tag,{class:r.value},c(e.default))}}),C=s({name:"QCardActions",props:{...l,vertical:Boolean},setup(a,{slots:e}){const r=u(a),t=o(()=>`q-card__actions ${r.value} q-card__actions--${a.vertical===!0?"vert column":"horiz row"}`);return()=>n("div",{class:t.value},c(e.default))}}),p=s({name:"QCard",props:{...q,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(a,{slots:e}){const{proxy:{$q:r}}=i(),t=v(a,r),d=o(()=>"q-card"+(t.value===!0?" q-card--dark q-dark":"")+(a.bordered===!0?" q-card--bordered":"")+(a.square===!0?" q-card--square no-border-radius":"")+(a.flat===!0?" q-card--flat no-shadow":""));return()=>n(a.tag,{class:d.value},c(e.default))}});export{p as Q,m as a,C as b};
