|
|
webpackJsonp([181],{
|
|
|
|
|
|
/***/ 1016:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = void 0;
|
|
|
|
|
|
var isNumeric = function isNumeric(value) {
|
|
|
return !isNaN(parseFloat(value)) && isFinite(value);
|
|
|
};
|
|
|
|
|
|
var _default = isNumeric;
|
|
|
exports["default"] = _default;
|
|
|
//# sourceMappingURL=isNumeric.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1019:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = void 0;
|
|
|
|
|
|
var React = _interopRequireWildcard(__webpack_require__(0));
|
|
|
|
|
|
var PropTypes = _interopRequireWildcard(__webpack_require__(1));
|
|
|
|
|
|
var _rcMenu = __webpack_require__(172);
|
|
|
|
|
|
var _classnames = _interopRequireDefault(__webpack_require__(3));
|
|
|
|
|
|
var _MenuContext = _interopRequireDefault(__webpack_require__(890));
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
|
|
|
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
|
|
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
|
|
|
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
|
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
|
|
|
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
|
|
|
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
|
|
|
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
|
|
|
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
|
|
|
|
var SubMenu =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component) {
|
|
|
_inherits(SubMenu, _React$Component);
|
|
|
|
|
|
function SubMenu() {
|
|
|
var _this;
|
|
|
|
|
|
_classCallCheck(this, SubMenu);
|
|
|
|
|
|
_this = _possibleConstructorReturn(this, _getPrototypeOf(SubMenu).apply(this, arguments));
|
|
|
|
|
|
_this.onKeyDown = function (e) {
|
|
|
_this.subMenu.onKeyDown(e);
|
|
|
};
|
|
|
|
|
|
_this.saveSubMenu = function (subMenu) {
|
|
|
_this.subMenu = subMenu;
|
|
|
};
|
|
|
|
|
|
return _this;
|
|
|
}
|
|
|
|
|
|
_createClass(SubMenu, [{
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
var _this2 = this;
|
|
|
|
|
|
var _this$props = this.props,
|
|
|
rootPrefixCls = _this$props.rootPrefixCls,
|
|
|
popupClassName = _this$props.popupClassName;
|
|
|
return React.createElement(_MenuContext["default"].Consumer, null, function (_ref) {
|
|
|
var antdMenuTheme = _ref.antdMenuTheme;
|
|
|
return React.createElement(_rcMenu.SubMenu, _extends({}, _this2.props, {
|
|
|
ref: _this2.saveSubMenu,
|
|
|
popupClassName: (0, _classnames["default"])("".concat(rootPrefixCls, "-").concat(antdMenuTheme), popupClassName)
|
|
|
}));
|
|
|
});
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return SubMenu;
|
|
|
}(React.Component);
|
|
|
|
|
|
SubMenu.contextTypes = {
|
|
|
antdMenuTheme: PropTypes.string
|
|
|
}; // fix issue:https://github.com/ant-design/ant-design/issues/8666
|
|
|
|
|
|
SubMenu.isSubMenu = 1;
|
|
|
var _default = SubMenu;
|
|
|
exports["default"] = _default;
|
|
|
//# sourceMappingURL=SubMenu.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1020:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = void 0;
|
|
|
|
|
|
var React = _interopRequireWildcard(__webpack_require__(0));
|
|
|
|
|
|
var _rcMenu = __webpack_require__(172);
|
|
|
|
|
|
var _MenuContext = _interopRequireDefault(__webpack_require__(890));
|
|
|
|
|
|
var _tooltip = _interopRequireDefault(__webpack_require__(168));
|
|
|
|
|
|
var _Sider = __webpack_require__(907);
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
|
|
|
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
|
|
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
|
|
|
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
|
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
|
|
|
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
|
|
|
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
|
|
|
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
|
|
|
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
|
|
|
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
var t = {};
|
|
|
|
|
|
for (var p in s) {
|
|
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
|
}
|
|
|
|
|
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
|
}
|
|
|
return t;
|
|
|
};
|
|
|
|
|
|
var MenuItem =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component) {
|
|
|
_inherits(MenuItem, _React$Component);
|
|
|
|
|
|
function MenuItem() {
|
|
|
var _this;
|
|
|
|
|
|
_classCallCheck(this, MenuItem);
|
|
|
|
|
|
_this = _possibleConstructorReturn(this, _getPrototypeOf(MenuItem).apply(this, arguments));
|
|
|
|
|
|
_this.onKeyDown = function (e) {
|
|
|
_this.menuItem.onKeyDown(e);
|
|
|
};
|
|
|
|
|
|
_this.saveMenuItem = function (menuItem) {
|
|
|
_this.menuItem = menuItem;
|
|
|
};
|
|
|
|
|
|
_this.renderItem = function (_ref) {
|
|
|
var siderCollapsed = _ref.siderCollapsed;
|
|
|
var _this$props = _this.props,
|
|
|
level = _this$props.level,
|
|
|
children = _this$props.children,
|
|
|
rootPrefixCls = _this$props.rootPrefixCls;
|
|
|
|
|
|
var _a = _this.props,
|
|
|
title = _a.title,
|
|
|
rest = __rest(_a, ["title"]);
|
|
|
|
|
|
return React.createElement(_MenuContext["default"].Consumer, null, function (_ref2) {
|
|
|
var inlineCollapsed = _ref2.inlineCollapsed;
|
|
|
var tooltipProps = {
|
|
|
title: title || (level === 1 ? children : '')
|
|
|
};
|
|
|
|
|
|
if (!siderCollapsed && !inlineCollapsed) {
|
|
|
tooltipProps.title = null; // Reset `visible` to fix control mode tooltip display not correct
|
|
|
// ref: https://github.com/ant-design/ant-design/issues/16742
|
|
|
|
|
|
tooltipProps.visible = false;
|
|
|
}
|
|
|
|
|
|
return React.createElement(_tooltip["default"], _extends({}, tooltipProps, {
|
|
|
placement: "right",
|
|
|
overlayClassName: "".concat(rootPrefixCls, "-inline-collapsed-tooltip")
|
|
|
}), React.createElement(_rcMenu.Item, _extends({}, rest, {
|
|
|
title: title,
|
|
|
ref: _this.saveMenuItem
|
|
|
})));
|
|
|
});
|
|
|
};
|
|
|
|
|
|
return _this;
|
|
|
}
|
|
|
|
|
|
_createClass(MenuItem, [{
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
return React.createElement(_Sider.SiderContext.Consumer, null, this.renderItem);
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return MenuItem;
|
|
|
}(React.Component);
|
|
|
|
|
|
exports["default"] = MenuItem;
|
|
|
MenuItem.isMenuItem = true;
|
|
|
//# sourceMappingURL=MenuItem.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1109:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
|
|
// load the styles
|
|
|
var content = __webpack_require__(1110);
|
|
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
|
// Prepare cssTransformation
|
|
|
var transform;
|
|
|
|
|
|
var options = {"hmr":false}
|
|
|
options.transform = transform
|
|
|
// add the styles to the DOM
|
|
|
var update = __webpack_require__(313)(content, options);
|
|
|
if(content.locals) module.exports = content.locals;
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1110:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
exports = module.exports = __webpack_require__(312)(true);
|
|
|
// imports
|
|
|
|
|
|
|
|
|
// module
|
|
|
exports.push([module.i, ".ant-menu{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:\"tnum\";font-feature-settings:\"tnum\";margin-bottom:0;padding-left:0;color:rgba(0,0,0,.65);line-height:0;list-style:none;background:#fff;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-transition:background .3s,width .2s;-o-transition:background .3s,width .2s;transition:background .3s,width .2s;zoom:1}.ant-menu:after,.ant-menu:before{display:table;content:\"\"}.ant-menu:after{clear:both}.ant-menu ol,.ant-menu ul{margin:0;padding:0;list-style:none}.ant-menu-hidden{display:none}.ant-menu-item-group-title{padding:8px 16px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-menu-submenu,.ant-menu-submenu-inline{-webkit-transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1);-o-transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1);transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#1890ff}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:auto;-webkit-transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1);-o-transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-item>a:hover{color:#1890ff}.ant-menu-item>a:before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;content:\"\"}.ant-menu-item>.ant-badge>a{color:rgba(0,0,0,.65)}.ant-menu-item>.ant-badge>a:hover{color:#1890ff}.ant-menu-item-divider{height:1px;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-menu-item-active,.ant-menu-item:hover,.ant-menu-submenu-active,.ant-menu-submenu-title:hover,.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected,.ant-menu-item-selected>a,.ant-menu-item-selected>a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #e8e8e8}.ant-menu-vertical-right{border-left:1px solid #e8e8e8}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px;padding:0;border-right:0;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 20px;white-space:nowrap;cursor:pointer;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1);-o-transition:color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1);transition:color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .anticon,.ant-menu-submenu-title .anticon{min-width:14px;margin-right:10px;font-size:14px;-webkit-transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1);-o-transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1);transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .anticon+span,.ant-menu-submenu-title .anticon+span{opacity:1;-webkit-transition:opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1);-o-transition:opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1);transition:opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1)}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;padding:0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:#fff;border-radius:4px}.ant-menu-submenu-popup .submenu-title-wrapper{padding-right:20px}.ant-menu-submenu-popup:before{position:absolute;top:-7px;right:0;bottom:0;left:0;opacity:.0001;content:\" \"}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:4px}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu>.ant-menu-submenu-title:after{-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{position:absolute;top:50%;right:16px;width:10px}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{position:absolute;width:6px;height:1.5px;background:#fff;background:rgba(0,0,0,.65)\\9;background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.65)),to(rgba(0,0,0,.65)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.65),rgba(0,0,0,.65));background-image:-o-linear-gradient(left,rgba(0,0,0,.65),rgba(0,0,0,.65));background-image:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.65));background-image:none\\9;border-radius:2px;-webkit-transition:background .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);-o-transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1);transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);content:\"\"}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{-webkit-transform:rotate(45deg) translateY(-2px);-ms-transform:rotate(45deg) translateY(-2px);transform:rotate(45deg) translateY(-2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{-webkit-transform:rotate(-45deg) translateY(2px);-ms-transform:rotate(-45deg) translateY(2px);transform:rotate(-45deg) translateY(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before{background:-webkit-gradient(linear,left top,right top,from(#1890ff),to(#1890ff));background:-webkit-linear-gradient(left,#1890ff,#1890ff);background:-o-linear-gradient(left,#1890ff,#1890ff);background:linear-gradient(90deg,#1890ff,#1890ff)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{-webkit-transform:rotate(-45deg) translateX(2px);-ms-transform:rotate(-45deg) translateX(2px);transform:rotate(-45deg) translateX(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{-webkit-transform:rotate(45deg) translateX(-2px);-ms-transform:rotate(45deg) translateX(-2px);transform:rotate(45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow{-webkit-transform:translateY(-2px);-ms-transform:translateY(-2px);transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{-webkit-transform:rotate(-45deg) translateX(-2px);-ms-transform:rotate(-45deg) translateX(-2px);transform:rotate(-45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{-webkit-transform:rotate(45deg) translateX(2px);-ms-transform:rotate(45deg) translateX(2px);transform:rotate(45deg) translateX(2px)}.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected>a,.ant-menu-vertical-right .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected>a,.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical .ant-menu-submenu-selected>a{color:#1890ff}.ant-menu-horizontal{line-height:46px;white-space:nowrap;border:0;border-bottom:1px solid #e8e8e8;-webkit-box-shadow:none;box-shadow:none}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom;border-bottom:2px solid transparent}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover{color:#1890ff;border-bottom:2px solid #1890ff}.ant-menu-horizontal>.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-horizontal>.ant-menu-item>a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item>a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected>a{color:#1890ff}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:\" \"}.ant-menu-inline .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #1890ff;-webkit-transform:scaleY(.0001);-ms-transform:scaleY(.0001);transform:scaleY(.0001);opacity:0;-webkit-transition:opacity .15s cubic-bezier(.215,.61,.355,1),-webkit-transform .15s cubic-bezier(.215,.61,.355,1);transition:opacity .15s cubic-bezier(.215,.61,.355,1),-webkit-transform .15s cubic-bezier(.215,.61,.355,1);-o-transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1),-webkit-transform .15s cubic-bezier(.215,.61,.355,1);content:\"\"}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title{height:40px;margin-top:4px;margin-bottom:4px;padding:0 16px;overflow:hidden;font-size:14px;line-height:40px;-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu{padding-bottom:.02px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{-webkit-transform:scaleY(1);-ms-transform:scaleY(1);transform:scaleY(1);opacity:1;-webkit-transition:opacity .15s cubic-bezier(.645,.045,.355,1),-webkit-transform .15s cubic-bezier(.645,.045,.355,1);transition:opacity .15s cubic-bezier(.645,.045,.355,1),-webkit-transform .15s cubic-bezier(.645,.045,.355,1);-o-transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1);transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1);transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1),-webkit-transform .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline-collapsed{width:80px}.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 32px!important;-o-text-overflow:clip;text-overflow:clip}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{display:none}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:16px;line-height:40px}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;max-width:0;opacity:0}.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu-inline-collapsed-tooltip a{color:hsla(0,0%,100%,.85)}.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right,.ant-menu-sub.ant-menu-inline{-webkit-box-shadow:none;box-shadow:none}.ant-menu-sub.ant-menu-inline{padding:0;border:0;border-radius:0}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:rgba(0,0,0,.25)!important;background:none;border-color:transparent!important;cursor:not-allowed}.ant-menu-item-disabled>a,.ant-menu-submenu-disabled>a{color:rgba(0,0,0,.25)!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(0,0,0,.25)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(0,0,0,.25)!important}.ant-menu-dark,.ant-menu-dark .ant-menu-sub{color:hsla(0,0%,100%,.65);background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.45) inset;box-shadow:inset 0 2px 8px rgba(0,0,0,.45)}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a{color:hsla(0,0%,100%,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-title:hover>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected .anticon,.ant-menu-dark .ant-menu-item-selected .anticon+span,.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a{color:hsla(0,0%,100%,.35)!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:hsla(0,0%,100%,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:hsla(0,0%,100%,.35)!important}", "", {"version":3,"sources":["/Users/hs/edu/educoder/public/react/node_modules/antd/lib/menu/style/index.css"],"names":[],"mappings":"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","file":"index.css","sourcesContent":["/* 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-menu {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n -webkit-font-feature-settings: 'tnum';\n font-feature-settings: 'tnum';\n margin-bottom: 0;\n padding-left: 0;\n color: rgba(0, 0, 0, 0.65);\n line-height: 0;\n list-style: none;\n background: #fff;\n outline: none;\n -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n -webkit-transition: background 0.3s, width 0.2s;\n -o-transition: background 0.3s, width 0.2s;\n transition: background 0.3s, width 0.2s;\n zoom: 1;\n}\n.ant-menu::before,\n.ant-menu::after {\n display: table;\n content: '';\n}\n.ant-menu::after {\n clear: both;\n}\n.ant-menu ul,\n.ant-menu ol {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.ant-menu-hidden {\n display: none;\n}\n.ant-menu-item-group-title {\n padding: 8px 16px;\n color: rgba(0, 0, 0, 0.45);\n font-size: 14px;\n line-height: 1.5;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-menu-submenu,\n.ant-menu-submenu-inline {\n -webkit-transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-selected {\n color: #1890ff;\n}\n.ant-menu-item:active,\n.ant-menu-submenu-title:active {\n background: #e6f7ff;\n}\n.ant-menu-submenu .ant-menu-sub {\n cursor: initial;\n -webkit-transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-item > a {\n display: block;\n color: rgba(0, 0, 0, 0.65);\n}\n.ant-menu-item > a:hover {\n color: #1890ff;\n}\n.ant-menu-item > a::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: transparent;\n content: '';\n}\n.ant-menu-item > .ant-badge > a {\n color: rgba(0, 0, 0, 0.65);\n}\n.ant-menu-item > .ant-badge > a:hover {\n color: #1890ff;\n}\n.ant-menu-item-divider {\n height: 1px;\n overflow: hidden;\n line-height: 0;\n background-color: #e8e8e8;\n}\n.ant-menu-item:hover,\n.ant-menu-item-active,\n.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,\n.ant-menu-submenu-active,\n.ant-menu-submenu-title:hover {\n color: #1890ff;\n}\n.ant-menu-horizontal .ant-menu-item,\n.ant-menu-horizontal .ant-menu-submenu {\n margin-top: -1px;\n}\n.ant-menu-horizontal > .ant-menu-item:hover,\n.ant-menu-horizontal > .ant-menu-item-active,\n.ant-menu-horizontal > .ant-menu-submenu .ant-menu-submenu-title:hover {\n background-color: transparent;\n}\n.ant-menu-item-selected {\n color: #1890ff;\n}\n.ant-menu-item-selected > a,\n.ant-menu-item-selected > a:hover {\n color: #1890ff;\n}\n.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {\n background-color: #e6f7ff;\n}\n.ant-menu-inline,\n.ant-menu-vertical,\n.ant-menu-vertical-left {\n border-right: 1px solid #e8e8e8;\n}\n.ant-menu-vertical-right {\n border-left: 1px solid #e8e8e8;\n}\n.ant-menu-vertical.ant-menu-sub,\n.ant-menu-vertical-left.ant-menu-sub,\n.ant-menu-vertical-right.ant-menu-sub {\n min-width: 160px;\n padding: 0;\n border-right: 0;\n -webkit-transform-origin: 0 0;\n -ms-transform-origin: 0 0;\n transform-origin: 0 0;\n}\n.ant-menu-vertical.ant-menu-sub .ant-menu-item,\n.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,\n.ant-menu-vertical-right.ant-menu-sub .ant-menu-item {\n left: 0;\n margin-left: 0;\n border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub .ant-menu-item::after,\n.ant-menu-vertical-left.ant-menu-sub .ant-menu-item::after,\n.ant-menu-vertical-right.ant-menu-sub .ant-menu-item::after {\n border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical-left.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical-right.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-vertical-left.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-vertical-right.ant-menu-sub > .ant-menu-submenu {\n -webkit-transform-origin: 0 0;\n -ms-transform-origin: 0 0;\n transform-origin: 0 0;\n}\n.ant-menu-horizontal.ant-menu-sub {\n min-width: 114px;\n}\n.ant-menu-item,\n.ant-menu-submenu-title {\n position: relative;\n display: block;\n margin: 0;\n padding: 0 20px;\n white-space: nowrap;\n cursor: pointer;\n -webkit-transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-item .anticon,\n.ant-menu-submenu-title .anticon {\n min-width: 14px;\n margin-right: 10px;\n font-size: 14px;\n -webkit-transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-item .anticon + span,\n.ant-menu-submenu-title .anticon + span {\n opacity: 1;\n -webkit-transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu > .ant-menu-item-divider {\n height: 1px;\n margin: 1px 0;\n padding: 0;\n overflow: hidden;\n line-height: 0;\n background-color: #e8e8e8;\n}\n.ant-menu-submenu-popup {\n position: absolute;\n z-index: 1050;\n background: #fff;\n border-radius: 4px;\n}\n.ant-menu-submenu-popup .submenu-title-wrapper {\n padding-right: 20px;\n}\n.ant-menu-submenu-popup::before {\n position: absolute;\n top: -7px;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 0.0001;\n content: ' ';\n}\n.ant-menu-submenu > .ant-menu {\n background-color: #fff;\n border-radius: 4px;\n}\n.ant-menu-submenu > .ant-menu-submenu-title::after {\n -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n position: absolute;\n top: 50%;\n right: 16px;\n width: 10px;\n -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::after {\n position: absolute;\n width: 6px;\n height: 1.5px;\n background: #fff;\n background: rgba(0, 0, 0, 0.65) \\9;\n background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.65)), to(rgba(0, 0, 0, 0.65)));\n background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));\n background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));\n background-image: none \\9;\n border-radius: 2px;\n -webkit-transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n content: '';\n}\n.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n -webkit-transform: rotate(45deg) translateY(-2px);\n -ms-transform: rotate(45deg) translateY(-2px);\n transform: rotate(45deg) translateY(-2px);\n}\n.ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::after {\n -webkit-transform: rotate(-45deg) translateY(2px);\n -ms-transform: rotate(-45deg) translateY(2px);\n transform: rotate(-45deg) translateY(2px);\n}\n.ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-vertical > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical-left > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-vertical-right > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-inline > .ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before {\n background: -webkit-gradient(linear, left top, right top, from(#1890ff), to(#1890ff));\n background: -webkit-linear-gradient(left, #1890ff, #1890ff);\n background: -o-linear-gradient(left, #1890ff, #1890ff);\n background: linear-gradient(to right, #1890ff, #1890ff);\n}\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n -webkit-transform: rotate(-45deg) translateX(2px);\n -ms-transform: rotate(-45deg) translateX(2px);\n transform: rotate(-45deg) translateX(2px);\n}\n.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::after {\n -webkit-transform: rotate(45deg) translateX(-2px);\n -ms-transform: rotate(45deg) translateX(-2px);\n transform: rotate(45deg) translateX(-2px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n -webkit-transform: translateY(-2px);\n -ms-transform: translateY(-2px);\n transform: translateY(-2px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::after {\n -webkit-transform: rotate(-45deg) translateX(-2px);\n -ms-transform: rotate(-45deg) translateX(-2px);\n transform: rotate(-45deg) translateX(-2px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n -webkit-transform: rotate(45deg) translateX(2px);\n -ms-transform: rotate(45deg) translateX(2px);\n transform: rotate(45deg) translateX(2px);\n}\n.ant-menu-vertical .ant-menu-submenu-selected,\n.ant-menu-vertical-left .ant-menu-submenu-selected,\n.ant-menu-vertical-right .ant-menu-submenu-selected {\n color: #1890ff;\n}\n.ant-menu-vertical .ant-menu-submenu-selected > a,\n.ant-menu-vertical-left .ant-menu-submenu-selected > a,\n.ant-menu-vertical-right .ant-menu-submenu-selected > a {\n color: #1890ff;\n}\n.ant-menu-horizontal {\n line-height: 46px;\n white-space: nowrap;\n border: 0;\n border-bottom: 1px solid #e8e8e8;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.ant-menu-horizontal > .ant-menu-item,\n.ant-menu-horizontal > .ant-menu-submenu {\n position: relative;\n top: 1px;\n display: inline-block;\n vertical-align: bottom;\n border-bottom: 2px solid transparent;\n}\n.ant-menu-horizontal > .ant-menu-item:hover,\n.ant-menu-horizontal > .ant-menu-submenu:hover,\n.ant-menu-horizontal > .ant-menu-item-active,\n.ant-menu-horizontal > .ant-menu-submenu-active,\n.ant-menu-horizontal > .ant-menu-item-open,\n.ant-menu-horizontal > .ant-menu-submenu-open,\n.ant-menu-horizontal > .ant-menu-item-selected,\n.ant-menu-horizontal > .ant-menu-submenu-selected {\n color: #1890ff;\n border-bottom: 2px solid #1890ff;\n}\n.ant-menu-horizontal > .ant-menu-item > a {\n display: block;\n color: rgba(0, 0, 0, 0.65);\n}\n.ant-menu-horizontal > .ant-menu-item > a:hover {\n color: #1890ff;\n}\n.ant-menu-horizontal > .ant-menu-item > a::before {\n bottom: -2px;\n}\n.ant-menu-horizontal > .ant-menu-item-selected > a {\n color: #1890ff;\n}\n.ant-menu-horizontal::after {\n display: block;\n clear: both;\n height: 0;\n content: '\\20';\n}\n.ant-menu-vertical .ant-menu-item,\n.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-inline .ant-menu-item {\n position: relative;\n}\n.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-vertical-right .ant-menu-item::after,\n.ant-menu-inline .ant-menu-item::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n border-right: 3px solid #1890ff;\n -webkit-transform: scaleY(0.0001);\n -ms-transform: scaleY(0.0001);\n transform: scaleY(0.0001);\n opacity: 0;\n -webkit-transition: opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n transition: opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n -o-transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n content: '';\n}\n.ant-menu-vertical .ant-menu-item,\n.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-inline .ant-menu-item,\n.ant-menu-vertical .ant-menu-submenu-title,\n.ant-menu-vertical-left .ant-menu-submenu-title,\n.ant-menu-vertical-right .ant-menu-submenu-title,\n.ant-menu-inline .ant-menu-submenu-title {\n height: 40px;\n margin-top: 4px;\n margin-bottom: 4px;\n padding: 0 16px;\n overflow: hidden;\n font-size: 14px;\n line-height: 40px;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-menu-vertical .ant-menu-submenu,\n.ant-menu-vertical-left .ant-menu-submenu,\n.ant-menu-vertical-right .ant-menu-submenu,\n.ant-menu-inline .ant-menu-submenu {\n padding-bottom: 0.02px;\n}\n.ant-menu-vertical .ant-menu-item:not(:last-child),\n.ant-menu-vertical-left .ant-menu-item:not(:last-child),\n.ant-menu-vertical-right .ant-menu-item:not(:last-child),\n.ant-menu-inline .ant-menu-item:not(:last-child) {\n margin-bottom: 8px;\n}\n.ant-menu-vertical > .ant-menu-item,\n.ant-menu-vertical-left > .ant-menu-item,\n.ant-menu-vertical-right > .ant-menu-item,\n.ant-menu-inline > .ant-menu-item,\n.ant-menu-vertical > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-vertical-left > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-vertical-right > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {\n height: 40px;\n line-height: 40px;\n}\n.ant-menu-inline {\n width: 100%;\n}\n.ant-menu-inline .ant-menu-selected::after,\n.ant-menu-inline .ant-menu-item-selected::after {\n -webkit-transform: scaleY(1);\n -ms-transform: scaleY(1);\n transform: scaleY(1);\n opacity: 1;\n -webkit-transition: opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n -o-transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-inline .ant-menu-item,\n.ant-menu-inline .ant-menu-submenu-title {\n width: calc(100% + 1px);\n}\n.ant-menu-inline .ant-menu-submenu-title {\n padding-right: 34px;\n}\n.ant-menu-inline-collapsed {\n width: 80px;\n}\n.ant-menu-inline-collapsed > .ant-menu-item,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {\n left: 0;\n padding: 0 32px !important;\n -o-text-overflow: clip;\n text-overflow: clip;\n}\n.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-submenu-arrow,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-submenu-arrow,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n display: none;\n}\n.ant-menu-inline-collapsed > .ant-menu-item .anticon,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .anticon,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .anticon,\n.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .anticon {\n margin: 0;\n font-size: 16px;\n line-height: 40px;\n}\n.ant-menu-inline-collapsed > .ant-menu-item .anticon + span,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .anticon + span,\n.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .anticon + span,\n.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .anticon + span {\n display: inline-block;\n max-width: 0;\n opacity: 0;\n}\n.ant-menu-inline-collapsed-tooltip {\n pointer-events: none;\n}\n.ant-menu-inline-collapsed-tooltip .anticon {\n display: none;\n}\n.ant-menu-inline-collapsed-tooltip a {\n color: rgba(255, 255, 255, 0.85);\n}\n.ant-menu-inline-collapsed .ant-menu-item-group-title {\n padding-right: 4px;\n padding-left: 4px;\n overflow: hidden;\n white-space: nowrap;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-menu-item-group-list {\n margin: 0;\n padding: 0;\n}\n.ant-menu-item-group-list .ant-menu-item,\n.ant-menu-item-group-list .ant-menu-submenu-title {\n padding: 0 16px 0 28px;\n}\n.ant-menu-root.ant-menu-vertical,\n.ant-menu-root.ant-menu-vertical-left,\n.ant-menu-root.ant-menu-vertical-right,\n.ant-menu-root.ant-menu-inline {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.ant-menu-sub.ant-menu-inline {\n padding: 0;\n border: 0;\n border-radius: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.ant-menu-sub.ant-menu-inline > .ant-menu-item,\n.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {\n height: 40px;\n line-height: 40px;\n list-style-position: inside;\n list-style-type: disc;\n}\n.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title {\n padding-left: 32px;\n}\n.ant-menu-item-disabled,\n.ant-menu-submenu-disabled {\n color: rgba(0, 0, 0, 0.25) !important;\n background: none;\n border-color: transparent !important;\n cursor: not-allowed;\n}\n.ant-menu-item-disabled > a,\n.ant-menu-submenu-disabled > a {\n color: rgba(0, 0, 0, 0.25) !important;\n pointer-events: none;\n}\n.ant-menu-item-disabled > .ant-menu-submenu-title,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title {\n color: rgba(0, 0, 0, 0.25) !important;\n cursor: not-allowed;\n}\n.ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n background: rgba(0, 0, 0, 0.25) !important;\n}\n.ant-menu-dark,\n.ant-menu-dark .ant-menu-sub {\n color: rgba(255, 255, 255, 0.65);\n background: #001529;\n}\n.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow {\n opacity: 0.45;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n background: #fff;\n}\n.ant-menu-dark.ant-menu-submenu-popup {\n background: transparent;\n}\n.ant-menu-dark .ant-menu-inline.ant-menu-sub {\n background: #000c17;\n -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) inset;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) inset;\n}\n.ant-menu-dark.ant-menu-horizontal {\n border-bottom: 0;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item,\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu {\n top: 0;\n margin-top: 0;\n border-color: #001529;\n border-bottom: 0;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item > a::before {\n bottom: 0;\n}\n.ant-menu-dark .ant-menu-item,\n.ant-menu-dark .ant-menu-item-group-title,\n.ant-menu-dark .ant-menu-item > a {\n color: rgba(255, 255, 255, 0.65);\n}\n.ant-menu-dark.ant-menu-inline,\n.ant-menu-dark.ant-menu-vertical,\n.ant-menu-dark.ant-menu-vertical-left,\n.ant-menu-dark.ant-menu-vertical-right {\n border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical-right .ant-menu-item {\n left: 0;\n margin-left: 0;\n border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical-right .ant-menu-item::after {\n border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item,\n.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {\n width: 100%;\n}\n.ant-menu-dark .ant-menu-item:hover,\n.ant-menu-dark .ant-menu-item-active,\n.ant-menu-dark .ant-menu-submenu-active,\n.ant-menu-dark .ant-menu-submenu-open,\n.ant-menu-dark .ant-menu-submenu-selected,\n.ant-menu-dark .ant-menu-submenu-title:hover {\n color: #fff;\n background-color: transparent;\n}\n.ant-menu-dark .ant-menu-item:hover > a,\n.ant-menu-dark .ant-menu-item-active > a,\n.ant-menu-dark .ant-menu-submenu-active > a,\n.ant-menu-dark .ant-menu-submenu-open > a,\n.ant-menu-dark .ant-menu-submenu-selected > a,\n.ant-menu-dark .ant-menu-submenu-title:hover > a {\n color: #fff;\n}\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow {\n opacity: 1;\n}\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title:hover > .ant-menu-submenu-arrow::before {\n background: #fff;\n}\n.ant-menu-dark .ant-menu-item:hover {\n background-color: transparent;\n}\n.ant-menu-dark .ant-menu-item-selected {\n color: #fff;\n border-right: 0;\n}\n.ant-menu-dark .ant-menu-item-selected::after {\n border-right: 0;\n}\n.ant-menu-dark .ant-menu-item-selected > a,\n.ant-menu-dark .ant-menu-item-selected > a:hover {\n color: #fff;\n}\n.ant-menu-dark .ant-menu-item-selected .anticon {\n color: #fff;\n}\n.ant-menu-dark .ant-menu-item-selected .anticon + span {\n color: #fff;\n}\n.ant-menu.ant-menu-dark .ant-menu-item-selected,\n.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {\n background-color: #1890ff;\n}\n.ant-menu-dark .ant-menu-item-disabled,\n.ant-menu-dark .ant-menu-submenu-disabled,\n.ant-menu-dark .ant-menu-item-disabled > a,\n.ant-menu-dark .ant-menu-submenu-disabled > a {\n color: rgba(255, 255, 255, 0.35) !important;\n opacity: 0.8;\n}\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title {\n color: rgba(255, 255, 255, 0.35) !important;\n}\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n background: rgba(255, 255, 255, 0.35) !important;\n}\n"],"sourceRoot":""}]);
|
|
|
|
|
|
// exports
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1513:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
|
|
|
|
// load the styles
|
|
|
var content = __webpack_require__(1539);
|
|
|
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
|
// Prepare cssTransformation
|
|
|
var transform;
|
|
|
|
|
|
var options = {"hmr":false}
|
|
|
options.transform = transform
|
|
|
// add the styles to the DOM
|
|
|
var update = __webpack_require__(313)(content, options);
|
|
|
if(content.locals) module.exports = content.locals;
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1539:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
exports = module.exports = __webpack_require__(312)(true);
|
|
|
// imports
|
|
|
|
|
|
|
|
|
// module
|
|
|
exports.push([module.i, ".topWrapper{padding:20px 0;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #eee;-ms-flex-wrap:wrap;flex-wrap:wrap}.detail_p,.topWrapper,.topWrapper_nav{display:-ms-flexbox;display:flex}.detail_right{-ms-flex-positive:1;flex-grow:1;text-align:right}.commit_p{font-size:12px;padding-top:10px;padding-left:5px}.ul_width{width:100%}.a_btn{border-radius:4px;padding:0 12px;margin-right:15px;line-height:30px}.cancel_btn{border:1px solid #e6e6e6;color:#333!important}.delete_btn{border:1px solid red;color:red!important}.cancel_btn:hover{background:#e6e6e6}.Closeor_btn{border:1px solid red;color:red;height:32px;text-align:center;border-radius:4px;padding:0 12px;margin-right:15px;line-height:32px}.rectangle{width:8px;height:8px;border-radius:100%;margin-top:15px;margin-left:-4px;margin-bottom:10px;background:green}.order_line{display:-ms-flexbox;display:flex;height:32px;margin:auto;border-left:1px solid #eee}.comment_img{height:25px;width:25px;margin-top:5px;border-radius:100%}.topWrapper_nav a,.topWrapper_nav span{border:1px solid #f4f4f4;border-radius:5px 0 0 5px;height:34px;line-height:34px;text-align:center;padding:0 10px;display:block;cursor:pointer}.topWrapper_nav a:hover{background:#f4f4f4}.topWrapper_nav a:last-child,.topWrapper_nav span:last-child{border-left:none;border-radius:0 5px 5px 0}.topWrapper_btn{background:#21ba45;color:#fff!important;padding:0 12px;text-align:center;height:32px;line-height:32px;border-radius:4px}.topWrapper_type{border:1px solid #f4f4f4;border-radius:6px;display:-ms-flexbox;display:flex}.topWrapper_type li{height:30px;line-height:30px;border-left:1px solid #f4f4f4;padding:0 8px;cursor:pointer;color:#666}.topWrapper_type li.active{color:#4cacff}.topWrapper_type li:first-child{border-left:none}.topWrapper_select{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}.topWrapper .ant-btn.ant-input-search-button{height:30px}.topWrapper_select li{cursor:pointer;color:#666;width:90px;text-align:center;display:inline-block;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.topWrapper_select li:active{background:#f4f4f4;border-radius:4px}.ant-dropdown-menu .ant-dropdown-menu-item{text-align:center;padding:6px 30px;cursor:pointer}.issueItem{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:center;align-content:center;border-bottom:1px dashed #f4f4f4;padding:16px 0}.issueItem:first-child{border-top:1px dashed #f4f4f4}.issueNo{padding:0 5px;border-radius:4px;background:#f4f4f4;display:block;margin-right:8px;color:#666;height:30px;line-height:30px}.margin_detail{margin-left:15px;margin-right:15px}.user_img{height:49px;width:49px;border-radius:100%}.new_context{-ms-flex:1 1;flex:1 1;border:1px solid #f4f4f4;border-radius:4px;margin-left:15px;padding:15px;position:relative;background:#fff}.new_context:before{border:solid transparent;border-right-color:#f4f4f4;border-width:9px;top:12px}.new_context:after,.new_context:before{position:absolute;content:\"\";height:0;width:0;right:100%}.new_context:after{border:solid transparent;border-right-color:#fff;border-width:7px;top:14px}.list-l-panel{border:1px solid #f4f4f4;border-radius:4px;padding:10px 15px}.list-l-panel .ant-row{margin-bottom:0}.editingsheet{background:#fff;color:#21ba45!important;padding:0 12px;text-align:center;height:32px;line-height:32px}.opendetail{background:#21ba45}.closedetail,.opendetail{display:inline-block;color:#fff!important;padding:0 12px;text-align:center;height:32px;border-radius:4px;line-height:32px}.closedetail{background:#e60b0b}.commenttitle{color:#21ba45!important}.topWrapper_detali{display:-ms-flexbox;display:flex;background-color:#eee;-ms-flex-align:center;align-items:center}.towwrapper_img_detali{display:-ms-flexbox;display:flex;padding-left:80px;margin-left:80px;margin-right:20px;border:1px solid #4cacff}.div_line{width:100%;border:10px solid #4cacff}.list_img{height:145px;padding:15px;width:145px}.detail_context{-ms-flex:1 1;flex:1 1;border:1px solid #f4f4f4;margin-left:15px;padding:10px;position:relative;background:#fff;border-radius:4px}.detail_context:before{border:solid transparent;border-right-color:#f4f4f4;border-width:9px;top:12px}.detail_context:after,.detail_context:before{position:absolute;content:\"\";height:0;width:0;right:100%}.detail_context:after{border:solid transparent;border-right-color:#fff;border-width:7px;top:14px}.tagList>div{border-bottom:1px dashed #f4f4f4;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around;padding:15px 0}.divwidth{width:74%}.listTowItems{width:80%;padding-left:80px}.detail_ptitlecount{padding:15px}.tagList>div:last-child{border-bottom:none}.mr10{margin-right:10px}.text-right{text-align:right}.tagColor{display:inline-block;width:20px;height:15px;border-radius:4px;margin-right:5px;vertical-align:middle}.milepostdiv,.milepostwidth{display:-ms-flexbox;display:flex}.milepostwidth{width:60%}.mileposwidth{background:#21ba45;border-radius:4px;width:40%}.milepostrighe{width:85%;height:20px}.milepostleft,.milepostrighe{display:-ms-flexbox;display:flex}.milepostleft{text-align:right;-ms-flex-pack:right;justify-content:right;width:15%}.textwidth{display:-ms-flexbox;display:flex;width:100%}.newmilepostleft{padding:15px;margin-right:50px;width:60%}.newmilepostrighe{margin-left:50px;padding:15px;width:30%}.detailContent{padding:15px 0;border-bottom:1px solid #f4f4f4}.DetailRight{padding:10px 15px;border:1px solid #f4f4f4;border-radius:4px}.DetailRight>p{height:30px;line-height:30px}.inptwidth{width:20%}.inputcount{width:40%}.tagdiv{padding:15px;height:75px;border:1px solid #eee}.dialogdiv,.tagdiv{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialogdiv{padding:5px;height:45px}.issue-tag-show{padding:3px 8px;color:#fff;border-radius:6px}.span_title{min-width:90px;margin-right:15px;text-align:right;color:rgba(0,0,0,.65)}.target-detail-search .ant-input-group-addon{border:none!important}.target-detail-search .ant-input-search-button{height:32px!important}a.issue-type-button.active{background:#4cacff;color:#fff}a.issue-type-button.active:hover{background:#f4f4f4;color:#4cacff}@media screen and (max-width:700px){.topWrapper_select li{width:auto}}.ml10{margin-left:10px}.lineH32{line-height:32px}.lineH40{line-height:40px}.item-list-right{width:74%;padding:10px 15px 10px 0}.detail_edit_action{padding:10px;color:#999;cursor:pointer;line-height:40px}.attachmentsList{margin-left:4px}.paper-clip-color{color:#29bd8b!important}.attachment-list-delete{display:none}.attachment-list-div:hover{background-color:#e6f7ff}.attachment-list-div:hover .attachment-list-delete{display:block!important}.attachment-list-a{color:rgba(0,0,0,.65)!important}.btp1{border-top:1px solid #f4f4f4}", "", {"version":3,"sources":["/Users/hs/edu/educoder/public/react/src/forge/Order/order.css"],"names":[],"mappings":"AAAA,YACE,eAAgB,AAChB,8BAA+B,AACvB,sBAAuB,AAG/B,sBAAuB,AACnB,8BAA+B,AACnC,6BAAiC,AACjC,mBAAoB,AAChB,cAAgB,CACrB,AAMD,sCACE,oBAAqB,AACrB,YAAc,CAKf,AAED,cAEE,oBAAqB,AACjB,YAAa,AACjB,gBAAkB,CAInB,AACD,UACE,eAAgB,AAChB,iBAAkB,AAClB,gBAAkB,CACnB,AAED,UACE,UAAY,CACb,AACD,OACE,kBAAkB,AAClB,eAAe,AACf,kBAAmB,AACnB,gBAAkB,CACnB,AACD,YACE,yBAAyB,AACzB,oBAAuB,CACxB,AACD,YACE,qBAAqB,AACrB,mBAAsB,CACvB,AACD,kBAAkB,kBAAmB,CAAC,AACtC,aACE,qBAAqB,AACrB,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,kBAAkB,AAClB,eAAiB,AACjB,kBAAmB,AACnB,gBAAkB,CAEnB,AACD,WACG,UAAW,AACX,WAAY,AACZ,mBAAoB,AACpB,gBAAiB,AACjB,iBAAkB,AAClB,mBAAoB,AACpB,gBAAkB,CACjB,AACF,YACE,oBAAqB,AACrB,aAAc,AACd,YAAa,AACb,YAAa,AACb,0BAA2B,CAC3B,AACD,aACC,YAAa,AACb,WAAY,AACZ,eAAgB,AAChB,kBAAoB,CACpB,AAEJ,uCACE,yBAAyB,AACzB,0BAA+B,AAC/B,YAAa,AACb,iBAAkB,AAClB,kBAAmB,AACnB,eAAiB,AACjB,cAAe,AACf,cAAgB,CACjB,AACD,wBACE,kBAAoB,CACrB,AACD,6DACE,iBAAkB,AAClB,yBAA+B,CAChC,AACD,gBACE,mBAAoB,AACpB,qBAAyB,AACzB,eAAiB,AACjB,kBAAmB,AACnB,YAAa,AACb,iBAAkB,AAClB,iBAAmB,CACpB,AACD,iBACE,yBAAyB,AACzB,kBAAmB,AACnB,oBAAqB,AACrB,YAAc,CACf,AACD,oBACE,YAAa,AACb,iBAAkB,AAClB,8BAA8B,AAC9B,cAAgB,AAChB,eAAgB,AAChB,UAAW,CACZ,AACD,2BACE,aAAe,CAChB,AACD,gCACE,gBAAkB,CACnB,AACD,mBACE,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,eAAgB,AACpB,sBAAuB,AACnB,kBAAoB,CACzB,AACD,6CACE,WAAa,CACd,AACD,sBAEE,eAAgB,AAChB,WAAY,AACZ,WAAW,AACX,kBAAmB,AACnB,qBAAsB,AACtB,gBAAiB,AACjB,mBAAoB,AACpB,0BAA2B,AAC3B,sBAAwB,CACzB,AACD,6BACE,mBAAoB,AACpB,iBAAmB,CACpB,AACD,2CACE,kBAAmB,AACnB,iBAAiB,AACjB,cAAgB,CACjB,AACD,WACE,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,eAAgB,AACpB,0BAA2B,AACvB,qBAAsB,AAC1B,iCAAiC,AACjC,cAAiB,CAClB,AACD,uBACE,6BAA8B,CAC/B,AACD,SACE,cAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,cAAe,AACf,iBAAkB,AAClB,WAAW,AACX,YAAa,AACb,gBAAkB,CACnB,AAED,eACE,iBAAkB,AAClB,iBAAmB,CACpB,AAGD,UACE,YAAa,AACb,WAAY,AACZ,kBAAoB,CACrB,AACD,aACE,aAAc,AACV,SAAU,AACd,yBAA0B,AAC1B,kBAAmB,AACnB,iBAAkB,AAClB,aAAc,AACd,kBAAmB,AACnB,eAAoB,CACrB,AACD,oBAKE,yBAA0B,AAC1B,2BAA4B,AAC5B,iBAAkB,AAClB,QAAU,CAEX,AACD,uCAVE,kBAAmB,AACnB,WAAY,AACZ,SAAU,AACV,QAAS,AAKT,UAAY,CAYb,AAVD,mBAKE,yBAA0B,AAC1B,wBAAyB,AACzB,iBAAkB,AAClB,QAAU,CAEX,AACD,cACE,yBAAyB,AACzB,kBAAmB,AACnB,iBAAkB,CACnB,AACD,uBACE,eAAmB,CACpB,AAGA,cACC,gBAAoB,AACpB,wBAAyB,AACzB,eAAiB,AACjB,kBAAmB,AACnB,YAAa,AACb,gBAAkB,CACnB,AAED,YAEE,kBAAoB,CAQrB,AACD,yBAVE,qBAAsB,AAEtB,qBAAyB,AACzB,eAAiB,AACjB,kBAAmB,AACnB,YAAa,AAEb,kBAAmB,AACnB,gBAAkB,CAYnB,AAVD,aAEE,kBAAoB,CAQrB,AAED,cACE,uBAAyB,CAC1B,AAED,mBACE,oBAAqB,AACrB,aAAc,AAEd,sBAAuB,AACvB,sBAAuB,AACnB,kBAAoB,CACzB,AACD,uBACE,oBAAqB,AACrB,aAAc,AACd,kBAAmB,AACnB,iBAAkB,AAClB,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,UACE,WAAY,AACZ,yBAA2B,CAE5B,AACD,UACE,aAAc,AACd,aAAc,AACd,WAAa,CACd,AAED,gBACE,aAAc,AACV,SAAU,AACd,yBAA0B,AAC1B,iBAAkB,AAClB,aAAc,AAId,kBAAmB,AACnB,gBAAoB,AACpB,iBAAmB,CACpB,AACD,uBAKE,yBAA0B,AAC1B,2BAA4B,AAC5B,iBAAkB,AAClB,QAAU,CAEX,AACD,6CAVE,kBAAmB,AACnB,WAAY,AACZ,SAAU,AACV,QAAS,AAKT,UAAY,CAYb,AAVD,sBAKE,yBAA0B,AAC1B,wBAAyB,AACzB,iBAAkB,AAClB,QAAU,CAEX,AAED,aACE,iCAAkC,AAClC,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,6BAA8B,AAClC,cAAiB,CAClB,AACD,UACE,SAAW,CACZ,AACD,cACE,UAAW,AACX,iBAAmB,CACpB,AACD,oBACE,YAAc,CACf,AAED,wBACE,kBAAoB,CACrB,AACD,MAAM,iBAAmB,CAAC,AAC1B,YAAY,gBAAkB,CAAC,AAO/B,UACE,qBAAsB,AACtB,WAAW,AACX,YAAa,AACb,kBAAmB,AACnB,iBAAkB,AAClB,qBAAuB,CACxB,AAOD,4BAHE,oBAAqB,AACrB,YAAc,CAMf,AAJD,eAGE,SAAW,CACZ,AACD,cACE,mBAAoB,AACpB,kBAAmB,AACnB,SAAW,CACZ,AACD,eAGE,UAAW,AACX,WAAa,CACd,AACD,6BALE,oBAAqB,AACrB,YAAc,CAWf,AAPD,cACE,iBAAkB,AAGlB,oBAAqB,AACjB,sBAAuB,AAC3B,SAAW,CACZ,AACD,WACE,oBAAqB,AACrB,aAAc,AACd,UAAY,CACb,AACD,iBACE,aAAc,AACd,kBAAmB,AACnB,SAAW,CACZ,AACD,kBACE,iBAAkB,AAClB,aAAc,AACd,SAAW,CACZ,AAED,eACE,eAAiB,AACjB,+BAAiC,CAClC,AACD,aACE,kBAAmB,AACnB,yBAAyB,AACzB,iBAAmB,CACpB,AACD,eACE,YAAa,AACb,gBAAiB,CAClB,AACD,WACE,SAAW,CACZ,AACD,YACE,SAAW,CACZ,AAED,QACE,aAAc,AACd,YAAa,AAOb,qBAA0B,CAG3B,AAED,mBAXE,8BAA+B,AACvB,sBAAuB,AAC/B,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACnB,8BAA+B,AAEnC,mBAAoB,AAChB,cAAgB,CAcrB,AAXD,WACE,YAAa,AACb,WAAa,CASd,AACD,gBAAgB,gBAAiB,AAAC,WAAY,AAAC,iBAAmB,CAAC,AAOnE,YACE,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,qBAA2B,CAC5B,AACD,6CAA6C,qBAAwB,CAAC,AACtE,+CAA+C,qBAAwB,CAAC,AACxE,2BAA2B,mBAAoB,AAAC,UAAY,CAAC,AAC7D,iCAAiC,mBAAoB,AAAC,aAAe,CAAC,AACtE,oCACE,sBACE,UAAW,CACZ,CACF,AACD,MAAM,gBAAkB,CAAC,AACzB,SAAS,gBAAkB,CAAC,AAC5B,SAAS,gBAAkB,CAAC,AAC5B,iBAAiB,UAAW,AAAC,wBAAyB,CAAC,AACvD,oBAAoB,aAAa,AAAC,WAAY,AAAC,eAAgB,AAAC,gBAAkB,CAAC,AACnF,iBACE,eAAgB,CACjB,AACD,kBAAkB,uBAAwB,CAAC,AAC3C,wBAAwB,YAAc,CAAC,AACvC,2BAA2B,wBAA0B,CAAC,AACtD,mDAAmD,uBAA0B,CAAC,AAC9E,mBAAmB,+BAAsC,CAAC,AAC1D,MAAM,4BAA8B,CAAC","file":"order.css","sourcesContent":[".topWrapper {\n padding: 20px 0;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n border-bottom: 1px solid #EEEEEE;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.topWrapper_nav{\n display: -ms-flexbox;\n display: flex;\n\n}\n.detail_p{\n display: -ms-flexbox;\n display: flex;\n /*padding:10px;*/\n /*width: 80%;*/\n /*padding-left: 15px;*/\n /*margin: auto;*/\n}\n\n.detail_right{\n /*display: flex;*/\n -ms-flex-positive: 1;\n flex-grow: 1;\n text-align: right;\n /*width: 15%;*/\n /*padding-left: 15px;*/\n /*margin: auto; */\n}\n.commit_p{\n font-size: 12px;\n padding-top: 10px;\n padding-left: 5px;\n}\n\n.ul_width{\n width: 100%;\n}\n.a_btn{\n border-radius:4px;\n padding:0 12px;\n margin-right: 15px;\n line-height: 30px;\n}\n.cancel_btn{\n border:1px solid #e6e6e6;\n color: #333 !important;\n}\n.delete_btn{\n border:1px solid red;\n color: red !important;\n}\n.cancel_btn:hover{background: #e6e6e6}\n.Closeor_btn{\n border:1px solid red;\n color: red;\n height: 32px;\n text-align: center;\n border-radius:4px;\n padding:0px 12px;\n margin-right: 15px;\n line-height: 32px;\n\n}\n.rectangle {\n width: 8px;\n height: 8px;\n border-radius: 100%;\n margin-top: 15px;\n margin-left: -4px;\n margin-bottom: 10px;\n background: green;\n }\n .order_line{\n display: -ms-flexbox;\n display: flex;\n height: 32px;\n margin: auto;\n border-left:1px solid #eee;\n }\n .comment_img{\n height: 25px;\n width: 25px;\n margin-top: 5px;\n border-radius: 100%;\n }\n\n.topWrapper_nav a,.topWrapper_nav span{\n border:1px solid #f4f4f4;\n border-radius: 5px 0px 0px 5px;\n height: 34px;\n line-height: 34px;\n text-align: center;\n padding:0px 10px;\n display: block;\n cursor: pointer;\n}\n.topWrapper_nav a:hover{\n background: #f4f4f4;\n}\n.topWrapper_nav a:last-child,.topWrapper_nav span:last-child{\n border-left: none;\n border-radius: 0px 5px 5px 0px;\n}\n.topWrapper_btn {\n background: #21ba45;\n color: #FFFFFF!important;\n padding:0px 12px;\n text-align: center;\n height: 32px;\n line-height: 32px;\n border-radius: 4px;\n}\n.topWrapper_type{\n border:1px solid #f4f4f4;\n border-radius: 6px;\n display: -ms-flexbox;\n display: flex;\n}\n.topWrapper_type li{\n height: 30px;\n line-height: 30px;\n border-left:1px solid #f4f4f4;\n padding:0px 8px;\n cursor: pointer;\n color: #666\n}\n.topWrapper_type li.active{\n color: #4CACFF;\n}\n.topWrapper_type li:first-child{\n border-left: none;\n}\n.topWrapper_select{\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n}\n.topWrapper .ant-btn.ant-input-search-button{\n height: 30px;\n}\n.topWrapper_select li{\n text-align: center;\n cursor: pointer;\n color: #666;\n width:90px;\n text-align: center;\n display: inline-block;\n overflow: hidden;\n white-space: nowrap;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.topWrapper_select li:active{\n background: #f4f4f4;\n border-radius: 4px;\n}\n.ant-dropdown-menu .ant-dropdown-menu-item{\n text-align: center;\n padding:6px 30px;\n cursor: pointer;\n}\n.issueItem{\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-line-pack: center;\n align-content: center;\n border-bottom:1px dashed #f4f4f4;\n padding:16px 0px;\n}\n.issueItem:first-child{\n border-top:1px dashed #f4f4f4;\n}\n.issueNo{\n padding:0px 5px;\n border-radius: 4px;\n background: #f4f4f4;\n display: block;\n margin-right: 8px;\n color:#666;\n height: 30px;\n line-height: 30px;\n}\n\n.margin_detail{\n margin-left: 15px;\n margin-right: 15px;\n}\n\n/* 新建 */\n.user_img {\n height: 49px;\n width: 49px;\n border-radius: 100%;\n}\n.new_context {\n -ms-flex: 1 1;\n flex: 1 1;\n border: 1px solid #f4f4f4;\n border-radius: 4px;\n margin-left: 15px;\n padding: 15px;\n position: relative;\n background: #FFFFFF;\n}\n.new_context:before {\n position: absolute;\n content: \"\";\n height: 0;\n width: 0;\n border: solid transparent;\n border-right-color: #f4f4f4;\n border-width: 9px;\n top: 12px;\n right: 100%;\n}\n.new_context::after {\n position: absolute;\n content: \"\";\n height: 0;\n width: 0;\n border: solid transparent;\n border-right-color: #fff;\n border-width: 7px;\n top: 14px;\n right: 100%;\n}\n.list-l-panel{\n border:1px solid #f4f4f4;\n border-radius: 4px;\n padding:10px 15px;\n}\n.list-l-panel .ant-row{\n margin-bottom: 0px;\n}\n\n /*编辑工单*/\n .editingsheet{\n background: #ffffff;\n color: #21ba45!important;\n padding:0px 12px;\n text-align: center;\n height: 32px;\n line-height: 32px;\n}\n/*开启中 关闭中*/\n.opendetail{\n display: inline-block;\n background: #21ba45;\n color: #ffffff!important;\n padding:0px 12px;\n text-align: center;\n height: 32px;\n /*width: 110px;*/\n border-radius: 4px;\n line-height: 32px;\n}\n.closedetail{\n display: inline-block;\n background: #e60b0b;\n color: #ffffff!important;\n padding:0px 12px;\n text-align: center;\n height: 32px;\n /*width: 110px;*/\n border-radius: 4px;\n line-height: 32px;\n}\n\n.commenttitle{\n color: #21ba45!important;\n}\n\n.topWrapper_detali{\n display: -ms-flexbox;\n display: flex;\n /*height: 35px;*/\n background-color: #eee;\n -ms-flex-align: center;\n align-items: center;\n}\n.towwrapper_img_detali{\n display: -ms-flexbox;\n display: flex;\n padding-left: 80px;\n margin-left: 80px;\n margin-right: 20px;\n border: 1px solid #4CACFF;\n}\n.div_line{\n width: 100%;\n border: 10px solid #4CACFF;\n \n}\n.list_img{\n height: 145px;\n padding: 15px;\n width: 145px;\n}\n\n.detail_context {\n -ms-flex: 1 1;\n flex: 1 1;\n border: 1px solid #f4f4f4;\n margin-left: 15px;\n padding: 10px;\n /*padding-top: 0px;*/\n /*padding-left: 0px;*/\n /*margin-right: 15px;*/\n position: relative;\n background: #FFFFFF;\n border-radius: 4px;\n}\n.detail_context:before {\n position: absolute;\n content: \"\";\n height: 0;\n width: 0;\n border: solid transparent;\n border-right-color: #f4f4f4;\n border-width: 9px;\n top: 12px;\n right: 100%;\n}\n.detail_context::after {\n position: absolute;\n content: \"\";\n height: 0;\n width: 0;\n border: solid transparent;\n border-right-color: #fff;\n border-width: 7px;\n top: 14px;\n right: 100%;\n}\n/* 工单标签列表 */\n.tagList > div{\n border-bottom: 1px dashed #f4f4f4;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: distribute;\n justify-content: space-around;\n padding:15px 0px;\n}\n.divwidth{\n width: 74%;\n}\n.listTowItems{\n width: 80%;\n padding-left: 80px;\n}\n.detail_ptitlecount{\n padding: 15px;\n}\n\n.tagList > div:last-child{\n border-bottom: none;\n}\n.mr10{margin-right: 10px;}\n.text-right{text-align: right;}\n/*.tagList > div > span{*/\n /*display: block*/\n/*}*/\n/*.tagList > div > span:nth-child(2){*/\n /*width: 450px;*/\n/*}*/\n.tagColor{\n display: inline-block;\n width:20px;\n height: 15px;\n border-radius: 4px;\n margin-right: 5px;\n vertical-align: middle;\n}\n\n/*里程碑*/\n.milepostdiv{\n display: -ms-flexbox;\n display: flex;\n}\n.milepostwidth{\n display: -ms-flexbox;\n display: flex;\n width: 60%;\n}\n.mileposwidth{\n background: #21ba45;\n border-radius: 4px;\n width: 40%;\n}\n.milepostrighe{\n display: -ms-flexbox;\n display: flex;\n width: 85%;\n height: 20px;\n}\n.milepostleft{\n text-align: right;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: right;\n justify-content: right;\n width: 15%;\n}\n.textwidth{\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n}\n.newmilepostleft{\n padding: 15px;\n margin-right: 50px;\n width: 60%;\n}\n.newmilepostrighe{\n margin-left: 50px;\n padding: 15px;\n width: 30%;\n}\n/* 工单详情 */\n.detailContent{\n padding:15px 0px;\n border-bottom: 1px solid #f4f4f4;\n}\n.DetailRight{\n padding: 10px 15px; \n border:1px solid #f4f4f4;\n border-radius: 4px;\n}\n.DetailRight > p{\n height: 30px;\n line-height:30px;\n}\n.inptwidth{\n width: 20%;\n}\n.inputcount{\n width: 40%;\n}\n\n.tagdiv{\n padding: 15px;\n height: 75px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n border: 1px solid #EEEEEE;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n\n.dialogdiv{\n padding: 5px;\n height: 45px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.issue-tag-show{padding: 3px 8px; color: #fff; border-radius: 6px;}\n\n/*.DetailRight > p >span:nth-child(1){*/\n /*min-width: 90px;*/\n /*margin-right: 15px;*/\n /*text-align: right;*/\n/*}*/\n.span_title{\n min-width: 90px;\n margin-right: 15px;\n text-align: right;\n color: rgba(0, 0, 0, 0.65);\n}\n.target-detail-search .ant-input-group-addon{border: none !important;}\n.target-detail-search .ant-input-search-button{height: 32px !important;}\na.issue-type-button.active{background: #4CACFF; color: #fff;}\na.issue-type-button.active:hover{background: #f4f4f4; color: #4CACFF;}\n@media screen and (max-width: 700px){\n .topWrapper_select li{\n width:auto;\n }\n}\n.ml10{margin-left: 10px;}\n.lineH32{line-height: 32px;}\n.lineH40{line-height: 40px;}\n.item-list-right{width: 74%; padding: 10px 15px 10px 0}\n.detail_edit_action{padding:10px; color: #999; cursor: pointer; line-height: 40px;}\n.attachmentsList{\n margin-left:4px;\n}\n.paper-clip-color{color:#29bd8b !important}\n.attachment-list-delete{display: none;}\n.attachment-list-div:hover{background-color: #e6f7ff;}\n.attachment-list-div:hover .attachment-list-delete{display: block !important;}\n.attachment-list-a{color: rgba(0, 0, 0, 0.65) !important;}\n.btp1{border-top: 1px solid #f4f4f4;}"],"sourceRoot":""}]);
|
|
|
|
|
|
// exports
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 1565:
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router_dom__ = __webpack_require__(44);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__order_css__ = __webpack_require__(1513);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__order_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__order_css__);
|
|
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var Nav=function(_Component){_inherits(Nav,_Component);function Nav(props){_classCallCheck(this,Nav);var _this=_possibleConstructorReturn(this,(Nav.__proto__||Object.getPrototypeOf(Nav)).call(this,props));_this.state={projectTag:undefined};return _this;}_createClass(Nav,[{key:'render',value:function render(){var projectsId=this.props.match.params.projectsId;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'topWrapper_nav'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["c" /* NavLink */],{activeClassName:'active',className:'issue-type-button',to:'/projects/'+projectsId+'/orders/tags'},'\u6807\u7B7E'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["c" /* NavLink */],{activeClassName:'active',className:'issue-type-button',to:'/projects/'+projectsId+'/orders/Milepost'},'\u91CC\u7A0B\u7891'));}}]);return Nav;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (Nav);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 4789:
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__ = __webpack_require__(993);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_menu_style_css__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_menu__ = __webpack_require__(924);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_input_style_css__ = __webpack_require__(68);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_antd_lib_input_style_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_input_style_css__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_input__ = __webpack_require__(69);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_input__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react__ = __webpack_require__(0);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_router_dom__ = __webpack_require__(44);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__modules_courses_coursesPublic_NoneData__ = __webpack_require__(328);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Order_Nav__ = __webpack_require__(1565);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__VersionItem__ = __webpack_require__(4790);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_axios__ = __webpack_require__(15);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_axios__);
|
|
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var Search=__WEBPACK_IMPORTED_MODULE_3_antd_lib_input___default.a.Search;/**
|
|
|
* issue_chosen:下拉的筛选列表,
|
|
|
* data:列表接口返回的所有数据,
|
|
|
* issues:列表数组,
|
|
|
* isSpin:加载中,
|
|
|
* search:搜索关键字,
|
|
|
* author_id:发布者id,
|
|
|
* assigned_to_id:指派给。。。的id,
|
|
|
* limit:每页条数,
|
|
|
* page:当前页,
|
|
|
* search_count:列表总条数
|
|
|
* issue_type:搜索条件
|
|
|
*/var version=function(_Component){_inherits(version,_Component);function version(props){_classCallCheck(this,version);var _this=_possibleConstructorReturn(this,(version.__proto__||Object.getPrototypeOf(version)).call(this,props));_this.componentDidMount=function(){_this.getSelectList();_this.getIssueList();};_this.getSelectList=function(){var projectsId=_this.props.match.params.projectsId;var url='/projects/'+projectsId+'/issues/index_chosen.json';__WEBPACK_IMPORTED_MODULE_9_axios___default.a.get(url).then(function(result){if(result){_this.setState({issue_chosen:result.data.issue_chosen});}}).catch(function(error){console.log(error);});};_this.getIssueList=function(page,limit,search,author_id,assigned_to_id,id,value){var projectsId=_this.props.match.params.projectsId;var url='/projects/'+projectsId+'/issues.json';__WEBPACK_IMPORTED_MODULE_9_axios___default.a.get(url,{params:_defineProperty({page:page,limit:limit,search:search,author_id:author_id,assigned_to_id:assigned_to_id},id,value)}).then(function(result){if(result){_this.setState({data:result.data,issues:result.data.issues,search_count:result.data.search_count,isSpin:false});}}).catch(function(error){console.log(error);});};_this.getOption=function(e,id){_this.setState(_defineProperty({},id,e.key));var _this$state=_this.state,page=_this$state.page,limit=_this$state.limit,search=_this$state.search,author_id=_this$state.author_id,assigned_to_id=_this$state.assigned_to_id;_this.getIssueList(page,limit,search,author_id,assigned_to_id,id,e.key);};_this.renderMenu=function(array,name,id){return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a,null,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,{key:undefined,onClick:function onClick(e){return _this.getOption(e,id);}},name),array&&array.length>0&&array.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,{key:item.id,onClick:function onClick(e){return _this.getOption(e,id);}},item.name);}));};_this.ChangePage=function(page){_this.setState({page:page,isSpin:true});var _this$state2=_this.state,limit=_this$state2.limit,search=_this$state2.search;_this.getIssueList(page,limit,search);};_this.searchFunc=function(value){_this.setState({search:value,isSpin:true});var _this$state3=_this.state,page=_this$state3.page,limit=_this$state3.limit;_this.getIssueList(page,limit,value);};_this.ChangeAssign=function(type){var _this$state4=_this.state,limit=_this$state4.limit,search=_this$state4.search;_this.setState({isSpin:true});if(type){var current_user=_this.props.current_user;if(type===1){_this.setState({page:1,author_id:current_user.user_id,assigned_to_id:undefined});_this.getIssueList(1,limit,search,current_user.user_id,undefined);}else{_this.setState({page:1,author_id:undefined,assigned_to_id:current_user.user_id});_this.getIssueList(1,limit,search,undefined,current_user.user_id);}}else{_this.setState({page:1,author_id:undefined,assigned_to_id:undefined});_this.getIssueList(1,limit,search,undefined,undefined);}};_this.state={issue_chosen:undefined,data:undefined,issues:undefined,isSpin:false,search:undefined,author_id:undefined,assigned_to_id:undefined,limit:15,page:1,search_count:undefined,issue_type:undefined};return _this;}// 获取列表数据
|
|
|
// 翻页
|
|
|
// 搜索
|
|
|
// 筛选:全部、指派给我、由我创建
|
|
|
_createClass(version,[{key:'render',value:function render(){var projectsId=this.props.match.params.projectsId;return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'main'},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',{className:'topWrapper'},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('h1',null,'\u7248\u672C\u53D1\u5E03'),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_react_router_dom__["b" /* Link */],{to:'/projects/'+projectsId+'/version/new',className:'topWrapper_btn'},'\u53D1\u5E03\u65B0\u7248')),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement('div',null,'1 1 1 1 1',__WEBPACK_IMPORTED_MODULE_8__VersionItem__["a" /* default */]));}}]);return version;}(__WEBPACK_IMPORTED_MODULE_4_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (version);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 4790:
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);
|
|
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_router_dom__ = __webpack_require__(44);
|
|
|
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var VersionItem=function(_Component){_inherits(VersionItem,_Component);function VersionItem(){_classCallCheck(this,VersionItem);return _possibleConstructorReturn(this,(VersionItem.__proto__||Object.getPrototypeOf(VersionItem)).apply(this,arguments));}_createClass(VersionItem,[{key:'render',value:function render(){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,'1111111111');}}]);return VersionItem;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["a"] = (VersionItem);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 890:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = void 0;
|
|
|
|
|
|
var _createReactContext = _interopRequireDefault(__webpack_require__(316));
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
var MenuContext = (0, _createReactContext["default"])({
|
|
|
inlineCollapsed: false
|
|
|
});
|
|
|
var _default = MenuContext;
|
|
|
exports["default"] = _default;
|
|
|
//# sourceMappingURL=MenuContext.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 907:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = exports.SiderContext = void 0;
|
|
|
|
|
|
var _createReactContext = _interopRequireDefault(__webpack_require__(316));
|
|
|
|
|
|
var React = _interopRequireWildcard(__webpack_require__(0));
|
|
|
|
|
|
var _reactLifecyclesCompat = __webpack_require__(7);
|
|
|
|
|
|
var _classnames = _interopRequireDefault(__webpack_require__(3));
|
|
|
|
|
|
var _omit = _interopRequireDefault(__webpack_require__(43));
|
|
|
|
|
|
var _layout = __webpack_require__(996);
|
|
|
|
|
|
var _configProvider = __webpack_require__(12);
|
|
|
|
|
|
var _icon = _interopRequireDefault(__webpack_require__(26));
|
|
|
|
|
|
var _isNumeric = _interopRequireDefault(__webpack_require__(1016));
|
|
|
|
|
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
|
|
|
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
|
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
|
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
|
|
|
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
|
|
|
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
|
|
|
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
|
|
|
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
|
|
|
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
var t = {};
|
|
|
|
|
|
for (var p in s) {
|
|
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
|
}
|
|
|
|
|
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
|
}
|
|
|
return t;
|
|
|
};
|
|
|
|
|
|
// matchMedia polyfill for
|
|
|
// https://github.com/WickyNilliams/enquire.js/issues/82
|
|
|
// TODO: Will be removed in antd 4.0 because we will no longer support ie9
|
|
|
if (typeof window !== 'undefined') {
|
|
|
var matchMediaPolyfill = function matchMediaPolyfill(mediaQuery) {
|
|
|
return {
|
|
|
media: mediaQuery,
|
|
|
matches: false,
|
|
|
addListener: function addListener() {},
|
|
|
removeListener: function removeListener() {}
|
|
|
};
|
|
|
}; // ref: https://github.com/ant-design/ant-design/issues/18774
|
|
|
|
|
|
|
|
|
if (!window.matchMedia) window.matchMedia = matchMediaPolyfill;
|
|
|
}
|
|
|
|
|
|
var dimensionMaxMap = {
|
|
|
xs: '479.98px',
|
|
|
sm: '575.98px',
|
|
|
md: '767.98px',
|
|
|
lg: '991.98px',
|
|
|
xl: '1199.98px',
|
|
|
xxl: '1599.98px'
|
|
|
};
|
|
|
var SiderContext = (0, _createReactContext["default"])({});
|
|
|
exports.SiderContext = SiderContext;
|
|
|
|
|
|
var generateId = function () {
|
|
|
var i = 0;
|
|
|
return function () {
|
|
|
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
|
i += 1;
|
|
|
return "".concat(prefix).concat(i);
|
|
|
};
|
|
|
}();
|
|
|
|
|
|
var InternalSider =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component) {
|
|
|
_inherits(InternalSider, _React$Component);
|
|
|
|
|
|
function InternalSider(props) {
|
|
|
var _this;
|
|
|
|
|
|
_classCallCheck(this, InternalSider);
|
|
|
|
|
|
_this = _possibleConstructorReturn(this, _getPrototypeOf(InternalSider).call(this, props));
|
|
|
|
|
|
_this.responsiveHandler = function (mql) {
|
|
|
_this.setState({
|
|
|
below: mql.matches
|
|
|
});
|
|
|
|
|
|
var onBreakpoint = _this.props.onBreakpoint;
|
|
|
|
|
|
if (onBreakpoint) {
|
|
|
onBreakpoint(mql.matches);
|
|
|
}
|
|
|
|
|
|
if (_this.state.collapsed !== mql.matches) {
|
|
|
_this.setCollapsed(mql.matches, 'responsive');
|
|
|
}
|
|
|
};
|
|
|
|
|
|
_this.setCollapsed = function (collapsed, type) {
|
|
|
if (!('collapsed' in _this.props)) {
|
|
|
_this.setState({
|
|
|
collapsed: collapsed
|
|
|
});
|
|
|
}
|
|
|
|
|
|
var onCollapse = _this.props.onCollapse;
|
|
|
|
|
|
if (onCollapse) {
|
|
|
onCollapse(collapsed, type);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
_this.toggle = function () {
|
|
|
var collapsed = !_this.state.collapsed;
|
|
|
|
|
|
_this.setCollapsed(collapsed, 'clickTrigger');
|
|
|
};
|
|
|
|
|
|
_this.belowShowChange = function () {
|
|
|
_this.setState(function (_ref) {
|
|
|
var belowShow = _ref.belowShow;
|
|
|
return {
|
|
|
belowShow: !belowShow
|
|
|
};
|
|
|
});
|
|
|
};
|
|
|
|
|
|
_this.renderSider = function (_ref2) {
|
|
|
var _classNames;
|
|
|
|
|
|
var getPrefixCls = _ref2.getPrefixCls;
|
|
|
|
|
|
var _a = _this.props,
|
|
|
customizePrefixCls = _a.prefixCls,
|
|
|
className = _a.className,
|
|
|
theme = _a.theme,
|
|
|
collapsible = _a.collapsible,
|
|
|
reverseArrow = _a.reverseArrow,
|
|
|
trigger = _a.trigger,
|
|
|
style = _a.style,
|
|
|
width = _a.width,
|
|
|
collapsedWidth = _a.collapsedWidth,
|
|
|
zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,
|
|
|
others = __rest(_a, ["prefixCls", "className", "theme", "collapsible", "reverseArrow", "trigger", "style", "width", "collapsedWidth", "zeroWidthTriggerStyle"]);
|
|
|
|
|
|
var prefixCls = getPrefixCls('layout-sider', customizePrefixCls);
|
|
|
var divProps = (0, _omit["default"])(others, ['collapsed', 'defaultCollapsed', 'onCollapse', 'breakpoint', 'onBreakpoint', 'siderHook', 'zeroWidthTriggerStyle']);
|
|
|
var rawWidth = _this.state.collapsed ? collapsedWidth : width; // use "px" as fallback unit for width
|
|
|
|
|
|
var siderWidth = (0, _isNumeric["default"])(rawWidth) ? "".concat(rawWidth, "px") : String(rawWidth); // special trigger when collapsedWidth == 0
|
|
|
|
|
|
var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? React.createElement("span", {
|
|
|
onClick: _this.toggle,
|
|
|
className: "".concat(prefixCls, "-zero-width-trigger ").concat(prefixCls, "-zero-width-trigger-").concat(reverseArrow ? 'right' : 'left'),
|
|
|
style: zeroWidthTriggerStyle
|
|
|
}, React.createElement(_icon["default"], {
|
|
|
type: "bars"
|
|
|
})) : null;
|
|
|
var iconObj = {
|
|
|
expanded: reverseArrow ? React.createElement(_icon["default"], {
|
|
|
type: "right"
|
|
|
}) : React.createElement(_icon["default"], {
|
|
|
type: "left"
|
|
|
}),
|
|
|
collapsed: reverseArrow ? React.createElement(_icon["default"], {
|
|
|
type: "left"
|
|
|
}) : React.createElement(_icon["default"], {
|
|
|
type: "right"
|
|
|
})
|
|
|
};
|
|
|
var status = _this.state.collapsed ? 'collapsed' : 'expanded';
|
|
|
var defaultTrigger = iconObj[status];
|
|
|
var triggerDom = trigger !== null ? zeroWidthTrigger || React.createElement("div", {
|
|
|
className: "".concat(prefixCls, "-trigger"),
|
|
|
onClick: _this.toggle,
|
|
|
style: {
|
|
|
width: siderWidth
|
|
|
}
|
|
|
}, trigger || defaultTrigger) : null;
|
|
|
|
|
|
var divStyle = _extends(_extends({}, style), {
|
|
|
flex: "0 0 ".concat(siderWidth),
|
|
|
maxWidth: siderWidth,
|
|
|
minWidth: siderWidth,
|
|
|
width: siderWidth
|
|
|
});
|
|
|
|
|
|
var siderCls = (0, _classnames["default"])(className, prefixCls, "".concat(prefixCls, "-").concat(theme), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-collapsed"), !!_this.state.collapsed), _defineProperty(_classNames, "".concat(prefixCls, "-has-trigger"), collapsible && trigger !== null && !zeroWidthTrigger), _defineProperty(_classNames, "".concat(prefixCls, "-below"), !!_this.state.below), _defineProperty(_classNames, "".concat(prefixCls, "-zero-width"), parseFloat(siderWidth) === 0), _classNames));
|
|
|
return React.createElement("aside", _extends({
|
|
|
className: siderCls
|
|
|
}, divProps, {
|
|
|
style: divStyle
|
|
|
}), React.createElement("div", {
|
|
|
className: "".concat(prefixCls, "-children")
|
|
|
}, _this.props.children), collapsible || _this.state.below && zeroWidthTrigger ? triggerDom : null);
|
|
|
};
|
|
|
|
|
|
_this.uniqueId = generateId('ant-sider-');
|
|
|
var matchMedia;
|
|
|
|
|
|
if (typeof window !== 'undefined') {
|
|
|
matchMedia = window.matchMedia;
|
|
|
}
|
|
|
|
|
|
if (matchMedia && props.breakpoint && props.breakpoint in dimensionMaxMap) {
|
|
|
_this.mql = matchMedia("(max-width: ".concat(dimensionMaxMap[props.breakpoint], ")"));
|
|
|
}
|
|
|
|
|
|
var collapsed;
|
|
|
|
|
|
if ('collapsed' in props) {
|
|
|
collapsed = props.collapsed;
|
|
|
} else {
|
|
|
collapsed = props.defaultCollapsed;
|
|
|
}
|
|
|
|
|
|
_this.state = {
|
|
|
collapsed: collapsed,
|
|
|
below: false
|
|
|
};
|
|
|
return _this;
|
|
|
}
|
|
|
|
|
|
_createClass(InternalSider, [{
|
|
|
key: "componentDidMount",
|
|
|
value: function componentDidMount() {
|
|
|
if (this.mql) {
|
|
|
this.mql.addListener(this.responsiveHandler);
|
|
|
this.responsiveHandler(this.mql);
|
|
|
}
|
|
|
|
|
|
if (this.props.siderHook) {
|
|
|
this.props.siderHook.addSider(this.uniqueId);
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
key: "componentWillUnmount",
|
|
|
value: function componentWillUnmount() {
|
|
|
if (this.mql) {
|
|
|
this.mql.removeListener(this.responsiveHandler);
|
|
|
}
|
|
|
|
|
|
if (this.props.siderHook) {
|
|
|
this.props.siderHook.removeSider(this.uniqueId);
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
var collapsed = this.state.collapsed;
|
|
|
var collapsedWidth = this.props.collapsedWidth;
|
|
|
return React.createElement(SiderContext.Provider, {
|
|
|
value: {
|
|
|
siderCollapsed: collapsed,
|
|
|
collapsedWidth: collapsedWidth
|
|
|
}
|
|
|
}, React.createElement(_configProvider.ConfigConsumer, null, this.renderSider));
|
|
|
}
|
|
|
}], [{
|
|
|
key: "getDerivedStateFromProps",
|
|
|
value: function getDerivedStateFromProps(nextProps) {
|
|
|
if ('collapsed' in nextProps) {
|
|
|
return {
|
|
|
collapsed: nextProps.collapsed
|
|
|
};
|
|
|
}
|
|
|
|
|
|
return null;
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return InternalSider;
|
|
|
}(React.Component);
|
|
|
|
|
|
InternalSider.defaultProps = {
|
|
|
collapsible: false,
|
|
|
defaultCollapsed: false,
|
|
|
reverseArrow: false,
|
|
|
width: 200,
|
|
|
collapsedWidth: 80,
|
|
|
style: {},
|
|
|
theme: 'dark'
|
|
|
};
|
|
|
(0, _reactLifecyclesCompat.polyfill)(InternalSider); // eslint-disable-next-line react/prefer-stateless-function
|
|
|
|
|
|
var Sider =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component2) {
|
|
|
_inherits(Sider, _React$Component2);
|
|
|
|
|
|
function Sider() {
|
|
|
_classCallCheck(this, Sider);
|
|
|
|
|
|
return _possibleConstructorReturn(this, _getPrototypeOf(Sider).apply(this, arguments));
|
|
|
}
|
|
|
|
|
|
_createClass(Sider, [{
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
var _this2 = this;
|
|
|
|
|
|
return React.createElement(_layout.LayoutContext.Consumer, null, function (context) {
|
|
|
return React.createElement(InternalSider, _extends({}, context, _this2.props));
|
|
|
});
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return Sider;
|
|
|
}(React.Component);
|
|
|
|
|
|
exports["default"] = Sider;
|
|
|
//# sourceMappingURL=Sider.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 924:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = void 0;
|
|
|
|
|
|
var React = _interopRequireWildcard(__webpack_require__(0));
|
|
|
|
|
|
var _rcMenu = _interopRequireWildcard(__webpack_require__(172));
|
|
|
|
|
|
var _classnames = _interopRequireDefault(__webpack_require__(3));
|
|
|
|
|
|
var _omit = _interopRequireDefault(__webpack_require__(43));
|
|
|
|
|
|
var _reactLifecyclesCompat = __webpack_require__(7);
|
|
|
|
|
|
var _SubMenu = _interopRequireDefault(__webpack_require__(1019));
|
|
|
|
|
|
var _MenuItem = _interopRequireDefault(__webpack_require__(1020));
|
|
|
|
|
|
var _configProvider = __webpack_require__(12);
|
|
|
|
|
|
var _warning = _interopRequireDefault(__webpack_require__(40));
|
|
|
|
|
|
var _Sider = __webpack_require__(907);
|
|
|
|
|
|
var _raf = _interopRequireDefault(__webpack_require__(182));
|
|
|
|
|
|
var _motion = _interopRequireDefault(__webpack_require__(988));
|
|
|
|
|
|
var _MenuContext = _interopRequireDefault(__webpack_require__(890));
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
|
|
|
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
|
|
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
|
|
|
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
|
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
|
|
|
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
|
|
|
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
|
|
|
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
|
|
|
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
|
|
|
|
var InternalMenu =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component) {
|
|
|
_inherits(InternalMenu, _React$Component);
|
|
|
|
|
|
function InternalMenu(props) {
|
|
|
var _this;
|
|
|
|
|
|
_classCallCheck(this, InternalMenu);
|
|
|
|
|
|
_this = _possibleConstructorReturn(this, _getPrototypeOf(InternalMenu).call(this, props)); // Restore vertical mode when menu is collapsed responsively when mounted
|
|
|
// https://github.com/ant-design/ant-design/issues/13104
|
|
|
// TODO: not a perfect solution, looking a new way to avoid setting switchingModeFromInline in this situation
|
|
|
|
|
|
_this.handleMouseEnter = function (e) {
|
|
|
_this.restoreModeVerticalFromInline();
|
|
|
|
|
|
var onMouseEnter = _this.props.onMouseEnter;
|
|
|
|
|
|
if (onMouseEnter) {
|
|
|
onMouseEnter(e);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
_this.handleTransitionEnd = function (e) {
|
|
|
// when inlineCollapsed menu width animation finished
|
|
|
// https://github.com/ant-design/ant-design/issues/12864
|
|
|
var widthCollapsed = e.propertyName === 'width' && e.target === e.currentTarget; // Fix SVGElement e.target.className.indexOf is not a function
|
|
|
// https://github.com/ant-design/ant-design/issues/15699
|
|
|
|
|
|
var className = e.target.className; // SVGAnimatedString.animVal should be identical to SVGAnimatedString.baseVal, unless during an animation.
|
|
|
|
|
|
var classNameValue = Object.prototype.toString.call(className) === '[object SVGAnimatedString]' ? className.animVal : className; // Fix for <Menu style={{ width: '100%' }} />, the width transition won't trigger when menu is collapsed
|
|
|
// https://github.com/ant-design/ant-design-pro/issues/2783
|
|
|
|
|
|
var iconScaled = e.propertyName === 'font-size' && classNameValue.indexOf('anticon') >= 0;
|
|
|
|
|
|
if (widthCollapsed || iconScaled) {
|
|
|
_this.restoreModeVerticalFromInline();
|
|
|
}
|
|
|
};
|
|
|
|
|
|
_this.handleClick = function (e) {
|
|
|
_this.handleOpenChange([]);
|
|
|
|
|
|
var onClick = _this.props.onClick;
|
|
|
|
|
|
if (onClick) {
|
|
|
onClick(e);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
_this.handleOpenChange = function (openKeys) {
|
|
|
_this.setOpenKeys(openKeys);
|
|
|
|
|
|
var onOpenChange = _this.props.onOpenChange;
|
|
|
|
|
|
if (onOpenChange) {
|
|
|
onOpenChange(openKeys);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
_this.renderMenu = function (_ref) {
|
|
|
var getPopupContainer = _ref.getPopupContainer,
|
|
|
getPrefixCls = _ref.getPrefixCls;
|
|
|
var _this$props = _this.props,
|
|
|
customizePrefixCls = _this$props.prefixCls,
|
|
|
className = _this$props.className,
|
|
|
theme = _this$props.theme,
|
|
|
collapsedWidth = _this$props.collapsedWidth;
|
|
|
var passProps = (0, _omit["default"])(_this.props, ['collapsedWidth', 'siderCollapsed']);
|
|
|
|
|
|
var menuMode = _this.getRealMenuMode();
|
|
|
|
|
|
var menuOpenMotion = _this.getOpenMotionProps(menuMode);
|
|
|
|
|
|
var prefixCls = getPrefixCls('menu', customizePrefixCls);
|
|
|
var menuClassName = (0, _classnames["default"])(className, "".concat(prefixCls, "-").concat(theme), _defineProperty({}, "".concat(prefixCls, "-inline-collapsed"), _this.getInlineCollapsed()));
|
|
|
|
|
|
var menuProps = _extends({
|
|
|
openKeys: _this.state.openKeys,
|
|
|
onOpenChange: _this.handleOpenChange,
|
|
|
className: menuClassName,
|
|
|
mode: menuMode
|
|
|
}, menuOpenMotion);
|
|
|
|
|
|
if (menuMode !== 'inline') {
|
|
|
// closing vertical popup submenu after click it
|
|
|
menuProps.onClick = _this.handleClick;
|
|
|
} // https://github.com/ant-design/ant-design/issues/8587
|
|
|
|
|
|
|
|
|
var hideMenu = _this.getInlineCollapsed() && (collapsedWidth === 0 || collapsedWidth === '0' || collapsedWidth === '0px');
|
|
|
|
|
|
if (hideMenu) {
|
|
|
menuProps.openKeys = [];
|
|
|
}
|
|
|
|
|
|
return React.createElement(_rcMenu["default"], _extends({
|
|
|
getPopupContainer: getPopupContainer
|
|
|
}, passProps, menuProps, {
|
|
|
prefixCls: prefixCls,
|
|
|
onTransitionEnd: _this.handleTransitionEnd,
|
|
|
onMouseEnter: _this.handleMouseEnter
|
|
|
}));
|
|
|
};
|
|
|
|
|
|
(0, _warning["default"])(!('onOpen' in props || 'onClose' in props), 'Menu', '`onOpen` and `onClose` are removed, please use `onOpenChange` instead, ' + 'see: https://u.ant.design/menu-on-open-change.');
|
|
|
(0, _warning["default"])(!('inlineCollapsed' in props && props.mode !== 'inline'), 'Menu', '`inlineCollapsed` should only be used when `mode` is inline.');
|
|
|
(0, _warning["default"])(!(props.siderCollapsed !== undefined && 'inlineCollapsed' in props), 'Menu', '`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.');
|
|
|
var openKeys;
|
|
|
|
|
|
if ('openKeys' in props) {
|
|
|
openKeys = props.openKeys;
|
|
|
} else if ('defaultOpenKeys' in props) {
|
|
|
openKeys = props.defaultOpenKeys;
|
|
|
}
|
|
|
|
|
|
_this.state = {
|
|
|
openKeys: openKeys || [],
|
|
|
switchingModeFromInline: false,
|
|
|
inlineOpenKeys: [],
|
|
|
prevProps: props
|
|
|
};
|
|
|
return _this;
|
|
|
}
|
|
|
|
|
|
_createClass(InternalMenu, [{
|
|
|
key: "componentWillUnmount",
|
|
|
value: function componentWillUnmount() {
|
|
|
_raf["default"].cancel(this.mountRafId);
|
|
|
}
|
|
|
}, {
|
|
|
key: "setOpenKeys",
|
|
|
value: function setOpenKeys(openKeys) {
|
|
|
if (!('openKeys' in this.props)) {
|
|
|
this.setState({
|
|
|
openKeys: openKeys
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
key: "getRealMenuMode",
|
|
|
value: function getRealMenuMode() {
|
|
|
var inlineCollapsed = this.getInlineCollapsed();
|
|
|
|
|
|
if (this.state.switchingModeFromInline && inlineCollapsed) {
|
|
|
return 'inline';
|
|
|
}
|
|
|
|
|
|
var mode = this.props.mode;
|
|
|
return inlineCollapsed ? 'vertical' : mode;
|
|
|
}
|
|
|
}, {
|
|
|
key: "getInlineCollapsed",
|
|
|
value: function getInlineCollapsed() {
|
|
|
var inlineCollapsed = this.props.inlineCollapsed;
|
|
|
|
|
|
if (this.props.siderCollapsed !== undefined) {
|
|
|
return this.props.siderCollapsed;
|
|
|
}
|
|
|
|
|
|
return inlineCollapsed;
|
|
|
}
|
|
|
}, {
|
|
|
key: "getOpenMotionProps",
|
|
|
value: function getOpenMotionProps(menuMode) {
|
|
|
var _this$props2 = this.props,
|
|
|
openTransitionName = _this$props2.openTransitionName,
|
|
|
openAnimation = _this$props2.openAnimation,
|
|
|
motion = _this$props2.motion; // Provides by user
|
|
|
|
|
|
if (motion) {
|
|
|
return {
|
|
|
motion: motion
|
|
|
};
|
|
|
}
|
|
|
|
|
|
if (openAnimation) {
|
|
|
(0, _warning["default"])(typeof openAnimation === 'string', 'Menu', '`openAnimation` do not support object. Please use `motion` instead.');
|
|
|
return {
|
|
|
openAnimation: openAnimation
|
|
|
};
|
|
|
}
|
|
|
|
|
|
if (openTransitionName) {
|
|
|
return {
|
|
|
openTransitionName: openTransitionName
|
|
|
};
|
|
|
} // Default logic
|
|
|
|
|
|
|
|
|
if (menuMode === 'horizontal') {
|
|
|
return {
|
|
|
motion: {
|
|
|
motionName: 'slide-up'
|
|
|
}
|
|
|
};
|
|
|
}
|
|
|
|
|
|
if (menuMode === 'inline') {
|
|
|
return {
|
|
|
motion: _motion["default"]
|
|
|
};
|
|
|
} // When mode switch from inline
|
|
|
// submenu should hide without animation
|
|
|
|
|
|
|
|
|
return {
|
|
|
motion: {
|
|
|
motionName: this.state.switchingModeFromInline ? '' : 'zoom-big'
|
|
|
}
|
|
|
};
|
|
|
}
|
|
|
}, {
|
|
|
key: "restoreModeVerticalFromInline",
|
|
|
value: function restoreModeVerticalFromInline() {
|
|
|
var switchingModeFromInline = this.state.switchingModeFromInline;
|
|
|
|
|
|
if (switchingModeFromInline) {
|
|
|
this.setState({
|
|
|
switchingModeFromInline: false
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
return React.createElement(_MenuContext["default"].Provider, {
|
|
|
value: {
|
|
|
inlineCollapsed: this.getInlineCollapsed() || false,
|
|
|
antdMenuTheme: this.props.theme
|
|
|
}
|
|
|
}, React.createElement(_configProvider.ConfigConsumer, null, this.renderMenu));
|
|
|
}
|
|
|
}], [{
|
|
|
key: "getDerivedStateFromProps",
|
|
|
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
|
var prevProps = prevState.prevProps;
|
|
|
var newState = {
|
|
|
prevProps: nextProps
|
|
|
};
|
|
|
|
|
|
if (prevProps.mode === 'inline' && nextProps.mode !== 'inline') {
|
|
|
newState.switchingModeFromInline = true;
|
|
|
}
|
|
|
|
|
|
if ('openKeys' in nextProps) {
|
|
|
newState.openKeys = nextProps.openKeys;
|
|
|
} else {
|
|
|
// [Legacy] Old code will return after `openKeys` changed.
|
|
|
// Not sure the reason, we should keep this logic still.
|
|
|
if (nextProps.inlineCollapsed && !prevProps.inlineCollapsed || nextProps.siderCollapsed && !prevProps.siderCollapsed) {
|
|
|
newState.switchingModeFromInline = true;
|
|
|
newState.inlineOpenKeys = prevState.openKeys;
|
|
|
newState.openKeys = [];
|
|
|
}
|
|
|
|
|
|
if (!nextProps.inlineCollapsed && prevProps.inlineCollapsed || !nextProps.siderCollapsed && prevProps.siderCollapsed) {
|
|
|
newState.openKeys = prevState.inlineOpenKeys;
|
|
|
newState.inlineOpenKeys = [];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
return newState;
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return InternalMenu;
|
|
|
}(React.Component);
|
|
|
|
|
|
InternalMenu.defaultProps = {
|
|
|
className: '',
|
|
|
theme: 'light',
|
|
|
focusable: false
|
|
|
};
|
|
|
(0, _reactLifecyclesCompat.polyfill)(InternalMenu); // We should keep this as ref-able
|
|
|
|
|
|
var Menu =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component2) {
|
|
|
_inherits(Menu, _React$Component2);
|
|
|
|
|
|
function Menu() {
|
|
|
_classCallCheck(this, Menu);
|
|
|
|
|
|
return _possibleConstructorReturn(this, _getPrototypeOf(Menu).apply(this, arguments));
|
|
|
}
|
|
|
|
|
|
_createClass(Menu, [{
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
var _this2 = this;
|
|
|
|
|
|
return React.createElement(_Sider.SiderContext.Consumer, null, function (context) {
|
|
|
return React.createElement(InternalMenu, _extends({}, _this2.props, context));
|
|
|
});
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return Menu;
|
|
|
}(React.Component);
|
|
|
|
|
|
exports["default"] = Menu;
|
|
|
Menu.Divider = _rcMenu.Divider;
|
|
|
Menu.Item = _MenuItem["default"];
|
|
|
Menu.SubMenu = _SubMenu["default"];
|
|
|
Menu.ItemGroup = _rcMenu.ItemGroup;
|
|
|
//# sourceMappingURL=index.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 988:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = void 0;
|
|
|
|
|
|
// ================== Collapse Motion ==================
|
|
|
var getCollapsedHeight = function getCollapsedHeight() {
|
|
|
return {
|
|
|
height: 0,
|
|
|
opacity: 0
|
|
|
};
|
|
|
};
|
|
|
|
|
|
var getRealHeight = function getRealHeight(node) {
|
|
|
return {
|
|
|
height: node.scrollHeight,
|
|
|
opacity: 1
|
|
|
};
|
|
|
};
|
|
|
|
|
|
var getCurrentHeight = function getCurrentHeight(node) {
|
|
|
return {
|
|
|
height: node.offsetHeight
|
|
|
};
|
|
|
};
|
|
|
|
|
|
var collapseMotion = {
|
|
|
motionName: 'ant-motion-collapse',
|
|
|
onAppearStart: getCollapsedHeight,
|
|
|
onEnterStart: getCollapsedHeight,
|
|
|
onAppearActive: getRealHeight,
|
|
|
onEnterActive: getRealHeight,
|
|
|
onLeaveStart: getCurrentHeight,
|
|
|
onLeaveActive: getCollapsedHeight
|
|
|
};
|
|
|
var _default = collapseMotion;
|
|
|
exports["default"] = _default;
|
|
|
//# sourceMappingURL=motion.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 993:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
__webpack_require__(28);
|
|
|
|
|
|
__webpack_require__(1109);
|
|
|
|
|
|
__webpack_require__(169);
|
|
|
//# sourceMappingURL=css.js.map
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 996:
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports["default"] = exports.LayoutContext = void 0;
|
|
|
|
|
|
var React = _interopRequireWildcard(__webpack_require__(0));
|
|
|
|
|
|
var _classnames = _interopRequireDefault(__webpack_require__(3));
|
|
|
|
|
|
var _createReactContext = _interopRequireDefault(__webpack_require__(316));
|
|
|
|
|
|
var _configProvider = __webpack_require__(12);
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
|
|
|
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
|
|
|
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
|
|
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
|
|
|
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }
|
|
|
|
|
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); }
|
|
|
|
|
|
function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }
|
|
|
|
|
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }
|
|
|
|
|
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
|
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
|
|
|
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
|
|
|
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
|
|
|
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
|
|
|
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
|
|
|
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
var t = {};
|
|
|
|
|
|
for (var p in s) {
|
|
|
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
|
}
|
|
|
|
|
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
|
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
|
}
|
|
|
return t;
|
|
|
};
|
|
|
|
|
|
var LayoutContext = (0, _createReactContext["default"])({
|
|
|
siderHook: {
|
|
|
addSider: function addSider() {
|
|
|
return null;
|
|
|
},
|
|
|
removeSider: function removeSider() {
|
|
|
return null;
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
exports.LayoutContext = LayoutContext;
|
|
|
|
|
|
function generator(_ref) {
|
|
|
var suffixCls = _ref.suffixCls,
|
|
|
tagName = _ref.tagName,
|
|
|
displayName = _ref.displayName;
|
|
|
return function (BasicComponent) {
|
|
|
var _a;
|
|
|
|
|
|
return _a =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component) {
|
|
|
_inherits(Adapter, _React$Component);
|
|
|
|
|
|
function Adapter() {
|
|
|
var _this;
|
|
|
|
|
|
_classCallCheck(this, Adapter);
|
|
|
|
|
|
_this = _possibleConstructorReturn(this, _getPrototypeOf(Adapter).apply(this, arguments));
|
|
|
|
|
|
_this.renderComponent = function (_ref2) {
|
|
|
var getPrefixCls = _ref2.getPrefixCls;
|
|
|
var customizePrefixCls = _this.props.prefixCls;
|
|
|
var prefixCls = getPrefixCls(suffixCls, customizePrefixCls);
|
|
|
return React.createElement(BasicComponent, _extends({
|
|
|
prefixCls: prefixCls,
|
|
|
tagName: tagName
|
|
|
}, _this.props));
|
|
|
};
|
|
|
|
|
|
return _this;
|
|
|
}
|
|
|
|
|
|
_createClass(Adapter, [{
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
return React.createElement(_configProvider.ConfigConsumer, null, this.renderComponent);
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return Adapter;
|
|
|
}(React.Component), _a.displayName = displayName, _a;
|
|
|
};
|
|
|
}
|
|
|
|
|
|
var Basic = function Basic(props) {
|
|
|
var prefixCls = props.prefixCls,
|
|
|
className = props.className,
|
|
|
children = props.children,
|
|
|
tagName = props.tagName,
|
|
|
others = __rest(props, ["prefixCls", "className", "children", "tagName"]);
|
|
|
|
|
|
var classString = (0, _classnames["default"])(className, prefixCls);
|
|
|
return React.createElement(tagName, _extends({
|
|
|
className: classString
|
|
|
}, others), children);
|
|
|
};
|
|
|
|
|
|
var BasicLayout =
|
|
|
/*#__PURE__*/
|
|
|
function (_React$Component2) {
|
|
|
_inherits(BasicLayout, _React$Component2);
|
|
|
|
|
|
function BasicLayout() {
|
|
|
var _this2;
|
|
|
|
|
|
_classCallCheck(this, BasicLayout);
|
|
|
|
|
|
_this2 = _possibleConstructorReturn(this, _getPrototypeOf(BasicLayout).apply(this, arguments));
|
|
|
_this2.state = {
|
|
|
siders: []
|
|
|
};
|
|
|
return _this2;
|
|
|
}
|
|
|
|
|
|
_createClass(BasicLayout, [{
|
|
|
key: "getSiderHook",
|
|
|
value: function getSiderHook() {
|
|
|
var _this3 = this;
|
|
|
|
|
|
return {
|
|
|
addSider: function addSider(id) {
|
|
|
_this3.setState(function (state) {
|
|
|
return {
|
|
|
siders: [].concat(_toConsumableArray(state.siders), [id])
|
|
|
};
|
|
|
});
|
|
|
},
|
|
|
removeSider: function removeSider(id) {
|
|
|
_this3.setState(function (state) {
|
|
|
return {
|
|
|
siders: state.siders.filter(function (currentId) {
|
|
|
return currentId !== id;
|
|
|
})
|
|
|
};
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
}
|
|
|
}, {
|
|
|
key: "render",
|
|
|
value: function render() {
|
|
|
var _a = this.props,
|
|
|
prefixCls = _a.prefixCls,
|
|
|
className = _a.className,
|
|
|
children = _a.children,
|
|
|
hasSider = _a.hasSider,
|
|
|
Tag = _a.tagName,
|
|
|
others = __rest(_a, ["prefixCls", "className", "children", "hasSider", "tagName"]);
|
|
|
|
|
|
var classString = (0, _classnames["default"])(className, prefixCls, _defineProperty({}, "".concat(prefixCls, "-has-sider"), typeof hasSider === 'boolean' ? hasSider : this.state.siders.length > 0));
|
|
|
return React.createElement(LayoutContext.Provider, {
|
|
|
value: {
|
|
|
siderHook: this.getSiderHook()
|
|
|
}
|
|
|
}, React.createElement(Tag, _extends({
|
|
|
className: classString
|
|
|
}, others), children));
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
return BasicLayout;
|
|
|
}(React.Component);
|
|
|
|
|
|
var Layout = generator({
|
|
|
suffixCls: 'layout',
|
|
|
tagName: 'section',
|
|
|
displayName: 'Layout'
|
|
|
})(BasicLayout);
|
|
|
var Header = generator({
|
|
|
suffixCls: 'layout-header',
|
|
|
tagName: 'header',
|
|
|
displayName: 'Header'
|
|
|
})(Basic);
|
|
|
var Footer = generator({
|
|
|
suffixCls: 'layout-footer',
|
|
|
tagName: 'footer',
|
|
|
displayName: 'Footer'
|
|
|
})(Basic);
|
|
|
var Content = generator({
|
|
|
suffixCls: 'layout-content',
|
|
|
tagName: 'main',
|
|
|
displayName: 'Content'
|
|
|
})(Basic);
|
|
|
Layout.Header = Header;
|
|
|
Layout.Footer = Footer;
|
|
|
Layout.Content = Content;
|
|
|
var _default = Layout;
|
|
|
exports["default"] = _default;
|
|
|
//# sourceMappingURL=layout.js.map
|
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
}); |