Commit 156c87f6 authored by afc163's avatar afc163

Updates

parent df6a1b91
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.
webpackJsonp([22],{1221: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(15),r=a(i),s=n(828),o=a(s),c=n(826),u=a(c);t.default=l,n(866);var d=n(6),f=a(d),p=n(307),m=a(p),_=n(1222),y=a(_);e.exports=t.default},1222: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"}},1444:function(e,t){e.exports={registerResult:"registerResult___IPmKq",title:"title___2zsbu",actions:"actions___2SvTl"}},823: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(838),i=a(l);n(848);var r=n(6),s=a(r),o=n(312),c=n(1221),u=a(c),d=n(1444),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},826: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}},828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(15),l=n.n(a),i=n(190),r=n.n(i),s=n(6),o=(n.n(s),n(307)),c=n.n(o),u=n(309),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},838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(860),l=n(861);a.a.Group=l.a,t.default=a.a},848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(308),l=(n.n(a),n(865));n.n(l)},860: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(15),r=n.n(i),s=n(190),o=n.n(s),c=n(64),u=n.n(c),d=n(65),f=n.n(d),p=n(76),m=n.n(p),_=n(77),y=n.n(_),v=n(6),g=(n.n(v),n(11)),h=n.n(g),b=n(307),O=n.n(b),N=n(309),x=n(828),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}},861:function(e,t,n){"use strict";var a=n(15),l=n.n(a),i=n(190),r=n.n(i),s=n(6),o=(n.n(s),n(307)),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},865:function(e,t){},866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(308);n.n(a)}});
\ No newline at end of file
webpackJsonp([22],{1221: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(15),r=a(i),s=n(828),o=a(s),c=n(826),u=a(c);t.default=l,n(866);var d=n(6),f=a(d),p=n(307),m=a(p),_=n(1222),y=a(_);e.exports=t.default},1222: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"}},1443:function(e,t){e.exports={registerResult:"registerResult___IPmKq",title:"title___2zsbu",actions:"actions___2SvTl"}},823: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(838),i=a(l);n(848);var r=n(6),s=a(r),o=n(312),c=n(1221),u=a(c),d=n(1443),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},826: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}},828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(15),l=n.n(a),i=n(190),r=n.n(i),s=n(6),o=(n.n(s),n(307)),c=n.n(o),u=n(309),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},838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(860),l=n(861);a.a.Group=l.a,t.default=a.a},848:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(308),l=(n.n(a),n(865));n.n(l)},860: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(15),r=n.n(i),s=n(190),o=n.n(s),c=n(64),u=n.n(c),d=n(65),f=n.n(d),p=n(76),m=n.n(p),_=n(77),y=n.n(_),v=n(6),g=(n.n(v),n(11)),h=n.n(g),b=n(307),O=n.n(b),N=n(309),x=n(828),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}},861:function(e,t,n){"use strict";var a=n(15),l=n.n(a),i=n(190),r=n.n(i),s=n(6),o=(n.n(s),n(307)),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},865:function(e,t){},866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(308);n.n(a)}});
\ 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.
html,
body,
#root {
height: 100%;
}
body {
background-color: #fafafa;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.apiDoc___26KPd {
padding: 48px;
}
.apiDoc___26KPd .ant-card-head-title {
padding: 0;
}
.apiDoc___26KPd h1 {
margin-bottom: 24px;
}
.apiDoc___26KPd .apiItem___2gjK4 {
margin-bottom: 24px;
}
.apiDoc___26KPd .apiItemTitle___2wCal {
font-family: Consolas;
font-size: 16px;
line-height: 48px;
}
.apiDoc___26KPd .apiItemTitle___2wCal span {
color: #dc277d;
font-weight: 500;
}
.apiDoc___26KPd .apiItemTitle___2wCal span:last-child {
color: #555;
margin-left: 16px;
}
.apiDoc___26KPd .apiItemOperator___2rOvg a {
line-height: 28px;
}
.apiDoc___26KPd .apiItemDocs___ZuCPC {
margin-top: 16px;
}
.apiDoc___26KPd .apiItemDocs___ZuCPC h3 {
margin-bottom: 16px;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Roadhog Api Docs</title>
<script src="https://a.alipayobjects.com/??g/component/react/15.6.1/react.min.js,g/component/react/15.6.1/react-dom.min.js"></script>
<!-- antd 2.13.1 -->
<script src="https://gw.alipayobjects.com/os/rmsportal/jaBdslfXqAHTVBcXroYL.js"></script>
<link charset="utf-8" rel="stylesheet" type="text/css" href="https://unpkg.com/antd@next/dist/antd.min.css">
<link rel="stylesheet" href="api.css" />
</head>
<body>
<div id="root"></div>
<script src="api.js"></script>
</body>
</html>
This diff is collapsed.
This diff is collapsed.
......@@ -30,6 +30,6 @@
<div id="root"></div>
<script src="https://gw.alipayobjects.com/as/g/??datavis/g2/2.3.12/index.js,datavis/g-cloud/1.0.2/index.js,datavis/g2-plugin-slider/1.2.1/slider.js"></script>
<script type="text/javascript" src="/index.c6dc41c4.js"></script></body>
<script type="text/javascript" src="/index.3c6492b9.js"></script></body>
</html>
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