import{b as s,f as a}from"./public.js?v=1753954525509";import{cT as t}from"./page_layout.js?v=1753954525509";import{b as e}from"./site3.js?v=1753954525509";import{k as o,P as i,Q as m,U as l,V as n,X as r}from"./vue.js?v=1753954525509";import{c5 as p}from"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const u={class:"p-20px"},c=o({__name:"site",props:{list:{}},setup(o){const c=o,d=t(),{t:f}=i(),{table:j,columns:_}=s([{key:"name",title:f("Waf.Overview.index_18"),ellipsis:{tooltip:!0}},{key:"status",title:f("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"}),j.data.splice(a,1),d.getNewInfo())}},null)}]);return j.data=c.list.map((s=>({name:s,status:!1}))),(s,t)=>{const e=a;return l(),n("div",u,[m(e,{"max-height":470,data:r(j).data,columns:r(_)},null,8,["data","columns"])])}}});export{c as default};
