Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

2 řádky
12 KiB

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