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-CYriLmQo.js";import N from"./step1-C4rm6itn.js";import R from"./step2-aKFyWhLp.js";import E from"./step3-BHmrsPjT.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./index-CF_FJn6P.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useTimeout-DC8132dd.js";import"./index-CxQILSKV.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useFormItemSingle-DM34aWgK.js";import"./index-QMJkXEyl.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};
