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