import{g as n,E as t,G as p,j as l,H as f,o as a,k as m,w as g,c as i,y as s,I as o,l as d,a as b,L as $,$ as c}from"./entry.eb978f24.js";import{_ as k}from"./_plugin-vue_export-helper.c27b6911.js";const h=n({inheritAttrs:!1,props:{as:{type:String,default:"div"},ui:{type:Object,default:()=>t.ui.card}},setup(e){const r=p();return{ui:l(()=>f({},e.ui,r.ui.card))}}});function y(e,r,u,C,v,B){return a(),m(c(e.$attrs.onSubmit?"form":e.as),$({class:[e.ui.base,e.ui.rounded,e.ui.divide,e.ui.ring,e.ui.shadow,e.ui.background]},e.$attrs),{default:g(()=>[e.$slots.header?(a(),i("div",{key:0,class:s([e.ui.header.base,e.ui.header.padding,e.ui.header.background])},[o(e.$slots,"header")],2)):d("",!0),b("div",{class:s([e.ui.body.base,e.ui.body.padding,e.ui.body.background])},[o(e.$slots,"default")],2),e.$slots.footer?(a(),i("div",{key:1,class:s([e.ui.footer.base,e.ui.footer.padding,e.ui.footer.background])},[o(e.$slots,"footer")],2)):d("",!0)]),_:3},16,["class"])}const j=k(h,[["render",y]]);export{j as default};
