import{d as S,f as m,r as u,e as g,u as b,U as l,a2 as o,a3 as k,k as a,af as h,a4 as x,ad as p,V as r,F}from"./vue-vendor-CxLCUzY4.js";import{bB as B,bC as y,bH as C}from"./index-Cy4uayzW.js";import N from"./step1-9evCuwru.js";import R from"./step2-DZdnflZc.js";import E from"./step3-DGdSFo0F.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./index-Bdn0r8CG.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useFormItemSingle-BEyrYQqf.js";import"./index-D6H6KsT6.js";const re=S({__name:"ForgetPasswordForm",setup(L){const{handleBackLogin:P,getLoginState:f}=B(),{getFormRules:V}=y(),j=m(),w=m(!1),e=m(0),D=u({account:"",mobile:"",sms:""}),v=g(()=>b(f)===C.RESET_PASSWORD),n=u({obj:{username:"",phone:"",smscode:""}});function i(t){n.obj=t,e.value<4&&(e.value+=1)}function c(t){n.obj=t,e.value>0&&(e.value-=1)}function _(){e.value=0}return(t,I)=>{const s=l("a-step"),d=l("a-steps");return v.value?(o(),k(F,{key:0},[a(d,{style:{"margin-bottom":"20px"},current:e.value},{default:h(()=>[a(s,{title:"手机验证"}),a(s,{title:"更改密码"}),a(s,{title:"完成"})]),_:1},8,["current"]),x("div",null,[e.value===0?(o(),p(N,{key:0,onNextStep:i})):r("",!0),e.value===1?(o(),p(R,{key:1,onNextStep:i,onPrevStep:c,accountInfo:n},null,8,["accountInfo"])):r("",!0),e.value===2?(o(),p(E,{key:2,onPrevStep:c,onFinish:_})):r("",!0)])],64)):r("",!0)}}});export{re as default};
