import{_ as u}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as d}from"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import{u as f}from"./useTableData-BmkIKQ_R.js?v=1773287522785";import{r as g}from"./site-D0zX56Uh.js?v=1773287522785";import{k as S,R as x,a0 as a,$ as b,Z as k,S as o,a9 as C,_ as r,aa as l}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{a8 as h}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 y={class:"p-20px"},E=S({__name:"index",props:{spider:{},siteName:{}},setup(m){const n=m,{t:e}=x(),{table:s,columns:p}=f([{key:"name",title:e("Waf.Setting.config_129")},{key:"return",title:e("Waf.Site.Config.index_77")},{key:"status",title:e("Waf.Site.Config.index_78"),align:"right",width:100,render:t=>a(h,{size:"small",value:t.status,onUpdateValue:async i=>{await g({siteName:n.siteName,id:t.id}),t.status=i}},null)}]);return s.data=n.spider,(t,i)=>{const _=d,c=u;return b(),k("div",y,[a(_,{data:o(s).data,columns:o(p)},null,8,["data","columns"]),a(c,{class:"mt-16px"},{default:C(()=>[r("li",null,l(t.$t("Waf.Site.Config.index_75")),1),r("li",null,l(t.$t("Waf.Site.Config.index_76")),1)]),_:1})])}}});export{E as default};
