System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy11.js?v=1764233927359","./public-legacy.js?v=1764233927359","./index-legacy42.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy23.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./page_layout-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./alarm-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./index-legacy102.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy13.js?v=1764233927359","./soft-legacy.js?v=1764233927359","./site-legacy.js?v=1764233927359","./index-legacy168.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy15.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1764233927359","./index-legacy245.js?v=1764233927359","./index-legacy.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy12.js?v=1764233927359","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1764233927359","./index-legacy98.js?v=1764233927359","./index-legacy107.js?v=1764233927359","./echarts-legacy.js?v=1764233927359"],function(e,l){"use strict";var a,t,u,n,s,_,c,i,d,r,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,d=e.P,r=e.r,y=e.e,g=e.R,p=e.V,v=e.W,o=e.a3,j=e.U,x=e.j,f=e.a4,m=e.S},e=>{h=e.T,b=e.d},e=>{w=e.dR,S=e.dj,C=e.av,U=e.df,$=e.dZ},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:R}=i(H),{t:q}=d(),W=r(null),D=y({status:!0,day:1,channel:""}),L={day:{trigger:"input",type:"number",required:!0,message:q("Home.Security.index_58")},method:{trigger:"change",required:!0,message:q("Config.Safe.index_7")}},{loading:P,setLoading:T}=u();return(async()=>{try{T(!0);const{message:e}=await s();b(e)&&(D.status=1===e.status,D.day=e.cycle,D.channel=e.channel)}finally{T(!1)}})(),c({onConfirm:async()=>{await(W.value?.validate()),await n({status:D.status?1:0,day:D.day,channel:D.channel}),R.value.vul_scan.status=D.status}}),(e,u)=>{const n=S,s=w,_=U,c=$,i=C,d=t,r=a,y=h;return p(),g("div",l,[v(y,{show:j(P)},{default:o(()=>[v(r,{ref_key:"formRef",ref:W,model:j(D),rules:L,"label-width":150},{default:o(()=>[v(s,{label:e.$t("Home.Security.index_38")},{default:o(()=>[v(n,{value:j(D).status,"onUpdate:value":u[0]||(u[0]=e=>j(D).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(D).day,"onUpdate:value":u[1]||(u[1]=e=>j(D).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(d,{value:j(D).channel,"onUpdate:value":u[2]||(u[2]=e=>j(D).channel=e),multiple:!1},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show"])])}}}))}}});
