import{_ as g,__tla as v}from"./CountTo-6d786ffb.js";import{d as b,as as a,o as f,c as y,B as t,E as m,C as w,A as S,f as s,a3 as T,ad as h,a as l,dN as r,D as V,Q as j,bi as z,_ as D,__tla as N}from"./index-54aa57d8.js";let x,k=Promise.all([(()=>{try{return v}catch{}})(),(()=>{try{return N}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),x=D(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=>(A,B)=>{const d=j,u=z,_=g;return f(),y("div",n,[t("div",i,[t("span",null,m(e.title),1),e.tooltip?(f(),w(u,{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")},[V(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","D:/zx/mall-newfeifan-zx-admin/src/views/mall/statistics/trade/components/TradeStatisticValue.vue"]])});export{k as __tla,x as default};