System.register(["./public-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./setting-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(e,l){"use strict";var t,n,a,i,c,o,u,s,f,g,r,_,p,m,d,v,y,S;return{setters:[e=>{t=e._},e=>{n=e._},e=>{a=e.H},e=>{i=e.k,c=e.P,o=e.r,u=e.e,s=e.R,f=e.S,g=e.X,r=e.a3,_=e.V,p=e.U,m=e.a4,d=e.N},e=>{v=e.dj,y=e.dP,S=e.df},null,null,null],execute:function(){const l={class:"p-20px"},j={class:"w-150px"},W={class:"w-150px"};e("default",i({__name:"config",props:{config:{}},emits:["refresh"],setup(e,{expose:i,emit:b}){const x=e,w=b,{t:$}=c(),h=o(null),U=u({open:!0,cycle:60,limit:240}),k={cycle:{validator:()=>!!U.cycle||new Error($("Waf.Setting.config_154"))},limit:{validator:()=>!!U.limit||new Error($("Waf.Setting.config_155"))}};return(()=>{const{config:e}=x;U.open=e.open,U.limit=e.limit,U.cycle=e.cycle})(),i({onConfirm:async()=>{await(h.value?.validate()),await a({...d(U),open:U.open?1:0}),w("refresh")}}),(e,a)=>{const i=v,c=y,o=S,u=n,d=t;return s(),f("div",l,[g(u,{ref_key:"formRef",ref:h,model:_(U),rules:k},{default:r((()=>[g(c,{label:e.$t("Waf.Setting.config_148"),path:"open"},{default:r((()=>[g(i,{value:_(U).open,"onUpdate:value":a[0]||(a[0]=e=>_(U).open=e)},null,8,["value"])])),_:1},8,["label"]),g(c,{label:e.$t("Waf.Setting.config_149"),path:"cycle"},{default:r((()=>[p("div",j,[g(o,{value:_(U).cycle,"onUpdate:value":a[1]||(a[1]=e=>_(U).cycle=e),min:1,"show-button":!1},{suffix:r((()=>[p("span",null,m(e.$t("Waf.Setting.config_53")),1)])),_:1},8,["value"])])])),_:1},8,["label"]),g(c,{label:e.$t("Waf.Setting.config_150"),path:"limit"},{default:r((()=>[p("div",W,[g(o,{value:_(U).limit,"onUpdate:value":a[2]||(a[2]=e=>_(U).limit=e),min:1,"show-button":!1},{suffix:r((()=>[p("span",null,m(e.$t("Waf.Setting.config_52")),1)])),_:1},8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"]),g(d,{class:"mt-12px"},{default:r((()=>[p("li",null,m(e.$t("Waf.Setting.config_151")),1),p("li",null,m(e.$t("Waf.Setting.config_152")),1),p("li",null,m(e.$t("Waf.Setting.config_153")),1)])),_:1})])}}}))}}}));
