import{_ as c}from"./Ba4kvkeX.js";import{v as i,_ as l,o as e,c as o,J as d,K as p,p as u,E as h,q as m}from"./CChoqk00.js";const f=i({__name:"ChartCards",props:{titles:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},layout:{type:String,default:""},pending:{type:Boolean,default:!1},chartHeight:{type:String,default:"400px"}},setup(s,{expose:a}){a();const t={};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}});function g(s,a,t,y,C,x){const _=c;return t.data.length?(e(),o("div",{key:0,class:h(["grid gap-4",[t.layout]])},[(e(!0),o(d,null,p(t.data,(n,r)=>(e(),u(_,{key:r,title:t.titles[r],"chart-data":n,"chart-options":n.options,pending:t.pending,"chart-height":t.chartHeight},null,8,["title","chart-data","chart-options","pending","chart-height"]))),128))],2)):m("",!0)}const B=Object.assign(l(f,[["render",g],["__file","ChartCards.vue"]]),{__name:"ChartCards"});export{B as _};
