forked from Gitlink/build
1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
(this.webpackJsonp=this.webpackJsonp||[]).push([[105],{"/zsF":function(t,e,n){"use strict";n.r(e),n("cIOH"),n("bE4E")},"25NQ":function(t,e,n){(e=n("JPst")(!1)).push([t.i,"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-breadcrumb {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.65);\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n font-feature-settings: 'tnum';\n color: rgba(0, 0, 0, 0.45);\n font-size: 14px;\n}\n.ant-breadcrumb .anticon {\n font-size: 14px;\n}\n.ant-breadcrumb a {\n color: rgba(0, 0, 0, 0.45);\n transition: color 0.3s;\n}\n.ant-breadcrumb a:hover {\n color: #6e90ff;\n}\n.ant-breadcrumb > span:last-child {\n color: rgba(0, 0, 0, 0.65);\n}\n.ant-breadcrumb > span:last-child a {\n color: rgba(0, 0, 0, 0.65);\n}\n.ant-breadcrumb > span:last-child .ant-breadcrumb-separator {\n display: none;\n}\n.ant-breadcrumb-separator {\n margin: 0 8px;\n color: rgba(0, 0, 0, 0.45);\n}\n.ant-breadcrumb-link > .anticon + span {\n margin-left: 4px;\n}\n.ant-breadcrumb-overlay-link > .anticon {\n margin-left: 4px;\n}\n",""]),t.exports=e},"7uw7":function(t,e,n){(e=n("JPst")(!1)).push([t.i,"/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-divider {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n font-feature-settings: 'tnum';\n background: #e8e8e8;\n}\n.ant-divider,\n.ant-divider-vertical {\n position: relative;\n top: -0.06em;\n display: inline-block;\n width: 1px;\n height: 0.9em;\n margin: 0 8px;\n vertical-align: middle;\n}\n.ant-divider-horizontal {\n display: block;\n clear: both;\n width: 100%;\n min-width: 100%;\n height: 1px;\n margin: 24px 0;\n}\n.ant-divider-horizontal.ant-divider-with-text-center,\n.ant-divider-horizontal.ant-divider-with-text-left,\n.ant-divider-horizontal.ant-divider-with-text-right {\n display: table;\n margin: 16px 0;\n color: rgba(0, 0, 0, 0.85);\n font-weight: 500;\n font-size: 16px;\n white-space: nowrap;\n text-align: center;\n background: transparent;\n}\n.ant-divider-horizontal.ant-divider-with-text-center::before,\n.ant-divider-horizontal.ant-divider-with-text-left::before,\n.ant-divider-horizontal.ant-divider-with-text-right::before,\n.ant-divider-horizontal.ant-divider-with-text-center::after,\n.ant-divider-horizontal.ant-divider-with-text-left::after,\n.ant-divider-horizontal.ant-divider-with-text-right::after {\n position: relative;\n top: 50%;\n display: table-cell;\n width: 50%;\n border-top: 1px solid #e8e8e8;\n transform: translateY(50%);\n content: '';\n}\n.ant-divider-horizontal.ant-divider-with-text-left .ant-divider-inner-text,\n.ant-divider-horizontal.ant-divider-with-text-right .ant-divider-inner-text {\n display: inline-block;\n padding: 0 10px;\n}\n.ant-divider-horizontal.ant-divider-with-text-left::before {\n top: 50%;\n width: 5%;\n}\n.ant-divider-horizontal.ant-divider-with-text-left::after {\n top: 50%;\n width: 95%;\n}\n.ant-divider-horizontal.ant-divider-with-text-right::before {\n top: 50%;\n width: 95%;\n}\n.ant-divider-horizontal.ant-divider-with-text-right::after {\n top: 50%;\n width: 5%;\n}\n.ant-divider-inner-text {\n display: inline-block;\n padding: 0 24px;\n}\n.ant-divider-dashed {\n background: none;\n border-color: #e8e8e8;\n border-style: dashed;\n border-width: 1px 0 0;\n}\n.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed,\n.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed,\n.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed {\n border-top: 0;\n}\n.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed::before,\n.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed::before,\n.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed::before,\n.ant-divider-horizontal.ant-divider-with-text-center.ant-divider-dashed::after,\n.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-dashed::after,\n.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-dashed::after {\n border-style: dashed none none;\n}\n.ant-divider-vertical.ant-divider-dashed {\n border-width: 0 0 0 1px;\n}\n",""]),t.exports=e},AOa7:function(t,e,n){var r=n("25NQ");"string"==typeof r&&(r=[[t.i,r,""]]);n("aET+")(r,{hmr:!0,transform:void 0}),r.locals&&(t.exports=r.locals)},PArb:function(t,e,n){"use strict";n.r(e);var r=n("cDcd"),o=n("eHJ2"),a=n.n(o),i=n("H84U");function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.default=function(t){return r.createElement(i.a,null,(function(e){var n,o=e.getPrefixCls,i=t.prefixCls,u=t.type,d=void 0===u?"horizontal":u,s=t.orientation,f=void 0===s?"center":s,p=t.className,b=t.children,h=t.dashed,y=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["prefixCls","type","orientation","className","children","dashed"]),v=o("divider",i),m=f.length>0?"-".concat(f):f,g=a()(p,v,"".concat(v,"-").concat(d),(l(n={},"".concat(v,"-with-text").concat(m),b),l(n,"".concat(v,"-dashed"),!!h),n));return r.createElement("div",c({className:g},y,{role:"separator"}),b&&r.createElement("span",{className:"".concat(v,"-inner-text")},b))}))}},Zm9Q:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("cDcd"),o=n.n(r),a=n("TOwV");function i(t){var e=[];return o.a.Children.forEach(t,(function(t){null!=t&&(Array.isArray(t)?e=e.concat(i(t)):Object(a.isFragment)(t)&&t.props?e=e.concat(i(t.props.children)):e.push(t))})),e}},bE4E:function(t,e,n){var r=n("7uw7");"string"==typeof r&&(r=[[t.i,r,""]]);n("aET+")(r,{hmr:!0,transform:void 0}),r.locals&&(t.exports=r.locals)},bE4q:function(t,e,n){"use strict";n.r(e);var r=n("cDcd"),o=n("17x9"),a=n("eHJ2"),i=n.n(a),c=n("Zm9Q"),l=n("BGR+"),u=n("XBQK"),d=n("CtXQ"),s=n("H84U");function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(a,t);var e,n,o=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}(a);function a(){var t;return b(this,a),(t=o.apply(this,arguments)).renderBreadcrumbItem=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,c=a.separator,u=a.children,d=g(a,["prefixCls","separator","children"]),s=o("breadcrumb",i);return n="href"in t.props?r.createElement("a",p({className:"".concat(s,"-link")},Object(l.default)(d,["overlay"])),u):r.createElement("span",p({className:"".concat(s,"-link")},Object(l.default)(d,["overlay"])),u),n=t.renderBreadcrumbNode(n,s),u?r.createElement("span",null,n,c&&""!==c&&r.createElement("span",{className:"".concat(s,"-separator")},c)):null},t.renderBreadcrumbNode=function(e,n){var o=t.props.overlay;return o?r.createElement(u.a,{overlay:o,placement:"bottomCenter"},r.createElement("span",{className:"".concat(n,"-overlay-link")},e,r.createElement(d.default,{type:"down"}))):e},t}return e=a,(n=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderBreadcrumbItem)}}])&&h(e.prototype,n),a}(r.Component);w.__ANT_BREADCRUMB_ITEM=!0,w.defaultProps={separator:"/"},w.propTypes={prefixCls:o.string,separator:o.oneOfType([o.string,o.element]),href:o.string};var O=n("BvKs"),x=n("6CfX");function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(){return(E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function P(t){return function(t){if(Array.isArray(t))return R(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return R(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};function N(t,e,n,o){var a=n.indexOf(t)===n.length-1,i=function(t,e){if(!t.breadcrumbName)return null;var n=Object.keys(e).join("|");return t.breadcrumbName.replace(new RegExp(":(".concat(n,")"),"g"),(function(t,n){return e[n]||t}))}(t,e);return a?r.createElement("span",null,i):r.createElement("a",{href:"#/".concat(o.join("/"))},i)}function T(t){return Object(c.a)(t).map((function(t){return r.isValidElement(t)&&t.type===r.Fragment?t.props.children:t}))}var B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(a,t);var e,n,o=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}(a);function a(){var t;return _(this,a),(t=o.apply(this,arguments)).getPath=function(t,e){return t=(t||"").replace(/^\//,""),Object.keys(e).forEach((function(n){t=t.replace(":".concat(n),e[n])})),t},t.addChildPath=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,o=P(e),a=t.getPath(n,r);return a&&o.push(a),o},t.genForRoutes=function(e){var n=e.routes,o=void 0===n?[]:n,a=e.params,i=void 0===a?{}:a,c=e.separator,l=e.itemRender,u=void 0===l?N:l,d=[];return o.map((function(e){var n=t.getPath(e.path,i);n&&d.push(n);var a=null;return e.children&&e.children.length&&(a=r.createElement(O.default,null,e.children.map((function(e){return r.createElement(O.default.Item,{key:e.breadcrumbName||e.path},u(e,i,o,t.addChildPath(d,e.path,i)))})))),r.createElement(w,{overlay:a,separator:c,key:e.breadcrumbName||n},u(e,i,o,d))}))},t.renderBreadcrumb=function(e){var n,o=e.getPrefixCls,a=t.props,c=a.prefixCls,u=a.separator,d=a.style,s=a.className,f=a.routes,p=a.children,b=A(a,["prefixCls","separator","style","className","routes","children"]),h=o("breadcrumb",c);return f&&f.length>0?n=t.genForRoutes(t.props):p&&(n=r.Children.map(T(p),(function(t,e){return t?(Object(x.a)(t.type&&(!0===t.type.__ANT_BREADCRUMB_ITEM||!0===t.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),r.cloneElement(t,{separator:u,key:e})):t}))),r.createElement("div",E({className:i()(s,h),style:d},Object(l.default)(b,["itemRender","params"])),n)},t}return e=a,(n=[{key:"componentDidMount",value:function(){var t=this.props;Object(x.a)(!("linkRender"in t||"nameRender"in t),"Breadcrumb","`linkRender` and `nameRender` are removed, please use `itemRender` instead, see: https://u.ant.design/item-render.")}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderBreadcrumb)}}])&&S(e.prototype,n),a}(r.Component);function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function U(t,e){return(U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function J(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function H(t){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}B.defaultProps={separator:"/"},B.propTypes={prefixCls:o.string,separator:o.node,routes:o.array};var Q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U(t,e)}(a,t);var e,n,o=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=H(t);if(e){var o=H(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return J(this,n)}}(a);function a(){var t;return D(this,a),(t=o.apply(this,arguments)).renderSeparator=function(e){var n=e.getPrefixCls,o=t.props.children,a=n("breadcrumb");return r.createElement("span",{className:"".concat(a,"-separator")},o||"/")},t}return e=a,(n=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderSeparator)}}])&&M(e.prototype,n),a}(r.Component);Q.__ANT_BREADCRUMB_SEPARATOR=!0,B.Item=w,B.Separator=Q,e.default=B},sPJy:function(t,e,n){"use strict";n.r(e),n("cIOH"),n("AOa7"),n("lUTK"),n("qVdP")}}]); |