import{c as e,q as a,v as l,x as o,e as s,B as r,z as n,C as t,y as m,F as i,b0 as d,N as u,ab as c,ak as p,al as f,c0 as _,a9 as g}from"./base-lib.js?v=1761009159";import{k as b,_ as V}from"./utils-lib.js?v=1761009159";import{u as v,i as w,o as x,s as h,e as j,r as k}from"./index308.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./useStore8.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const y={class:"p-[2rem] leading-[4rem]"},C={class:"form-line"},U={class:"form-line"},F={class:"form-line"},I={class:"form-line top"},S=V(e({__name:"scan",setup(e,{expose:V}){const{ruleForm:S,setScanInfo:q,areaOptions:z}=v();return a(w),V({onConfirm:x}),(e,a)=>{const V=b,v=c,w=p,x=f,B=_,H=g;return l(),o("div",y,[s(H,{ref_key:"setScanInfo",ref:q,model:m(S),class:"btCustomForm p-0",rules:m(k)},{default:r(()=>[s(v,{prop:"login_error"},{default:r(()=>[n("div",C,[a[5]||(a[5]=t(" 5分钟内多次登录失败超过 ",-1)),s(V,{width:"14rem",class:"error-w mx-[0.6rem] !w-[14rem]",type:"number",modelValue:m(S).config.login_error,"onUpdate:modelValue":a[0]||(a[0]=e=>m(S).config.login_error=e)},null,8,["modelValue"]),a[6]||(a[6]=t(" 次，触发 ",-1))])]),_:1}),s(v,null,{default:r(()=>[n("div",U,[a[7]||(a[7]=n("span",{class:"w-[9rem]"},"登录地区不为",-1)),s(x,{class:"mx-[0.6rem] !w-[26rem]",multiple:"","collapse-tags":"",filterable:"",modelValue:m(S).config.area.country,"onUpdate:modelValue":a[1]||(a[1]=e=>m(S).config.area.country=e)},{default:r(()=>[(l(!0),o(i,null,d(m(z),e=>(l(),u(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),a[8]||(a[8]=n("span",{class:"w-[6rem]"},"，触发",-1))])]),_:1}),s(v,{prop:"se_time"},{default:r(()=>[n("div",F,[a[9]||(a[9]=n("span",{class:"!w-[9rem]"},"登录时间不为",-1)),s(B,{class:"no-icon mx-[0.6rem] !w-[12rem]","is-range":"",modelValue:m(S).config.start_time,"onUpdate:modelValue":a[2]||(a[2]=e=>m(S).config.start_time=e),"picker-options":{start:"00:00",step:"01:00",end:"23:00"},clearable:"",placeholder:"请选择开始时间",onChange:m(h)},null,8,["modelValue","onChange"]),a[10]||(a[10]=t(" - ",-1)),s(B,{class:"no-icon mx-[0.6rem] !w-[12rem]","is-range":"",modelValue:m(S).config.end_time,"onUpdate:modelValue":a[3]||(a[3]=e=>m(S).config.end_time=e),"picker-options":{start:m(S).config.start_time,step:"01:00",end:"23:00"},clearable:"",placeholder:"请选择结束时间",onChange:m(j)},null,8,["modelValue","picker-options","onChange"]),a[11]||(a[11]=t(" ，触发 ",-1))])]),_:1}),s(v,{prop:"upload_shell_br"},{default:r(()=>[n("div",I,[a[12]||(a[12]=t(" 上传脚本包含 ",-1)),s(V,{class:"!inline-block mx-[0.6rem] textarea-w !w-[32rem]",type:"textarea",rows:6,modelValue:m(S).config.upload_shell_br,"onUpdate:modelValue":a[4]||(a[4]=e=>m(S).config.upload_shell_br=e),placeholder:"一行一个"},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])])}}}),[["__scopeId","data-v-8d6019f5"]]);export{S as default};
