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-B_2CoVdl.js";import N from"./step1-C-VT8xRI.js";import R from"./step2-B34DqTXP.js";import E from"./step3-CIzKMatB.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./index-D2AmS0aU.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useTimeout-CB9F1PLu.js";import"./index-DAURrYyA.js";import"./useWindowSizeFn-C3WExEpc.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useFormItemSingle-DM34aWgK.js";import"./index-Cgt544dC.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};
