1import{d as b,v as g,M as x,r as C,z as l,o as c,c as _,a as s,q as n,u as D,b as p,e as d,F as w,j as B,k as E,E as I,n as u,aC as S,l as F,_ as Q}from"./index-1790079537705-9140afbe.js";import{c as V}from"./dashboard-1790079537705-2029398d.js";import{f as L}from"./report-1790079537705-0e90a924.js";import"./webfunny-event-1790079537705-f75b1fd8.js";const M={class:"card card--no-shadow dimension-wrap"},j={class:"txt-tag--l color-f1 header"},z={class:"dimension-name"},N={class:"dimension-compare-percent"},q={class:"dimension-value"},A=b({name:"DashboardDimensionCard",__name:"dimension-card",setup(O,{expose:m}){const{t:e}=g.useI18n(),v=x(),r=C([{label:e("dictionary.dateQuick.yesterday"),key:"yesterday",v:0,v_c:0,rate:0,delta:0,tips:e("dashboard.tips.yesterday")},{label:e("dictionary.dateQuick.last7Days"),key:"seven_ago",v:0,v_c:0,rate:0,delta:0,tips:e("dashboard.tips.sevenAgo")},{label:e("dictionary.dateQuick.month"),key:"month",v:0,v_c:0,rate:0,delta:0,tips:e("dashboard.tips.month")},{label:e("dictionary.dateQuick.lastMonth"),key:"last_month",v:0,v_c:0,rate:0,delta:0,tips:e("dashboard.tips.lastMonth")}]);function y(t){return r.value.map(o=>F.merge({},o,t[o.key]))}function h(){V().then(({data:t})=>{r.value=y(t??{})})}function i(t,o){return S(t)?"-":L(t,o,{currencyFields:["v"],percentFields:["rate"]},v.userInfo.currencySymbol??"")}return m({getData:h}),(t,o)=>{const f=l("el-col"),k=l("el-row");return c(),_("div",M,[s("header",j,n(D(e)("common.estimatedRevenue")),1),p(k,{gutter:32},{default:d(()=>[(c(!0),_(w,null,B(r.value,a=>(c(),E(f,{key:a.key,span:6,class:"dimension-item"},{default:d(()=>[p(I,{content:a.tips,placement:"top-start"},{default:d(()=>[s("span",z,[s("span",null,n(a.label),1),s("span",{class:u(["dimension-compare-content",{increase:a.rate>0,decrease:a.rate<0}])},[s("span",N,n(i(a.rate,"rate")),1),s("i",{class:u(["iconfont",{"icon-up":a.rate>0,"icon-down":a.rate<0}])},null,2)],2)])]),_:2},1032,["content"]),s("div",q,n(i(a.v,"v")),1)]),_:2},1024))),128))]),_:1})])}}});const H=Q(A,[["__scopeId","data-v-20add407"]]);export{H as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.