import{C as n}from"./index.7d5e241b.js";import{a as p,o as e,h as i,F as d,aW as m,aR as f,p as l,j as a,q as g,t as c,k as o,i as s,aO as _,n as v}from"./index.0d073eaa.js";import{T as x}from"./index.e317a008.js";import{C as B}from"./index.abdcab42.js";import"./index.78efd931.js";/* empty css              */import"./index.b285e489.js";import"./index.aa6b7013.js";import"./index.1d29734e.js";import"./Col.a2eadc78.js";import"./useFlexGapSupport.474c31b7.js";import"./useRefs.e81831e2.js";import"./PlusOutlined.64d8e001.js";const C=[{title:"\u8BBF\u95EE\u6570",icon:"visit-count|svg",value:2e3,total:12e4,color:"green",action:"\u6708"},{title:"\u6210\u4EA4\u989D",icon:"total-sales|svg",value:2e4,total:5e5,color:"blue",action:"\u6708"},{title:"\u4E0B\u8F7D\u6570",icon:"download-count|svg",value:8e3,total:12e4,color:"orange",action:"\u5468"},{title:"\u6210\u4EA4\u6570",icon:"transaction|svg",value:5e3,total:5e4,color:"purple",action:"\u5E74"}],V={class:"md:flex"},w={class:"py-4 px-4 flex justify-between items-center"},E={class:"p-2 px-4 flex justify-between"},I=p({__name:"GrowCard",props:{loading:{type:Boolean}},setup(u){return(h,y)=>(e(),i("div",V,[(e(!0),i(d,null,m(o(C),(t,r)=>(e(),f(o(B),{key:t.title,size:"small",loading:u.loading,title:t.title,class:v(["md:w-1/4 w-full !md:mt-0",{"!md:mr-4":r+1<4,"!mt-4":r>0}])},{extra:l(()=>[a(o(x),{color:t.color},{default:l(()=>[g(c(t.action),1)]),_:2},1032,["color"])]),default:l(()=>[s("div",w,[a(o(n),{prefix:"$",startVal:1,endVal:t.value,class:"text-2xl"},null,8,["endVal"]),a(o(_),{icon:t.icon,size:40},null,8,["icon"])]),s("div",E,[s("span",null,"\u603B"+c(t.title),1),a(o(n),{prefix:"$",startVal:1,endVal:t.total},null,8,["endVal"])])]),_:2},1032,["loading","title","class"]))),128))]))}});export{I as default};
