Commit bec3155d authored by afc163's avatar afc163

Updates

parent d15288b3
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([20],{1224:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.className,n=e.type,r=e.title,a=e.description,s=e.extra,o=e.actions,u=(0,c.default)(e,["className","type","title","description","extra","actions"]),f={error:d.default.createElement(l.default,{className:y.default.error,type:"close-circle"}),success:d.default.createElement(l.default,{className:y.default.success,type:"check-circle"})},p=(0,m.default)(y.default.result,t);return d.default.createElement("div",(0,i.default)({className:p},u),d.default.createElement("div",{className:y.default.icon},f[n]),d.default.createElement("div",{className:y.default.title},r),a&&d.default.createElement("div",{className:y.default.description},a),s&&d.default.createElement("div",{className:y.default.extra},s),o&&d.default.createElement("div",{className:y.default.actions},o))}Object.defineProperty(t,"__esModule",{value:!0});var s=n(15),i=r(s),o=n(831),l=r(o),u=n(829),c=r(u);t.default=a,n(869);var f=n(6),d=r(f),p=n(310),m=r(p),h=n(1225),y=r(h);e.exports=t.default},1225:function(e,t){e.exports={result:"result___Hm4g7",icon:"icon___3gQI1",success:"success___mKc7I",error:"error___1xqXc",title:"title___3_4zg",description:"description___1xuel",extra:"extra___2XdYc",actions:"actions___1qj92"}},1270:function(e,t){e.exports={stepForm:"stepForm___2dNH0",stepFormText:"stepFormText___8f9Gp",result:"result___Mvkvs",desc:"desc___1Hidv",information:"information___3Dwf0",label:"label___lLVL4",money:"money___6-ji-",uppercase:"uppercase___3OjmB"}},802:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(841),s=r(a),i=n(903),o=r(i),l=n(904),u=r(l);n(851),n(905),n(906);var c=n(6),f=r(c),d=n(315),p=n(1224),m=r(p),h=n(1270),y=r(h);t.default=function(e){var t=e.dispatch,n=e.data,r=function(){t(d.routerRedux.push("/form/step-form"))},a=f.default.createElement("div",{className:y.default.information},f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u4ed8\u6b3e\u8d26\u6237\uff1a"),f.default.createElement(u.default,{span:16},n.payAccount)),f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u6536\u6b3e\u8d26\u6237\uff1a"),f.default.createElement(u.default,{span:16},n.receiverAccount)),f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u6536\u6b3e\u4eba\u59d3\u540d\uff1a"),f.default.createElement(u.default,{span:16},n.receiverName)),f.default.createElement(o.default,null,f.default.createElement(u.default,{span:8,className:y.default.label},"\u8f6c\u8d26\u91d1\u989d\uff1a"),f.default.createElement(u.default,{span:16},f.default.createElement("span",{className:y.default.money},n.amount)," \u5143"))),i=f.default.createElement("div",null,f.default.createElement(s.default,{type:"primary",onClick:r},"\u518d\u8f6c\u4e00\u7b14"),f.default.createElement(s.default,null,"\u67e5\u770b\u8d26\u5355"));return f.default.createElement(m.default,{type:"success",title:"\u64cd\u4f5c\u6210\u529f",description:"\u9884\u8ba1\u4e24\u5c0f\u65f6\u5185\u5230\u8d26",extra:a,actions:i,className:y.default.result})},e.exports=t.default},829:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},831:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15),a=n.n(r),s=n(195),i=n.n(s),o=n(6),l=(n.n(o),n(310)),u=n.n(l),c=n(312),f=function(e){var t=e.type,n=e.className,r=void 0===n?"":n,s=e.spin,l=u()(i()({anticon:!0,"anticon-spin":!!s||"loading"===t},"anticon-"+t,!0),r);return o.createElement("i",a()({},Object(c.a)(e,["type","spin"]),{className:l}))};t.default=f},841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(863),a=n(864);r.a.Group=a.a,t.default=r.a},843:function(e,t){},845:function(e,t,n){"use strict";var r=n(866),a=n(867);n.d(t,"b",function(){return r.a}),n.d(t,"a",function(){return a.a})},848:function(e,t){function n(e,t){var n=0,r=e.length;for(n;n<r&&!1!==t(e[n],n);n++);}function r(e){return"[object Array]"===Object.prototype.toString.apply(e)}function a(e){return"function"==typeof e}e.exports={isFunction:a,isArray:r,each:n}},851:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(311),a=(n.n(r),n(868));n.n(a)},863:function(e,t,n){"use strict";function r(e){return"string"==typeof e}function a(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&r(e.type)&&E(e.props.children)?v.cloneElement(e,{},e.props.children.split("").join(n)):"string"==typeof e?(E(e)&&(e=e.split("").join(n)),v.createElement("span",null,e)):e}}var s=n(15),i=n.n(s),o=n(195),l=n.n(o),u=n(65),c=n.n(u),f=n(66),d=n.n(f),p=n(76),m=n.n(p),h=n(77),y=n.n(h),v=n(6),_=(n.n(v),n(11)),g=n.n(_),b=n(310),O=n.n(b),x=n(312),j=n(831),w=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},N=/^[\u4e00-\u9fa5]{2}$/,E=N.test.bind(N),P=function(e){function t(e){c()(this,t);var n=m()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({clicked:!0}),clearTimeout(n.timeout),n.timeout=window.setTimeout(function(){return n.setState({clicked:!1})},500);var t=n.props.onClick;t&&t(e)},n.state={loading:e.loading,clicked:!1},n}return y()(t,e),d()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.loading,r=e.loading;n&&clearTimeout(this.delayTimeout),"boolean"!=typeof r&&r&&r.delay?this.delayTimeout=window.setTimeout(function(){return t.setState({loading:r})},r.delay):this.setState({loading:r})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout),this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.type,r=t.shape,s=t.size,o=t.className,u=t.htmlType,c=t.children,f=t.icon,d=t.prefixCls,p=t.ghost,m=w(t,["type","shape","size","className","htmlType","children","icon","prefixCls","ghost"]),h=this.state,y=h.loading,_=h.clicked,g="";switch(s){case"large":g="lg";break;case"small":g="sm"}var b=O()(d,o,(e={},l()(e,d+"-"+n,n),l()(e,d+"-"+r,r),l()(e,d+"-"+g,g),l()(e,d+"-icon-only",!c&&f),l()(e,d+"-loading",y),l()(e,d+"-clicked",_),l()(e,d+"-background-ghost",p),e)),N=y?"loading":f,E=N?v.createElement(j.default,{type:N}):null,P=1===v.Children.count(c)&&(!N||"loading"===N),k=c?v.Children.map(c,function(e){return a(e,P)}):null;return v.createElement("button",i()({},Object(x.a)(m,["loading"]),{type:u||"button",className:b,onClick:this.handleClick}),E,k)}}]),t}(v.Component);t.a=P,P.__ANT_BUTTON=!0,P.defaultProps={prefixCls:"ant-btn",loading:!1,ghost:!1},P.propTypes={type:g.a.string,shape:g.a.oneOf(["circle","circle-outline"]),size:g.a.oneOf(["large","default","small"]),htmlType:g.a.oneOf(["submit","button","reset"]),onClick:g.a.func,loading:g.a.oneOfType([g.a.bool,g.a.object]),className:g.a.string,icon:g.a.string}},864:function(e,t,n){"use strict";var r=n(15),a=n.n(r),s=n(195),i=n.n(s),o=n(6),l=(n.n(o),n(310)),u=n.n(l),c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},f=function(e){var t=e.prefixCls,n=void 0===t?"ant-btn-group":t,r=e.size,s=e.className,l=c(e,["prefixCls","size","className"]),f="";switch(r){case"large":f="lg";break;case"small":f="sm"}var d=u()(n,i()({},n+"-"+f,f),s);return o.createElement("div",a()({},l,{className:d}))};t.a=f},866:function(e,t,n){"use strict";var r=n(195),a=n.n(r),s=n(15),i=n.n(s),o=n(45),l=n.n(o),u=n(65),c=n.n(u),f=n(66),d=n.n(f),p=n(76),m=n.n(p),h=n(77),y=n.n(h),v=n(6),_=(n.n(v),n(310)),g=n.n(_),b=n(11),O=n.n(b),x=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},j=void 0;if("undefined"!=typeof window){var w=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}};window.matchMedia=window.matchMedia||w,j=n(880)}var N=["xxl","xl","lg","md","sm","xs"],E={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},P=function(e){function t(){c()(this,t);var e=m()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={screens:{}},e}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){var e=this;Object.keys(E).map(function(t){return j.register(E[t],{match:function(){"object"===l()(e.props.gutter)&&e.setState(function(e){return{screens:i()({},e.screens,a()({},t,!0))}})},unmatch:function(){"object"===l()(e.props.gutter)&&e.setState(function(e){return{screens:i()({},e.screens,a()({},t,!1))}})},destroy:function(){}})})}},{key:"componentWillUnmount",value:function(){Object.keys(E).map(function(e){return j.unregister(E[e])})}},{key:"getGutter",value:function(){var e=this.props.gutter;if("object"===(void 0===e?"undefined":l()(e)))for(var t=0;t<=N.length;t++){var n=N[t];if(this.state.screens[n]&&void 0!==e[n])return e[n]}return e}},{key:"render",value:function(){var e,t=this.props,n=t.type,r=t.justify,s=t.align,o=t.className,l=t.style,u=t.children,c=t.prefixCls,f=void 0===c?"ant-row":c,d=x(t,["type","justify","align","className","style","children","prefixCls"]),p=this.getGutter(),m=g()((e={},a()(e,f,!n),a()(e,f+"-"+n,n),a()(e,f+"-"+n+"-"+r,n&&r),a()(e,f+"-"+n+"-"+s,n&&s),e),o),h=p>0?i()({marginLeft:p/-2,marginRight:p/-2},l):l,y=v.Children.map(u,function(e){return e?e.props&&p>0?Object(v.cloneElement)(e,{style:i()({paddingLeft:p/2,paddingRight:p/2},e.props.style)}):e:null}),_=i()({},d);return delete _.gutter,v.createElement("div",i()({},_,{className:m,style:h}),y)}}]),t}(v.Component);t.a=P,P.defaultProps={gutter:0},P.propTypes={type:O.a.string,align:O.a.string,justify:O.a.string,className:O.a.string,children:O.a.node,gutter:O.a.oneOfType([O.a.object,O.a.number]),prefixCls:O.a.string}},867:function(e,t,n){"use strict";var r=n(195),a=n.n(r),s=n(15),i=n.n(s),o=n(45),l=n.n(o),u=n(65),c=n.n(u),f=n(66),d=n.n(f),p=n(76),m=n.n(p),h=n(77),y=n.n(h),v=n(6),_=(n.n(v),n(11)),g=n.n(_),b=n(310),O=n.n(b),x=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&(n[r[a]]=e[r[a]]);return n},j=g.a.oneOfType([g.a.string,g.a.number]),w=g.a.oneOfType([g.a.object,g.a.number]),N=function(e){function t(){return c()(this,t),m()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y()(t,e),d()(t,[{key:"render",value:function(){var e,t=this.props,n=t.span,r=t.order,s=t.offset,o=t.push,u=t.pull,c=t.className,f=t.children,d=t.prefixCls,p=void 0===d?"ant-col":d,m=x(t,["span","order","offset","push","pull","className","children","prefixCls"]),h={};["xs","sm","md","lg","xl","xxl"].forEach(function(e){var n,r={};"number"==typeof t[e]?r.span=t[e]:"object"===l()(t[e])&&(r=t[e]||{}),delete m[e],h=i()({},h,(n={},a()(n,p+"-"+e+"-"+r.span,void 0!==r.span),a()(n,p+"-"+e+"-order-"+r.order,r.order||0===r.order),a()(n,p+"-"+e+"-offset-"+r.offset,r.offset||0===r.offset),a()(n,p+"-"+e+"-push-"+r.push,r.push||0===r.push),a()(n,p+"-"+e+"-pull-"+r.pull,r.pull||0===r.pull),n))});var y=O()((e={},a()(e,p+"-"+n,void 0!==n),a()(e,p+"-order-"+r,r),a()(e,p+"-offset-"+s,s),a()(e,p+"-push-"+o,o),a()(e,p+"-pull-"+u,u),e),c,h);return v.createElement("div",i()({},m,{className:y}),f)}}]),t}(v.Component);t.a=N,N.propTypes={span:j,order:j,offset:j,push:j,pull:j,className:g.a.string,children:g.a.node,xs:w,sm:w,md:w,lg:w,xl:w}},868:function(e,t){},869:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(311);n.n(r)},880:function(e,t,n){var r=n(881);e.exports=new r},881:function(e,t,n){function r(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var a=n(882),s=n(848),i=s.each,o=s.isFunction,l=s.isArray;r.prototype={constructor:r,register:function(e,t,n){var r=this.queries,s=n&&this.browserIsIncapable;return r[e]||(r[e]=new a(e,s)),o(t)&&(t={match:t}),l(t)||(t=[t]),i(t,function(t){o(t)&&(t={match:t}),r[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=r},882:function(e,t,n){function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}var a=n(883),s=n(848).each;r.prototype={constuctor:r,addHandler:function(e){var t=new a(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;s(t,function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){s(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";s(this.handlers,function(t){t[e]()})}},e.exports=r},883:function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n},903:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(845);t.default=r.b},904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(845);t.default=r.a},905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(311),a=(n.n(r),n(843));n.n(a)},906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(311),a=(n.n(r),n(843));n.n(a)}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([22],{1191:function(e,t){e.exports={registerResult:"registerResult___IPmKq",title:"title___2zsbu",actions:"actions___2SvTl"}},570:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var l=n(585),i=a(l);n(595);var r=n(0),s=a(r),o=n(231),c=n(968),u=a(c),d=n(1191),f=a(d),p=s.default.createElement("div",{className:f.default.title},"\u4f60\u7684\u8d26\u6237\uff1aAntDesign@example.com \u6ce8\u518c\u6210\u529f"),m=s.default.createElement("div",{className:f.default.actions},s.default.createElement("a",{href:""},s.default.createElement(i.default,{size:"large",type:"primary"},"\u67e5\u770b\u90ae\u7bb1")),s.default.createElement(o.Link,{to:"/"},s.default.createElement(i.default,{size:"large"},"\u8fd4\u56de\u9996\u9875")));t.default=function(){return s.default.createElement(u.default,{className:f.default.registerResult,type:"success",title:p,description:"\u6fc0\u6d3b\u90ae\u4ef6\u5df2\u53d1\u9001\u5230\u4f60\u7684\u90ae\u7bb1\u4e2d\uff0c\u90ae\u4ef6\u6709\u6548\u671f\u4e3a24\u5c0f\u65f6\u3002\u8bf7\u53ca\u65f6\u767b\u5f55\u90ae\u7bb1\uff0c\u70b9\u51fb\u90ae\u4ef6\u4e2d\u7684\u94fe\u63a5\u6fc0\u6d3b\u5e10\u6237\u3002",actions:m,style:{marginTop:56}})},e.exports=t.default},573:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}},575:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(5),l=n.n(a),i=n(123),r=n.n(i),s=n(0),o=(n.n(s),n(226)),c=n.n(o),u=n(228),d=function(e){var t=e.type,n=e.className,a=void 0===n?"":n,i=e.spin,o=c()(r()({anticon:!0,"anticon-spin":!!i||"loading"===t},"anticon-"+t,!0),a);return s.createElement("i",l()({},Object(u.a)(e,["type","spin"]),{className:o}))};t.default=d},585:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(607),l=n(608);a.a.Group=l.a,t.default=a.a},595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(227),l=(n.n(a),n(612));n.n(l)},607:function(e,t,n){"use strict";function a(e){return"string"==typeof e}function l(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&a(e.type)&&T(e.props.children)?v.cloneElement(e,{},e.props.children.split("").join(n)):"string"==typeof e?(T(e)&&(e=e.split("").join(n)),v.createElement("span",null,e)):e}}var i=n(5),r=n.n(i),s=n(123),o=n.n(s),c=n(27),u=n.n(c),d=n(28),f=n.n(d),p=n(39),m=n.n(p),_=n(40),y=n.n(_),v=n(0),g=(n.n(v),n(2)),h=n.n(g),b=n(226),O=n.n(b),N=n(228),x=n(575),E=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&(n[a[l]]=e[a[l]]);return n},j=/^[\u4e00-\u9fa5]{2}$/,T=j.test.bind(j),k=function(e){function t(e){u()(this,t);var n=m()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClick=function(e){n.setState({clicked:!0}),clearTimeout(n.timeout),n.timeout=window.setTimeout(function(){return n.setState({clicked:!1})},500);var t=n.props.onClick;t&&t(e)},n.state={loading:e.loading,clicked:!1},n}return y()(t,e),f()(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.loading,a=e.loading;n&&clearTimeout(this.delayTimeout),"boolean"!=typeof a&&a&&a.delay?this.delayTimeout=window.setTimeout(function(){return t.setState({loading:a})},a.delay):this.setState({loading:a})}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout),this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.type,a=t.shape,i=t.size,s=t.className,c=t.htmlType,u=t.children,d=t.icon,f=t.prefixCls,p=t.ghost,m=E(t,["type","shape","size","className","htmlType","children","icon","prefixCls","ghost"]),_=this.state,y=_.loading,g=_.clicked,h="";switch(i){case"large":h="lg";break;case"small":h="sm"}var b=O()(f,s,(e={},o()(e,f+"-"+n,n),o()(e,f+"-"+a,a),o()(e,f+"-"+h,h),o()(e,f+"-icon-only",!u&&d),o()(e,f+"-loading",y),o()(e,f+"-clicked",g),o()(e,f+"-background-ghost",p),e)),j=y?"loading":d,T=j?v.createElement(x.default,{type:j}):null,k=1===v.Children.count(u)&&(!j||"loading"===j),P=u?v.Children.map(u,function(e){return l(e,k)}):null;return v.createElement("button",r()({},Object(N.a)(m,["loading"]),{type:c||"button",className:b,onClick:this.handleClick}),T,P)}}]),t}(v.Component);t.a=k,k.__ANT_BUTTON=!0,k.defaultProps={prefixCls:"ant-btn",loading:!1,ghost:!1},k.propTypes={type:h.a.string,shape:h.a.oneOf(["circle","circle-outline"]),size:h.a.oneOf(["large","default","small"]),htmlType:h.a.oneOf(["submit","button","reset"]),onClick:h.a.func,loading:h.a.oneOfType([h.a.bool,h.a.object]),className:h.a.string,icon:h.a.string}},608:function(e,t,n){"use strict";var a=n(5),l=n.n(a),i=n(123),r=n.n(i),s=n(0),o=(n.n(s),n(226)),c=n.n(o),u=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,a=Object.getOwnPropertySymbols(e);l<a.length;l++)t.indexOf(a[l])<0&&(n[a[l]]=e[a[l]]);return n},d=function(e){var t=e.prefixCls,n=void 0===t?"ant-btn-group":t,a=e.size,i=e.className,o=u(e,["prefixCls","size","className"]),d="";switch(a){case"large":d="lg";break;case"small":d="sm"}var f=c()(n,r()({},n+"-"+d,d),i);return s.createElement("div",l()({},o,{className:f}))};t.a=d},612:function(e,t){},613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(227);n.n(a)},968:function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.className,n=e.type,a=e.title,l=e.description,i=e.extra,s=e.actions,c=(0,u.default)(e,["className","type","title","description","extra","actions"]),d={error:f.default.createElement(o.default,{className:y.default.error,type:"close-circle"}),success:f.default.createElement(o.default,{className:y.default.success,type:"check-circle"})},p=(0,m.default)(y.default.result,t);return f.default.createElement("div",(0,r.default)({className:p},c),f.default.createElement("div",{className:y.default.icon},d[n]),f.default.createElement("div",{className:y.default.title},a),l&&f.default.createElement("div",{className:y.default.description},l),i&&f.default.createElement("div",{className:y.default.extra},i),s&&f.default.createElement("div",{className:y.default.actions},s))}Object.defineProperty(t,"__esModule",{value:!0});var i=n(5),r=a(i),s=n(575),o=a(s),c=n(573),u=a(c);t.default=l,n(613);var d=n(0),f=a(d),p=n(226),m=a(p),_=n(969),y=a(_);e.exports=t.default},969:function(e,t){e.exports={result:"result___Hm4g7",icon:"icon___3gQI1",success:"success___mKc7I",error:"error___1xqXc",title:"title___3_4zg",description:"description___1xuel",extra:"extra___2XdYc",actions:"actions___1qj92"}}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([28],{1056:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.queryCurrent=t.query=void 0;var u=r(81),a=n(u),s=r(258),c=n(s),o=(t.query=function(){var e=(0,c.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,f.default)("/api/users"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),t.queryCurrent=function(){var e=(0,c.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,f.default)("/api/currentUser"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),r(259)),f=n(o)},541:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=r(5),a=n(u),s=r(81),c=n(s),o=r(1056);t.default={namespace:"user",state:{list:[],loading:!1,currentUser:{}},effects:{fetch:c.default.mark(function e(t,r){var n,u=r.call,a=r.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a({type:"changeLoading",payload:!0});case 2:return e.next=4,u(o.query);case 4:return n=e.sent,e.next=7,a({type:"save",payload:n});case 7:return e.next=9,a({type:"changeLoading",payload:!1});case 9:case"end":return e.stop()}},e,this)}),fetchCurrent:c.default.mark(function e(t,r){var n,u=r.call,a=r.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(o.queryCurrent);case 2:return n=e.sent,e.next=5,a({type:"saveCurrentUser",payload:n});case 5:case"end":return e.stop()}},e,this)})},reducers:{save:function(e,t){return(0,a.default)({},e,{list:t.payload})},changeLoading:function(e,t){return(0,a.default)({},e,{loading:t.payload})},saveCurrentUser:function(e,t){return(0,a.default)({},e,{currentUser:t.payload})},changeNotifyCount:function(e,t){return(0,a.default)({},e,{currentUser:(0,a.default)({},e.currentUser,{notifyCount:t.payload})})}}},e.exports=t.default}});
\ No newline at end of file
webpackJsonp([28],{1312:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.queryCurrent=t.query=void 0;var u=r(129),a=n(u),s=r(342),c=n(s),o=(t.query=function(){var e=(0,c.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,f.default)("/api/users"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),t.queryCurrent=function(){var e=(0,c.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,f.default)("/api/currentUser"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),r(343)),f=n(o)},797:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=r(15),a=n(u),s=r(129),c=n(s),o=r(1312);t.default={namespace:"user",state:{list:[],loading:!1,currentUser:{}},effects:{fetch:c.default.mark(function e(t,r){var n,u=r.call,a=r.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a({type:"changeLoading",payload:!0});case 2:return e.next=4,u(o.query);case 4:return n=e.sent,e.next=7,a({type:"save",payload:n});case 7:return e.next=9,a({type:"changeLoading",payload:!1});case 9:case"end":return e.stop()}},e,this)}),fetchCurrent:c.default.mark(function e(t,r){var n,u=r.call,a=r.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u(o.queryCurrent);case 2:return n=e.sent,e.next=5,a({type:"saveCurrentUser",payload:n});case 5:case"end":return e.stop()}},e,this)})},reducers:{save:function(e,t){return(0,a.default)({},e,{list:t.payload})},changeLoading:function(e,t){return(0,a.default)({},e,{loading:t.payload})},saveCurrentUser:function(e,t){return(0,a.default)({},e,{currentUser:t.payload})},changeNotifyCount:function(e,t){return(0,a.default)({},e,{currentUser:(0,a.default)({},e.currentUser,{notifyCount:t.payload})})}}},e.exports=t.default}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([30],{539:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(5),u=n(r),s=a(81),i=n(s),c=a(237);t.default={namespace:"register",state:{status:void 0},effects:{submit:i.default.mark(function e(t,a){var n,r=a.call,u=a.put;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({type:"changeSubmitting",payload:!0});case 2:return e.next=4,r(c.fakeRegister);case 4:return n=e.sent,e.next=7,u({type:"registerHandle",payload:n});case 7:return e.next=9,u({type:"changeSubmitting",payload:!1});case 9:case"end":return e.stop()}},e,this)})},reducers:{registerHandle:function(e,t){var a=t.payload;return(0,u.default)({},e,{status:a.status})},changeSubmitting:function(e,t){var a=t.payload;return(0,u.default)({},e,{submitting:a})}}},e.exports=t.default}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([38],{827:function(e,t,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=u(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e){return r.default.createElement("div",e)},e.exports=t.default}});
\ No newline at end of file
webpackJsonp([38],{571:function(e,t,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=u(0),r=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e){return r.default.createElement("div",e)},e.exports=t.default}});
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment