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

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