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-D4cA2QAv.js";import x from"./Step2-C2XDuJ7M.js";import W from"./Step3-CUp0FTUO.js";import{P as y}from"./index-BxgvQLkr.js";import{a0 as n}from"./antd-vue-vendor-CDWW6V_M.js";import{_ as I}from"./index-CYriLmQo.js";import"./index-BkgeZpOO.js";import"./useForm-8o5KRzWo.js";import"./componentMap-7D1QIeNI.js";import"./useFormItem-CWa0w7fA.js";import"./index-CF_FJn6P.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useTimeout-DC8132dd.js";import"./vxe-table-vendor-B5h3MVdD.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"./download-CkbK5et1.js";import"./base64Conver-24EVOS6V.js";import"./index-QMJkXEyl.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./useFormItemSingle-DM34aWgK.js";import"./JSelectUser-nVFm3ao2.js";import"./props-DoGpHXAD.js";import"./JSelectBiz-BW6f3e--.js";import"./JAddInput-CXT54-j9.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./index-BTSd5ebC.js";import"./index-BTAl55Kt.js";import"./bem-2ra1afoV.js";import"./props-BLY2qIO5.js";import"./useContextMenu-DYyhcDf7.js";import"./depart.api-C9T5xfw6.js";import"./JDictSelectTag-Jqy9TBcS.js";import"./JSelectDept-DorRVguN.js";import"./JPopup-KP1kIsae.js";import"./JEllipsis-287cEHxd.js";import"./JUpload-pyrTRFCz.js";import"./index-Bx9Mnn3N.js";import"./index-B1-pj6uh.js";import"./index-isxCPgHp.js";import"./JAreaLinkage-DFTeDmm8.js";import"./JCodeEditor-_KZ8XnNK.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./EasyCronInput-XK54XB3r.js";import"./data-tH9hseJm.js";import"./useContentHeight-DtBiGC0g.js";import"./useContentViewHeight-D71xl1HH.js";import"./usePageContext-CCgh0KDo.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 Mt=I(b,[["render",j],["__scopeId","data-v-540fbe55"]]);export{Mt as default};
