import{_ as l,o as s,g as t,a as r,f as n,t as i,j as d,h as o,n as c,b as u,L as f,x as h}from"./app-SC54XQDl.js";const g={key:0,class:"header"},m={key:1,class:"footer"},$={__name:"CardView",props:{header:{type:String,default:""},cols:{type:[Number,String],default:0},gap:{type:[Number,String],default:-1}},setup(e){return(a,y)=>(s(),t("div",null,[r("div",h({class:"card-box"},a.$attrs),[e.header&&e.header.length>0||a.$slots.header?(s(),t("div",g,[n(i(e.header)+" ",1),d(a.$slots,"header",{},void 0,!0)])):o("",!0),r("div",{class:c(["rows",{"mt-0":e.header&&e.header.length>0||a.$slots.header,["fixed-cols grid-cols-"+e.cols]:e.cols>0,["fixed-gap gap-y-"+e.gap]:e.gap>-1}])},[d(a.$slots,"default",{},void 0,!0)],2),a.$slots.footer?(s(),t("div",m,[u(f),d(a.$slots,"footer",{},void 0,!0)])):o("",!0)],16)]))}},N=l($,[["__scopeId","data-v-6e9a7acd"]]);export{N as C};
