import{d as f,aD as v,u as S,a as C,e as o,o as c,c as i,n as s,g as a,t as g,h as B,p as A,w,S as l,_ as x}from"./index-17740f03-1778929502341v=1.0.0.js";const y={class:"card-container"},D={class:"header"},k={class:"left flex"},E={class:"pl12"},I={key:0,class:"pr8"},N={class:"select"},R={class:"table"},V=f({__name:"StatisticsCard",props:{path:{default:"matchActivityPlan"},title:{default:"\u8D5B\u4E8B\u6D3B\u52A8\u8BA1\u5212"},icon:{default:"Grid"}},setup(r){const{flatMenuListGet:n}=v(),d=S(),e=r,_=C(()=>n.filter(t=>!t.meta.isHide).some(t=>t.name==e.path)),u=()=>{!e.path||!n.filter(t=>!t.meta.isHide).some(t=>t.name==e.path)||d.push({name:e.path})};return(t,b)=>{const p=o("SvgIcon"),h=o("ArrowRight"),m=o("el-icon");return c(),i("div",y,[s("div",D,[s("div",k,[a(p,{name:e.icon,class:"icon"},null,8,["name"]),s("span",E,g(e.title),1)]),s("div",{class:"right flex",onClick:u},[B(_)?(c(),i("span",I,"\u8BE6\u60C5")):A("v-if",!0),a(m,null,{default:w(()=>[a(h)]),_:1})])]),s("div",N,[l(t.$slots,"select",{},void 0,!0)]),s("div",R,[l(t.$slots,"table",{},void 0,!0)])])}}});const H=x(V,[["__scopeId","data-v-158d0d0c"]]);export{H as default};
