23.9fb5d971.async.js 6.74 KB
Newer Older
afc163's avatar
Updates  
afc163 committed
1
webpackJsonp([23],{1306:function(e,t,n){"use strict";function o(e){var t=e[e.length-1];if(t)return t.title}function r(e){var t=e||"";t!==document.title&&(document.title=t)}function a(){}var i=n(6),u=n(11),l=n(1307);a.prototype=Object.create(i.Component.prototype),a.displayName="DocumentTitle",a.propTypes={title:u.string.isRequired},a.prototype.render=function(){return this.props.children?i.Children.only(this.props.children):null},e.exports=l(o,r)(a)},1307:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(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 i(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 u=n(6),l=o(u),c=n(1308),f=o(c),s=n(838),p=o(s);e.exports=function(e,t,n){function o(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 r(this,t),a(this,e.apply(this,arguments))}return i(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}(u.Component);return m.displayName="SideEffect("+o(c)+")",m.canUseDOM=f.default.canUseDOM,m}}},1308:function(e,t,n){var o;!function(){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen};void 0!==(o=function(){return a}.call(t,n,t,e))&&(e.exports=o)}()},1310:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),a=o(r),i=n(307),u=o(i),l=n(1311),c=o(l);t.default=function(e){var t=e.className,n=e.links,o=e.copyright,r=(0,u.default)(c.default.globalFooter,t);return a.default.createElement("div",{className:r},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)})),o&&a.default.createElement("div",{className:c.default.copyright},o))},e.exports=t.default},1311:function(e,t){e.exports={globalFooter:"globalFooter___3DBsQ",links:"links___6ev0g",copyright:"copyright___2RCkh"}},1312:function(e,t,n){e.exports=n.p+"static/logo.b29324c4.svg"},1437: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"}},820:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r,a,i=n(311),u=o(i),l=n(64),c=o(l),f=n(65),s=o(f),p=n(76),d=o(p),h=n(77),m=o(h),y=n(828),v=o(y);n(855);var _=n(6),g=o(_),E=n(11),b=o(E),w=n(312),O=n(1306),k=o(O),x=n(1310),j=o(x),C=n(1437),N=o(C),D=n(1312),P=o(D),M=[{title:"\u5e2e\u52a9",href:""},{title:"\u9690\u79c1",href:""},{title:"\u6761\u6b3e",href:""}],U=g.default.createElement("div",null,"Copyright ",g.default.createElement(v.default,{type:"copyright"})," 2017 \u8682\u8681\u91d1\u670d\u4f53\u9a8c\u6280\u672f\u90e8\u51fa\u54c1"),T=(a=r=function(e){function t(){return(0,c.default)(this,t),(0,d.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,s.default)(t,[{key:"getChildContext",value:function(){return{location:this.props.location}}},{key:"getPageTitle",value:function(){var e=this.props,t=e.getRouteData,n=e.location,o=n.pathname,r="Ant Design Pro";return t("UserLayout").forEach(function(e){e.path===o&&(r=e.name+" - Ant Design Pro")}),r}},{key:"render",value:function(){var e=this.props.getRouteData;return g.default.createElement(k.default,{title:this.getPageTitle()},g.default.createElement("div",{className:N.default.container},g.default.createElement("div",{className:N.default.top},g.default.createElement("div",{className:N.default.header},g.default.createElement(w.Link,{to:"/"},g.default.createElement("img",{alt:"logo",className:N.default.logo,src:P.default}),g.default.createElement("span",{className:N.default.title},"Ant Design"))),g.default.createElement("div",{className:N.default.desc},"Ant Design \u662f\u897f\u6e56\u533a\u6700\u5177\u5f71\u54cd\u529b\u7684 Web \u8bbe\u8ba1\u89c4\u8303")),e("UserLayout").map(function(e){return g.default.createElement(w.Route,{exact:e.exact,key:e.path,path:e.path,component:e.component})}),g.default.createElement(j.default,{className:N.default.footer,links:M,copyright:U})))}}]),t}(g.default.PureComponent),r.childContextTypes={location:b.default.object},a);t.default=T,e.exports=t.default},828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(15),r=n.n(o),a=n(190),i=n.n(a),u=n(6),l=(n.n(u),n(307)),c=n.n(l),f=n(309),s=function(e){var t=e.type,n=e.className,o=void 0===n?"":n,a=e.spin,l=c()(i()({anticon:!0,"anticon-spin":!!a||"loading"===t},"anticon-"+t,!0),o);return u.createElement("i",r()({},Object(f.a)(e,["type","spin"]),{className:l}))};t.default=s},838:function(e,t){e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!u(c))return!1;var f=e[c],s=t[c];if(!1===(r=n?n.call(o,f,s,c):void 0)||void 0===r&&f!==s)return!1}return!0}},855:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(308);n.n(o)}});