System.register(["./public-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./setting-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509"],(function(l,a){"use strict";var e,t,n,i,c,u,s,o,r,g,d,f,y,m,p,_,v,j,x,b,h,S,W,w;return{setters:[l=>{e=l.b,t=l.h,n=l.f,i=l._},l=>{c=l.k,u=l.P,s=l.r,o=l.U,r=l.V,g=l.W,d=l.Q,f=l.X,y=l.ah,m=l.at,p=l.a2,_=l.j,v=l.a3},l=>{j=l.w,x=l.m},l=>{b=l.E,h=l.F,S=l.G},l=>{W=l.aq,w=l.ay},null,null],execute:function(){const a={class:"p-20px"},$={class:"flex mb-16px"},k={class:"flex-1 mr-16px"};l("default",c({__name:"config",setup(l){const{t:c}=u(),P=s(""),U=async()=>{""!==P.value.trim()?(await S({url_find:P.value}),P.value="",q()):x.error(c("Waf.Setting.config_81"))},{table:B,columns:C,setLoading:L}=e([{key:"url",title:"URL"},t({width:80,options:l=>[{label:c("Public.Btn.Del"),onClick:async()=>{await b({url_find:l.url}),q()}}]})]),q=async()=>{try{L(!0);const{message:l}=await h();j(l)&&(B.data=l.map((l=>({url:l}))))}finally{L(!1)}};return q(),(l,e)=>{const t=W,c=w,u=n,s=i;return o(),r("div",a,[g("div",$,[g("div",k,[d(t,{value:f(P),"onUpdate:value":e[0]||(e[0]=l=>y(P)?P.value=l:null),placeholder:l.$t("Waf.Setting.config_116"),onKeyup:m(U,["enter"])},null,8,["value","placeholder"])]),d(c,{type:"primary",onClick:U},{default:p((()=>[_(v(l.$t("Public.Btn.Add")),1)])),_:1})]),d(u,{"max-height":368,loading:f(B).loading,data:f(B).data,columns:f(C)},null,8,["loading","data","columns"]),d(s,{class:"mt-16px"},{default:p((()=>[g("li",null,v(l.$t("Waf.Setting.config_117")),1),g("li",null,v(l.$t("Waf.Setting.config_118")),1),g("li",null,v(l.$t("Waf.Setting.config_119")),1)])),_:1})])}}}))}}}));
