import{_ as g,__tla as v}from"./CountTo-fee865c4.js";import{d as y,p as a,o as f,c as b,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 O,_ as P,__tla as k}from"./index-2c56227b.js";let u,A=Promise.all([(()=>{try{return v}catch{}})(),(()=>{try{return k}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=P(y({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=>(E,G)=>{const d=V,_=O,x=g;return f(),b("div",n,[t("div",i,[t("span",null,m(e.title),1),e.tooltip?(f(),w(_,{key:0,content:e.tooltip,placement:"top-start"},{default:S(()=>[s(d,{icon:"ep:warning"})]),_:1},8,["content"])):T("",!0)]),t("div",c,[s(x,{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","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/mall/statistics/trade/components/TradeStatisticValue.vue"]])});export{A as __tla,u as default};
