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
13 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[7357,7975,1322,9464,1981,2869,7013,9719,2383,6977],{61382:function(j){j.exports={main:"main___yvPV5",headerList:"headerList___2zop7",stepDescription:"stepDescription___3OrMV",pageHeader:"pageHeader___2nQzA",moreInfo:"moreInfo___f_ADz"}},48395:function(){},49408:function(j,b,e){"use strict";e.r(b);var x=e(58024),p=e(91894),A=e(13254),D=e(14277),a=e(11849),Z=e(2824),w=e(35556),W=e(75899),U=e(78009),$=e(67294),V=e(94184),k=e.n(V),z=e(61382),i=e.n(z),N=e(85893),q=W.Z.Step,y=function(){var g=(0,$.useState)({operationKey:"tab1",tabActiveKey:"detail"}),o=(0,Z.Z)(g,2),_=o[0],T=o[1],H=function(G){T((0,a.Z)((0,a.Z)({},_),{},{operationKey:G}))},F=[{key:"tab1",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E00"},{key:"tab2",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E8C"},{key:"tab3",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E09"}],ee={tab1:(0,N.jsx)(p.Z,{title:"\u7528\u6237\u8FD1\u534A\u5E74\u6765\u7535\u8BB0\u5F552321321",style:{marginBottom:24},bordered:!1,children:(0,N.jsx)(D.Z,{})}),tab2:(0,N.jsx)(p.Z,{title:"fdsa",style:{marginBottom:24},bordered:!1,children:(0,N.jsx)(D.Z,{})}),tab3:(0,N.jsx)(p.Z,{title:"\u7528\u6237\u8FD1\u534A\u5E74\u6765\u7535\u8BB0\u5F552fds321",style:{marginBottom:24},bordered:!1,children:(0,N.jsx)(D.Z,{})})};return(0,N.jsx)(U.ZP,{title:"\u5546\u54C1\u8BE6\u60C5",onTabChange:H,tabList:F,children:ee[_.operationKey]})};b.default=y},14277:function(j,b,e){"use strict";e.d(b,{Z:function(){return q}});var x=e(96156),p=e(22122),A=e(94184),D=e.n(A),a=e(67294),Z=e(53124),w=e(42051),W=function(){var E=a.useContext(Z.E_),g=E.getPrefixCls,o=g("empty-img-default");return a.createElement("svg",{className:o,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(24 31.67)"},a.createElement("ellipse",{className:"".concat(o,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),a.createElement("path",{className:"".concat(o,"-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"}),a.createElement("path",{className:"".concat(o,"-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)"}),a.createElement("path",{className:"".concat(o,"-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"}),a.createElement("path",{className:"".concat(o,"-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"})),a.createElement("path",{className:"".concat(o,"-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"}),a.createElement("g",{className:"".concat(o,"-g"),transform:"translate(149.65 15.383)"},a.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),a.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},U=W,$=function(){var E=a.useContext(Z.E_),g=E.getPrefixCls,o=g("empty-img-simple");return a.createElement("svg",{className:o,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},a.createElement("ellipse",{className:"".concat(o,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),a.createElement("g",{className:"".concat(o,"-g"),fillRule:"nonzero"},a.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"}),a.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(o,"-path")}))))},V=$,k=function(y,E){var g={};for(var o in y)Object.prototype.hasOwnProperty.call(y,o)&&E.indexOf(o)<0&&(g[o]=y[o]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,o=Object.getOwnPropertySymbols(y);_<o.length;_++)E.indexOf(o[_])<0&&Object.prototype.propertyIsEnumerable.call(y,o[_])&&(g[o[_]]=y[o[_]]);return g},z=a.createElement(U,null),i=a.createElement(V,null),N=function(E){var g=E.className,o=E.prefixCls,_=E.image,T=_===void 0?z:_,H=E.description,F=E.children,ee=E.imageStyle,re=k(E,["className","prefixCls","image","description","children","imageStyle"]),G=a.useContext(Z.E_),ce=G.getPrefixCls,me=G.direction;return a.createElement(w.Z,{componentName:"Empty"},function(d){var l,m=ce("empty",o),r=typeof H!="undefined"?H:d.description,s=typeof r=="string"?r:"empty",t=null;return typeof T=="string"?t=a.createElement("img",{alt:s,src:T}):t=T,a.createElement("div",(0,p.Z)({className:D()(m,(l={},(0,x.Z)(l,"".concat(m,"-normal"),T===i),(0,x.Z)(l,"".concat(m,"-rtl"),me==="rtl"),l),g)},re),a.createElement("div",{className:"".concat(m,"-image"),style:ee},t),r&&a.createElement("div",{className:"".concat(m,"-description")},r),F&&a.createElement("div",{className:"".concat(m,"-footer")},F))})};N.PRESENTED_IMAGE_DEFAULT=z,N.PRESENTED_IMAGE_SIMPLE=i;var q=N},75899:function(j,b,e){"use strict";e.d(b,{Z:function(){return me}});var x=e(22122),p=e(96156),A=e(79508),D=e(54549),a=e(94184),Z=e.n(a),w=e(28991),W=e(81253),U=e(6610),$=e(5991),V=e(63349),k=e(10379),z=e(44144),i=e(67294),N=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function q(d){return typeof d=="string"}var y=function(d){(0,k.Z)(m,d);var l=(0,z.Z)(m);function m(){var r;(0,U.Z)(this,m);for(var s=arguments.length,t=new Array(s),n=0;n<s;n++)t[n]=arguments[n];return r=l.call.apply(l,[this].concat(t)),(0,p.Z)((0,V.Z)(r),"onClick",function(){var c=r.props,h=c.onClick,C=c.onStepClick,u=c.stepIndex;h&&h.apply(void 0,arguments),C(u)}),r}return(0,$.Z)(m,[{key:"renderIconNode",value:function(){var s,t=this.props,n=t.prefixCls,c=t.progressDot,h=t.stepIcon,C=t.stepNumber,u=t.status,K=t.title,R=t.description,P=t.icon,L=t.iconPrefix,f=t.icons,v,I=Z()("".concat(n,"-icon"),"".concat(L,"icon"),(s={},(0,p.Z)(s,"".concat(L,"icon-").concat(P),P&&q(P)),(0,p.Z)(s,"".concat(L,"icon-check"),!P&&u==="finish"&&(f&&!f.finish||!f)),(0,p.Z)(s,"".concat(L,"icon-cross"),!P&&u==="error"&&(f&&!f.error||!f)),s)),O=i.createElement("span",{className:"".concat(n,"-icon-dot")});return c?typeof c=="function"?v=i.createElement("span",{className:"".concat(n,"-icon")},c(O,{index:C-1,status:u,title:K,description:R})):v=i.createElement("span",{className:"".concat(n,"-icon")},O):P&&!q(P)?v=i.createElement("span",{className:"".concat(n,"-icon")},P):f&&f.finish&&u==="finish"?v=i.createElement("span",{className:"".concat(n,"-icon")},f.finish):f&&f.error&&u==="error"?v=i.createElement("span",{className:"".concat(n,"-icon")},f.error):P||u==="finish"||u==="error"?v=i.createElement("span",{className:I}):v=i.createElement("span",{className:"".concat(n,"-icon")},C),h&&(v=h({index:C-1,status:u,title:K,description:R,node:v})),v}},{key:"render",value:function(){var s,t=this.props,n=t.className,c=t.prefixCls,h=t.style,C=t.active,u=t.status,K=u===void 0?"wait":u,R=t.iconPrefix,P=t.icon,L=t.wrapperStyle,f=t.stepNumber,v=t.disabled,I=t.description,O=t.title,M=t.subTitle,B=t.progressDot,ie=t.stepIcon,te=t.tailContent,oe=t.icons,ne=t.stepIndex,se=t.onStepClick,le=t.onClick,Q=(0,W.Z)(t,N),J=Z()("".concat(c,"-item"),"".concat(c,"-item-").concat(K),n,(s={},(0,p.Z)(s,"".concat(c,"-item-custom"),P),(0,p.Z)(s,"".concat(c,"-item-active"),C),(0,p.Z)(s,"".concat(c,"-item-disabled"),v===!0),s)),ae=(0,w.Z)({},h),S={};return se&&!v&&(S.role="button",S.tabIndex=0,S.onClick=this.onClick),i.createElement("div",(0,x.Z)({},Q,{className:J,style:ae}),i.createElement("div",(0,x.Z)({onClick:le},S,{className:"".concat(c,"-item-container")}),i.createElement("div",{className:"".concat(c,"-item-tail")},te),i.createElement("div",{className:"".concat(c,"-item-icon")},this.renderIconNode()),i.createElement("div",{className:"".concat(c,"-item-content")},i.createElement("div",{className:"".concat(c,"-item-title")},O,M&&i.createElement("div",{title:typeof M=="string"?M:void 0,className:"".concat(c,"-item-subtitle")},M)),I&&i.createElement("div",{className:"".concat(c,"-item-description")},I))))}}]),m}(i.Component),E=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","items"],g=function(d){(0,k.Z)(m,d);var l=(0,z.Z)(m);function m(){var r;(0,U.Z)(this,m);for(var s=arguments.length,t=new Array(s),n=0;n<s;n++)t[n]=arguments[n];return r=l.call.apply(l,[this].concat(t)),(0,p.Z)((0,V.Z)(r),"onStepClick",function(c){var h=r.props,C=h.onChange,u=h.current;C&&u!==c&&C(c)}),r}return(0,$.Z)(m,[{key:"render",value:function(){var s,t=this,n=this.props,c=n.prefixCls,h=n.style,C=h===void 0?{}:h,u=n.className,K=n.children,R=n.direction,P=n.type,L=n.labelPlacement,f=n.iconPrefix,v=n.status,I=n.size,O=n.current,M=n.progressDot,B=n.stepIcon,ie=n.initial,te=n.icons,oe=n.onChange,ne=n.items,se=ne===void 0?[]:ne,le=(0,W.Z)(n,E),Q=P==="navigation",J=M?"vertical":L,ae=Z()(c,"".concat(c,"-").concat(R),u,(s={},(0,p.Z)(s,"".concat(c,"-").concat(I),I),(0,p.Z)(s,"".concat(c,"-label-").concat(J),R==="horizontal"),(0,p.Z)(s,"".concat(c,"-dot"),!!M),(0,p.Z)(s,"".concat(c,"-navigation"),Q),s));return i.createElement("div",(0,x.Z)({className:ae,style:C},le),se.filter(function(S){return S}).map(function(S,pe){var X=(0,w.Z)({},S),Y=ie+pe;return v==="error"&&pe===O-1&&(X.className="".concat(c,"-next-error")),X.status||(Y===O?X.status=v:Y<O?X.status="finish":X.status="wait"),i.createElement(y,(0,x.Z)({},X,{active:Y===O,stepNumber:Y+1,stepIndex:Y,key:Y,prefixCls:c,iconPrefix:f,wrapperStyle:C,progressDot:M,stepIcon:B,icons:te,onStepClick:oe&&t.onStepClick}))}))}}]),m}(i.Component);(0,p.Z)(g,"Step",y),(0,p.Z)(g,"defaultProps",{type:"default",prefixCls:"rc-steps",iconPrefix:"rc",direction:"horizontal",labelPlacement:"horizontal",initial:0,current:0,status:"process",size:"",progressDot:!1});var o=g,_=e(53124),T=e(25378),H=e(54458),F=e(50344);function ee(d){return d.filter(function(l){return l})}function re(d,l){if(d)return d;var m=(0,F.Z)(l).map(function(r){if(i.isValidElement(r)){var s=r.props,t=(0,x.Z)({},s);return t}return null});return ee(m)}var G=function(d,l){var m={};for(var r in d)Object.prototype.hasOwnProperty.call(d,r)&&l.indexOf(r)<0&&(m[r]=d[r]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(d);s<r.length;s++)l.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(d,r[s])&&(m[r[s]]=d[r[s]]);return m},ce=function(l){var m,r=l.percent,s=l.size,t=l.className,n=l.direction,c=l.items,h=l.responsive,C=h===void 0?!0:h,u=l.current,K=u===void 0?0:u,R=l.children,P=G(l,["percent","size","className","direction","items","responsive","current","children"]),L=(0,T.Z)(C),f=L.xs,v=i.useContext(_.E_),I=v.getPrefixCls,O=v.direction,M=i.useCallback(function(){return C&&f?"vertical":n},[f,n]),B=I("steps",l.prefixCls),ie=I("",l.iconPrefix),te=re(c,R),oe=Z()((m={},(0,p.Z)(m,"".concat(B,"-rtl"),O==="rtl"),(0,p.Z)(m,"".concat(B,"-with-progress"),r!==void 0),m),t),ne={finish:i.createElement(A.Z,{className:"".concat(B,"-finish-icon")}),error:i.createElement(D.Z,{className:"".concat(B,"-error-icon")})},se=function(Q){var J=Q.node,ae=Q.status;if(ae==="process"&&r!==void 0){var S=s==="small"?32:40;return i.createElement("div",{className:"".concat(B,"-progress-icon")},i.createElement(H.Z,{type:"circle",percent:r,width:S,strokeWidth:4,format:function(){return null}}),J)}return J};return i.createElement(o,(0,x.Z)({icons:ne},P,{current:K,size:s,items:te,direction:M(),stepIcon:se,prefixCls:B,iconPrefix:ie,className:oe}))};ce.Step=o.Step;var me=ce},35556:function(j,b,e){"use strict";var x=e(38663),p=e.n(x),A=e(48395),D=e.n(A),a=e(34669)},97435:function(j,b){"use strict";function e(x,p){for(var A=Object.assign({},x),D=0;D<p.length;D+=1){var a=p[D];delete A[a]}return A}b.Z=e}}]);