import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as r}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{k as l,R as i,a0 as t,F as c,$ as m,Z as p,S as u}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a5 as _}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";const d={class:"p-20px"},y=l({__name:"count",props:{list:{default:()=>[]}},setup(f){const{t:a}=i(),{columns:n}=r([{key:"name",title:a("Waf.Site.index_15")},{key:"value",title:a("Waf.Site.index_16"),render:e=>t(_,{placement:"bottom-start","arrow-point-to-center":!0},{trigger:()=>t(c,null,[e.value>0?t("a",{class:"bt-link error",href:"javascript:;"},[e.value]):e.value]),default:()=>t("div",{class:"leading-18px"},[a("Waf.Site.index_42",[e.value])])})}]);return(e,v)=>{const s=o;return m(),p("div",d,[t(s,{data:e.list,columns:u(n)},null,8,["data","columns"])])}}});export{y as default};
