You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2 lines
12 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[7357,1322,8821,3416,3729,2320,2359,858],{61382:function(G){G.exports={main:"main___yvPV5",headerList:"headerList___2zop7",stepDescription:"stepDescription___3OrMV",pageHeader:"pageHeader___2nQzA",moreInfo:"moreInfo___f_ADz"}},48395:function(){},49408:function(G,L,e){"use strict";e.r(L);var R=e(58024),p=e(91894),z=e(13254),A=e(14277),n=e(11849),O=e(2824),Q=e(35556),j=e(97880),K=e(78009),W=e(67294),U=e(94184),J=e.n(U),c=e(61382),X=e.n(c),g=e(85893),Y=j.Z.Step,y=function(){var h=(0,W.useState)({operationKey:"tab1",tabActiveKey:"detail"}),i=(0,O.Z)(h,2),P=i[0],B=i[1],$=function(d){B((0,n.Z)((0,n.Z)({},P),{},{operationKey:d}))},H=[{key:"tab1",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E00"},{key:"tab2",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E8C"},{key:"tab3",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E09"}],T={tab1:(0,g.jsx)(p.Z,{title:"\u7528\u6237\u8FD1\u534A\u5E74\u6765\u7535\u8BB0\u5F552321321",style:{marginBottom:24},bordered:!1,children:(0,g.jsx)(A.Z,{})}),tab2:(0,g.jsx)(p.Z,{title:"fdsa",style:{marginBottom:24},bordered:!1,children:(0,g.jsx)(A.Z,{})}),tab3:(0,g.jsx)(p.Z,{title:"\u7528\u6237\u8FD1\u534A\u5E74\u6765\u7535\u8BB0\u5F552fds321",style:{marginBottom:24},bordered:!1,children:(0,g.jsx)(A.Z,{})})};return(0,g.jsx)(K.ZP,{title:"\u5546\u54C1\u8BE6\u60C5",onTabChange:$,tabList:H,children:T[P.operationKey]})};L.default=y},14277:function(G,L,e){"use strict";e.d(L,{Z:function(){return Y}});var R=e(96156),p=e(22122),z=e(94184),A=e.n(z),n=e(67294),O=e(53124),Q=e(42051),j=function(){var u=n.useContext(O.E_),h=u.getPrefixCls,i=h("empty-img-default");return n.createElement("svg",{className:i,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(24 31.67)"},n.createElement("ellipse",{className:"".concat(i,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),n.createElement("path",{className:"".concat(i,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),n.createElement("path",{className:"".concat(i,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),n.createElement("path",{className:"".concat(i,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),n.createElement("path",{className:"".concat(i,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),n.createElement("path",{className:"".concat(i,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),n.createElement("g",{className:"".concat(i,"-g"),transform:"translate(149.65 15.383)"},n.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),n.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},K=j,W=function(){var u=n.useContext(O.E_),h=u.getPrefixCls,i=h("empty-img-simple");return n.createElement("svg",{className:i,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},n.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},n.createElement("ellipse",{className:"".concat(i,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),n.createElement("g",{className:"".concat(i,"-g"),fillRule:"nonzero"},n.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),n.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(i,"-path")}))))},U=W,J=function(y,u){var h={};for(var i in y)Object.prototype.hasOwnProperty.call(y,i)&&u.indexOf(i)<0&&(h[i]=y[i]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,i=Object.getOwnPropertySymbols(y);P<i.length;P++)u.indexOf(i[P])<0&&Object.prototype.propertyIsEnumerable.call(y,i[P])&&(h[i[P]]=y[i[P]]);return h},c=n.createElement(K,null),X=n.createElement(U,null),g=function(u){var h=u.className,i=u.prefixCls,P=u.image,B=P===void 0?c:P,$=u.description,H=u.children,T=u.imageStyle,ee=J(u,["className","prefixCls","image","description","children","imageStyle"]),d=n.useContext(O.E_),f=d.getPrefixCls,l=d.direction;return n.createElement(Q.Z,{componentName:"Empty"},function(o){var a,t=f("empty",i),s=typeof $!="undefined"?$:o.description,r=typeof s=="string"?s:"empty",x=null;return typeof B=="string"?x=n.createElement("img",{alt:r,src:B}):x=B,n.createElement("div",(0,p.Z)({className:A()(t,(a={},(0,R.Z)(a,"".concat(t,"-normal"),B===X),(0,R.Z)(a,"".concat(t,"-rtl"),l==="rtl"),a),h)},ee),n.createElement("div",{className:"".concat(t,"-image"),style:T},x),s&&n.createElement("div",{className:"".concat(t,"-description")},s),H&&n.createElement("div",{className:"".concat(t,"-footer")},H))})};g.PRESENTED_IMAGE_DEFAULT=c,g.PRESENTED_IMAGE_SIMPLE=X;var Y=g},97880:function(G,L,e){"use strict";e.d(L,{Z:function(){return ee}});var R=e(22122),p=e(96156),z=e(79508),A=e(54549),n=e(94184),O=e.n(n),Q=e(28991),j=e(81253),K=e(6610),W=e(5991),U=e(10379),J=e(54070),c=e(67294),X=e(50344),g=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function Y(d){return typeof d=="string"}var y=function(d){(0,U.Z)(l,d);var f=(0,J.Z)(l);function l(){var o;return(0,K.Z)(this,l),o=f.apply(this,arguments),o.onClick=function(){var a=o.props,t=a.onClick,s=a.onStepClick,r=a.stepIndex;t&&t.apply(void 0,arguments),s(r)},o}return(0,W.Z)(l,[{key:"renderIconNode",value:function(){var a,t=this.props,s=t.prefixCls,r=t.progressDot,x=t.stepIcon,D=t.stepNumber,E=t.status,I=t.title,S=t.description,C=t.icon,Z=t.iconPrefix,m=t.icons,v,b=O()("".concat(s,"-icon"),"".concat(Z,"icon"),(a={},(0,p.Z)(a,"".concat(Z,"icon-").concat(C),C&&Y(C)),(0,p.Z)(a,"".concat(Z,"icon-check"),!C&&E==="finish"&&(m&&!m.finish||!m)),(0,p.Z)(a,"".concat(Z,"icon-cross"),!C&&E==="error"&&(m&&!m.error||!m)),a)),_=c.createElement("span",{className:"".concat(s,"-icon-dot")});return r?typeof r=="function"?v=c.createElement("span",{className:"".concat(s,"-icon")},r(_,{index:D-1,status:E,title:I,description:S})):v=c.createElement("span",{className:"".concat(s,"-icon")},_):C&&!Y(C)?v=c.createElement("span",{className:"".concat(s,"-icon")},C):m&&m.finish&&E==="finish"?v=c.createElement("span",{className:"".concat(s,"-icon")},m.finish):m&&m.error&&E==="error"?v=c.createElement("span",{className:"".concat(s,"-icon")},m.error):C||E==="finish"||E==="error"?v=c.createElement("span",{className:b}):v=c.createElement("span",{className:"".concat(s,"-icon")},D),x&&(v=x({index:D-1,status:E,title:I,description:S,node:v})),v}},{key:"render",value:function(){var a,t=this.props,s=t.className,r=t.prefixCls,x=t.style,D=t.active,E=t.status,I=E===void 0?"wait":E,S=t.iconPrefix,C=t.icon,Z=t.wrapperStyle,m=t.stepNumber,v=t.disabled,b=t.description,_=t.title,M=t.subTitle,re=t.progressDot,k=t.stepIcon,V=t.tailContent,te=t.icons,se=t.stepIndex,w=t.onStepClick,ae=t.onClick,ce=(0,j.Z)(t,g),q=O()("".concat(r,"-item"),"".concat(r,"-item-").concat(I),s,(a={},(0,p.Z)(a,"".concat(r,"-item-custom"),C),(0,p.Z)(a,"".concat(r,"-item-active"),D),(0,p.Z)(a,"".concat(r,"-item-disabled"),v===!0),a)),ne=(0,Q.Z)({},x),N={};return w&&!v&&(N.role="button",N.tabIndex=0,N.onClick=this.onClick),c.createElement("div",Object.assign({},ce,{className:q,style:ne}),c.createElement("div",Object.assign({onClick:ae},N,{className:"".concat(r,"-item-container")}),c.createElement("div",{className:"".concat(r,"-item-tail")},V),c.createElement("div",{className:"".concat(r,"-item-icon")},this.renderIconNode()),c.createElement("div",{className:"".concat(r,"-item-content")},c.createElement("div",{className:"".concat(r,"-item-title")},_,M&&c.createElement("div",{title:typeof M=="string"?M:void 0,className:"".concat(r,"-item-subtitle")},M)),b&&c.createElement("div",{className:"".concat(r,"-item-description")},b))))}}]),l}(c.Component),u=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange"],h=function(d){(0,U.Z)(l,d);var f=(0,J.Z)(l);function l(){var o;return(0,K.Z)(this,l),o=f.apply(this,arguments),o.onStepClick=function(a){var t=o.props,s=t.onChange,r=t.current;s&&r!==a&&s(a)},o}return(0,W.Z)(l,[{key:"render",value:function(){var a,t=this,s=this.props,r=s.prefixCls,x=s.style,D=x===void 0?{}:x,E=s.className,I=s.children,S=s.direction,C=s.type,Z=s.labelPlacement,m=s.iconPrefix,v=s.status,b=s.size,_=s.current,M=s.progressDot,re=s.stepIcon,k=s.initial,V=s.icons,te=s.onChange,se=(0,j.Z)(s,u),w=C==="navigation",ae=M?"vertical":Z,ce=O()(r,"".concat(r,"-").concat(S),E,(a={},(0,p.Z)(a,"".concat(r,"-").concat(b),b),(0,p.Z)(a,"".concat(r,"-label-").concat(ae),S==="horizontal"),(0,p.Z)(a,"".concat(r,"-dot"),!!M),(0,p.Z)(a,"".concat(r,"-navigation"),w),a));return c.createElement("div",Object.assign({className:ce,style:D},se),(0,X.Z)(I).map(function(q,ne){var N=k+ne,F=(0,Q.Z)({stepNumber:"".concat(N+1),stepIndex:N,key:N,prefixCls:r,iconPrefix:m,wrapperStyle:D,progressDot:M,stepIcon:re,icons:V,onStepClick:te&&t.onStepClick},q.props);return v==="error"&&ne===_-1&&(F.className="".concat(r,"-next-error")),q.props.status||(N===_?F.status=v:N<_?F.status="finish":F.status="wait"),F.active=N===_,(0,c.cloneElement)(q,F)}))}}]),l}(c.Component);h.Step=y,h.defaultProps={type:"default",prefixCls:"rc-steps",iconPrefix:"rc",direction:"horizontal",labelPlacement:"horizontal",initial:0,current:0,status:"process",size:"",progressDot:!1};var i=h,P=e(53124),B=e(25378),$=e(54458),H=function(d,f){var l={};for(var o in d)Object.prototype.hasOwnProperty.call(d,o)&&f.indexOf(o)<0&&(l[o]=d[o]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(d);a<o.length;a++)f.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(d,o[a])&&(l[o[a]]=d[o[a]]);return l},T=function(f){var l,o=f.percent,a=f.size,t=f.className,s=f.direction,r=f.responsive,x=H(f,["percent","size","className","direction","responsive"]),D=(0,B.Z)(r),E=D.xs,I=c.useContext(P.E_),S=I.getPrefixCls,C=I.direction,Z=c.useCallback(function(){return r&&E?"vertical":s},[E,s]),m=S("steps",f.prefixCls),v=S("",f.iconPrefix),b=O()((l={},(0,p.Z)(l,"".concat(m,"-rtl"),C==="rtl"),(0,p.Z)(l,"".concat(m,"-with-progress"),o!==void 0),l),t),_={finish:c.createElement(z.Z,{className:"".concat(m,"-finish-icon")}),error:c.createElement(A.Z,{className:"".concat(m,"-error-icon")})},M=function(k){var V=k.node,te=k.status;if(te==="process"&&o!==void 0){var se=a==="small"?32:40,w=c.createElement("div",{className:"".concat(m,"-progress-icon")},c.createElement($.Z,{type:"circle",percent:o,width:se,strokeWidth:4,format:function(){return null}}),V);return w}return V};return c.createElement(i,(0,R.Z)({icons:_},x,{size:a,direction:Z(),stepIcon:M,prefixCls:m,iconPrefix:v,className:b}))};T.Step=i.Step,T.defaultProps={current:0,responsive:!0};var ee=T},35556:function(G,L,e){"use strict";var R=e(38663),p=e.n(R),z=e(48395),A=e.n(z),n=e(34669)}}]);