var A=Object.defineProperty;var f=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var S=(t,e,o)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,_=(t,e)=>{for(var o in e||(e={}))k.call(e,o)&&S(t,o,e[o]);if(f)for(var o of f(e))V.call(e,o)&&S(t,o,e[o]);return t};import{d as g,f as R,r as D,I as $,U as p,a2 as m,ad as u,af as v,a4 as h,k as i,q as a,B as s,V as B}from"./vue-vendor-CxLCUzY4.js";import w from"./Step1-Ch-YNE4B.js";import x from"./Step2-7nYmBsoA.js";import W from"./Step3-CJLzNf49.js";import{P as y}from"./index-CRgSyMPH.js";import{a0 as n}from"./antd-vue-vendor-CahNzUUa.js";import{_ as I}from"./index-Cy4uayzW.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./componentMap-0iK4HQBq.js";import"./useFormItem-IOFWTdED.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.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"./download-Bn4f3tzD.js";import"./base64Conver-24EVOS6V.js";import"./index-D6H6KsT6.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JAddInput-DP4caUmw.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-tDBMxW9-.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./depart.api-B8q8MC-j.js";import"./JImageUpload-C5OCTlCG.js";import"./JDictSelectTag-CalJXNVe.js";import"./JSelectDept-D-TUaHvK.js";import"./JPopup-CVHkQZFq.js";import"./JEllipsis-TuDc52fh.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./JAreaLinkage-CTMEfTuh.js";import"./JCodeEditor-U9QIstNN.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CZdChTcP.js";import"./data-tH9hseJm.js";import"./useContentHeight-XU-h1taH.js";import"./useContentViewHeight-Qm4QNm5l.js";import"./usePageContext-CXQdt-5h.js";import"./injectionKey-DPVn4AgL.js";const b=g({name:"FormStepPage",components:{Step1:w,Step2:x,Step3:W,PageWrapper:y,[n.name]:n,[n.Step.name]:n.Step},setup(){const t=R(0),e=D({initSetp2:!1,initSetp3:!1});function o(r){t.value++,e.initSetp2=!0}function c(){t.value--}function l(r){t.value++,e.initSetp3=!0}function d(){t.value=0,e.initSetp2=!1,e.initSetp3=!1}return _({current:t,handleStep1Next:o,handleStep2Next:l,handleRedo:d,handleStepPrev:c},$(e))}}),q={class:"step-form-form"},U={class:"mt-5"};function j(t,e,o,c,l,d){const r=p("a-step"),F=p("a-steps"),C=p("Step1"),N=p("Step2"),P=p("Step3"),E=p("PageWrapper");return m(),u(E,{title:"分步表单",contentBackground:"",content:" 将一个冗长或用户不熟悉的表单任务分成多个步骤，指导用户完成。",contentClass:"p-4"},{default:v(()=>[h("div",q,[i(F,{current:t.current},{default:v(()=>[i(r,{title:"填写转账信息"}),i(r,{title:"确认转账信息"}),i(r,{title:"完成"})]),_:1},8,["current"])]),h("div",U,[a(i(C,{onNext:t.handleStep1Next},null,8,["onNext"]),[[s,t.current===0]]),t.initSetp2?a((m(),u(N,{key:0,onPrev:t.handleStepPrev,onNext:t.handleStep2Next},null,8,["onPrev","onNext"])),[[s,t.current===1]]):B("",!0),t.initSetp3?a((m(),u(P,{key:1,onRedo:t.handleRedo},null,8,["onRedo"])),[[s,t.current===2]]):B("",!0)])]),_:1})}const Ot=I(b,[["render",j],["__scopeId","data-v-540fbe55"]]);export{Ot as default};
