import{_ as g,__tla as v}from"./CountTo-49fe9310.js";import{d as b,ai as a,o as f,c as y,h as t,t as m,x as w,w as S,g as s,R as h,a0 as T,a as l,dD as r,q as V,k as j,b6 as k,_ as z,__tla as D}from"./index-7d5b26d3.js";let x,q=Promise.all([(()=>{try{return v}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),x=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=j,u=k,_=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"])):h("",!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:T(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-business/src/views/mall/statistics/trade/components/TradeStatisticValue.vue"]])});export{q as __tla,x as default};
