Commit c691f655 authored by ddcat1115's avatar ddcat1115

Updates

parent 37dc03ae
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 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.
webpackJsonp([21],{1176: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(13),i=r(s),o=n(718),l=r(o),u=n(716),c=r(u);t.default=a,n(756);var f=n(5),d=r(f),p=n(273),m=r(p),h=n(1177),y=r(h);e.exports=t.default},1177: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"}},1218: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"}},689: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(738),s=r(a),i=n(803),o=r(i),l=n(804),u=r(l);n(750),n(805),n(806);var c=n(5),f=r(c),d=n(278),p=n(1176),m=r(p),h=n(1218),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},716: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}},718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),a=n.n(r),s=n(173),i=n.n(s),o=n(5),l=(n.n(o),n(273)),u=n.n(l),c=n(275),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},738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(760),a=n(761);r.a.Group=a.a,t.default=r.a},739:function(e,t){},742:function(e,t,n){"use strict";var r=n(763),a=n(764);n.d(t,"b",function(){return r.a}),n.d(t,"a",function(){return a.a})},745: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}},750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(274),a=(n.n(r),n(766));n.n(a)},756:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(274);n.n(r)},760: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(13),i=n.n(s),o=n(173),l=n.n(o),u=n(61),c=n.n(u),f=n(62),d=n.n(f),p=n(73),m=n.n(p),h=n(74),y=n.n(h),v=n(5),_=(n.n(v),n(11)),g=n.n(_),b=n(273),O=n.n(b),x=n(275),j=n(718),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=m.href?"a":"button",N=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)),E=y?"loading":f,P=E?v.createElement(j.default,{type:E}):null,k=1===v.Children.count(c)&&(!E||"loading"===E),T=c?v.Children.map(c,function(e){return a(e,k)}):null;return v.createElement(b,i()({},Object(x.a)(m,["loading"]),{type:m.href?void 0:u||"button",className:N,onClick:this.handleClick}),P,T)}}]),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}},761:function(e,t,n){"use strict";var r=n(13),a=n.n(r),s=n(173),i=n.n(s),o=n(5),l=(n.n(o),n(273)),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},763:function(e,t,n){"use strict";var r=n(173),a=n.n(r),s=n(13),i=n.n(s),o=n(46),l=n.n(o),u=n(61),c=n.n(u),f=n(62),d=n.n(f),p=n(73),m=n.n(p),h=n(74),y=n.n(h),v=n(5),_=(n.n(v),n(273)),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(783)}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}},764:function(e,t,n){"use strict";var r=n(173),a=n.n(r),s=n(13),i=n.n(s),o=n(46),l=n.n(o),u=n(61),c=n.n(u),f=n(62),d=n.n(f),p=n(73),m=n.n(p),h=n(74),y=n.n(h),v=n(5),_=(n.n(v),n(11)),g=n.n(_),b=n(273),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}},766:function(e,t){},783:function(e,t,n){var r=n(784);e.exports=new r},784: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(785),s=n(745),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},785: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(786),s=n(745).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},786: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},803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(742);t.default=r.b},804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(742);t.default=r.a},805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(274),a=(n.n(r),n(739));n.n(a)},806:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(274),a=(n.n(r),n(739));n.n(a)}});
\ No newline at end of file
This diff is collapsed.
webpackJsonp([23],{1040:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return 1*e<10?"0"+e:e}function a(e){var t=new Date;if("today"===e)return t.setHours(0),t.setMinutes(0),t.setSeconds(0),[(0,m.default)(t),(0,m.default)(t.getTime()+86399e3)];if("week"===e){var n=t.getDay();t.setHours(0),t.setMinutes(0),t.setSeconds(0),0===n?n=6:n-=1;var r=t.getTime()-864e5*n;return[(0,m.default)(r),(0,m.default)(r+604799e3)]}if("month"===e){var a=t.getFullYear(),u=t.getMonth(),i=(0,m.default)(t).add(1,"months"),l=i.year(),c=i.month();return[(0,m.default)(a+"-"+o(u+1)+"-01 00:00:00"),(0,m.default)((0,m.default)(l+"-"+o(c+1)+"-01 00:00:00").valueOf()-1e3)]}if("year"===e){var f=t.getFullYear();return[(0,m.default)(f+"-01-01 00:00:00"),(0,m.default)(f+"-12-31 23:59:59")]}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[];return e.forEach(function(e){var r=e;r.path=(t+"/"+(r.path||"")).replace(/\/+/g,"/"),r.exact=!0,r.children&&!r.component?n.push.apply(n,(0,d.default)(u(r.children,r.path))):(r.children&&r.component&&(r.exact=!1),n.push(r))}),n}function i(e){var t=["\u89d2","\u5206"],n=["\u96f6","\u58f9","\u8d30","\u53c1","\u8086","\u4f0d","\u9646","\u67d2","\u634c","\u7396"],r=[["\u5143","\u4e07","\u4ebf"],["","\u62fe","\u4f70","\u4edf"]],o=Math.abs(e),a="";t.forEach(function(e,t){a+=(n[Math.floor(10*o*Math.pow(10,t))%10]+e).replace(/\u96f6./,"")}),a=a||"\u6574",o=Math.floor(o);for(var u=0;u<r[0].length&&o>0;u+=1){for(var i="",l=0;l<r[1].length&&o>0;l+=1)i=n[o%10]+r[1][l]+i,o=Math.floor(o/10);a=i.replace(/(\u96f6.)*\u96f6$/,"").replace(/^$/,"\u96f6")+r[0][u]+a}return a.replace(/(\u96f6.)*\u96f6\u5143/,"\u5143").replace(/(\u96f6.)+/g,"\u96f6").replace(/^\u6574$/,"\u96f6\u5143\u6574")}function l(e,t){e===t&&console.warn("Two path are equal!");var n=e.split("/"),r=t.split("/");return r.every(function(e,t){return e===n[t]})?1:n.every(function(e,t){return e===r[t]})?2:3}function c(e,t){var n=(0,s.default)(t).filter(function(t){return 0===t.indexOf(e)&&t!==e});n=n.map(function(t){return t.replace(e,"")});var r=[];r.push(n[0]);for(var o=1;o<n.length;o+=1)!function(e){var t=!1;t=r.every(function(t){return 3===l(t,n[e])}),r=r.filter(function(t){return 1!==l(t,n[e])}),t&&r.push(n[e])}(o);return r.map(function(r){var o=!n.some(function(e){return e!==r&&1===l(e,r)});return{key:""+e+r,path:""+e+r,component:t[""+e+r].component,exact:o}})}Object.defineProperty(t,"__esModule",{value:!0});var f=n(41),s=r(f),p=n(63),d=r(p);t.fixedZero=o,t.getTimeDistance=a,t.getPlainNode=u,t.digitUppercase=i,t.getRoutes=c;var h=n(116),m=r(h)},1263:function(e,t,n){"use strict";function r(e){var t=e[e.length-1];if(t)return t.title}function o(e){var t=e||"";t!==document.title&&(document.title=t)}function a(){}var u=n(5),i=n(11),l=n(1264);a.prototype=Object.create(u.Component.prototype),a.displayName="DocumentTitle",a.propTypes={title:i.string.isRequired},a.prototype.render=function(){return this.props.children?u.Children.only(this.props.children):null},e.exports=l(r,o)(a)},1264:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(5),l=r(i),c=n(1265),f=r(c),s=n(736),p=r(s);e.exports=function(e,t,n){function r(e){return e.displayName||e.name||"Component"}if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(c){function s(){h=e(d.map(function(e){return e.props})),m.canUseDOM?t(h):n&&(h=n(h))}if("function"!=typeof c)throw new Error("Expected WrappedComponent to be a React component.");var d=[],h=void 0,m=function(e){function t(){return o(this,t),a(this,e.apply(this,arguments))}return u(t,e),t.peek=function(){return h},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=h;return h=void 0,d=[],e},t.prototype.shouldComponentUpdate=function(e){return!(0,p.default)(e,this.props)},t.prototype.componentWillMount=function(){d.push(this),s()},t.prototype.componentDidUpdate=function(){s()},t.prototype.componentWillUnmount=function(){var e=d.indexOf(this);d.splice(e,1),s()},t.prototype.render=function(){return l.default.createElement(c,this.props)},t}(i.Component);return m.displayName="SideEffect("+r(c)+")",m.canUseDOM=f.default.canUseDOM,m}}},1265:function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0!==(r=function(){return a}.call(t,n,t,e))&&(e.exports=r)}()},1267:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),a=r(o),u=n(273),i=r(u),l=n(1268),c=r(l);t.default=function(e){var t=e.className,n=e.links,r=e.copyright,o=(0,i.default)(c.default.globalFooter,t);return a.default.createElement("div",{className:o},n&&a.default.createElement("div",{className:c.default.links},n.map(function(e){return a.default.createElement("a",{key:e.title,target:e.blankTarget?"_blank":"_self",href:e.href},e.title)})),r&&a.default.createElement("div",{className:c.default.copyright},r))},e.exports=t.default},1268:function(e,t){e.exports={globalFooter:"globalFooter___3DBsQ",links:"links___6ev0g",copyright:"copyright___2RCkh"}},1269:function(e,t,n){e.exports=n.p+"static/logo.b29324c4.svg"},1413:function(e,t){e.exports={container:"container___13qaB",top:"top___15P5h",header:"header___wZzTk",logo:"logo___3ETkL",title:"title___1S-Sy",desc:"desc___2SfO0",footer:"footer___1_Jtj"}},711:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(277),a=r(o),u=n(61),i=r(u),l=n(62),c=r(l),f=n(73),s=r(f),p=n(74),d=r(p),h=n(718),m=r(h);n(756);var v=n(5),y=r(v),_=n(278),g=n(1263),w=r(g),E=n(1267),b=r(E),O=n(1413),k=r(O),M=n(1269),x=r(M),j=n(1040),D=[{title:"\u5e2e\u52a9",href:""},{title:"\u9690\u79c1",href:""},{title:"\u6761\u6b3e",href:""}],N=y.default.createElement("div",null,"Copyright ",y.default.createElement(m.default,{type:"copyright"})," 2017 \u8682\u8681\u91d1\u670d\u4f53\u9a8c\u6280\u672f\u90e8\u51fa\u54c1"),P=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,d.default)(t,e),(0,c.default)(t,[{key:"getPageTitle",value:function(){var e=this.props,t=e.routerData,n=e.location,r=n.pathname,o="Ant Design Pro";return t[r]&&t[r].name&&(o=t[r].name+" - Ant Design Pro"),o}},{key:"render",value:function(){var e=this.props,t=e.routerData,n=e.match;return y.default.createElement(w.default,{title:this.getPageTitle()},y.default.createElement("div",{className:k.default.container},y.default.createElement("div",{className:k.default.top},y.default.createElement("div",{className:k.default.header},y.default.createElement(_.Link,{to:"/"},y.default.createElement("img",{alt:"logo",className:k.default.logo,src:x.default}),y.default.createElement("span",{className:k.default.title},"Ant Design"))),y.default.createElement("div",{className:k.default.desc},"Ant Design \u662f\u897f\u6e56\u533a\u6700\u5177\u5f71\u54cd\u529b\u7684 Web \u8bbe\u8ba1\u89c4\u8303")),(0,j.getRoutes)(n.path,t).map(function(e){return y.default.createElement(_.Route,{key:e.key,path:e.path,component:e.component,exact:e.exact})}),y.default.createElement(b.default,{className:k.default.footer,links:D,copyright:N})))}}]),t}(y.default.PureComponent);t.default=P,e.exports=t.default},718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),o=n.n(r),a=n(173),u=n.n(a),i=n(5),l=(n.n(i),n(273)),c=n.n(l),f=n(275),s=function(e){var t=e.type,n=e.className,r=void 0===n?"":n,a=e.spin,l=c()(u()({anticon:!0,"anticon-spin":!!a||"loading"===t},"anticon-"+t,!0),r);return i.createElement("i",o()({},Object(f.a)(e,["type","spin"]),{className:l}))};t.default=s},736:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),u=Object.keys(t);if(a.length!==u.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!i(c))return!1;var f=e[c],s=t[c];if(!1===(o=n?n.call(r,f,s,c):void 0)||void 0===o&&f!==s)return!1}return!0}},756:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(274);n.n(r)}});
\ 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.
webpackJsonp([29],{1260: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(117),a=n(u),s=r(291),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(292)),f=n(o)},684: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(13),a=n(u),s=r(117),c=n(s),o=r(1260);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.
webpackJsonp([30],{683:function(e,a,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(a,"__esModule",{value:!0});var r=t(13),u=n(r),c=t(117),d=n(c),o=t(282);a.default={namespace:"rule",state:{data:{list:[],pagination:{}},loading:!0},effects:{fetch:d.default.mark(function e(a,t){var n,r=a.payload,u=t.call,c=t.put;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c({type:"changeLoading",payload:!0});case 2:return e.next=4,u(o.queryRule,r);case 4:return n=e.sent,e.next=7,c({type:"save",payload:n});case 7:return e.next=9,c({type:"changeLoading",payload:!1});case 9:case"end":return e.stop()}},e,this)}),add:d.default.mark(function e(a,t){var n,r=a.payload,u=a.callback,c=t.call,s=t.put;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"changeLoading",payload:!0});case 2:return e.next=4,c(o.addRule,r);case 4:return n=e.sent,e.next=7,s({type:"save",payload:n});case 7:return e.next=9,s({type:"changeLoading",payload:!1});case 9:u&&u();case 10:case"end":return e.stop()}},e,this)}),remove:d.default.mark(function e(a,t){var n,r=a.payload,u=a.callback,c=t.call,s=t.put;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"changeLoading",payload:!0});case 2:return e.next=4,c(o.removeRule,r);case 4:return n=e.sent,e.next=7,s({type:"save",payload:n});case 7:return e.next=9,s({type:"changeLoading",payload:!1});case 9:u&&u();case 10:case"end":return e.stop()}},e,this)})},reducers:{save:function(e,a){return(0,u.default)({},e,{data:a.payload})},changeLoading:function(e,a){return(0,u.default)({},e,{loading:a.payload})}}},e.exports=a.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.
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