import{c as a,h as t}from"./public.js?v=1763625242172";import{k as e,P as s,X as o,F as r,R as l,S as i,V as n}from"./vue.js?v=1763625242172";import{dh as m}from"./naive.js?v=1763625242172";import"./page_layout.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const u={class:"p-20px"},p=e({__name:"count",props:{list:{default:()=>[]}},setup(e){const{t:p}=s(),{columns:c}=a([{key:"name",title:p("Waf.Site.index_15")},{key:"value",title:p("Waf.Site.index_16"),render:a=>o(m,{placement:"bottom-start","arrow-point-to-center":!0},{trigger:()=>o(r,null,[a.value>0?o("a",{class:"bt-link error",href:"javascript:;"},[a.value]):a.value]),default:()=>o("div",{class:"leading-18px"},[p("Waf.Site.index_42",[a.value])])})}]);return(a,e)=>{const s=t;return l(),i("div",u,[o(s,{data:a.list,columns:n(c)},null,8,["data","columns"])])}}});export{p as default};
