import{c as s,h as a}from"./public.js?v=1763625242172";import{dG as t}from"./page_layout.js?v=1763625242172";import{b as e}from"./site3.js?v=1763625242172";import{k as o,P as i,X as m,R as l,S as n,V as r}from"./vue.js?v=1763625242172";import{dj as p}from"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";const u={class:"p-20px"},d=o({__name:"site",props:{list:{}},setup(o){const d=o,c=t(),{t:j}=i(),{table:f,columns:_}=s([{key:"name",title:j("Waf.Overview.index_18"),ellipsis:{tooltip:!0}},{key:"status",title:j("Waf.Overview.index_19"),width:"40%",render:(s,a)=>m(p,{value:s.status,size:"small",onUpdateValue:async t=>{t&&(await e({siteName:s.name,obj:"open"}),f.data.splice(a,1),c.getNewInfo())}},null)}]);return f.data=d.list.map((s=>({name:s,status:!1}))),(s,t)=>{const e=a;return l(),n("div",u,[m(e,{"max-height":470,data:r(f).data,columns:r(_)},null,8,["data","columns"])])}}});export{d as default};
