import d from"./Step1-f0d4dbc5.js";import f from"./Step2-069a9149.js";import v from"./Step3-9d0bde39.js";import{_ as x}from"./index-2a45336b.js";import{a as h,b as a,o,k,e as t,w as s,E as N,K as g,c as r,i as c,F as y}from"./ant-design-vue-710243d9.js";import"./useForm-269e95cd.js";import"./tinymce-3184e0f1.js";import"./echarts-ca5d9323.js";import"./cropper-47c8e461.js";import"./lodash-es-7cb071db.js";import"./qrcode-bec2257a.js";import"./jschardet-bd496279.js";const B={class:"content"},F=Object.assign({name:"formStep"},{__name:"index",setup(V){const e=h(0);function _(){e.value<2&&(e.value+=1)}function i(){e.value>0&&(e.value-=1)}function l(){e.value=0}return(b,C)=>{const m=a("a-page-header"),n=a("a-step"),p=a("a-steps"),u=a("a-card");return o(),k(y,null,[t(m,{main:"",title:"分步表单",ghost:!1},{default:s(()=>[N(" 将一个冗长或用户不熟悉的表单任务分成多个步骤，指导用户完成。 ")]),_:1}),t(u,null,{default:s(()=>[t(p,{class:"steps",current:e.value},{default:s(()=>[t(n,{title:"填写转账信息"}),t(n,{title:"确认转账信息"}),t(n,{title:"完成"})]),_:1},8,["current"]),g("div",B,[e.value===0?(o(),r(d,{key:0,onNext:_})):c("",!0),e.value===1?(o(),r(f,{key:1,onNext:_,onPrev:i})):c("",!0),e.value===2?(o(),r(v,{key:2,onPrev:i,onFinish:l})):c("",!0)])]),_:1})],64)}}}),A=x(F,[["__scopeId","data-v-0ac62147"]]);export{A as default};
