import{c as s,h as a}from"./public.js?v=1764233927359";import{dH as t}from"./page_layout.js?v=1764233927359";import{c as e}from"./site3.js?v=1764233927359";import{k as o,P as i,W as m,R as l,V as n,U as r}from"./vue.js?v=1764233927359";import{dj as p}from"./naive.js?v=1764233927359";import"./common.js?v=1764233927359";import"./__commonjsHelpers__.js?v=1764233927359";const u={class:"p-20px"},c=o({__name:"site",props:{list:{}},setup(o){const c=o,d=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),d.getNewInfo())}},null)}]);return f.data=c.list.map(s=>({name:s,status:!1})),(s,t)=>{const e=a;return n(),l("div",u,[m(e,{"max-height":470,data:r(f).data,columns:r(_)},null,8,["data","columns"])])}}});export{c as default};
