import{_ as v,__tla as g}from"./CountTo-5c16575b.js";import{d as b,p as a,o as f,c as y,g as t,t as m,l as w,w as S,i as s,a2 as T,W as h,a as l,au as r,j,v as V,aw as k,_ as z,__tla as D}from"./index-b2b3c6c4.js";let u,H=Promise.all([(()=>{try{return g}catch{}})(),(()=>{try{return D}catch{}})()]).then(async()=>{let n,i,c,o,p;n={class:"flex flex-col gap-2 bg-[var(--el-bg-color-overlay)] p-6"},i={class:"flex items-center justify-between text-gray-500"},c={class:"mb-4 text-3xl"},o={class:"flex flex-row gap-1 text-sm"},p=t("span",{class:"text-gray-500"},"\u73AF\u6BD4",-1),u=z(b({name:"TradeStatisticValue",__name:"TradeStatisticValue",props:{tooltip:a.string.def(""),title:a.string.def(""),prefix:a.string.def(""),value:a.number.def(0),decimals:a.number.def(0),percent:a.oneOfType([Number,String]).def(0)},setup:e=>(M,N)=>{const d=V,x=k,_=v;return f(),y("div",n,[t("div",i,[t("span",null,m(e.title),1),e.tooltip?(f(),w(x,{key:0,content:e.tooltip,placement:"top-start"},{default:S(()=>[s(d,{icon:"ep:warning"})]),_:1},8,["content"])):T("",!0)]),t("div",c,[s(_,{prefix:e.prefix,"end-val":e.value,decimals:e.decimals},null,8,["prefix","end-val","decimals"])]),t("div",o,[p,t("span",{class:h(l(r)(e.percent)>0?"text-red-500":"text-green-500")},[j(m(Math.abs(l(r)(e.percent)))+"% ",1),s(d,{icon:l(r)(e.percent)>0?"ep:caret-top":"ep:caret-bottom",class:"!text-sm"},null,8,["icon"])],2)])])}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/statistics/trade/components/TradeStatisticValue.vue"]])});export{H as __tla,u as default};
