System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy11.js?v=1763625242172","./public-legacy.js?v=1763625242172","./index-legacy42.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy23.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./alarm-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./index-legacy102.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy13.js?v=1763625242172","./soft-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172","./index-legacy168.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy15.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1763625242172","./index-legacy245.js?v=1763625242172","./index-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy12.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1763625242172","./index-legacy98.js?v=1763625242172","./index-legacy107.js?v=1763625242172","./echarts-legacy.js?v=1763625242172"],(function(e,l){"use strict";var a,t,u,n,s,_,c,i,r,d,y,g,p,v,o,j,x,f,m,h,b,w,S,C,U,$;return{setters:[e=>{a=e._},e=>{t=e._},e=>{u=e.d},e=>{n=e.C,s=e.D},e=>{_=e.a},e=>{c=e.k,i=e.a0,r=e.P,d=e.r,y=e.e,g=e.R,p=e.S,v=e.X,o=e.a3,j=e.V,x=e.j,f=e.a4,m=e.U},e=>{h=e.c,b=e.T},e=>{w=e.dj,S=e.dP,C=e.df,U=e.dY,$=e.az},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-16px"},k={class:"w-250px"};e("default",c({__name:"risk-info-form",setup(e,{expose:c}){const H=_(),{capabilitySwitch:q}=i(H),{t:P}=r(),R=d(null),z=y({status:!0,day:1,channel:""}),D={day:{trigger:"input",type:"number",required:!0,message:P("Home.Security.index_58")},method:{trigger:"change",required:!0,message:P("Config.Safe.index_7")}},{loading:L,setLoading:T}=u();return(async()=>{try{T(!0);const{message:e}=await s();h(e)&&(z.status=1===e.status,z.day=e.cycle,z.channel=e.channel)}finally{T(!1)}})(),c({onConfirm:async()=>{await(R.value?.validate()),await n({status:z.status?1:0,day:z.day,channel:z.channel}),q.value.vul_scan.status=z.status}}),(e,u)=>{const n=w,s=S,_=C,c=U,i=$,r=t,d=a,y=b;return g(),p("div",l,[v(y,{show:j(L)},{default:o((()=>[v(d,{ref_key:"formRef",ref:R,model:j(z),rules:D,"label-width":150},{default:o((()=>[v(s,{label:e.$t("Home.Security.index_38")},{default:o((()=>[v(n,{value:j(z).status,"onUpdate:value":u[0]||(u[0]=e=>j(z).status=e)},null,8,["value"])])),_:1},8,["label"]),v(s,{label:e.$t("Waf.Setting.config_49"),path:"day"},{default:o((()=>[v(i,null,{default:o((()=>[v(_,{value:j(z).day,"onUpdate:value":u[1]||(u[1]=e=>j(z).day=e),class:"w-100px",min:0,"show-button":!1,placeholder:""},null,8,["value"]),v(c,{class:"min-w-52px text-center"},{default:o((()=>[x(f(e.$t("Crontab.arrange.index_41")),1)])),_:1})])),_:1})])),_:1},8,["label"]),v(s,{label:e.$t("Config.Safe.index_6"),path:"channel"},{default:o((()=>[m("div",k,[v(r,{value:j(z).channel,"onUpdate:value":u[2]||(u[2]=e=>j(z).channel=e),multiple:!1},null,8,["value"])])])),_:1},8,["label"])])),_:1},8,["model"])])),_:1},8,["show"])])}}}))}}}));
