System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785","./site-legacy-BrICTGUT.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var t,s,l,i,n,u,d,c,r,o,g,m,f,y,_,p;return{setters:[e=>{t=e._},e=>{s=e._},e=>{l=e.n},e=>{i=e.u},e=>{n=e.n,u=e.o},e=>{d=e.k,c=e.R,r=e.a0,o=e.$,g=e.Z,m=e.S,f=e.a9,y=e._,_=e.aa},e=>{p=e.a8},null,null],execute:function(){const a={class:"p-20px"};e("default",d({__name:"index",props:{name:{default:""},rule:{default:""},siteName:{default:""}},setup(e){const d=e,{t:x}=c(),{table:j,columns:v,setLoading:N}=i([{key:"rule",title:x("Waf.Site.Config.index_66")},{key:"ps",title:x("Waf.Site.Config.index_4"),width:180},{key:"status",title:x("Waf.Site.Config.index_5"),width:60,render:(e,a)=>r(p,{size:"small",value:e.status,onUpdateValue:async t=>{const{siteName:s,rule:l}=d;await n({index:a,siteName:s,ruleName:l}),e.status=t}},null)}]);return(async()=>{try{N(!0);const{siteName:e,rule:a}=d,{message:t}=await u({siteName:e,ruleName:a});l(t)&&(j.data=t.map((([e,a,t])=>({status:!!e,rule:a,ps:t}))))}finally{N(!1)}})(),(e,l)=>{const i=s,n=t;return o(),g("div",a,[r(i,{"max-height":420,loading:m(j).loading,data:m(j).data,columns:m(v)},null,8,["loading","data","columns"]),r(n,{class:"mt-16px"},{default:f((()=>[y("li",null,_(e.$t("Waf.Site.Config.index_71")),1),y("li",null,_(e.$t("Waf.Site.Config.index_72")),1)])),_:1})])}}}))}}}));
